apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
smoothbutta has quit [Ping timeout: 245 seconds]
v0n has joined #ruby
nari has joined #ruby
snovak_ has quit [Ping timeout: 248 seconds]
stkowski has quit [Quit: stkowski]
alekst has joined #ruby
chrisja has quit [Quit: leaving]
lkba has quit [Ping timeout: 245 seconds]
tealmage has quit [Remote host closed the connection]
_bart has quit [Remote host closed the connection]
[[thufir]] has joined #ruby
[[thufir]] has quit [Max SendQ exceeded]
asdfqwer has joined #ruby
hogeo has joined #ruby
<asdfqwer> hi i been doing ruby for more than a year now
<asdfqwer> and i think i am addicted to inject
staafl_alt has joined #ruby
ssvo has quit [Ping timeout: 240 seconds]
<asdfqwer> i have obfuscated some client's code i wrote less than an hour ago to illustrate my problem
Wildhoney has quit [Quit: Wildhoney]
blackmesa has quit [Ping timeout: 240 seconds]
RORgasm_ has joined #ruby
staafl has quit [Ping timeout: 245 seconds]
zeade has joined #ruby
_bart has joined #ruby
v0n has quit [Read error: Operation timed out]
zeade has quit [Client Quit]
sergicles has joined #ruby
twoism has quit [Read error: Connection reset by peer]
jeekl has joined #ruby
twoism has joined #ruby
<ryanf> is there any reason to use inject instead of map/collect for either of those?
ptwobrussell has quit [Quit: ptwobrussell]
enjoy-a has joined #ruby
DanKnox is now known as DanKnox_away
lkba has joined #ruby
kvirani has quit [Remote host closed the connection]
<mostlybadfly> hi guys, was wondering if someone can help explain why the return value is dictated by wetsBed in this example: http://pastebin.com/J1BtWfnS
lukec has quit [Quit: lukec]
<mostlybadfly> it's from the Pine tutorial
kvirani has joined #ruby
brennanMKE has joined #ruby
pipework has quit [Remote host closed the connection]
enjoi has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
<mostlybadfly> oh i just realized why duh
funburn has joined #ruby
rsc33 has joined #ruby
postmodern has quit [Quit: Leaving]
[[thufir]] has joined #ruby
<mostlybadfly> i think hehe
[[thufir]] has quit [Max SendQ exceeded]
RichardBaker has quit [Quit: RichardBaker]
moted has quit [Quit: moted]
kofno has quit [Remote host closed the connection]
moted has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
<funburn> I am trying to override an instance method and having quite a bit of trouble. https://gist.github.com/mtuckerb/828220f14f59dd37ee1d
<funburn> I think the problem is that it's namespaced within a module
<funburn> and there's something about that that I am not understanding
<rsc33> how much is ruby used by websites today?
<rsc33> around?
[[thufir]] has joined #ruby
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rsc33> and is ruby faster than php?
<funburn> it's faster to develop and test
[[thufir]] has quit [Max SendQ exceeded]
<rsc33> and what is ruby on rails
<funburn> might try a little googling on that one
mlpinit has quit [Remote host closed the connection]
<rsc33> ruby is server side interpreted programming language right?
<funburn> there's also a #rubyonrails channel
<funburn> it's a framework
<rsc33> um, like cms mvc?
[[thufir]] has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rsc33> so ruby on rails is framework for ruby?
jsatk has quit [Remote host closed the connection]
<funburn> rsc33: not exactly, you can make a cms out of it, and it utilises mvc principals
[[thufir]] has quit [Max SendQ exceeded]
<funburn> it is a framework for delveoping web apps on ruby
brunoro has joined #ruby
<rsc33> ok
<rsc33> is ruby faster than php?
<rsc33> for performance
<asdfqwer> nah
<funburn> how long is a piece of string?
<asdfqwer> ruby if flexible
<funburn> it really depends on how it's deployed
<asdfqwer> is*
<asdfqwer> there are benchmarks
buzzybron has joined #ruby
Quashie has joined #ruby
fbernier has quit [Read error: Connection reset by peer]
Yakko has quit [Remote host closed the connection]
<rsc33> ok
<rsc33> thanks
neo_ has joined #ruby
<rsc33> im not sure about ruby usage it is used more than php?
<rsc33> what is this "0,55" ?
JimmyNeutron has quit [Ping timeout: 245 seconds]
<rsc33> 0.55 million?
Ripp__ has quit [Quit: Ripp__]
kvirani has joined #ruby
<asdfqwer> rsc33: you're questioning the popularity of ruby?
<asdfqwer> what's your question?
<rsc33> this channel has far more visitors than ##php
<rsc33> why :)
pwh has joined #ruby
<asdfqwer> it depends on who you ask? i think php is still more popular than ruby
slyv has joined #ruby
wmoxam has joined #ruby
<asdfqwer> the internets is filled with answers
dhruvasagar has quit [Ping timeout: 276 seconds]
<asdfqwer> but if you're learning to program rsc33 then go with ruby, tons more fun, and you'll get a lot more out of it
_Bravado has quit [Quit: _Bravado]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
Banistergalaxy has quit [Ping timeout: 246 seconds]
volty has joined #ruby
Banistergalaxy has joined #ruby
tyman has joined #ruby
dhruvasagar has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<havenwood> If you must rate language popularity, i think one of the metrics on the less-bizarre end is redmonk: http://sogrady-media.redmonk.com/sogrady/files/2013/07/programming-lang-rankings-june13.png
ffranz has quit [Quit: Leaving]
[[thufir]] has joined #ruby
kofno has joined #ruby
casheew has joined #ruby
<havenwood> Php has more stack overflow questions, but less Github projects. Php is also a fractal of bad design. :O
[[thufir]] has quit [Max SendQ exceeded]
[[thufir]] has joined #ruby
rsc33 has quit []
sarkis has quit [Ping timeout: 264 seconds]
[[thufir]] has quit [Max SendQ exceeded]
[[thufir]] has joined #ruby
[[thufir]] has quit [Max SendQ exceeded]
<volty> any statistics on aliveness of those projects, statistics on their 'survival'? :)
[[thufir]] has joined #ruby
<havenwood> volty: Sure, you can look at forks with commits, etc. I think it goes without saying that the Ruby library ecosystem is superior.
[[thufir]] has quit [Max SendQ exceeded]
<volty> i read time ago that apple choosed (or was considering choosing) ruby as primary scripting language. Do you know something about that?
yoshie902a has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
TheMoonMaster_ is now known as TheMoonMaster
<volty> havenwood: i believe that and I am glad about that
superscott[8] has quit [Quit: superscott[8]]
[[thufir]] has joined #ruby
forced_request has joined #ruby
<volty> havenwood: is ruby getting on python too?
[[thufir]] has quit [Max SendQ exceeded]
[[thufir]]1 has joined #ruby
Tricon has joined #ruby
enjoy-a has quit [Ping timeout: 268 seconds]
smoothbutta has joined #ruby
Tricon has quit [Client Quit]
<[[thufir]]1> what's the 'require' syntax for http://rubygems.org/gems/em-simple_telnet please?
rcosta_ has quit [Remote host closed the connection]
Tricon has joined #ruby
_bart has quit [Remote host closed the connection]
rcosta has joined #ruby
mmitchell has joined #ruby
bradhe has quit [Remote host closed the connection]
Demo_of_doom has quit [Remote host closed the connection]
<volty> the require syntax is the same // maybe require 'rubygems'; require '[path]em-simple_telnet' ?
KobraKao has quit [Ping timeout: 240 seconds]
<havenwood> [[thufir]]1: Typically for such a gem name, it'd be: require 'em/simple_telnet'
KobraKao has joined #ruby
splittingred has joined #ruby
<volty> http://en.wikipedia.org/wiki/Special:Search?go=Go&search=thufir1: i always use locate when in trouble, e.g. simple_telnet
Davey has joined #ruby
snovak_ has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
<volty> weird nick: :) , i always use locate when in trouble, e.g. simple_telnet
sevenseacat has joined #ruby
MrZYX is now known as MrZYX|off
snovak_ has quit [Ping timeout: 256 seconds]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
saarinen has quit [Quit: saarinen]
ftiasch has joined #ruby
marcdel has joined #ruby
banister`sleep has quit [Read error: Operation timed out]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yoshie902a> hey, weird question, but I'm trying to learn rspec and I'm wondering if anyone would spend a half hour with a screen sharing program to help write a few simple rspec tests. I would like to get it solved another way, but this seems like the most efficient.
Tricon has joined #ruby
<yoshie902a> I have a basic script I wrote, I just want to learn how to test it.
Tricon has quit [Client Quit]
Tricon has joined #ruby
jbomo has joined #ruby
tkuchiki has joined #ruby
iamjarvo has quit [Remote host closed the connection]
<sevenseacat> that seems like the most backward way to learn testing
iamjarvo has joined #ruby
jamesaanderson has joined #ruby
banisterfiend has joined #ruby
mmitchell has quit [Remote host closed the connection]
emanu has quit [Quit: emanu]
tylersmith has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
<yoshie902a> sevenseacat: I've gone through many tutorials and books. I understand the basics. But I'm making some API calls and I really do not know the best way to mock and stub the data.
<yoshie902a> plus, I'm not sure if my design patterns are any good.
Ripp__ has joined #ruby
<yoshie902a> I'd just love to get feedback from a real developer. I'm just a hack ;(
parzo has joined #ruby
iamjarvo has quit [Ping timeout: 264 seconds]
<volty> sorry, this time ready only for some womenspec :)
lukec has joined #ruby
tylersmith has quit [Ping timeout: 248 seconds]
<yoshie902a> :)
Tricon has quit [Quit: Linkinus - http://linkinus.com]
<volty> yoshie902a: nobody is going to join you, testing is the most boring part of programming /// testing just compares calculated with expecting. There's no (special) science there.
kvirani has quit [Remote host closed the connection]
<volty> s/expecting/expected/
kvirani has joined #ruby
<asdfqwer> i hate testing with mocks
<asdfqwer> or mocha
<Rym> testing isn't so bad, paired up it can be kinda funky at times
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
virt|a|work has joined #ruby
<asdfqwer> i'd rather let the test timeout
virtualize has quit [Ping timeout: 276 seconds]
<yoshie902a> ya, I wish I had people to pair with. :)
Rym_ has joined #ruby
<volty> for me (but maybe just for me) that kind of testing is useless
duard has quit [Remote host closed the connection]
skinkitten has joined #ruby
miskander has joined #ruby
<yoshie902a> volty: why don't know find value in it?
alekst has quit [Quit: Computer has gone to sleep.]
<volty> i bet you fix more re-reading your sources than writing testing scripts
<volty> yoshie902a: i can't understand
alekst has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
<yoshie902a> I find that I'm testing as I write code through IRB or just running the my code 1000 times, so I figured rspec would help with that.
Rym has quit [Ping timeout: 240 seconds]
Rym_ is now known as Rym
<asdfqwer> it's fine as long as you can apperciate the context of teh test
JimmyNeutron has joined #ruby
<asdfqwer> i'm not but a handful of other guys i work with are in sqs hell righ tnow
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yoshie902a> I also have been learning that rspec testing acts as pretty good documentation
<yoshie902a> what is sqs?
aeontech has joined #ruby
<volty> i don't believe that. I think that just relaxing, thinking, re-reading is more productiv.e. I don't beleive in comparative tests because it's too trivial to catch errors
<yoshie902a> simple queue services?
<asdfqwer> it's an amazon web service
<asdfqwer> yeah
Ziarkaen has quit [Read error: Connection reset by peer]
<yoshie902a> volty: but as you projects get larger and larger, don't you find it impossible to test everything?
quazimodo has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
<asdfqwer> testing will save your ass
Hanmac1 has joined #ruby
<volty> as your projects get larger and larger, comparative testing will grow exponentially
<yoshie902a> volty: yah, but you will find if you introduce a bug that changes something unexpectedly
<yoshie902a> you also do not need to test everything every time.
<asdfqwer> no but if you break a class
<asdfqwer> your test coverage will save you
<skinkitten> anyone know how to solve the libv8 gem install error asking for python27 on a windows7
<yoshie902a> you can run partial testing to speed things up
<skinkitten> python27 is in my path
<volty> too many potential bugs to catch them: murphy law, if somebody's wrong you are not going to find it with your (LIMITED) tests
jlast has joined #ruby
tylersmith has joined #ruby
<volty> s/somebody/something/
<yoshie902a> volty: do you find value in using testing as documention?
Hanmac has quit [Ping timeout: 245 seconds]
visof has quit [Quit: Leaving]
<volty> i find it only cluttering
tonni_ has joined #ruby
ericmathison has joined #ruby
bzitzow has quit [Ping timeout: 246 seconds]
beneggett-alt has joined #ruby
<yoshie902a> fair enough. I'd prefer to learn it. from everything I've read, it seems like a best practice and I think it can provide value to me.
<yoshie902a> but I totally get you view
seich- has joined #ruby
<yoshie902a> s/you/your
<[[thufir]]1> havenwood: thanks for the em help
<[[thufir]]1> volty: I'll try simple telnet, too
<volty> We all test our code, when it isn't quite trivial. The question is how, though: i prefer manual puts, or something more complicated, but never that kind of comparative tests.
tonni has quit [Ping timeout: 264 seconds]
nari has quit [Ping timeout: 268 seconds]
<[[thufir]]1> wait, how does locate help to know the require syntax for a gem?
ewnd9 has joined #ruby
<yoshie902a> volty: that's what I'm currently doing, I output put statements all over the place. I figure and rspec test would help speed up the process.
dayepa has quit [Quit: dayepa]
<volty> thur: somebody above told you that probably you have to write require 'em/simple_telnet', ok ? So, when requireing 'em_simple_telnet' doesn't work you do "locate simple_telnet" and see where files with that name reside, if they are in a folder called 'em' etc etc etc
andbutsothen has quit [Quit: andbutsothen]
adeponte has quit [Remote host closed the connection]
<volty> yoshie902a: it depends on what, and how, you write. I never had problems with expected results but had problems inside functions. And I found the errors without comparative tests. The prob. with those comparative tests is that the tests you write will all give you the correct results but you'll have some obscure bugs elsewhere.
atyz has joined #ruby
s00pcan has quit [Quit: Lost terminal]
s00pcan has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty> I have yet to see compative test examples on something not trivial.
<yoshie902a> heading to bed. have a good night everyone!
pkrnj has joined #ruby
yoshie902a has left #ruby [#ruby]
tylersmith has quit [Ping timeout: 240 seconds]
<volty> gn
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
brennanMKE has quit [Remote host closed the connection]
<skinkitten> can someone break this down if python_version !~ /^2/
nfk has quit [Quit: yawn]
jamesaanderson has joined #ruby
Demo_of_doom_ has joined #ruby
<volty> what do you mean by 'break'?
<skinkitten> plain english
havenwood has quit [Ping timeout: 264 seconds]
zodiak has quit [Read error: Connection reset by peer]
<[[thufir]]1> I'm getting 'cannot load such file' for the em-simple_telnet gem: ▒│
<[[thufir]]1> │http://pastebin.com/eybP9SzK the gem is there, but maybe my require is wrong?
<volty> returns if the line / strings starts with 2
<volty> returns false (in ruby) if the line / strings starts with 2
sergicles has quit [Quit: sergicles]
yoshie902a has joined #ruby
postmodern has joined #ruby
joofsh has joined #ruby
miskander has quit [Quit: miskander]
<yoshie902a> Hi, I'm back, real quick questions, I know how to use FIXTURES with YAML files, but can I put hashes in a fixture too?
<yoshie902a> if so, any good reference material?
<volty> thur: give the output of 'locate simple_telnet' or the output of "find -iname '*telnet*'" (run from the /usr/lib/ruby)
ptwobrussell has joined #ruby
<skinkitten> volty: is there something wrong with this code? http://bpaste.net/show/mHwVEhC5KtWSEf6I2hv8/ I do have python27 in the path YET I keep getting the error raised in that code when gem install libv8
aeontech has quit [Quit: aeontech]
ptwobrussell has quit [Client Quit]
dayepa has joined #ruby
<skinkitten> libv8 is such a pain for a windows user
miskander has joined #ruby
freerobby has joined #ruby
seich- has quit [Ping timeout: 264 seconds]
idoru has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
idoru has joined #ruby
rickmasta has joined #ruby
__username__ has joined #ruby
<volty> skinkitten: i think you have to change you code to if python_version =~ /^2/ (if the pythong version starts with '2')
idoru has quit [Remote host closed the connection]
jamesaanderson has quit [Ping timeout: 260 seconds]
<volty> skinkitten: dump out the content of python_version (with puts)
idoru has joined #ruby
idoru has quit [Remote host closed the connection]
lyanchih has joined #ruby
<skinkitten> volty I have this C:\Python27; in my path is it not picking it up because it starts with P instead of 2?
mrsolo has quit [Quit: Leaving]
jamesaanderson has joined #ruby
<volty> skinkitten: the path issue is different from the issue what python_version variable holds. If it holds 2.7.3 (for example) you code should be .... =~ /^2/, if it holds 'Python 2.7.3' you have to match it with /^Python 2/
Domon has joined #ruby
axl_ has quit [Quit: axl_]
yoshie902a has left #ruby [#ruby]
snovak_ has joined #ruby
wallerdev has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
asdfqwer has quit [Ping timeout: 264 seconds]
<volty> it is much easier to put an 'puts python_version' and paste the output here
twoism has quit [Remote host closed the connection]
haxrbyte has joined #ruby
Domon has quit [Remote host closed the connection]
starship has joined #ruby
starship has quit [Changing host]
starship has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
<volty> ('puts puthon_version' before the if )
twoism has joined #ruby
Domon has joined #ruby
asdfqwer has joined #ruby
Domon has quit [Read error: Connection reset by peer]
Domon has joined #ruby
moofish has quit [Ping timeout: 264 seconds]
iliketur_ has quit [Quit: zzzzz…..]
miskander has quit [Quit: miskander]
kvirani has joined #ruby
<volty> a bit tired , wait
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pkrnj has quit [Quit: Computer has gone to sleep.]
<volty> sorry skinkitten
snovak_ has quit [Ping timeout: 264 seconds]
nanoxd has joined #ruby
mvangala_ has joined #ruby
<volty> you do not have which on windows
dodosan has joined #ruby
pkrnj has joined #ruby
mvangal__ has joined #ruby
<volty> go and change your line, for now, to unless system 'C:\Python27\<execname>'
twoism has quit [Ping timeout: 268 seconds]
bradhe has joined #ruby
asdfqwer has quit [Read error: Connection reset by peer]
mvangala has quit [Ping timeout: 240 seconds]
mvangala_ has quit [Ping timeout: 264 seconds]
<volty> skinkitten: that script is for linux but you are on windows
Demo_of_doom_ has quit [Read error: Connection reset by peer]
druonysus has joined #ruby
<skinkitten> can you put it in a gist?
<volty> i'm quite fuzy and going to bed, 4 a.am here
tbrock has quit [Ping timeout: 256 seconds]
ssvo has joined #ruby
bradhe has quit [Ping timeout: 268 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
<volty> sorry man, sorry also for my being distracted before, bye
volty has quit [Quit: Konversation terminated!]
cpruitt has quit [Ping timeout: 264 seconds]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
asdfqwer has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
druonysus has quit [Ping timeout: 248 seconds]
lyanchih has quit [Quit: lyanchih]
jackjackdrpr has quit [Ping timeout: 245 seconds]
splittingred has quit [Quit: splittingred]
Lewix has joined #ruby
kvirani has quit [Remote host closed the connection]
kvirani has joined #ruby
helvete has joined #ruby
asdfqwer_ has joined #ruby
asdfqwer has quit [Read error: Connection reset by peer]
pitzips has quit [Ping timeout: 256 seconds]
endash has quit [Quit: endash]
lyanchih has joined #ruby
Rym has quit [Quit: Rym]
adeponte has joined #ruby
atyz has quit [Ping timeout: 245 seconds]
blandflakes has quit [Quit: Page closed]
kvirani has quit [Ping timeout: 276 seconds]
endash has joined #ruby
woebtz has left #ruby [#ruby]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoxd has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
c0rn has quit [Ping timeout: 268 seconds]
Spami has quit [Quit: This computer has gone to sleep]
sailias has joined #ruby
__username__ has quit [Ping timeout: 264 seconds]
<Todd> when I'm looping over an integer using the times method how do I check if I'm on the last loop? I thought last would work but it didn't.
<Todd> so I want to say something like puts "derp" unless last
niftylettuce has quit [Quit: Updating details, brb]
niftylettuce has joined #ruby
lyanchih has quit [Quit: lyanchih]
tspike has joined #ruby
_maes_ has joined #ruby
rcosta has quit [Remote host closed the connection]
marcdel has joined #ruby
pweems has quit [Ping timeout: 260 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_maes_ has quit [Read error: Connection reset by peer]
<banisterfiend> Todd like this? 10.times { |n| puts "derp" unless n == 10 }
<banisterfiend> Todd it would be unless n = 9
postmodern has quit [Quit: Leaving]
<banisterfiend> -==
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
<Todd> ah..
<Todd> that works thank you
Targen has quit [Ping timeout: 245 seconds]
bklane has quit [Remote host closed the connection]
brennanMKE has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
vlad_starkov has joined #ruby
neo_ has quit [Quit: Leaving]
codezombie has quit [Quit: Linkinus - http://linkinus.com]
JohnBat26 has joined #ruby
radic_ has joined #ruby
nanoxd has quit [Ping timeout: 245 seconds]
iliketur_ has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
snooc has joined #ruby
snooc has quit [Client Quit]
nanoxd has joined #ruby
virtualize has joined #ruby
kpshek has joined #ruby
radic__ has quit [Ping timeout: 256 seconds]
kpshek has quit [Client Quit]
pkrnj has quit [Quit: Computer has gone to sleep.]
pweems has joined #ruby
snooc has joined #ruby
soba has joined #ruby
sayan has joined #ruby
brennanMKE has quit [Ping timeout: 268 seconds]
mengu has quit [Quit: This computer has gone to sleep]
splittingred has joined #ruby
mrsolo has joined #ruby
pkrnj has joined #ruby
lyanchih has joined #ruby
krz has joined #ruby
snooc has quit [Quit: snooc]
pipework has joined #ruby
hardbit has joined #ruby
endash has quit [Quit: endash]
pvizcay has quit [Quit: leaving]
Astralum has joined #ruby
idoru has joined #ruby
bricker has quit [Ping timeout: 246 seconds]
snooc has joined #ruby
KobraKao has quit [Quit: Saindo]
tylersmith has joined #ruby
alekst has quit [Quit: Leaving...]
goleldar has joined #ruby
snooc is now known as snooc-booh
ewnd9 has quit [Ping timeout: 264 seconds]
tiglog has joined #ruby
tylersmith has quit [Ping timeout: 268 seconds]
__username__ has joined #ruby
kofno has quit [Remote host closed the connection]
nowthatsamatt has quit [Quit: nowthatsamatt]
maletor has quit [Quit: Computer has gone to sleep.]
nanoxd has quit [Ping timeout: 264 seconds]
jlast has quit [Remote host closed the connection]
asdfqwer_ has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
kofno has joined #ruby
asdfqwer has joined #ruby
nanoxd has joined #ruby
[[thufir]]1 has quit [Quit: Leaving.]
snooc-booh has quit [Quit: leaving]
kofno has quit [Remote host closed the connection]
<goleldar> I am unit testing to assert an error is raised. But the error shows up when I run the test. How can I test and have all the tests pass with no errors?
digital-ghost has quit [Remote host closed the connection]
maletor has joined #ruby
kofno has joined #ruby
<banisterfiend> goleldar sounds like your' just using the wrong matcher, in bacon when i want to assert an exception i do this: lambda { raise ArgumentError, "hello" }.should.raise ArgumentError
<banisterfiend> you're*
joofsh has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
asdfqwer has quit [Quit: Lost terminal]
crucify_me has joined #ruby
brettnem has quit [Ping timeout: 256 seconds]
brettnem has joined #ruby
banisterfiend is now known as banister`sleep
chinkung has joined #ruby
kayloos has quit [Remote host closed the connection]
snooc has joined #ruby
seich- has joined #ruby
Targen has joined #ruby
kung has quit [Ping timeout: 256 seconds]
snooc has left #ruby [#ruby]
<goleldar> figured it out :) had to use this assert_raises(RuntimeError) { } as opposed to this assert_raises RuntimeError {}
rupee has quit [Quit: Leaving]
tabolario has joined #ruby
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
JimmyNeutron has quit [Quit: Leaving]
ftiasch has quit [Quit: Lost terminal]
funburn has quit [Quit: funburn]
zodiak has joined #ruby
starship has quit [Ping timeout: 268 seconds]
brunoro has quit [Quit: WeeChat 0.4.0]
Z3tta has quit [Quit: ZNC - http://znc.in]
skinkitten has quit [Quit: Page closed]
vlad_starkov has joined #ruby
snooc has joined #ruby
pweems has quit [Ping timeout: 268 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
snooc has quit [Client Quit]
end_guy has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 245 seconds]
end_guy has joined #ruby
jlast has joined #ruby
pweems has joined #ruby
vaks2 has quit [Ping timeout: 264 seconds]
anay has joined #ruby
snooc has joined #ruby
brennanM_ has joined #ruby
snooc has quit [Client Quit]
boblu has quit [Ping timeout: 276 seconds]
wesside has quit [Quit: Computer has gone to sleep.]
parzo has quit [Remote host closed the connection]
viszu has joined #ruby
parzo has joined #ruby
jamesaanderson has joined #ruby
anay has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
jamesaanderson has quit [Client Quit]
bookmage has quit [Remote host closed the connection]
hakunin has quit [Remote host closed the connection]
seich- has quit [Ping timeout: 264 seconds]
sailias has quit [Ping timeout: 264 seconds]
ewnd9 has joined #ruby
jamesaanderson has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
lyanchih has quit [Quit: lyanchih]
parzo_ has joined #ruby
nari has joined #ruby
adeponte has quit [Remote host closed the connection]
parzo_ has quit [Remote host closed the connection]
adeponte has joined #ruby
tater has joined #ruby
marcgg has quit [Remote host closed the connection]
snovak_ has joined #ruby
parzo_ has joined #ruby
<tater> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
adeponte has quit [Remote host closed the connection]
parzo_ has quit [Remote host closed the connection]
brennanM_ has quit [Remote host closed the connection]
brettnem has quit [Remote host closed the connection]
tonni_ has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
dmyers_ has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
smoothbutta has quit [Remote host closed the connection]
Domon has quit [Remote host closed the connection]
hardbit has quit [Remote host closed the connection]
eka has quit [Remote host closed the connection]
norm has quit [Remote host closed the connection]
Domon has joined #ruby
Columcille has quit [Ping timeout: 256 seconds]
fridim_ has quit [Ping timeout: 264 seconds]
brennanMKE has joined #ruby
kofno has quit [Remote host closed the connection]
zigomir has joined #ruby
dodosan has joined #ruby
parzo has quit [Ping timeout: 248 seconds]
mlpinit has joined #ruby
pkrnj has quit [Read error: Operation timed out]
[[thufir]] has joined #ruby
[[thufir]] has quit [Max SendQ exceeded]
beneggett-alt has quit [Quit: beneggett-alt]
Columcille has joined #ruby
snovak_ has quit [Ping timeout: 264 seconds]
mlpinit has quit [Remote host closed the connection]
ixti has quit [Quit: WeeChat 0.4.1]
sayan has quit [Quit: Leaving]
ewnd9 has quit [Ping timeout: 245 seconds]
BizarreCake has joined #ruby
pkrnj has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
__username__ has quit [Quit: none 0.4.1]
hardbit has joined #ruby
bio- has quit [Ping timeout: 245 seconds]
__username__ has joined #ruby
bio has joined #ruby
robbyoconnor has joined #ruby
bio is now known as Guest23220
<pontiki> whoa-kay
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nprice has joined #ruby
<nprice> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
Domon has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
Domon has joined #ruby
starship has joined #ruby
jamesaanderson has joined #ruby
drafterzz has joined #ruby
pipework has quit [Remote host closed the connection]
[[thufir]] has joined #ruby
[[thufir]] has quit [Max SendQ exceeded]
browndawg has joined #ruby
[[thufir]] has joined #ruby
__username__ has quit [Quit: none 0.4.1]
<[[thufir]]> how do you know the syntax for `require': cannot load such file -- em/simple_telnet ? http://pastebin.com/eybP9SzK
__username__ has joined #ruby
artm has joined #ruby
juarlex_ has quit [Remote host closed the connection]
<drafterzz> As I recall, [require 'gems'] for looking in known locations, or [require "/home/username/rubyLibs/mylibs.rb"]
GeissT has joined #ruby
<[[thufir]]> drafterzz: I have that in the script
funburn has joined #ruby
dagen has joined #ruby
<drafterzz> Guess my noob status just got verified
<pontiki> [[thufir]]: do a `gem which em-simple_telnet`
<[[thufir]]> ok
<[[thufir]]> pontiki: /home/thufir/.rvm/gems/ruby-2.0.0-p247/gems/em-simple_telnet-0.0.14/lib/em-simple_telnet.rb
artm has quit [Ping timeout: 268 seconds]
<[[thufir]]> drafterzz: lol, no, it's a real mystery, this process of how to know to import something. I don't get it.
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
splittingred has quit [Quit: splittingred]
freeayu has joined #ruby
drafterzz has left #ruby [#ruby]
hiyosi has quit [Ping timeout: 246 seconds]
JohnBat26|2 has joined #ruby
locriani has joined #ruby
<pontiki> [[thufir]]: change require 'em/simple_telnet' to require 'em-simple_telnet' and see if that does it?
<[[thufir]]> pontiki: I think I tried that, I'll check. thaks.
<pontiki> [[thufir]]: and you are right. sometimes it makes no sense
anay has joined #ruby
<[[thufir]]> pontiki: thanks for not making me feel like an idiot. I think it's the same, or similar result: http://pastebin.com/RCcmUp5u
<pontiki> no, quite a bit different...
* [[thufir]] checks again
<pontiki> this time you got a connection failed, not a require error
<pontiki> if i'm reading that right
<[[thufir]]> ohhhhh, yeah, I see that now. pardon, I stopped reading the errors! yes, you're right!
<pontiki> lol
<pontiki> not a good idea!!!
<[[thufir]]> I'll go check some other telnet things :)
<pontiki> heehee
awarner_ has quit [Remote host closed the connection]
Monie has joined #ruby
S0da has joined #ruby
jamesaanderson has joined #ruby
companion is now known as Companion
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
<[[thufir]]> I tried a weather connection, which works from Java and telnet. it doesn't work with this ruby gem: http://pastebin.com/59JFHiUb now, is that a connection error? seems odd.
mpereira has quit [Ping timeout: 256 seconds]
Companion is now known as companion
c0rn has joined #ruby
Thai-San has joined #ruby
viszu has quit [Quit: Leaving.]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dmyers has joined #ruby
tiglog has quit [Quit: Leaving]
tater has quit [Read error: Connection reset by peer]
<pontiki> thufir, i'm not a whiz at this, but it doesn't seem like your prompt will be found on that wunderground telnet
<[[thufir]]> ohhhh
<[[thufir]]> ok, just say what you mean by that a bit please. how, or why, do you think that?
butblack has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
aryaching has joined #ruby
<pontiki> line 25, your yaml file sets Prompt: /[#]/ -- to me that says wait until you get a # for the prompt
Domon has quit [Remote host closed the connection]
<[[thufir]]> ok, right, yes. are they using an "invisible" character for prompt, I wonder? how do you find out?
pkrnj has quit [Ping timeout: 248 seconds]
<pontiki> first thing i got at that wunderground telnet is 'Press return to continue:'
Domon has joined #ruby
<[[thufir]]> so, no prompt? I know what you mean. (this is for a MUD game with a similar interface)
<pontiki> i can't say for sure, as i've not coded with this
<pontiki> but that's my guess
pkrnj has joined #ruby
__username__ has quit [Ping timeout: 245 seconds]
<[[thufir]]> even if you're wrong, it's worth checking out. I was fiddling with binmode...
marcdel has joined #ruby
marcdel has quit [Max SendQ exceeded]
marcdel has joined #ruby
aryaching has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
nowthatsamatt has joined #ruby
snooc has joined #ruby
apeiros has quit [Remote host closed the connection]
Domon has quit [Ping timeout: 256 seconds]
snovak_ has joined #ruby
Domon has joined #ruby
ewnd9 has joined #ruby
<pontiki> also, um, reading the em-simple_telnet code, i don't know where you get the options you list in your yaml file
beneggett-alt has joined #ruby
iamjarvo has joined #ruby
helvete has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 248 seconds]
hardbit has quit [Quit: hardbit]
wallerdev has joined #ruby
snovak_ has quit [Ping timeout: 264 seconds]
codecop has joined #ruby
starship has quit [Ping timeout: 248 seconds]
Senjai has quit [Read error: Operation timed out]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
huoxito has quit [Quit: Leaving]
pkrnj has quit [Ping timeout: 264 seconds]
osvico has quit [Ping timeout: 256 seconds]
pweems has quit [Ping timeout: 264 seconds]
aryaching has joined #ruby
boblu has joined #ruby
pkrnj has joined #ruby
butblack has quit [Quit: butblack]
snooc has quit [Quit: snooc]
hardbit has joined #ruby
snooc has joined #ruby
BizarreCake has quit [Read error: Operation timed out]
willman has joined #ruby
tspike has quit [Quit: leaving]
<[[thufir]]> pontiki: good point. It might be a holdover from another API
pweems has joined #ruby
|Dave has quit [Remote host closed the connection]
eoinkelly has quit [Quit: eoinkelly]
iamjarvo has quit [Remote host closed the connection]
lyanchih has joined #ruby
iamjarvo has joined #ruby
butblack has joined #ruby
snooc has quit [Client Quit]
ewnd9 has quit [Ping timeout: 256 seconds]
mlpinit has joined #ruby
<[[thufir]]> I think those were net-telnet gem
wallerdev has quit [Quit: wallerdev]
snooc has joined #ruby
Monie has quit [Ping timeout: 264 seconds]
jshakespear has quit [Ping timeout: 260 seconds]
snooc has quit [Client Quit]
sevenseacat is now known as Karpah
wallerdev has joined #ruby
lukec has quit [Quit: lukec]
snooc has joined #ruby
pweems has quit [Ping timeout: 264 seconds]
wallerdev has quit [Client Quit]
mlpinit has quit [Ping timeout: 264 seconds]
snooc has quit [Client Quit]
<[[thufir]]> pontiki: fixed the api (:host and :port are ok) http://stackoverflow.com/questions/18502732/
snooc has joined #ruby
snooc has quit [Client Quit]
snooc has joined #ruby
pkrnj has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Remote host closed the connection]
thirdknife_ has joined #ruby
axeman- has joined #ruby
iamjarvo has joined #ruby
snooc has quit [Client Quit]
snooc has joined #ruby
pkrnj has joined #ruby
hogeo_ has joined #ruby
snooc has quit [Client Quit]
anay has quit [Remote host closed the connection]
seich- has joined #ruby
Monie has joined #ruby
kobain has quit []
iamjarvo has quit [Ping timeout: 248 seconds]
nignaztic has quit [Read error: Connection reset by peer]
hogeo has quit [Ping timeout: 268 seconds]
pweems has joined #ruby
nignaztic has joined #ruby
apeiros has joined #ruby
pkrnj has quit [Ping timeout: 264 seconds]
aryaching has quit [Ping timeout: 264 seconds]
rezzack has quit [Quit: Leaving.]
snooc has joined #ruby
linux_noob_666 has joined #ruby
edwardly has quit [Read error: Operation timed out]
wykydtron has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
ssvo has joined #ruby
marcdel has joined #ruby
marcdel has quit [Max SendQ exceeded]
edwardly has joined #ruby
marcdel has joined #ruby
pkrnj has joined #ruby
marcdel has quit [Client Quit]
bricker has joined #ruby
sayan has joined #ruby
aryaching has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
JohnBat26|2 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
aryaching has quit [Client Quit]
pkrnjevic has joined #ruby
artm has joined #ruby
tagrudev has joined #ruby
pkrnj has quit [Ping timeout: 240 seconds]
pkrnjevic is now known as pkrnj
willman has quit [Quit: Page closed]
S0da has quit [Remote host closed the connection]
bzitzow has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
kuwako has joined #ruby
relix has joined #ruby
rickmasta has quit [Quit: Leaving...]
pkrnj has quit [Ping timeout: 268 seconds]
pkrnj has joined #ruby
fgo has joined #ruby
kuwako has left #ruby ["Killed buffer"]
snooc has quit [Quit: snooc]
seich- has quit [Ping timeout: 264 seconds]
pkrnj has quit [Ping timeout: 245 seconds]
cads has joined #ruby
pwh has quit [Ping timeout: 256 seconds]
pkrnj has joined #ruby
edwardly has quit [Ping timeout: 264 seconds]
dawkirst has quit [Ping timeout: 245 seconds]
Zeeraw has quit [Quit: Computer has gone to sleep.]
pwh has joined #ruby
tomzx_mac has quit [Ping timeout: 264 seconds]
pkrnj__ has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
pkrnj has quit [Ping timeout: 268 seconds]
pkrnj__ is now known as pkrnj
snovak_ has joined #ruby
shredding has joined #ruby
pkrnj has quit [Ping timeout: 264 seconds]
gokul_ has joined #ruby
scarolan_ has joined #ruby
ananthakumaran has joined #ruby
pkrnj has joined #ruby
ayaz has joined #ruby
scarolan has quit [Read error: Operation timed out]
edwardly has joined #ruby
snovak_ has quit [Ping timeout: 264 seconds]
dawkirst has joined #ruby
pkrnj has quit [Ping timeout: 248 seconds]
mrsolo has quit [Quit: Leaving]
butblack has quit [Quit: butblack]
pkrnj has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pkrnjevic has joined #ruby
St_Marx has joined #ruby
browndawg has quit [Ping timeout: 264 seconds]
pkrnj has quit [Read error: Operation timed out]
love_color_text has joined #ruby
mweshi has joined #ruby
funburn has quit [Quit: funburn]
pkrnjevic has quit [Read error: Operation timed out]
mweshi has quit [Remote host closed the connection]
noopq has joined #ruby
shredding has quit [Quit: shredding]
pkrnj has joined #ruby
poga has joined #ruby
mweshi has joined #ruby
pkrnj has quit [Remote host closed the connection]
poga has joined #ruby
mneorr has joined #ruby
Columcille has quit [Quit: leaving]
Thai-San has quit [Remote host closed the connection]
locriani has quit [Remote host closed the connection]
lnormous has quit [Ping timeout: 245 seconds]
mweshi has quit [Remote host closed the connection]
persand has joined #ruby
user258467 has joined #ruby
aganov has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_bart has joined #ruby
_bart has quit [Remote host closed the connection]
locriani has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
hogeo_ has quit [Remote host closed the connection]
tonni has joined #ruby
Columcille has joined #ruby
hogeo has joined #ruby
zabojnar has joined #ruby
workmad3 has joined #ruby
pranny has joined #ruby
bartj3 has quit [Read error: Connection reset by peer]
maasdesigner has joined #ruby
test47 has joined #ruby
test47 has quit [Client Quit]
marcdel has joined #ruby
vlad_starkov has joined #ruby
test42 has joined #ruby
senayar has joined #ruby
<test42> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
Domon has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
c0rn has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
fgo has joined #ruby
marcdel has quit [Ping timeout: 268 seconds]
kilophoton has quit [Ping timeout: 264 seconds]
boblu has quit [Ping timeout: 240 seconds]
_bart has joined #ruby
tonni has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
_bart has quit [Remote host closed the connection]
quazimodo has joined #ruby
so-rude has joined #ruby
<so-rude> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
senayar has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
fgo has joined #ruby
<so-rude> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
fgo has quit [Remote host closed the connection]
fgo has joined #ruby
<so-rude> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
fgo has quit [Remote host closed the connection]
<lewellyn> poor fgo and his mac.
ayaz has quit [Remote host closed the connection]
dagen has quit []
workmad3 has quit [Ping timeout: 260 seconds]
ayaz has joined #ruby
filipe has joined #ruby
artm has quit [Ping timeout: 268 seconds]
tonni has joined #ruby
Dreamer3 has quit [Quit: Leaving...]
mneorr has quit [Remote host closed the connection]
Ripp__ has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 240 seconds]
Ripp__ has joined #ruby
Guest23220 has quit [Ping timeout: 264 seconds]
pwh has quit [Quit: pwh]
Bosox20051 has joined #ruby
ahawkins has joined #ruby
bio has joined #ruby
bio is now known as Guest71984
3JTAAAHNF has joined #ruby
snovak_ has joined #ruby
pranny has quit [Quit: Leaving.]
hardbit has quit [Remote host closed the connection]
test42 has quit [Quit: Page closed]
patternal has joined #ruby
<patternal> Hi
<patternal> I have a design pattern question if someone has a few minutes
zastern has quit [Remote host closed the connection]
zodiak has quit [Ping timeout: 264 seconds]
so-rude has quit [Killed (idoru (Spam is off topic on freenode.))]
eoinkelly has joined #ruby
funburn has joined #ruby
<patternal> I have a model called Asset where I have a list of assets in the db, but I can also find assets in other sources and I want to refer to those as ExtAssets. ExtAssets can come from various sources, for example PMAsset, IPAsset, etc.
<patternal> and I would like to make it possible for the view to find both Assets and ExtAssets seamlessly
snovak_ has quit [Ping timeout: 268 seconds]
<patternal> so first question is how should I go about ExtAssets and the individual concrete assets? should that be structural pattern or should it be a creational pattern
futilegames has joined #ruby
<patternal> and then the second question is should I aggregate ExtAsset and Asset together into something called AggregateAsset?
duard has joined #ruby
hamed_r has joined #ruby
Xeago has quit [Remote host closed the connection]
<bnagy> patternal: try a rails channel I think it's #rubyonrails
<patternal> what is wrong with asking here?
<patternal> why did you assume I am using rails?
<bnagy> it's not a ruby question
<patternal> wtf?
<patternal> it is a design pattern question
<bnagy> but mainly you'll have better luck in a webby channel
<bnagy> it's not, it's a web design question
rpgsimmaster_ has quit []
<bnagy> but whatever, do what you want I'm not the cops
<patternal> meh
pierre1 has joined #ruby
<patternal> your IQ is not that much higher
<bnagy> :)
<bnagy> first time here?
<Karpah> lol
<Karpah> 'you said something i dont like, therefore you are stupid'
locriani has quit [Remote host closed the connection]
<patternal> Karpah: no that is not it
bzitzow has quit [Ping timeout: 248 seconds]
bartj3 has joined #ruby
locriani has joined #ruby
<tobiasvl> patternal: I have a design pattern question if you have a few minutes
<tobiasvl> what's a design pattern?
<tobiasvl> what's an asset
<Karpah> well how else can you insult someones intelligence based on like three sentences?
<patternal> I asked a question about a design pattern, that may equally be applicable in an MVC paradigm or other paradigms, and even if it was an MVC paradigm it could have been a gui app
<tobiasvl> what's a source here
<tobiasvl> what's a structural pattern
<tobiasvl> what's a creational pattern
<patternal> so being told this is not a ruby question and it is a web design question is not a logical response
funburn has quit [Quit: funburn]
patternal has left #ruby [#ruby]
locriani has quit [Ping timeout: 245 seconds]
maasdesigner has quit [Quit: whowantstolivefo]
goto has quit [Ping timeout: 276 seconds]
<tobiasvl> patternal, come back :(
n1x has joined #ruby
lyanchih has quit [Quit: lyanchih]
ssvo has quit [Ping timeout: 256 seconds]
<bnagy> what _is_ a 'creational pattern' anyway?
<tobiasvl> we should know, this is a ruby channel after all
<bnagy> does anyone IRL use mvc for non-web stuff anymore?
<canton7> iOS devices?
<canton7> (objective-c, not ruby, though)
<bnagy> oh yeah?
funburn has joined #ruby
<apeiros> bnagy: to a degree I even use that approach with CLI apps
brtdv has joined #ruby
<apeiros> the borders are less clear/strict than with e.g. rails, though
<bnagy> well 'to a degree' I guess a lot of stuff does
<apeiros> of course. MVC is IMO a result of SRP
<bnagy> kind of happens naturally with any sane design
flughafen has left #ruby [#ruby]
<apeiros> that said, rails fails badly with SRP in many regards, *sob*
binw has joined #ruby
<apeiros> (models contain persistence, validation, authorization, state progression and lots more…)
ewnd9 has joined #ruby
tesuji has joined #ruby
<apeiros> also the way views are coupled to controllers… horrible :(
<apeiros> anyway, gotta stop ranting and get back to work :)
pranny has joined #ruby
seich- has joined #ruby
blz37 has quit [Quit: WeeChat 0.4.1]
aaronmcadam has joined #ruby
lyanchih has joined #ruby
kaspergrubbe has joined #ruby
andikr has joined #ruby
marcgg has joined #ruby
kizzx2 has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
postmodern has joined #ruby
crucify_me has quit [Remote host closed the connection]
kizzx2 has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
kizzx2 has joined #ruby
brtdv has quit [Quit: brtdv]
<jrobeson> apeiros, people were like.. what? there's something wrong with controller instance vars being used in views?
<jrobeson> and "how would you do it?"
crucify_me has joined #ruby
<jrobeson> i'm like.. wut?
crucify_me has quit [Remote host closed the connection]
<jrobeson> every other framework i've used.. including php frameworks from circa 2002.. they never did that..
<jrobeson> it's always.. return data that is used to fill the view.
<Karpah> no its not, it's assign things to the view
eka has joined #ruby
RTG has joined #ruby
zarubin has joined #ruby
<Karpah> i was part of that discussion, i can defend myself :P
RTG is now known as Guest82434
<jrobeson> Karpah, it's still wrong from an SRP perspective
<apeiros> jrobeson: I'm not even talking about that. that's failure of proper interface. no, I was talking about: ever tried to render a view without a controller?
<apeiros> (though, that's also interface failure actually)
<jrobeson> apeiros, ah.. that didn't look too hard..
<apeiros> jrobeson: haha, yeah, until you actually try…
<jrobeson> i've never done it.. but it seems like.. instantiate the template engine. setup the helpers.. and it should work
mrsolo has joined #ruby
<Karpah> views and controllers are tightly coupled, yeah. the M is the only easily swappable part
<apeiros> jrobeson: yeah. it seems like. it really isn't.
jlast has quit [Read error: Connection reset by peer]
<jrobeson> lol
<apeiros> there are insane couplings going on there… I wouldn't believe it myself if I hadn't tried.
<jrobeson> Karpah, i know how it is.. and what you said. that doesn't make it the right way to do it :)
RTG` has quit [Ping timeout: 276 seconds]
<jrobeson> i didn't think you were defending rails practice.. just stating it
<Karpah> to be honest, violation of SRP doesnt bother me much in rails because it's a full-stack framework, the core concepts are designed to be used together as a unit.
<Karpah> and they work well together as a unit
Guest82434 is now known as RTG`
<jrobeson> they could work just as well without that coupling though
<jrobeson> even without changing the instance var assignment in the controller
<Karpah> i doubt that
<jrobeson> unlike php.. ruby actually has easy reflection
<Karpah> and im sure people much smarter than me have tried to fix it
jlast has joined #ruby
<jrobeson> i've seen some ways, like the basic_assumption gem
locriani has joined #ruby
starfox21 has joined #ruby
atmosx has joined #ruby
<Karpah> reading through the readme now, that seems.... like an odd way to do it
troessner has joined #ruby
mneorr has joined #ruby
duard has quit [Remote host closed the connection]
<jrobeson> this person does it with more helper methods
<buzzybron> how do i generate random in 1.8.6?
<jrobeson> that's certainly one way to do it
<apeiros> you could separate it easily
<apeiros> you could even do it in a backwards compatible way
<apeiros> were you just leave "copy all ivars" as the default
<jrobeson> yep.. that's what i was thinking
<jrobeson> turn them all into locals
rickmasta has joined #ruby
ssvo has joined #ruby
<jsaak> buzzybron: rand(5)
<Karpah> interesting approach in that slimming article
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
<jrobeson> Karpah, to me.. it doesn't seem like there is a technical problem in solving it. feels more like a political problem
<buzzybron> jsaak : thank
<buzzybron> s
<apeiros> helpers are another horror topic… can't use them outside of rails views. rather sad as it wouldn't take much to make them actually useful outside of rails views.
<Karpah> i'm not sure i would ever use it, but still
<Karpah> yeah helpers are handled poorly by rails
<apeiros> in most cases a simple `module_function` at the start of the module would do
<jrobeson> and how would you tie it to the view?
<Karpah> and them being global by default is naffed
<apeiros> so you could do FooHelper.helpful_method(bar)
<jsaak> (rails is flawed by design, better avoid it)
<apeiros> jrobeson: most helpers have no tie to the view
<apeiros> they take a value and return another
eoinkelly has quit [Quit: eoinkelly]
<jrobeson> i like the idea of injecting a list of helpers
<apeiros> there's no reason to not make it available as module_function's
<jrobeson> but then again.. i tend to prefer sandboxed template engines
<apeiros> same
pipework has joined #ruby
<apeiros> but sandboxed template engine is orthogonal to including helpers
alup has joined #ruby
<apeiros> can do both, nothing stops you
eoinkelly has joined #ruby
eoinkelly has quit [Client Quit]
<apeiros> and can even do it by either inheriting template class and include helper, or by extending the view instance
<jrobeson> if you inject a list of registered helpers.. it's fine ..
<jrobeson> that's how it works in twig
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
<jrobeson> i'm suprised to find myself missing twig
<apeiros> ruby is powerful that way (even though #extend kills method lookup cache, which makes that approach sadly a not very viable choice :-/)
<jrobeson> in theory i'm more friendly with logicless templates
<jrobeson> like mustache
<jrobeson> or logic-less template engine :)
kilophoton has joined #ruby
<jrobeson> apeiros, so.. it's true that rails doesn't use tilt (or some modern equivalent) ?
<jrobeson> apeiros, my ruby mostly comes from playing with sinatra some years ago
tonni has quit [Remote host closed the connection]
<apeiros> it is true
jbpros has joined #ruby
seich- has quit [Ping timeout: 264 seconds]
<apeiros> I was working on a drop-in replacement for rails views, but not enough time and my company sadly can live with the workarounds we're using :(
<jrobeson> ooh..
<jrobeson> have you played wiht padrino yet?
<jrobeson> i haven't had the chance
<apeiros> no
<apeiros> my time is very limited :-|
locriani has quit [Ping timeout: 245 seconds]
<jrobeson> right now i'm just procrastinating on a terrible php project :(
<apeiros> our main issue with rails view system is that we want to use all its offers to generate pdfs
<apeiros> but we can't go through controllers for that
<jrobeson> ah.. so you really do need to split it out .. especially if you wanna generate them from the console or something
<apeiros> we use princexml, so basically we render html and push it through prince
<apeiros> correct
<jrobeson> neat .. and nobody has already done this?
<apeiros> we have those things in presenters, so we can present e.g. an application form for an insurance as pdf
skaby has joined #ruby
<apeiros> I haven't found anything which did it to the extent I/we need it
funburn has quit [Quit: funburn]
<apeiros> or with the comfort-level I'd want :)
<jrobeson> well good to know.. just in case i run into something
<jrobeson> i'll pass it on
blackmesa has joined #ruby
<apeiros> I want: Template.new(:@ivar => value).render
<jrobeson> don't we all :)
<jrobeson> hehe
<jrobeson> i mean.. dont i .. :)
ssvo has quit [Ping timeout: 268 seconds]
buibex has joined #ruby
obs has joined #ruby
kilophoton has quit [Ping timeout: 264 seconds]
<jrobeson> apeiros, that's pretty much how it works in symfony2 .. everything returns a Response object.. so as long as you end up with a Response.. it works
<jrobeson> but ther'es also a View event.. so.. you could just do return Hash.new{...}
jbomo has quit [Ping timeout: 248 seconds]
<jrobeson> and the view event will take it and render it with the default engine.. (or whatever else)
<jrobeson> seems like a good way to do it
rickmasta has quit [Quit: Leaving...]
<jrobeson> that view event is where the ivars could be turned into locals
jefflyne has joined #ruby
Xeago has joined #ruby
boblu has joined #ruby
snovak_ has joined #ruby
<jrobeson> i'm going to have fun with this one day
artm has joined #ruby
buibex has quit [Ping timeout: 260 seconds]
flughafen has joined #ruby
rdark has joined #ruby
camilasan has joined #ruby
snovak_ has quit [Ping timeout: 268 seconds]
blaxter_ has joined #ruby
tonni has joined #ruby
<krz> why does {a:'a',b:'b'}.reject { |k,v| false } output {a:'a',b:'b'}
<krz> shouldnt it output an emtpy hash?
boblu has quit [Ping timeout: 264 seconds]
Tippler has quit [Remote host closed the connection]
kevinykchan has joined #ruby
<tobiasvl> no
<tobiasvl> "Deletes every key-value pair from hsh for which block evaluates to true."
Kabaka_ has joined #ruby
<buzzybron> i am trying to do this > str = "this is a '#{fullofquote_str}' "
<buzzybron> how can i escape the quotes found within the full of quote str?
<buzzybron> how can i escape the quotes found within the fullofquote_str?
Kabaka has quit [Ping timeout: 240 seconds]
visof has joined #ruby
visof has joined #ruby
wudofyr has quit [Remote host closed the connection]
nitrodex has quit [Ping timeout: 260 seconds]
diegoviola has joined #ruby
noname001 has joined #ruby
wudofyr has joined #ruby
Zolo has joined #ruby
eoinkelly has joined #ruby
nitrodex has joined #ruby
Zai00 has joined #ruby
nitrodex is now known as Guest92121
<krz> tobiasvl: hmm how can i get this to work: {created_at: 'asdf', a:'foo'}.reject { |k,v| !{create
<krz> d_at: 'asdf'}.values.include? k }
<tobiasvl> ??
<krz> basically want to output {created_at:'asdf'}
<tobiasvl> ah ok i get it
love_color_text has quit [Ping timeout: 264 seconds]
<krz> since a:'foo' doesnt exist in the 2nd hash
<tobiasvl> why are you comparing the value to the key
<tobiasvl> uh
love_color_text has joined #ruby
<tobiasvl> >> {:created_at=>'asdf', :a=>'foo'}.reject { |k,v| !({k=>v} == {:created_at=>'asdf'}) }
<eval-in> tobiasvl => {:created_at=>"asdf"} (https://eval.in/45643)
<tobiasvl> sorry for 1.8 hash syntax
funburn has joined #ruby
bricker has quit [Ping timeout: 240 seconds]
Es0teric has quit [Ping timeout: 256 seconds]
<heftig> why not just do { created_at: foo[:created_at] }
funburn has quit [Client Quit]
<flughafen> meh, no
<heftig> it's certainly going to be faster
sayan has quit [Quit: Leaving]
atno has joined #ruby
3JTAAAHNF has quit [Remote host closed the connection]
love_color_text has quit [Read error: Connection reset by peer]
procrastinat0r has joined #ruby
procrastinat0r has quit [Remote host closed the connection]
b0oh has joined #ruby
b0oh has left #ruby [#ruby]
eoinkelly has quit [Quit: eoinkelly]
visof has quit [Remote host closed the connection]
lurch_ has joined #ruby
ghr has joined #ruby
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sjltaylo_ has joined #ruby
Al_ has joined #ruby
sepp2k has joined #ruby
sjltaylo_ has quit [Client Quit]
Wildhoney has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
jax0mbrown has joined #ruby
Dreamer3 has joined #ruby
<jax0mbrown> سمـووحخ خ خ خ امارتيخ خ
<Dreamer3> what's a quick way to count the occurrences of a substring inside a string?
<Dreamer3> count?
<Dreamer3> seriously
<Dreamer3> oh it doesn't do regex
toddWork_ has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
rickruby has joined #ruby
mneorr has joined #ruby
<Dreamer3> ok scan
mikecmpbll has joined #ruby
adambeynon has joined #ruby
dweeb has joined #ruby
jbpros has quit [Quit: jbpros]
seich- has joined #ruby
locriani has joined #ruby
Gooder has joined #ruby
erry has quit [Read error: Connection reset by peer]
[[thufir]] has quit [Ping timeout: 264 seconds]
nomenkun has joined #ruby
shaunbaker has joined #ruby
ssvo has joined #ruby
erry__ has joined #ruby
_bart has joined #ruby
Advocation has joined #ruby
hogeo_ has joined #ruby
<lurch_> hi, anyone have experience with gemfury.org and bundler? can bundler handle a push to gemfury? can't seem to get it to work with --host.. it always uses rubygems.org
nixmaniack has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
hogeo has quit [Ping timeout: 264 seconds]
nomenkun has joined #ruby
erry__ is now known as erry
shredding has joined #ruby
hamed_r has quit [Quit: Ex-Chat]
ssvo has quit [Ping timeout: 248 seconds]
bartj3 has joined #ruby
Karpah is now known as sevenseacat
thebastl has joined #ruby
buibex has joined #ruby
dweeb has quit [Remote host closed the connection]
Fire-Dragon-DoL has joined #ruby
dweeb has joined #ruby
s0ber has quit [Remote host closed the connection]
niceguyjames has joined #ruby
funburn has joined #ruby
prisonguard has joined #ruby
s0ber has joined #ruby
BRMatt has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
s0ber has quit [Remote host closed the connection]
snovak_ has joined #ruby
s0ber has joined #ruby
timonv has joined #ruby
artm has quit [Read error: Connection reset by peer]
gstamp has quit [Quit: Computer has gone to sleep.]
klaut has joined #ruby
buibex has quit [Ping timeout: 245 seconds]
Zolo has quit [Remote host closed the connection]
persand has quit [Quit: persand]
Xaitec has joined #ruby
Xaitec has quit [Remote host closed the connection]
snovak_ has quit [Ping timeout: 248 seconds]
persand has joined #ruby
MrZYX|off is now known as MrZYX
zarubin has quit [Ping timeout: 264 seconds]
sayan has joined #ruby
bartj3 has quit [Quit: quit]
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
allsystemsarego has joined #ruby
funburn has quit [Quit: funburn]
dash_ has joined #ruby
bartj3 has joined #ruby
MileyCyrus has quit [Quit: Me'n vaig]
coffeecoco has joined #ruby
<coffeecoco> anyone know of any ruby coarse
<coffeecoco> in melbourne
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
niceguyjames has joined #ruby
thebastl has quit [Remote host closed the connection]
niceguyjames has quit [Client Quit]
sevenseacat has quit [Quit: Leaving.]
mrsolo has quit [Quit: Leaving]
Domon has joined #ruby
locriani has quit [Ping timeout: 245 seconds]
Advocation has quit [Quit: Advocation]
Advocation has joined #ruby
jibi has joined #ruby
pskosinski has joined #ruby
Advocation has quit [Client Quit]
Matriks has joined #ruby
Advocation has joined #ruby
Kelet has quit [Read error: Connection reset by peer]
lunarjar has quit [K-Lined]
Criztian has joined #ruby
thebastl has joined #ruby
boblu has joined #ruby
niceguyjames has joined #ruby
antulik has joined #ruby
sayan has quit [Ping timeout: 248 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pskosinski has quit [Quit: Til rivido Idisti!]
yacks has joined #ruby
relix has joined #ruby
HavokOC has quit [Ping timeout: 264 seconds]
relix has quit [Client Quit]
thebastl has quit [Remote host closed the connection]
rdark has quit [Ping timeout: 264 seconds]
zarubin has joined #ruby
jax0mbrown has quit [Ping timeout: 276 seconds]
rdark has joined #ruby
pierre1 has quit [Remote host closed the connection]
buibex has joined #ruby
buibex has quit [Remote host closed the connection]
boblu has quit [Read error: Operation timed out]
buibex has joined #ruby
pranny1 has joined #ruby
buibex has quit [Remote host closed the connection]
WindProtect has joined #ruby
ssvo has joined #ruby
Gooder has quit [Remote host closed the connection]
funburn has joined #ruby
pranny has quit [Ping timeout: 245 seconds]
binw has quit [Read error: Connection reset by peer]
ssvo has quit [Ping timeout: 245 seconds]
mneorr_ has joined #ruby
gyre007 has joined #ruby
binw has joined #ruby
snovak_ has joined #ruby
mneorr has quit [Ping timeout: 248 seconds]
ayaz has quit [Read error: Connection reset by peer]
WindProtect has quit [Quit: 离开]
yfeldblum has joined #ruby
bluenemo has joined #ruby
nfk has joined #ruby
browndawg has joined #ruby
decoponio has joined #ruby
postmodern has quit [Ping timeout: 264 seconds]
SHyx0rmZ has joined #ruby
snovak_ has quit [Ping timeout: 264 seconds]
nbjahan has joined #ruby
relix has joined #ruby
gr33n7007h has quit [Ping timeout: 240 seconds]
shaunbaker has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
lunarjar has joined #ruby
ayaz has joined #ruby
persand has quit [Quit: persand]
lyanchih has quit [Quit: lyanchih]
locriani has joined #ruby
nbjahan has quit [Quit: nbjahan]
rickmasta has joined #ruby
sayan has joined #ruby
gr33n7007h has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
gr33n7007h has quit [Max SendQ exceeded]
pskosinski has joined #ruby
niceguyjames has joined #ruby
senayar_ has joined #ruby
staafl has joined #ruby
hogeo_ has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Ping timeout: 260 seconds]
GeissT_ has joined #ruby
tyman has quit [Quit: tyman]
senayar has quit [Ping timeout: 264 seconds]
yojimbo_ has joined #ruby
ismlages has joined #ruby
staafl_alt has quit [Ping timeout: 268 seconds]
puppeh has joined #ruby
rickmasta has quit [Quit: Leaving...]
GeissT has quit [Ping timeout: 268 seconds]
rdark has quit [Ping timeout: 260 seconds]
Zolo has joined #ruby
lkba has joined #ruby
senayar_ has quit [Remote host closed the connection]
rdark has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
tesuji has quit [Read error: Connection reset by peer]
tesuji has joined #ruby
seich- has quit [Ping timeout: 264 seconds]
sepp2k has quit [Quit: Leaving.]
funburn has quit [Quit: funburn]
jonkri has joined #ruby
tkuchiki has joined #ruby
mklappstuhl has joined #ruby
realDAB has joined #ruby
mjmac has joined #ruby
kaspergrubbe has joined #ruby
gokul_ has quit [Quit: Leaving]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kayloos has joined #ruby
senayar has joined #ruby
hogeo has joined #ruby
cek has joined #ruby
cek has quit [Client Quit]
BizarreCake has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
locriani has quit [Ping timeout: 256 seconds]
ssvo has joined #ruby
GeissT_ has quit [Ping timeout: 248 seconds]
fixl has joined #ruby
colonolGron has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
rbento has joined #ruby
varfoo has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
shredding has quit [Quit: shredding]
browndawg has quit [Read error: Connection reset by peer]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
browndawg has joined #ruby
sayan has quit [Ping timeout: 268 seconds]
fbernier has joined #ruby
persand has joined #ruby
<zz_michael_mbp> ...
<zz_michael_mbp> Dreamer3: scan.
<zz_michael_mbp> ah you got it :)
yacks has quit [Ping timeout: 260 seconds]
jefflyne has joined #ruby
sayan has joined #ruby
funburn has joined #ruby
clairence has joined #ruby
butblack has joined #ruby
realDAB has quit [Quit: realDAB]
seich- has joined #ruby
rbento has quit [Quit: ZZZzzz…]
senayar has quit [Remote host closed the connection]
ehaliewicz has quit [Ping timeout: 264 seconds]
browndawg has left #ruby [#ruby]
senayar has joined #ruby
lyanchih has joined #ruby
tyman has joined #ruby
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
kizzx2 has quit [Quit: Leaving.]
butblack has quit [Quit: butblack]
clairence has quit [Ping timeout: 268 seconds]
fgo has joined #ruby
Domon has quit [Ping timeout: 264 seconds]
ezotrank has joined #ruby
ezotrank has left #ruby [#ruby]
nari has quit [Ping timeout: 264 seconds]
yxhuvud has quit [Ping timeout: 245 seconds]
fmcgeough has quit [Quit: fmcgeough]
Advocation has quit [Quit: Advocation]
goleldar has quit [Ping timeout: 268 seconds]
Advocation has joined #ruby
leokaito has joined #ruby
b0oh has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
nari has joined #ruby
defaultro has quit [Quit: defaultro]
shaunbaker has joined #ruby
nixmaniack has quit [Quit: Ex-Chat]
wmoxam has joined #ruby
snovak_ has joined #ruby
rdxc has joined #ruby
bartj3 has quit [Quit: quit]
bartj3 has joined #ruby
HavokOC has joined #ruby
rcosta has joined #ruby
fbernier has quit [Quit: ZNC - http://znc.in]
colonolGron has quit [Quit: Lost terminal]
mikecmpbll has joined #ruby
b0oh has quit [Ping timeout: 245 seconds]
snovak_ has quit [Ping timeout: 264 seconds]
<Xeago> I dislike designers that can't express their desires and refuse to image it from his toolbox of set components
anonymuse has joined #ruby
<Xeago> just had a 2 hour discussion over what text should be shown where, I never got the information on what text should be displayed
Guest83706 has joined #ruby
KobraKao has joined #ruby
Advocation has quit [Quit: Advocation]
yacks has joined #ruby
axeman- has quit [Read error: Connection reset by peer]
Guest83706 has quit [Client Quit]
ntus1017 has joined #ruby
axeman- has joined #ruby
failshell has joined #ruby
kofno has joined #ruby
stayarrr has joined #ruby
persand has quit [Quit: persand]
Advocation has joined #ruby
Neomex has joined #ruby
blackmesa has joined #ruby
staafl has quit [Ping timeout: 264 seconds]
ndrei has joined #ruby
ldnunes has joined #ruby
Rym has joined #ruby
locriani has joined #ruby
leokaito has quit [Remote host closed the connection]
neo_ has joined #ruby
hogeo has quit [Remote host closed the connection]
sailias has joined #ruby
tagrudev has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
ssvo has joined #ruby
buzzybron has quit [Quit: Leaving.]
ananthakumaran1 has joined #ruby
leokaito has joined #ruby
neo_ has quit [Client Quit]
b0oh has joined #ruby
caju has joined #ruby
tagrudev has joined #ruby
ananthakumaran has quit [Ping timeout: 264 seconds]
starship has joined #ruby
quazimodo has quit [Ping timeout: 248 seconds]
pranny1 has quit [Read error: Connection reset by peer]
pranny has joined #ruby
seich- has quit [Ping timeout: 264 seconds]
ananthakumaran1 has quit [Read error: Connection reset by peer]
buzzybron has joined #ruby
hogeo has joined #ruby
ssvo has quit [Ping timeout: 268 seconds]
wmoxam has quit [Ping timeout: 268 seconds]
hogeo has quit [Remote host closed the connection]
mneorr_ has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
jbpros has joined #ruby
puppeh has left #ruby ["bb"]
ndrei has quit [Remote host closed the connection]
veleno has joined #ruby
oussama has joined #ruby
buzzybron has quit [Client Quit]
<_br_> Aren't designers supposed to handle all that and you get a nice mockup you can slice and dice to implement then?
<veleno> hello. is this the most efficient way to write this simple line of ruby code https://gist.github.com/anonymous/632fcf42af97fc761474 ? I need it to be as fast as possible, as it could be invoked up to thousands of times per second in the worst case
Trynemjoel has quit [Quit: Trynemjoel]
oussama has quit [Client Quit]
persand has joined #ruby
<_br_> veleno: Fast as possible? In only pure Ruby? Or is C Builder fine as well?
<veleno> _br_: ruby
starship has quit [Ping timeout: 256 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
seich- has joined #ruby
shredding has joined #ruby
tyman has quit [Quit: tyman]
lyanchih has quit [Quit: lyanchih]
funburn has quit [Quit: funburn]
jbpros has quit [Ping timeout: 256 seconds]
Rym has quit [Quit: Rym]
ananthakumaran has quit [Read error: Connection reset by peer]
jp- has quit [Ping timeout: 268 seconds]
Wildhoney has quit [Quit: Wildhoney]
caju has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
Wildhoney has joined #ruby
s0ny123 has joined #ruby
Wildhoney has quit [Client Quit]
Trynemjoel has joined #ruby
xeon has joined #ruby
IceyEC has joined #ruby
ramblex has joined #ruby
freeayu has quit [Remote host closed the connection]
ananthakumaran1 has joined #ruby
Criztian has quit [Remote host closed the connection]
tbrock has joined #ruby
pranny1 has joined #ruby
ananthakumaran has quit [Ping timeout: 245 seconds]
fbernier has joined #ruby
Neomex has quit [Quit: Neomex]
linux_noob_666 has quit [Remote host closed the connection]
rbento has joined #ruby
pranny has quit [Ping timeout: 268 seconds]
mlpinit has joined #ruby
ntus1017_ has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
dash_ has quit [Ping timeout: 245 seconds]
ntus1017 has quit [Ping timeout: 245 seconds]
kvirani has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
antulik has quit [Remote host closed the connection]
gyre007 has quit [Remote host closed the connection]
mark_locklear has joined #ruby
jbpros has joined #ruby
kaspergrubbe has joined #ruby
ntus1017 has joined #ruby
rbento has quit [Remote host closed the connection]
ntus1017 has quit [Remote host closed the connection]
ntus1017 has joined #ruby
scottradcliff has joined #ruby
pranny1 has quit [Quit: Leaving.]
fixl has quit [Remote host closed the connection]
dash_ has joined #ruby
philcrissman_ has joined #ruby
ntus1017_ has quit [Ping timeout: 264 seconds]
locriani has quit [Ping timeout: 264 seconds]
krz has quit [Quit: krz]
enjoi has joined #ruby
sambao21 has joined #ruby
ayaz has quit [Remote host closed the connection]
platzhirsch has joined #ruby
_maes_ has joined #ruby
<platzhirsch> [:a, :b].inject( {} ) do |hash, key| = hash[key] = 43 end does not work, any idea why? {} is not a symbol, hmpf
Banistergalaxy has quit [Ping timeout: 256 seconds]
jbpros has quit [Ping timeout: 256 seconds]
optimusprimem has joined #ruby
optimusprimem has joined #ruby
optimusprimem has quit [Changing host]
gilesw_ has joined #ruby
<tobiasvl> uh
<apeiros> platzhirsch: `= hash[key] = 43`
yoshie902a has joined #ruby
<tobiasvl> first remove that first =
Banistergalaxy has joined #ruby
<apeiros> that's not valid. what should a prefixed `=` do?
<tobiasvl> which ruby should've told you is a syntax error
<_br_> veleno: Well, as fast as possible is relative then. I would suggest to do heavy profiling and see if that will actually be an issue under heavy load.
<apeiros> platzhirsch: also, you want each_with_object, not inject
<platzhirsch> typo it's [:a, :b].inject( {} ) { |hash, key| hash[key] = 43 }
<apeiros> platzhirsch: inject will yield the last return value
<apeiros> and the return value will be 43
<apeiros> so in the 2nd iteration, hash == 43
<apeiros> and 43[:b] = 43 # nonsensical
<gilesw_> heya
<platzhirsch> ah right, somehow I have confused it with some like each
Rym has joined #ruby
<gilesw_> I'm trying to call a method with some arguments but using the contents of a variable
<gilesw_> I've had it working for just the method name
<gilesw_> but not with any args
<canton7> gilesw_, is i line 25 that's the problem?
quazimodo has joined #ruby
<gilesw_> nope it's the connection call on the last line
<canton7> uh.. that's not how you use send
KobraKao has quit [Remote host closed the connection]
<apeiros> gilesw_: please use something without ads, like gist.github.com
ffranz has joined #ruby
<gilesw_> ah sorry
<canton7> connection.send(opts[:action], {'instance-id' => opts[:instance]}), or so
Banistergalaxy has quit [Ping timeout: 248 seconds]
<gilesw_> yep
anonymuse has quit [Remote host closed the connection]
<gilesw_> I've run it in pry fine
jp- has joined #ruby
antulik has joined #ruby
<gilesw_> connection.describe_instances(:instance-id => 'i-xxxx')
Banistergalaxy has joined #ruby
<canton7> gilesw_, did you read what I wrote above?
mneorr has joined #ruby
breakingthings has joined #ruby
<gilesw_> ah
<apeiros> gilesw_: it's not foo.send("bar(1,2,3)"), it is foo.send("bar", 1,2,3)
<apeiros> otherwise it'd be pretty difficult to deal with non-string arguments
KobraKao has joined #ruby
<apeiros> i.e., first argument to send is the method to invoke, the rest are the arguments as you'd pass them to the "original" method
thebastl has joined #ruby
snovak_ has joined #ruby
yxhuvud has joined #ruby
jroes has joined #ruby
<gilesw_> thanks chaps that worked a treat
blackmesa has quit [Remote host closed the connection]
<jroes> is it just me, or does anyone know why whenever I'm stepping through ruby code using pry/debugger, I seem to step into methods I never asked to?
blackmesa has joined #ruby
<jroes> for example, I might type "next" at a breakpoint, but I end up deep in some method call in a dependency
thebastl has quit [Remote host closed the connection]
fantazo has joined #ruby
thebastl has joined #ruby
coffeecoco has quit [Remote host closed the connection]
jbpros has joined #ruby
snovak_ has quit [Ping timeout: 240 seconds]
thebastl has quit [Remote host closed the connection]
jroes has left #ruby [#ruby]
mengu has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
shaunbaker has quit [Remote host closed the connection]
ntus1017 has quit [Remote host closed the connection]
Zolo has quit [Remote host closed the connection]
ntus1017 has joined #ruby
ntus1017 has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
sevenseacat has joined #ruby
philcrissman_ has joined #ruby
jbpros has quit [Ping timeout: 256 seconds]
scottradcliff has quit [Quit: scottradcliff]
blackmesa has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
perry|dnd has quit [Ping timeout: 240 seconds]
v0n has joined #ruby
perry|dnd has joined #ruby
buibex has joined #ruby
scottradcliff has joined #ruby
tkuchiki has quit [Remote host closed the connection]
dweeb has quit [Quit: Computer has gone to sleep.]
diegoviola has quit [Ping timeout: 248 seconds]
gyre007 has joined #ruby
Caius is now known as Ca1us
Ca1us is now known as Caius
bartj3 has quit [Quit: quit]
lkba has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
lkba has joined #ruby
bartj3 has joined #ruby
dweeb has joined #ruby
lkba has quit [Read error: Connection reset by peer]
varfoo has quit [Quit: Leaving]
lkba has joined #ruby
tk__ has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
pweems has quit [Ping timeout: 240 seconds]
pen has joined #ruby
tkuchiki has joined #ruby
Rym has quit [Remote host closed the connection]
staafl has joined #ruby
forgot has joined #ruby
ssvo has joined #ruby
Advocation has quit [Quit: Advocation]
staafl has quit [Read error: Connection reset by peer]
ewnd9 has quit [Ping timeout: 268 seconds]
tonni has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
pen has quit [Remote host closed the connection]
pen has joined #ruby
dangerousdave has joined #ruby
nowthatsamatt has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
yoshie902a has quit [Quit: yoshie902a]
pipework has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
Rym has joined #ruby
brettnem has joined #ruby
<brettnem> good morning all!
dweeb has quit [Quit: Computer has gone to sleep.]
wallerdev has quit [Quit: wallerdev]
<brettnem> So I'm trying to use an Activerecord connection along with peach (parallel each). Activerecord is setup before peach is called, but then I reference an active record inside of the peach and I'm getting a ConnectionTimeout error.. This just happens inside the peach (supposedly this is in a new thread from where Activerecord was setup). Is there something special I need to do to make my objects available inside the peach(thre
<brettnem> Thanks
krawchyk has joined #ruby
<brettnem> the use case is basically, use Activerecord to select 1000 rows, then use peach to process them 10 simultaneously at a time
jkamenik has joined #ruby
shaunbaker has joined #ruby
platzhirsch has left #ruby [#ruby]
bluenemo has joined #ruby
scarolan has joined #ruby
hone has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
IceyEC has quit [Remote host closed the connection]
jerius has joined #ruby
IceyEC has joined #ruby
scarolan_ has quit [Ping timeout: 268 seconds]
ryannielson has joined #ruby
Wildhoney has joined #ruby
Ripp__ has quit [Quit: Ripp__]
pipework has joined #ruby
<_br_> brettnem: Activerecord is quite 'railsy' you might want to try #rubyonrails or #rails you might have more luck there.
snovak_ has joined #ruby
<brettnem> _br_: Honestly, I don't want to use Activerecord at all, since I'm not doing any railsy stuff. I can't find good docs on just regular old mysql connections. Forgive me I'm a bit new at ruby, so I may just be looking in the wrong places. The overwhelming amount of rails content kinda eclipses the non-rails stuff
<_br_> brettnem: That being said, connection time out error depending on what you try to do and depending on how the libs work internally might result in a writer starvation causing this trouble. Try increasing the timeout value in database.yaml
<brettnem> _br_: yeah, it's a standalone script.. no rails bits at all
<_br_> brettnem: Well, there is nothing wrong with an ORM (depending on your usecase). No need maybe to go directly into the adapter.
<_br_> brettnem: There should still be some timeout values configurable, no?
<brettnem> _br_: I'm having to do flips to make my funky queries work in the ORM. There's good use cases for an ORM, but for what I'm doing, I'm butchering it
flaviodesousa has joined #ruby
<_br_> brettnem: Well, if you already circumvent the whole ORM it certainly makes little sense.
sami_ has joined #ruby
<brettnem> right
binaryplease has joined #ruby
Boohbah has quit [Ping timeout: 256 seconds]
<brettnem> oh, you know I just found mysql2 which is the adapter in github. I'm going to give this a shot. Maybe it's the whole active record bits unhappy with me
joonty has quit [Quit: WeeChat 0.4.1]
sami_ is now known as sami
locriani has joined #ruby
sami has left #ruby [#ruby]
<_br_> mysql2 is fine, just read how the lib handles thread safety.
<brettnem> it's preferred over the mysql adapter isn't; it?
caju has joined #ruby
kaldrenon has joined #ruby
swordsmanz has quit [Remote host closed the connection]
bigkevmcd has quit [Ping timeout: 245 seconds]
jpinnix has joined #ruby
jpinnix has left #ruby [#ruby]
MasterAsia has quit [Ping timeout: 264 seconds]
JDHankle has joined #ruby
shaunbaker has quit [Remote host closed the connection]
caju has quit [Remote host closed the connection]
Advocation has joined #ruby
b0oh has quit [Quit: Leaving.]
lurch__ has joined #ruby
__username__ has joined #ruby
alekst has joined #ruby
lurch_ has quit [Read error: Operation timed out]
lurch__ is now known as lurch_
mpereira has joined #ruby
iamjarvo has joined #ruby
mneorr has quit [Remote host closed the connection]
wmoxam has joined #ruby
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
nari has quit [Ping timeout: 240 seconds]
soba has quit [Ping timeout: 264 seconds]
whowantstolivefo has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
<_br_> brettnem: mysql adapter has some kinks
caju has joined #ruby
krandi has joined #ruby
snooc has joined #ruby
andikr has quit [Ping timeout: 260 seconds]
tomzx_mac has joined #ruby
sailias has joined #ruby
shaunbaker has joined #ruby
iamjarvo has quit [Ping timeout: 248 seconds]
sami has joined #ruby
sami has left #ruby [#ruby]
endash has joined #ruby
caju has quit [Remote host closed the connection]
swordsmanz has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wallerdev has joined #ruby
cpruitt has joined #ruby
dweeb has joined #ruby
iamjarvo has joined #ruby
ewnd9 has joined #ruby
snovak__ has joined #ruby
swordsmanz has quit [Remote host closed the connection]
shaunbak_ has joined #ruby
swordsmanz has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
persand has quit [Quit: persand]
snovak_ has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby
elux has joined #ruby
swordsmanz has left #ruby [#ruby]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
wems has joined #ruby
rcosta has quit [Remote host closed the connection]
Stygia has joined #ruby
suffix_ has joined #ruby
persand has joined #ruby
shaunbaker has quit [Ping timeout: 264 seconds]
wudofyr has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
rcosta has joined #ruby
thesheff17 has quit [Quit: Leaving]
devoldmx has joined #ruby
wudofyr has joined #ruby
[[thufir]] has joined #ruby
<user258467> Hi, I want to instanciate a class from string, what is the correct way?
akells has joined #ruby
Joel has quit [Ping timeout: 240 seconds]
codecop has quit [Remote host closed the connection]
diegoviola has joined #ruby
locriani has quit [Remote host closed the connection]
locriani has joined #ruby
wesside has joined #ruby
ravster has joined #ruby
<ramblex> user258467: try Object.const_get("MyClassName").new
allsystemsarego has quit [Quit: Leaving]
sr78ger has joined #ruby
whowantstolivefo has joined #ruby
snooc has quit [Quit: snooc]
Advocation has quit [Quit: Advocation]
sayan has quit [Ping timeout: 245 seconds]
joonty has joined #ruby
iamjarvo has quit [Ping timeout: 264 seconds]
snooc has joined #ruby
optimusprimem has joined #ruby
optimusprimem has joined #ruby
bigkevmcd has joined #ruby
seich- has quit [Ping timeout: 264 seconds]
jan1337z has quit [Changing host]
jan1337z has joined #ruby
relix has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
defaultro has joined #ruby
kpshek has joined #ruby
ssvo has joined #ruby
cody-- has joined #ruby
antulik has quit [Remote host closed the connection]
axl_ has joined #ruby
yekta has joined #ruby
Monie has joined #ruby
<user258467> ramblex, ok const_get
<user258467> in irb I try a = "foo" then a[0].upcase! and finally puts a but a is not uppercased why?
<_br_> user258467: You just want to capitalize it? There is a function called #capitalize for that.
ssvo has quit [Ping timeout: 264 seconds]
joofsh has joined #ruby
jprovazn has joined #ruby
sayan has joined #ruby
lukec has joined #ruby
<canton7> user258467, String#[] returns a *copy* of the character at that location
browndawg has joined #ruby
swordsmanz has joined #ruby
JZTech101 has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Remote host closed the connection]
<[[thufir]]> how do I use beautify? http://pastebin.com/bVef8Rvk
<canton7> >> a = "foo"; replacement = 'F'; p replacement.object_id; a[0] = replacement; p a[0].object_id
<eval-in> canton7 => 546818040 ... (https://eval.in/45723)
<canton7> silly thing :P
swordsmanz has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
gyre007 has quit [Remote host closed the connection]
linux_noob_666 has joined #ruby
mmitchell has joined #ruby
swordsmanz has joined #ruby
mikecmpbll has joined #ruby
sr78ger has quit [Quit: Qui]
shouya1 has joined #ruby
rdark has quit [Ping timeout: 256 seconds]
iamjarvo has joined #ruby
<wuest> >> a = "foo"; [a.object_id, a[0].object_id]
<eval-in> wuest => [548858060, 548858050] (https://eval.in/45724)
ramblex has quit [Ping timeout: 264 seconds]
<wuest> There you go, canton7 :)
ramblex has joined #ruby
<user258467> _br_, thx for that
shouya has quit [Ping timeout: 240 seconds]
<canton7> wuest, yeah that'll do :)
ij has joined #ruby
ixti has joined #ruby
AndChat| has joined #ruby
fgo has quit [Remote host closed the connection]
rdark has joined #ruby
ij has left #ruby ["WeeChat 0.3.9.2"]
mrsolo has joined #ruby
splittingred has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
jbomo has joined #ruby
Banistergalaxy has quit [Ping timeout: 248 seconds]
krandi has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
devoldmx has joined #ruby
buibex has quit [Remote host closed the connection]
yojimbo_ has quit [Quit: Leaving]
goodcodeguy has joined #ruby
fgo has joined #ruby
phantasm66 has joined #ruby
gyre007 has joined #ruby
tonni has joined #ruby
MrThePlague has joined #ruby
MrThePlague has quit [Changing host]
MrThePlague has joined #ruby
goodcodeguy has left #ruby [#ruby]
goodcodeguy has joined #ruby
gyre008 has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
tomzx_mac has quit [Read error: Operation timed out]
asobrasil has joined #ruby
sarkis has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
rhys has joined #ruby
devoldmx3 has joined #ruby
dkamioka has joined #ruby
snooc has quit [Quit: snooc]
kaspergrubbe has quit [Remote host closed the connection]
mengu has joined #ruby
gyre007 has quit [Ping timeout: 264 seconds]
Wildhoney has quit [Ping timeout: 264 seconds]
snooc has joined #ruby
IceDragon has joined #ruby
mengu has quit [Client Quit]
baordog has joined #ruby
mr3 has joined #ruby
ezotrank has joined #ruby
seich- has joined #ruby
Uranio has joined #ruby
anonymuse has joined #ruby
kaspergrubbe has joined #ruby
swordsmanz has quit [Quit: ooh ponies kinkeyyy]
ezotrank has left #ruby [#ruby]
sayan has quit [Ping timeout: 264 seconds]
tesuji has quit [Read error: Connection reset by peer]
tagrudev has quit [Remote host closed the connection]
Wildhoney has joined #ruby
thirdknife_ has quit [Quit: Leaving]
scottradcliff has quit [Quit: scottradcliff]
antulik has joined #ruby
BillCriswell has joined #ruby
freerobby has quit [Quit: Leaving.]
pen has quit [Remote host closed the connection]
freerobby has joined #ruby
_maes_ has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
dkamioka has quit []
dkamioka has joined #ruby
<dkamioka> hello ppl :)
<dkamioka> anyone here at rubyconf2013 brazil ? :)
whitemage has joined #ruby
persand has quit [Quit: persand]
snath has quit [Ping timeout: 264 seconds]
<_br_> nope, I wish. Videos already flying around somewhere?
timonv has quit [Remote host closed the connection]
jprovazn has quit [Ping timeout: 264 seconds]
zoee has joined #ruby
whitemage has left #ruby [#ruby]
cortexman has quit [Quit: Leaving.]
interactionjaxsn has joined #ruby
rdark has quit [Ping timeout: 256 seconds]
timonv has joined #ruby
swordsmanz has joined #ruby
noopq has quit [Ping timeout: 264 seconds]
antulik has quit [Ping timeout: 260 seconds]
lucazi has joined #ruby
cortexman has joined #ruby
swordsmanz has left #ruby [#ruby]
Astral_ has joined #ruby
rdark has joined #ruby
awarner has joined #ruby
<Xeago> is this proper english? "Thanks, I greatly appreciate the dedication towards me."
juarlex has joined #ruby
<Xeago> context: my employer is setting aside quite some time to get me started there
Astralum has quit [Ping timeout: 245 seconds]
shaunbak_ has quit [Remote host closed the connection]
tyman has joined #ruby
randomau_ has quit [Remote host closed the connection]
shaunbaker has joined #ruby
alex__c2022 has joined #ruby
sr78ger has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
<IceDragon> Xeago: "dedication" seems like the wrong word to use in that case
lnormous has joined #ruby
fgo has quit [Remote host closed the connection]
<IceDragon> Apart from that the sentence seems fine :D
<Xeago> hence why I am asking, what would be the proper word?
suffix_ has left #ruby [#ruby]
cody-- has quit [Quit: Computer has gone to sleep.]
ixti has quit [Ping timeout: 264 seconds]
brettnem has quit [Quit: brettnem]
dweeb has quit [Quit: Computer has gone to sleep.]
<banister`sleep> Xeago just give him a heart melting look with watery eyes and he'll know what u mean
ananthakumaran1 has quit [Quit: Leaving.]
<Xeago> banister`sleep: I needed you yesterday
<sam113101> lawl
<Xeago> now I choose an iPhone without asking you about a google nexus
<banister`sleep> if i was to buy another phone now, i'd get the HTC one
<banister`sleep> that thing is sexy
randomautomator has quit [Ping timeout: 245 seconds]
devoldmx has joined #ruby
<Xeago> anyways, how do I politely thank them for their welcoming gesture
<banister`sleep> Xeago write good c0d3
<IceDragon> banister`sleep: in this day and age, it may result in the wrong meaning
blandflakes has joined #ruby
freerobby1 has joined #ruby
<Xeago> "commitment"?
<IceDragon> :D
<IceDragon> Ah that may work
freerobby has quit [Read error: Connection reset by peer]
<sam113101> STILL SOUNDS WEIRD
<Xeago> Thanks, I greatly appreciate the commitment towards me.
<Xeago> sam113101: agreed
<IceDragon> yeah
<IceDragon> >:
antulik has joined #ruby
<IceDragon> Xeago: "Thanks, I greatly appreciate your efforts towards me" ?
shaunbaker has quit [Remote host closed the connection]
siera08 has joined #ruby
mansi has joined #ruby
axeman- has quit [Read error: Connection reset by peer]
<Stygia> Unusual question. I'm considering using Ruby for a large personal project of mine. However, before I commit time to Ruby, I'd love to know something: You here, who use and (presumably) like ruby, what things do you think are poorly done and annoying in ruby? What things do you find are missing from other languages you enjoy? Any reasons to _not_do a major project in Ruby?
Wildhoney has quit [Read error: No route to host]
jprovazn has joined #ruby
axeman- has joined #ruby
<banister`sleep> Xeago: "i felt like a butterfly, gently cradled in your large masculine arms, i never felt so safe before (p.s we should be together too)"
<Xeago> banister`sleep: are you drunk?
<banister`sleep> no
<banister`sleep> just trying to help u out
<IceDragon> ._.
<IceDragon> Xeago: I think he's still half asleep
<Xeago> he should be getting tired, it is nearly dinner time
<IceDragon> Stygia: its probably just a C thing, but I really miss n++ (increment operator), but we do have a handful of work arounds (like n = n.succ)
nowthatsamatt has joined #ruby
<IceDragon> Stygia: I haven't had any real drawbacks with Ruby (apart from performance, which can be fixed by extensions most of the time)
Wildhoney has joined #ruby
filipe has quit [Ping timeout: 245 seconds]
<Stygia> IceDragon, Huh, that doesn't exist? Weird.
<Stygia> IceDragon, And, weren't the real performance issue, the "bad" mark-and-sweep GC, fixed with 1.9 and 2.0?
xeon has quit [Read error: Operation timed out]
<IceDragon> nah, sometimes I end up doing some non-ruby things in ruby
<Stygia> IceDragon, How do you mean, non-ruby things?
<Xeago> I initially missed n++ as well
<Stygia> IceDragon, I'm considering ruby _without_ rails. I don't want a heavy framework.
<IceDragon> Image pixel manipulation
<sam113101> I prefer n += 1 now
<IceDragon> Like crazy manipulation and blending for GAME
<Xeago> not anymore tho, I haven't come over a scenario where I would need it
<Xeago> most of the time you do it during loops
<IceDragon> I still miss ++ -- '_'
<Xeago> but that is not needed in ruby
sr78ger has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
tyman has quit [Quit: tyman]
mikepack has joined #ruby
<Stygia> IceDragon, Yea alright, fair enough. I'd more say "non interpreted language".
<heftig> rust isn't getting --/++ either. would just bloat the language
blackmesa has joined #ruby
<IceDragon> True
<IceDragon> Ruby does what it does best
<IceDragon> :D Being simple and awesome
KobraKao has quit [Remote host closed the connection]
<IceDragon> with plenty of sugar
<IceDragon> which... has given some diabetes...
gyre008 has quit [Remote host closed the connection]
<heftig> (and lead to discussions about preincrement/postincrement, et cetera)
mneorr has joined #ruby
<IceDragon> Anyway Stygia, whatever you plan to do with Ruby should suffice
<Stygia> IceDragon, Hmm yea.
<IceDragon> Its even usuable for games, >,> I just wish we had more engines to choose from
<Stygia> IceDragon, It is _mildly_ concering that you guys only seem to complain about minor things.
iamjarvo has quit [Read error: Operation timed out]
<IceDragon> Gosu seems to be the GOTO for ruby ;_;
<Stygia> IceDragon, IMO "good" languages tend to have adherets who love to complain about it.
<Stygia> IceDragon, But nope, not a game or anything unfit for an interpreted language. :)
<IceDragon> C++
<IceDragon> >,>
<Xeago> Stygia: I don't like require :)
<Stygia> IceDragon, Basically.... a version of Lotus Notes that doesn't suck.
<IceDragon> D:
<Xeago> UI stuff,
<Xeago> don't like that either..
<IceDragon> DAFUQ XEAGO!
jkamenik has left #ruby [#ruby]
ssvo has joined #ruby
<IceDragon> HOW CAN YOU NOT LIKE REQUIRE!
<IceDragon> :D
<Stygia> I could explain in more debt, basically it's a way to create UI's and interfaces with a GUI
<IceDragon> D: **
iamjarvo has joined #ruby
Criztian has joined #ruby
akells has quit [Read error: Connection reset by peer]
akells_ has joined #ruby
<IceDragon> :P I think it could be done
<banister`sleep> IceDragon we have x += 1
<IceDragon> Yup
<Stygia> banister`sleep, Ah, hmm, well that more or less makes up for it.
<IceDragon> Hence why I don't complain about incrementing anymore
<Stygia> banister`sleep, I'd miss ++/--, honestly. But not a huge issue.
<banister`sleep> Stygia that kind of explicit incrementation is quite rare in ruby anyway, mostly we can get away with Enumerable
siera08 has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
blackmesa has quit [Ping timeout: 240 seconds]
<Stygia> banister`sleep, Yea I know, I'm "with "python right now, I never really needed it.
<IceDragon> true we rarely get touchy with maths in ruby...
<IceDragon> >.>
<IceDragon> There be a slim chance of seeing Math# functions around...
<banister`sleep> Stygia you mean you never needed it in python? does python have ++ ?
<quazimodo> how do I define a << style method?
ahawkins has quit [Quit: leaving]
<quazimodo> def butts<< butt; @butts << butt; end as a contrived example
camilasan has joined #ruby
<Stygia> banister`sleep, Well it does, and I may have used it in python once or twice. But usually I would just use an iterable or list, and I didn't need to increment things.
<IceDragon> quazimodo: def <<(value) ; do_stuff ; end
<IceDragon> >.>
<banister`sleep> quazimodo def butts.<<(butt) ...
<IceDragon> its not rocket science
<quazimodo> bizzare, because I couldn't freaking find the answer and it made me frustrated
akells_ is now known as akells
snooc has quit [Quit: snooc]
<quazimodo> bizarre, rather
mrsolo has quit [Quit: This computer has gone to sleep]
<banister`sleep> >> butts = Object.new; def butts.<<(butt) butt end; butts << "yo"
<eval-in> banister`sleep => "yo" (https://eval.in/45729)
<banister`sleep> quazimodo ^
<hoelzro> I think the confusion was that quazimodo probably thought that object.butts << 1 was associated with object
<hoelzro> rather than butts
Astralum has joined #ruby
leokaito has quit [Read error: Connection reset by peer]
filipe has joined #ruby
dawkirst has quit [Ping timeout: 268 seconds]
shaunbaker has joined #ruby
leokaito has joined #ruby
<IceDragon> ruby has a lot of black magic if you look at it...
<IceDragon> >,>
tylersmith has joined #ruby
<banister`sleep> IceDragon what magic homeboy
<quazimodo> hoelzro: right, i did
bricker has joined #ruby
<IceDragon> >,> like the ability to define new methods on instances..
<IceDragon> that is black magic
Villadelfia has quit [Ping timeout: 264 seconds]
<IceDragon> and blocks
<Stygia> IceDragon, Which actually is a negative in my book when considering Ruby. I like the "sensible" approach Python often takes, but python isn't consistent and can be a bit annoying. I like the regexp perlism, but not most others.
dawkirst has joined #ruby
<Stygia> And, here's a thing, I actually _like_ significant whitespace. I think it's a great idea.
<quazimodo> how does ["foo"] << "butts" work then?
<quazimodo> is that not a method on the array instance?
<IceDragon> array has a << method
leokaito has quit [Read error: Connection reset by peer]
<hoelzro> quazimodo: object.butts returns an object
<hoelzro> which itself has a << method
lurch_ has quit [Quit: lurch_]
leokaito has joined #ruby
ixti has joined #ruby
<quazimodo> :/
pentameter has joined #ruby
Villadelfia has joined #ruby
<banister`sleep> Stygia i just find the python approach boring and python has a tonne of warts
Astral_ has quit [Ping timeout: 264 seconds]
aganov has quit [Remote host closed the connection]
<Stygia> banister`sleep, Yea I know. Their unittest framework just pisses me off.
<banister`sleep> Stygia like the fact default arguments to a function are only evaluated when the function is defined
<Stygia> Copy-paste from Java? Really?
<Stygia> And no ability to use regexp properly, or in ifs... That I miss so badly from perl.
<quazimodo> hrm ok
<IceDragon> Python is still weird looking to me
<Stygia> banister`sleep, Hmm. As for the default arguments. How would that be an issue?
<hoelzro> def foo(stuff = ['bar']): ...
dkamioka has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Leaving.]
<Stygia> IceDragon, You'll adjust. I personally found that significant whitespace is great once you adjust.
thebastl has joined #ruby
<Stygia> IceDragon, The general look of the language aside.
<IceDragon> is there like some: Ruby > Python Bytecode compiler out there that I have no idea about?
<hoelzro> there's that Ruby impl on RPythopn
<hoelzro> *RPython
bluenemo has quit [Remote host closed the connection]
<IceDragon> Stygia: I kinda love my 2 spaces indent, the ability to indent my code how I see fit.
<banister`sleep> Stygia say you want to default to a random number, you'll only get the same random number each time you call the method, i.e: enemy_position(x = rand, y = rand)
<IceDragon> You know, actually writing code that feels like mine.
thebastl has quit [Remote host closed the connection]
havenwood has joined #ruby
<banister`sleep> Stygia also, i think there's something terrifying where if you default to an empty array, then if that array is modified later on, the next time you call that function with defaults you don't get an empty array anymore..you get whatever was stuffed into it
<quazimodo> thansk
<Stygia> banister`sleep, Oh wow, that's terrible.
diegoviola has quit [Ping timeout: 264 seconds]
<banister`sleep> Stygia def hello(x = []); x << 5; end; hello() #=> [5]; hello() #=> [5, 5]
<banister`sleep> (the equivalent of that in python)
<Stygia> banister`sleep, Yea... alright, that would be a major issue.
<Stygia> banister`sleep, The only reason I originally went for python over ruby was the gc performance issues... and AFAIK those are fixed now.
<Stygia> I _especially_ miss first-class (right?) regexes.
<Stygia> My favourite thing in perl.
DrShoggoth has joined #ruby
n1x has quit [Ping timeout: 260 seconds]
<Stygia> banister`sleep, Hmm. I sorta fear ruby's heavy black magic, though. Another thing I enjoyed in Python was the relative clarity of what was going on, the plainness of the logic.
<forgot> how to prevent unicorn kill a time-consuming job?
tyman has joined #ruby
<Stygia> Also... it's heavily in the ruby community's favour that you guys are willing to engage in this talk. I think over at #perl I'd get flamed (I have).
cody-- has joined #ruby
rcosta_ has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
<IceDragon> Perl, ;-; I never got to try Perl
<IceDragon> I'm such a later starter...
mneorr has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
m8 has joined #ruby
<banister`sleep> Stygia yeah, but magic is just something that you don't understand, once you understand it it's no longer magic :)
robscomputer has joined #ruby
mneorr has joined #ruby
<banister`sleep> Stygia and if you use a tool like pry you can uncover how all that works fairly quickly
fgo has joined #ruby
<Stygia> banister`sleep, Yea, I know, but I find that the magic in perl, for example, damages maintain- and readability.
Davey has joined #ruby
<Stygia> banister`sleep, While I can learn it, and use tools to read and learn, having non-obvious behind-the-scenes things is often harder to maintain.
iamjarvo has quit [Ping timeout: 264 seconds]
<banister`sleep> Stygia i think the perl magic and the ruby magic are different kinds of things, perl magic afaik is enormous amounts of syntactic sugar built into the language
mrsolo has joined #ruby
gyre008 has joined #ruby
<Stygia> banister`sleep, And someone spilled salt into the sugar. But quite possible.
<banister`sleep> Stygia whereas ruby magic is more metaprogramming stuff, that is actually quite simple, but appears magic because of the power
tyman has quit [Client Quit]
<banister`sleep> anyway, you have to give an example of ruby magic that you find scary and we can dissect it for u
veleno has quit [Quit: veleno]
rcosta has quit [Ping timeout: 248 seconds]
BlakeRG has joined #ruby
mneorr_ has joined #ruby
mneorr has quit [Read error: Connection reset by peer]
niceguyjames has quit [Quit: Computer has gone to sleep.]
devoldmx has joined #ruby
<BlakeRG> anybody have any idea why rubymine is barking at my syntax when in fact this is entirely valid? https://s3.amazonaws.com/uploads.hipchat.com/26718/211166/na7lkgofadajizn/push_notification_app.rb_-_perk-api_-____Sites_perk-api_-2.png
JZTech101 has joined #ruby
iamjarvo has joined #ruby
<Stygia> banister`sleep, Heh, but in order to find that sort of thing, I'd have to invest time to properly learn ruby.
antulik has quit [Remote host closed the connection]
MrThePlague has quit [Remote host closed the connection]
<Stygia> banister`sleep, Which I probably will. :) I really like the language at a glance.
juarlex has quit [Remote host closed the connection]
MrThePlague has joined #ruby
kobain has joined #ruby
<Stygia> banister`sleep, My idea was, though, to try and look at the lang in some depth without actually learning it. Whether that's possible is another matter.
<banister`sleep> Stygia wait so you say you're scared of ruby magic, but you can't actually point to any examples? :P so it's just based on hear-say ?
juarlex has joined #ruby
forgot_ has joined #ruby
<terrellt> BlakeRG: It's either an old version of RubyMine or it doesn't like the space before the colon.
ssvo has quit [Ping timeout: 260 seconds]
<Stygia> banister`sleep, Well no, I just know that ruby is a language that _has_ magic. And like I said, I found that I agreed with the principle of transparency in python. I'm a perl programmer historically, so I've got an aversion to magic, often (excepting regex).
<BlakeRG> terrellt: i ran "format code" on that section and it added those spaces for whatever reason
<BlakeRG> and i'm on the latest version
<terrellt> BlakeRG: If you remove them do the complaints go away?
Macaveli has joined #ruby
<Macaveli> Can I ask question about cron here?
gyre008 has quit [Ping timeout: 260 seconds]
<banister`sleep> Stygia yeah
<BlakeRG> terrellt: i took out the spaces. the tooltip is saying "Expected: ="
forgot has quit [Ping timeout: 245 seconds]
andikr has joined #ruby
forgot_ is now known as forgot
<terrellt> Wat
<BlakeRG> oh, weird
banister`sleep has quit [Remote host closed the connection]
<BlakeRG> i just changed my ruby SDK to 2.0.0 and they went away
robscomputer has quit [Remote host closed the connection]
<BlakeRG> it was set to 1.9.x
fgo has quit [Ping timeout: 264 seconds]
swordsmanz has joined #ruby
akells has quit [Remote host closed the connection]
<BlakeRG> but i thought 1.9.x supported this new syntax?
<terrellt> Maybe it's classifying them as keyword arguments now.
banisterfiend has joined #ruby
Targen has quit [Ping timeout: 264 seconds]
<BlakeRG> this is a replacement for a hashrocket right?
tylersmith has quit [Read error: Connection reset by peer]
<terrellt> Yeah, but 2.0 added keyword arguments which has a similar syntax.
randomautomator has joined #ruby
hiyosi has joined #ruby
<Stygia> Oh, while I remember. Is ruby 1.9 and 2.0 comparable to python 3, that is, is there an ongoing effort to port libraries etc, and a significant number of modules I'd miss out on if I used this newest version?
eka has joined #ruby
<terrellt> Stygia: No. There's practically no backwards incompatibility between 2.0 and 1.9.
<terrellt> Stygia: Even if there was, the Ruby community's phenomenal at switching revisions.
<Stygia> terrellt, Fantastic.
<BlakeRG> does anyone know if rubymine obeys the "ruby "2.0.0"" line in my gemfile?
<BlakeRG> liek RVM does
forgot has quit [Read error: Connection reset by peer]
<Stygia> terrellt, See, I really _want_ to use ruby. To me it's Python with the parts of Perl I really like. I'm just worried I'll get going on my project and then wish I'd used, eh, clojure or something. Or python still, I guess.
<Stygia> terrellt, So I hope you'll put up with my silly questions for a bit. :)
<terrellt> Stygia: It's a solid, fun to play with language. Not to mention the community is fantastic - they're genuinely concerned with best practices and maintainability, so they've built the toolsets necessary to accomodate that.
scottradcliff has joined #ruby
AndChat| has quit [Ping timeout: 264 seconds]
<BlakeRG> so :a => b is analogous to a: => b
<BlakeRG> ?
jprovazn has quit [Quit: Odcházím]
Criztian has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
<Stygia> terrellt, Yup, that's what I've noticed.
<terrellt> BlakeRG: Yup.
<terrellt> Wait
<Stygia> terrellt, I was especially impressed with unittests seemingly being an integral part of ruby and rails as communities.
<terrellt> I read that wrong, I don't know the answer to that.
kaspergrubbe has quit [Remote host closed the connection]
digital-ghost has joined #ruby
Advocation has joined #ruby
<terrellt> Stygia: If we're talking about Rails, it's not just unit tests either. Integration tests - you'll often find Rails projects that will boot up a headless browser that will click around and ensure everything works through all layers, because it's the right thing to do.
<banisterfiend> terrellt not that phenomenal, 1.8 survived way too long imo, but hopefully that bitch is finally dead
<Stygia> terrellt, Hmm, yup. My project would suffer from using something as heavy as rails, but still.
razi has joined #ruby
<terrellt> Stygia: Right, that's just an example. Capybara works for other Ruby frameworks as well.
hasrb has joined #ruby
<terrellt> BlakeRG: {:a => b} == {a: b}
jlast has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Remote host closed the connection]
<Stygia> terrellt, Yea I know, like I said, the ruby community strikes me as great (You guys actually put up with my attempt here to find bad things about ruby), unittests and best practice is important... and I can actually use regexes like in perl.
<BlakeRG> terrellt: very cool, i'm more familiar with the new syntax coming from PHP/JS background
<Stygia> I know I've said that a lot, but goddamn do I hate python's re class.
<terrellt> BlakeRG: I had the same background - I still like hash rockets.
<terrellt> Stygia: Lol.
<Stygia> terrellt, But seriously, inability to use re in conditionals is just ridiculous.
<Stygia> terrellt, IMO makes it more or less useless as a quick scripting language.
<BlakeRG> is it preferred to use && or "and" - || vs OR in conditionals?
pothibo has joined #ruby
<banisterfiend> Stygia the coolest thing about ruby is executable class bodies IMO
<terrellt> BlakeRG: They're too different things. Make your life easier and use &&/||
<terrellt> Two.
<terrellt> Wow, I'm tired.
<BlakeRG> oh, they are different? weird
<terrellt> The execution order is different.
<Stygia> banisterfiend, Hmm, you mean the "code blocks" thing?
<BlakeRG> i need to read up on the ruby style guide i supoose
niceguyjames has joined #ruby
alup has quit [Quit: Leaving]
<banisterfiend> Stygia no i mean things like this: class Hello; attr_accessor :x; end
<BlakeRG> == checks for equality but does === check for equality and data type?
akells has joined #ruby
<Stygia> banisterfiend, What exactly is that?
<banisterfiend> Stygia attr_accessor isn't a keyword but a class-method, the class definition is executed like any other code and you can run methods in there, in this case i'm running a method called "attr_accessor" which actually creates methods for me (in this case a getter and a setter method for 'x')
<Stygia> banisterfiend, Oooh right, I remember that.
rippa has joined #ruby
<Stygia> banisterfiend, Python has it but much more involved. Well not necessary executable bodies, but the accessor methods etc.
St_Marx has quit [Quit: Ex-Chat]
<banisterfiend> Stygia yeah, and all that stuff is about to get even cooler in ruby 2.1
<Stygia> banisterfiend, I remember really liking that when I read a ruby book way back when.
pvizcay has joined #ruby
<terrellt> BlakeRG: No, this isn't PHP. ==='s weird - http://stackoverflow.com/questions/4467538/what-does-the-operator-do-in-ruby
<Stygia> terrellt, coming from an insomniac, if you're tired, drink cold water.
<BlakeRG> terrellt: thanks :) and yes, PHP is weird lol
<banisterfiend> Stygia in 2.1 method definitions return the name of the method (as a symbol) so we can decorate the method inline as we define it, it will result in some pretty slick looking code
jamesaanderson has joined #ruby
ananthakumaran has joined #ruby
<Stygia> banisterfiend, Fancy.
brettnem has joined #ruby
<terrellt> banisterfiend: Shiny.
<Stygia> banisterfiend, I'll have to admit it would have taken something extraordinarily annoying for me to consider alternatives to ruby.
<Stygia> .. maybe clojure or something.
<terrellt> Stygia: JVM makes me sad. =(
<Stygia> banisterfiend, For example, being flamed for "talking shit" about ruby would have done it. :P
stack has joined #ruby
ewnd9 has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
<Stygia> terrellt, Hmm yea I could see that as being an issue. The reason i'd call that my go-to LISP is because you can use Java's standard library (and most other LIPS's don't have significant libraries as such).
<banisterfiend> Stygia clojure looks like a cool language too, haskell is even nicer
<terrellt> Scala's a popular java-type thing lately.
<Stygia> banisterfiend, I hear too many people saying haskell is a "toy" or academic language, though. Would be silly of me to claim it, since I've never learned it, but still.
swordsmanz has quit [Quit: swordsmanz]
<banisterfiend> Stygia nah, haskell is incredible and is only increasing in popularity. Even john carmack was saying great things about it in a recent interview
<Stygia> banisterfiend, Like I said, I don't know if that is actually true.
<Stygia> banisterfiend, And haskell's definitively high on my list of languages to learn.
stack_ has quit [Ping timeout: 245 seconds]
randomau_ has joined #ruby
<Stygia> banisterfiend, If I'd been asked, I'd say right after ruby that'd be it.
colonolGron has joined #ruby
<banisterfiend> Stygia well i guess the primary problem preventing companies using it is that it's hard to find good haskell programmers to work for you :)
supergiantrobot has joined #ruby
brettnem has quit [Ping timeout: 260 seconds]
bricker has quit [Read error: Connection reset by peer]
<Stygia> banisterfiend, I'd say third-party libraries could also be an issue. But that's true for most other languages.
<terrellt> I thought it was interesting when that one company switched to Go, were concerned about hiring good programmers, and discovered they got the best ones.
<terrellt> Or at least, what they classified as "best"
<terrellt> Who knows. ;)
anay has joined #ruby
bricker has joined #ruby
pitzips has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
dash_ has quit [Quit: dash_]
<Stygia> terrellt, I don't think most shitty programmers go and learn languages like go or haskell, or at least won't before they're popular.
randomautomator has quit [Ping timeout: 264 seconds]
<BlakeRG> Stygia: thats kind of an arrogant statement, i've meet quite a few amazing programmers who like and use Go, almost all languages have their time and place
rcosta_ has quit [Remote host closed the connection]
ssvo has joined #ruby
<Stygia> BlakeRG, Oh, you either read me wrong or I said it wrong.
<BlakeRG> Stygia: sorry, probably not following the conversation
<Stygia> BlakeRG, I meant to say, shitty programmers do _not_ go and learn languages like that, usually, since they wouldn't care about academic explorations of programming or novel approaches.
<BlakeRG> ahh, sorry!
<Stygia> BlakeRG, It was actually intended as a general statement complimenting the programmers who do. Of course it isn't always true, but I would assume that the sort of coders who go into that love their trade.
phracker has quit [Ping timeout: 240 seconds]
Niamkik has quit [Read error: Operation timed out]
<BlakeRG> Stygia: yes, people who don't seek out new things and are comfortable with the things they've been using for years on end aren't usually top tier
Macaveli has quit [Quit: Computer has gone to sleep.]
camilasan has quit [Remote host closed the connection]
<Stygia> BlakeRG, Not just that, it's more that people who care about their trade tend to be better, and those who explore the "novel" languages would presumably tend to care more.
fgo has joined #ruby
<BlakeRG> i was playing with Qbasic a few weeks ago in FreeDos, does that count? :P
Tricon has joined #ruby
anay has quit [Remote host closed the connection]
<BlakeRG> oh god, memories
<Stygia> BlakeRG, Hah.
<Stygia> BlakeRG, The first language I ever learned was VBA
<Stygia> BlakeRG, Well I didn't learn it, really. But I was supposed to.
freerobby1 has quit [Read error: Connection reset by peer]
<Stygia> BlakeRG, My first, shittiest job, their whole application was in microsoft access...
freerobby has joined #ruby
johnnyfuchs has joined #ruby
<BlakeRG> i was thinking how cool it would be to write an HTTP server in Qbasic, then i realized there's no TCP stack :(
<BlakeRG> lol Stygia
<sam113101> Stygia: wow
zodiak has joined #ruby
Scient has quit [Ping timeout: 264 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<banisterfiend> BlakeRG you can do anything with peek and poke, though :)
tk__ has quit [Quit: ばいばい]
<BlakeRG> banisterfiend: this is amazing
KobraKao has joined #ruby
<BlakeRG> how in the hell he managed to pull this off is beyond me
fgo has quit [Ping timeout: 240 seconds]
MrThePlague has quit [Remote host closed the connection]
MrThePlague has joined #ruby
MrThePlague has joined #ruby
MrThePlague has quit [Changing host]
<banisterfiend> BlakeRG yeah, it's incredible. But i remember back when i did some quickbasic back in the day we used to write assembly routines and write them out to memory using peek & poke, doing that we got things like sound blaster support, mouse support, svga graphics and so on
forgot has joined #ruby
<banisterfiend> it's possible to do cool stuff it's just an absolute pain in the ass
<BlakeRG> the guy who wrote this must be a masochist
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<BlakeRG> :)
<banisterfiend> yeah :P
forgot has left #ruby [#ruby]
Rym_ has joined #ruby
zabojnar has quit [Quit: Textual IRC Client: www.textualapp.com]
Rym has quit [Read error: Connection reset by peer]
<Stygia> And hah... since this company threated all us interns like shit, I can't help but laugh
<Stygia> They "updated" their program to silverlight
Wildhoney has quit [Ping timeout: 264 seconds]
Hanmac1 is now known as Hanmac
BSaboia has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
<Stygia> I warned them that might get obsolete after a few years and we should just generate things in html/js/etc
<Stygia> And now silverlight is going obsolete :P And I cheer for all my other former employers, even the one that fired me, but fuck those guys, seriously.
phracker has joined #ruby
seich- has quit [Ping timeout: 264 seconds]
<banisterfiend> Hanmac would you ever date a chicken?
thebastl has joined #ruby
anay has joined #ruby
<Hanmac> banisterfiend: in later epiosdes the line was "i am not overreacting! i am a teenager!" :P
Rym_ has quit [Ping timeout: 260 seconds]
<banisterfiend> cute
blackmesa has joined #ruby
geekbri has joined #ruby
soba has joined #ruby
luist has joined #ruby
<Xeago> is it possible to have an else on an unless?
splittingred has quit [Ping timeout: 264 seconds]
<banisterfiend> Xeago Yeh
<Xeago> can you have an elsif?
<canton7> by that point, you're better off using 'if' instead of 'unless'
thebastl has quit [Remote host closed the connection]
havenwood has joined #ruby
<Xeago> the condition is more readable with an unless..
<canton7> many style guides say 'unless cond ... else' is unaccepptable - use 'if !conf ... else'
<Xeago> but I get your point
m8 has quit [Quit: Sto andando via]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
soba_ has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
Rym has joined #ruby
Niamkik has joined #ruby
soba has quit [Ping timeout: 268 seconds]
filipe has quit [Remote host closed the connection]
Scient has joined #ruby
freerobby has quit [Quit: Leaving.]
axeman- has quit [Read error: Connection reset by peer]
colonolGron has quit [Quit: Lost terminal]
axeman- has joined #ruby
Wildhoney has joined #ruby
beneggett-alt has quit [Quit: beneggett-alt]
freerobby has joined #ruby
ixti has quit [Ping timeout: 256 seconds]
kaspergrubbe has joined #ruby
maroloccio has joined #ruby
shredding has quit [Quit: shredding]
Stygia has quit [Ping timeout: 245 seconds]
IcyDragon has joined #ruby
Bosox20051 has quit [Remote host closed the connection]
Wildhoney has quit [Client Quit]
troessner has quit [Quit: Leaving]
Advocation has quit [Quit: Advocation]
Kabaka_ has quit [Remote host closed the connection]
`Chris` has joined #ruby
IceDragon has quit [Ping timeout: 264 seconds]
mr3 has quit [Quit: Page closed]
timonv has quit [Remote host closed the connection]
Wildhoney has joined #ruby
Kabaka_ has joined #ruby
maletor has joined #ruby
ixti has joined #ruby
Xeago has quit [Remote host closed the connection]
Targen has joined #ruby
<havenwood> canton7: `unless; else` has never bothered me in the slightest, but I usually avoid just for the sake of others
abrkn has joined #ruby
<wuest> 'unless, else' makes grammatical sense to me. But this is why projects all have their own style guides.
<havenwood> Maybe `else` should be `otherwise` with `unless`. :P
scottradcliff has quit [Quit: scottradcliff]
KobraKao has quit [Ping timeout: 268 seconds]
woolite64 has quit [Quit: Leaving]
KobraKao has joined #ruby
shaunbaker has quit [Remote host closed the connection]
juarlex has quit [Remote host closed the connection]
persand has joined #ruby
<havenwood> unless you clean your room you're in big trouble, otherwise we can go get ice cream
tylersmith has joined #ruby
persand has quit [Client Quit]
juarlex has joined #ruby
Stygia has joined #ruby
bradhe has joined #ruby
shaunbaker has joined #ruby
dash_ has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
ghr has quit [Quit: Computer has gone to sleep.]
KobraKao has quit [Ping timeout: 248 seconds]
julian-delphiki has quit [Ping timeout: 240 seconds]
zeade has joined #ruby
julian-delphiki has joined #ruby
gringocl has joined #ruby
jonahR has joined #ruby
ndrei has joined #ruby
Monie has joined #ruby
KobraKao has joined #ruby
jamesaanderson has joined #ruby
shaunbak_ has joined #ruby
phracker has quit [Ping timeout: 240 seconds]
jibi has quit [Ping timeout: 240 seconds]
Stygia has quit [Quit: Leaving]
jarray52 has joined #ruby
chrisja has joined #ruby
gringocl has quit [Quit: gringocl]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kilophoton has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
shaunbak_ has quit [Remote host closed the connection]
turduks has joined #ruby
kaspergrubbe has joined #ruby
shaunbaker has quit [Ping timeout: 264 seconds]
dankest has joined #ruby
`Chris` has quit [Remote host closed the connection]
robovirtuoso has joined #ruby
antulik has joined #ruby
mengu has joined #ruby
jibi has joined #ruby
saarinen has joined #ruby
aryaching has joined #ruby
phracker has joined #ruby
blackmesa has quit [Remote host closed the connection]
obs has quit [Quit: Saliendo]
goleldar has joined #ruby
luckyruby has joined #ruby
political has joined #ruby
danman has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
DanKnox_away is now known as DanKnox
dkamioka has joined #ruby
bzitzow has joined #ruby
turduks has quit [Ping timeout: 268 seconds]
carraroj has joined #ruby
russt has joined #ruby
bricker is now known as bricker`LA
seich- has joined #ruby
prisonguard has quit [Ping timeout: 268 seconds]
bradhe has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aryaching has quit [Ping timeout: 264 seconds]
noname001 has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
KobraKao has quit [Ping timeout: 268 seconds]
andikr has quit [Remote host closed the connection]
antulik has quit [Remote host closed the connection]
MrThePlague has quit [Remote host closed the connection]
juarlex has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
MrThePlague has joined #ruby
MrThePlague has quit [Changing host]
MrThePlague has joined #ruby
antulik has joined #ruby
zastern has joined #ruby
Neomex has joined #ruby
turduks has joined #ruby
Neomex has quit [Client Quit]
Guest23939 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
Guest23939 is now known as diegoviola
fgo has joined #ruby
robovirt1oso has joined #ruby
turduks has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
robovirtuoso has quit [Quit: Leaving]
devoldmx has joined #ruby
rickmasta has joined #ruby
carraroj has quit [Read error: Operation timed out]
maletor has joined #ruby
KobraKao has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
banzounet has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
havenn has joined #ruby
phracker has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
binaryplease has quit [Ping timeout: 260 seconds]
echevemaster has quit [Read error: Connection reset by peer]
lukec has quit [Quit: lukec]
Astralum has quit [Ping timeout: 260 seconds]
<dkamioka> anyone here at rubyconf.com.br ? :)
iliketur_ has joined #ruby
* dkamioka is now watching a keynote about emulating Atari with ruby :D
rupee has joined #ruby
<dkamioka> :D
geekbri has quit [Remote host closed the connection]
yekta has quit [Quit: yekta]
klaut has quit [Remote host closed the connection]
fflush has quit [Quit: Leaving]
companion is now known as Companion
Astralum has joined #ruby
noname001 has joined #ruby
juarlex has joined #ruby
nomenkun has quit [Remote host closed the connection]
turduks has joined #ruby
jamesaanderson has joined #ruby
bricker`LA has quit [Ping timeout: 268 seconds]
KobraKao has quit [Ping timeout: 248 seconds]
Xeago has quit [Remote host closed the connection]
gokul has quit [Remote host closed the connection]
Wildhoney has quit [Ping timeout: 268 seconds]
dkamioka has quit [Remote host closed the connection]
jamesaanderson has quit [Client Quit]
iamjarvo has quit [Read error: Connection reset by peer]
lucazi has quit [Remote host closed the connection]
dangerousdave has quit [Quit: Leaving...]
iamjarvo has joined #ruby
antulik has quit [Remote host closed the connection]
MrThePlague has quit [Remote host closed the connection]
juarlex has quit [Remote host closed the connection]
MrThePlague has joined #ruby
Ripp__ has joined #ruby
scottradcliff has joined #ruby
Advocation has joined #ruby
lukec has joined #ruby
bobbyz has quit [Quit: Leaving]
ixti has quit [Ping timeout: 248 seconds]
codecop has joined #ruby
rdark has quit [Quit: leaving]
johnnyfuchs has quit [Remote host closed the connection]
BlakeRG has left #ruby [#ruby]
johnnyfuchs has joined #ruby
VTLob has joined #ruby
optimusprimem has joined #ruby
optimusprimem has joined #ruby
mengu has quit [Quit: Leaving]
Fuzai has joined #ruby
timonv has quit [Read error: Connection reset by peer]
twoism has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
iliketur_ has joined #ruby
dkamioka has joined #ruby
turduks has quit [Ping timeout: 256 seconds]
jamesaanderson has joined #ruby
_bart has quit [Remote host closed the connection]
banzounet has joined #ruby
robovirt1oso has quit [Ping timeout: 268 seconds]
KobraKao has joined #ruby
MrThePlague has quit [Remote host closed the connection]
ndrei has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
yekta has joined #ruby
MrThePlague has joined #ruby
havenn has quit [Remote host closed the connection]
xefi_ has quit [Ping timeout: 245 seconds]
phracker has joined #ruby
jamesaanderson has quit [Client Quit]
havenwood has joined #ruby
wems has quit [Ping timeout: 268 seconds]
noopq has joined #ruby
eldariof has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
ramblex has quit [Remote host closed the connection]
tylersmith has joined #ruby
apeiros has quit [Remote host closed the connection]
rcs has quit [Quit: ZNC - http://znc.in]
multi_io has quit [Ping timeout: 260 seconds]
rcs has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
devoldmx has joined #ruby
Advocation has quit [Quit: Advocation]
Advocation has joined #ruby
Advocation has quit [Client Quit]
phracker has quit [Ping timeout: 240 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
devoldmx has quit [Read error: Connection reset by peer]
lkba has quit [Read error: Connection reset by peer]
raul782_ has joined #ruby
banzounet has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
pwh has joined #ruby
lkba has joined #ruby
jsatk has joined #ruby
jonahR has quit [Quit: jonahR]
dkamioka has quit [Remote host closed the connection]
IceDragon_ has joined #ruby
jlebrech has quit [Ping timeout: 245 seconds]
IceDragon_ is now known as IceDragon
jamesaanderson has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
sebastianb has quit [Ping timeout: 264 seconds]
IcyDragon has quit [Ping timeout: 264 seconds]
Al_ has quit [Quit: Al_]
brettnem has joined #ruby
pr0ggie has joined #ruby
multi_io has joined #ruby
devoldmx has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
makerbrakr has joined #ruby
cody-- has joined #ruby
geekbri has joined #ruby
dkamioka has joined #ruby
Zai00 has quit [Quit: Zai00]
Quashie_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
giarc has joined #ruby
St_Marx has joined #ruby
lyanchih has joined #ruby
Quashie has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
lukec has quit [Quit: lukec]
stkowski has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
stayarrr has quit [Quit: Leaving.]
HavokOC has quit [Changing host]
HavokOC has joined #ruby
HavokOC has quit [Changing host]
HavokOC has joined #ruby
relix has joined #ruby
BRMatt has quit [Ping timeout: 245 seconds]
pwh has quit [Remote host closed the connection]
pwh has joined #ruby
obs has joined #ruby
makerbrakr is now known as makerbreakr
fgo has joined #ruby
c0rn has joined #ruby
obs has quit [Client Quit]
rupee has quit [Quit: Leaving]
obs has joined #ruby
pkrnj has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
devoldmx has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 256 seconds]
obs has quit [Client Quit]
juarlex has joined #ruby
blaxter_ has quit [Quit: foo]
julian-delphiki has quit [Ping timeout: 248 seconds]
julian-delphiki has joined #ruby
MorbidOne has joined #ruby
obs has joined #ruby
<MorbidOne> HOla
thinkdifferent has joined #ruby
pkrnj has quit [Ping timeout: 264 seconds]
<thinkdifferent> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
awarner has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
geekbri has quit [Remote host closed the connection]
joofsh has quit [Remote host closed the connection]
kvirani has quit [Remote host closed the connection]
marcgg has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
mneorr_ has quit [Remote host closed the connection]
MrThePlague has quit [Remote host closed the connection]
jsatk has quit [Remote host closed the connection]
mlpinit has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
eka has quit [Remote host closed the connection]
johnnyfuchs has quit [Remote host closed the connection]
brettnem has quit [Remote host closed the connection]
leokaito has quit [Remote host closed the connection]
Dreamer3 has quit [Remote host closed the connection]
JDHankle has quit [Remote host closed the connection]
mmitchell has quit [Remote host closed the connection]
digital-ghost has quit [Remote host closed the connection]
anay has quit [Remote host closed the connection]
hasrb has quit [Remote host closed the connection]
juarlex has quit [Remote host closed the connection]
futilegames has quit [Remote host closed the connection]
devoldmx has joined #ruby
awarner has joined #ruby
failshell has joined #ruby
jsatk has joined #ruby
JDHankle has joined #ruby
interactionjaxsn has quit [Ping timeout: 264 seconds]
seich- has quit [Ping timeout: 264 seconds]
giarc has quit [Remote host closed the connection]
awarner has quit [Remote host closed the connection]
digital-ghost has joined #ruby
hasrb has joined #ruby
lyanchih has quit [Quit: lyanchih]
raul782_ has quit [Remote host closed the connection]
mmitchell has joined #ruby
axl_ has quit [Quit: axl_]
kaspergrubbe has joined #ruby
dkamioka has quit [Remote host closed the connection]
eka has joined #ruby
raul782_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
thinkdifferent has quit [Client Quit]
joofsh has joined #ruby
iamjarvo has quit [Remote host closed the connection]
mlpinit has joined #ruby
iamjarvo has joined #ruby
nomenkun has joined #ruby
kpshek has quit []
goshakkk has joined #ruby
zigomir_ has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
lukec has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
rippa has quit [Ping timeout: 248 seconds]
pkrnj has joined #ruby
rippa has joined #ruby
iamjarvo has joined #ruby
seubert has joined #ruby
dkamioka has joined #ruby
kpshek has joined #ruby
dkamioka has quit [Remote host closed the connection]
apeiros has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phracker has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
iamjarvo has joined #ruby
kallikrates has joined #ruby
jamesaanderson has joined #ruby
Zeeraw has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
devoldmx has joined #ruby
blackmesa has joined #ruby
carraroj has joined #ruby
axl_ has joined #ruby
pkrnj has quit [Ping timeout: 245 seconds]
MrThePlague has joined #ruby
MrThePlague has joined #ruby
wudofyr has quit [Read error: Connection reset by peer]
Eiam has joined #ruby
xcfox has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
binaryplease has joined #ruby
obs has quit [Quit: Konversation terminated!]
ebobby has joined #ruby
banzounet has joined #ruby
pkrnj has joined #ruby
pipework has quit [Remote host closed the connection]
obs has joined #ruby
scottradcliff has quit [Ping timeout: 248 seconds]
banisterfiend is now known as banister`gym
iamjarvo has quit [Remote host closed the connection]
wudofyr has joined #ruby
jackjackdrpr has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
Xiti` has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
wudofyr has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 264 seconds]
jonahR has joined #ruby
devoldmx has joined #ruby
Xiti has quit [Ping timeout: 248 seconds]
pkrnj has joined #ruby
phracker has quit [Ping timeout: 240 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
endash has quit [Quit: endash]
rickmasta has quit [Quit: Leaving...]
Tricon has quit [Quit: Bye!]
rippa has quit [Ping timeout: 248 seconds]
aeontech has joined #ruby
dash_ has quit [Ping timeout: 260 seconds]
kirun has joined #ruby
Senjai has joined #ruby
juarlex has joined #ruby
timonv has joined #ruby
pkrnj has quit [Ping timeout: 264 seconds]
phracker has joined #ruby
juarlex has quit [Remote host closed the connection]
pkrnj has joined #ruby
robovirtuoso has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
juarlex has joined #ruby
rupee has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
dash_ has joined #ruby
x1337807x has joined #ruby
ndrei has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
jsatk has quit [Remote host closed the connection]
browndawg has quit [Quit: Leaving.]
BSaboia has quit [Ping timeout: 268 seconds]
jsatk has joined #ruby
Mon_Ouie has joined #ruby
interactionjaxsn has joined #ruby
ebobby has left #ruby [#ruby]
kaspergrubbe has joined #ruby
robovirtuoso has quit [Ping timeout: 276 seconds]
wudofyr has joined #ruby
Cranberry-Apple has joined #ruby
devoldmx has joined #ruby
jsatk has quit [Remote host closed the connection]
rezzack has joined #ruby
kallikrates has quit [Quit: Page closed]
Neomex has joined #ruby
t1k007 has joined #ruby
rickmasta has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
pwh has quit [Quit: pwh]
MrThePlague has quit [Remote host closed the connection]
<_br_> Isn't it a bit werid to encode location/activity in the IRC username? Isn't the away message a much better place for that banister`gym ?
juarlex has quit [Remote host closed the connection]
MrThePlague has joined #ruby
MrThePlague has joined #ruby
MrThePlague has quit [Changing host]
dkamioka has quit [Remote host closed the connection]
Eiam has joined #ruby
<Banistergalaxy> I never thought about it that much br
seich- has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
omakase has joined #ruby
dkamioka has joined #ruby
<omakase> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امار
kaspergrubbe has quit [Remote host closed the connection]
mlpinit has quit [Remote host closed the connection]
MrThePlague has quit [Remote host closed the connection]
joofsh has quit [Remote host closed the connection]
digital-ghost has quit [Remote host closed the connection]
eka has quit [Remote host closed the connection]
JDHankle has quit [Remote host closed the connection]
raul782_ has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
goshakkk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhruvasagar has quit [Ping timeout: 268 seconds]
breakingthings has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
<_br_> Banistergalaxy: Maybe I'm just overthinking it, sorry :).
juarlex has joined #ruby
darksoox has joined #ruby
breakingthings has joined #ruby
karl___ has joined #ruby
darksoox has left #ruby [#ruby]
<goodcodeguy> _br_: it makes sense, especially if you have your username registered...do you register all potential statuses? O.o
darksoox has joined #ruby
robovirtuoso has joined #ruby
omakase has quit [Client Quit]
alex__c2022 has joined #ruby
starfox21 has quit [Quit: starfox21]
juarlex has quit [Remote host closed the connection]
MrThePlague has joined #ruby
<karl___> Can anyone suggest an elegant way to determine if the first character of a string is 0-9 (a number)?
kofno has quit [Remote host closed the connection]
juarlex has joined #ruby
kofno has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juarlex has quit [Client Quit]
<goodcodeguy> /^[0-9]/ =~ string
political has quit [Ping timeout: 256 seconds]
juarlex has joined #ruby
<goodcodeguy> sigh
<goodcodeguy> regex
<Mon_Ouie> >> ("0".."9").cover? "3foo"[0]
<eval-in> Mon_Ouie => true (https://eval.in/45744)
<goodcodeguy> ... /^[0-9]/ =~ '5foo'
<karl___> Thanks !
<Mon_Ouie> goodcodeguy: There's one quirk with that one though
<Mon_Ouie> >> /^[0-9] =~ "foo\n3bar"
<eval-in> Mon_Ouie => /tmp/execpad-a2af6c9c2bb3/source-a2af6c9c2bb3:2: unterminated regexp meets end of file ... (https://eval.in/45745)
<Mon_Ouie> >> /^[0-9]/ =~ "foo\n3bar"
<eval-in> Mon_Ouie => 4 (https://eval.in/45746)
<Mon_Ouie> It matches even though the first character is not a digit, which is why you should use \A to reference the beginning of the string
x1337807x has joined #ruby
prisonguard has joined #ruby
pwh has joined #ruby
<goodcodeguy> right, I was going to suggest that
<goodcodeguy> you are right
mlpinit has joined #ruby
<goodcodeguy> .. /\A[0-9]/ =~ '3foo'
<goodcodeguy> would be more appropriate correct?
<apeiros> [0-9] --> \d
nomenkun has quit [Remote host closed the connection]
pwh has quit [Client Quit]
<Mon_Ouie> Yup
pkrnj has quit [Quit: Computer has gone to sleep.]
atno is now known as atno|HoldingBall
flaviodesousa has quit [Ping timeout: 264 seconds]
<goodcodeguy> apeiros: yar, I always forget about \d :)
atno|HoldingBall is now known as atnoHoldingBalls
juarlex has quit [Client Quit]
digital-ghost has joined #ruby
Spami has joined #ruby
juarlex has joined #ruby
pvizcay has quit [Quit: leaving]
Spami has quit [Changing host]
Spami has joined #ruby
jaimef has quit [Excess Flood]
flaviodesousa has joined #ruby
alvaro_o has joined #ruby
carraroj has quit [Read error: Connection reset by peer]
karl___ has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
altamic has joined #ruby
__userna1 has joined #ruby
mmitchell has quit [Remote host closed the connection]
altamic has quit [Excess Flood]
pen has joined #ruby
fgo has joined #ruby
__username__ has quit [Ping timeout: 264 seconds]
xk_id has quit [Quit:
fantazo has quit [Remote host closed the connection]
xk_id has joined #ruby
soba_ has quit [Read error: Connection reset by peer]
Neomex has quit [Quit: Neomex]
<Hanmac> there is also [[:digit:]] but its different from \d
jaimef has joined #ruby
fgo has quit [Ping timeout: 276 seconds]
pel_daniel has joined #ruby
jamesaanderson has joined #ruby
snath has joined #ruby
binaryplease has quit [Ping timeout: 264 seconds]
ArchBeOS has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
pkrnj has joined #ruby
nwertman has joined #ruby
axl_ has quit [Ping timeout: 260 seconds]
jlast_ has joined #ruby
atyz has joined #ruby
dreinull has joined #ruby
MrThePlague has quit [Remote host closed the connection]
pen has quit [Remote host closed the connection]
axl_ has joined #ruby
<dreinull> how do I require a gem unless I'm on jruby?
jlast has quit [Read error: Operation timed out]
pen has joined #ruby
<nprice> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
endless_walrus has joined #ruby
mlpinit has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
digital-ghost has quit [Remote host closed the connection]
pen has quit [Remote host closed the connection]
digital-ghost has joined #ruby
dreinull has quit [Remote host closed the connection]
mlpinit has joined #ruby
pkrnj has quit [Ping timeout: 245 seconds]
failshell has quit [Read error: Operation timed out]
dreinull has joined #ruby
darksoox has quit [Quit: leaving]
kofno has quit [Remote host closed the connection]
<dreinull> sorry my client crashed
kofno has joined #ruby
<dreinull> using JRUBY_VERSION is the standard way of doing it?
breakingthings has quit [Remote host closed the connection]
seich- has quit [Ping timeout: 240 seconds]
akells has quit [Remote host closed the connection]
breakingthings has joined #ruby
xk_id has quit [Remote host closed the connection]
zigomir_ has quit [Quit: Leaving]
<endless_walrus> Hey all - I'm making POST requests using Faraday with Typhoeus as its adapter. Locally it works fine, but on our production servers, the requests are getting interpreted as GET.. the headers are showing that its definitely a POST though.. any thoughts on how I can debug this?
wrseward has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
marcdel has joined #ruby
<dreinull> endless_walrus: what about manual post requests?
banister`gym has quit [Remote host closed the connection]
iamjarvo has quit [Remote host closed the connection]
juarlex has quit [Remote host closed the connection]
<endless_walrus> dreinull: good question, looking into it
banisterfiend has joined #ruby
mary5030 has joined #ruby
iamjarvo has joined #ruby
rickmasta has quit [Quit: Leaving...]
pkrnj has joined #ruby
d2dchat_ has joined #ruby
grits has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
devoldmx3 has joined #ruby
sh00p has joined #ruby
iliketur_ has joined #ruby
<grits> Can someone please explain what is happening in the 2nd part of this line? (the => part) : before_filter :validate_auth, :var => [:validate_session]
n1x has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
ixti has joined #ruby
<Morrolan> That's a hash without braces.
pen has joined #ruby
<Morrolan> If you add brackets, braces and these things, it would look like this: before_filter(:validate_auth, { :var => [:validate_session] })
<sh00p> Hi all, now I'm starting to explore ruby and wondering if something similar to this http://paste.fedoraproject.org/35865/78035381/ is possible
<sh00p> very short snippet
<grits> thanks!
<Morrolan> :)
<sh00p> I don't want to have to write the end for that if statement.. just return immediately
devoldmx has quit [Ping timeout: 264 seconds]
iamjarvo has quit [Ping timeout: 276 seconds]
<sh00p> like C, if(1) return;
<Morrolan> sh00p: Reverse the order: 'return if works?'
<sh00p> ooh
<sh00p> thanks :)
<Morrolan> Also, on that sample, your first definition is missing the question mark. :)
<sh00p> ah thank you
<Morrolan> :)
iamjarvo has joined #ruby
_axx has left #ruby [#ruby]
Zai00 has joined #ruby
shredding has joined #ruby
apeiros has quit [Remote host closed the connection]
ndrei has joined #ruby
apeiros has joined #ruby
JDHankle has joined #ruby
xk_id has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
Boohbah has joined #ruby
nprice has quit [Quit: leaving]
mark_locklear has quit [Ping timeout: 268 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has quit [Ping timeout: 240 seconds]
bzitzow has quit [Ping timeout: 268 seconds]
pel_daniel has quit [Quit: Leaving.]
kidoz has joined #ruby
niceguyjames has joined #ruby
jds_ has joined #ruby
rcosta has joined #ruby
devoldmx3 has quit [Ping timeout: 245 seconds]
ananthakumaran has quit [Quit: Leaving.]
johnnyfuchs has joined #ruby
pel_daniel has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pen has quit [Remote host closed the connection]
apeiros has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
devoldmx has joined #ruby
Xeago has joined #ruby
tylersmith has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
Xeago has quit [Remote host closed the connection]
rickmasta has joined #ruby
seich- has joined #ruby
ksmth has joined #ruby
<ksmth> hey guys
mary5030 has quit [Remote host closed the connection]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkamioka has quit [Remote host closed the connection]
Raboo has quit [Ping timeout: 245 seconds]
senayar has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
IceyEC has quit [Remote host closed the connection]
i_s has joined #ruby
altamic has joined #ruby
workmad3 has joined #ruby
sayan has joined #ruby
rcosta_ has joined #ruby
cortexman has left #ruby [#ruby]
Raboo has joined #ruby
pweems has joined #ruby
Jb_ has quit [Ping timeout: 245 seconds]
jlast_ has quit [Remote host closed the connection]
cek has joined #ruby
Astral_ has joined #ruby
<cek> how do I check whether gem was declared in Gemfile?
jlast has joined #ruby
<cek> want to require only if it's been specified
akells has joined #ruby
rcosta has quit [Ping timeout: 264 seconds]
Jb_ has joined #ruby
dkamioka has joined #ruby
<Morrolan> cek: I'd require it, and rescue the LoadError.
KobraKao has quit [Ping timeout: 260 seconds]
<Morrolan> There's multiple ways for the gem to be installed, simply trying to require it is a foolproof way to find out. :)
zoee has quit [Ping timeout: 245 seconds]
jds_ has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
<dkamioka> hey ppl what do you think of Rubinius?
havenwood has joined #ruby
<cek> Morrolan, I believe bundler keeps track of gems required in Gemfile
KobraKao has joined #ruby
<Morrolan> It probably does. But the gem could be installed on the system without being listed in the Gemfile.
Astralum has quit [Ping timeout: 256 seconds]
Naoe-Kanno has joined #ruby
<cek> i need to fetch what's listed in gemfile
Usse has joined #ruby
altamic has quit [Quit: altamic]
<MrZYX> cek: read about Bundler.require
altamic has joined #ruby
<Morrolan> Why do you need to do such a thing? oO
havenwood has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
altamic has left #ruby [#ruby]
robustus has quit [Ping timeout: 245 seconds]
blackmesa has joined #ruby
banzounet has quit [Read error: Operation timed out]
SHyx0rmZ has quit [Ping timeout: 268 seconds]
rcosta_ has quit [Remote host closed the connection]
nwertman has quit [Remote host closed the connection]
atnoHoldingBalls is now known as atno
robustus has joined #ruby
__userna1 has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
verto has joined #ruby
Advocation has joined #ruby
wrseward has joined #ruby
rcosta has joined #ruby
Advocation has quit [Client Quit]
relix has joined #ruby
qhartman has joined #ruby
fgo has joined #ruby
Usse has quit [Remote host closed the connection]
Aenigma has joined #ruby
luckyruby has quit [Remote host closed the connection]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kofno has quit [Remote host closed the connection]
relix has quit [Client Quit]
kofno has joined #ruby
darksoox has joined #ruby
rcosta_ has joined #ruby
rcosta has quit [Read error: No route to host]
fgo has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Remote host closed the connection]
Usse has joined #ruby
nomenkun has joined #ruby
allsystemsarego has quit [Quit: Leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
efrainolivares has joined #ruby
banisterfiend has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
dkamioka has quit [Remote host closed the connection]
Criztian has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
nomenkun has quit [Ping timeout: 260 seconds]
radic_ has quit [Ping timeout: 264 seconds]
Drewch has joined #ruby
Usse has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 260 seconds]
Usse has joined #ruby
mmitchell has joined #ruby
i_s has quit [Remote host closed the connection]
Monie has joined #ruby
blackmesa has joined #ruby
xefi_ has joined #ruby
ryannielson has quit [Quit: ryannielson]
rickmasta has quit [Quit: Leaving...]
hasrb has quit [Remote host closed the connection]
sambao21 has joined #ruby
Tolnaiz has joined #ruby
plains has quit [Quit: ZNC - http://znc.in]
Advocation has joined #ruby
luist has quit [Read error: Operation timed out]
ksmth has quit []
kofno has quit [Remote host closed the connection]
Advocation has quit [Client Quit]
Usse has quit [Remote host closed the connection]
Usse has joined #ruby
relix has joined #ruby
Criztian has quit [Remote host closed the connection]
pkrnj has joined #ruby
<IceDragon> Hey guys, I got a lazy question: Has anyone ever written a script that splits a single source file into seperate files, containing only 1 class each. (Yup I'm feeling that lazy, staring at these 10000+ line scripts)
carraroj has quit [Quit: Konversation terminated!]
dkamioka has joined #ruby
radic_ has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
ch_ has joined #ruby
colonolGron has joined #ruby
banzounet has joined #ruby
woolite64 has joined #ruby
nwertman has joined #ruby
zodiak has quit [Ping timeout: 264 seconds]
krawchyk has quit [Remote host closed the connection]
Tolnaiz has quit [Remote host closed the connection]
Advocation has joined #ruby
Advocation has quit [Client Quit]
xefi_ has quit [Ping timeout: 245 seconds]
xefi_ has joined #ruby
workmad3 has joined #ruby
ch_ has left #ruby [#ruby]
jaynewstrom has quit [Remote host closed the connection]
jaynewstrom has joined #ruby
Fire-Dragon-DoL has quit [Ping timeout: 264 seconds]
Uranio has quit [Quit: while you reading this, a kitty dies]
rickmasta has joined #ruby
moted has quit [Quit: moted]
dkamioka has quit [Ping timeout: 245 seconds]
dallasm_ has joined #ruby
Fire-Dragon-DoL has joined #ruby
Companion is now known as companion
mikepack has joined #ruby
seich- has quit [Ping timeout: 240 seconds]
eoinkelly has joined #ruby
Fire-Dragon-DoL has quit [Client Quit]
Fire-Dragon-DoL1 has joined #ruby
Fire-Dragon-DoL1 has left #ruby [#ruby]
stayarrr has joined #ruby
Fire-Dragon-DoL has joined #ruby
Kabaka_ has quit [Remote host closed the connection]
Banistergalaxy has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
ndrei has joined #ruby
seich- has joined #ruby
phracker has quit [Ping timeout: 240 seconds]
eldariof has quit [Ping timeout: 248 seconds]
i_s has joined #ruby
s0ny123 has quit [Quit: Lost terminal]
Kabaka_ has joined #ruby
obs has quit [Quit: Konversation terminated!]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
russt has quit [Remote host closed the connection]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sventon has joined #ruby
Kabaka_ has quit [Excess Flood]
efrainolivares has quit [Quit: efrainolivares]
bluOxigen has quit [Ping timeout: 246 seconds]
ndrei has quit [Ping timeout: 276 seconds]
thebastl has joined #ruby
ndrei has joined #ruby
sventon has quit [Remote host closed the connection]
obs has joined #ruby
phracker has joined #ruby
funburn has joined #ruby
funburn has quit [Client Quit]
efrainolivares has joined #ruby
i_s has quit [Ping timeout: 245 seconds]
zigomir has quit [Ping timeout: 264 seconds]
kofno has joined #ruby
bzitzow has joined #ruby
chrisja has quit [Quit: leaving]
Kabaka_ has joined #ruby
Usse has quit [Remote host closed the connection]
tonni has joined #ruby
freerobby has quit [Quit: Leaving.]
MrZYX is now known as MrZYX|off
funburn has joined #ruby
i_s has joined #ruby
wems has joined #ruby
haxrbyte_ has joined #ruby
shredding has quit [Quit: shredding]
Advocation has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
MrZYX|off is now known as MrZYX
kofno has quit [Ping timeout: 245 seconds]
dkamioka has joined #ruby
phantasm66 has quit [Quit: *sleeeep….]
codecop has quit [Remote host closed the connection]
sh00p has quit [Ping timeout: 264 seconds]
fgo has joined #ruby
jds_ has joined #ruby
Advocation has quit [Client Quit]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sailias has quit [Quit: Leaving.]
aeontech has quit [Ping timeout: 245 seconds]
endless_walrus has quit [Quit: Textual IRC Client: www.textualapp.com]
brianpWins has joined #ruby
jds_ has quit [Ping timeout: 260 seconds]
fgo has quit [Ping timeout: 260 seconds]
marcdel has joined #ruby
marcdel has quit [Max SendQ exceeded]
mrsolo has joined #ruby
jamesaanderson has joined #ruby
marcdel has joined #ruby
dkamioka has quit [Remote host closed the connection]
<MorbidOne> Sorry I missed the elegant 1st char is integer question https://gist.github.com/jllamas/db0bddf67fe9e742e3ad Its not regex so its elegant right?
<MorbidOne> guess I added 0 twice
obs has quit [Quit: Konversation terminated!]
<MorbidOne> for good measure
endzyme has joined #ruby
<MorbidOne> instead of a 9
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<MorbidOne> yay edit gist
zacts has quit [Ping timeout: 245 seconds]
makerbreakr has quit [Quit: Leaving]
EricArchitrave has joined #ruby
madb055 has joined #ruby
<Morrolan> Not sure I'd prefer this over a regex, to be quite honest. :P
sventon has joined #ruby
soba has joined #ruby
postmodern has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
soba_ has joined #ruby
<Morrolan> (Also, you really like 0s, eh? Using a range instead of an index just so you can use another two zeros? :P)
sarkis has quit [Ping timeout: 240 seconds]
jds_ has joined #ruby
s0ber_ has joined #ruby
Blaze_Boy has joined #ruby
tylersmith has quit [Remote host closed the connection]
stayarrr has quit [Quit: Leaving.]
soba has quit [Ping timeout: 264 seconds]
<goodcodeguy> MorbidOne: Yeah, I'd say that's not as readable as the regex variation, at least to me ;)
s0ber has quit [Ping timeout: 248 seconds]
s0ber_ is now known as s0ber
kaldrenon has quit [Remote host closed the connection]
mmitchell has quit [Remote host closed the connection]
johnnyfuchs has quit [Remote host closed the connection]
kaldrenon has joined #ruby
jds_ has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
pkrnj has quit [Ping timeout: 264 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Morrolan> >> class String; def numeric?; self =~ /^\d+$/; end; end; "1asdf"[0].numeric?
<eval-in> Morrolan => 0 (https://eval.in/45759)
<Morrolan> \o/
jds_ has joined #ruby
<MrZYX> uhm
<MorbidOne> lol I think Range.cover wins
<MorbidOne> its really short
<MrZYX> \A and \Z please
<MrZYX> *\z
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MorbidOne> ("0".."9").cover?("1foo")
ukd1 has joined #ruby
<Morrolan> MrZYX: Psh, who needs multi-line strings. ;)
emptyflask has joined #ruby
<Hanmac> Morrolan what about "0.0" ? or "5.4e5" ? ;P
Banistergalaxy has quit [Ping timeout: 260 seconds]
<Morrolan> Hanmac: Oh, shush, you. :P
<apeiros> numeric? vs. integer?
<MorbidOne> I'm not sure regex is ever 'more' readable
<MorbidOne> who sayed that
n1x has quit [Ping timeout: 264 seconds]
<apeiros> I think it is
<MorbidOne> if you have to look up the switches, its not more readable
<goodcodeguy> MorbidOne: depends on the complexity of the regex, something that simple is super readable..
pkrnj has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
smashwilson has joined #ruby
<apeiros> if you have to look up the switches, then you don't speak regex
<Morrolan> MorbidOne: What's there to look up with /[0-9]/ ? :)
<Hanmac> oO i found out that ruby can parse this string into something: "5.4e5+4e-5i"
<Hanmac> >> Complex("5.4e5+4e-5i")
<eval-in> Hanmac => (540000.0+4.0e-05i) (https://eval.in/45760)
<apeiros> and of course reading a foreign language is less readable *to you* than one you've learnt
<MorbidOne> lol
<Morrolan> Hanmac: Heh.
v0n has quit [Ping timeout: 264 seconds]
kaldrenon has quit [Ping timeout: 245 seconds]
<apeiros> Hanmac: in 2.1, it's even a literal
fmcgeough has quit [Quit: fmcgeough]
jds_ has quit [Ping timeout: 245 seconds]
breakingthings has quit [Remote host closed the connection]
hasrb has joined #ruby
elaptics`away is now known as elaptics
breakingthings has joined #ruby
jonahR has quit [Quit: jonahR]
efrainolivares has quit [Quit: efrainolivares]
<banisterfiend> apeiros sup
saarinen has quit [Remote host closed the connection]
JDHankle has quit [Remote host closed the connection]
pothibo has quit [Remote host closed the connection]
thebastl has quit [Remote host closed the connection]
ferdev has quit [Remote host closed the connection]
<Hanmac> apeiros: WTF ;P
ldnunes has quit [Quit: Leaving]
<apeiros> banisterfiend: playing ff7
<apeiros> u?
saarinen has joined #ruby
<banisterfiend> apeiros in an emulator?
madb055 has quit [Ping timeout: 260 seconds]
<apeiros> banisterfiend: no, on win7
fcahoon has joined #ruby
<banisterfiend> apeiros watching an attenborough documentary, but generally bored out of my nut
<banisterfiend> Hanmac has adventure time now finished for this season?
themilkboy has joined #ruby
benwoody has joined #ruby
<Hanmac> banisterfiend: i watched the TooOld episode ... the LemonTribe totally CREAPS ME OUT ... did you see what they use as Toilet??
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
MrThePlague has joined #ruby
MrThePlague has joined #ruby
<banisterfiend> Hanmac yes i saw it, but is that the last episode for this season?
jamesaanderson has joined #ruby
iamjarvo has joined #ruby
jp- has quit [Ping timeout: 264 seconds]
saarinen has quit [Remote host closed the connection]
themilkboy is now known as mlkby
breakingthings has quit [Remote host closed the connection]
mlkby is now known as mkby
saarinen has joined #ruby
pkrnj has quit [Ping timeout: 240 seconds]
v0n has joined #ruby
<Hanmac> banisterfiend: hm there are min 2 more but they are coming at 2. september ... next one is called "Earth & Water" features PB and FB ... (that would be very interesting)
<banisterfiend> Hanmac who is FB ?
<Hanmac> i mean FP
<banisterfiend> ah
ukd1 has quit [Remote host closed the connection]
_bart has joined #ruby
argentum has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
pkrnj has joined #ruby
phracker has quit [Ping timeout: 240 seconds]
omakase has joined #ruby
axl_ has quit [Quit: axl_]
omakase has quit [Client Quit]
iamjarvo has quit [Ping timeout: 245 seconds]
gr33n7007h has joined #ruby
<banisterfiend> Hanmac nice link!
Banistergalaxy has joined #ruby
kpshek has quit []
Rym has quit [Ping timeout: 268 seconds]
MrThePlague has quit [Remote host closed the connection]
goodcodeguy has quit [Quit: leaving]
<Eiam> oh bubble gum
<Eiam> my kids love adventure time
starfox21 has joined #ruby
<Eiam> and I feel bad for letting them watch it
<Eiam> favorite episode are fionna & cake ones, and I do wish they'd spin it off into its own thing, since all my kids are girls
defaultro has quit [Quit: defaultro]
tabolario has joined #ruby
<banisterfiend> Eiam fiona is thick
<Eiam> thick as in, body?
<banisterfiend> i was impressed they chose to make her like that
<banisterfiend> Yeah
rickmasta has quit [Quit: Leaving...]
<banisterfiend> she's got back
<Eiam> yes
pkrnj has quit [Ping timeout: 264 seconds]
<Eiam> its perfect, she's perfect
akells has quit [Remote host closed the connection]
yekta has quit [Quit: yekta]
<banisterfiend> Eiam do they watch MLP too?
dash_ has quit [Quit: dash_]
<Hanmac> Eiam Warning ... newer episodes are maybe to creapy for kids ;P ... then you could also let your kids watch DoctorWho episodes made by "Steven Moffat" ...
pkrnj has joined #ruby
iamjarvo_ has quit [Read error: Connection reset by peer]
<Eiam> banisterfiend: not very often..
<Eiam> banisterfiend: but I think its a pretty good one for girls too
<banisterfiend> Eiam how old are they?
<Eiam> 6 & 5
iamjarvo has joined #ruby
<banisterfiend> cute
phracker has joined #ruby
prisonguard has quit [Read error: Connection reset by peer]
BillCriswell has quit [Remote host closed the connection]
fenicks has quit [Remote host closed the connection]
benwoody has quit [Ping timeout: 264 seconds]
benwoody has joined #ruby
axeman- has quit [Remote host closed the connection]
elux has quit [Quit: Bye!]
Woodsman has joined #ruby
iamjarvo has quit [Ping timeout: 246 seconds]
pkrnj has quit [Ping timeout: 246 seconds]
wmoxam has quit [Ping timeout: 268 seconds]
osvico has joined #ruby
mengu has joined #ruby
rickmasta has joined #ruby
phracker has quit [Ping timeout: 240 seconds]
<Woodsman> out of curiosity, can ruby itself easily access databases or does is it much simpler with ruby on rails?
neo_ has joined #ruby
neo_ has quit [Client Quit]
fcahoon has quit [Quit: Leaving]
asobrasil has left #ruby [#ruby]
Yakko has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
<EricArchitrave> @Woodsman plenty of non-Rails-based db access libraries for use with Ruby. DataMapper is a popular alternative.
<Woodsman> cool, thanks. i'll check that out
pkrnj has joined #ruby
brianpWins has quit [Quit: brianpWins]
efrainolivares has joined #ruby
ericmathison has quit [Read error: Operation timed out]
noname001 has quit [Ping timeout: 264 seconds]
Bry8Star{T2 has joined #ruby
dallasm_ has quit [Remote host closed the connection]
eka has joined #ruby
lewis_ has joined #ruby
lewis_ is now known as Lewix
colonolGron has quit [Quit: Lost terminal]
txdv has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
axl_ has joined #ruby
kofno has joined #ruby
<apeiros> Woodsman: ruby on rails itself has nothing to do with db access. as a full-stack webdev framework it comes with activerecord included.
efrainolivares has quit [Client Quit]
<apeiros> Woodsman: you can use activerecord outside of rails too
ner0x has joined #ruby
<apeiros> outside of rails I prefer the gem 'sequel', though
<Hanmac> Eiam www.bbc.co.uk/doctorwho/episodes/fearforecast.shtml << in category 1 - 5 they have also 5.5 for "Off the scale!" and 6 for "Beyond Fear" ... imo some episodes from AT should fall into the same categories
forgot has joined #ruby
forgot has quit [Client Quit]
efrainolivares has joined #ruby
razi has quit [Ping timeout: 248 seconds]
twoism has quit [Read error: Connection reset by peer]
kilophoton has quit [Ping timeout: 264 seconds]
twoism has joined #ruby
juarlex has joined #ruby
n_blownapart has joined #ruby
phracker has joined #ruby
forgot has joined #ruby
n_blownapart has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 260 seconds]
pkrnj_ has joined #ruby
mib_mib has joined #ruby
chrismerrill has joined #ruby
<mib_mib> hi guys - is there any easy way to append to an IO object
pkrnj has quit [Ping timeout: 260 seconds]
pkrnj_ is now known as pkrnj
<mib_mib> or do i have to 'read it' as a string, then concatenate and wrap it again
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dreinull has quit [Remote host closed the connection]
ninegrid has quit [Quit: brb]
jamesaanderson has joined #ruby
thinkdevcode has joined #ruby
zacts has joined #ruby
<chrismerrill> is it a buffer you can write to or can you transform it into one?
jibi has quit [Quit: .]
<Hanmac> mib_mib: the problem is that most IOs are read-only or write-only so you cant easily "append" something
<mib_mib> Hanmac: technically its a rails Tempfile
<apeiros> with files you can seek & write. but depends on the mode it was opened.
mikecmpbll has joined #ruby
<apeiros> also if you open it yourself, there's append mode
volty has joined #ruby
<apeiros> see IO::open
<mikecmpbll> is there a standard way of parsing fractional characters?
mkby has quit [Quit: Leaving]
<mikecmpbll> 1¼ = 1.25
<mikecmpbll> for instance
alekst has quit [Ping timeout: 264 seconds]
seich- has quit [Ping timeout: 240 seconds]
Matriks has quit [Remote host closed the connection]
endzyme has quit [Remote host closed the connection]
zacts has quit [Client Quit]
jaimef has quit [Excess Flood]
thinkdevcode has quit [Remote host closed the connection]
nuclearblast has joined #ruby
d2dchat_ has quit [Remote host closed the connection]
jaimef has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
<Hanmac> mikecmpbll: hm no there is not, but you can use gsub:
<Hanmac> >> rep={"¼"=>".25"};"1¼".gsub(rep.keys.join,rep)
<eval-in> Hanmac => "1.25" (https://eval.in/45771)
<volty> i doubt there's a standard wya for such a specific issue // i guess you'll have to setup the standard! :)
pkrnj has quit [Ping timeout: 245 seconds]
Zai00 has quit [Quit: Zai00]
<mikecmpbll> ah, sounds reasonable. thanks for the suggestion hanmac :)
Blaze_Boy has quit [Ping timeout: 260 seconds]
kayloos has quit [Remote host closed the connection]
<Hanmac> volty ruby has functions for parsing "5.4e5+4e-5i", but not for "¼"
seich- has joined #ruby
knigitz has quit []
Zai00 has joined #ruby
<volty> Hanmac: your code, what if we have rep { <one quarter>="0.25", <one half>="0.5" } ?
<chrismerrill> I'm using nested ERB files with a syntax along the lines of:
<chrismerrill> def render path
<chrismerrill> content = File.read(File.expand_path(selectTemplate(path)))
<chrismerrill> end
<chrismerrill> t.result(@context.get_binding)
<chrismerrill> t = ERB.new(content)
pkrnj has joined #ruby
<chrismerrill> and am passing in variables from a puppet script that calls into the ERB
robovirtuoso has quit [Ping timeout: 260 seconds]
<chrismerrill> any suggestions on how to bind the context correctly
<chrismerrill> the calling template can see the variables, but the called can't.
mansi has quit [Ping timeout: 276 seconds]
Blaze_Boy has joined #ruby
<Hanmac> volty without the 0 but yes
yoshie902a has joined #ruby
rickmasta has quit [Quit: Leaving...]
EricArchitrave has quit [Quit: Leaving.]
atyz has quit [Quit: Linkinus - http://linkinus.com]
blackmesa has quit [Ping timeout: 240 seconds]
grits has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nuclearblast is now known as sebastianb
joelteon has joined #ruby
<volty> i mean: it should be nice to rework it so that it can handle a set of fractionals
<joelteon> hey, I'm getting a Bundler::HTTPError when trying to request from rubygems, but the status page says everything is up
marcdel has joined #ruby
tylersmith has joined #ruby
kirun has quit [Quit: Client exiting]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
dangerousdave has joined #ruby
<joelteon> oh hey, never mind
joelteon has left #ruby ["bye"]
pkrnj has quit [Ping timeout: 260 seconds]
baordog has quit [Remote host closed the connection]
<Hanmac> >> rep={"¼"=>".25", "⅛" => ".125"};"1⅛".gsub(/[#{rep.keys.join}]/,rep)
<eval-in> Hanmac => "1.125" (https://eval.in/45775)
pkrnj has joined #ruby
blackmesa has joined #ruby
Dreamer3 has joined #ruby
elektronaut has quit [Quit: ZNC - http://znc.in]
elektronaut_ has joined #ruby
<Hanmac> or maybe better:
<Hanmac> >> rep={"¼"=>".25", "⅛" => ".125"};"1⅛".gsub(/(#{rep.keys.join("|")})/,rep)
<eval-in> Hanmac => "1.125" (https://eval.in/45776)
elektronaut_ is now known as elektronaut
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pentameter has quit [Read error: Connection reset by peer]
ninegrid has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
<volty> Nice. Nice eval.in too, wonderful for collab.
sarkis has joined #ruby
<Hanmac> much better:
<Hanmac> >> rep={"¼"=>".25", "⅛" => ".125"};"1⅛".gsub(Regexp.union(rep.keys),rep)
<eval-in> Hanmac => "1.125" (https://eval.in/45777)
dangerousdave has quit [Quit: Leaving...]
<mikecmpbll> sweet.
<mikecmpbll> :D
BraddPitt has joined #ruby
snath has quit [Ping timeout: 245 seconds]
<mikecmpbll> Regexp.union is a beaut, no idea how I haven't stumbled upon that before.
juarlex has quit [Remote host closed the connection]
Senjai has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 245 seconds]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kfr2 has quit [Quit: See You Space Cowboy]
pkrnj has joined #ruby
sayan has quit [Remote host closed the connection]
nso95 has joined #ruby
jerius has quit [Quit: jerius]
axl_ has left #ruby [#ruby]
snovak__ has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
lunarjar has quit [K-Lined]
saarinen has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
Dreamer3 has quit [Remote host closed the connection]
starfox21 has quit [Remote host closed the connection]
lukec has quit [Remote host closed the connection]
_bart has quit [Remote host closed the connection]
saarinen has joined #ruby
VTLob has quit [Quit: VTLob]
lukec has joined #ruby
jamesaanderson has joined #ruby
ericmathison has joined #ruby
Genjikyoshero has joined #ruby
DrCode has quit [Remote host closed the connection]
Rym has joined #ruby
bookmage has joined #ruby
jlast has quit [Remote host closed the connection]
Neomex has joined #ruby
tvw has quit []
knigitz has joined #ruby
Neomex has quit [Client Quit]
mlpinit has quit [Ping timeout: 245 seconds]
DrCode has joined #ruby
nari has joined #ruby
hashpuppy has joined #ruby
ericmathison has quit [Quit: leaving]
snath has joined #ruby
rickmasta has joined #ruby
TheFuzzball has joined #ruby
wallerdev has joined #ruby
dkamioka has joined #ruby
ericmathison has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
soba_ has quit [Read error: Connection reset by peer]
ELLIOTTCABLE has joined #ruby
nso95 has left #ruby [#ruby]
sarkis has quit [Ping timeout: 264 seconds]
Patchou has quit [Ping timeout: 260 seconds]
axl_ has joined #ruby
adkron has quit [Ping timeout: 264 seconds]
man_ass has joined #ruby
tater has joined #ruby
ewnd9 has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
RichardBaker has joined #ruby
DrShoggoth has quit [Quit: Leaving]
kofno has joined #ruby
marcdel has joined #ruby
<bricker`work> Which of these would be better to use? https://gist.github.com/bricker/6384349
Tamae has joined #ruby
<bricker`work> The module_eval looks better and feels cleaner, but somehow I feel like it's not good to do it that way
<bricker`work> Plus with the module_eval, the code doesn't have to keep calling "send"
ericmathison has quit [Ping timeout: 246 seconds]
<man_ass> سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
bookmage has quit [Remote host closed the connection]
digital-ghost has quit [Remote host closed the connection]
benwoody has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
rcosta_ has quit [Remote host closed the connection]
BSaboia has joined #ruby
rcosta has joined #ruby
digital-ghost has joined #ruby
rhys has quit [Quit: Leaving]
yoshie902a has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 246 seconds]
yoshie902a has joined #ruby
banisterfiend is now known as RollDeep
cek has quit [Ping timeout: 260 seconds]
man_ass has quit [Quit: Page closed]
RollDeep has quit [Remote host closed the connection]
banisterfiend has joined #ruby
ericmathison has joined #ruby
Zai00 has quit [Quit: Zai00]
<Nilium> Isn't it just lovely to see people have found ways to crash Mac IRC clients?
kilophoton has joined #ruby
snovak has joined #ruby
<goleldar> what is the best way to create a hash that contains all the permutations of an array with each key representing every possible permutation length
stonevil has joined #ruby
<goleldar> example hash[2] = array.permutation(2).to_a, hash[3] = array.permutation(3), etc
cads has quit [Ping timeout: 240 seconds]
<yoshie902a> goleldar: permutation length?
rickmasta has quit [Quit: Leaving...]
butblack has joined #ruby
<yoshie902a> goleldar: oh, never mind. got it. just create a loop with an index number and insert it into the hash http://www.ruby-doc.org/core-2.0.0/Array.html#method-i-permutation
<goleldar> you think there is a way to optimize the speed ?
tylersmith has joined #ruby
kilophoton has quit [Ping timeout: 246 seconds]
snovak has quit [Ping timeout: 264 seconds]
<yoshie902a> goleldar: not that I can think of.
nwertman has quit [Remote host closed the connection]
ewnd9 has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: Page closed]
rickruby has joined #ruby
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
<yoshie902a> does anyone have any idea how to write an rspec test for something like this.. https://gist.github.com/yoshie902a/78262ef20e947b1c7fdd where the @client is making a http request and returning values that are being returned in the block.
<yoshie902a> I guess the block is throwing me off
gstamp has joined #ruby
chrismerrill has left #ruby [#ruby]
MrZYX is now known as MrZYX|off
<yoshie902a> should I stub or mock the @client http request? and if so, how is that handled in terms of syntax with the block?
<yoshie902a> see gist above for reference
AlSquire has quit [Read error: Operation timed out]
emptyflask has quit [Remote host closed the connection]
arkoriex has joined #ruby
arkoriex has left #ruby [#ruby]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
_maes_ has joined #ruby
mansi has joined #ruby
AlSquire has joined #ruby
behavioral has joined #ruby
<behavioral> hi
<behavioral> can anyone offer me some advice on choosing a strategy vs a builder vs a chain of responsibility?
smashwilson has left #ruby [#ruby]
jamesaanderson has quit [Ping timeout: 245 seconds]
stonevil has quit [Ping timeout: 276 seconds]
devoldmx has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
mansi has quit [Ping timeout: 276 seconds]
JMcAfreak has left #ruby ["("]
<banisterfiend> behavioral lol put your 'design patterns' book down and live a little
<banisterfiend> :P
<behavioral> I have an application that deals with assets and accounts. An Asset can be of different kinds, PMAsset, CurrAsset, IPAsset,REAsset. Accounts can have one or more of these assets and my question is whether going for a behavioral pattern like a strategy where the account type/asset combination is implemented in the strategy or to go for a builder that can create an account and return an array of accounts numbers that were created
_maes_ has quit [Ping timeout: 260 seconds]
tylersmith has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devoldmx has joined #ruby
ccolorado has joined #ruby
<ccolorado> Hi i have an array of strings that contain an an hour in the "%H:%M%p" format and a DateTime object with only the date and timezone filled out (e.g Fri, 09 Aug 2013 00:00:00 -0500 . how can I make DateTimes with the combination of both
tomzx_mac has joined #ruby
axl_ has left #ruby [#ruby]
ericmathison has quit [Ping timeout: 245 seconds]
S0da has joined #ruby
<dkamioka> jstrong: you already helped me so much, thanks!
flaviodesousa has quit [Ping timeout: 245 seconds]
toshiBR has joined #ruby
<dkamioka> toshiBR: :D
snovak has joined #ruby
ericmathison has joined #ruby
raul782_ has joined #ruby
MrZYX|off is now known as MrZYX
Senjai has joined #ruby
Senjai has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Drewch has quit [Quit: Computer has gone to sleep.]
arkoriex has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
devoldmx3 has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
iliketur_ has quit [Quit: zzzzz…..]
stonevil has joined #ruby
stonevil has quit [Remote host closed the connection]
mansi has joined #ruby
danman has quit [Quit: danman]
stonevil has joined #ruby
pipework has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
defaultro has joined #ruby
<volty> behavioral: i do not fully understand what you are doing but anyway i suggest you to think it as a database (decoupled), it gives you more freedom
<behavioral> volty as a database how?
snovak has quit [Ping timeout: 245 seconds]
arkoriex has quit [Remote host closed the connection]
<volty> a table of (#account, ...) and table of (#asset, #account_id, ...)
hasrb has quit [Remote host closed the connection]
<behavioral> how does that relate to picking a pattern?
Lewix has quit [Remote host closed the connection]
<behavioral> anyone here has some design patterns experience?
cpruitt has quit [Quit: cpruitt]
pkrnj has quit [Ping timeout: 276 seconds]
<volty> whoever wrote more than 500 lines of code has design patterns experience - though he doesn't know he was using them :) // i agree with banisterfiend
<volty> but maybe that I do not fully understand what are you talking about...
mikepack has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
pkrnj has joined #ruby
pel_daniel has left #ruby [#ruby]
Yakko has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
cody-- has quit [Quit: Computer has gone to sleep.]
mlpinit has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
gr33n7007h has quit [Ping timeout: 264 seconds]
iliketur_ has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
zarubin has quit [Ping timeout: 268 seconds]
flaviodesousa has joined #ruby
kilophoton has joined #ruby
MrZYX is now known as MrZYX|off
pkrnj has joined #ruby
mlpinit has quit [Ping timeout: 264 seconds]
thesheff17 has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
<pipework> behavioral: What's your question, sir?
<Nilium> Question: if a cat falls on a bed and nobody is around to hear it, does the cat exist?
gr33n7007h has joined #ruby
predator117 has joined #ruby
kofno has joined #ruby
<behavioral> pipework
haxrbyte has quit [Read error: Connection reset by peer]
<behavioral> can anyone offer me some advice on choosing a strategy vs a builder vs a chain of responsibility?
<behavioral> I have an application that deals with assets and accounts. An Asset can be of different kinds, PMAsset, CurrAsset, IPAsset,REAsset. Accounts can have one or more of these assets and my question is whether going for a behavioral pattern like a strategy where the account type/asset combination is implemented in the strategy or to go for a builder that can create an account and return an array of accounts numbers that were created
pweems has quit [Ping timeout: 260 seconds]
nitish has joined #ruby
nitish has quit [Changing host]
nitish has joined #ruby
Alina-malina has quit [Ping timeout: 256 seconds]
<pipework> Nilium: Is the bed in a box?
rcosta has quit [Read error: No route to host]
rcosta has joined #ruby
<volty> you ppl try to understand what he wants, i want to make a joke: behavioral just needs a boss that tells hIm: FUCKPATTERNS, JUST DO IT!
<terrellt> behavioral: I usually use a strategy.
<yoshie902a> Nilium: yes, it exists, same as if a tree falls, it made a sound.
<volty> behavioral: but you are talking about your data, not about what you have to do with that data!
<pipework> behavioral: Strategies are nifty when you can determine the path of execution based on the initial input.
butblack has left #ruby [#ruby]
ewnd9 has joined #ruby
kofno has quit [Ping timeout: 264 seconds]
<pipework> A builder is great when you have an input which you need to cajole into another form, such as turning JSON into a tree of objects.
<terrellt> I feel like a builder would get too big or too complicated.
<terrellt> At least in that case.
zastern has quit [Remote host closed the connection]
stonevil has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 245 seconds]
stonevil has joined #ruby
<behavioral> terrellt yes but the thing is that I need to return to the director/context an array of these thigns together
<pipework> A chain of responsibility is pretty cool even when you're using them in concert with strategies. I use them when I have many units of work I need to apply to a given input in a chain-like fashion.
<behavioral> and my understanding is strategy is mainly used when you have 1 thing but that one thing can be A or B
<behavioral> however in my case I have 1-4 things and they can be A,B,C,D
<pipework> So, an account is created based on assets?
seich- has quit [Ping timeout: 240 seconds]
<behavioral> well you get back up to 4 accounts
<behavioral> depending on what you put in
<behavioral> so you can choose to create 1 account of one type of asset, or you can create multiple accounts of multiple types of assets
ssvo has quit [Ping timeout: 245 seconds]
dkamioka has quit [Remote host closed the connection]
pkrnj has joined #ruby
freeayu has joined #ruby
<volty> maybe better we go straight to the point: what is the aim, goal, objective?
efrainolivares has joined #ruby
locriani has quit [Remote host closed the connection]
locriani has joined #ruby
<volty> i couldn't be just creating accounts and assets, could it ?
<volty> s/i/it/
<behavioral> volty : once you have the accounts you can then deposit/withdraw into the accounts
KobraKao has quit [Read error: Connection reset by peer]
<pipework> behavioral: Hm, that sounds like a good time to use a strategy pattern in front, for the initial selection of what kind of account/asset to create.
KobraKao has joined #ruby
<volty> is it ruby on rails ?
<behavioral> okay, but if i have multiple? do I call each strategy?
<behavioral> volty no it is not
<pipework> Given input x, use code execution path y based on the attributes of x.
<volty> simple ruby?
<behavioral> yes simple ruby
<pipework> volty: Does that matter?
gr33n7007h has quit [Ping timeout: 245 seconds]
toshiBR has quit [Ping timeout: 250 seconds]
noopq has quit [Ping timeout: 240 seconds]
<behavioral> pipework : I dunno what is going on, it is like it is a sin to ask about an SE topic in a ruby channel
pweems has joined #ruby
<volty> it is so trivial, it is a database organization question
<behavioral> sigh
<pipework> behavioral: What's SE?
<behavioral> Software Engineering
<pipework> volty: I don't see what this has to do about databases.
<pipework> No one has even talked about persistence.