<Fractional>
Yes, does it look well documentated for you? (The method)
<bnagy>
but yeah, although I want to know if it's returning a new array or modifying the array I pass
habanany has joined #ruby
<Fractional>
bnagy: Thanks, will add that! :)
jailbot has quit [Remote host closed the connection]
mojjojo has quit [Client Quit]
shadoi has joined #ruby
Davey has joined #ruby
fgo has joined #ruby
punkzioc has quit [Quit: Leaving]
rootshift has joined #ruby
<workmad3>
bnagy: hmm... with a sorting algo, I'd expect a wiki page to give a bit more detail about the analysis of the algo than an implementation would
jtdowney has joined #ruby
mojjojo has joined #ruby
meatherly has quit [Remote host closed the connection]
<workmad3>
bnagy: i.e. it wouldn't be obvious from most implementations if a sorting algo had worst-case performance of O(n^2) or was O(n log n) all the way, etc
jtdowney has quit [Client Quit]
<Fractional>
Thank you all for your help by the way, I greatly appreciate it! :)
agjacome has joined #ruby
meatherly has joined #ruby
jtdowney has joined #ruby
<workmad3>
bnagy: which I guess is an indication of something that *would* be useful in a comment :)
pel_daniel has left #ruby [#ruby]
<workmad3>
Fractional: btw, it *really* doesn't boost confidence when the comment examples of output are incorrect ;)
<workmad3>
Fractional: and I'd be really quite surprised if a sorting algorithm gave '[1, 1, 4, 7, 6, 1]' as sorted output :D
habanany has quit [Ping timeout: 272 seconds]
<Fractional>
workmad3: Emberassing moment -sighs- xD
agjacome has quit [Client Quit]
mojjojo has quit [Client Quit]
<Fractional>
Sorry, it is edited now :P
agjacome has joined #ruby
vlad_starkov has joined #ruby
mojjojo has joined #ruby
zxd has quit [Ping timeout: 260 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jfelchner has joined #ruby
meatherly has quit [Ping timeout: 260 seconds]
<workmad3>
heh
<Fractional>
Commenting guidelines, where art thou?
vlad_starkov has quit [Read error: Connection reset by peer]
terrellt has joined #ruby
monkegjinni has joined #ruby
yasushi has quit [Remote host closed the connection]
<workmad3>
Fractional: my basic commenting guideline - can I get away with not writing this comment and instead have code or a test say what the comment would?
<workmad3>
Fractional: if I can (and it's usually the case), no comment necessary
<centrx>
Self-documenting code is the best
<workmad3>
Fractional: otherwise, write the absolute bare minimum
<centrx>
Most of my comments are either "TODO" items, or explanations of provisional work-arounds
<workmad3>
Fractional: things to especially stay away from - comments that describe the implementation
tyl has joined #ruby
figgleberry has joined #ruby
<Fractional>
workmad3: What do you mean by that Workmad? Like comments explaining how you came to the idea of doing it so?
<workmad3>
Fractional: if you want to do that, put it in your commit history
<Fractional>
workmad3: Seems uneccesary :P
<centrx>
A comment like that could be helpful for you personally, or be good for your grade
sassamo has quit [Read error: No route to host]
<centrx>
For a non-academic project with multiple developers though, workmad3 has it right
<workmad3>
Fractional: what I was meaning is comments like 'this line recurses into the left and right arrays from the pivot'
drumsrgr8forn8 has quit [Ping timeout: 260 seconds]
sassamo has joined #ruby
<benzrf>
should i use arr or ary?
<centrx>
Fractional, There are ways you could Rubyfy the code more, but it looks good
tkuchiki has joined #ruby
<centrx>
benzrf, How about "array"
<benzrf>
bah
<Fractional>
benzrf: Thanks :D
<centrx>
benzrf, Or name it by what it contains, not by the data type
<workmad3>
Fractional: I'd personally also prefer something like 'ary.insertion_sort' rather than 'insertionsort(ary)'
<Fractional>
workmad3: Sounds fair enough, I'll get working! :)
<workmad3>
Fractional: but I'd also tend to stay away from implementation-dependent names (hence the existing 'ary.sort' method)
mojjojo has quit [Quit: mojjojo]
hypnosb has joined #ruby
prc has left #ruby [#ruby]
venkat has joined #ruby
<benzrf>
centrx: it's a loop thingy though
<workmad3>
Fractional: if you wanted a bit of a project, you could extend the existing .sort method so you could specify the sorting algo to use , e.g. ary.sort(:bubble), ary.sort(:insert), ary.sort(:default)
<centrx>
benzrf, If that is really what it is, call it loop_thingy
<hypnosb>
Hi I want to identify rows in an array but with multiple positions, so like: pos = [5,[4,1],2 but when I loop through I get 5 4 1 2 ... I'd expect to have to loop through twice? what am I looking for?
<hypnosb>
so like the first index is row 0 at row 5, row 1 with positions 4 and 1
<centrx>
hypnosb, Is that what are you are seeing as console output? It might just be how it looks when an array is printed
monkegjinni has quit [Remote host closed the connection]
zz_karupanerura is now known as karupanerura
<hypnosb>
yes
wildroman2 has joined #ruby
<hypnosb>
puts i
monkegjinni has joined #ruby
<benzrf>
hypnosb: you want p i
coca_rails has quit [Remote host closed the connection]
<benzrf>
hypnosb: puts turns things 'displayable'
Davey has quit [Quit: Computer has gone to sleep.]
<hypnosb>
ohh yeah
<benzrf>
hypnosb: p keeps them the same as you see in irb
<hypnosb>
you tha man
<hypnosb>
thanks
duggiefresh has joined #ruby
duggiefresh has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 272 seconds]
_Andres has quit [Ping timeout: 272 seconds]
<workmad3>
def p(thing); puts thing.inspect; thing; end <-- sample implementation of 'p' :)
mojjojo has joined #ruby
jtdowney has quit []
<hypnosb>
plz show off moar
peterhu has quit [Quit: reboot for kernel update]
<workmad3>
hypnosb: you could also use 'print'
<workmad3>
hypnosb: which is kinda equivalent of 'puts thing.inspect' ;)
venkat has quit [Ping timeout: 252 seconds]
<benzrf>
workmad3: false
<benzrf>
workmad3: print is like puts but stripping out newlines
<hypnosb>
hey is there an online ruby ide other than try ruby that is more robust?
<shevy>
beginner_coder that's why my favourite variable is _
Hobogrammer has quit [Ping timeout: 260 seconds]
<beginner_coder>
Hold on wtf, you said we.
olivier_bK has quit [Ping timeout: 252 seconds]
<havenwood>
i'd rather talk about the Ruby weight loss show
<beginner_coder>
Are you an occultist or a freemason dorei?
mspah_ has quit [Client Quit]
MatthewsFace has quit [Client Quit]
mspah_ has joined #ruby
MatthewsFace has joined #ruby
MindfulMonk has quit [Ping timeout: 260 seconds]
<godd2>
shevy the Scala _ or the Ruby _
cj3kim has joined #ruby
brennanMKE has joined #ruby
<dorei>
beginner_coder: i'm an atheist, atheists aint allowed at freemason lodges
RoxasShadowRS has quit [Quit: Leaving]
<beginner_coder>
So why did you say of course we exist
mspah_ has quit [Quit: This computer has gone to sleep]
MatthewsFace has quit [Quit: This computer has gone to sleep]
IceDragon has quit [Quit: Space~~~]
<havenwood>
dorei: whew, we're safe!
<agent_white>
shevy: I call my dog's toys their 'babies'. I think they all are neglectful parents.
<havenwood>
dorei: do they have a don't ask don't tell policy though?
cpruitt has joined #ruby
cpruitt has quit [Client Quit]
smathieu has quit [Read error: Connection reset by peer]
Asher has joined #ruby
smathieu has joined #ruby
MatthewsFace has joined #ruby
mspah_ has joined #ruby
brennanMKE has quit [Ping timeout: 272 seconds]
kristiandelay has joined #ruby
Azure has joined #ruby
Butcho has joined #ruby
bradhe has joined #ruby
<dorei>
havenwood: i think the only requirement to accept someone at a lodge is to believe in some sort of a higher being, call it whatever u wish, jehova, allah, thor, zeus, etc.
<havenwood>
he doesn't want to require, but to use the binary i'm figuring, we're talking cap
<shevy>
pragmatism I wanna find out what name women give their gems
<masterkorp>
found
<shevy>
a binary?
<shevy>
then that is even easier!
<masterkorp>
cap _2.x.x_ deploy
<masterkorp>
see no use for that
<pragmatism>
shevy: I don't think one should be able to tell the difference
<shevy>
pragmatism true. there are stupid names and good names
<pragmatism>
The names should serve the people using the gems, not the authors
<havenwood>
shevy: very easy, full path, done.
<shevy>
agreed
<shevy>
havenwood yeah!
icantbecool has joined #ruby
icantbecool has left #ruby [#ruby]
<shevy>
I have almost 20.000 aliases :-)
rudisimo has joined #ruby
<shevy>
all stored in yaml files
<godd2>
pragmatism lol why would it be relevant than women write code for naming a gem clitt to be unprofessional?
<godd2>
surely it would be unprofessional regardless
<shevy>
now you see how difficult it is to move to 2.1 with all my invalid yaml files!
<havenwood>
shevy: rofl
<shevy>
well
<pragmatism>
godd2: You're missing the point, it's ridiculous regardless.
<shevy>
clitt does not really convey a lot of useful information to the project at hand
<pragmatism>
godd2: "womanizer" for example, is both sexist and shitty
<shevy>
it is sexist?
kpshek has joined #ruby
<shevy>
what's bad with it?
<godd2>
yea but that would be true (if it is) whether or not women write code
<havenwood>
progrock: lolita doesn't offend me unless in a gross context, just a name
<pragmatism>
I'm making the argument that gem names should be playful, professional, and non-offesive
meatherly has quit [Read error: Connection reset by peer]
<godd2>
so why bring it up?
LekeFly has joined #ruby
<pragmatism>
and maybe even descriptive :O
<pragmatism>
godd2: Because I'm reading through a list of bad gem names?
<havenwood>
progrock: misstell, sry
<shevy>
hehe
<shevy>
poor progrock
<havenwood>
srsly
meatherly has joined #ruby
<shevy>
come to think about it
<shevy>
pragmatism, you have a stupid nick!
<pragmatism>
Oh no!
<godd2>
fair enough, but that can go too far. I vote we never use git because the default for the main branch is "master" which has offensive slavery overtones.
<pragmatism>
shevy: what should I do
<havenwood>
pragmatism: if it is overtly gross it will get yanked, up to the author to be sensible otherwise
<shevy>
pragmatism pick a better one like benzrf
<pragmatism>
godd2: ITT, people missing the point
<pragmatism>
shevy: good call. I was actually gonna go with SJKDLHFKJSDBFLKJSDBFKJH9823421
<shevy>
it should be short
<pragmatism>
havenwood: Dunno if that's true
<shevy>
like praccy
<havenwood>
pragmatism: people also find gem names like `bacon`, `god`, etc offensive
<havenwood>
pragmatism: i don't find bacon or ball gags offensive, some people do
<shevy>
pragmatism I think in the latter cases, these are not real projects
<pragmatism>
havenwood: It definitely doesn't sound good when I talk about the library in front of a client.
<godd2>
Is there a fanny gem? please let there be a fanny gem.
<havenwood>
pragmatism: i'm talking gems, not github repos
<havenwood>
pragmatism: that isn't a gem
<shevy>
godd2 nope no fanny gem
<havenwood>
pragmatism: oh, i lie...
<pragmatism>
havenwood: How did you come to that conclusion?
<havenwood>
pragmatism: well, that is borderline
<havenwood>
pragmatism: i was wrong
<pragmatism>
word
nycjv321 has joined #ruby
<benzrf>
godd2: fanny means butt in the us just fyi
<nycjv321>
what is proper way of profiling Ruby memory usage?
<pragmatism>
I just think there's an argument to be made that the OS community shouldn't use names for libraries that can't be used in 95% of conversations
nari has joined #ruby
<shevy>
nycjv321 benchmark!
<shevy>
what community
<pragmatism>
esp. when referring to the libraries in passing to a client or another professional
<pragmatism>
opens ource
<shevy>
what do I have to do with other people naming their projects
venkat has quit [Remote host closed the connection]
* nycjv321
chestbums benzrf
<nycjv321>
chestbumps*
<benzrf>
godd2: chromebooks do not fn
<shevy>
soahccc hehe
<shevy>
benzrf use xchat!
<nycjv321>
xchat? eh
<benzrf>
xchat is for lusers
* nycjv321
shrugs
<benzrf>
you cant even run it without x
<nycjv321>
benzrf: exactly
<benzrf>
failulure
<shevy>
only noobs can't run X
<shevy>
EVEN WINDOWS USERS CAN
<godd2>
benzrf slide up on the leftmost portion of your touch pad
edwardly has quit [Max SendQ exceeded]
<bnagy>
there's can't and there's won't
IceyEC has joined #ruby
edwardly has joined #ruby
<godd2>
benzrf what version of chromebook do you have? or is there only one?
bradhe has quit [Ping timeout: 252 seconds]
venkat has joined #ruby
<godd2>
try Alt+UpArrow
scarolan has joined #ruby
vpretzel has joined #ruby
<benzrf>
godd2: the samsung one
<benzrf>
alt+up = nothin
<soahccc>
yeah xchat
kpshek has quit [Ping timeout: 272 seconds]
cephalostrum is now known as zz_cephalostrum
gabriha__ has quit [Ping timeout: 272 seconds]
braincrash has quit [Ping timeout: 272 seconds]
lethjakman has quit [Ping timeout: 265 seconds]
<godd2>
"Keyboard fans also should learn that Page Down and Page Up keys can be simulated with the Alt-down-arrow and Alt-up-arrow combinations"
<godd2>
ctrl+alt+up?
kitak has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
zz_cephalostrum is now known as cephalostrum
krz has joined #ruby
<benzrf>
?!
<benzrf>
dafuq?
<godd2>
what, is it something retarded?
<benzrf>
ah
<benzrf>
i can use m-n and m-p
<benzrf>
also retarded rly
aantix has joined #ruby
<godd2>
what does m-n mean?
CaptainJet has quit []
tharindu has quit [Quit: Leaving...]
<benzrf>
meta-n
gja has joined #ruby
gja has joined #ruby
aantix has quit [Client Quit]
ner0x has joined #ruby
sensen has joined #ruby
mocfive has quit [Remote host closed the connection]
m00nlight has quit [Quit: Konversation terminated!]
mocfive has joined #ruby
_maes_ has joined #ruby
blandflakes has joined #ruby
freerobby has quit [Quit: Leaving.]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nwertman has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
<shevy>
emacs is a disease
<shevy>
to the brain
shadoi has quit [Quit: Leaving.]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ner0x>
Is there an easy way to pull hash keys/values into another hash? IE: all_opts = { ... bunch of opts ... }; one_opts = all_opts.get(:height, :width); two_opts = all_opts.get(:size, :weight); etc?
reset has quit [Quit: Leaving...]
gja has quit [Quit: This computer has gone to sleep]
reset has joined #ruby
mocfive has quit [Ping timeout: 260 seconds]
<soahccc>
ner0x: with active support you have slice and except
nwertman has joined #ruby
<ner0x>
soahccc: Thank you. I'll look those up.
alekst has quit [Quit: Computer has gone to sleep.]
snath has joined #ruby
khfeng has quit [Quit: Leaving]
Davey has joined #ruby
chomskiii has quit [Read error: Connection reset by peer]
reset has quit [Ping timeout: 264 seconds]
<ner0x>
soahccc: That did the trick. Thank you sir.
chomskiii has joined #ruby
IceyEC has quit [Quit: IceyEC]
<soahccc>
you're welcome
chomskiii has quit [Read error: Connection reset by peer]
<xybre>
havenwood: holy crap that page took like 3 minutes to load
banjara has joined #ruby
bjhaid has quit [Ping timeout: 272 seconds]
achru has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
<nycjv321>
xybre: mines crashed
<nycjv321>
well bye all
nycjv321 has quit [Quit: leaving]
dukz has joined #ruby
gja has joined #ruby
blandflakes has quit [Quit: leaving]
robbyoconnor has quit [Ping timeout: 272 seconds]
alexlindenlevy has quit [Ping timeout: 272 seconds]
jmeeuwen_ has joined #ruby
kristiandelay has joined #ruby
baroquebobcat has joined #ruby
jmeeuwen has quit [Ping timeout: 245 seconds]
jmeeuwen_ is now known as jmeeuwen
aryaching has joined #ruby
kristiandelay has quit [Ping timeout: 248 seconds]
fire has quit [Quit: WeeChat 0.4.1]
baroquebobcat has quit [Quit: baroquebobcat]
amclain has quit [Quit: Leaving]
aryaching has quit [Ping timeout: 252 seconds]
freerobby has quit [Quit: Leaving.]
retsu1 has joined #ruby
TripTastic has joined #ruby
BrixSat has quit [Remote host closed the connection]
BrixSat has joined #ruby
soba has joined #ruby
nateberkopec has joined #ruby
agent_wh1te has joined #ruby
rezzack has joined #ruby
agent_white has quit [Ping timeout: 264 seconds]
v10energy has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
agent_wh1te has quit [Client Quit]
nateberkopec has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
nateberkopec has joined #ruby
Xeago_ has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
kitak_ has joined #ruby
george2 has joined #ruby
thesheff17 has quit [Read error: Operation timed out]
Xeago has quit [Ping timeout: 246 seconds]
<agent_white>
Fuck yes that feel when Puppet works the first time, no issues whatsoever.
<george2>
Is there an easy way to check if an element exists in a list before another specific element? For example, I want to return true if the list has 'a' before 'i': ['a', 'b', 'i'] => true, ['i', 'a', 'd'] => false.
kitak has quit [Ping timeout: 245 seconds]
<xybre>
george2: array.find{|e| break false if e == "i"; break true if e == "a" }
dodosan has joined #ruby
<george2>
nice
nateberkopec has quit [Ping timeout: 252 seconds]
<havenwood>
though should just use #each for the above methinks
<havenwood>
or yeah, rely on "a"'s truthiness: array.find { |e| break false if e == 'i'; e == 'a' }
<xybre>
Same result, but using find instead of each is more intent-revealing.
zxd has joined #ruby
<havenwood>
but you're not using #find, i guess i just disagree
<xybre>
havenwood: that wouldn't return `true`, it would return "a". May or may not matter.
angusiguess has joined #ruby
<havenwood>
like i said, if just truthiness matters
<havenwood>
xybre: how bout we compromise and say #map, because it is the shortest! :P
MatthewsFace has quit [Quit: This computer has gone to sleep]
mspah_ has quit [Quit: This computer has gone to sleep]
monkegjinni has joined #ruby
<george2>
what's the difference between find and each?
<xybre>
I considered that :p but either #each or #find are fine. #each is probably slightly more efficient while #find makes it a little more intuitive to the reader.
angusiguess has quit [Ping timeout: 260 seconds]
<havenwood>
xybre: except for readers like me who expect #find to be used like... #find :P
<xybre>
george2: #find returns the first matching element, no more. #each returns the original object.
<xybre>
havenwood: Its not being used like #each either.
<havenwood>
sure it is, an each that is broken early
<xybre>
Or a find thats broken early :p
bradhe has quit [Ping timeout: 272 seconds]
ctp has quit [Ping timeout: 272 seconds]
Soda is now known as Guest11248
Al___ has joined #ruby
monkegjinni has quit [Ping timeout: 260 seconds]
<havenwood>
hehe
maletor has joined #ruby
<agent_white>
Well doesn't each needs to iterate through the whole array, right? Might be excessive if the two vals are at the very end.
<havenwood>
agent_white: if you knew where they were ahead of time? to find stuff we iterate!
diegoviola has joined #ruby
fgo has joined #ruby
thesheff17 has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
carif has quit [Ping timeout: 260 seconds]
<havenwood>
agent_white: oh, no, if you break #each stops
<agent_white>
havenwood: Just curious ;) I'm just thinking of the array was HUGE
<havenwood>
agent_white: just got what you meant
<havenwood>
agent_white: xybre's code breaks if it finds what you're looking for, and if it doesn't find it you need to go to the end to make sure it isn't there
Barrin6 has quit [Quit: Leaving]
jamest3 has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
heftig has quit [Quit: Quitting]
mocfive has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
<george2>
So, class variables are like static variables in C/C++/Java, and member variables are like instance variables? Do I understand that correctly?
Es0teric has quit [Quit: Computer has gone to sleep.]
<havenwood>
george2: Class variables are like nothing else. Do not use them.
<havenwood>
george2: Pretend they do not exist. Full stop.
<george2>
ha
<havenwood>
i'm not kidding!
<george2>
I would, but my assignment says "use a class variable"
dik_dak has quit [Quit: Leaving]
<havenwood>
oooh, you should write that Matz said it was a mistake adding them to the language
Hanmac has joined #ruby
ahmedelg_ has joined #ruby
<havenwood>
and they'll be gone in Ruby 3000, good riddance!!
<Xeago_>
bah
<Xeago_>
now I've already been working for 5 hours
alexfreidah has joined #ruby
<Xeago_>
I feel like toast
gja has quit [Quit: This computer has gone to sleep]
Wolland has quit [Remote host closed the connection]
em0ral has quit [Remote host closed the connection]
krz has joined #ruby
<havenwood>
george2: class variables are very confusing and there isn't really an analog in Java afaik
<havenwood>
george2: sorry i'm no help!
<george2>
I'll just say "havenwood toold me Matz said it was a mistake to add class vars to Ruby", I'm sure that'll get me full credit :p I'll just skip this one then, I'm already not using a hash, and it tells me to do that too.
<havenwood>
lawl
w4pm has joined #ruby
gja has joined #ruby
tagrudev has joined #ruby
<centrx>
nah, class variables are fine
mehlah has quit [Quit: Leaving...]
ahmedelgabri has quit [Ping timeout: 252 seconds]
<havenwood>
centrx: they aren't
ahmedelgabri has joined #ruby
<havenwood>
hence no one using them
zipper has joined #ruby
<havenwood>
@@omgwtfbbqnoooooo
smathieu has quit [Remote host closed the connection]
<centrx>
Then where am I going to put the data I don't store in class instance variables?
<havenwood>
in the class instance variables :P
<havenwood>
centrx: to be fair, there are of course use cases, still not worth it
<havenwood>
imho
<agent_white>
havenwood: I was thinking somethin like `(arr.index val1) <=> (arr.index val2)`
<havenwood>
and in the opinion of the creator of the language
mocfive has quit [Remote host closed the connection]
<havenwood>
agent_white: then you iterate through twice
mocfive has joined #ruby
<agent_white>
havenwood: Ahhh I see... since you have to find the value's index first?
<havenwood>
yup
<agent_white>
Ooo
w4pm has quit [Ping timeout: 248 seconds]
ahmedelgabri has quit [Ping timeout: 264 seconds]
zipper has quit [Ping timeout: 260 seconds]
smathieu has quit [Ping timeout: 265 seconds]
zipper has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
<agent_white>
havenwood: I still want to use that operator sometime, too fancy not to! ;P
<havenwood>
spaceship operator ftw
zxd has quit [Ping timeout: 246 seconds]
<Xeago_>
damn, is that what it is called?
<havenwood>
aye
mocfive has quit [Ping timeout: 252 seconds]
ahmedelg_ has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
centrx has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 252 seconds]
zipper has quit [Quit: leaving]
monkegjinni has joined #ruby
zipper has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
yarou has quit [Quit: This computer has gone to sleep]
ryantm has quit [Ping timeout: 252 seconds]
sLi- has quit [Ping timeout: 272 seconds]
apeiros has quit [Remote host closed the connection]
justinxreese has quit [Ping timeout: 246 seconds]
commandantes has joined #ruby
commandantes has quit [K-Lined]
rezzack has quit [Quit: Leaving.]
_tpavel has quit [Ping timeout: 264 seconds]
Pixels_ has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
maletor has quit [Quit: Computer has gone to sleep.]
ahmedelgabri has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
speakingcode has quit [Ping timeout: 246 seconds]
Wolland has joined #ruby
nanoyak has joined #ruby
pranny has joined #ruby
kitak_ has quit [Remote host closed the connection]
nateberkopec has joined #ruby
digital-ghost has quit [Remote host closed the connection]
<bricker`LA>
Any dev/ops people in here? I have a fairly simple question: In this command, what is the significance of the order of the -m and --state flags?
kitak has joined #ruby
<bricker`LA>
iptables -I INPUT 4 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
krz has quit [Quit: WeeChat 0.4.2]
<bricker`LA>
If any
Asitha has joined #ruby
krz has joined #ruby
<Asitha>
Hi there - I need someone's help to figure out what is wrong with the imgur gem
<Asitha>
I installed the gem and am trying to run $ rake imgur:authorize APP_KEY='Consumer Key' APP_SECRET='Consumer Secret'
<bricker`LA>
*sigh* I should read documentation before I open my dumb mouth: "iptables can use extended packet matching modules. These are loaded in two ways: implicitly, when -p or --protocol is specified, or with the -m or --match options, followed by the matching module name"
<Asitha>
But every time I run it, it says Don't know how to build task 'imgur:authorize'
yacks has quit [Quit: Leaving]
<bricker`LA>
Asitha: how did you install the gem?
<Asitha>
At first I done it via the Gemfile
<Asitha>
bundle install, bundle update
<Asitha>
Didn't work
<Asitha>
So I tried to manually install it
<Asitha>
By cloning the repo
<Asitha>
and installing it
<Asitha>
same thing
<bricker`LA>
Asitha: okay - if you install it via the gemfile, you need to run it with `bundle exec rake imgur:authorize`
<bricker`LA>
that's the way you *should* do it
<Asitha>
okay let me give that a go
bradhe has joined #ruby
<Asitha>
Same issue :(
nateberkopec has quit [Ping timeout: 272 seconds]
<bricker`LA>
Asitha: run `bundle exec rake -T` and confirm that there are imgur tasks present
bluOxigen has joined #ruby
rdark has joined #ruby
<Asitha>
doesn't look like it is listed there
thumpba_ has joined #ruby
<bricker`LA>
ah
<bricker`LA>
Asitha: where did you see the rake tasks?
<bricker`LA>
I mean, what told you to run that command?
<tobago>
therefore i want to calculate using BigDecimal (for precision reasons)
Kricir has joined #ruby
<godd2>
You don't need BigDecimal for the level of precision necesssary for a BMI calculation
<tobago>
but BigDecimal expects a string, instead of integer.
<tobago>
godd2, which class to use for correct precision?
<godd2>
You'd be fine with FLoat
kristiandelay has quit [Ping timeout: 264 seconds]
<tobago>
godd2, o.k.?
smathieu has joined #ruby
<tobago>
godd2, didn't expected Float to be sufficient
<godd2>
Float is precise to 15 decimal places
<godd2>
way more than any scale or tape measure is going to give you data of
h_kon has joined #ruby
<RubyPanther>
You dont need it for precision, only for accuracy ;)
jfelchner has quit [Read error: Connection reset by peer]
<RubyPanther>
floats are for graphics and stuff where 3.999999 is the same as 4
jfelchner has joined #ruby
<RubyPanther>
Things like BMI that end up with numbers for human consumption should use accurate math
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Ping timeout: 246 seconds]
<godd2>
I'll put it this way tobago, 10^-15 meters is smaller than an atom. I doubt you need to know how tall you are in atom diameters
smathieu has quit [Ping timeout: 260 seconds]
<RubyPanther>
Sure, I doubt a 2m customer would mind at all if you round it off it 2m-(10^-15)! Especially when your website might then show 1.99
<RubyPanther>
If you know you're rounding to human consumable numbers, then the max you round is the max error you get from using floats, not the same as the un-rounded error (which is small)
<bricker`LA>
What is +@? I've seen it somewhere. The "plus" method on Numeric is defined as: rb_define_method(rb_cNumeric, "+@", num_uplus, 0);
<alex88>
also, height in meters isn't height in millimiters * 1000 not / 1000?
<bricker`LA>
but I think I've seen it somewhere else
sensen has joined #ruby
<godd2>
alex88 no, 1000 millimeters is 1 meter. 1000/1000 = 1
<tobago>
alex88, no. 1 meter is 1000 millimeter
ndrei has quit [Ping timeout: 252 seconds]
<godd2>
remember, you need lots of tiny things to make one big thing
aganov has joined #ruby
<bricker`LA>
tmyk
<RubyPanther>
bricker`LA: that is unary plus not the regular plus
<alex88>
holy shit :) hate being just woke up :D
* alex88
goes in the corner
<tobago>
godd2, RubyPanther what about comparing floats? see my example.
<RubyPanther>
comparing is meaningless
jfelchner has quit [Read error: Connection reset by peer]
<RubyPanther>
rounding is a real problem, in fact, a show-stopper
<godd2>
tobago if the associativity property of addition holds, then that comparison should result in true
<RubyPanther>
You just can't use floats wherever you have something smaller than an int ;) they are actually only useful for certain types of numbers
jfelchner has joined #ruby
<tobago>
godd2, good point. the formula will be the same in any way.
<godd2>
but RubyPanther is right, you'll want to be careful of weird rounding errors and make sure to round results to the nearest whatever you like when you get the chance
<RubyPanther>
Humans place value on round numbers, BMI of 22.9 and 23 are not the same, and you'd probably never show a 22.99999999999999999 and if you did, the user would likely not see it as being 23
<bricker`LA>
RubyPanther: ahhh
<tobago>
godd2, RubyPanther do you mean to calculate in millimeters/gramm?
<bricker`LA>
RubyPanther: I think, perhaps, where I've seen it is when being redefined, i.e. `class Numeric; def +@; self + 1; end; end`
<bricker`LA>
RubyPanther: thanks
<tobago>
RubyPanther, just thought that way i could calculate using integers?
bradhe has joined #ruby
<RubyPanther>
tobago: Why kludge your numbers when Ruby gives an accurate decimal class already?
nateberkopec has joined #ruby
<tobago>
RubyPanther, Shall I use BigDecimal?
<RubyPanther>
tobago: I probably would
jprovazn has joined #ruby
renklaf has joined #ruby
<godd2>
tobago: it's okay to have differing opinions on the subject. Personally, I would go the integer route with smaller units.
<tobago>
RubyPanther, so it comes to my first question: is there a nicer way than BigDecimal(weight.to_s)? preventing string conversion
ndrei has joined #ruby
<godd2>
whatever makes more sense to you. Just make sure you account for pitfalls either way
zigomir has joined #ruby
<RubyPanther>
in my dec_number gem I used a backwards coerce so that if I add a float to a dec_number it always gives back a dec_number. You can also monkeypatch BigDecimal to do that
<RubyPanther>
tobago: The string conversion is harmless
<tobago>
RubyPanther, o.k. so you woulf go for it, right?
<tobago>
would
<RubyPanther>
yeah
robbyoconnor has quit [Read error: Connection reset by peer]
<tobago>
RubyPanther, thanks you for your helping answers and insights.
zxd has joined #ruby
<tobago>
godd2, thank you also.
<godd2>
no prob
bradhe has quit [Ping timeout: 272 seconds]
<Asitha>
I'm wanting to use a text editor for my site, but didn't want to host any of the uploaded images there. Is there any gem you guys would recommend for me to use?
<Asitha>
or even editor
nateberkopec has quit [Ping timeout: 272 seconds]
<godd2>
Asitha you mean like on your server?
germanstudent has quit [Quit: raus]
<Asitha>
yeah
<Asitha>
I'm looking at using AWS's S3 service
<godd2>
Ah I haven't used AWS. I just have a Linux VPS that I use Vim on.
<RubyPanther>
Asitha: S3 is the canonical thing that gets recommended, yes
<Asitha>
Is there any image uploading gem you would recommend I use with it then?
<Asitha>
Can't really use paperclip since that's more of a single use uploader
tyl has joined #ruby
prc has quit [Read error: No route to host]
apeiros has joined #ruby
<godd2>
Check out Carrierwave or Paperclip perhaps?
prc has joined #ruby
<Asitha>
Need something that works for an editor where multiple images will be uploaded
timonv has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
<godd2>
You mean users will be editing the images in their browser? Or just managing overall files?
ndrei has joined #ruby
<Asitha>
managing overall files
<Asitha>
So basically they log on to the site
<Asitha>
The want to contribute a post, they go to the editor
blaxter_ has joined #ruby
<Asitha>
Then in the editor, there's a button to insert an image - they select the local file, file is uploaded and a url is returned to be added to the editor
<godd2>
is this for a rails app?
robbyoconnor has joined #ruby
<Asitha>
yeah
<godd2>
ah then try the folks at #rubyonrails
ctp has joined #ruby
<Asitha>
ah right
<Asitha>
thanks
<godd2>
they have more working knowledge of that kinda stuff. No prob :)
ohwhoa has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
nomenkun_ has joined #ruby
mengu has quit [Remote host closed the connection]
claymore has joined #ruby
Kricir has joined #ruby
kenndel has quit [Ping timeout: 272 seconds]
ahawkins has joined #ruby
einarj has joined #ruby
TejasDinkar has joined #ruby
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
jfelchner has quit [Read error: Connection reset by peer]
jfelchner has quit [Read error: Connection reset by peer]
jfelchner has joined #ruby
lkba has joined #ruby
himsin has joined #ruby
Hanmac has joined #ruby
Naoe-Kanno has joined #ruby
fgo has quit [Ping timeout: 248 seconds]
Hanmac1 has quit [Ping timeout: 248 seconds]
SHyx0rmZ has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
emanu has joined #ruby
Pixels__ is now known as Pixels_
drakezhard has joined #ruby
noname001__ has joined #ruby
drakezhard has left #ruby [#ruby]
alexfreidah has joined #ruby
drakezhard has joined #ruby
drakezhard has left #ruby [#ruby]
TejasDinkar has quit [Quit: This computer has gone to sleep]
dodosan has quit [Remote host closed the connection]
ewnd9 has quit [Ping timeout: 260 seconds]
figgleberry has joined #ruby
Matriks has joined #ruby
alexfreidah has quit [Ping timeout: 252 seconds]
b00stfr3ak has quit [Ping timeout: 260 seconds]
Matriks_ has joined #ruby
amundj has joined #ruby
nathancahill has quit [Quit: nathancahill]
vlad_starkov has joined #ruby
drakezhard has joined #ruby
dfranciosi has joined #ruby
Matriks_ has quit [Read error: No route to host]
Matriks_ has joined #ruby
figgleberry has quit [Ping timeout: 260 seconds]
Matriks has quit [Ping timeout: 246 seconds]
JasmeetQA has joined #ruby
timonv has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
arctarus has joined #ruby
vlad_starkov has joined #ruby
Elhu has joined #ruby
drakezhard has quit [Ping timeout: 260 seconds]
ahmedelgabri has quit [Remote host closed the connection]
aryaching has joined #ruby
ahmedelgabri has joined #ruby
julweber has joined #ruby
Advocation has joined #ruby
jfelchner has quit [Read error: Connection reset by peer]
jfelchner has joined #ruby
tvw has joined #ruby
tylersmith has joined #ruby
pskosinski_ has joined #ruby
drumusician has joined #ruby
troessner has joined #ruby
_Andres has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
VinceThePrince has joined #ruby
VinceThePrince has quit [Client Quit]
ahmedelgabri has quit [Ping timeout: 260 seconds]
pskosinski has quit [Ping timeout: 240 seconds]
lesliewen1 has quit [Quit: Leaving.]
lesliewen has joined #ruby
MrJoshua has quit [Ping timeout: 248 seconds]
Macaveli has quit [Ping timeout: 264 seconds]
ktosiek has joined #ruby
bradhe has joined #ruby
JasmeetQA1 has joined #ruby
olivier_bK has joined #ruby
ephemerian has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
arturaz has joined #ruby
JasmeetQA has quit [Ping timeout: 246 seconds]
lesliewen has quit [Ping timeout: 272 seconds]
Al___ has joined #ruby
lesliewen has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
claymore has quit [Ping timeout: 272 seconds]
nateberkopec has joined #ruby
multi_io has quit [Ping timeout: 252 seconds]
roolo has joined #ruby
multi_io has joined #ruby
lesliewen has quit [Ping timeout: 260 seconds]
emanu has quit [Quit: emanu]
Cache_Money has quit [Remote host closed the connection]
lesliewen has joined #ruby
gozali has joined #ruby
sski has joined #ruby
claymore has joined #ruby
nateberkopec has quit [Ping timeout: 264 seconds]
dodosan has joined #ruby
dodosan_ has joined #ruby
dodosan has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
camilasan has joined #ruby
wildroman2 has joined #ruby
Elhu has quit [Remote host closed the connection]
RoxasShadowRS has joined #ruby
canton7-mac has joined #ruby
Elhu has joined #ruby
Hiall has quit [Quit: hiall]
Virtualize has quit []
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
dodosan_ has quit [Ping timeout: 246 seconds]
punkzio has joined #ruby
heftig has joined #ruby
ctp has joined #ruby
agent_white has quit [Quit: night]
krz has quit [Quit: WeeChat 0.4.2]
vlad_starkov has quit [Remote host closed the connection]
krz has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
Kricir_ has joined #ruby
eliasp has quit [Ping timeout: 252 seconds]
ctp has quit [Ping timeout: 260 seconds]
wildroman2 has quit [Remote host closed the connection]
fgo has joined #ruby
<Takumo>
Hi all, I'm building a REST API Client Gem, and I'm wondering how to handle creating new resources...
<Takumo>
i.e. r = MyGem::MyResource.new(data = {}); r.save
rootshift has joined #ruby
mehlah has joined #ruby
emanu has joined #ruby
emanu has quit [Client Quit]
<canton7-mac>
see how the other REST gems have done it?
<Takumo>
any good examples out there?
zipper has quit [Ping timeout: 264 seconds]
<pontiki>
maybe look at Savon, which isn't REST, but SOAP
<pontiki>
but it's similar enough, maybe?
Kricir_ has quit [Ping timeout: 264 seconds]
<canton7-mac>
httparty, mechanize (although it does more), rest-client
<canton7-mac>
are the first that come to mind
nari has quit [Ping timeout: 264 seconds]
<pontiki>
i wouldn't have included mechanize, but it could do
<Takumo>
I should be more specific, I'm building a gem on top of Faraday to use a specific REST API
<canton7-mac>
my understanding is that it does an absolute ton of stuff, one bit of which is being an http client
<pontiki>
Savon I suggested because it is more of a wrapper/abstraction. i have to go look into rest-client
<pontiki>
oh
<pontiki>
yes you should be more specific
Mon_Ouie has quit [Ping timeout: 248 seconds]
coder_neo has joined #ruby
workmad3 has joined #ruby
<Takumo>
Why the world needs another generic REST client gem would be beyond me :P
<pontiki>
if there's some, there's always room for more
<Takumo>
But yes, when I'm retrieving resources I've got a #from_response method which adds a reference to the client as an instance property of the resource
magoo has quit [Quit: WeeChat 0.4.2]
reset has joined #ruby
<Takumo>
I'm trying to find an example but all of these gems I can find are far more compelx than mine
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
JBreit has quit [Read error: Connection reset by peer]
shaunbaker has joined #ruby
falood has quit [Remote host closed the connection]
karupanerura is now known as zz_karupanerura
ejnahc has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
dodosan has joined #ruby
vlad_starkov has joined #ruby
ejnahc has joined #ruby
samuel02 has joined #ruby
JBreit has joined #ruby
davidk has joined #ruby
marr has joined #ruby
dawkirst has quit [Ping timeout: 248 seconds]
davidk is now known as Guest96553
dodosan has quit [Ping timeout: 252 seconds]
kristiandelay has joined #ruby
<apeiros>
Takumo: why the world needed another programming language in 1990 is beyond me - there were dozens already. yet I'm happy ruby was created :)
timonv has quit [Remote host closed the connection]
ahmedelgabri has joined #ruby
TMM has joined #ruby
<Takumo>
heh
bradhe has joined #ruby
kristiandelay has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ruby
<Takumo>
still, not sure how I can make MyGem::MyResource.new(data={}).save work , anyone able to take a look over my code and suggest?
renklaf has quit [Remote host closed the connection]
klaut has joined #ruby
robbyoconnor has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
<jxport>
Am I going mad
<Takumo>
yes
<jxport>
Wait for it
<jxport>
..Or was there a .second method like the .first
<jxport>
:)
<jxport>
For arrays, for instance
<apeiros>
jxport: railsism
<jxport>
apeiros: ffs.
<apeiros>
ruby doesn't have Enumerable#second or Array#second
<jxport>
I forget how much Rails goes beyond web-apps
<jxport>
In fact I think that sort of stuff is really going above and beyond what it should
reset has quit [Quit: Leaving...]
<apeiros>
there's a reason why we delegate even superficially "ruby" questions in the rails domain to #rubyonrails
<apeiros>
rails warps enough of ruby to render some basic assumptions invalid. it has gotten better since rails 3, though.
nanoyak has quit [Quit: Computer has gone to sleep.]
afhammad has joined #ruby
<jxport>
I don't know what it is, but something about Rails intimidates me - like I don't really know what's going on.
<jxport>
Padrino on the other hand seems sufficiently featureful, without me feeling like I'm involved in something I probably shouldn't be
aaronmcadam has joined #ruby
aaronmcadam has quit [Remote host closed the connection]
aaronmcadam has joined #ruby
bluenemo has joined #ruby
ctp has joined #ruby
nateberkopec has joined #ruby
fgo has quit [Remote host closed the connection]
roberto_ has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
Tamae has joined #ruby
roberto_ has quit [Client Quit]
wildroman2 has joined #ruby
bambuka has joined #ruby
Squarepy has joined #ruby
afhammad has quit []
monkegjinni has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
monkegjinni has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
seoaqua has quit [Remote host closed the connection]
<mikecmpbll>
ruby folk, i call upon your expertise. i'm having trouble getting a web page with Net::HTTP over SSL
<mikecmpbll>
Errno::ECONNRESET: Connection reset by peer - SSL_connect
<mikecmpbll>
I can get it in the browser just fine, and I can get other SSL pages with Net::HTTP
<Hanmac>
in germany we have a politican named "peer" ... maybe he was the culpit? ;P
danijoo has quit [Read error: Operation timed out]
<kalleth>
what do you guys feel about using dependency injection to inject the current time into methods which operate on the current time?
dodosan has quit [Ping timeout: 260 seconds]
aagdbl_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
thumpba has quit [Ping timeout: 246 seconds]
aagdbl has quit [Quit: Leaving.]
aagdbl_ is now known as aagdbl
<pontiki>
the latter is more versatile
<pontiki>
and more easily tested
<kalleth>
mm, okay
florentferry has joined #ruby
mojjojo has quit [Quit: mojjojo]
drumusician has joined #ruby
Hiall has joined #ruby
renklaf has joined #ruby
Kricir has joined #ruby
zoscoy has joined #ruby
DaniG2k has joined #ruby
Xeago_ has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
zoscoy has quit [Client Quit]
Kricir has quit [Ping timeout: 246 seconds]
dagobah has joined #ruby
ewnd9 has joined #ruby
mojjojo has joined #ruby
prc has quit [Ping timeout: 246 seconds]
thomasxie has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
p8952 has joined #ruby
JPascal has joined #ruby
JPascal has quit [Max SendQ exceeded]
JPascal has joined #ruby
sensen has quit [Quit: leaving]
r0bby_ has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
reset has joined #ruby
r0bby_ has quit [Client Quit]
poulson has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
wildroman2 has joined #ruby
bradhe has joined #ruby
reset has quit [Ping timeout: 252 seconds]
mlpinit has joined #ruby
dukz has joined #ruby
mlpinit has quit [Remote host closed the connection]
mlpinit has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
tziOm has quit [Quit: Leaving]
JasmeetQA has joined #ruby
robbyoconnor has joined #ruby
gozali has quit [Remote host closed the connection]
JasmeetQA1 has quit [Ping timeout: 252 seconds]
mlpinit has quit [Ping timeout: 260 seconds]
Heskie has joined #ruby
nari has joined #ruby
<shevy>
pontiki oh I have specific reasons - I don't need anything bundler gives me. I am quick to throw out code from other people if it does not work or just create my own projects :) Or I simply stick to the latest set of gems, which "gem" handles fine
Hanmac1 is now known as Hanmac
coder_neo has quit [Quit: This computer has gone to sleep]
<shevy>
bundler came out of the rails ecosystem
<pontiki>
i don't really care, shevy :)
<pontiki>
i just like h8ers gonna h9
<Hanmac>
what shevy means it came directly out of the hell ;P
dukz has quit [Remote host closed the connection]
<shevy>
pontiki it's ok, it serves as explanation
dukz has joined #ruby
habanany has joined #ruby
Xeago has joined #ruby
tyl has joined #ruby
<depesz>
hm .. i installed "gd2" gem, but how can I use it to load png file?
<depesz>
I tried "require 'gd2'" but it fails with SyntaxError: /var/lib/gems/1.9.1/gems/gd2-1.1.1/lib/gd2.rb:46: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
tkuchiki has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 272 seconds]
gja has joined #ruby
tkuchiki has joined #ruby
rdark has quit [Quit: leaving]
rdark has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drumusician has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Ping timeout: 246 seconds]
dukz has quit [Remote host closed the connection]
angusiguess has joined #ruby
drumusician has joined #ruby
EngierkO has joined #ruby
EngierkO has quit [Max SendQ exceeded]
EngierkO has joined #ruby
francisfish has quit [Remote host closed the connection]
zxd_ is now known as zxd
timonv has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
browndawg has joined #ruby
Kricir has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
wtfitsme has joined #ruby
predator117 has quit [Ping timeout: 252 seconds]
fire has joined #ruby
VTLob has joined #ruby
stef_204 has joined #ruby
ndrei has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
Pixels__ has joined #ruby
wtfitsme has quit [Client Quit]
Pixels_ has quit [Disconnected by services]
Pixels__ is now known as Pixels_
Elhu has joined #ruby
bradhe has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
reset has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Ping timeout: 260 seconds]
Xeago_ has joined #ruby
mikecmpbll has joined #ruby
mehlah has joined #ruby
browndawg1 has joined #ruby
pranny has quit [Quit: Leaving.]
reset has quit [Ping timeout: 264 seconds]
RaCx has joined #ruby
browndawg has quit [Ping timeout: 252 seconds]
thomasxie has quit [Ping timeout: 252 seconds]
Xeago__ has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
lupine has quit [Read error: Connection reset by peer]
browndawg1 has quit [Client Quit]
ewnd9 has quit [Read error: Connection reset by peer]
ewnd9 has joined #ruby
camilasan has joined #ruby
iaj has quit [Ping timeout: 272 seconds]
lupine has joined #ruby
Xeago_ has quit [Ping timeout: 246 seconds]
skulker has joined #ruby
iaj has joined #ruby
fijimunkii has quit [Ping timeout: 272 seconds]
zeeraw has joined #ruby
himsin has quit [Quit: himsin]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wadawadawsda has joined #ruby
florentferry has quit [Ping timeout: 265 seconds]
droid has joined #ruby
ddv has quit []
bthesorceror has joined #ruby
figgleberry has joined #ruby
p8952 has quit [Quit: Leaving]
MrPopinjay has joined #ruby
end_guy has quit [Remote host closed the connection]
wadawadawsda has quit [Quit: Bye]
p8952 has joined #ruby
falood has joined #ruby
scarolan has joined #ruby
Heskie has joined #ruby
abk has joined #ruby
GreekFreak has joined #ruby
<GreekFreak>
hi all.
Czupa has joined #ruby
<GreekFreak>
I'm not sure if this is the right place, but have any of you found that sometimes vim crashes when trying to open ruby files (esp when trying to open said file with NERDTree of netrw)?
<MrPopinjay>
Can't say I have
<MrPopinjay>
Sounds like a buggy vim extension
Neomex has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
shredding has joined #ruby
nateberkopec has joined #ruby
Neomex has quit [Client Quit]
<GreekFreak>
MrPopinjay, it's the ubuntu software centre one, and netrw is what comes with vim directly
<MrPopinjay>
What is from the software centre?
<MrPopinjay>
vim?
<MrPopinjay>
Nerdtree is actually part of vim these days?
dfranciosi has quit [Remote host closed the connection]
habanany has quit [Ping timeout: 264 seconds]
St_Marx has joined #ruby
mojjojo has quit [Quit: mojjojo]
nateberkopec has quit [Ping timeout: 246 seconds]
MrPopinjay has quit [Quit: leaving]
falood has quit [Remote host closed the connection]
_tpavel has joined #ruby
falood has joined #ruby
ewnd9 has quit [Ping timeout: 272 seconds]
bal has quit [Quit: bal]
dodosan has joined #ruby
bthesorceror has quit [Remote host closed the connection]
max96at has joined #ruby
GreekFreak has left #ruby ["Leaving"]
vpretzel has quit [Ping timeout: 260 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
mojjojo has joined #ruby
yalue has joined #ruby
seoaqua has joined #ruby
browndawg has joined #ruby
dfranciosi has joined #ruby
dodosan has quit [Ping timeout: 260 seconds]
<seoaqua>
i got 'rspec not found' after i gem install rspec on Mac. any one can help,pls?
bal has joined #ruby
<seoaqua>
i installed ruby2.1 with homebrew. and there is no rspec at /usr/local/bin
yacks has joined #ruby
alekst has joined #ruby
browndawg has quit [Client Quit]
craigp_ has quit [Remote host closed the connection]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
scarolan has quit [Ping timeout: 265 seconds]
end_guy has joined #ruby
IceyEC has joined #ruby
ringaroses has joined #ruby
mark_locklear has joined #ruby
aalmenar has quit [Quit: No Ping reply in 180 seconds.]
Kricir has joined #ruby
cina has joined #ruby
aalmenar has joined #ruby
aalmenar has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
<shevy>
hmm
<shevy>
why would it be at /usr/local/bin
<shevy>
is ruby not at /usr/bin
<seoaqua>
shevy: there is no rspec at /usr/bin. i think the user-installed soft should be at /usr/local/bin and u need to ln -s them to /usr/bin
Kricir has quit [Ping timeout: 252 seconds]
<shevy>
aha. I did a global install through "gem install rspec" just now, rspec works and is at /usr/bin/rspec
<shevy>
you could always try a manual install, the .gem is downloaded locally to the cache/gem/ subdir
tck9 has joined #ruby
monkegjinni has quit [Remote host closed the connection]
<tck9>
i'm trying to install the breakpoint gem, but am getting this error message. any workarounds for this? http://pastebin.ca/2574132
<seoaqua>
shevy: what's your system? is it MacOS?
monkegjinni has joined #ruby
h_kon has joined #ruby
Guest11248 has quit [Read error: Connection reset by peer]
ahmedelgabri has quit [Remote host closed the connection]
nateberkopec has joined #ruby
<seoaqua>
shevy: i think the /usr/bin/rspec is a symbolic link to /usr/local/Cellar/ruby/2.1.0/bin/rspec. btw, i just found it here
astomp has joined #ruby
n1x has joined #ruby
jkamenik has joined #ruby
dayepa1 has quit [Ping timeout: 276 seconds]
reset has joined #ruby
pranny has joined #ruby
monkegjinni has quit [Ping timeout: 248 seconds]
fede_ has joined #ruby
astomp has quit [Client Quit]
dayepa has joined #ruby
jokke has quit [Quit: WeeChat 0.4.2]
rmorello has joined #ruby
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
vpretzel has joined #ruby
jokke has joined #ruby
shime has quit [Ping timeout: 260 seconds]
reset has quit [Ping timeout: 272 seconds]
pranny has quit [Quit: Leaving.]
tejas has joined #ruby
<Takumo>
I'm wondering how to do a map/reduce type thing on an array of OpenStructs
alexfreidah has quit [Read error: Connection reset by peer]
xjiujiu has quit [Ping timeout: 260 seconds]
<kraljev5>
I'd like to avoid modifying the regex
<kraljev5>
that means prepending ^ or \A
reset has quit [Ping timeout: 245 seconds]
chrisseaton has joined #ruby
<angusiguess>
Is unioning the regex for one use okay?
burlyscudd has quit [Quit: Leaving.]
JZTech102 is now known as JZTech101
JZTech101 has quit [Changing host]
JZTech101 has joined #ruby
<kraljev5>
how would you do that?
sailias has quit [Ping timeout: 252 seconds]
<angusiguess>
Er, unioning is probably not the solution, but you could build one expression to match beginning of string and then use the existing one.
yasushi has joined #ruby
<angusiguess>
If something satisfies both it would be the same as if you'd prepended to the existing expression.
<kraljev5>
I could call #to_s on a regex, do the magic, then cast it to regex again
<kraljev5>
anything less elegant out there possibly?
jobewan has joined #ruby
tulak has quit [Read error: Connection reset by peer]
coderhs has joined #ruby
aalmenar has quit [Quit: No Ping reply in 180 seconds.]
tulak has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
tulak has quit [Read error: Connection reset by peer]
tulak has joined #ruby
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
cina_ has joined #ruby
aalmenar has joined #ruby
aalmenar has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
ebetancourt has joined #ruby
cina has quit [Ping timeout: 260 seconds]
angusigu1ss has joined #ruby
devdazed has joined #ruby
francisfish has joined #ruby
dawkirst has joined #ruby
ewnd9 has joined #ruby
cina_ has quit [Client Quit]
shaunbaker has quit [Remote host closed the connection]
<joonty>
hey all
<joonty>
got an interesting error on ruby 2.0.0-p353
<pontiki>
Takumo: collect and map are aliases
<joonty>
`Dir.pwd` throws "Errno::ENOENT: No such file or directory - getcwd"
<joonty>
anyone got any ideas about this one?
angusigu1ss has quit [Ping timeout: 265 seconds]
sassamo has joined #ruby
drumsrgr8forn8 has joined #ruby
<pontiki>
are you running it in a directory that was deleted after you entered it?
Heskie has quit []
<pontiki>
moved or renamed, also?
tvw has joined #ruby
Rix- has joined #ruby
jkwaldri has joined #ruby
mikecmpbll has joined #ruby
Justin4770 has joined #ruby
samsonasu has joined #ruby
habanany has joined #ruby
<joonty>
pontiki: yeh, that was it, thanks
griffindy has quit [Quit: Computer has gone to sleep.]
fedesilva has joined #ruby
jkwaldri has left #ruby [#ruby]
pu22l3r_ has joined #ruby
yasushi has quit [Remote host closed the connection]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Heskie has joined #ruby
jfelchner has quit [Read error: Connection reset by peer]
shaunbaker has joined #ruby
RoxasShadowRS has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
jfelchner has joined #ruby
<soahccc>
Does anyone know if I can safely "backport"/use ruby 2 Queue in 1.9.3? It seems they just have removed the duplication of the conditionvariable and added Thread.handle_interrupt(StandardError => :on_blocking) wrapper
dawkirst has quit [Ping timeout: 245 seconds]
droid1 has joined #ruby
zeeraw has joined #ruby
bal has quit [Quit: bal]
benzrf has joined #ruby
clamstar has quit [Quit: Computer has gone to sleep.]
<benzrf>
hello ruby people
cjsarette has quit [Ping timeout: 260 seconds]
robscomputer has quit [Client Quit]
mathnode has joined #ruby
<kraljev5>
is Regex mutable?
meatherly has quit []
jlast has joined #ruby
jfelchner has quit [Read error: Connection reset by peer]
<mathnode>
Anyone know how I can parse a string argument with getoptlong? i.e. myapp.rb --arg1=value1 --arg2=value2 "and then this big old string with no --parameter"
jfelchner has joined #ruby
kraljev5 has left #ruby [#ruby]
RoxasShadowRS has joined #ruby
dachi_ has left #ruby [#ruby]
dachi_ has joined #ruby
meatherly has joined #ruby
droid1 has quit [Ping timeout: 246 seconds]
Virtualize has quit [Quit: Leaving...]
sambao21 has quit [Quit: Computer has gone to sleep.]
benzrf has quit [Ping timeout: 260 seconds]
Kilo`byte has quit [Quit: kilobyte22.de]
monkegjinni has joined #ruby
monkegji_ has joined #ruby
Es0teric has joined #ruby
LadyRainicorn has joined #ruby
interactionjaxsn has joined #ruby
jedimind has joined #ruby
robscomputer has joined #ruby
LadyRainicorn has quit [Max SendQ exceeded]
robscomputer has quit [Client Quit]
meatherly has quit [Read error: Connection reset by peer]
kristiandelay has quit [Remote host closed the connection]
LadyRainicorn has joined #ruby
mary5030 has joined #ruby
Virtualize has joined #ruby
LadyRainicorn has quit [Max SendQ exceeded]
meatherly has joined #ruby
Virtualize has quit [Client Quit]
clamstar has joined #ruby
dodosan has joined #ruby
LadyRainicorn has joined #ruby
phat4life has joined #ruby
LadyRainicorn has quit [Max SendQ exceeded]
ahmedelgabri has joined #ruby
monkegjinni has quit [Ping timeout: 260 seconds]
meatherly has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
meatherly has joined #ruby
Kricir has joined #ruby
Kilo`byte has joined #ruby
dawkirst has joined #ruby
duggiefresh has joined #ruby
bradhe has joined #ruby
bean__ has joined #ruby
dodosan has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby
apeiros has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
mmcclimon has joined #ruby
phat4life has quit [Quit: Leaving.]
ahmedelgabri has quit [Ping timeout: 272 seconds]
apeiros has joined #ruby
angusigu1ss has joined #ruby
enebo has joined #ruby
jlast has quit [Remote host closed the connection]
<pontiki>
mathnode: is that the last arg? and is it actually a bound string like that?
jfelchner has quit [Read error: Connection reset by peer]
nowthatsamatt has joined #ruby
danshult_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
scarolan has quit [Ping timeout: 246 seconds]
tobago has quit [Remote host closed the connection]
krz has joined #ruby
jfelchner has joined #ruby
<pontiki>
if so, you don't with getopt* or any other option parser. It's just an argment then, and when getoptlong is done, it would be whatever is left in ARGV
bradhe has quit [Ping timeout: 259 seconds]
<pontiki>
also, mathnode, unless this is for learning purposes, there are better ways to go about doing a cli script
sailias has joined #ruby
tyl_ has joined #ruby
phat4life has joined #ruby
nateberkopec has joined #ruby
apeiros has quit [Ping timeout: 252 seconds]
angusigu1ss has quit [Ping timeout: 245 seconds]
jfelchner has quit [Read error: Connection reset by peer]
h_kon has quit [Remote host closed the connection]
aep has joined #ruby
Zubin has joined #ruby
jfelchner has joined #ruby
<pontiki>
thor, gli, methadone, slop
tyl has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
thesheff17 has joined #ruby
<Zubin>
is there any module in ruby for bluetooth and wireless communication?
shime has joined #ruby
enebo has quit [Ping timeout: 248 seconds]
relix has joined #ruby
monkegji_ has quit [Ping timeout: 252 seconds]
mmcclimon has quit [Quit: WeeChat 0.4.2]
freerobby has joined #ruby
Hanmac has joined #ruby
<canton7-mac>
what level are you talking about? serial comms? sure. anything lower? probably not
<Zubin>
no just simple bluetooth and wireless i mean wifi and bluetooth?
dawkirst has quit [Ping timeout: 245 seconds]
mordocai` has joined #ruby
coderhs has quit [Quit: Leaving]
<LadyRainicorn>
What do you want to do?
wc- has joined #ruby
tagrudev has quit [Remote host closed the connection]
awarner_ has quit [Read error: Connection reset by peer]
<mathnode>
pontiki: yes that's the last arg, I got it just by sticking ARGV[0] into a string then set ARGV = []. Unfortunately this script must behave like the bash script it precedes.
<wc->
hi all, im having a lot of issues getting unicorn to host my ruby rest api w/ upstart
awarner has joined #ruby
byprdct has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Zubin>
create an application which supports bluetooth and wifi enabled chat for pc.
<wc->
ive seen a couple different ways of going about setting up the pre and post fork commands in the unicorn config and upstart config
<wc->
anyone have any personal recommendations / guides?
<Takumo>
Hi I've got an array of hashes which all have a :project_id attribute
MatthewsFace has joined #ruby
ciwolsey has joined #ruby
jfelchner has quit [Read error: Connection reset by peer]
<Takumo>
how can I filter this array down to hashes where :project_id == a_value
<LadyRainicorn>
Do you mean you want it to use internet, or do magical custom things?
<Takumo>
ah cool
jfelchner has joined #ruby
meatherly has quit [Read error: Connection reset by peer]
<pontiki>
mathnode: you can do the last bit in one operation with `bigarg = ARGV.shift` as well
mspah_ has joined #ruby
machuga is now known as machuga|away
meatherly has joined #ruby
<Zubin>
a kind of loacl chat using bluetooth ports and wireless host service.
coderhs has joined #ruby
<LadyRainicorn>
Bluetooth is very short-range. Why is it useful to have a message app over it?
yasushi has joined #ruby
<LadyRainicorn>
It would be much easier to talk to the person a meter away from you.
dkamioka has quit [Remote host closed the connection]
<Zubin>
Its sort of project I need to develop for someone else so I was wondering?
Rainicorn has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
ewnd9_ has joined #ruby
dkamioka has joined #ruby
<Zubin>
does ruby supports internet chat facilities?
<Rainicorn>
Do you mean IP?
<Zubin>
yes.
mengu has quit [Remote host closed the connection]
<Rainicorn>
Yes.
forrest has joined #ruby
monkegjinni has joined #ruby
burlyscudd has joined #ruby
<Zubin>
ok and about bluetooth and wifi?
vlad_starkov has quit [Remote host closed the connection]
phat4life has quit [Quit: Leaving.]
<Rainicorn>
Possibly, but I am almost certain you do not want that.
<mathnode>
pontiki: oh ok, so don't reset ARGV, just shift?
forrest has left #ruby [#ruby]
<Rainicorn>
You just want to use the internet, right?
RaCx has quit [Ping timeout: 252 seconds]
RaCx has joined #ruby
<Rainicorn>
Or are you actually want to send raw packets?
<Rainicorn>
s/want/&ing
<shevy>
ack
<sickweezle>
syn
maletor has joined #ruby
<shevy>
we have a Rainicorn and also a LadyRainicorn
<shevy>
this seems to be like an invasion
<Zubin>
anything will be useful. ya user has to choose what kind of communication channel he wants to use either internet or bluetooth or wifi.
LadyRainicorn has quit [Ping timeout: 260 seconds]
<Rainicorn>
(If you do not kmow what thosw are, you do not want to send them.)
<Rainicorn>
It is.
reset has joined #ruby
mordocai` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
jfelchner has quit [Read error: Connection reset by peer]
<sickweezle>
There may be three of me once I get to work.
<pontiki>
mathnode: shift will return the first element an array and remove it from the array at the same time
<Rainicorn>
I think you may not fully understand what sort of interface the OS presents to you.
LekeFly has joined #ruby
jfelchner has joined #ruby
mordocai` has joined #ruby
<Rainicorn>
Therefore, you almost certainly just want TCPSocket.
monkegjinni has quit [Remote host closed the connection]
<canton7>
Zubin, the user will get the bluetooth connected using the stuff provided by windows. then he'll tell you want COM port that bluetooth device is sitting on (or you can try and auto-discover that), then you can talk serial over that COM port
monkegjinni has joined #ruby
<canton7>
same with network stuff - the user sets up the network connection (wifi, etc) using windows' utilities, then you get to send data over whatever's been established
<Zubin>
yes but configuring sockets isn't a problem for me. but I need to see if it supports or not.
cjsarette has joined #ruby
Brolen has joined #ruby
LastWhisper has joined #ruby
brennanMKE has joined #ruby
renklaf has quit [Remote host closed the connection]
<LastWhisper>
sup guys - any of you guys familiar with factorygirl?
<Rainicorn>
But do you really want to create a chat application ovwr Bluetooth?
<mathnode>
pontiki: that is perfect thanks, also removed the next issue of having a 'gets' in there :P
<Rainicorn>
Really no one will ever want that.
mmcclimon has joined #ruby
amritanshu_RnD has quit [Quit: Leaving]
Rainicorn is now known as LadyRainicorn
monkegji_ has joined #ruby
jfelchner has quit [Read error: Connection reset by peer]
<pontiki>
Rainicorn: i might want to chat with myself on the phone while i'm at my desk...
aryaching has joined #ruby
<Zubin>
I have created an chat application based on .net framework in C#. but I want to translate some of the codes in ruby so I need to see if there is any packages or gems to support it.
<canton7-mac>
Zubin, supports *what*?
reset has quit [Ping timeout: 252 seconds]
jfelchner has joined #ruby
mmcclimon has quit [Client Quit]
lmickh has quit [Remote host closed the connection]
<canton7-mac>
you haven't actually clarified that question yet
<Zubin>
bluetooth, wifi controllers and tcp sockets.
<canton7-mac>
define "wifi controllers"
<canton7-mac>
what do you mean by that?
<LadyRainicorn>
lol pontiki
mmcclimon has joined #ruby
<pontiki>
ruby is just a language. the standard library supports talking over all kinds of interfaces
<LadyRainicorn>
But this is an insane idea.
<pontiki>
that's Zubin's perogative, tho, is it not?
<LadyRainicorn>
I suppose.
monkegjinni has quit [Ping timeout: 260 seconds]
geggam has joined #ruby
<Zubin>
LandyRainicorn, have you used whatsapp?
sambao21 has joined #ruby
cgore has joined #ruby
<canton7-mac>
Zubin, if you're asking if you can tell windows to connect to a specific wireless network from ruby, the answer is "probably not"
mlpinit has quit [Remote host closed the connection]
mlpinit has joined #ruby
lfox has joined #ruby
<Zubin>
thanks canton7 -mac that's what I needed to know. So now I will do it merrily in Java.
<LadyRainicorn>
There is a fairly low level COM binding you could use I think
timonv has joined #ruby
meatherly has quit []
shaunbaker has quit [Remote host closed the connection]
<canton7-mac>
Zubin, can you do that with java? Google's not bringing up anything if I ask it for ways to talk to the netive wifi api with java
<LadyRainicorn>
Win32API
<canton7-mac>
yeah, you could do it manually with the win32api
<Zubin>
thanks all for the help. I am deeply oblidged.
<LadyRainicorn>
It's probably a unique issue.
<Zubin>
search for JSR-82.
mengu has joined #ruby
mengu has joined #ruby
<canton7-mac>
doubt anyone's wrapped it up yet
<LadyRainicorn>
I suspect Win32API will be the easiest path.
<canton7-mac>
Zubin, that's bluetooth access for embedded devices such as mobile phones?
<canton7-mac>
which is entirely irrelevant?
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
b00stfr3ak has joined #ruby
jlast has joined #ruby
rubidious has joined #ruby
coder_neo has quit [Read error: Connection reset by peer]
jfelchner has quit [Read error: Connection reset by peer]
<Zubin>
ok will see to it I have Bluetooth self development kit in java. I think it might help
Zubin has quit [Quit: Leaving]
ryantm has joined #ruby
<rubidious>
Hi. I'm new to ruby. I'm a bit confused as to what the :keyword (symbol?) is in the context of objects/methods. Can someone clarify or point me to documentation?
jfelchner has joined #ruby
AndrewMartin has joined #ruby
mmcclimon has quit [Quit: mmcclimon]
meatherly has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
<LadyRainicorn>
Keywords aren't the same as symbols.
<rubidious>
sory
<LadyRainicorn>
A symbol looks like :this.
<rubidious>
sorry*
<LadyRainicorn>
Is that what you mean?
<rubidious>
yes
meatherly has quit [Remote host closed the connection]
AndrewMartin is now known as Amart41
<rubidious>
keyword was just an example (apparently a poorly chosen one)
<LadyRainicorn>
Symbols are like immutable strings that are never garbage collected
<LadyRainicorn>
They all exist at the same memory loxation.
meatherly has joined #ruby
burlyscudd has quit [Quit: Leaving.]
aryaching has quit [Ping timeout: 260 seconds]
<rubidious>
I see them used as methods and/or objects in tutorials though?
<LadyRainicorn>
Think of it like #define constants in C.
<rubidious>
or am I misunderstanding
<LadyRainicorn>
You mean &:symbol?
<rubidious>
no just :symbol (I may be wrong)
<rubidious>
I've only just started learning ruby this morning
<LadyRainicorn>
:symbol can't be called as a method, no.
vpretzel has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
jlast_ has joined #ruby
kevind has joined #ruby
senayar has joined #ruby
<LadyRainicorn>
But you can send(:symbol)
<rubidious>
ah so it's more like a static argument
<LadyRainicorn>
Or public(:symbol)
predator117 has joined #ruby
vpretzel has joined #ruby
<rubidious>
I think my issue is more understanding the syntax heh
<LadyRainicorn>
ah ok
<rubidious>
I was reading through the rails guide
<rubidious>
and saw this
<rubidious>
form_for :post, url: posts_path do |f|
wildroman2 has quit [Remote host closed the connection]
jfelchner has quit [Read error: Connection reset by peer]
<LadyRainicorn>
Internally those things would use method(:symbol) and call the resultant method.
mengu has quit [Read error: Connection reset by peer]
<rubidious>
and got confused because they reference the 'identifying object' for the method form_for as the symbol ':post'
<rubidious>
that makes much more sense to me (what you said)
falood has quit [Remote host closed the connection]
jprovazn has quit [Quit: Leaving]
jfelchner has joined #ruby
<rubidious>
there seems to be a bit more abstraction in ruby than I'm used to
<rubidious>
thanks for your help LadyRainicorn
figgleberry has quit [Ping timeout: 245 seconds]
IceDragon has joined #ruby
danshult_ has quit [Remote host closed the connection]
meatherly has quit [Ping timeout: 260 seconds]
atraylen has quit [Ping timeout: 260 seconds]
danshultz has joined #ruby
<LadyRainicorn>
np good luck on your Ruby voyage.
chrisseaton has quit []
synergy_ has joined #ruby
<LadyRainicorn>
ugh wtf is draining my battery? ;-;
monkegji_ has quit [Remote host closed the connection]
estebanrules has joined #ruby
figgleberry has joined #ruby
<shevy>
LadyRainicorn a rainbow!
monkegjinni has joined #ruby
<LadyRainicorn>
I've used like 30% already!
<LadyRainicorn>
And I have ~9hrs left.
<LadyRainicorn>
; - ;
Xeago__ has quit [Remote host closed the connection]
drumusician has quit [Ping timeout: 252 seconds]
<terrellt>
LadyRainicorn: Hopes and dreams. Don't let it run out.
<estebanrules>
is anyone here familiar with dRuby?
<terrellt>
I've heard of it. Their site hasn't had an update since 2009.
* LadyRainicorn
fills her battery with hopes and dreams.
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<estebanrules>
I was reading a book on it last night, looks very interesting
<estebanrules>
Hmm well the book I was reading was from last year
Brolen has quit []
<estebanrules>
I believe its part of the stdlib
maletor has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby
Brolen has joined #ruby
<terrellt>
Oh, not the ruby implementation, the class.
<estebanrules>
looks like one can do some very cool stuff
<shevy>
I thought so too
<shevy>
but I can never remember the syntax offhand
<estebanrules>
I haven't seen anything very similar in other languages
atmosx has joined #ruby
<estebanrules>
I was just looking at a simple example last night where you could get a web server and client up in a few lines of code
monkegjinni has quit [Ping timeout: 264 seconds]
aryaching has joined #ruby
scarolan has joined #ruby
ckinni has joined #ruby
figgleberry has quit [Ping timeout: 245 seconds]
yasushi has quit [Remote host closed the connection]
wildroman2 has joined #ruby
mmcclimon has joined #ruby
shaunbaker has joined #ruby
yasushi has joined #ruby
rayners has joined #ruby
dangerousdave has joined #ruby
maletor has joined #ruby
bradhe has joined #ruby
blandflakes has joined #ruby
griffindy has joined #ruby
lmickh has joined #ruby
<estebanrules>
anyone mind taking a look at some simple code for me? Just want to clarify something
figgleberry has joined #ruby
<estebanrules>
It's from the Chris Pine book, chapter on classes
yasushi has quit [Remote host closed the connection]
dodosan has joined #ruby
mmcclimon has quit [Client Quit]
<canton7-mac>
post it, see who responds :)
<estebanrules>
ok ;) http://goo.gl/tbUKCJ - the if statement, the code is "if @asleep", is that referring to the previous state of @asleep, which is true?
mmcclimon has joined #ruby
nathancahill has joined #ruby
_Andres has joined #ruby
<canton7-mac>
yes
bradhe has quit [Ping timeout: 252 seconds]
<canton7-mac>
although who knows that 'passageOfTime' does - it might set @asleep to false
<canton7-mac>
s/that/what
<estebanrules>
ok that's what I thought. Thank you
pardusf has joined #ruby
parduse is now known as Guest20152
pardusf is now known as parduse
parduse has quit [Changing host]
parduse has joined #ruby
<estebanrules>
yeah
yarou has joined #ruby
gja has joined #ruby
habanany has quit [Ping timeout: 260 seconds]
danshultz has joined #ruby
dodosan has quit [Ping timeout: 245 seconds]
Guest20152 has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
mocfive has joined #ruby
einarj has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
digital-ghost has joined #ruby
DropsOfSerenity has joined #ruby
DropsOfSerenity has quit [Max SendQ exceeded]
mmcclimon has quit [Quit: mmcclimon]
angusigu1ss has joined #ruby
DropsOfSerenity has joined #ruby
DropsOfSerenity has quit [Remote host closed the connection]
Brolen has quit []
Brolen has joined #ruby
mmcclimon has joined #ruby
mocfive has quit [Ping timeout: 265 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
drakezhard has joined #ruby
Rickmasta has quit [Ping timeout: 252 seconds]
relix has joined #ruby
drakezhard has left #ruby [#ruby]
spider-mario has joined #ruby
angusigu1ss has quit [Ping timeout: 272 seconds]
DouweM has joined #ruby
Zubin has joined #ruby
senayar has quit [Remote host closed the connection]
soulcake has quit [Read error: Connection reset by peer]
lethjakman has joined #ruby
mspah_ has quit [Quit: This computer has gone to sleep]
MatthewsFace has quit [Quit: This computer has gone to sleep]
senayar has joined #ruby
wildroman2 has quit [Remote host closed the connection]
larissa has joined #ruby
soulcake has joined #ruby
aspires has joined #ruby
aspires has quit [Client Quit]
Zubin has quit [Client Quit]
Es0teric has quit [Quit: Nigga, im OUTIE 5000]
scarolan has quit [Ping timeout: 245 seconds]
mmcclimon has quit [Quit: mmcclimon]
Es0teric has joined #ruby
Zubin has joined #ruby
ktosiek_ has joined #ruby
ktosiek has quit [Ping timeout: 248 seconds]
Rickmasta has joined #ruby
zipper has quit [Quit: leaving]
<alex88>
mmhh on class 1, streamer = Streamer.new(logger), class Streamer has def initialize(logger) @logger = logger end
Es0teric has quit [Max SendQ exceeded]
<alex88>
but I get ArgumentError (method 'initialize': given 1, expected 0)
<alex88>
what's the problem?
Megtastique has joined #ruby
noname001__ has quit [Ping timeout: 272 seconds]
heftig has quit [Quit: Quitting]
mmcclimon has joined #ruby
Heskie has quit []
mmcclimon has quit [Client Quit]
sambao21 has joined #ruby
theRoUS has quit [Ping timeout: 252 seconds]
mmcclimon has joined #ruby
mmcclimon has quit [Client Quit]
mmcclimon has joined #ruby
mmcclimon has quit [Client Quit]
aspires has joined #ruby
jlebrech has joined #ruby
niharvey has quit [Ping timeout: 272 seconds]
mwlang has joined #ruby
Zubin has quit [Quit: Leaving]
krz has quit [Quit: WeeChat 0.4.2]
Brolen has quit [Remote host closed the connection]
mmcclimon has joined #ruby
<mwlang>
Working on a begin/ensure block and was wondering… Does this method return line #5 or #7 as result if line #9 is omitted? https://gist.github.com/anonymous/8562006
monkegjinni has joined #ruby
Brolen has joined #ruby
mmcclimon has quit [Client Quit]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Advocation has quit [Quit: Advocation]
Guest2542 has joined #ruby
<Guest2542>
hello ruby people
<Guest2542>
it is benzrf but with a different nick because screw nickserv
<LadyRainicorn>
(This will be very nasty for performance.)
aryaching has quit [Quit: sayonara! ^_^]
gregf has joined #ruby
punkzio has quit [Remote host closed the connection]
niharvey has joined #ruby
mmcclimon has quit [Quit: mmcclimon]
aryaching_ has quit [Client Quit]
<Guest2542>
brimstone: xy problem detected
<Guest2542>
brimstone: pls elaborate on use csae
top4o has joined #ruby
<Guest2542>
*case
lmickh_ has joined #ruby
abk has joined #ruby
aspires has quit [Remote host closed the connection]
daxroc has joined #ruby
w4pm has quit [Ping timeout: 245 seconds]
<daxroc>
What format are gemfile.lock?
<brimstone>
Guest2542: i'm defining a set of boxes in vagrant, then looping through each of them passing the current box as self, the other boxes as an array otherboxes into chef
aspires has joined #ruby
zarul has quit [Remote host closed the connection]
<Guest2542>
sounds like a cartesian produc to meee
<Guest2542>
*product
lmickh has quit [Ping timeout: 260 seconds]
<Guest2542>
or not
jfelchner has quit [Read error: Connection reset by peer]
<Guest2542>
hmmm
mansi has quit [Remote host closed the connection]
<Guest2542>
brimstone: how about 'boxes - [this_box]'
Justin4770 has quit [Ping timeout: 265 seconds]
jfelchner has joined #ruby
mansi has joined #ruby
LekeFly has joined #ruby
<brimstone>
Guest2542: does that work with arrays?
Hobogrammer has joined #ruby
apeiros has joined #ruby
<brimstone>
arrays of hashes
coder_neo has joined #ruby
zarul has joined #ruby
aaronmcadam has quit [Read error: Operation timed out]
<Guest2542>
brimstone: i would imagine so
shime has quit [Ping timeout: 260 seconds]
ciwolsey has quit [Read error: Connection reset by peer]
<Guest2542>
brimstone: you need an array, and not iteration?
niharvey has quit [Ping timeout: 265 seconds]
ciwolsey has joined #ruby
JZTech101 has quit [Read error: Operation timed out]
<brimstone>
i have an array of hashes, i need a hash and an array that doesn't contain that hash anymore
Hobogrammer_ has joined #ruby
<Guest2542>
alright
DanBoy has quit [Remote host closed the connection]
<brimstone>
i'm using the dup and delete method now
<Guest2542>
ew
<brimstone>
seems to be working
<Guest2542>
:\
mansi_ has joined #ruby
<brimstone>
i'm open to a more slick way though
<Guest2542>
hm
JZTech101 has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mansi_ has quit [Remote host closed the connection]
coder_neo has quit [Read error: Connection reset by peer]
aganov has quit [Quit: Leaving]
mansi has joined #ruby
user258467 has quit [Quit: Quitte]
<Guest2542>
brimstone: i got little to nothin
ghr has quit [Quit: Computer has gone to sleep.]
<Guest2542>
:(
tyl_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
jlast has quit [Remote host closed the connection]
<shevy>
OFFER YOUR SOUL, SLAVE!
<workmad3>
DaniG2k: didn't you say a little while ago that you were really glad that you didn't code full time because it would drive you crazy? :)
sepp2k has joined #ruby
<DaniG2k>
workmad3: that is also true
<shevy>
PEOPLE'S OPINION CAN CHANGE QUICKLY!
<DaniG2k>
workmad3: although the pay is good
<shevy>
hehe
<atmosx>
she drives me craaaazy
<atmosx>
or was it he drives me craaazy?
<DaniG2k>
workmad3: how do you remember everything? wtf are you
<shevy>
atmosx noone remembers songs before the year 2000
<shevy>
workmad3 has a big brain
<DaniG2k>
but a small...
<DaniG2k>
ego
jlast has joined #ruby
Kruppe has joined #ruby
<workmad3>
DaniG2k: I'll offer you two alternatives - 1) my memory is oddly peculiar and remembers the weirdest specifics about things, or 2) I spend a lot of time regexing through IRC logs when talking to people ;)
<DaniG2k>
workmad3: you regex through irc logs? jeez
<workmad3>
dammit, I should have made the lie more obvious... :P
<brimstone>
how do you get the type of a variable to print?
nvrch has quit [Quit: nvrch]
<brimstone>
surprisingly, there's not a .type method
<Takumo>
.inspect
<workmad3>
brimstone: .class
<workmad3>
brimstone: or .inspect
haggen has joined #ruby
<workmad3>
brimstone: also, in ruby variables don't have types... objects have classes
<brimstone>
thanks, .class looks like what i want
haggen has left #ruby [#ruby]
<DaniG2k>
brimstone .class ?
<pragmatism>
Morning all
thumpba has quit [Read error: Connection reset by peer]
<workmad3>
brimstone: a variable just holds a reference to an object ;)
<Mon_Ouie>
Though inspect is to print general information about an object, there's no requirement for it to print the class name (e.g. integers, strings, symbols, etc. don't print it)
<RubyPanther>
Wait, they still made songs after 2000?
<workmad3>
RubyPanther: no, they only made crap after 2000
* DaniG2k
agrees
<RubyPanther>
oh, okay, that's what I thought lol
Marfi has joined #ruby
niharvey has joined #ruby
thumpba has joined #ruby
angusiguess has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Kruppe has quit [Client Quit]
<RubyPanther>
I just remembered, there was one good album after that... the poignant guide soundtrack!
wc- has left #ruby [#ruby]
alexfreidah has quit [Ping timeout: 260 seconds]
<DaniG2k>
im out
DaniG2k has quit [Quit: leaving]
<brimstone>
can anyone tell me why this is failing? slexy.org/view/s20z8pizOl
Kruppe has joined #ruby
vlad_starkov has joined #ruby
mansi_ has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
mansi has joined #ruby
mansi has quit [Read error: Connection reset by peer]
<atmosx>
workmad3: I disagree, there are great songs after 2000 in almost all categories, what kind of music do you like?
mansi has joined #ruby
Marfi has left #ruby ["Wychodzi"]
<workmad3>
atmosx: way to take a joke seriously and beat it to death with literalism :P
craigp has joined #ruby
angusiguess has quit [Ping timeout: 248 seconds]
<shevy>
wasn't workmad3 born when the beatles still were alive?
<workmad3>
shevy: hahahaha
<workmad3>
shevy: no
<workmad3>
shevy: a good percentage of my favourite music is older than I am ;)
<shevy>
there are some cool songs from pre-2000 ... "Insomnia" from faithless in the year 1995. I hear it when I can't get any sleep
arctarus has quit [Remote host closed the connection]
Marfi has joined #ruby
theRoUS has joined #ruby
CaptainJet has quit [Read error: Connection reset by peer]
<Marfi>
hello . Please help me with xml
baroquebobcat has joined #ruby
Kruppe has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
nomenkun_ has quit [Ping timeout: 260 seconds]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lele has joined #ruby
<Marfi>
How I read text from xml and each element into this text . example: <txt fuj="1">This is <b>text</b>, and <b>not</b></txt><txt>Next</txt> How I can read each element = txt, b,txt b.....
mspah_ has quit [Quit: This computer has gone to sleep]
MatthewsFace has quit [Quit: This computer has gone to sleep]
CaptainJet has joined #ruby
mocfive has joined #ruby
<atmosx>
workmad3: AM by the Arctic Monkeys is awesome
<atmosx>
and it's 2013
jlebrech has quit [Quit: Konversation terminated!]
<DouweM>
Yeah, AM is great
<atmosx>
Seven Nation Army and "Somebody Told me" are after 2000 and these are just a few. Of course there are loads of shit but there's good music too.
Mindmaster has joined #ruby
zz_anildigital is now known as anildigital
<atmosx>
I'm currently listening to: I Wanna Be Yours by Arctic Monkeys from the album AM
<atmosx>
see?
<atmosx>
lol
<atmosx>
I wanna beeee yourrsss
<DouweM>
I just put on Do I Wanna Know :)
timonv has joined #ruby
charlies_ has joined #ruby
jfelchner has quit [Read error: Connection reset by peer]
<atmosx>
Do I wanna knowwww
scarolan has joined #ruby
* atmosx
is listening to Arctic Monkeys — Do I Wanna Know?, from the album AM [Song] [4:32 mins] [played 38 times]
<workmad3>
atmosx: put down the baseball bat
<workmad3>
atmosx: the joke has suffered enough
jfelchner has joined #ruby
<atmosx>
workmad3: why is that? What band do you consider great, let us know so we can trash it.
<atmosx>
workmad3: the beatles?
Mindmaster has quit [Client Quit]
godd2 has joined #ruby
Kilo`byte has quit [Quit: kilobyte22.de]
mansi has quit [Remote host closed the connection]
reset has joined #ruby
roolo has quit [Remote host closed the connection]
mansi has joined #ruby
lethjakman has joined #ruby
<atmosx>
crawling back to youuuuu, ever thought of calling when you've had a feww?????
<workmad3>
atmosx: I'm not trashing bands
<atmosx>
workmad3: no, I do.
<workmad3>
atmosx: I was making a goddamn joke
<atmosx>
workmad3: you pick them!
mocfive has quit [Ping timeout: 252 seconds]
<atmosx>
workmad3: I'm just teasing youuu, love trashing the beatles though
<workmad3>
atmosx: fine... I'm a big fan of rebecca black, allison gold and myley cyrus! :P
SilentHobo has joined #ruby
Kilo`byte has joined #ruby
<atmosx>
a friend of mine is ... you know crazy about them and the stones and we were trying to find arguments to trash them (not very easy, but doable)
<atmosx>
workmad3: Cyrus, I listen everyone talking about this little lady but I don't know not even 1 song she sings... I mean I don' t eve know how she looks like
<atmosx>
workmad3: I don't know the other two, not even by name
<atmosx>
lol
<workmad3>
atmosx: that's ok, they're all actually shit
<workmad3>
atmosx: and 2 of them are only famous through memes
timonv has quit [Ping timeout: 240 seconds]
canton7-mac has quit [Quit: Leaving]
dodosan has joined #ruby
<atmosx>
I see
phansch has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
<workmad3>
atmosx: I'm really more of a fan of some classic rock, then various forms of metal
<atmosx>
r u mine is a masterpiece
monkegjinni has joined #ruby
Hobogrammer_ has quit [Ping timeout: 252 seconds]
max96at has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
wildroman2 has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 260 seconds]
<atmosx>
workmad3: I was too, when I was younger. Now it doesn't matter anymore, the kind. I think there's *good* and *bad* in every kind of music. Of course I don't like everything, but generally speaking.. You can find quality everywhere
reset has quit [Ping timeout: 252 seconds]
<atmosx>
workmad3: I saw metallica live in 1998 iirc
<DouweM>
I love Knee Socks as well. Not sure what itis is but I can't get enough of it
<atmosx>
workmad3: although I don't like any of their post-92 albums
lfox has quit [Quit: ZZZzzz…]
<atmosx>
I like the Dire Straits, it's the guitar and the lyrics (i.e. your latest trick)
<workmad3>
atmosx: I've only ever encountered 1 metallica song I like :)
<atmosx>
workmad3: which one?
bricker`LA has joined #ruby
Advocation has joined #ruby
terrellt has quit [Ping timeout: 265 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
mlpinit_ has joined #ruby
monkegjinni has joined #ruby
<atmosx>
workmad3: the metal bands i was *really* listening were: Metallica, Iron Maiden and Dream Theater (later on).
rubyracer has joined #ruby
Brolen has joined #ruby
monkegjinni has quit [Remote host closed the connection]
<atmosx>
I need to configure nginx properly and I'm so bored.
sassamo has quit [Remote host closed the connection]
<atmosx>
blah, I'll do next week
Advocation has quit [Client Quit]
<workmad3>
atmosx: Enter Sandman for metallica... I like a fair bit of Maiden, I enjoy some Dream Theater, sometimes I like some cradle of filth, murderdolls, thus defiled
julweber has quit [Remote host closed the connection]
CaptainJet has joined #ruby
<atmosx>
workmad3: the problem with IDSs is that you have to actually... install and forge the system. Because at every update there's an entire procedure (policy) that you need to follow which complciates things.
Kruppe has joined #ruby
<atmosx>
workmad3: apparmour is linux specific iirc
mathnode has left #ruby ["PONG :barjavel.freenode.net"]
bradhe has joined #ruby
abk has quit [Quit: Leaving]
lmickh has joined #ruby
yarou has quit [Quit: This computer has gone to sleep]
klaut has quit [Remote host closed the connection]
monkegjinni has quit [Ping timeout: 265 seconds]
Kruppe has quit [Client Quit]
Baluse has quit [Ping timeout: 252 seconds]
Baluse has joined #ruby
Spami has joined #ruby
lmickh_ has quit [Ping timeout: 260 seconds]
Kruppe has joined #ruby
lmickh_ has joined #ruby
fedesilv_ has joined #ruby
yfeldblum has joined #ruby
<atmosx>
workmad3: so you are both a developer and sys-admin?
bradhe has quit [Ping timeout: 272 seconds]
burlyscudd has quit [Quit: Leaving.]
fedesilva has quit [Ping timeout: 246 seconds]
<workmad3>
atmosx: more devops than sys-admin
Vitor has quit [Ping timeout: 246 seconds]
francisfish has joined #ruby
<workmad3>
atmosx: had to learn that side of things in order to set up infrastructure for various things
<atmosx>
workmad3: interesting
olivier_bK has quit [Ping timeout: 260 seconds]
Rainicorn has joined #ruby
yarou has joined #ruby
<atmosx>
cool
mojjojo has joined #ruby
shadoi has joined #ruby
vpretzel_ has joined #ruby
<workmad3>
atmosx: so currently our nodes have ossec installed by default, talking to a central server that emails me (probably about 50 times a day because I haven't set up the alert levels properly yet) about violations :)
lmickh has quit [Ping timeout: 272 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
poulson has quit [Ping timeout: 260 seconds]
Hobogrammer_ has joined #ruby
LadyRainicorn has quit [Ping timeout: 245 seconds]
<atmosx>
workmad3: is it any good?
<LastWhisper>
hey guys
<LastWhisper>
what does "before_save :block_write"
<LastWhisper>
mean?
Rainicorn is now known as LadyRainicorn
<atmosx>
I had deployed snort and samhain which is probably a little bit old now
<workmad3>
atmosx: it seems reasonable... I considered snort, but running on digital ocean, so I didn't fancy having to try to set things up to filter out all the background noise as they don't have proper private networks for your VMs
mmcclimon has joined #ruby
andikr has quit [Read error: Connection reset by peer]
mityaz has joined #ruby
<DouweM>
LadyRainicorn: but there, one is clearly the "real"/active one. The real confusion is with #ruby/#ruby-lang ;)
<workmad3>
atmosx: at some point, I need to badger work to pick up a raspberry pi and some wifi dongles so I can play around with building cheap wifi monitors :)
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<LadyRainicorn>
and active
SilentHobo has quit [Ping timeout: 272 seconds]
thumpba has joined #ruby
hypnosb has left #ruby [#ruby]
mojjojo has quit [Quit: mojjojo]
<workmad3>
LadyRainicorn: #rails isn't particularly active
openstandards has joined #ruby
smathieu has joined #ruby
<workmad3>
LadyRainicorn: unless things have changed since I was last in there
<DouweM>
oh is it? I just saw the topic having been set in 2009 :/
Kruppe has quit [Client Quit]
lfox has joined #ruby
brimstone has left #ruby ["WeeChat 0.4.2"]
<atmosx>
workmad3: the RPi are awesome, I am going to open a medical office next month in Greece (shrug) and I found an RPi bundle for monitoring blood pressure, etc. Could be integrated in a (non existant yet) web-app :D
<LadyRainicorn>
anyway ×WHYDOESITEXIST.
banjara has quit [Quit: Leaving.]
i_s has quit [Ping timeout: 260 seconds]
<atmosx>
workmad3: I already set up 2 digital signage systems with 2 Pi's that's another possible business where I live
<workmad3>
LadyRainicorn: because IRC channels get created on the fly by the first person who /joins it
dodosan has quit [Read error: Connection reset by peer]
lmickh_ has quit [Remote host closed the connection]
Kruppe has joined #ruby
clamstar has quit [Quit: Computer has gone to sleep.]
dodosan has joined #ruby
mojjojo has joined #ruby
lmickh has joined #ruby
clamstar has joined #ruby
ffranz has quit [Quit: Leaving]
banjara has joined #ruby
bbloom has joined #ruby
iliketurtles has joined #ruby
mojjojo has quit [Client Quit]
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby
iliketurtles has quit [Remote host closed the connection]
shadoi has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
machuga|away is now known as machuga
kaldrenon has joined #ruby
<shevy>
can you join 0
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
ereslibre has quit [Remote host closed the connection]
aalmenar has quit [Remote host closed the connection]
<LadyRainicorn>
#0?
<LadyRainicorn>
Yes.
tylersmith has joined #ruby
ereslibre has joined #ruby
iamsean has quit [Quit: iamsean]
<shevy>
you can't!
aalmenar has joined #ruby
aalmenar has joined #ruby
<shevy>
well
<shevy>
perhaps ponicorns can
<shevy>
but regular people can't
gja has quit [Quit: This computer has gone to sleep]
mityaz has quit [Quit: See ya!]
<LadyRainicorn>
I can!
<LadyRainicorn>
And I did.
<openstandards>
exit
openstandards has quit [Quit: WeeChat 0.3.7]
<shevy>
openstandards no!
<LadyRainicorn>
yay ponicorn magic!
ffranz has joined #ruby
<LadyRainicorn>
opensstandards: You must not exit from ponicornland.
angusiguess has joined #ruby
iamsean has joined #ruby
danshultz has quit [Remote host closed the connection]
browndawg1 has quit [Ping timeout: 272 seconds]
lfox has quit [Quit: ZZZzzz…]
danshultz has joined #ruby
mocfive has joined #ruby
x1337807x has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
dik_dak has joined #ruby
w4pm has joined #ruby
<havenwood>
shevy: a ponicorn is a corn on the cob with the head and tail of a pony?
gja has joined #ruby
<LadyRainicorn>
No.
<LadyRainicorn>
A ponicorn is me.
danshultz has joined #ruby
mrsolo has joined #ruby
craigp has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
senayar_ has quit [Remote host closed the connection]
senayar has joined #ruby
ebetancourt has quit [Read error: Connection reset by peer]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gja has quit [Client Quit]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mojjojo has joined #ruby
ebetancourt has joined #ruby
ebetancourt has quit [Max SendQ exceeded]
max96at has joined #ruby
Baluse has joined #ruby
dodosan has quit [Ping timeout: 252 seconds]
Voodoofish4302 has joined #ruby
n1x has quit [Ping timeout: 252 seconds]
ahmedelgabri has quit []
Voodoofish4301 has quit [Ping timeout: 252 seconds]
gja has joined #ruby
apeiros has quit [Remote host closed the connection]
vinmaster has joined #ruby
apeiros has joined #ruby
workmad3 has quit [Read error: Operation timed out]
Kricir has quit [Remote host closed the connection]
RaCx has quit [Read error: Operation timed out]
robbyoconnor has joined #ruby
poulson has quit [Remote host closed the connection]
Czupa has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
mmcdaris has joined #ruby
RaCx has joined #ruby
kamioool has joined #ruby
scarolan has quit [Ping timeout: 252 seconds]
<kamioool>
Anyone know why when i write in console "rails s" that create new project name "s" not start server?
<MrZYX>
#rubyonrails (and you're probably not inside a rails project)
<shevy>
havenwood it's those strange thing on a rainbow
interactionjaxsn has quit [Remote host closed the connection]
<kamioool>
don@don-desktop:~/kamioool$ ls
<kamioool>
app config.ru Gemfile.lock node README.rdoc test
<kamioool>
bin db lib public s tmp
<kamioool>
config Gemfile log Rakefile server vendor
<shevy>
ack
<atmosx>
kamioool: that should start the server iirc
coder_neo has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
vinmaster has left #ruby [#ruby]
ryandeussing has joined #ruby
ryandeussing has quit [Remote host closed the connection]
shadoi has joined #ruby
ryandeussing has joined #ruby
chipotle has quit [Ping timeout: 245 seconds]
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<kamioool>
somthing happend bad when i restart my system
gja has quit [Quit: This computer has gone to sleep]
<kamioool>
i think i shuld install rubu and rails again
baroquebobcat has quit [Quit: baroquebobcat]
fijimunk1i has joined #ruby
mark_locklear has quit [Ping timeout: 260 seconds]
wij has joined #ruby
phansch has joined #ruby
wij has left #ruby [#ruby]
fijimunkii has quit [Ping timeout: 260 seconds]
baroquebobcat has joined #ruby
<shevy>
poor guy
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Voodoofish4302 is now known as voodoofish4301
<shevy>
I would uninstall rubu as well
Wolland has joined #ruby
tannerburson has quit [Quit: tannerburson]
RaCx has quit [Ping timeout: 248 seconds]
RaCx_ has joined #ruby
vlad_starkov has joined #ruby
bthesorceror has quit [Remote host closed the connection]
rootshift has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
tannerburson has joined #ruby
gabriham_lincoln has joined #ruby
rezzack has joined #ruby
mocfive has quit [Remote host closed the connection]
blaxter has quit [Quit: foo]
fijimunk1i has quit [Ping timeout: 260 seconds]
chipotle has joined #ruby
mocfive has joined #ruby
Matriks has quit [Remote host closed the connection]
alex88 has quit [Quit: Leaving...]
vinmaster has joined #ruby
tauebel1 has joined #ruby
LadyRainicorn has quit [Quit: Bye]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
jprovazn has joined #ruby
mojjojo has quit [Quit: mojjojo]
vlad_starkov has quit [Remote host closed the connection]
mojjojo has joined #ruby
mocfive has quit [Ping timeout: 248 seconds]
Hanmac has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
coder_neo has quit [Read error: Connection reset by peer]
<kaldrenon>
I'm writing tests with Test::Unit, and I'm more familiar with RSpec - does Test::Unit have a technique for 'grouping' tests that's comparable to RSpec's context ?
<MrZYX>
iliketurtles: require isn't context aware or dependent in any way
Al___ has quit [Quit: Al___]
<iliketurtles>
MrZYX: so its just a matter of preference then?
whatasunnyday has quit [Client Quit]
<MrZYX>
yes
superscott[8] has joined #ruby
<iliketurtles>
it would seem best to have them at the top of the file to avoid not seeing them
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
mojjojo has joined #ruby
vpretzel_ is now known as vpretzel
alekst has quit [Quit: Leaving...]
fth5665 has joined #ruby
jprovazn has quit [Quit: Odcházím]
alexfreidah has quit [Ping timeout: 240 seconds]
angusiguess has joined #ruby
mmcdaris has quit [Ping timeout: 272 seconds]
<fth5665>
Microsoft Destroys Bitcoin Mining Botnet Sefnit http://cur.lv/6n0su
<pragmatism>
kaldrenon: describe blocks, I blieve
fth5665 has quit [Killed (idoru (Spam is off topic on freenode.))]
yfeldblum has quit [Remote host closed the connection]
shaunbaker has quit [Remote host closed the connection]
jtdowney_ has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
jtdowney_ has quit [Max SendQ exceeded]
<pragmatism>
That may be minitest though
daxroc has quit [Read error: Operation timed out]
jtdowney_ has joined #ruby
jtdowney_ has quit [Max SendQ exceeded]
<kaldrenon>
pragmatism: I'll try it - vim doesn't recognize it as a keyword, but Ruby doesn't care what vim thinks.
rezzack has quit [Quit: Leaving.]
<pragmatism>
True story
kevinykchan has joined #ruby
blackmesa has joined #ruby
timonv has joined #ruby
<pragmatism>
I wonder if you can update the Ruby Vim to see it
jtdowney_ has joined #ruby
jtdowney_ has quit [Max SendQ exceeded]
ndrei has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 245 seconds]
uzo has joined #ruby
dfranciosi has quit [Remote host closed the connection]
dangerousdave has joined #ruby
browndawg has left #ruby [#ruby]
ndrei has joined #ruby
baba has joined #ruby
zcreative has joined #ruby
dogweather has joined #ruby
baba has quit [Client Quit]
<kaldrenon>
Something I have installed in Vim supports context and describe for rspec, but I'm not even sure which plugin is doing that.
zoo-zed has joined #ruby
<zcreative>
Is anybody familiar with creating ACH files for sending to banks?
jfelchner has quit [Ping timeout: 240 seconds]
xlogic has quit [Remote host closed the connection]
zoo-zed has quit [Client Quit]
willb1 has joined #ruby
timonv has quit [Ping timeout: 248 seconds]
yfeldblum has joined #ruby
baba has joined #ruby
zoo-zed has joined #ruby
zoo-zed has quit [Max SendQ exceeded]
<pragmatism>
kaldrenon: hmm. Let me know if you figure it out, I'm in the process of switching over to VIM
<pragmatism>
And that's gonna be pretty useful
tauebel1 has quit [Ping timeout: 252 seconds]
kamioool has left #ruby ["Wychodzi"]
ringaroses has joined #ruby
<Morrolan>
Switching over from what?
openstandards has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
baba is now known as fire_
<kaldrenon>
pragmatism: Looks like rake test has no problem with a describe block
interactionjaxsn has joined #ruby
shime has joined #ruby
blandflakes has quit [Ping timeout: 272 seconds]
burlyscudd has quit [Quit: Leaving.]
<pragmatism>
Cool
<pragmatism>
Didja get the highlighting figured out?
<kaldrenon>
pragmatism: not yet, but I'll let you know if I do
<pragmatism>
Awesome, thank you.
Riking has quit [Ping timeout: 252 seconds]
Es0teric has joined #ruby
anildigital is now known as zz_anildigital
wildroman2 has quit []
zoscoy has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
zoscoy has quit [Client Quit]
tauebel has joined #ruby
jailbot has joined #ruby
<havenwood>
bnagy: they fixed Queue on trunk :) (it was affecting ConditionVariable too!)
tauebel has quit [Client Quit]
gabriham_lincoln has quit [Remote host closed the connection]
w4pm_ has joined #ruby
SilentHobo has joined #ruby
<kaldrenon>
pragmatism: 1) turns out I was using minitest and didn't realize it (writing a few quick tests for an app where I haven't done much test writing) -- 2) https://github.com/sunaku/vim-ruby-minitest
blackmesa has quit [Remote host closed the connection]
w4pm has quit [Ping timeout: 264 seconds]
<pragmatism>
kaldrenon: Perfect! Thanks. Minitest is a great way to go, esp. in Ruby >= 2
blackmesa has joined #ruby
ciwolsey has quit [Remote host closed the connection]
LekeFly has joined #ruby
Hobogrammer_ has quit [Read error: Connection reset by peer]
depesz has left #ruby ["WeeChat 0.4.2"]
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
willb1 has quit [Read error: Operation timed out]
bradhe has joined #ruby
apeiros has joined #ruby
SilentHobo has quit [Read error: Operation timed out]
MatthewsFace has joined #ruby
heftig has joined #ruby
mspah_ has joined #ruby
Kricir__ has quit [Remote host closed the connection]
alvaro_o has joined #ruby
byprdct has joined #ruby
byprdct has quit [Remote host closed the connection]
byprdct has joined #ruby
vlad_starkov has quit [Ping timeout: 260 seconds]
camilasan has joined #ruby
tauebel has joined #ruby
colonolGron has quit [Ping timeout: 264 seconds]
Kricir has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
iliketurtles has quit [Quit: zzzzz…..]
sLi- has joined #ruby
Txandy has joined #ruby
aaronmcadam has joined #ruby
<lectrick>
Is there a gem out there that is about a hundred times lighter than Rails and JUST lets you build REST API's?
<lectrick>
Or is it easier to just roll-my-own solution
<lectrick>
maybe as a Rack app
<MrZYX>
sinatra?
<Morrolan>
Sinatra?
<Morrolan>
Hah. :P
<lectrick>
Is there something even thinner than Sinatra?
<Morrolan>
Rack.
<MrZYX>
Rack
<MrZYX>
:D
teddyp1cker has joined #ruby
jailbot has quit [Remote host closed the connection]
<Morrolan>
\o/
<lectrick>
So basically, directly on Rack. OK fair enough :)
<lectrick>
you guys are hilariously in sync today
ndrei has quit [Ping timeout: 264 seconds]
<Morrolan>
Quite. :P
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<blackmesa>
hi all. I thought If put "include FileUtils" in my class I could leave the FileUtils out in "FileUtils.cd(File.dirname(__FILE__))". but I get undefined method on 'cd'
<havenwood>
benzrf: still, it is horrifying though, isn't it? :O
dams has joined #ruby
maoko has joined #ruby
francisfish has joined #ruby
<havenwood>
ohhh xml...
dams has left #ruby [#ruby]
<jonno11>
haha
teddyp1c_ has quit []
<benzrf>
havenwood: yes ;-;
chipotle has quit [Quit: cya]
wtfitsme has quit [Quit: wtfitsme]
<benzrf>
for the love of god use nokogiri
<jonno11>
benzrf: I am
<apeiros>
jonno11: you've been told what the problem and what the solution is
shadoi has joined #ruby
Baluse has quit [Ping timeout: 245 seconds]
meatherly has quit [Remote host closed the connection]
<apeiros>
jonno11: if you don't read the replies, why bother to ask?
nobitanobi has joined #ruby
Baluse has joined #ruby
<jonno11>
apeiros: It's more I don't want to leave it if I don't know why it didn't work! And what replies?
meatherly has joined #ruby
chipotle has joined #ruby
<apeiros>
jonno11: read the backlog. both havenwood and I told you the same.
<havenwood>
apeiros: /m
<havenwood>
apeiros: i saw
<nobitanobi>
If I want to use select on an Array, but the condition is pretty complex (I have a method for it). How can I use that method on the block? - Like so: images = images.select { |img| have_same_contrast(img, @image) }
evenix has quit []
<bnagy>
just like that
mmcclimon has left #ruby [#ruby]
alexfreidah has quit [Ping timeout: 248 seconds]
devdazed has quit [Quit: Bye]
freezey has joined #ruby
<nobitanobi>
bnagy, uhm. undefined method `have_same_contrast' for main:Object (NoMethodError)
devdazed has joined #ruby
<havenwood>
apeiros: oh, right - i'm just all over the place today - gunna quit typing till i get coffee >.>
<apeiros>
havenwood: lol
beneggett has joined #ruby
angusiguess has joined #ruby
<bnagy>
nobitanobi: sooo define it? Or invoke it on something with it defined?
<nobitanobi>
bnagy, never mind.
<nobitanobi>
I was defining it
<nobitanobi>
after the block
<jonno11>
havenwood, apeiros: but why does it work in Rubular and not Ruby?
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
raar has joined #ruby
raar is now known as Guest8424
tannerburson has quit [Quit: tannerburson]
heidi-ramen is now known as heidi
iamsean has joined #ruby
Txandy has quit [Quit: Leaving...]
coca_rails has quit [Remote host closed the connection]
mneorr has joined #ruby
Kricir_ has quit [Remote host closed the connection]
maximveksler has joined #ruby
coca_rails has joined #ruby
tauebel has quit [Quit: Leaving.]
Kricir has joined #ruby
sassamo has quit [Remote host closed the connection]
skulker has quit [Remote host closed the connection]
sassamo has joined #ruby
skulker has joined #ruby
mansi has quit [Read error: Connection reset by peer]
shaunbaker has quit []
mansi has joined #ruby
ryandeussing has quit []
w4pm_ has quit [Ping timeout: 265 seconds]
VTLob has quit [Quit: VTLob]
lkba has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
Neomex has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
coderhs has joined #ruby
willb1 has joined #ruby
sassamo has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
spider-mario has quit [Remote host closed the connection]
emptymag00 has joined #ruby
tannerburson has joined #ruby
skulker has quit [Ping timeout: 245 seconds]
Squarepy has joined #ruby
octoberry has joined #ruby
wtfitsme has quit [Quit: wtfitsme]
ndrei has joined #ruby
<Hanmac>
shevy did you use raid before?
workmad3 has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
RutabegaShuffle has joined #ruby
<maximveksler>
I have a large block of text, which I want to join by specific line termination chars. combining full sentences from fragments (explained here) https://gist.github.com/maximveksler/ab941ad3017835d8901b what would be the most elegant / smart way to implement this in ruby? my current naive solution is checking each line what it's last char is, and if it's not any or the required ones (].?!) appending to a local buffer which is being dumped once a matching
<Hanmac>
bnagy: yeah i know ... once started there is no save way to stop it ... like americas finance crisis ;D
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
banisterone has quit [Ping timeout: 260 seconds]
francisfish has quit [Ping timeout: 265 seconds]
jtdowney_ has joined #ruby
jtdowney has quit [Disconnected by services]
jtdowney_ is now known as jtdowney
ferr has joined #ruby
malkomalko has quit []
LekeFly has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
LekeFly has joined #ruby
Al___ has joined #ruby
skulker has joined #ruby
<Hanmac>
bnagy: it only would be problematic when i want to replace then with newer disks (like HDD with twice that much space) ...
Xeago has quit [Remote host closed the connection]
<bnagy>
hm.. I don't know what's fastest there
ferr has quit [Client Quit]
ferr has joined #ruby
<bnagy>
I think I would probably just create a new volume and then move the stuff
<bnagy>
unless you are short of physical connectors, then you can just fail out the small ones disk by disk and rebuild with a big one as a replacement
<bnagy>
super fiddly though, esp if it's not nice hotswap hardware
ferr has quit [Client Quit]
ferr has joined #ruby
kaldrenon has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
<bnagy>
I cloned a whole cluster once by 'rebuilding' from a raid-1 boot disk in each new server in turn :/
mrsolo has joined #ruby
maximveksler has quit [Quit: maximveksler]
Hanmac1 has joined #ruby
soulcake has joined #ruby
Virtualize has quit [Read error: Connection reset by peer]
dodosan has quit [Ping timeout: 260 seconds]
<Hanmac1>
bnagy: hm ... when i make the big ones into a new raid ... and then add them to the same LVM (so 2 Raids -> 1LVM) ... wouldnt it work that i let the LVM move the data from one Raid to another for me?
bakedb has quit [Remote host closed the connection]
<bnagy>
Hanmac1: I.. don't know why it would do that if both raids are inside the same volume
<bnagy>
but tbh I am not very good at lvm, I've only done super basic stuff
<Hanmac>
hm i asking in #lvm maybe they know more
maoko has quit [Client Quit]
jedimind has quit [Quit: screw you guys, im going home!]
aryaching has joined #ruby
<bnagy>
I would mount both devices and just mv, the decomission the old device
<bnagy>
then add the new one to the volume
danshultz has quit [Read error: Operation timed out]
<bnagy>
but yeah, some other place is probably better :)
n1x has joined #ruby
Hanmac1 has quit [Ping timeout: 272 seconds]
<Hanmac>
jonno11: i tested it with the content.xml ... it works for me
ghr has quit [Disconnected by services]
apeiros has quit [Remote host closed the connection]
robscomputer has quit [Remote host closed the connection]
apeiros has joined #ruby
ferr has quit [Quit: leaving]
<jonno11>
Hanmac: Hmm that's weird
tannerburson has quit [Quit: tannerburson]
apeiros has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
ferr has joined #ruby
<jonno11>
Hanmac: Why do you think it works with content.xml and not with the HTTP response?
apeiros has joined #ruby
<Hanmac>
i dont know
Kricir has quit [Read error: Connection reset by peer]
skulker has quit [Remote host closed the connection]
<RutabegaShuffle>
@bnagy, just wanted to say thanks, I got it
robscomputer_ has joined #ruby
<bnagy>
huzzah! :)
Kricir has joined #ruby
bradhe has joined #ruby
<jonno11>
Hanmac: So frustrating
sassamo has joined #ruby
n1x has quit [Max SendQ exceeded]
burlyscudd has joined #ruby
<bnagy>
if in doubt, check your raw inputs
Baluse has quit [Ping timeout: 260 seconds]
robscomputer has quit [Ping timeout: 245 seconds]
<jonno11>
Does anybody else have any ideas? I'm stepping into Nokogiri... this isn't working at all, it's so frustrating and so simple. When testing by pasting in content.xml, it works fine. But it wont parse the HTTP response. Any ideas? https://gist.github.com/jonlambert/cbd23cba38cba6c61c30
n1x has joined #ruby
Baluse has joined #ruby
ndrei has joined #ruby
<bnagy>
pasting the same question over and over will just annoy people
Kricir has quit [Read error: Connection reset by peer]
<jonno11>
bnagy: I'm sure - I've just modified it.
ferr has quit [Quit: leaving]
<jonno11>
bnagy: It's an updated version of the question.
ferr has joined #ruby
Kricir has joined #ruby
duggiefresh has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 265 seconds]
brennanMKE has joined #ruby
ferr has quit [Client Quit]
ferr has joined #ruby
n1x has quit [Max SendQ exceeded]
griffindy has quit [Quit: Computer has gone to sleep.]
ndrei has quit [Ping timeout: 252 seconds]
freerobby has quit [Quit: Leaving.]
n1x has joined #ruby
tannerburson has joined #ruby
Brolen has quit [Remote host closed the connection]
nfk has quit [Remote host closed the connection]
freidahpatch has joined #ruby
nfk has joined #ruby
simoz5 has quit [Ping timeout: 252 seconds]
aspires has quit []
ferr has quit [Client Quit]
julweber has joined #ruby
ferr has joined #ruby
Al___ has quit [Read error: Connection reset by peer]
interactionjaxsn has quit [Remote host closed the connection]
Al___ has joined #ruby
mojjojo has quit [Quit: mojjojo]
simoz5 has joined #ruby
gabriham_lincoln has quit []
aryaching_ has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
simoz6 has joined #ruby
ffranz has quit [Quit: Leaving]
<shevy>
xml annoys people too!
x1337807x has quit [Ping timeout: 240 seconds]
RutabegaShuffle has quit [Ping timeout: 272 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
n1x has quit [Max SendQ exceeded]
Nogbit has joined #ruby
mojjojo has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
ferr has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
n1x has joined #ruby
simoz5 has quit [Ping timeout: 248 seconds]
shime has quit [Ping timeout: 260 seconds]
MrThePlague has joined #ruby
MrThePlague has quit [Remote host closed the connection]
wtfitsme has joined #ruby
<jonno11>
shevy: XML might be my most hated thing
rubyracer has quit [Quit: Konversation terminated!]
Squarepy has quit [Quit: Leaving]
subbyyy has joined #ruby
<shevy>
:D
alexfreidah has joined #ruby
punkcat has joined #ruby
x1337807x has joined #ruby
yfeldblum has quit [Remote host closed the connection]
benzrf has joined #ruby
<benzrf>
sup yo
yfeldblum has joined #ruby
asteros has joined #ruby
aapole has quit [Quit: Lost terminal]
Hanmac1 has joined #ruby
emptymag00 has quit [Ping timeout: 260 seconds]
orionstein is now known as orionstein_away
wolfman has quit [Ping timeout: 245 seconds]
Kabaka has quit [Ping timeout: 246 seconds]
Rylee has quit [Ping timeout: 248 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
rootshift has joined #ruby
cj3kim has joined #ruby
jlast_ has quit [Remote host closed the connection]
aryaching has joined #ruby
jlast has joined #ruby
x1337807x has quit [Client Quit]
subbyyy has quit [Ping timeout: 240 seconds]
Al___ has quit [Read error: Connection reset by peer]
Al___ has joined #ruby
Fire-Dragon-DoL has joined #ruby
fedesilv_ has quit [Remote host closed the connection]
aryaching_ has quit [Ping timeout: 245 seconds]
kpshek has joined #ruby
thesheff17 has quit [Ping timeout: 272 seconds]
Rylee has joined #ruby
yfeldblum has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 245 seconds]
mary5030 has quit [Ping timeout: 245 seconds]
mikepack has quit [Remote host closed the connection]
Kabaka has joined #ruby
jerius has quit [Ping timeout: 260 seconds]
mrsolo has joined #ruby
mikepack has joined #ruby
dawe has quit [Quit: leaving]
mrsolo has left #ruby [#ruby]
yasushi has joined #ruby
IcyDragon has joined #ruby
yfeldblum has joined #ruby
simoz6 has quit [Ping timeout: 245 seconds]
IceDragon has quit [Ping timeout: 260 seconds]
_Andres has quit [Ping timeout: 245 seconds]
havenwood has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
simoz6 has joined #ruby
havenwood has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IcyDragon is now known as IceDragon
<pontiki>
did jonno11 leave??
monkegjinni has joined #ruby
yasushi has quit [Ping timeout: 240 seconds]
beneggett has joined #ruby
_Andres has joined #ruby
<shevy>
yeah
casheew has quit [Read error: Connection reset by peer]
alexfreidah has quit [Ping timeout: 240 seconds]
casheew has joined #ruby
<centrx>
bummer
i_s has quit [Remote host closed the connection]
_Andres has quit [Read error: Connection reset by peer]
mojjojo has quit [Quit: mojjojo]
claymore has quit [Quit: Leaving]
tauebel has quit [Read error: Operation timed out]
beneggett has quit [Client Quit]
pietr0 has quit [Quit: pietr0]
freezey has quit [Remote host closed the connection]
_HolyCow is now known as Guest99999
Jdubs has joined #ruby
Guest99999 is now known as _HolyCow
robscomputer_ has quit [Remote host closed the connection]
mojjojo has joined #ruby
kpshek has quit []
robscomputer has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
octoberry has quit [Ping timeout: 240 seconds]
Kricir has quit [Read error: Connection reset by peer]
emptymag00 has joined #ruby
julweber has quit [Remote host closed the connection]
Hanmac has joined #ruby
gusblan has joined #ruby
Kricir has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
dblessing has quit [Quit: dblessing]
jonahR has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
zigidias_ is now known as zigidias
zigidias has quit [Changing host]
zigidias has joined #ruby
n1x has quit [Quit: Ex-Chat]
<shevy>
Hanmac I did not use raid before I think
_Andres has joined #ruby
dodosan has joined #ruby
yasushi has joined #ruby
kobain has joined #ruby
Amart41 has quit [Remote host closed the connection]
robscomputer has quit [Ping timeout: 245 seconds]
Al___ has quit [Quit: Al___]
clamstar has quit [Quit: Computer has gone to sleep.]
sassamo has quit [Remote host closed the connection]
Kricir has quit [Read error: Operation timed out]
sassamo has joined #ruby
byprdct has joined #ruby
sassamo has quit [Read error: Connection reset by peer]
sassamo_ has joined #ruby
punkcat has quit [Ping timeout: 245 seconds]
phansch has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 240 seconds]
Hanmac has quit [Ping timeout: 264 seconds]
cj3kim has quit [Ping timeout: 265 seconds]
Jetchisel has joined #ruby
gusblan has quit []
Hanmac has joined #ruby
freezey has joined #ruby
tannerburson has quit [Quit: tannerburson]
sambao21 has quit [Quit: Computer has gone to sleep.]
alexfreidah has joined #ruby
bradhe has joined #ruby
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_Andres has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
mansi has quit [Remote host closed the connection]
<rubidious>
Hi. I'm getting the following error when I run script/server
<rubidious>
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /var/lib/gems/1.9.1/gems/activesupport-1.4.2/lib/active_support/inflector.rb:266: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError) when 1: "#{number}st"
<rubidious>
can someone point me in the right direction?