havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
cdg has quit [Ping timeout: 260 seconds]
infernix has joined #ruby
brent__ has quit [Remote host closed the connection]
AnoHito has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 248 seconds]
AnoHito has joined #ruby
nesoi has joined #ruby
brent__ has joined #ruby
rundor has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 248 seconds]
rundor has joined #ruby
brent__ has quit [Remote host closed the connection]
AnoHito_ has quit [Ping timeout: 240 seconds]
AnoHito_ has joined #ruby
gix has quit [Quit: Client exiting]
gavxn has joined #ruby
<gavxn> Hello!
AnoHito has quit [Ping timeout: 260 seconds]
<gavxn> Are there any Windows Ruby programmers here?
rundor has quit [Ping timeout: 255 seconds]
AnoHito has joined #ruby
guardianx has joined #ruby
AnoHito_ has quit [Ping timeout: 255 seconds]
sarmiena_ has joined #ruby
<sarmiena_> trying to track down a tricky bug and think it would be useful to see the a stacktrace of objects that invoked the current method i’m in. is this possible?
TomyLobo has quit [Ping timeout: 255 seconds]
HumbleBee has joined #ruby
zwild has joined #ruby
mim1k has joined #ruby
gix has joined #ruby
milardovich has quit [Remote host closed the connection]
rundor has joined #ruby
JoshS has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
<gavxn> Probably the weirdest thing I've seen in a while lol
ecuanaso has joined #ruby
ketan has joined #ruby
jenrzzz has joined #ruby
umaaji has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 240 seconds]
ketan has quit [Ping timeout: 260 seconds]
zwild has quit [Remote host closed the connection]
AnoHito_ has joined #ruby
AnoHito has quit [Ping timeout: 260 seconds]
<nesoi> sorry if this is a really dumb question, but how do I convert a TIme value to text in this format? 2009-03-29T14:50:29Z
<nesoi> it's a value which outputs "Time" for this puts: puts "#{r.last_updated_at}"
npgm has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mim1k has joined #ruby
mokiwis has joined #ruby
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nesoi> I tried Time.parse(timeVariable) but get: `_parse': no implicit conversion of Time into String
<elomatreb> nesoi: That format looks like ISO8601. If it's an actual time object you can call #iso8601 on it to get that
<nesoi> elomatreb: by call you mean timeVariable.iso8601 ?
<nesoi> thanks btw!
<elomatreb> Yes, r.last_updated_at.iso8601 in your case it seems
jenrzzz has quit [Ping timeout: 260 seconds]
kculpis has joined #ruby
<nesoi> yes, that does it!
mim1k has quit [Ping timeout: 260 seconds]
<nesoi> was that a breaking change between Ruby 1.9x and 2.4x?
TomyLobo has joined #ruby
kculpis has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mahlon has quit [Read error: Connection reset by peer]
mokiwis has quit [Quit: My computer has gone to sleep...]
AnoHito_ has quit [Ping timeout: 260 seconds]
mahlon has joined #ruby
brent__ has joined #ruby
__Yiota has joined #ruby
gusrub has quit []
raspado has joined #ruby
DaniG2k has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
minimalism has quit [Quit: minimalism]
gavxn has quit [Quit: Page closed]
savoir-faire has quit [Excess Flood]
savoir-faire has joined #ruby
brent__ has quit [Ping timeout: 248 seconds]
mim1k has joined #ruby
MrBismuth has joined #ruby
TomyLobo has quit [Ping timeout: 255 seconds]
minimalism has joined #ruby
marr has quit [Remote host closed the connection]
blindMoe has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
MrBusiness has quit [Ping timeout: 255 seconds]
<blindMoe> anyone mind helping me with this problem? Want to use avariable to store the name of an idenfier inside an object to grab it but am not sure how to do it in Ruby. https://gist.github.com/anonymous/35dc8b4126f14296873c71daf48d28c5 Lines 8 and 10 are the pertinent ones
mim1k has quit [Ping timeout: 255 seconds]
kies has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
Lien has joined #ruby
HumbleBee has quit [Quit: Leaving]
<Lien> hello?
AnoHito has joined #ruby
ascarter has quit [Ping timeout: 255 seconds]
wilbert has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
blindMoe has left #ruby ["Yeap"]
gnufied has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 260 seconds]
AnoHito has quit [Ping timeout: 260 seconds]
Lien is now known as elevenx0
DaniG2k has quit [Quit: leaving]
ddubs has joined #ruby
elevenx0 is now known as harlo
harlo is now known as elevenxo
im0nde has quit [Ping timeout: 246 seconds]
elevenxo has quit [Quit: Page closed]
bronson has joined #ruby
mim1k has joined #ruby
amclain has quit [Quit: Leaving]
AnoHito has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
mim1k has quit [Ping timeout: 260 seconds]
elevenx0 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
AnoHito has quit [Ping timeout: 255 seconds]
dcunit3d has joined #ruby
<elevenx0> hello! just starting some ruby exercises on exercism.io and need help, was wondering if someone could kindly assist :)
AnoHito has joined #ruby
raspado has quit [Remote host closed the connection]
Havenn has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
comet23 has joined #ruby
<comet23> i'm having trouble with regex
zwild has joined #ruby
<comet23> where can i learn?
choke has quit [Ping timeout: 255 seconds]
AnoHito has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
raspado has joined #ruby
Havenn has quit [Client Quit]
comet23 has quit [Client Quit]
zwild has quit [Remote host closed the connection]
gizmore has joined #ruby
mim1k has joined #ruby
mtkd has quit [Ping timeout: 255 seconds]
mtkd has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gizmore|2 has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 240 seconds]
sarmiena_ has quit [Quit: sarmiena_]
jameser has joined #ruby
JoshS has quit [Ping timeout: 246 seconds]
raspado has quit [Quit: Leaving...]
jameser_ has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
d^sh has quit [Ping timeout: 248 seconds]
d^sh has joined #ruby
Havenn has joined #ruby
Havenn is now known as Guest43870
tacoboy has quit [Remote host closed the connection]
mokiwis has joined #ruby
wilbert has quit [Ping timeout: 255 seconds]
ascarter has joined #ruby
Guest43870 has quit [Remote host closed the connection]
mokiwis has quit [Client Quit]
dviola has joined #ruby
ascarter has quit [Ping timeout: 260 seconds]
wilbert has joined #ruby
JoshS has joined #ruby
mim1k has joined #ruby
cpruitt has joined #ruby
br|ck has joined #ruby
empty_cup has quit [Quit: leaving]
mim1k has quit [Ping timeout: 240 seconds]
cpruitt has quit [Ping timeout: 240 seconds]
mokiwis has joined #ruby
ketan has joined #ruby
wilbert_ has joined #ruby
ketan has quit [Ping timeout: 260 seconds]
wilbert has quit [Ping timeout: 276 seconds]
Axy has joined #ruby
mokiwis has quit [Quit: See ya!]
nb_bez____ has quit [Quit: Connection closed for inactivity]
empty_cup has joined #ruby
dstrunk has joined #ruby
dstrunk has quit [Client Quit]
dstrunk has joined #ruby
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
cdg has joined #ruby
joevandyk has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 260 seconds]
cdg has quit [Ping timeout: 240 seconds]
mrconfused has quit [Ping timeout: 240 seconds]
rubycoder37 has joined #ruby
<rubycoder37> hi
mim1k has joined #ruby
mrconfused has joined #ruby
br0d1n has quit [Quit: Leaving]
astrobunny has joined #ruby
duderonomy has quit [Ping timeout: 276 seconds]
millerti has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
mim1k has quit [Ping timeout: 260 seconds]
Emmanuel_Chanel has joined #ruby
guardianx has quit [Read error: Connection reset by peer]
<nesoi> how do I unallocate a string value or otherwise get it to test as False? I have something like: if string which tests to see if there's a value in the string. how do I reset it to have no value so that test will fail?
<nesoi> is it just =nil?
justbleed has joined #ruby
<nesoi> that didn't work
marxarelli is now known as marxarelli|afk
<nesoi> can anyone give me a clue? :/
bronson has joined #ruby
<elomatreb> You want that a string will be treated as falsy in an if?
mrconfused has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 260 seconds]
duderonomy has joined #ruby
<rubycoder37> how do I unslice this (1..100).each_slice(3).to_a so I can grab all the numbers from the first slice and the second, third, etc?
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
ecuanaso has joined #ruby
ecuanaso has quit [Client Quit]
chouhoulis has joined #ruby
ecuanaso has joined #ruby
ecuanaso has quit [Client Quit]
mim1k has joined #ruby
<elomatreb> rubycoder37: You want the elements of the first N slices?
<rubycoder37> yes
ecuanaso has joined #ruby
ecuanaso has quit [Client Quit]
<elomatreb> rubycoder37: Like so? https://eval.in/831741
chouhoulis has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 240 seconds]
Dreamer3 has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
anisha has joined #ruby
anisha has quit [Client Quit]
<rubycoder37> elomatreb: yes, thanks
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
claw has quit [Ping timeout: 255 seconds]
kies has joined #ruby
gix has quit [Ping timeout: 260 seconds]
gix has joined #ruby
kculpis has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
sarbs has quit [Read error: Connection reset by peer]
br|ck has quit [Read error: Connection reset by peer]
JoshS has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jhooker has quit [Ping timeout: 246 seconds]
sarbs has joined #ruby
mim1k has joined #ruby
ascarter has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
claw has joined #ruby
Axy has quit [Ping timeout: 260 seconds]
<nesoi> elomatreb: yes, falsey in an if, but I did it another way.. still interested to know how to get that to work
mrconfused has joined #ruby
pb122 has quit [Read error: Connection reset by peer]
<elomatreb> You won't. Only nil and false are falsy, nothing else
justbleed has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pb122 has joined #ruby
renchan has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has joined #ruby
pb122 has quit [Read error: Connection reset by peer]
pb122 has joined #ruby
ketan has joined #ruby
tunaBee_2 has joined #ruby
tunaBee__ has quit [Ping timeout: 246 seconds]
ketan has quit [Ping timeout: 240 seconds]
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knight33 has joined #ruby
uZiel has joined #ruby
charliesome has joined #ruby
dviola has quit [Quit: WeeChat 1.9]
cyfr0n has quit [Quit: Bye!]
patrontechnosoft has joined #ruby
patrontechnosoft has quit [Remote host closed the connection]
shiranuidong has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
eightlimbed has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
cadillac_ has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
preyalone has quit [Quit: Connection closed for inactivity]
auzty has joined #ruby
snath has left #ruby ["Leaving"]
umaaji has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
umaaji has joined #ruby
brent__ has joined #ruby
comet23 has joined #ruby
bronson has joined #ruby
<comet23> how can i match this in regex?
<comet23> Hello, your name is John.
<comet23> I want to match the "H" and the "."
<eam> comet23: you want to match the whole line?
Bock has joined #ruby
rikai has quit [Ping timeout: 246 seconds]
<eam> /Hello, your name is John\./ will match that
rikai has joined #ruby
<comet23> i want to match the first character, to see if it's upper cased and the last character if it has punctuation
<eam> you want to capture them, you mean?
brent__ has quit [Ping timeout: 246 seconds]
<comet23> yes
oleo has quit [Quit: irc client terminated!]
ascarter has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 240 seconds]
cdg has quit [Remote host closed the connection]
rundor has joined #ruby
mim1k has joined #ruby
eightlimbed has quit [Ping timeout: 240 seconds]
<elomatreb> comet23: /\A(.).*(.)\z/ will do what you want. Keep in mind that in a regex, . does not mean a literal dot but "any single character"
rundor has quit [Ping timeout: 260 seconds]
<comet23> elomatreb i've tried learning regex from interactive sites and reading books, what did you do to make it click?
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 260 seconds]
sarmiena_ has joined #ruby
eightlimbed has joined #ruby
milardovich has quit [Remote host closed the connection]
<Radar> Practiced a lot.
<comet23> practice is one thing
<comet23> but practice what?
<comet23> where did you learn the basics, this stuff is hard
<baweaver> eam: lol
<baweaver> comet23: https://regexone.com/
<comet23> i don't like that site because there are multiple correct answers
<baweaver> Welcome to regex
<comet23> like you can match the first item or the last or all of them and it will tell you that's correct and it passes and lets you go to the next exercise
<comet23> you don't really learn anything from there, at least i didn't
<comet23> =(
<baweaver> Not sure what you're talking about. It works fine for me.
<comet23> go to the first exercise
<comet23> you can do (*) or [a-z] or abc or a or b or c
<baweaver> That's the point
<baweaver> and that means that you understand how to match all of them
milardovich has joined #ruby
<comet23> my point is that it's not useful to beginners like me who want to learn regex
<baweaver> Experiment with aforementioned different ways
<comet23> what elomatreb posted doesn't match what i need
<comet23> i don't understand what he wrote means either
uZiel has quit [Ping timeout: 248 seconds]
<nesoi> comet23: if you go through it character by character, referring to a regex reference, you can understand what it means
<baweaver> One of these days you're going to have to be self-sufficient in finding these things.
<baweaver> because for the most part people are just surface level googling and shooting you the first link they find when you ask for sites.
jenrzzz has quit [Ping timeout: 260 seconds]
<comet23> i'm not just asking for sites, books are better than sites
<baweaver> That being said regexone is pretty decent for what it is. The entire point is that there are multiple solutions to matching something until you get to a certain level of specificity
<comet23> everything else is too advanced for beginners because it's a reference manual
<baweaver> That's a pretty broad statement
milardovich has quit [Ping timeout: 260 seconds]
<baweaver> There are plenty of basic tutorials online for this, and if you think the books aren't reference manuals you're in for a surprise later
aupadhye has joined #ruby
<baweaver> Packt one was predictably bad. Sifting through the O'Reilly ones
anisha has joined #ruby
mrconfused has quit [Ping timeout: 246 seconds]
<baweaver> Cookbook is tome level. Mastering is tome level. Introducing Regular Expressions is of a similar level to frontpage google results.
<comet23> if i ever become good at regular expressions i am going to host a site on github that teaches newcomers to regular expressions in an easy to understand way
<Radar> I would hope it explains the emailregex.com regex.
<Radar> (?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
<comet23> i mean it should be pretty easy to read once you know the basics
<Radar> comet23: ok so what is [a-z0-9]
<Radar> and what is the difference between /[a-z0-9]/ and /[a-z0-9]/i
<comet23> from my understanding any letter or number from a-z and 0-9 and there isn't a difference
<comet23> since a-z is lower case
<baweaver> case insensitive match is i
<Radar> baweaver: spoilers
<baweaver> comet23: Trust me when I say no one understands that email regex
uZiel has joined #ruby
<comet23> i know that i is insensitive, but i thought that was redundant since he has a-z lowercased
<baweaver> including the poor fool who wrote it.
<Radar> >> /[a-z0-9]/ =~ "A"
<comet23> i have a hard time believig that
<ruby[bot]> Radar: # => nil (https://eval.in/831804)
<Radar> >> /[a-z0-9]/i =~ "A"
<ruby[bot]> Radar: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
* baweaver snickers
<Radar> ruby[bot]: I seriously am >< to giving up on you
<baweaver> comet23: point being that's not a simple one to read for anyone.
<baweaver> some regex is super hairy and not meant for human eyes
<comet23> they say the same thing about binary
<bougyman> those regex should bever be used.
<baweaver> Most of it written by Randal Munroe or Peter Norvig trying to emulate him.
<Radar> bougyman: what's the best way to validate an email address is valid?
<comet23> what i don't understand is why use regex when arrays work just as well
<baweaver> https://xkcd.com/1313/ and later Norvig was cheeky and this happened: http://nbviewer.jupyter.org/url/norvig.com/ipython/xkcd1313.ipynb
<baweaver> comet23: I want you to take an array of log lines and find ones with IP addresses in them
<baweaver> if you can do that with arrays only I'd be impressed and subsequently horrified
<Radar> baweaver: that is amazing
eightlimbed has quit [Ping timeout: 260 seconds]
<Radar> baweaver: ipv4 or ipv6?
<comet23> split the string then iterate through them and put the ips into a new array and return it?
<baweaver> No, find every line which contains an IP and ignore the others
<baweaver> v4 for now
<comet23> you want the line numbers?
<Radar> baweaver: got a test file?
<comet23> or the ip addresses?
<baweaver> test with: ['ohai 10.0.0.1', 'nope', '455.1.2.3 eh?', 'another nope']
<Radar> [15:57:22] <baweaver>comet23: I want you to take an array of log lines and find ones with IP addresses in them
<Radar> instructions seem pretty clear to me
pmden has quit [Ping timeout: 240 seconds]
<comet23> no it's not really clear
<comet23> but when he explained it better it is clear now
<apeiros> > baweaver: comet23: Trust me when I say no one understands that email regex
<apeiros> I wrote one, would you trust me that I understand mine?
Havenn_ has joined #ruby
<apeiros> (translated the bnf of the spec)
<baweaver> With you? No.
<baweaver> <3
<apeiros> :D
<Radar> baweaver: is it ok that I googled for the regex to match IP addresses? ;)
<comet23> so each line ends with an \n so split on \n
<baweaver> test with: ['ohai 10.0.0.1', 'nope', '455.1.2.3 eh?', 'another nope']
<baweaver> >> ['ohai 10.0.0.1', 'nope', '455.1.2.3 eh?', 'another nope']
<ruby[bot]> baweaver: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
* baweaver punches rubybot
<comet23> then further split the items, create methods that check for conditions such as haiving all numbers but not greater than 3 per set
<baweaver> or, you know, use a regex
<Radar> apeiros: Can we please kill ruby[bot] or at least punish it hard like?
<Radar> time to write it in Elixir ;)
<Radar> comet23: code plz
<comet23> if it's just numbers on that line with the ip you return index + 1 into an array or a hash
<Radar> less talk more code
<comet23> i'm not going to code that
<comet23> because i want to learn regex
<apeiros> Radar: it's still not rubybots fault, though. it's eval.in. (it's rubybot's fault to fail handling eval.in's error, though)
* apeiros gotta commute, cya
<baweaver> cheers
<baweaver> I'll be nice
<baweaver> &ri Enumerable#select
<comet23> i would totally believe you that you understood what you wrote
<comet23> because if you didn't understand what you were writing you wouldn't be able to have written it in the first place
<baweaver> It's a joke...
ascarter has joined #ruby
<baweaver> Programmers often joke that they can't understand code they wrote a month ago if it's sufficiently complicated enough and not commented well
pmden has joined #ruby
Havenn_ has quit [Remote host closed the connection]
<comet23> good night everyone thank you for the help
<Radar> comet23: sorry, I'm not understanding why you didn't write any code.
<Radar> Maybe you will write some tomorrow.
<Radar> Sleep well :wave:
<baweaver> Someone's been using Slack too much again Radar
<Radar> baweaver: :+1:
<baweaver> :thumbs-up:
<elomatreb> comet23: Just got back. To answer your earlier question, as has been said, practice makes perfect
<baweaver> Huh. So this is what eam deals with every day.
ascarter has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
ddubs has quit [Ping timeout: 260 seconds]
DeeJayh__ has joined #ruby
comet23 has quit [Ping timeout: 246 seconds]
krmela has joined #ruby
gothicsouth has joined #ruby
DeeJayh_ has quit [Ping timeout: 268 seconds]
wilbert_ has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
djbkd has quit [Remote host closed the connection]
andikr has joined #ruby
djbkd has joined #ruby
howdoi has joined #ruby
djbkd has quit [Ping timeout: 255 seconds]
andrzejk_ has joined #ruby
krmela has quit [Remote host closed the connection]
ketan has joined #ruby
ketan has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has quit [Ping timeout: 240 seconds]
havenwood_ has joined #ruby
havenwood_ has quit [Changing host]
havenwood_ has joined #ruby
szymon has joined #ruby
<szymon> hi
Mortomes|Work has joined #ruby
enterprisey has joined #ruby
<havenwood_> szymon: hi
conta has joined #ruby
havenwood_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
szymon has quit [Quit: Leaving]
enterprisey has quit [Remote host closed the connection]
ricer2 has joined #ruby
alex`` has quit [Quit: WeeChat 1.9]
szymon has joined #ruby
alex`` has joined #ruby
pootiscoder has joined #ruby
ricer2 has quit [Ping timeout: 255 seconds]
ricer2 has joined #ruby
aufi has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
elevenx0 has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
bronson has joined #ruby
pb122 has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
xall has joined #ruby
hs366 has quit [Quit: Leaving]
bronson has quit [Ping timeout: 260 seconds]
ascarter has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
hs366 has joined #ruby
ur5us has quit [Remote host closed the connection]
InfinityFye has joined #ruby
ltem has joined #ruby
Ishido has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mim1k has joined #ruby
cam27 has quit [Quit: cam27]
havenwood has quit [Quit: ZNC 1.6.5 - http://znc.in]
havenwood has joined #ruby
havenwood is now known as Guest63175
Guest63175 has quit [Changing host]
Guest63175 has joined #ruby
shiranuidong has quit [Ping timeout: 260 seconds]
mark_66 has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
patarr has joined #ruby
DaniG2k has joined #ruby
Guest63175 has quit [Quit: ZNC 1.6.5 - http://znc.in]
cyphase has quit [Quit: cyphase.com]
cyphase has joined #ruby
andrzejk_ has quit [Quit: Textual IRC Client: www.textualapp.com]
`derpy has quit [Read error: Connection reset by peer]
adaedra has quit [Read error: Connection reset by peer]
patarr has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
DoubleMalt has joined #ruby
pandaant has joined #ruby
tunaBee_2 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
havenwood has joined #ruby
havenwood has joined #ruby
romankapitonov has joined #ruby
aufi has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 240 seconds]
aufi has joined #ruby
sarbs has quit [Ping timeout: 248 seconds]
DaniG2k has quit [Quit: leaving]
sarbs has joined #ruby
Guest74581 has joined #ruby
Beams has joined #ruby
kculpis has quit [Read error: Connection reset by peer]
bigkevmcd has joined #ruby
misery_ has joined #ruby
Guest74581 has quit [Quit: ZNC 1.6.5 - http://znc.in]
rundor has joined #ruby
rundor has quit [Ping timeout: 255 seconds]
ketan has joined #ruby
ferr has joined #ruby
TomyWork has joined #ruby
rohitpaulk has joined #ruby
ketan has quit [Ping timeout: 260 seconds]
nofxxx has joined #ruby
xall has quit [Quit: xall]
nofxxxx has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
DoubleMalt has quit [Ping timeout: 260 seconds]
tunaBee_ has joined #ruby
marr has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
Winter_Foxo has joined #ruby
hightower2 has joined #ruby
Serpent7776 has joined #ruby
oded has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ketan has joined #ruby
mim1k has quit [Ping timeout: 276 seconds]
tunaBee_ has quit [Ping timeout: 276 seconds]
ketan has quit [Read error: No route to host]
ketan has joined #ruby
shmoon has joined #ruby
<shmoon> someone can help with https://pastebin.com/raw/MTPrDppc ?
<ruby[bot]> shmoon: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<shmoon> which is why I pasted raw link :P
biberu has joined #ruby
mim1k has joined #ruby
milardovich has joined #ruby
havenwood has joined #ruby
brent__ has joined #ruby
<shmoon> no one ? :/
bronson has joined #ruby
dionysus69 has joined #ruby
npgm has quit [Quit: Connection closed for inactivity]
<szymon> shmoon, i think you need gem runt
<szymon> shmoon, gem install runt
milardovich has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
brent__ has quit [Ping timeout: 268 seconds]
<shmoon> did that szymon
antgel has joined #ruby
<ruby[bot]> shmoon: as I told you already, please use https://gist.github.com
<shmoon> okok
<havenwood> shmoon: Why does it complain about `date/format` when you're requiring `runt`?
bronson has quit [Ping timeout: 255 seconds]
<havenwood> You're not requiring "date/format" on the next line or something?
astrobunny has quit [Remote host closed the connection]
GodFather has quit [Read error: No route to host]
GodFather has joined #ruby
workmad3 has joined #ruby
GodFather has quit [Client Quit]
GodFather has joined #ruby
ltem has quit [Quit: Leaving]
aupadhye has quit [Ping timeout: 255 seconds]
terens has joined #ruby
<terens> hi
<terens> Do first 5 lines break single responsibility pattern?
encounter_ekamba has joined #ruby
pootiscoder has quit [Quit: Going offline, see ya! (www.adiirc.com)]
nadir has quit [Quit: Connection closed for inactivity]
aupadhye has joined #ruby
nightfeather has quit [Ping timeout: 258 seconds]
pandaant has quit [Quit: Lost terminal]
<ljarvis> terens: no they're fine
<ljarvis> you don't want to parse the JSON twice
cseder has joined #ruby
aupadhye has quit [Quit: Leaving]
aupadhye has joined #ruby
patarr has joined #ruby
dasher00 has joined #ruby
GodFather has quit [Quit: Ex-Chat]
kassav_ has joined #ruby
GodFather has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
djbkd has quit []
Chinggis6 has joined #ruby
MrSparkle has quit [Ping timeout: 248 seconds]
dasher00 has quit [Ping timeout: 240 seconds]
Chinggis6 has quit [Quit: Leaving]
govg_ has joined #ruby
<szymon> hello i have problem with som object i try Create Car class and when do Car.new(:smth) color car should change every when choise .new
encounter_ekamba has quit [Quit: Textual IRC Client: www.textualapp.com]
savoir-faire has quit [Ping timeout: 240 seconds]
<shmoon> nope haver
<terens> Although I rescue exceptions their output appears to stdout. Why?
<shmoon> havenwood:
govg_ has quit [Quit: leaving]
<dminuoso> szymon: What?
<szymon> dminuoso, i think in gist it is beeter explain
<dminuoso> I dont read gists until I have a readable summary.
<SpComb> https://gist.github.com/SpComb/6f8dca298474b7f88fb52b7e0ef603ad I noticed something odd on alpine linux ruby 2.3.3... OpenSSL does not respect the SSL_CERT_FILE= env?
<szymon> ok
<szymon> dminuoso, a have some class Car
<szymon> dminuoso, and they hava a :name and :color
<szymon> dminuoso, i can create Car be Car.new(:name,:color) but i can create to Car.new(:name)
<dminuoso> szymon: Let me rephrase. What's wrong with your code?
<dminuoso> Seems to work fine
umaaji has quit [Quit: Leaving...]
<szymon> dminuoso, it not change color when have new create
<dminuoso> szymon: Don't lie to me.
<dminuoso> szymon: It does.
cseder has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noe has joined #ruby
cseder has joined #ruby
nowhere_man has joined #ruby
loveablelobster has joined #ruby
pandaant has joined #ruby
<szymon> dminuoso, you have right somthing in spec :) thx
loveablelobster has quit [Client Quit]
Winter_Foxo has quit [Ping timeout: 276 seconds]
pandaant has quit [Remote host closed the connection]
Ishido has quit [Ping timeout: 260 seconds]
pootiscoder has joined #ruby
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rundor has joined #ruby
jameser has joined #ruby
pootiscoder has quit [Changing host]
pootiscoder has joined #ruby
gregf_ has joined #ruby
jameser has quit [Client Quit]
rundor has quit [Ping timeout: 248 seconds]
sarbs has quit [Ping timeout: 268 seconds]
sarbs has joined #ruby
Ishido has joined #ruby
_whitelogger has joined #ruby
bronson has joined #ruby
terens has quit [Ping timeout: 255 seconds]
nowhere_man has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 248 seconds]
mim1k has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
Ishido has quit [Ping timeout: 260 seconds]
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
mrconfused has joined #ruby
rohitpaulk has quit [Ping timeout: 255 seconds]
brent__ has joined #ruby
patarr has joined #ruby
brent__ has quit [Ping timeout: 255 seconds]
savoir-faire has joined #ruby
patarr has quit [Ping timeout: 258 seconds]
Ishido has joined #ruby
auzty has quit [Quit: Leaving]
mrconfused has quit [Ping timeout: 276 seconds]
ldnunes has joined #ruby
ketan has quit []
__Yiota has joined #ruby
rundor has joined #ruby
jameser has joined #ruby
nowhere_man has quit [Remote host closed the connection]
rohitpaulk has joined #ruby
nowhere_man has joined #ruby
mrconfused has joined #ruby
rundor has quit [Ping timeout: 246 seconds]
nowhere_man has quit [Remote host closed the connection]
himynameisvic has joined #ruby
nowhere_man has joined #ruby
petruff has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
howdoi has quit [Quit: Connection closed for inactivity]
sepp2k has joined #ruby
nowhere_man has quit [Ping timeout: 248 seconds]
hightower2 has quit [Ping timeout: 248 seconds]
romankap_ has joined #ruby
Tempesta has quit [Quit: See ya!]
romankapitonov has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
rohitpaulk has quit [Ping timeout: 240 seconds]
roshanavand has quit [Quit: roshanavand]
jameser has joined #ruby
minimalism has quit [Quit: minimalism]
bkxd has joined #ruby
bkxd_ has joined #ruby
ascarter has joined #ruby
pootiscoder has quit [Quit: Going offline, see ya! (www.adiirc.com)]
pootiscoder has joined #ruby
pootiscoder has quit [Client Quit]
ascarter has quit [Ping timeout: 240 seconds]
oded has quit [Ping timeout: 240 seconds]
oded has joined #ruby
rohitpaulk has joined #ruby
troulouliou_div2 has joined #ruby
ta_ has joined #ruby
szymon is now known as Guest33663
Guest33663 has quit [Killed (weber.freenode.net (Nickname regained by services))]
Guest33663 has joined #ruby
gnufied has joined #ruby
chouhoulis has joined #ruby
stryek has quit [Remote host closed the connection]
Mortomes|Work has quit [Ping timeout: 260 seconds]
splitshot has joined #ruby
deep-book-gk_ has joined #ruby
Guest33663 has quit [Quit: Leaving]
Guest33663 has joined #ruby
cgfbee has quit [Remote host closed the connection]
deep-book-gk_ has left #ruby [#ruby]
romankap_ has quit [Read error: Connection reset by peer]
truenito has joined #ruby
<Guest33663> dminuoso, ok thats help but i find bug in my code when i first time use new for car that give me a second color from constatn i must have first
romankapitonov has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
im0nde has joined #ruby
cgfbee has joined #ruby
__Yiota has joined #ruby
Axy has joined #ruby
mrconfused has quit [Ping timeout: 246 seconds]
Guest33663 has quit [Quit: Leaving]
szymon_ has joined #ruby
Silthias has joined #ruby
misery_ has quit [Ping timeout: 240 seconds]
<dminuoso> g3funk: color = AVAILABLE_COLORS.first; AVAILABLE_COLORS.rotate!; return color
<dminuoso> Oh well.
Silthias1 has joined #ruby
cdg has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
bkxd_ has quit [Ping timeout: 260 seconds]
mrconfused has joined #ruby
Silthias has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
andikr has quit [Remote host closed the connection]
<szymon_> omg it was so simply thanks
<szymon_> dminuoso, it`s work thanks
mim1k has joined #ruby
millerti has joined #ruby
apparition has joined #ruby
jameser has quit [Read error: Connection reset by peer]
jameser has joined #ruby
cagmz has joined #ruby
hightower2 has joined #ruby
mrconfused has quit [Ping timeout: 240 seconds]
vondruch has quit [Ping timeout: 248 seconds]
oded has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
hightower2 has quit [Ping timeout: 240 seconds]
johnzorn has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 246 seconds]
mim1k has quit [Read error: Connection reset by peer]
johnzorn has joined #ruby
tacoboy has joined #ruby
cdg_ has joined #ruby
uZiel has quit [Remote host closed the connection]
knight33 has joined #ruby
cdg has quit [Ping timeout: 258 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
roshanavand has joined #ruby
uZiel has joined #ruby
DLSteve has joined #ruby
mim1k has joined #ruby
justbleed has joined #ruby
im0nde has quit [Ping timeout: 276 seconds]
ta_ has quit [Remote host closed the connection]
rickumali has joined #ruby
rkellermeyer has joined #ruby
mrconfused has joined #ruby
hs366 has quit [Quit: Leaving]
iomotoko has quit [Quit: leaving]
shinnya has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has quit [Ping timeout: 255 seconds]
jameser has joined #ruby
knight33 has quit [Quit: Textual IRC Client: www.textualapp.com]
jphase has joined #ruby
DoubleMalt has joined #ruby
szymon_ has quit [Quit: Leaving]
mrconfused has quit [Ping timeout: 246 seconds]
cdg_ has quit [Remote host closed the connection]
mostlybadfly has quit [Quit: Connection closed for inactivity]
cam27 has joined #ruby
<Kanibal> hey! I'm once again working on my text file cutting problem. I now have an array of "cut positions" that I remove from my string using the following code: cut.each {|c| @file.slice! (c[0]..c[1])}
<Kanibal> Problem is that the indexes change after each loop
milardovich has joined #ruby
<Kanibal> Does anybody have a clever idea how I could solve that?
oleo has joined #ruby
enodata has quit [Quit: enodata]
milardovich has quit [Remote host closed the connection]
mrconfused has joined #ruby
Ishido has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
cpruitt has joined #ruby
Rapture has joined #ruby
antgel has quit [Ping timeout: 246 seconds]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
dionysus70 is now known as dionysus69
truenito has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 276 seconds]
rohitpaulk has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
rohitpaulk has joined #ruby
daivyk has joined #ruby
mrconfused has quit [Ping timeout: 246 seconds]
mrconfused has joined #ruby
spheric has quit [Ping timeout: 276 seconds]
rubydude has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
<rubydude> Why does 1 <=> 1 == 0 result in a "syntax error, unexpected =="? However if I run the same code like this it works: 1.<=>(1).==(0) # => true
rohitpaulk has quit [Ping timeout: 260 seconds]
millerti has joined #ruby
Ishido has joined #ruby
<dminuoso> rubydude: Optional parens have a metric fuckton of cases where you end up with ambiguities.
rundor has joined #ruby
<dminuoso> rubydude: The rule is this: If it parses, be happy. If not, add parens.
<rubydude> dminuoso: So it's not because of some kind of precedence rule right?
<rubydude> dminuoso: Because both <=> and == have the same precedence so it should work.
<dminuoso> rubydude: Right.
skweek has quit [Ping timeout: 248 seconds]
<dminuoso> rubydude: It's a fundamental LALR(1) thing.
jhooker has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> It's just not parsable without parens.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
truenito has joined #ruby
mrconfused has quit [Ping timeout: 246 seconds]
mrconfused has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
himynameisvic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rundor has quit [Remote host closed the connection]
himynameisvic has joined #ruby
rundor has joined #ruby
himynameisvic has quit [Client Quit]
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
aupadhye has quit [Ping timeout: 276 seconds]
rundor has joined #ruby
justbleed has quit [Read error: Connection reset by peer]
rubydude has quit [Quit: Page closed]
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
antgel has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
rundor has quit [Remote host closed the connection]
Silthias1 has quit [Quit: Leaving.]
jschoolcraft has joined #ruby
__Yiota has joined #ruby
Ishido has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
Ishido has joined #ruby
kassav_ has quit [Read error: Connection reset by peer]
kassav__ has joined #ruby
sgen has quit [Quit: Leaving]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldnunes has quit [Ping timeout: 258 seconds]
rohitpaulk has joined #ruby
npgm has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 255 seconds]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldnunes has joined #ruby
drcode has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
polishdub has joined #ruby
m4sk1n has joined #ruby
m4sk1n has left #ruby [#ruby]
Bish has joined #ruby
<Bish> real stupid question i might be blind here
<Bish> how do i find and get the result of the block
<Kanibal> block.call
Serpent7776 has quit [Quit: Leaving]
<Bish> >> [1].find {|x| x**2 <= 1 }
<Bish> >> [1].find {|x| x**2 <= 1 }
<ruby[bot]> Bish: # => 1 (https://eval.in/832160)
<Bish> Kanibal: that would execute it twice
<Kanibal> can you describe the problem further? your line seems to behave correctly?
<Bish> well i have a huge hash, i want to find something, but find determines it "return" value very complicated
<Kanibal> Ah.
<Bish> and i dont want to calculate it again on the found element
<Kanibal> got it
<Kanibal> >> [1, 2, 3].find {|x| x**2 if x**2 <= 1 }.compact
<Bish> :o
<Kanibal> no eval? :(.
<Bish> >> [1, 2, 3].find {|x| x**2 if x**2 <= 1 }.compact
<ruby[bot]> Bish: # => undefined method `compact' for 1:Fixnum (NoMethodError) ...check link for more (https://eval.in/832161)
<Kanibal> ah, damn
<Kanibal> .map
<Kanibal> sorry
m4sk1n has joined #ruby
<Bish> map on the other hand.. does not stop after the value was found
<Bish> i could do a lazy map and find.. that would probably work
<m4sk1n> hello, is there any channel for Ruby-related questions dedicated to newbies?
<Kanibal> Ah, you only want the first result?
<Bish> m4sk1n: you're in it, you can ask simple questions or hard questions ( like mine, lol )
<Bish> Kanibal: yes
<Kanibal> >> [1, 2, 3].map {|x| x**2 if x**2 <= 1 }.compact.first
<Kanibal> ;)
<Kanibal> but that would of course run on the whole heavy hash
<Bish> yes that is my problem
<Kanibal> then I'd probably combine .find and afterwards .map
<Bish> that would calculate it twice :o
<m4sk1n> I'm trying to add Otter Browser detection togithub.com/fnando/browser/, it's my PR: https://github.com/fnando/browser/pull/310 my first contribition in Ruby project, what I'm doing wrong?
bronson has joined #ruby
<Bish> oh i know that gem i used it before!
<splitshot> m4sk1n, nando listed out what he didn't like right there in the comments.
<m4sk1n> the comments are from Ebert
ascarter has joined #ruby
<m4sk1n> [0m 1) detects Otter Browser[0m [31m expected: truthy value got: nil[0m [34m # test/unit/otter_browser_test.rb:8[0m
<m4sk1n> yup
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 276 seconds]
<splitshot> m4sk1n, That means your test failed.
<Bish> welp, how do i find with result
<m4sk1n> I know
<Bish> .each { break sounds stupid }
ascarter has quit [Ping timeout: 276 seconds]
conta has quit [Quit: conta]
cagomez has joined #ruby
mikecmpb_ has quit [Quit: inabit. zz.]
sarmiena_ has joined #ruby
conta has joined #ruby
rohitpaulk has quit [Ping timeout: 240 seconds]
synthroid has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
aufi has quit [Quit: Leaving]
conta has quit [Client Quit]
stan_ has joined #ruby
stan has quit [Read error: Connection reset by peer]
millerti has joined #ruby
knight33 has joined #ruby
<baweaver> Bish: Enumerable functions can all be expressed in terms of `Enumerable#reduce`
<baweaver> including aggregates thereof
jinie_ has quit [Read error: Connection reset by peer]
synthroid has joined #ruby
<Bish> baweaver: well i know, but i dont seem to grasp how to find a single thingie, AND its reslt
<baweaver> >> [1,2,3].reduce(nil) { |a, i| break i**2 if i**2 <= 1 }
<ruby[bot]> baweaver: # => 1 (https://eval.in/832164)
<Bish> hm.
__Yiota has joined #ruby
<baweaver> break returns a value from reduce to short-circuit it.
<Bish> baweaver: thanks
<baweaver> though you could use each as well technically.
patarr has joined #ruby
<dminuoso> m4sk1n: make sure to ask baweaver in #rubyonrails
<dminuoso> Oh gosh. I was scrolled up.
<dminuoso> Damn. :(
TomyWork has quit [Ping timeout: 240 seconds]
<m4sk1n> splitshot: how can i check what's wrong with the test result?
kt has quit [Ping timeout: 240 seconds]
<splitshot> It tell you right there. On line 8 of otter_browser_test.rb, it expected true, but got nil.
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<splitshot> tells*
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rickumali has quit [Quit: leaving]
kt has joined #ruby
brent__ has joined #ruby
truenito has quit [Ping timeout: 255 seconds]
balazs has joined #ruby
InfinityFye has quit [Ping timeout: 260 seconds]
jinie_ has joined #ruby
jameser has joined #ruby
<Bish> dminuoso: i thought we gotta stop doing that
cyfr0n has joined #ruby
<dminuoso> Bish: Think you missed the part where baweaver directed him to #ruby in #rubyonrails ;o
<Bish> :D
patarr_ has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
skweek has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
TomyLobo has joined #ruby
choke has joined #ruby
__Yiota has joined #ruby
naprimer2 has joined #ruby
enterprisey has joined #ruby
Xiti has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amclain has joined #ruby
chouhoulis has joined #ruby
naprimer has quit [Ping timeout: 248 seconds]
apparition has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Xiti has joined #ruby
rohitpaulk has joined #ruby
abort has quit [Ping timeout: 248 seconds]
jameser has quit [Ping timeout: 240 seconds]
abort has joined #ruby
jameser has joined #ruby
jameser has quit [Client Quit]
cdg has joined #ruby
choke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
patarr_ has quit [Ping timeout: 240 seconds]
kassav__ has quit [Quit: kassav__]
skweek has quit [Ping timeout: 246 seconds]
cdg_ has joined #ruby
boombox_ has joined #ruby
rohitpaulk has quit [Ping timeout: 260 seconds]
choke has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
saneax has quit [Ping timeout: 246 seconds]
quobo has joined #ruby
petruff has quit [Quit: WeeChat 1.9]
boombox_ has quit [Remote host closed the connection]
petruff has joined #ruby
kies has quit [Ping timeout: 240 seconds]
Ishido has quit [Ping timeout: 248 seconds]
patarr has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
skweek has joined #ruby
gusrub has joined #ruby
mrconfused_ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
MrSparkle has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
ferr has quit [Quit: WeeChat 1.9]
Ishido has joined #ruby
mtkd has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
eightlimbed has joined #ruby
jhooker has quit [Read error: No route to host]
jhooker has joined #ruby
jhooker has quit [Read error: No route to host]
jhooker has joined #ruby
ozcanesen has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
nadir has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
rohitpaulk has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
cagomez has quit [Remote host closed the connection]
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
cadillac_ has joined #ruby
Eiam has joined #ruby
lxsameer has quit [Quit: WeeChat 1.7]
aufi has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
nopolitica has quit [Ping timeout: 260 seconds]
gusrub has quit [Remote host closed the connection]
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
eightlimbed has quit [Quit: Ex-Chat]
jhooker has quit [Read error: Connection reset by peer]
eightlimbed has joined #ruby
jackjackdripper has joined #ruby
jhooker has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
npgm has quit [Quit: Connection closed for inactivity]
petruff1 has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
bronson has joined #ruby
petruff has quit [Ping timeout: 240 seconds]
aufi has quit [Quit: Leaving]
renchan has quit [Quit: Leaving...]
mim1k has joined #ruby
jhooker has quit [Read error: No route to host]
sgen has joined #ruby
jhooker has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
jhooker has quit [Read error: No route to host]
enterprisey has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 260 seconds]
jhooker has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
jhooker has quit [Read error: Connection reset by peer]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhooker has joined #ruby
Silthias has joined #ruby
bweston92 has quit [Quit: Connection closed for inactivity]
jhooker has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
d10n-work has joined #ruby
jhooker has joined #ruby
wilbert has joined #ruby
mark_66 has quit [Remote host closed the connection]
jhooker has quit [Read error: Connection reset by peer]
centrx has joined #ruby
jhooker has joined #ruby
nowhereman has joined #ruby
enterprisey has joined #ruby
dstrunk has joined #ruby
graft has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Ping timeout: 255 seconds]
jhooker has quit [Read error: Connection reset by peer]
daivyk has quit [Quit: Quit]
jhooker has joined #ruby
eckhardt has joined #ruby
gusrub has joined #ruby
graft has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
kies has joined #ruby
jhooker has joined #ruby
MadDog31 has joined #ruby
mikecmpbll has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
duderonomy has joined #ruby
DoubleMalt has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jhooker has quit [Read error: Connection reset by peer]
mostlybadfly has joined #ruby
MadDog31 has quit [Quit: Leaving]
jhooker has joined #ruby
knight33 has joined #ruby
cagomez has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
fugue has joined #ruby
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
pmden has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 240 seconds]
rohitpaulk has quit [Remote host closed the connection]
noe has quit [Remote host closed the connection]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
jhooker has quit [Read error: No route to host]
jhooker has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
jhooker has quit [Read error: No route to host]
jhooker has joined #ruby
sepp2k has quit [Quit: Leaving.]
jhooker has quit [Read error: No route to host]
jhooker has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
cagomez has quit [Remote host closed the connection]
noe has joined #ruby
jhooker has quit [Read error: No route to host]
jhooker has joined #ruby
cagomez has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
jenrzzz has joined #ruby
jhooker has quit [Read error: No route to host]
BSaboia has joined #ruby
jhooker has joined #ruby
Renich has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
Dimik has joined #ruby
cagomez has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
ivanskie has joined #ruby
<ivanskie> hiiii
<ivanskie> i have a complex xml file.... somewhere in there i have one liners like <start_addr>1122</start_addr>, i need to go through them all and increment them all by one.
<ivanskie> how can i do that?
VeryBewitching has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
pmden has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
<ivanskie> I've just tried atom, find all, and increment. doesn't work. tried sublime with increment selection, it apparently only works with single digits, so no go. and now i'm trying to figure out how to regex this thing or what not. argh
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
Guest24 has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
pmden has quit [Ping timeout: 260 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
jhooker has quit [Read error: No route to host]
<ivanskie> i have a few of these files to do. not sure if i want to reverse engineer the xml structure and manually re-create these xml files from csv files in ruby. manually incremement each of those values.
tau has joined #ruby
<ivanskie> argh
petruff1 has quit [Ping timeout: 255 seconds]
jhooker has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
Bock has quit [Ping timeout: 268 seconds]
jhooker has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 255 seconds]
jhooker has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
marxarelli|afk is now known as marxarelli
jhooker has joined #ruby
AgentVenom has joined #ruby
jottr has joined #ruby
dviola has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 255 seconds]
<apeiros> ivanskie: what regex have you tried?
watersoul has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
<ivanskie> well i can find 4 digits between these >\d{4}< then go|dfish suggested "echo '<start_addr>1122</start_addr>' | ruby -pe 'sub(/(?<=<start_addr>)\d+(?=<\/start_addr>)/) { |n| n.to_i + 1 }'"
<ivanskie> but i haven't figured out how to use it yet.
watersoul has joined #ruby
<apeiros> exactly like that in the command line
<apeiros> and you'd replace the echo part with e.g. `cat your_file.xml`
<ivanskie> right so then i need to iterate over each line of the file
<apeiros> no
<apeiros> -p does that
<ivanskie> oh
<apeiros> `man ruby`
<apeiros> the thing you should do when you see flags/options on a command you don't understand.
jhooker has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
jhooker has joined #ruby
truenito has joined #ruby
ixti has joined #ruby
<ivanskie> true
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
<ivanskie> thank you
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pmden has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
jhooker has joined #ruby
<Harzilein> hi
<Harzilein> uhm
<Harzilein> i want to define a singleton method on a method, is that possible? i.e. method(:something).my_method should work. it won't work when i use method(:something).instance_eval do def my_method end end, likely because the object i'm operating on there is just a copy somehow
jhooker has quit [Read error: No route to host]
jhooker has joined #ruby
typeVoid has quit [Remote host closed the connection]
pmden has quit [Ping timeout: 255 seconds]
typeVoid has joined #ruby
__Yiota has quit [Client Quit]
strk has left #ruby [#ruby]
<centrx> define a method on a method?
jhooker has quit [Read error: Connection reset by peer]
mtkd has quit [Ping timeout: 255 seconds]
jhooker has joined #ruby
<Harzilein> say i have a ripl with its context set to my object. then when i want to refer to that method with method(:user_facing_method).descr and see a description
lxsameer has quit [Ping timeout: 240 seconds]
<Harzilein> of course i could just have a hash descrs = {:user_facing_method => "descr"} and look that up through descrs[:users_facing_method], but i was curious if it is at all possible
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
mtkd has joined #ruby
<centrx> Harzilein: I think the Method object returned by #method is just a copy, a representation
<centrx> Harzilein: it wouldn't make sense to add a method to a method itself
typeVoid has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
tau has left #ruby [#ruby]
<centrx> Harzilein: I would set it up differently, have a #method_description(:my_method_name) method
<centrx> Harzilein: sounds like some meta-meta documentation though, are you writing a tutorial example or something?
jhooker has quit [Read error: Connection reset by peer]
<Harzilein> centrx: that's just about the same as my hash example...
<centrx> right
<centrx> Harzilein: the descriptions need to be stored somewhere, and there isn't a place inherently in Ruby to store method meta-information, as far as I know
sepp2k has joined #ruby
knight33 has quit [Quit: Textual IRC Client: www.textualapp.com]
jhooker has joined #ruby
<Harzilein> centrx: the repl is for interfacing with a mechanize-derived scraper, i.e. the system tries to do what it can from following its sequence, then drops the user to a repl
sarmiena_ has joined #ruby
<Harzilein> centrx: because usually people will need to deviate from static sequences and just need some good tools from that point on
<centrx> Harzilein: You could add a method to Method for descr
<centrx> Harzilein: and have that access your hash
<centrx> Harzilein: To the user it would be transparent, just doing method(:user_facing_method).descr
<centrx> Harzilein: behind the scenes, descr would look at the method name, look it up in the hash
jhooker has quit [Read error: Connection reset by peer]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
jhooker has joined #ruby
<Harzilein> sure. as i said, just curious if my desire for singleton methods on methods is at all anticipated in the language design
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
jhooker has quit [Read error: Connection reset by peer]
cagomez has quit [Ping timeout: 260 seconds]
jhooker has joined #ruby
shinnya has joined #ruby
dionysus69 has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
jhooker has quit [Read error: No route to host]
jschoolcraft has quit [Quit: peace]
jhooker has joined #ruby
lxsameer has joined #ruby
pmden has joined #ruby
<pwnd_nsfw> So, all in all, I'm just trying to test the arguments for initialize.
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pwnd_nsfw> And the "resource" argument ... I'd actually rather it just be the class, not an instance of such
<pwnd_nsfw> So that I may check if the newly generated short link is unique for that resource
bronson has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
<pwnd_nsfw> Everytime I get into a couple lines of an implementation, I freeze up and think... well, I'm back to no lines written again.... x.
jhooker has joined #ruby
daivyk has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pwnd_nsfw> I suppose I could take an instance anyways, and then figure out the class type afterwards
<pwnd_nsfw> I still don't know how to test it though
jinie_ has quit [Ping timeout: 255 seconds]
jhooker has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 248 seconds]
jhooker has joined #ruby
truenito has quit [Ping timeout: 248 seconds]
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
__Yiota has joined #ruby
cagomez has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
blackwind_123 has joined #ruby
jhooker has quit [Read error: No route to host]
nb_bez_____ has joined #ruby
jhooker has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
jackjackdripper has joined #ruby
dcunit3d has joined #ruby
cahoots has joined #ruby
andrzejk_ has joined #ruby
DoubleMalt has quit [Ping timeout: 248 seconds]
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
nesoi has quit [Ping timeout: 255 seconds]
alex`` has quit [Quit: WeeChat 1.9]
cahoots has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
workmad3 has joined #ruby
alex`` has joined #ruby
typeVoid has joined #ruby
dru has joined #ruby
dru is now known as drusepth
workmad3 has quit [Ping timeout: 240 seconds]
typeVoid has quit [Remote host closed the connection]
boto has joined #ruby
daivyk has quit [Quit: Quit]
cagomez has joined #ruby
DoubleMalt has joined #ruby
mim1k has joined #ruby
mrconfused has quit [Ping timeout: 246 seconds]
typeVoid has joined #ruby
mrconfused has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
jinie_ has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
Dimik has quit [Ping timeout: 240 seconds]
mrconfused has quit [Ping timeout: 246 seconds]
gusrub has quit []
cseder has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
cseder has joined #ruby
eckhardt has joined #ruby
ixti has quit [Quit: WeeChat 1.9]
cagomez has joined #ruby
choke has quit [Ping timeout: 240 seconds]
gusrub has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 268 seconds]
splitshot has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
stee_3_ has joined #ruby
gusrub has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper1 has joined #ruby
mrconfused has joined #ruby
mim1k has joined #ruby
stee_3 has quit [Ping timeout: 240 seconds]
cpruitt has quit [Quit: cpruitt]
jackjackdripper has quit [Ping timeout: 248 seconds]
mrconfused has quit [Ping timeout: 246 seconds]
cagomez has joined #ruby
centrx has quit []
havenwood_ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Guest24 has quit [Quit: Textual IRC Client: www.textualapp.com]
Rapture has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
havenwood_ has quit [Changing host]
havenwood_ has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
choke has joined #ruby
havenwood_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
mim1k has quit [Ping timeout: 246 seconds]
mrconfused has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
latemus has joined #ruby
mim1k has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mostlybadfly has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 260 seconds]
mrconfused has quit [Ping timeout: 258 seconds]
weaksauce has joined #ruby
mim1k has joined #ruby
mrconfused has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
havenwood_ has joined #ruby
synthroid has quit []
workmad3 has joined #ruby
havenwood_ has quit [Changing host]
havenwood_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
benlieb has quit [Quit: benlieb]
aglorei has quit [Quit: WeeChat 1.4]
ta_ has quit [Ping timeout: 248 seconds]
mim1k has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
havenwood_ has quit [Ping timeout: 240 seconds]
wilbert has quit [Ping timeout: 260 seconds]
mrconfused has quit [Ping timeout: 240 seconds]
Axy has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
ajnulo has joined #ruby
ajnulo has left #ruby ["Konversation terminated!"]
ajnulo has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
ldnunes has quit [Quit: Leaving]
ajnulo has quit [Remote host closed the connection]
ajnulo has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
millerti has joined #ruby
aglorei has joined #ruby
cadillac_ has quit [Ping timeout: 246 seconds]
cadillac_ has joined #ruby
dcunit3d has quit [Quit: WeeChat 1.4]
DoubleMalt has quit [Ping timeout: 240 seconds]
mrconfused has joined #ruby
rkellermeyer has quit [Quit: rkellermeyer]
jackjackdripper has joined #ruby
blackwind_123 has quit [Quit: I was standing in the park wondering why frisbees got bigger as they get closer. Then it hit me.]
d5sx43 has joined #ruby
DoubleMalt has joined #ruby
d5sx43 has quit [Client Quit]
yehowyada has quit [Quit: Textual IRC Client: www.textualapp.com]
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cam27 has quit [Quit: cam27]
ecuanaso has joined #ruby
cagomez has quit [Remote host closed the connection]
cpruitt has joined #ruby
nowhere_man has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
gothicsouth has joined #ruby
ajnulo has quit [Quit: Konversation terminated!]
milardovich has quit [Remote host closed the connection]
cagomez has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gothicso_ has joined #ruby
nesoi has joined #ruby
nesoi has left #ruby [#ruby]
gothicsouth has quit [Ping timeout: 276 seconds]
aglorei has quit [Quit: WeeChat 1.4]
Axy has joined #ruby
mrconfused has quit [Ping timeout: 245 seconds]
aglorei has joined #ruby
andrzejk_ has quit [Quit: Textual IRC Client: www.textualapp.com]
gusrub has quit [Read error: Connection reset by peer]
gusrub has joined #ruby
gothicsouth has joined #ruby
mrconfused has joined #ruby
gothicso_ has quit [Ping timeout: 240 seconds]
sgen has quit [Quit: Leaving]
ecuanaso has joined #ruby
ta_ has joined #ruby
marxarelli is now known as marxarelli|afk
saneax has joined #ruby
misery_ has joined #ruby
SeepingN has joined #ruby
jinie_ has quit [Ping timeout: 240 seconds]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
jinie_ has joined #ruby
GodFather has quit [Read error: No route to host]
GodFather has joined #ruby
cagomez has quit [Remote host closed the connection]
ascarter has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
mrconfused has quit [Ping timeout: 246 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
ascarter has quit [Ping timeout: 255 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polishdub has quit [Quit: Leaving]
stee_3_ has quit [Ping timeout: 260 seconds]
cpruitt has quit [Quit: cpruitt]
milardovich has joined #ruby
stee_3 has joined #ruby
milardovich has quit [Ping timeout: 246 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
sepp2k has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
fugue has quit [Quit: l8r]
roshanavand has quit [Ping timeout: 246 seconds]
eightlimbed has quit [Ping timeout: 260 seconds]
noe has quit [Quit: noe]
biberu has quit []
patarr has joined #ruby
Francy has joined #ruby
postmodern has joined #ruby
<Francy> I try to install -> ruby https://github.com/carter/ham-irc-bot
dstrunk has joined #ruby
duderono_ has joined #ruby
<Francy> and I recive this error https://pastebin.com/0Jh11aRx
<ruby[bot]> Francy: as I told you already, please use https://gist.github.com
<Francy> can someone help me how to solve it ?
patarr has quit [Ping timeout: 260 seconds]
<Francy> sorry for my poor english
duderonomy has quit [Ping timeout: 248 seconds]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zero2 has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Francy> how can I install gem file ?
patr0clus has joined #ruby
ozcanesen has quit [Quit: Textual IRC Client: www.textualapp.com]
meshsmith has joined #ruby
Axy has quit [Read error: Connection reset by peer]
zero2 has quit [Quit: user Derezzed]
Axy has joined #ruby
Axy has quit [Read error: Connection reset by peer]
<Francy> anyone there ?
sepp2k has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 246 seconds]
randomA has joined #ruby
<randomA> hey what version of rails should i run?
<randomA> is 4.2.0 good?
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
TomyLobo has quit [Ping timeout: 240 seconds]
Puffball has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
Puffball has joined #ruby
patr0clus is now known as s3nd1v0g1us
<randomA> hey anyone here?
<cinayakoshka> nope
DK2 has quit [Ping timeout: 276 seconds]
<Francy> no
<Francy> S:
d10n-work has quit [Quit: Connection closed for inactivity]
inoperable has joined #ruby
<Francy> randomA you able to help me ?
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<randomA> yes
<Francy> :o
<randomA> i need to make a simple website that accept payment using rails
<randomA> is rails 4.2.0 ok?
<Francy> oh sorry randomA I dont know..
inoperable has quit [Quit: User derezzed]
<Francy> v5.1.2. ?
<Kanibal> you should *probably* use the most recent one.
<Francy> is the final one ?
<Francy> yea maybe need upgrade
<Francy> Kanibal ...please HELP ME <3
br0d1n has joined #ruby
<ruby[bot]> Francy: as I told you already, please use https://gist.github.com
inoperable has joined #ruby
<Francy> oh sorry I dosnt see the msg <3 can you drive me little bit ?
<Kanibal> Francy: Did you install ruby-ham?
DK2 has joined #ruby
<Kanibal> $ gem install ruby-ham
<Francy> I clone with github
<Francy> <Kanibal> $ gem install ruby-ham it dotn work
<Kanibal> yup, then you should run a $ bundle install
<havenwood> Francy: Run: gem install bundler && bundle
bronson has joined #ruby
<Francy> ERROR: Could not find a valid gem 'ruby-ham' (>= 0) in any repository
<Kanibal> gem 'ruby-ham', :github => 'carter/ruby-ham'
<Francy> Bundle complete! 7 Gemfile dependencies, 28 gems now installed.
nowhere_man has quit [Ping timeout: 260 seconds]
<Francy> Bundled gems are installed into ./vendor/bundle.
brent__ has quit [Remote host closed the connection]
<Francy> gem 'ruby-ham', :github => 'carter/ruby-ham'
<Francy> bash: carter/ruby-ham: No such file or directory
brent__ has joined #ruby
<Kanibal> yeah, no :-) that was just where to find ruby-ham
<Kanibal> did $ bundle exit correctly?
marxarelli|afk is now known as marxarelli
<Francy> :( it dosnt run
<Francy> Could not find 'ruby-ham' (>= 0) among 126 total gem(s) (Gem::LoadError)
<Francy> sorry fpr my poor knowleadge
<Francy> wtf I must do to run it ?
<Francy> <3
bronson has quit [Ping timeout: 276 seconds]
<ruby[bot]> Francy: as I told you already, please use https://gist.github.com
<Francy> how to do with gist ?
<Francy> sorry again
<Kanibal> tbh, that's just a bot
<Francy> yes we need for our ham radio local IRC
<Kanibal> ham as in Hamburg?
<Francy> yea :P
<Francy> Ham-Radio
milardovich has joined #ruby
brent__ has quit [Ping timeout: 260 seconds]
<randomA> what framework to use for ruby on rails?
milardovich has quit [Ping timeout: 240 seconds]
cagomez has quit [Remote host closed the connection]
quobo has quit [Quit: Connection closed for inactivity]
cagomez has joined #ruby
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<inoperable> randomA ehh, rails is a a framework already
cagomez has quit [Ping timeout: 255 seconds]
<inoperable> but if you mean like what to use with rails check the awesome lists @ github
<randomA> yeah like what to use with rails
ta_ has joined #ruby
<randomA> i was thinking maybe google materialize?
<Papierkorb> ?rails randomA
<ruby[bot]> randomA: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
DoubleMalt has quit [Ping timeout: 248 seconds]
mokiwis has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
alveric4 has joined #ruby
cagomez has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
<ivanskie> pardon my non-ruby question. but uhm, how is it that cmder has permission to add shell registry to add "conemu here" to right click menu. but i can't manually add registry to shell to add "open with sublime" menu. (i don't have admin permissions, and neither cmder nor sublime are installed, standalone/portable )
<ivanskie> on windows.
<Francy> <randomA> look at it -> https://github.com/carter/substruct
<randomA> cool
<randomA> substruct is no longer maintained
duderonomy has joined #ruby
nopolitica has joined #ruby
nopolitica has quit [Client Quit]
cagomez has quit [Remote host closed the connection]
alveric3 has quit [Ping timeout: 276 seconds]
nopolitica has joined #ruby
cagomez has joined #ruby
mokiwis has quit [Quit: See ya!]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
MrJoshua has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
s3nd1v0g1us has quit [Quit: tempusfugit]
TomyLobo has joined #ruby
cagomez has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
ivanskie has quit [Quit: Page closed]
jenrzzz has joined #ruby