<snkcld>
I'm wrapping the foreach inside one transaction, instead of a ton of transactions per iteration, so i want to catch control-c to close the transaction
figgleberry has quit [Ping timeout: 264 seconds]
Neomex has quit [Quit: Neomex]
mojjojo has quit [Client Quit]
bigkevmcd has joined #ruby
Jdubs has joined #ruby
tyl has joined #ruby
<shevy>
moment
tyl_ has quit [Ping timeout: 252 seconds]
<snkcld>
no problem
billy_ran_away has quit [Ping timeout: 248 seconds]
Lewix has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
freerobby1 has quit [Ping timeout: 260 seconds]
dfcnvt has joined #ruby
Lewix has joined #ruby
danshultz has joined #ruby
centipedefarmer has joined #ruby
braincrash has quit [Quit: bye bye]
chipotle has quit [Quit: cya]
TigerWolf has joined #ruby
kizzx2 has joined #ruby
dcollazo has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
kizzx2 has joined #ruby
braincrash has joined #ruby
chomskiii has quit [Read error: Connection reset by peer]
nateberkopec has quit [Ping timeout: 252 seconds]
chomskiii has joined #ruby
yasushi has joined #ruby
danshultz has quit [Ping timeout: 264 seconds]
lukec has joined #ruby
dukz has joined #ruby
Kricir has joined #ruby
graspee has quit [Quit: Leaving]
Xeago has joined #ruby
<dcollazo>
I'm currently writing a very simple API wrapper to serve as an example for creating a gem. How should I store and access the credentials? e.g. API key and Client ID. I'm currently considering storing in/reading from a haml file. I'd prefer to not use an external gem for this
tylersmith has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
yasushi has quit [Ping timeout: 272 seconds]
<jfine>
We use dot-env for everything.
krigerv has quit [Remote host closed the connection]
starter2 has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
lukec has quit [Quit: lukec]
<centrx>
godd2, Why?
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
freerobby has joined #ruby
gja has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
<centrx>
godd2, curses was moved to a gem in 2.1.0
sassamo has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
sassamo has joined #ruby
Kricir has quit [Remote host closed the connection]
godd2 has quit [Ping timeout: 260 seconds]
godd2 has joined #ruby
phipes has quit [Remote host closed the connection]
monkegjinni has quit [Ping timeout: 272 seconds]
<godd2>
centrx sorry my internet bugged out for a bit. The link I pasted is as if curses is still part of the std-lib
chipotle has joined #ruby
freerobby has quit [Ping timeout: 272 seconds]
<dcollazo>
Thanks jfine
<centrx>
godd2, I wonder where that is generated from
<jfine>
dcollazo: no prob. It might not be ideal for a demo example but that's also the way rails is going with config stuff and dotenv can import / export to heroku vars nice and easy peasy.
iliketurtles has joined #ruby
iliketurtles has quit [Excess Flood]
aantix has joined #ruby
vongrippen has quit [Read error: Operation timed out]
<dseitz>
godd2: Probably #ruby-lang, or put an issue up
iliketurtles has joined #ruby
<godd2>
"Generated with Ruby-doc Rdoc Generator 0.24.7"
iliketurtles has quit [Max SendQ exceeded]
iliketurtles has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
iliketurtles has quit [Excess Flood]
<centrx>
I can't seem to find it in the repository
<godd2>
Yea I think I'll file an issue through their bug reporting system
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vongrippen has joined #ruby
phipes has joined #ruby
jonathanwallace has quit [Quit: ZNC - http://znc.in]
<reactormonk>
where do I add lib/ to LOAD_PATH?
<reactormonk>
for fast debugging etc.
girija has joined #ruby
<dseitz>
It may have something to do with the date they generated the docs...
styped has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sergicles has quit [Quit: sergicles]
fijimunkii has quit [Ping timeout: 252 seconds]
justsee has quit [Quit: leaving]
krz has quit [Ping timeout: 260 seconds]
Cephalostrum has quit [Quit: Aim higher. Try this: why am I here? Why do I exist, and what is my purpose in this universe? (Answers: 'Cause you are. 'Cause you do. 'Cause I got a shotgun, and you ain't got one.)]
<sickweezle>
spiked punch? <.<
iamjarvo has quit [Ping timeout: 272 seconds]
tyl has joined #ruby
Es0teric has joined #ruby
jonathanwallace has joined #ruby
Cephalostrum has joined #ruby
Cephalostrum has quit [Max SendQ exceeded]
mpweb has joined #ruby
Cephalostrum has joined #ruby
joshu has quit [Quit: Bye.]
fijimunkii has joined #ruby
vlad_starkov has joined #ruby
iamjarvo has joined #ruby
mpweb has quit [Quit: Leaving]
robbyoconnor has joined #ruby
echevemaster has quit [Quit: Leaving]
bradhe has joined #ruby
Soda has joined #ruby
timonv has joined #ruby
troyready has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
deens has joined #ruby
krz has joined #ruby
prc has quit [Read error: Connection reset by peer]
sethen has joined #ruby
deens_ has joined #ruby
Deele has joined #ruby
deens has quit [Read error: Connection reset by peer]
joshu has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
joshu has quit [Remote host closed the connection]
joshu has joined #ruby
Cephalostrum has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
iliketurtles has quit [Excess Flood]
Cephalostrum has joined #ruby
Soda has quit [Remote host closed the connection]
iamjarvo has quit [Ping timeout: 252 seconds]
deens_ has quit [Ping timeout: 260 seconds]
centipedefarmer has quit [Remote host closed the connection]
JasmeetQA has joined #ruby
IceDragon has quit [Quit: Space~~~]
baroquebobcat has joined #ruby
nateberkopec has joined #ruby
lukec has joined #ruby
godd2 has quit []
Cephalostrum has quit [Quit: Aim higher. Try this: why am I here? Why do I exist, and what is my purpose in this universe? (Answers: 'Cause you are. 'Cause you do. 'Cause I got a shotgun, and you ain't got one.)]
baroquebobcat has quit [Client Quit]
sassamo_ has joined #ruby
Cephalostrum has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 252 seconds]
Cephalostrum has quit [Read error: Connection reset by peer]
Cephalostrum has joined #ruby
Cephalostrum has quit [Max SendQ exceeded]
ahmedelgabri has joined #ruby
sassamo has quit [Ping timeout: 272 seconds]
Cephalostrum has joined #ruby
browndawg has joined #ruby
Cephalostrum has quit [Client Quit]
vlad_starkov has joined #ruby
CaptainJet has quit []
vlad_starkov has quit [Remote host closed the connection]
beardedninja has quit [Ping timeout: 252 seconds]
Cephalostrum has joined #ruby
vikhyat_ has joined #ruby
vlad_starkov has joined #ruby
vikhyat has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
jailbot has quit [Remote host closed the connection]
vikhyat has joined #ruby
jailbot has joined #ruby
vlad_starkov has joined #ruby
vikhyat_ has quit [Ping timeout: 260 seconds]
kbouwser has joined #ruby
mansi has joined #ruby
vikhyat has quit [Read error: Connection reset by peer]
browndawg has quit [Ping timeout: 248 seconds]
vikhyat has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
jailbot has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
lukec has quit [Quit: lukec]
mansi has quit [Ping timeout: 246 seconds]
lukec has joined #ruby
Cephalostrum has quit [Quit: Aim higher. Try this: why am I here? Why do I exist, and what is my purpose in this universe? (Answers: 'Cause you are. 'Cause you do. 'Cause I got a shotgun, and you ain't got one.)]
diegoviola has joined #ruby
iamjarvo has joined #ruby
freerobby has quit [Ping timeout: 264 seconds]
lukec has quit [Quit: lukec]
w4pm has joined #ruby
mary5030 has quit [Remote host closed the connection]
ziam has joined #ruby
diegovio1 has joined #ruby
diegovio1 has quit [Changing host]
diegovio1 has joined #ruby
diegoviola is now known as Guest10369
diegovio1 is now known as diegoviola
Guest10369 has quit [Ping timeout: 260 seconds]
gja has joined #ruby
w4pm has quit [Ping timeout: 264 seconds]
larissa has quit [Quit: Leaving]
kbouwser has quit [Quit: Computer has gone to sleep.]
coderhs has joined #ruby
nitish has joined #ruby
nitish has quit [Client Quit]
dodosan has quit [Remote host closed the connection]
bradhe has joined #ruby
OdNairy has joined #ruby
baroquebobcat has joined #ruby
tonni has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 272 seconds]
Cephalostrum has joined #ruby
Cephalostrum has quit [Max SendQ exceeded]
phipes has quit [Remote host closed the connection]
Cephalostrum has joined #ruby
baroquebobcat has quit [Client Quit]
sparrovv has joined #ruby
phipes has joined #ruby
blandflakes has quit [Quit: leaving]
tonni has joined #ruby
sparrovv has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
kirun has quit [Quit: Client exiting]
Hobogrammer_ has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
Hobogrammer_ has joined #ruby
lioninawhat has quit [Remote host closed the connection]
bjhaid has joined #ruby
iamjarvo has quit [Ping timeout: 272 seconds]
girija has quit [Ping timeout: 252 seconds]
tonni has quit [Remote host closed the connection]
Opettaja has quit [Read error: Connection reset by peer]
beardedninja has joined #ruby
nateberkopec has quit [Ping timeout: 260 seconds]
sethen has quit [Ping timeout: 272 seconds]
<chipotle>
hello all
sethen has joined #ruby
<chipotle>
anyone around to talk ruby with a newbie?
<BraddPitt>
what do you need help with chipotle ?
gja has quit [Quit: This computer has gone to sleep]
<chipotle>
just wanted to understand what it means that ruby is a high level programming language
<chipotle>
compared to , say, C
Xeago has joined #ruby
ahmedelgabri has quit [Ping timeout: 260 seconds]
BrixSat_ has quit [Remote host closed the connection]
jonahR has joined #ruby
BrixSat has joined #ruby
v10energy has quit [Read error: Operation timed out]
iamjarvo has joined #ruby
ahmedelgabri has joined #ruby
Xeago has quit [Ping timeout: 253 seconds]
gja has joined #ruby
bradhe has joined #ruby
phipes has quit [Remote host closed the connection]
Vivekananda has quit [Quit: Ex-Chat]
<TigerWolf>
I didnt think we needed dependency injection and IOC container for ruby...
apeiros has quit [Remote host closed the connection]
robbyoconnor has quit [Remote host closed the connection]
<agent_white>
RubyPanther: I've only broken three of those
<agent_white>
woops
apeiros has joined #ruby
<lethjakman>
hey, I'm trying to use keyword args like this: https://gist.github.com/lethjakman/8516109 but it seems to be telling me I'm using the wrong number of arguments. any clue why?
apeiros has quit [Ping timeout: 246 seconds]
krz has quit [Ping timeout: 272 seconds]
bradhe has quit [Ping timeout: 272 seconds]
jbomo has quit []
nathancahill has quit [Quit: nathancahill]
krz has joined #ruby
<pontiki>
is that the way you do it in 2.1?
Barrin6 has quit [Quit: Leaving]
JasmeetQA1 has joined #ruby
zxd has quit [Ping timeout: 252 seconds]
<lethjakman>
pontiki: that's how I read it.
dukz has quit [Remote host closed the connection]
marcgg_ has joined #ruby
<lethjakman>
it looks like 2.0 as well
JasmeetQA has quit [Ping timeout: 260 seconds]
<pontiki>
oops
<pontiki>
"initializer"
<pontiki>
there's no initialize method for new
<lethjakman>
oh
<lethjakman>
gah
<lethjakman>
thank you :)
<pontiki>
nw
chipotle has joined #ruby
marcgg has quit [Ping timeout: 246 seconds]
dukz has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
iaj has quit [Ping timeout: 248 seconds]
cj3kim has joined #ruby
nfk has quit [Quit: yawn]
zipper has joined #ruby
iaj has joined #ruby
bjhaid has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
freerobby has joined #ruby
dukz_ has joined #ruby
troyready has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
nathancahill has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
dukz has quit [Ping timeout: 260 seconds]
freerobby has quit [Ping timeout: 265 seconds]
dukz_ has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby
jhaals has joined #ruby
coder_neo has joined #ruby
camilasan has joined #ruby
skaflem has joined #ruby
bricker`LA has quit [Ping timeout: 252 seconds]
sassamo has joined #ruby
Kneferilis has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
<Jimboluu>
Why would ' until x != line_1[0] || line_1[1] end ' work perfectly and ' until x != line_1[0] && line_1[1] end ' not work at all?
<apeiros>
Jimboluu: you're aware that `x != line_1[0] || line_1[1]` does NOT check whether x is unequal to either line_1[0] or line_1[1], right?
<apeiros>
it's (x != line_1[0]) OR (line_1[1])
<apeiros>
I somewhat assume you want `x != line_1[0] || x != x != line_1[1]`
<apeiros>
whoops
<apeiros>
I somewhat assume you want `x != line_1[0] || x != line_1[1]`
<apeiros>
accidental duplication before
<Jimboluu>
ah okay
<tobiasvl>
good catch apeiros, i need more coffee. thought he was asking just about || and or
dayepa2 has quit [Remote host closed the connection]
lsmola_ has joined #ruby
<Jimboluu>
thanks both.. I just thought Ruby was going to help me out there and I wouldn't have to repeat the x
sassamo has quit [Ping timeout: 260 seconds]
dayepa has quit [Ping timeout: 264 seconds]
coderhs has quit [Ping timeout: 246 seconds]
dayepa1 has quit [Ping timeout: 264 seconds]
<tobiasvl>
nope, sorry (don't think any languages do that), but on the other hand you'll often feel that it comes in handy that stuff is truthy and falsey in ruby
<apeiros>
Jimboluu: ruby isn't a magical pixie, sorry.
<apeiros>
it doesn't just randomly assume what you could maybe have meant. it does strictly what you tell it to.
<Jimboluu>
no need to be a dick
<apeiros>
Jimboluu: no need to be insulting
<apeiros>
`x != line_1[0] || line_1[1]` can be interpreted in one of two ways:
<apeiros>
a) `(x != line_1[0]) || (line_1[1])`
camilasan has joined #ruby
<apeiros>
b) `x != (line_1[0] || line_1[1])`
arturaz has joined #ruby
* Hanmac1
knows not any language where "until x != line_1[0] || line_1[1] end" works as you guess
Hanmac1 is now known as Hanmac
dayepa has joined #ruby
<apeiros>
rubys precedence is set to interpret the expression as b)
iamjarvo has joined #ruby
<Hanmac>
i think the best way would be like that !line_1[0..1].include?(x)
rootshift has joined #ruby
arturaz has quit [Remote host closed the connection]
top4o has joined #ruby
<apeiros>
errr, wrong. it's a). maybe I need more coffee too.
dayepa1 has joined #ruby
<tobiasvl>
more coffee is always a good idea
dayepa has quit [Read error: Connection reset by peer]
iamjarvo has quit [Ping timeout: 265 seconds]
<apeiros>
Hanmac: that's actually not equivalent
zegerjan has joined #ruby
dayepa has joined #ruby
leonidlm has joined #ruby
achru has joined #ruby
user258467 has joined #ruby
dayepa2 has joined #ruby
phansch has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
hiall_ has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
wildroman2 has joined #ruby
klaut has joined #ruby
dodosan has joined #ruby
francisfish has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
_Andres has joined #ruby
nvrch has joined #ruby
DaZ has quit [Read error: Operation timed out]
marr has joined #ruby
Xzanron has joined #ruby
coderhs has joined #ruby
<Hanmac>
apeiros: hm maybe not but it should do what he wants
dayepa2 has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
<polysics>
my wife got lost on CodeAcademy when they started showgin refactoring techniques to people who learned the "if" construct three tutorials earlier :D
<shevy>
"Change directory to the directory you just created (in this example, cd ruby-1.6.7). "
<Hanmac>
polysics: i think i learned ruby with reading the scripts of RPGMakerXP , but yeah i dont remember how i learned ruby either ;P
<shevy>
FileUtils is worth one snippet :P
<shevy>
"how do you create a file in ruby. how do you put content in a file in ruby."
<polysics>
Hanmac: I really do not even remember when I started, I have been programming for so long
Trynemjoel has joined #ruby
<polysics>
and that is actually a problem when delaing with an absolute beginner
<polysics>
I do not know what it means to not be able to program :D
Xeago has quit [Ping timeout: 248 seconds]
<polysics>
I started out when I was 7 on my C64 :)
<polysics>
(also, thanks Dad, for making sure I did not get a girlfriend ever.)
<Hanmac>
"why is File.open().read bad, File.open() {|f|f.read} good and File.read the best"
chihhsin has joined #ruby
nateberkopec has joined #ruby
apeiros has quit [Remote host closed the connection]
venkat has quit [Ping timeout: 264 seconds]
dayepa has quit [Ping timeout: 264 seconds]
venkat has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
funburn has left #ruby [#ruby]
St_Marx has joined #ruby
colonolGron has joined #ruby
closer has quit [Ping timeout: 252 seconds]
<juo>
if you have a human number for the element in an array
<juo>
i.e. human = 1 computer = 9
<juo>
i.e. human = 1 computer = 0
dukz has joined #ruby
freerobby has joined #ruby
<juo>
: i.e. human = 2 computer = 1
closer has joined #ruby
<juo>
(the 9 was a typo)
venkat has quit [Read error: Connection reset by peer]
<polysics>
I am not a number! I am a human being!
<juo>
is there anything better than mha_array[int - 1]
venkat has joined #ruby
<juo>
like.... mha_array.human_index(1) or something
mansi has joined #ruby
<juo>
i couldn't see anything in the API
<Hanmac>
... i still dont get it what "human_index" should doo ...
<polysics>
yup, missing some key part here
<polysics>
is your array actually a hash?
<polysics>
{1 => :human, 2 => :computer}
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
venkat has joined #ruby
<juo>
no its an array like [1, 2, 3, 4]
<shevy>
polysics well only have the actions that can be done automatically/programmatically translated into the language's specifics
<juo>
and the human enters at the prompt which number they want
<juo>
but they enter 1
<juo>
for the first element
<juo>
not 0
<shevy>
polysics you can "think" in ruby even without really knowing how to program :D
wdiechmann has quit [Quit: wdiechmann]
<polysics>
oh, I see
<polysics>
no, there is nothing better than just going -1 :)
nateberkopec has quit [Ping timeout: 272 seconds]
<polysics>
there would be no such need
<juo>
ok :)
<polysics>
you might want to go and implement a method, but I would not do it
<shevy>
you can extend everything in ruby at any time
venkat has quit [Read error: Connection reset by peer]
<Hanmac>
shevy: happens for me ... i was walking around in the city, and i saw a traffic light, i looked at it and i saw it in ruby Objects ;P
<shevy>
but you'd always have to remember these changes
venkat has joined #ruby
shredding has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
<shevy>
Hanmac you are so sick
freerobby has quit [Ping timeout: 265 seconds]
dukz has quit [Remote host closed the connection]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
arturaz_ has joined #ruby
<shevy>
Hanmac but when I see biological cells I have to think they are communicating in a ruby-like language with one another ;)
<Hanmac>
shevy: thats not true! i have been tested ;P
wildroman2 has joined #ruby
venkat has quit [Read error: Connection reset by peer]
poulson has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #ruby
venkat has joined #ruby
lkba has joined #ruby
punkcat has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
<polysics>
my wife is actually a nerd too, only not the right type here - she can fold proteins in her mind :)
<polysics>
biology major
phinfonet has joined #ruby
<Hanmac>
shevy: cancer cells reminds me of little teenagers ... "the body tells the cell, what the cell should do, but the cell says no ... and then the cell uses all its energy to do things what the cell should not do" ;P
<polysics>
but it turns out web development pays better
<polysics>
and it is a job you can do from home with the kids around
dukz has joined #ruby
coderhs has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
dukz has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
OdNairy has quit []
<Hanmac>
its bad or good that i am not have a biological laboratory where i could do what i want to do ,,P
<polysics>
oh, I have been having so much fun since I collaborate a few hours a week with this biomedical company :)
dayepa has quit [Ping timeout: 264 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
OdNairy has joined #ruby
OdNairy has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
<Hanmac>
polysics: i would try to make "antivirus" similar to the Creeper vs Reaper computer viruses ;P
dayepa has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
* Hanmac
is currently holding a book about computer viruses from 1990
venkat has joined #ruby
girija__ has joined #ruby
mengu has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
girija_ has quit [Read error: Connection reset by peer]
lyanchih has quit [Quit: lyanchih]
<Hanmac>
polysics: for sample something like a anti-flu that uses similar ways to "infect" others ;P
venkat has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sassamo has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<polysics>
there are some interesting applications of that kind of programming
<polysics>
ones that do not land you in jail :)
<polysics>
take a look at genetic algorithms
<polysics>
I have worked on GA applied to pattern matching, you can get interesting results
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
Jimboluu has quit [Read error: Operation timed out]
LekeFly has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
venkat_ has joined #ruby
sski has joined #ruby
dayepa has joined #ruby
sassamo has quit [Ping timeout: 248 seconds]
wdiechmann has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
<Hanmac>
polysics: i read an article about that they work on plants/trees that have similar ability than fireflys ;P ... with that they thought about "natural street lights" ;P
venkat has quit [Ping timeout: 260 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
coderhs has joined #ruby
<polysics>
that would save a lot of lives
<polysics>
sadly, one thing programming has over biological "hacking" is that we can more or less build whatever we want
seoNinjaWarrior has quit [Quit: Computer has gone to sleep.]
<polysics>
while biology has to contend with the real world :D
<Hanmac>
yeah but i lol'd about "artificial blood make in transylvania" ;P
justsee has quit [Ping timeout: 272 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
seoNinjaWarrior has joined #ruby
multi_io has quit [Ping timeout: 248 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
shime has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
grs has quit [Ping timeout: 248 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
chrisseaton has quit []
Xeago_ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
chrisseaton has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
bradhe has joined #ruby
dayepa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
multi_io has joined #ruby
OdNairy has joined #ruby
mojjojo has quit [Quit: mojjojo]
dayepa1 has joined #ruby
OdNairy has quit [Client Quit]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
minsa has quit [Ping timeout: 272 seconds]
tt1187 has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 264 seconds]
DaniG2k has joined #ruby
dayepa has joined #ruby
dodosan has joined #ruby
colonolGron has quit [Quit: Lost terminal]
venkat_ has joined #ruby
diegovio1 has joined #ruby
chrisseaton has quit []
diegoviola has quit [Ping timeout: 252 seconds]
fire has joined #ruby
mojjojo has joined #ruby
diegovio1 has quit [Client Quit]
coder_neo has quit [Quit: This computer has gone to sleep]
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
mklappst_ has joined #ruby
chrisseaton has joined #ruby
grs has joined #ruby
dayepa1 has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dodosan has quit [Ping timeout: 252 seconds]
minsa has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
venkat has quit [Read error: Connection reset by peer]
Aryasam has joined #ruby
venkat has joined #ruby
mklappstuhl has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
Advocation has quit [Quit: Advocation]
venkat has quit [Read error: Connection reset by peer]
dfranciosi has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 252 seconds]
wdiechmann has left #ruby [#ruby]
venkat_ has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
fgo has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Wolland has quit [Remote host closed the connection]
Aryasam has joined #ruby
dayepa has joined #ruby
DrOwl has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
nateberkopec has joined #ruby
coder_neo has joined #ruby
shaunbaker has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dayepa1 has joined #ruby
tt1187 has quit []
dayepa has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dayepa1 has quit [Read error: Connection reset by peer]
darthdeus has quit [Ping timeout: 252 seconds]
VinceThePrince has joined #ruby
venkat__ has joined #ruby
nateberkopec has quit [Ping timeout: 260 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
Advocation has joined #ruby
VinceThePrince has quit [Client Quit]
dayepa has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
nari has joined #ruby
venkat has joined #ruby
puppeh has joined #ruby
mojjojo has quit [Quit: mojjojo]
Macaveli has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
mojjojo has joined #ruby
davidk has joined #ruby
davidk is now known as Guest82854
blackmesa has joined #ruby
lyanchih has quit [Quit: lyanchih]
venkat_ has joined #ruby
dayepa1 has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<shevy>
Hanmac that's not possible, a cancer cell still has largely the same original genome, it can not too easily aquire new genes. It may have mutations and chromosomal relocations, but the original information was all part of that cancer cell's genome just about
venkat_ has joined #ruby
asmodlol has joined #ruby
venkat has quit [Read error: Connection reset by peer]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
tyl has joined #ruby
nhhagen has quit [Remote host closed the connection]
dayepa has quit [Read error: Connection reset by peer]
freerobby has quit [Ping timeout: 248 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
casheew_ has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
<TheLarkInn>
Gooood morningggg!!!
gja has joined #ruby
<Hanmac>
shevy i have read a bit infos about ... like cancer sells can have multiple cores (similar to multi threading ;P ), they ignore SIGKILL commands, (normally the body can tell a cell to die), they hide themself from killer cells (they masquarade themself as healthy so they dont get destroyed by the body) and they infiltrate other body parts and take hostages like terrorists (they take other cells in front of them so that the killer cells cant des
<TheLarkInn>
If I could trouble anyone for a refresher, when writing optional params, all params declared "right" of the paramter with the * are considered optional?
venkat_ has quit [Read error: Connection reset by peer]
klaas_ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<TheLarkInn>
like
<TheLarkInn>
def foo(bar*, still, optional, params); end
venkat has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
klaas has quit [Read error: Connection reset by peer]
<Hanmac>
TheLarkInn: optional parameters does not work that way
top4o_ has joined #ruby
Matriks has quit [Remote host closed the connection]
bkparso_ has joined #ruby
danshultz has joined #ruby
bkparso_ has quit [Client Quit]
venkat has quit [Read error: Connection reset by peer]
top4o_ has quit [Client Quit]
<TheLarkInn>
is it every single one needs the *
venkat has joined #ruby
browndawg has quit [Quit: Leaving.]
top4o has quit [Ping timeout: 272 seconds]
<Hanmac>
no does also not work like you may want
<TheLarkInn>
Oh well no worries
<shevy>
TheLarkInn I never saw foo* before in ruby, where did you see this?
<Hanmac>
look at ruby2.1 for optional named parameters
<TheLarkInn>
alright thanks Hanmac
<TheLarkInn>
shevy I'm probably writing the syntax wrong, I havn't used optional params in awhile
ndrei has joined #ruby
abstractj has quit [Changing host]
abstractj has joined #ruby
venkat_ has joined #ruby
hiall_ has quit [Ping timeout: 252 seconds]
venkat has quit [Read error: Connection reset by peer]
hiall_ has joined #ruby
thesheff17 has quit [Ping timeout: 272 seconds]
dayepa has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
judd7_ has joined #ruby
dayepa1 has joined #ruby
DaniG2k has quit [Quit: leaving]
Virtualize has joined #ruby
venkat has joined #ruby
sassamo has joined #ruby
<shevy>
perhaps it is possible
<shevy>
in 2.1
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 264 seconds]
wildroman2 has quit [Remote host closed the connection]
dayepa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Remote host closed the connection]
venkat has joined #ruby
dayepa1 has joined #ruby
francisfish has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
mklappst_ has quit [Remote host closed the connection]
dayepa1 has joined #ruby
h_kon has joined #ruby
tkuchiki has quit [Remote host closed the connection]
dayepa has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 240 seconds]
max96at has joined #ruby
<puppeh>
btw I have a question regarding GC in 1.9.3 vs 2.1. I've booted up my rails app and done a GC.start and heap_live_slots was ~500k
<puppeh>
(that was for 1.9.3). Done the same in 2.1. and heap_live_slots was ~250k. Does that make any sense?
alexfreidah has quit [Ping timeout: 272 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<Hanmac>
everyone talks about "thread-safe" ... i am happy enough when my created objects are GC safe ;P
m00nlight has quit [Remote host closed the connection]
<soahccc>
Hanmac: What are you talking about?
m00nlight has joined #ruby
<Hanmac>
soahccc: i write C++ bindings ... while i need to control when the ruby objects are destroyed and when not ... (means: as long as the c++ object lives, the ruby object are forced to live too)
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<soahccc>
ahh okay, I have no clue about C :D
<soahccc>
puppeh: have you forked in some sort?
himsin has quit [Quit: himsin]
dodosan has joined #ruby
<puppeh>
soahccc: nope, I'm using WEBrick and I've put a `binding.pry` at the bottom of my config/application.rb file
venkat has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
alexherbo2 has quit [Ping timeout: 248 seconds]
dangerousdave has joined #ruby
<Hanmac>
puppeh: Integer("10") is a nice way because Integer.new("10") does not work so its a nice way like "10".to_i ... the only difference, Integer() does raise exceptions when the data is not valid
<Hanmac>
>> Integer("A")
<eval-in>
Hanmac => invalid value for Integer(): "A" (ArgumentError) ... (https://eval.in/92155)
ahmedelg_ has quit [Remote host closed the connection]
venkat_ has joined #ruby
tyl has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
shaunbaker has joined #ruby
chrisseaton has quit []
sambao21 has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
venkat_ has quit [Read error: Connection reset by peer]
olivier_bK has quit [Ping timeout: 260 seconds]
bean__ has joined #ruby
venkat_ has joined #ruby
shime has joined #ruby
ahmedelgabri has quit [Ping timeout: 272 seconds]
aryaching has joined #ruby
venkat has quit [Ping timeout: 252 seconds]
angusiguess has joined #ruby
nomenkun has quit [Quit: Leaving...]
bradhe has joined #ruby
tonni has quit [Remote host closed the connection]
venkat has joined #ruby
phinfonet has joined #ruby
sassamo has joined #ruby
bjhaid has quit [Ping timeout: 272 seconds]
dayepa1 has joined #ruby
aryaching_ has joined #ruby
SoWN has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrisseaton has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
bean__ has quit [Client Quit]
venkat has quit [Read error: Connection reset by peer]
eka has joined #ruby
venkat has joined #ruby
freerobby has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
Macaveli has joined #ruby
lyanchih has joined #ruby
banister has joined #ruby
puppeh has left #ruby ["Leaving..."]
mengu has quit [Remote host closed the connection]
radic_ has quit [Ping timeout: 246 seconds]
aryaching has quit [Ping timeout: 272 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 264 seconds]
mengu has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
mlpinit has quit [Quit: Leaving...]
venkat_ has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
venkat has joined #ruby
dayepa1 has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 272 seconds]
kobain has joined #ruby
mary5030 has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
lukec has joined #ruby
vlad_starkov has joined #ruby
tesuji has quit [Ping timeout: 265 seconds]
alexfreidah has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
RaCx has joined #ruby
Gazb has quit [Quit: Leaving...]
dayepa has joined #ruby
diegoviola has quit [Ping timeout: 272 seconds]
garybrett has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
garybrett is now known as gaz_b
centipedefarmer has quit [Remote host closed the connection]
olivier_bK has joined #ruby
mansi has joined #ruby
mary5030 has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
jhaals has quit [Read error: Operation timed out]
venkat has joined #ruby
dayepa1 has joined #ruby
shaunbaker has quit [Remote host closed the connection]
sassamo has quit []
venkat has quit [Read error: Connection reset by peer]
tonni has joined #ruby
venkat has joined #ruby
shaunbaker has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
iamjarvo has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
jhaals has joined #ruby
noop has quit [Ping timeout: 265 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
sergicles has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
shaunbaker has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
diegoviola has joined #ruby
dayepa1 has joined #ruby
jedimind has joined #ruby
nifty has joined #ruby
Czupa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
drumusician has quit [Read error: Connection reset by peer]
venkat has joined #ruby
drumusician has joined #ruby
mary5030 has joined #ruby
imaginary has joined #ruby
dodosan has joined #ruby
venkat has quit [Read error: Connection reset by peer]
shredding has quit [Read error: Connection reset by peer]
venkat has joined #ruby
zachrab has joined #ruby
nateberkopec has quit [Ping timeout: 260 seconds]
claymore has quit [Ping timeout: 252 seconds]
<imaginary>
i'm being reallly dumb right now. How do I know if a date I retrieved from an database entry is in the future? I'm comparing Date.today with it, but it doesn't seem to work... Can you simply use the > operator?
dayepa has quit [Ping timeout: 264 seconds]
zachrab has quit [Client Quit]
<imaginary>
from a database*
venkat has quit [Read error: Connection reset by peer]
girija_ has joined #ruby
venkat has joined #ruby
chrisseaton has quit []
jetblack has joined #ruby
interactionjaxsn has joined #ruby
shredding has joined #ruby
dayepa1 has quit [Remote host closed the connection]
<imaginary>
hm, do I need to use Date.parse on the retrieved date?
chrisseaton has joined #ruby
yasushi has quit [Remote host closed the connection]
<imaginary>
i'm trying to check it in the query itself, so inside of a where method, but I'm guessing that's the problem
claymore has joined #ruby
venkat has quit [Read error: Connection reset by peer]
girija__ has quit [Ping timeout: 252 seconds]
venkat has joined #ruby
dayepa has joined #ruby
ahmedelgabri has joined #ruby
dodosan has quit [Ping timeout: 272 seconds]
_Andres has joined #ruby
Xeago has joined #ruby
venkat_ has joined #ruby
koalallama has joined #ruby
venkat has quit [Read error: Connection reset by peer]
pu22l3r_ has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
cjsarette has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #ruby
kpshek has joined #ruby
kpshek has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
pu22l3r_ has joined #ruby
venkat has joined #ruby
Xeago_ has joined #ruby
gja has joined #ruby
Xeago_ has quit [Remote host closed the connection]
clevermatt has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 260 seconds]
venkat has quit [Read error: Connection reset by peer]
ahmedelgabri has quit [Ping timeout: 260 seconds]
venkat_ has joined #ruby
Kricir has joined #ruby
dayepa1 has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
nhhagen has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
venkat has joined #ruby
tonni has quit [Read error: Connection reset by peer]
danijoo has quit [Read error: Connection reset by peer]
clevermatt has joined #ruby
blandflakes has joined #ruby
danijoo has joined #ruby
iamjarvo has quit [Quit: Lost terminal]
venkat has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
Xeago has quit [Remote host closed the connection]
venkat has joined #ruby
freidahpatch has joined #ruby
RaCx has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
venkat_ has joined #ruby
g0bl1n has joined #ruby
venkat has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
dayepa has quit [Remote host closed the connection]
pixelgremlins_ba is now known as pixelgremlins
dayepa has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
Macaveli has quit [Ping timeout: 246 seconds]
venkat has joined #ruby
<imaginary>
nevermind, i was being very dumb... comparing to a 2012 date ^^
dayepa1 has quit [Ping timeout: 264 seconds]
venkat_ has quit [Read error: Connection reset by peer]
dayepa has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dayepa has joined #ruby
bean__ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
lukec has quit [Quit: lukec]
tulak has joined #ruby
imaginary has left #ruby [#ruby]
Matriks has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
CptJeanLucPicard is now known as ArchBeOS
ArchBeOS is now known as ArchBeOS-work
dayepa1 has joined #ruby
tylersmith has joined #ruby
dkamioka has quit [Remote host closed the connection]
venkat_ has joined #ruby
diegoviola has joined #ruby
chipotle has quit [Ping timeout: 245 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
dayepa has joined #ruby
tonni has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
venkat has quit [Ping timeout: 272 seconds]
fgo has quit [Remote host closed the connection]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
ace_striker has quit [Ping timeout: 272 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
ndrei has quit [Read error: No route to host]
Kricir_ has joined #ruby
freezey has joined #ruby
ndrei has joined #ruby
aryaching_ has quit []
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
tagrudev has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 264 seconds]
bradhe has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mengu has quit [Remote host closed the connection]
Virtualize has quit [Quit: Leaving...]
aryaching has joined #ruby
h_kon has quit [Remote host closed the connection]
dkamioka has quit [Remote host closed the connection]
coder_neo has joined #ruby
venkat has quit [Read error: Connection reset by peer]
greenhouse has joined #ruby
venkat has joined #ruby
figgleberry has quit [Ping timeout: 260 seconds]
Kricir has quit [Ping timeout: 252 seconds]
dayepa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
alexfreidah has quit [Ping timeout: 264 seconds]
achru has quit [Remote host closed the connection]
Hobogrammer_ has quit [Ping timeout: 252 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
venkat has joined #ruby
w4pm has joined #ruby
wildroman2 has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
girija_ has quit [Ping timeout: 252 seconds]
tonni has quit [Ping timeout: 260 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
alexfreidah has joined #ruby
coca_rails has joined #ruby
girija_ has joined #ruby
geggam has joined #ruby
sambao21 has joined #ruby
Virtualize has joined #ruby
venkat has joined #ruby
renklaf has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
mansi has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
nhhagen has joined #ruby
lfox has joined #ruby
ndrei has joined #ruby
nateberkopec has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
w4pm has quit [Ping timeout: 264 seconds]
dayepa has quit [Ping timeout: 264 seconds]
girija_ has quit [Ping timeout: 252 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
ldcicconi has quit [Ping timeout: 260 seconds]
krz has joined #ruby
sambao21 has quit [Ping timeout: 272 seconds]
yasushi has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
spyderman4g63 has joined #ruby
tonni has joined #ruby
Matriks has joined #ruby
alexfreidah has quit [Ping timeout: 245 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
LastWhisper has joined #ruby
dayepa1 has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
heftig has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 264 seconds]
coca_rails has quit [Remote host closed the connection]
judd7_ has quit [Quit: judd7_]
ValicekB has joined #ruby
ndrei has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
IceDragon has joined #ruby
coca_rails has joined #ruby
tonni has quit [Read error: Connection reset by peer]
stringoO has joined #ruby
freezey has quit [Remote host closed the connection]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
freezey has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
ohwhoa has joined #ruby
rippa has joined #ruby
amundj has quit [Ping timeout: 252 seconds]
dkamioka has joined #ruby
dayepa has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
greenhouse has quit [Ping timeout: 248 seconds]
cbetta is now known as cbetta_afk
radic has joined #ruby
venkat_ has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
diegoviola has quit [Ping timeout: 272 seconds]
user258467 has quit [Quit: Quitte]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
gja has joined #ruby
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
dkamioka has quit [Ping timeout: 272 seconds]
mojjojo has joined #ruby
dayepa1 has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
sergicles has quit [Quit: sergicles]
dodosan has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
wildroman2 has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
alexfreidah has joined #ruby
lfox has quit []
sski has quit [Remote host closed the connection]
sski has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
yasushi has quit [Remote host closed the connection]
rm_ has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lfox has joined #ruby
venkat__ has joined #ruby
dodosan has quit [Ping timeout: 272 seconds]
venkat_ has quit [Read error: Connection reset by peer]
Jimboluu has quit [Quit: Lost terminal]
dkamioka_ has joined #ruby
_maes_ has joined #ruby
webgen has joined #ruby
ckinni has joined #ruby
<webgen>
if I save variable without "!" sign, where is the data saved?
Kricir_ has quit [Remote host closed the connection]
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
Kricir has joined #ruby
baroquebobcat has joined #ruby
sski has quit [Ping timeout: 272 seconds]
Guest62441 is now known as Kruppe
canton7-mac has joined #ruby
dkamioka has quit [Ping timeout: 272 seconds]
Kricir has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
dkamioka has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<ccooke>
webgen: ! is conventionally appended to method names that have side effects. It's not a rule in the language, though, and there's nothing that enforces it
Kricir has joined #ruby
dima_ has joined #ruby
<ccooke>
webgen: However, what I *think* you're asking is what the difference between calling a method with a ! and without
failshell has joined #ruby
Targen has quit [Ping timeout: 248 seconds]
Spami has joined #ruby
<ccooke>
webgen: and the answer is, unfortunately, "it depends". Generally speaking, methods with a ! will modify the object you're calling the method on or have some other side effect that changes state.
venkat__ has quit [Read error: Connection reset by peer]
nifty has quit [Ping timeout: 246 seconds]
<webgen>
ccooke as I know if you call it with !, then it rewrites the data with the new modified data... I dont understand where the modified data goes if I don't put !
Kricir has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
tonni has quit [Remote host closed the connection]
Kricir has joined #ruby
jprovazn has quit [Quit: Leaving]
dkamioka_ has quit [Ping timeout: 272 seconds]
tjbiddle has joined #ruby
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<ccooke>
webgen: if you're only dealing with a simple object like a string or an array, the convention is that methods without a ! will return a copy of the object, modified by the method call, while methods with a ! modify the original object, then return it
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
<txdv>
are there byte arrays in ruby?
dkamioka has quit [Ping timeout: 252 seconds]
<webgen>
ccooke, I see but if a method call without ! copies the object, where does the original go?
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
thumpba has quit [Remote host closed the connection]
Lewix has quit [Quit: Leaving...]
thumpba has joined #ruby
mojjojo has quit [Quit: mojjojo]
<banister>
webgen then the object gets reabsorbed back into the body
alexfreidah has quit [Ping timeout: 264 seconds]
<waxjar>
it gets picked up by the garbage collector (if you don't keep it stored somewhere)
venkat_ has quit [Read error: Connection reset by peer]
syamajala has joined #ruby
<webgen>
hmm ok thanks guys!
alexfreidah has joined #ruby
venkat_ has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
pskosinski has joined #ruby
webgen has left #ruby ["Leaving"]
TMM has quit [Quit: Ex-Chat]
TMM has joined #ruby
TMM has quit [Changing host]
TMM has joined #ruby
agjacome has quit [Quit: leaving]
Czupa has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
TMM has quit [Client Quit]
cj3kim has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
lethjakman has joined #ruby
Solnse has left #ruby [#ruby]
ewnd9 has quit [Ping timeout: 272 seconds]
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
monkegjinni has quit [Remote host closed the connection]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kristiandelay has quit [Read error: No route to host]
kristian_ has joined #ruby
monkegjinni has joined #ruby
venkat_ has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
LastWhisper has quit [Quit: Page closed]
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
mojjojo has joined #ruby
dima_ has left #ruby [#ruby]
skaflem has quit [Quit: Leaving]
mojjojo has quit [Client Quit]
syamajala has quit [Ping timeout: 246 seconds]
chrisseaton has quit []
krz has quit [Ping timeout: 272 seconds]
bradhe has joined #ruby
venkat__ has joined #ruby
mary5030 has quit [Remote host closed the connection]
TMM has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Pixels has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
BorjaGVO has quit [Quit: Page closed]
mary5030 has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
mary5030 has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
camilasan has quit [Ping timeout: 252 seconds]
venkat___ has joined #ruby
alexfreidah has quit [Ping timeout: 276 seconds]
mary5030_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
mary5030_ has quit [Remote host closed the connection]
mikepack has joined #ruby
venkat_ has quit [Ping timeout: 248 seconds]
ahawkins has quit [Remote host closed the connection]
venkat___ has quit [Read error: Connection reset by peer]
mary5030_ has joined #ruby
venkat_ has joined #ruby
wildroman2 has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
wildroman2 has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
wildroman2 has joined #ruby
Megtastique has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
venkat_ has joined #ruby
mary5030 has quit [Ping timeout: 248 seconds]
Matriks has quit [Read error: Connection reset by peer]
venkat_ has quit [Read error: Connection reset by peer]
Matriks has joined #ruby
venkat_ has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
matchaw_ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
matchaw has quit [Ping timeout: 260 seconds]
venkat_ has joined #ruby
sski has joined #ruby
zxd_ is now known as zxd
angusiguess has joined #ruby
agjacome has joined #ruby
ahmedelgabri has joined #ruby
venkat__ has joined #ruby
DouweM has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
Jetchisel has quit [Ping timeout: 256 seconds]
iamsean has joined #ruby
ephemerian has quit [Quit: Leaving.]
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
LastWhisper has joined #ruby
matchaw has joined #ruby
zeeraw has joined #ruby
sski has quit [Ping timeout: 248 seconds]
matchaw_ has quit [Ping timeout: 252 seconds]
DrShoggoth has joined #ruby
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
polysics has quit [Quit: Leaving.]
noname001__ has quit [Ping timeout: 260 seconds]
DrShoggoth has quit [Remote host closed the connection]
byprdct has joined #ruby
DrShoggoth has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jetblack has quit [Remote host closed the connection]
TMM has quit [Quit: Ex-Chat]
venkat__ has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 272 seconds]
freezey has quit [Remote host closed the connection]
venkat_ has joined #ruby
illbyte has joined #ruby
mojjojo has joined #ruby
mdpatrick has quit [Quit: No Ping reply in 180 seconds.]
cj3kim has quit [Remote host closed the connection]
vongrippen has quit [Quit: No Ping reply in 180 seconds.]
gja has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
freezey has joined #ruby
mikepack_ has joined #ruby
venkat_ has joined #ruby
Virtualize has quit [Quit: Leaving...]
SpaghettiCat has joined #ruby
SpaghettiCat has left #ruby ["Leaving"]
lukec has joined #ruby
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
wildroman2 has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 264 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
asmodlol has joined #ruby
vongrippen has joined #ruby
mdpatrick has joined #ruby
mikepack_ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
Virtualize has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
venkat has quit [Read error: Connection reset by peer]
bbloom has joined #ruby
zeeraw has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
Virtualize has quit [Client Quit]
tkuchiki has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
urbanslug is now known as zipper_away
froy has joined #ruby
camilasan has joined #ruby
yoshie902a has joined #ruby
tuupuerau has joined #ruby
tylersmith has quit [Remote host closed the connection]
<yoshie902a>
In my ruby project, can I have a module and class with the same name?
venkat_ has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
venkat has joined #ruby
<havenwood>
yoshie902a: Nope
IceDragon has quit [Ping timeout: 252 seconds]
<havenwood>
yoshie902a: You could if you put them in a different namespace, but generally no.
<yoshie902a>
Thank you
<blackmesa>
Hi. I am using the 'mail' gem in a ruby script. I am trying to deliver an ERB file that should be rendered as html in the email. So far its just displaying html code in the email https://gist.github.com/anonymous/8a69fcee8e481ba70248
coderhs has quit [Ping timeout: 252 seconds]
<yoshie902a>
and a name space is just another module?
<banister>
blackmesa what is black mesa
bhaak has quit [Ping timeout: 245 seconds]
mojjojo has joined #ruby
pel_daniel has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
bbloom has quit [Ping timeout: 252 seconds]
<havenwood>
yoshie902a: module or class, usually a module
ndrei has quit [Ping timeout: 260 seconds]
aspires has joined #ruby
<banister>
blackmesa nevermind
<yoshie902a>
havenwood: thank you
tulak has quit [Quit: Leaving.]
<havenwood>
yoshie902a: no prob
venkat_ has quit [Read error: Connection reset by peer]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
colonolGron has joined #ruby
RaCx has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
camilasan has quit []
yarou has joined #ruby
<snkcld>
if i have 2 nested begin/rescue blocks, the innermost receives the exception first, right?
radic has joined #ruby
<MrZYX>
yes
<MrZYX>
that is if you have no code between them / the exception is raised inside the inner one of course
mocfive has joined #ruby
zxd has quit [Ping timeout: 246 seconds]
poulson has quit [Remote host closed the connection]
failshel_ has joined #ruby
dodosan has joined #ruby
<snkcld>
yea yea. ok just wanted to make sure. so the exceptions are only seen if it was raised from the level below it
ReachingFarr has joined #ruby
<ReachingFarr>
So, as I library writer should I be using refinements? I don't like the thought of people getting warnings every time they include my library.
mikepack has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 260 seconds]
cj3kim has joined #ruby
sepp2k has joined #ruby
klaut has quit [Remote host closed the connection]
iliketurtles has joined #ruby
Soda has joined #ruby
lukec has joined #ruby
ahmedelgabri has joined #ruby
Soda has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
<MrZYX>
hm, do they still yield warnings in 2.1?
LekeFly has joined #ruby
dodosan has quit [Ping timeout: 252 seconds]
RaCx has joined #ruby
tylersmith has joined #ruby
alexfreidah has joined #ruby
<ReachingFarr>
MrZYX: That's a good question. I only have 2.0 on my machine.
Neomex has quit [Quit: Neomex]
Kricir has quit [Remote host closed the connection]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ReachingFarr>
Can anyone with Ruby 2.1 answer this question? Does the use of refinements still generate a warning?
freerobby has quit [Quit: Leaving.]
trickyhero has joined #ruby
punkcat has quit [Quit: Leaving]
DrShoggoth has quit [Quit: Leaving]
freerobby has joined #ruby
bradhe has joined #ruby
freezey has quit [Remote host closed the connection]
mikepack has joined #ruby
<havenwood>
Refinements are no longer experimental in 2.1, so no warning.
<havenwood>
But different behavior than 2.0.
<MrZYX>
is the spec stabilized now?
<havenwood>
MrZYX: Yup, though I *hope* they add top level refinements back.
lidenbrock has joined #ruby
<MrZYX>
yeah
<MrZYX>
ReachingFarr: so I'd say yes, if the lib is >= 2.1 only
lidenbrock has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
apeiros has joined #ruby
timonv has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 272 seconds]
olivier_bK has quit [Read error: Operation timed out]
zahna has quit [Ping timeout: 252 seconds]
failshel_ has quit []
aryaching has quit [Ping timeout: 265 seconds]
dangerousdave has joined #ruby
freezey has joined #ruby
ziam has quit [Remote host closed the connection]
saarinen has joined #ruby
zahna has joined #ruby
reset has joined #ruby
kristiandelay has joined #ruby
r0nin has joined #ruby
Neomex1 has joined #ruby
Neomex1 has quit [Client Quit]
top4o has joined #ruby
yaymukund has quit [Ping timeout: 248 seconds]
ndrei has quit [Ping timeout: 252 seconds]
phansch has joined #ruby
ndrei has joined #ruby
banisterone has quit [Ping timeout: 252 seconds]
duggiefresh has joined #ruby
yoshie902a has quit [Quit: yoshie902a]
Targen has joined #ruby
Squarepy has quit [Ping timeout: 272 seconds]
freezey has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
77CAA0A23 is now known as DanKnox
mocfive has quit [Remote host closed the connection]
VTLob has joined #ruby
mocfive has joined #ruby
mocfive has quit [Remote host closed the connection]
ahmedelgabri has quit []
mocfive has joined #ruby
saarinen has quit [Quit: saarinen]
aboudreault has quit [Ping timeout: 272 seconds]
coca_rails has joined #ruby
dfranciosi has quit [Remote host closed the connection]
coder_neo has joined #ruby
hamakn has quit [Remote host closed the connection]
Kricir has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
sparrovv has joined #ruby
ephemerian has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
alexfreidah has quit [Ping timeout: 276 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
deens has joined #ruby
hamakn has joined #ruby
sassamo has joined #ruby
Kricir has quit [Ping timeout: 265 seconds]
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
zachrab has joined #ruby
Soda has joined #ruby
shime has quit [Ping timeout: 272 seconds]
aboudreault has joined #ruby
<zachrab>
has anyone used coveralls?
hamakn_ has quit [Read error: Connection reset by peer]
hamakn__ has joined #ruby
jayne has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
venkat has quit [Remote host closed the connection]
hamakn__ has quit [Read error: Connection reset by peer]
pmlarocque has joined #ruby
hamakn has joined #ruby
micahf has joined #ruby
zachrab has quit [Client Quit]
mehlah has quit [Quit: Leaving...]
freidahpatch has quit [Ping timeout: 272 seconds]
dfranciosi has joined #ruby
mocfive has quit [Remote host closed the connection]
venkat has joined #ruby
yaymukund has joined #ruby
mocfive has joined #ruby
deens has quit [Remote host closed the connection]
<centrx>
In Rails, this is easy, you just just use the do_what_i_want_it_to method
jerius has quit [Ping timeout: 272 seconds]
sassamo has quit [Read error: Connection reset by peer]
venkat_ has quit [Read error: Connection reset by peer]
RaCx has quit [Ping timeout: 252 seconds]
w4pm has joined #ruby
<apeiros>
wow, you guys are being helpful today…
venkat has joined #ruby
sassamo has joined #ruby
mccraig has left #ruby [#ruby]
<Hanmac>
are you sure about the "to_utf8" method? that does not look very "rubylike" ... what ruby version is that? 1.6 ? ,P
Jork1 has joined #ruby
<atmosx>
I'm talking with my gf, on facetime if she takes notice that I'm talking at the same time to random-guy-on-irc I'll be single before executing a 10-array loop.
jerius has joined #ruby
venkat_ has joined #ruby
<atmosx>
llol
venkat has quit [Read error: Connection reset by peer]
<MrZYX>
TheLarkInn: your map is a each, and you can do row.each do |key, value| row[key] = value.encode('utf-8') if value.is_a? String; end but looks fine in general
chrisseaton has quit []
chipotle has joined #ruby
chipotle has quit [Max SendQ exceeded]
smitjel has quit [Quit: smitjel]
coca_rails has joined #ruby
chipotle has joined #ruby
<Hanmac>
MrZYX: or maybe he needs #force_encoding
<centrx>
atmosx, Can you use voice-to-text to output everything she says in here?
<atmosx>
centrx: you want dead, don't you?
venkat_ has quit [Read error: Connection reset by peer]
<centrx>
atmosx, Rails can do it...
w4pm has quit [Read error: Operation timed out]
venkat has joined #ruby
tobago has quit [Remote host closed the connection]
IcyDragon has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<Hanmac>
atmosx: imo an gf need to accept that sometimes you need to help your friends (there in irc) ;P
nathancahill has joined #ruby
venkat has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
browndawg has quit [Quit: Leaving.]
IceDragon has quit [Ping timeout: 272 seconds]
venkat has joined #ruby
sassamo has quit [Remote host closed the connection]
IcyDragon is now known as IceDragon
baordog_ has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<centrx>
TheLarkInn, Are you okay?
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
einarj has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
banister has joined #ruby
habanany1 has joined #ruby
zahna has quit [Read error: Operation timed out]
RaCx has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
<TheLarkInn>
oops sorry I'm here
<TheLarkInn>
let me read upwards
kpshek has joined #ruby
dfranciosi has quit [Remote host closed the connection]
RaCx has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
xcv has joined #ruby
venkat has joined #ruby
zahna has joined #ruby
g0bl1n has quit [Ping timeout: 264 seconds]
OBecki has joined #ruby
rootshift has joined #ruby
banjara has joined #ruby
justsee has joined #ruby
<OBecki>
Hi - I built my website with Jekyll and host on GitHub pages. Does anyone have advice on how I might setup a form for a newsletter?
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
v0n has joined #ruby
stringoO has quit [Ping timeout: 265 seconds]
deception has joined #ruby
atraylen has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
einarj has quit [Remote host closed the connection]
venkat has joined #ruby
dangerousdave has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
venkat has quit [Read error: Connection reset by peer]
mocfive has quit [Remote host closed the connection]
nhhagen has joined #ruby
venkat has joined #ruby
asteros has joined #ruby
mojjojo has joined #ruby
zigomir has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
trickyhero has quit [Read error: Connection reset by peer]
noop has quit [Ping timeout: 264 seconds]
chrisseaton has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
mary5030 has joined #ruby
nari has quit [Ping timeout: 246 seconds]
Hobogrammer has quit [Ping timeout: 248 seconds]
<Hanmac>
OBecki: is that a #rubyonrails question?
mikepack has joined #ruby
<havenwood>
Hanmac: :P
<TheLarkInn>
and Hanmac, that method is one I wrote myself, I was more talking about the "converting all values in a hash" part that I was curious about.
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
fijimunkii has joined #ruby
<havenwood>
TheLarkInn: Can you give example input and expected output? Like: I have {a: :b} and want {"a", "b"}
ChaoticEntity has joined #ruby
RoryHughes has quit []
venkat has quit [Read error: Connection reset by peer]
<OBecki>
@Hanmac - is there a better place for the question? I was advised that #ruby might be able to help
nhhagen has quit [Ping timeout: 252 seconds]
venkat has joined #ruby
<Hanmac>
OBecki: thats what i ask ... does it use rails or not?
<havenwood>
OBecki: This is the right place, or one of the right places at least!
<havenwood>
Hanmac: Jekyll with Rails?
<TheLarkInn>
I see what you mean yeah I might have a real world example
<MrZYX>
ReachingFarr: but if you want to do that for parameter validation, just assume it is
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
trickyhero has joined #ruby
sparrovv has quit [Remote host closed the connection]
cbetta is now known as cbetta_afk
freezey has joined #ruby
decoponio has quit [Quit: Leaving...]
<Hanmac>
ReachingFarr: object.is_a?(Module) works for extended too
<ReachingFarr>
Hanmac: Hmm, it didn't work when I just did it in Pry.
venkat has joined #ruby
<ReachingFarr>
MrZYX: This is to see if the user of my library has extended an argument with a provided module. If so, I need to handle that argument a bit differently.
claymore has quit [Ping timeout: 265 seconds]
<havenwood>
ReachingFarr: shouldn't be in ancestors (if extended, right?) but is_a? should work
venkat_ has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
<ReachingFarr>
havenwood: Right, that is what I'll probably end up doing. I'm also checking to see if it is more appropriate to include the module instead of extending it.
<havenwood>
ReachingFarr: Do you want a class methods or instance methods?
krawchyk has quit []
<MrZYX>
ReachingFarr: maybe explain what all this really is about
<shevy>
money
<shevy>
it's all about the money
venkat_ has quit [Read error: Connection reset by peer]
<ReachingFarr>
havenwood: Sorry, having to review code. Haven't touched this project in a while.
venkat has joined #ruby
<ReachingFarr>
It is a class method, so I believe extending is correct.
alvaro_o has joined #ruby
<MrZYX>
shevy: sure,step 1) ruby, step 2) ..., step 3) profit. I'm still interested in step 2) though ;)
trickyhero has joined #ruby
asmodlol has quit [Remote host closed the connection]
polysics has joined #ruby
soahccc has quit [Remote host closed the connection]
Wolland has quit [Remote host closed the connection]
mary5030_ has quit [Ping timeout: 252 seconds]
<ReachingFarr>
I'd actually love to get some feedback from other Rubyists about this project, so I'll post a link as soon as I've pushed the changes I just made to Github.
dEPy has joined #ruby
siwica has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
lukec has quit [Quit: lukec]
sepp2k has quit [Read error: Connection reset by peer]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<havenwood>
Hanmac: ahh, interesting ;) that is neat
achru has joined #ruby
pixelgremlins has joined #ruby
<theodorDiaconu>
hello all, I'm using ubuntu, and I encounter lots and lots of problems with bundler, gem and capifony. let's start with bundler, I get this upon bundle install: http://pastebin.com/1YiSqdKH
venkat has quit [Read error: Connection reset by peer]
<havenwood>
theodorDiaconu: You need to be able to build native extensions for gems that have them.
<theodorDiaconu>
ok
gja has quit [Quit: This computer has gone to sleep]
<ReachingFarr>
MrZYX: Did you take a look at the links posted?
<ReachingFarr>
If not, that's fine, but you asked what this was about :-)
<Hanmac>
havenwood: #parameters is not C-aware that means for C functions it does not work
zeade has quit [Ping timeout: 272 seconds]
venkat has joined #ruby
zeade has joined #ruby
coca_rails has joined #ruby
<MrZYX>
ReachingFarr: quickly. you use tabs for indentation so the code is hard to read (on github) and I've no clue what it is about
<havenwood>
Hanmac: aha, crazy. i've never used it!
sambao21 has quit [Ping timeout: 272 seconds]
<ReachingFarr>
MrZYX: Haha, yeah. I wish there was a way to adjust Github's tab indent size.
achru has quit [Ping timeout: 248 seconds]
camilasan has joined #ruby
<ReachingFarr>
MrZYX: This is an implementation of pattern matching in Ruby. The helper functions in the test file are the best example.
Hanmac1 has joined #ruby
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
maxmanders_ has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
jerius has quit [Ping timeout: 260 seconds]
aantix has quit [Quit: aantix]
freerobby has joined #ruby
<MrZYX>
well most ruby people use two spaces
venkat__ has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
mojjojo has joined #ruby
venkat_ has joined #ruby
asteros has joined #ruby
mary5030 has joined #ruby
ndrei has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
venkat has quit [Ping timeout: 260 seconds]
ereslibre has quit []
coca_rails has quit [Ping timeout: 240 seconds]
juristic has joined #ruby
maasha has joined #ruby
<ReachingFarr>
MrZYX: Yeah, and I do appreciate the community momentum behind that, but I don't think it gives enough visual cue for different levels of blocks.
fantazo has joined #ruby
maxmanders_ has quit [Client Quit]
<ReachingFarr>
MrZYX: And people can always set tabs to be two spaces on their own editor.
zigomir has joined #ruby
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
maxmanders_ has joined #ruby
rootshift has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
banjara has joined #ruby
<maasha>
Hi
venkat has quit [Read error: Connection reset by peer]
ktosiek has joined #ruby
mikepack has quit [Remote host closed the connection]
venkat has joined #ruby
siwica has quit [Remote host closed the connection]
ereslibre has joined #ruby
ereslibre has joined #ruby
ereslibre has quit [Changing host]
nfk has quit [Quit: yawn]
<havenwood>
ReachingFarr: Any editor worth salt has soft tabs. Two-space soft-tabs ftw.
venkat has quit [Read error: Connection reset by peer]
<havenwood>
ReachingFarr: It is a pretty strong convention in the Ruby community (heck, even starting to see Bash projects move that way.. :O)
<ReachingFarr>
havenwood: Right, but I like tabs to be 5 spaces. Someone else can set tabs to be two spaces on their machine... but I'd rather not re-start one of the great holy wars here.
venkat has joined #ruby
<havenwood>
ick
<havenwood>
:P
mikepack has joined #ruby
<ReachingFarr>
Any comments on the code besides on my indenting style? :-D
leonidlm has joined #ruby
shaunbaker has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
figgleberry has quit [Ping timeout: 265 seconds]
agent_white has joined #ruby
shaunbaker has joined #ruby
venkat has joined #ruby
asteros has quit [Quit: asteros]
Cephalostrum has quit []
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
asteros has joined #ruby
kristiandelay has quit [Remote host closed the connection]
bambuka has quit [Remote host closed the connection]
nhhagen has joined #ruby
<waxjar>
ReachingFarr: the match_test_* methods is how it's used?
venkat_ has joined #ruby
<ReachingFarr>
waxjar: Yup, the match_tester_* methods.
venkat has quit [Read error: Connection reset by peer]
zeade has quit [Ping timeout: 272 seconds]
<waxjar>
(also please start using spaces, it's not just the indentation that's off, but also the alignment ;))
cbetta_afk is now known as cbetta
<ReachingFarr>
I am going to start using spaces for alignment.
camilasan has quit [Ping timeout: 246 seconds]
<atmosx>
vim uses tabs I think
coffeina has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<atmosx>
by default
venkat has joined #ruby
<lethjakman>
does abstract! do anything?
<havenwood>
don't most vim users just change that though?
<lethjakman>
or is it just notation?
<snkcld>
is it possible to trace a block, and to print out each function name which is executed in that block?
<snkcld>
i want to see whats going on exactly, inside a specific block
danshultz has quit [Read error: Connection reset by peer]
<lethjakman>
havenwood: definitely
shaunbak_ has joined #ruby
danshultz has joined #ruby
cbetta is now known as cbetta_afk
<havenwood>
ReachingFarr: Some people would say avoid `and` and `or` but since you're properly using for flow control i see no prob.
<waxjar>
ReachingFarr: it looks pretty nice, tho the Foo.(...) stuff is very unclear
venkat has quit [Read error: Connection reset by peer]
mengu has quit []
<atmosx>
havenwood: don't know, I'm hardly *most vim users*, I don't see any reason to change the identation, works fine for me as it is.
noyb has joined #ruby
venkat has joined #ruby
<havenwood>
ReachingFarr: Seems like maybe worth pulling content of Fixnum/Float/String at the end into a module to include, just to DRY up a bit
bradhe has joined #ruby
Spami_ has quit [Quit: This computer has gone to sleep]
Jetchisel has joined #ruby
lioninawhat has joined #ruby
Loaft has joined #ruby
<havenwood>
ReachingFarr: using ternary like `@block ? env.instance_exec(&@block) : nil` is usually preferred to a one-line if/else/end: @block ? env.instance_exec(&@block) : nil
<ReachingFarr>
havenwood: I was debating that. I want people to be able to include the specific features they want out o my library, so I put the pattern matching stuff all in a single file. If people were just going to require the entire library I could definitely put those extensions into their own files.
habanany1 has quit [Remote host closed the connection]
shaunbaker has quit [Ping timeout: 260 seconds]
venkat_ has quit [Read error: Connection reset by peer]
asteros has quit [Quit: asteros]
smitjel has joined #ruby
<ReachingFarr>
havenwood: NP. Thanks for taking a look at this. This is all features I wanted for Ruby, but I didn't know if anyone else would use them.
Virtualize has quit [Quit: Leaving...]
venkat has joined #ruby
spyderman4g63 has quit []
<havenwood>
ReachingFarr: an option for lines like 194 is to use #pred instead of #-(1), which i kinda like but usually you see people use `- 1`
jhaals has joined #ruby
<havenwood>
pred/succ
<havenwood>
instead of -1/+1
dodosan has joined #ruby
leksfarm has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 246 seconds]
<havenwood>
ReachingFarr: I don't get what it does, but I don't see anything wrong either! :P
agent_wh1te has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
agent_wh1te has quit [Client Quit]
agent_wh1te has joined #ruby
lethjakm1 has joined #ruby
<ReachingFarr>
havenwood: It's a way to quickly match patterns in structures and extract values out of the structures and assign them to variables.
venkat_ has quit [Read error: Connection reset by peer]
lethjakman has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
<havenwood>
aha
dblessing_ has joined #ruby
mehlah has joined #ruby
Hobogrammer_ has joined #ruby
OBecki has left #ruby [#ruby]
kristiandelay has joined #ruby
<ReachingFarr>
havenwood: Imagine you have a complicated tree data structure and you wanted to handle several different forms this tree could take on. Rather than writing a bunch of if-statements and accessors you can match on the types and assign values to names. You see this feature a lot in functional languages like OCaml
vlad_starkov has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
<atmosx>
anyone good with HAML?
tyl has quit [Remote host closed the connection]
sassamo has quit [Read error: Connection reset by peer]
<jkamenik>
atmosx: as good as any, why?
tyl has joined #ruby
sassamo has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
jerius has joined #ruby
<centrx>
dEPy, What is the error?
venkat has joined #ruby
<dEPy>
centrx: no error, the result just is not printed, like it's empty
vlad_starkov has joined #ruby
<dEPy>
centrx: but if I print it out just after I get the result it's there
cjsarette has joined #ruby
<dEPy>
just not printed when I call the block with it
vlad_starkov has quit [Remote host closed the connection]
sambao21 has quit [Ping timeout: 272 seconds]
<atmosx>
In this gist: https://gist.github.com/atmosx/8529163 I'm using the variable @user in line 14. Can I somehow use the choice made below? Like if I do something like '@chosen_user = user' can I use '@chosen_user' later on in order to make some selection based on the prior selection?
venkat has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
tyl has quit [Client Quit]
venkat has joined #ruby
klaut has quit [Ping timeout: 272 seconds]
tyl has joined #ruby
zz_cephalostrum is now known as cephalostrum
venkat_ has joined #ruby
kpshek has quit []
venkat has quit [Read error: Connection reset by peer]
<cephalostrum>
test
<cephalostrum>
what
<jkamenik>
atmosx: depend on what you want to do
<jkamenik>
atmosx: I will comment on the gist
<atmosx>
jkamenik: I need a second %select down which depends on the one above
<atmosx>
jkamenik: okay thanks for your time :-)
_Andres has quit [Read error: Connection reset by peer]
<centrx>
dEPy, Very strange
zoscoy has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<dEPy>
centrx: why, does it work for you?
scarolan has joined #ruby
venkat has joined #ruby
scarolan has quit [Client Quit]
<centrx>
hmm I guess this is complete code?
venkat_ has quit [Read error: Connection reset by peer]
<apeiros>
lethjakman: no. I'd suggest to use the Mail gem
venkat_ has joined #ruby
<atmosx>
pony?
<lethjakman>
apeiros: is it pretty light? I was looking at pony too. I'm already using actionmailer, but it doesn't support multiple clients and I need a sendmail one as well as my smtp
<apeiros>
clients?
<apeiros>
are you sure you're talking about sendmail?
<atmosx>
sendmail?
<atmosx>
lol
<apeiros>
atmosx: pony builds up on the mail gem. but yes, an option.
cbetta_afk is now known as cbetta
<apeiros>
lethjakman: it's easy to use.
venkat_ has quit [Read error: Connection reset by peer]
<apeiros>
I don't know what you consider light. I suggest you check yourself.
<lethjakman>
sorry, I mean I need to have some things come out of sendmail and others to go through my smtp server
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
fantazo has quit [Ping timeout: 252 seconds]
banjara has joined #ruby
prc has joined #ruby
venkat has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
shaunbaker has joined #ruby
justsee has joined #ruby
justsee has quit [Client Quit]
burlyscudd has quit [Quit: Leaving.]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
Xiti has quit [Quit: Leaving]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
venkat has joined #ruby
Pixels has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
deens has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
camilasan has quit [Ping timeout: 260 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
banjara has quit [Quit: Leaving.]
burlyscudd has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
shime has joined #ruby
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
asteros has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
shaunbaker has quit [Remote host closed the connection]
sparrovv has joined #ruby
m00nlight has joined #ruby
venkat has quit [Read error: Connection reset by peer]
mrsolo has quit [Quit: This computer has gone to sleep]
robert_ has joined #ruby
venkat has joined #ruby
kbouwser has quit [Quit: Computer has gone to sleep.]
RoryHughes has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
coca_rails has joined #ruby
venkat has quit [Read error: Connection reset by peer]
Deele has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
micahf has quit [Ping timeout: 260 seconds]
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
Hanmac1 is now known as Hanmac
mansi has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
mansi has joined #ruby
venkat has joined #ruby
beneggett has joined #ruby
ndrei has joined #ruby
bradhe has joined #ruby
nhhagen has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
interactionjaxsn has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
tacos1de has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
magoo has quit [Quit: WeeChat 0.4.2]
Hanmac1 has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
<Hanmac1>
ping shevy
venkat has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
venkat_ has quit [Read error: Connection reset by peer]
Hanmac has quit [Ping timeout: 252 seconds]
RoryHughes has quit []
tjbiddle has joined #ruby
RoryHughes has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
Wolland has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
coder_neo has joined #ruby
venkat has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
RoryHughes has joined #ruby
bitri is now known as justinbleeber
waxjar has quit [Ping timeout: 248 seconds]
venkat_ has joined #ruby
jobewan has joined #ruby
<jobewan>
if I have a question about an erb file, is this the right spot?
waxjar has joined #ruby
bean__ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
clevermatt has quit [Remote host closed the connection]
dodosan has joined #ruby
spider-mario has quit [Remote host closed the connection]
olivier_bK has joined #ruby
BraddPitt has quit [Quit: Leaving]
sailias has quit [Quit: Leaving.]
ndrei has joined #ruby
venkat has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
kpshek has quit [Ping timeout: 252 seconds]
Red_Onyx has joined #ruby
venkat has quit [Read error: Connection reset by peer]
jfoy has quit [Quit: jfoy]
venkat_ has joined #ruby
jfoy has joined #ruby
jfoy has quit [Client Quit]
baordog_ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
dodosan has quit [Ping timeout: 264 seconds]
venkat has joined #ruby
jfoy has joined #ruby
jfoy has quit [Client Quit]
jfoy has joined #ruby
mklappstuhl has quit [Ping timeout: 260 seconds]
venkat_ has joined #ruby
kirun has quit [Quit: Client exiting]
rubyracer has quit [Quit: Konversation terminated!]
monkegjinni has joined #ruby
DrShoggoth has quit [Quit: Leaving]
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Aryasam has joined #ruby
banjara has joined #ruby
venkat has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
coca_rails has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
kpshek has joined #ruby
claymore has quit [Quit: Leaving]
mansi has joined #ruby
iliketurtles has joined #ruby
iliketurtles has quit [Excess Flood]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
artgoeshere_ is now known as artgoeshere
jclarke has joined #ruby
justsee has quit [Quit: leaving]
pu22l3r_ has joined #ruby
vlad_sta_ has quit [Ping timeout: 272 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
sambao21 has quit [Ping timeout: 246 seconds]
RoryHughes has quit []
venkat_ has quit [Read error: Connection reset by peer]
aboudreault has quit [Ping timeout: 246 seconds]
venkat has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
BraddPitt has joined #ruby
DaZ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
tulak has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
venkat has joined #ruby
MrZYX is now known as MrZYX|off
deens has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
danshultz has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
venkat has quit [Read error: Connection reset by peer]
banjara has quit [Quit: Leaving.]
robbyoconnor has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
venkat has joined #ruby
mityaz has quit [Quit: See ya!]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
mary5030 has quit [Remote host closed the connection]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
danshultz has quit [Ping timeout: 272 seconds]
phinfone_ has joined #ruby
kpshek has quit []
venkat_ has quit [Read error: Connection reset by peer]