baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview1: https://www.ruby-lang.org || Paste 4+ lines of text to https://gist.github.com || Rails questions? Ask in #RubyOnRails || Books: https://goo.gl/wpGhoQ || Logs: https://irclog.whitequark.org/ruby
<al2o3-cr> what do you practice now?
<al2o3-cr> dynamic, compiled or bare metal?
<Sar_Sa> compiled
<Sar_Sa> and started with ruby
<al2o3-cr> you started with ruby?
<Sar_Sa> yess
<al2o3-cr> and propelled your way to C. is that correct?
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 255 seconds]
<Sar_Sa> no no I started with C 5 years ago, now I learning ruby
<Sar_Sa> *I'm learning
<al2o3-cr> Sar_Sa: you're in my gang now ;)
<Sar_Sa> hehehe yea
<al2o3-cr> Sar_Sa: that's it, no going back now ;P
lelliott has joined #ruby
<Sar_Sa> I now haha
<Sar_Sa> know
<al2o3-cr> we'll make you a ruby super star!
workmad3 has joined #ruby
<al2o3-cr> her
<Janky> can irb display unicode characters?
<Sar_Sa> I hope so, you did it well today
<Sar_Sa> and really aprecita
venmx has quit [Ping timeout: 264 seconds]
<Sar_Sa> *apreciate
<al2o3-cr> Janky: depends, don't get a font like mine.
<al2o3-cr> Sar_Sa: no props pal.
<Janky> I'm just trying to display latin text
<Janky> i.e. māgnus
<al2o3-cr> Janky: get a font that supports it then.
ryzokuken has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 240 seconds]
<al2o3-cr> @łe¶ŧ←↓→øþæßðđŋħł«»¢“”nµ
am_ has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
<al2o3-cr> Janky: printenv LANG
alfiemax has quit [Ping timeout: 240 seconds]
apparition has quit [Quit: Bye]
<Sar_Sa> ciao, thanks al2o3-cr :)
sagax has quit [Ping timeout: 264 seconds]
<al2o3-cr> Sar_Sa: italian?
<Sar_Sa> yep!
<al2o3-cr> don't leave
<Janky> that would work if I were using nix
<al2o3-cr> i've many recipies i'd like to ask (namely carbonara)
marr has quit [Ping timeout: 240 seconds]
minimalism has quit [Quit: minimalism]
<al2o3-cr> Janky: is it windows then idk, sorry dude. maybe others can though.
atchoum has quit [Ping timeout: 240 seconds]
<al2o3-cr> *if
<Sar_Sa> haha Spaghetti Carbonara is nice
<Sar_Sa> byee
Sar_Sa has quit []
<al2o3-cr> o/ bye
* al2o3-cr shame
clemens3 has quit [Ping timeout: 240 seconds]
<al2o3-cr> Janky: what OS is it?
<Janky> windows
<al2o3-cr> 10?
<al2o3-cr> Janky: windows 10?
<Janky> 7
bmurt has joined #ruby
<al2o3-cr> Janky: has 7 got WSL?
atchoum has joined #ruby
<Janky> think they brough that around in 10
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.1]
beremenushka3 has joined #ruby
<al2o3-cr> Janky: is this personal?
conceivably has quit [Remote host closed the connection]
<al2o3-cr> or business?
bmurt has quit [Client Quit]
<Janky> uhhhhh
marxarelli|afk is now known as marxarelli
<Janky> personal
<al2o3-cr> what does irb your encoding is?
<al2o3-cr> Encoding.default_external
beremenushka2 has quit [Ping timeout: 265 seconds]
guacamole has quit [Client Quit]
<Janky> Windows-1252
<al2o3-cr> Janky: change your encoding to LATIN-* whatever then
Psybur has joined #ruby
<al2o3-cr> hang on
thinkpad has quit [Ping timeout: 260 seconds]
minimalism has joined #ruby
<Janky> think it's Latin-1
ur5us has joined #ruby
<al2o3-cr> yeah it's seems it's not supported.
<al2o3-cr> jk
erlend has quit [Ping timeout: 264 seconds]
thinkpad has joined #ruby
<al2o3-cr> Janky: try `Encoding.default_external = Encoding::UTF_8`
erlend has joined #ruby
sepp2k has quit [Quit: Leaving.]
vikaton has quit [Quit: Connection closed for inactivity]
<Janky> oh yeah
<Janky> that does the job
lelliott has quit [Remote host closed the connection]
<Janky> looks like I can set the encoding for the individual strings in my script
<al2o3-cr> Janky: smashing
<al2o3-cr> Janky: yeah, if it doesn't force it to.
opekktar_ has joined #ruby
rivalomega has joined #ruby
npgm has quit [Quit: Connection closed for inactivity]
<al2o3-cr> in the desert you can't remebmer your name.
rivalome_ has quit [Ping timeout: 256 seconds]
vutral|kali has quit [Quit: ZNC 1.6.5 - http://znc.in]
duderonomy has joined #ruby
anisha has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
atchoum has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
yukai has quit [Ping timeout: 240 seconds]
griffindy has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
rivalomega has quit []
<al2o3-cr> neil young is the bomb.
bmurt has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 256 seconds]
huyderman has quit [Ping timeout: 264 seconds]
<al2o3-cr> "old man" and "heart of gold"
huyderman has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikhael_k33hl has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikhael_k33hl> How do I make a subclass inherit a class instance variable? https://gist.github.com/marzdgzmn/eba98eeeaff63e97779c49d0e7ebd28d
am_ has quit [Quit: Leaving]
edwardly has quit [Max SendQ exceeded]
s2013 has joined #ruby
sungard has joined #ruby
NorthLumberJack has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
<sungard> I'm trying to use a start and an end date and loop through them, but only once for each month, I found how to do by day, but ideally I want a method that will be start_date..end_date and then dynamically run once per month
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
gizmore|2 has joined #ruby
Yxhuvud has joined #ruby
RougeR has quit [Ping timeout: 256 seconds]
opekktar_ has quit [Remote host closed the connection]
marxarelli is now known as marxarelli|afk
orbyt_ has joined #ruby
gizmore has quit [Ping timeout: 260 seconds]
Psybur has quit [Remote host closed the connection]
Psybur has joined #ruby
arescorpio has joined #ruby
sameerynho has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
sluggo has quit [Quit: Page closed]
Yxhuvud has joined #ruby
memo1 has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
matled has quit [Read error: Connection reset by peer]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
tdy has joined #ruby
amclain has joined #ruby
nfsnobody has quit [Ping timeout: 256 seconds]
matled has joined #ruby
sungard has quit [Quit: Page closed]
Yxhuvud has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
nfsnobody has joined #ruby
dinfuehr has joined #ruby
memo1 has quit [Quit: WeeChat 1.4]
memo1 has joined #ruby
ur5us_ has joined #ruby
cam27 has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
sameerynho has quit [Ping timeout: 240 seconds]
amclain has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 260 seconds]
<mikhael_k33hl> How do I make my app wait for all threads to finish before terminating? https://gist.github.com/marzdgzmn/6d15987e51c04e41b8b5885eaf69866a
n0m4d1c_ has joined #ruby
n0m4d1c_ has quit [Remote host closed the connection]
griffindy has quit [Quit: Textual IRC Client: www.textualapp.com]
ur5us has joined #ruby
n0m4d1c has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
ur5us_ has quit [Ping timeout: 260 seconds]
icarus has joined #ruby
pd2000 has joined #ruby
reaVer has quit [Ping timeout: 255 seconds]
ciscam has quit [Ping timeout: 265 seconds]
pastorinni has joined #ruby
ciscam has joined #ruby
gigetoo has quit [Ping timeout: 265 seconds]
gigetoo has joined #ruby
blackchalk has joined #ruby
blackchalk has joined #ruby
blackchalk has quit [Changing host]
mniip has quit [Ping timeout: 276 seconds]
mniip has joined #ruby
cyberg has quit [Remote host closed the connection]
erlend has quit [Ping timeout: 240 seconds]
erlend has joined #ruby
reaVer has joined #ruby
lelliott has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
vutral|kali has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
lelliott has quit [Remote host closed the connection]
ivanskie has joined #ruby
alfiemax has joined #ruby
darkhanb has joined #ruby
raatiniemi has quit [Ping timeout: 260 seconds]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has joined #ruby
fyrril has quit [Read error: Connection reset by peer]
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
mikhael_k33hl has quit [Ping timeout: 260 seconds]
raatiniemi has joined #ruby
lelliott has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
pastorinni has quit [Remote host closed the connection]
blackchalk has quit [Quit: quitting]
raatiniemi_ has joined #ruby
kapil___ has joined #ruby
rf` has quit []
raatiniemi has quit [Ping timeout: 268 seconds]
arescorpio has quit [Excess Flood]
lelliott has quit [Remote host closed the connection]
ur5us_ has joined #ruby
hays_ is now known as hays
Omnilord has joined #ruby
pd2000 has quit [Quit: Leaving]
nadir has joined #ruby
blackchalk has joined #ruby
blackchalk has quit [Changing host]
blackchalk has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
gix has joined #ruby
blackchalk_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has quit [Ping timeout: 255 seconds]
gix- has quit [Ping timeout: 268 seconds]
blackchalk has quit [Ping timeout: 265 seconds]
blackchalk_ has quit [Client Quit]
Omnilord has quit [Quit: Something went wrong because I left.]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tdy1 has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
gigetoo has joined #ruby
ur5us has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
NorthLumberJack has quit [Quit: Page closed]
raatiniemi has joined #ruby
jordanm has quit [Read error: Connection reset by peer]
jordanm has joined #ruby
raatiniemi_ has quit [Ping timeout: 260 seconds]
blackchalk_ has joined #ruby
Code4Dopamine has quit [Ping timeout: 260 seconds]
blackchalk_ has quit [Client Quit]
Psybur has quit [Read error: Connection reset by peer]
alfiemax has quit [Remote host closed the connection]
anisha has quit [Quit: This computer has gone to sleep]
anisha has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
armyriad has quit [Quit: Leaving]
anisha has quit [Client Quit]
Yzguy has joined #ruby
workmad3 has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
govg has joined #ruby
ryzokuken has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
ur5us has quit [Ping timeout: 260 seconds]
kt has quit [Ping timeout: 256 seconds]
kt has joined #ruby
Danielss89 has quit [Quit: Bye]
gigetoo has quit [Ping timeout: 264 seconds]
gigetoo has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
KeyJoo has joined #ruby
cschneid_ has quit [Remote host closed the connection]
KeyJoo has quit [Max SendQ exceeded]
KeyJoo has joined #ruby
jamesaxl has joined #ruby
cschneid_ has joined #ruby
segy has quit [Ping timeout: 264 seconds]
erlend has quit [Ping timeout: 264 seconds]
cschneid_ has quit [Remote host closed the connection]
erlend has joined #ruby
oleo has quit [Quit: Leaving]
lelliott has joined #ruby
hkais has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
sauvin has joined #ruby
reber has joined #ruby
kurko_ has quit [Ping timeout: 264 seconds]
Azure|dc has joined #ruby
Azure has quit [Read error: Connection reset by peer]
cadillac_ has quit [Ping timeout: 260 seconds]
kurko_ has joined #ruby
jottr has joined #ruby
cadillac_ has joined #ruby
Yzguy has quit [Quit: Zzz...]
n008f4g_ has joined #ruby
sidx64 has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
n008f4g_ has quit [Ping timeout: 260 seconds]
arquebus has joined #ruby
alfiemax has joined #ruby
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arquebus has quit [Client Quit]
aupadhye has joined #ruby
dr3w_ has joined #ruby
anisha has joined #ruby
dr3w_ has quit [Client Quit]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 245 seconds]
tvw has joined #ruby
dionysus69 has joined #ruby
s2013 has joined #ruby
lelliott has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
lelliott has joined #ruby
workmad3 has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
lelliott has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
jottr has joined #ruby
gigetoo has quit [Ping timeout: 256 seconds]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
pwnd_nsfw has quit [Ping timeout: 263 seconds]
apeiros has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 264 seconds]
gigetoo has joined #ruby
apeiros has quit [Remote host closed the connection]
anisha has joined #ruby
venmx has joined #ruby
mtkd has joined #ruby
ta__ has quit [Remote host closed the connection]
pwnd_nsfw has joined #ruby
cam27 has quit [Quit: cam27]
andikr has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
sidx64_ has joined #ruby
Yxhuvud has quit [Read error: Connection reset by peer]
Yxhvd has joined #ruby
sidx64 has quit [Read error: Connection reset by peer]
Yxhvd has quit [Read error: Connection reset by peer]
Yxhuvud has joined #ruby
sidx64 has joined #ruby
sidx64_ has quit [Ping timeout: 245 seconds]
imode has quit [Ping timeout: 256 seconds]
claudiuinberlin has joined #ruby
gigetoo has joined #ruby
jottr has joined #ruby
amar has joined #ruby
erlend has quit [Ping timeout: 240 seconds]
helpa has quit [Remote host closed the connection]
Radar has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
venmx has quit [Ping timeout: 260 seconds]
helpa has joined #ruby
helpa has quit [Remote host closed the connection]
erlend has joined #ruby
helpa has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
TomyWork has joined #ruby
ta_ has joined #ruby
phaul has joined #ruby
ivanskie has joined #ruby
gigetoo has quit [Ping timeout: 265 seconds]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3 has joined #ruby
Azure has joined #ruby
gigetoo has joined #ruby
jeffreylevesque has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
Azure|dc has quit [Ping timeout: 255 seconds]
amar has quit [Remote host closed the connection]
amar has joined #ruby
CrazyEddy has quit [Ping timeout: 265 seconds]
hkais has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
gigetoo has quit [Ping timeout: 268 seconds]
venmx has joined #ruby
CrazyEddy has joined #ruby
inerthia has joined #ruby
amar has quit [Ping timeout: 256 seconds]
marr has joined #ruby
gigetoo has joined #ruby
mikecmpbll has joined #ruby
venmx has quit [Remote host closed the connection]
foxxx0 has quit [Ping timeout: 256 seconds]
anisha has quit [Ping timeout: 256 seconds]
tomphp has joined #ruby
VladGh has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
VladGh has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
venmx has joined #ruby
qba73 has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
Janky has quit []
venmx has quit [Remote host closed the connection]
mtkd has quit []
RougeR has joined #ruby
mtkd has joined #ruby
ryzokuken has quit [Remote host closed the connection]
guille-moe has joined #ruby
amar has joined #ruby
anisha has joined #ruby
SaHar_ has joined #ruby
<SaHar_> hi
amar has quit [Ping timeout: 256 seconds]
rabajaj has quit [Ping timeout: 240 seconds]
<SaHar_> how can I print a string in hex format?
rabajaj has joined #ruby
<phaul> >> "SaHar_".chars.map {|c| c.ord.to_s(16) }.join('_')
<ruby[bot]> phaul: # => "53_61_48_61_72_5f" (https://eval.in/987184)
<phaul> SaHar_: is this^ what you wanted?
<SaHar_> phaul: yes that could works for me thank you:)
marr has quit [Ping timeout: 240 seconds]
<phaul> cool. np
alfiemax has quit [Remote host closed the connection]
<havenwood> consider String#bytes for the non-pack version
<havenwood> 'SaHar_'.unpack1('H*') #=> "53614861725f"
<havenwood> >> 'SaHar_'.bytes.map { |byte| byte.to_s 16 }.join
<ruby[bot]> havenwood: # => "53614861725f" (https://eval.in/987186)
<SaHar_> havenwood: to separate with ":" each byte with unpack ?
alfiemax has joined #ruby
<phaul> the argument for join is what separates them
<phaul> .join(':')
<SaHar_> thanks
<dminuoso> SaHar_: You dont print a "string" in hex format. =)
<dminuoso> SaHar_: hexadecimal is just a way of representing *numbers*
<SaHar_> ?
<SaHar_> phaul: and with the havenwood solution? 'SaHar_'.unpack('H*').join(':') ?
<phaul> SaHar_: sure
<SaHar_> that gives me "53614861725f"
<SaHar_> brb!
<phaul> >> 'SaHar_'.unpack('H*').join(':')
<ruby[bot]> phaul: I'm terribly sorry, I could not evaluate your code because of an error: OpenURI::HTTPError:500 Internal Server Error
<dminuoso> SaHar_: ASCII for example is just a particular base 127/255 notation for numbers.
<dminuoso> Where 'A' is just the representation of the number 0x41/0101/65
<phaul> ah, unpack gives back a single string in an array for that.
<dminuoso> SaHar_: So you could say: 'a' == 0x41 == 0101 == 65
<dminuoso> They are just different ways of representing the same numeric information.
dr3w_ has joined #ruby
<havenwood> SaHar_: What version of Ruby are you on? I was suggesting #unpack1, which was introduced in 2.4.
ellcs has joined #ruby
hkais has joined #ruby
<dminuoso> For learning I would recommend
<dminuoso> 10:48 havenwood | >> 'SaHar_'.bytes.map { |byte| byte.to_s 16 }.join
<dminuoso> This to be the best solution
<dminuoso> Since it best describes the meaning.
<havenwood> Yeah, the non-regexp solution is often kindest on the reader.
<havenwood> Do you really want?: 'SaHar_'.unpack1('H*').gsub(/(..)(?=.)/, '\1:') #=> "53:61:48:61:72:5f"
<havenwood> And if you're going to do: 'SaHar_'.unpack1('H*').scan(/../).join(':')
anisha has quit [Quit: This computer has gone to sleep]
<havenwood> You might as well just: 'SaHar_'.bytes.map { |byte| byte.to_s 16 }.join(':')
<dminuoso> toHex = -> n { n.to_s 16 }; 'SaHar_'.bytes.map(&toHex).join(':')
<dminuoso> Readability wins.
<dminuoso> Or maybe even more generally
<dminuoso> toBase = -> b, n { n.to_s 16 }.curry; 'SaHar_'.bytes.map(&toBase(16)).join(':')
Beams has joined #ruby
* dminuoso stabs havenwood with a stabby lambda
amar has joined #ruby
* havenwood hides behind an ancient Proc.new
<tbuehlmann> yeah, the last one really isn't kind on the reader anymore
<dminuoso> say what?
<dminuoso> 'SaHar_'.bytes.map(&toBase(16)).join(':')
<dminuoso> This is not kind?
<tbuehlmann> I'd have to read up on currying again, first
<tbuehlmann> the last part is fine
<dminuoso> tbuehlmann: toBase = -> b { -> n { n.to_s 16 } }
<dminuoso> same thing.
<dminuoso> (almost)
<dminuoso> err
<dminuoso> toBase = -> b { -> n { n.to_s b } }
<dminuoso> =)
foxxx0 has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
erlend has quit [Ping timeout: 263 seconds]
cschneid_ has joined #ruby
<dminuoso> I think currying ought to be taught in every beginner Ruby book. Inline anonymous functions are just blergh.
erlend has joined #ruby
<dminuoso> Maybe I should propose a change to allow passing procs to map.
<dminuoso> so you could do
<dminuoso> 'SaHar_'.bytes.map(toBase(16)).join(':')
<tbuehlmann> I'm not really using currying and I haven't seen it in code at all, so that's why I'd have to read up on the topic again
<tbuehlmann> and I don't have a problem with inline anonymous functions, so… ¯\_(ツ)_/¯
<dminuoso> tbuehlmann: Idea is: all functions take only one argument. A function taking 2 arguments is considered a function that takes one argument, and returns another function that returns another argument.
<dminuoso> (With some sugary so that you can still apply multiple arguments in one go through those layers)
<dminuoso> So you can partially apply a function by passing less-than-required arguments
<tbuehlmann> I know currying for procs/lambdas, but I'm not used to using it
cschneid_ has quit [Ping timeout: 265 seconds]
<dminuoso> tbuehlmann: map(&toBase(16)) lets you express what code means, rather than what it does. With inline functions you constantly shift the focus from "code from an abstract point of view" to "details and semantics"
tomphp_ has joined #ruby
<dminuoso> items.map(&calculatePrice) is far more telling than items.map { |i| ... }. It's also easier to test :P
tomphp has quit [Ping timeout: 246 seconds]
zapata_ has joined #ruby
<tbuehlmann> items.map(&:calculate_price)? :D
zapata has quit [Ping timeout: 256 seconds]
gigetoo has quit [Ping timeout: 256 seconds]
<dminuoso> tbuehlmann: Heh. I have actually found arguments for CamelCase :)
workmad3 has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
<tbuehlmann> oh I didn't want to go down that path, but well :D
<dminuoso> Heh.
<dminuoso> Just wanted to see if I could trigger you.
headius has quit [Ping timeout: 268 seconds]
Beams has quit [Quit: .]
izaac_ has quit [Ping timeout: 240 seconds]
ryzokuken has joined #ruby
tomphp_ has quit [Read error: No route to host]
tomphp has joined #ruby
<dminuoso> 11:13 tbuehlmann | items.map(&:calculate_price)? :D
<dminuoso> But yeah. I'd say its the same thing.
cabotto has joined #ruby
venmx has joined #ruby
raatiniemi has quit [Ping timeout: 256 seconds]
<havenwood> I submit to you the following solution: https://gist.github.com/havenwood/151333b28a1c86d42b3cb8f987282f28
alfiemax_ has joined #ruby
Beams has joined #ruby
<dminuoso> havenwood: A year ago you would have impressed me.
<dminuoso> ;)
<havenwood> dminuoso: Sometimes a problem just calls for an object oriented z-combinator solution. ¯\_(ツ)_/¯
raatiniemi has joined #ruby
<dminuoso> havenwood: I find the naming quite hilarious.
gigetoo has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
<tbuehlmann> heh
KeyJoo has quit [Read error: Connection reset by peer]
<dminuoso> If you hook Proc#[] to do push/enter, then you could do it slightly more elegant
<dminuoso> let me just..
<havenwood> dminuoso: i do like that symmetry
<dminuoso> havenwood: Reload. :)
headius has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
<dminuoso> havenwood: drop the () for arguments and use [].
<dminuoso> .() is just ugh
<havenwood> it's like a winking sock monkey
<dminuoso> havenwood: Honestly its easier to see if you stare at lambda calculus
guille-moe has quit [Ping timeout: 240 seconds]
<dminuoso> Y g = (λx.g (x x))(λx.g (x x))
<havenwood> dminuoso: yeah, especially when you know what you're reading is lambda calculus the braces have the least noise
izaac has joined #ruby
<dminuoso> havenwood: Ive actually seen fix in use sometimes.
Beams has quit [Quit: .]
<dminuoso> It's somewhat convenient if you need recursion but you are too lazy to write a binding for your function..
<dminuoso> as in "anonymous recursion"
<dminuoso> havenwood: But it really needs `push/eval` to shine
<havenwood> haha
<dminuoso> *push/enter heh
pilne has quit [Quit: Leaving]
<dminuoso> havenwood: Or maybe this one for ruby
RougeR has quit [Ping timeout: 264 seconds]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
blackchalk has joined #ruby
blackchalk has joined #ruby
blackchalk has quit [Changing host]
<dminuoso> Oh actually strike that. Wont work for call-by-value
Beams has joined #ruby
ur5us has joined #ruby
marr has joined #ruby
blackchalk has quit [Quit: quitting]
Beams has quit [Quit: .]
<dminuoso> havenwood: how do you like this? https://gist.github.com/dminuoso/03ba0b45f4c427648ddf10b668af4e1c
<dminuoso> Screw manually currying procs.
<dminuoso> Too much effort.
<dminuoso> Also note the push/enter kind of magic
ephemera__ has left #ruby [#ruby]
<dminuoso> so you can do things like -> f { -> g { f + g }}[1,2]
<dminuoso> Without this you go insane writing functional ruby.
<havenwood> dminuoso: mmm, that's interesting!
drale2k_ has joined #ruby
<havenwood> falling asleep, but i'm curious to play with it with fresh eyes
apeiros has joined #ruby
ciscam has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
Beams has joined #ruby
Radar has joined #ruby
ur5us has quit [Remote host closed the connection]
rabajaj has quit [Remote host closed the connection]
ur5us has joined #ruby
dr3w_ has quit [Read error: Connection reset by peer]
rabajaj has joined #ruby
ferr1 has joined #ruby
dr3w_ has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
rahul_bajaj has joined #ruby
rabajaj has quit [Ping timeout: 240 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zautomata has quit [Ping timeout: 276 seconds]
zautomata has joined #ruby
rabajaj has joined #ruby
rahul_bajaj has quit [Ping timeout: 260 seconds]
<SaHar_> dminuoso: havenwood thank you so much
claudiuinberlin has joined #ruby
Beams has quit [Quit: .]
<dminuoso> havenwood: https://gist.github.com/dminuoso/86ed04b5b0f3355a738de0af4c813955 this was the motivation that started this.
AJA4350 has joined #ruby
<dminuoso> If you comment out line 18, you cant sensibly compose things.
<dminuoso> Because you have to constantly keep track of when a new lambda shell is in front of you
<dminuoso> and I dont want to write: (zipWith * zipWith)[add][arr1, arr2]
goatish has joined #ruby
reber has quit [Remote host closed the connection]
amatas has joined #ruby
ur5us has joined #ruby
tcopeland has quit [Quit: tcopeland]
rabajaj has quit [Remote host closed the connection]
adlerdias has joined #ruby
Beams has joined #ruby
Beams has quit [Client Quit]
zautomata1 has joined #ruby
mikecmpbll has joined #ruby
rabajaj has joined #ruby
zautomata has quit [Ping timeout: 264 seconds]
amatas has quit [Quit: amatas]
amatas has joined #ruby
Beams has joined #ruby
zautomata2 has joined #ruby
apparition has joined #ruby
drale2k_ has quit [Ping timeout: 265 seconds]
zautomata1 has quit [Ping timeout: 276 seconds]
amar has quit [Remote host closed the connection]
amar has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
jeffreylevesque has joined #ruby
alfiemax has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
c0ncealed1 has quit [Remote host closed the connection]
c0ncealed1 has joined #ruby
erlend has quit [Ping timeout: 264 seconds]
houhoulis has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
erlend has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
mikecmpbll has joined #ruby
reber has joined #ruby
amar has quit [Ping timeout: 256 seconds]
jamesaxl has quit [Ping timeout: 265 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
segy has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
Cavallari has joined #ruby
Cavallari has quit [Client Quit]
memo1 has quit [Ping timeout: 265 seconds]
the_drow has joined #ruby
<the_drow> How do I force bundler to pull a dependency of a dependency from git?
<the_drow> Do I have to fork the dependency and add my gem from git?
<Radar> yes
<apeiros> you can also explicitly list that sub-dependency in your Gemfile, and specify its source to be git
<the_drow> This is my gemfile http://dpaste.com/31E8S33
ferr1 has left #ruby ["WeeChat 2.1"]
despai has joined #ruby
<the_drow> and this is my lock http://dpaste.com/02RM2AW
dr3w_ has joined #ruby
<the_drow> I don't know why I can't use what I added in that branch
<the_drow> I'm suspecting the original version was installed as well
jottr has joined #ruby
<apeiros> specinfra (~> 2.72) does not match 2.73.3 I'd say (radar correct me if I'm wrong)
<Radar> you're wrong.
<apeiros> =(
<Radar> ~> 2.72 will match any version greater than 2.72, but less than 3.x
<Radar> at least, that's what I think
<Radar> It is getting late here tho
Stanimir has joined #ruby
<apeiros> I'm always unsure with spermy version :-/
rabajaj has quit [Ping timeout: 265 seconds]
jottr has quit [Ping timeout: 240 seconds]
<apeiros> yeah, I'm indeed wrong. so that's not it.
ldnunes has joined #ruby
<the_drow> so what gives?
<tbuehlmann> ~> 2.72 will match any version greater (_or equal_) than […]
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
<apeiros> don't know, sorry the_drow.
karapetyan has joined #ruby
rabajaj has joined #ruby
noobineer has quit [Ping timeout: 276 seconds]
Beams has quit [Quit: .]
<Stanimir> Hello, I'm a new Ruby programmer, coming from PHP. However, I have stumbled some strange errors, while installing my demo application on another PC. For example, when I try to save an object o a database and try to retirve it Ruby throws an exception : undefined method `each' for nil:NilClass
<ruby[bot]> Stanimir: 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
jeffreylevesque has quit [Ping timeout: 268 seconds]
synthroid has joined #ruby
Beams has joined #ruby
<Stanimir> I'm on ruby 2.4.1 and ROR 5.1.6
<tbuehlmann> Stanimir: can we move this to #RubyOnRails?
<Stanimir> Sure.
Axy has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
Beams has quit [Quit: .]
despai has quit [Quit: ...]
jottr has joined #ruby
rwb has quit [Ping timeout: 276 seconds]
hort has joined #ruby
hort has quit [Client Quit]
Asher has quit [Ping timeout: 240 seconds]
Beams has joined #ruby
Psybur has joined #ruby
inerthia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has quit [Ping timeout: 260 seconds]
gigetoo has quit [Ping timeout: 264 seconds]
gizmore|2 is now known as gizmore
gigetoo has joined #ruby
amar has joined #ruby
amar has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
bmurt has joined #ruby
Asher has joined #ruby
minimalism has quit [Quit: minimalism]
cschneid_ has quit [Ping timeout: 260 seconds]
Janky has joined #ruby
tcopeland has joined #ruby
jeffreylevesque has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
n0m4d1c has joined #ruby
amar has joined #ruby
s2013 has joined #ruby
<the_drow> apeiros, It was installed. I just forgot to add something somewhere else so that my changes would take effect
<the_drow> I have a problem with shell escaping. Serverspec is trying to execute the following command: /usr/bin/firejail --quiet --noprofile --net=lxcbr0 --ip=10.0.3.3 -c /bin/nc\ -w\ 5\ -z\ 10.0.3.175\ 22 using spwan
<the_drow> When I paste this to my shell I get /bin/bash: /bin/nc -w 5 -z 10.0.3.175 22: No such file or directory
amar has quit [Ping timeout: 264 seconds]
<the_drow> Interestingly sh -c '/usr/bin/firejail --quiet --noprofile --net=lxcbr0 --ip=10.0.3.3 -c /bin/nc\ -w\ 5\ -z\ 10.0.3.175\ 22' works
dimik--- has joined #ruby
shinnya has joined #ruby
jcalla has joined #ruby
<the_drow> but it doesn't work with bash -c '' :(
andikr has quit [Remote host closed the connection]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> doesn't sound like a ruby problem then. probably different envs?
<the_drow> maybe
<the_drow> I thought it was at first
mjolnird has joined #ruby
dionysus69 has joined #ruby
kapil___ has joined #ruby
<kapil___> i have this function : `def columns_processor(table= @table, yamlSection = @yamlConfig[@config], columns_hide = /^(user_id|updated_at)$/, resultStore)`
<kapil___> i want to call it like this: `columns_processor(columns_hide, [])`
<kapil___> how can i do it?
<apeiros> you can't.
SaHar_ has quit [Quit: Page closed]
<gizmore> kapil___: write a wrapper method
<apeiros> those are all positional arguments. and as the name "positional" suggests, they have to be used with the right position.
<kapil___> but this i can do :
<kapil___> `columns_processor([])
<apeiros> meh, use keyword args
<apeiros> anything >1 arg should IMO use kwargs.
<gizmore> whats that?
<gizmore> dictionaries?
apparition has quit [Quit: Bye]
<kapil___> no empty array
<apeiros> foo(this: "is", a: "keyword", argument:)
houhoulis has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 260 seconds]
<gizmore> apeiros: new to me
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
raatiniemi has quit [Ping timeout: 256 seconds]
<apeiros> gizmore: you must have been away from ruby for a couple of years then.
<kapil___> how to access keyword args in function?
<gizmore> apeiros: 2 or 3 years maybe
<apeiros> kapil___: same as positional args.
<kapil___> great
<kapil___> how to call this function?
<gizmore> apeiros: i am waiting for type hinting
<apeiros> kapil___: almost the same as you define it: foo(this: "some value", a: "some value", argument: "some value")
<apeiros> but you can use any order and you can leave away all which have a default.
<kapil___> great thanks a lot. it also better to read
<kapil___> great guide
<apeiros> i.e. with the given example, calling `foo(argument: "some value")` would have this == "is" and a == "keyword"
alfiemax has quit [Remote host closed the connection]
<kapil___> thanks. should i use this idea in any language?
<apeiros> gizmore: the full syntax is in ruby since 2.1 iirc, so 3.5 years
<apeiros> (might be that required kwargs came a bit later)
<apeiros> the calling syntax was available ever since 1.9, it just meant something else (it was passing a single hash argument)
<kapil___> can i use this in javascript?
<apeiros> no
<gizmore> you can use the single hash argument workaround there
<kapil___> ok thanks
rabajaj has quit [Ping timeout: 260 seconds]
<apeiros> single object actually
<apeiros> {} in js are objects, not hashes.
k0mpa has joined #ruby
* apeiros now wonders whether there's a distinct name for those… "plain objects" maybe?
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
* apeiros afk
guille-moe has joined #ruby
<kapil___> how to call function some keys i should merge how?
<gizmore> reverse merge the hash with default values?
<kapil___> if i pass object it will replaced
* kapil___ thanks to apeiros
erlend has quit [Ping timeout: 264 seconds]
<apeiros> I don't understand the question
erlend has joined #ruby
DLSteve has joined #ruby
drale2k_ has joined #ruby
cabotto has quit [Remote host closed the connection]
Zaab1t has joined #ruby
cabotto has joined #ruby
cabotto has quit [Client Quit]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 256 seconds]
safetypin has joined #ruby
sidx64 has joined #ruby
Beams has quit [Quit: .]
Beams has joined #ruby
cschneid_ has joined #ruby
duderonomy has joined #ruby
ta_ has quit [Remote host closed the connection]
p0p0pr37 has joined #ruby
woo has joined #ruby
<woo> Hi
<dminuoso> woohoo.
cschneid_ has quit [Ping timeout: 256 seconds]
<woo> Is this psychoc chatroom?
<woo> Psychic*
oleo has joined #ruby
memo1 has joined #ruby
<woo> Hi dimiuoso
woo has left #ruby [#ruby]
* dminuoso stabs apeiros
woo has joined #ruby
<dminuoso> woo: I predict apeiros to be mean towards me.
<woo> Apeiros?
woo has left #ruby [#ruby]
cschneid_ has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
cyberg has joined #ruby
<apeiros> accurate prediction
* apeiros slaps dminuoso around a bit with a large trout
Beams has quit [Quit: .]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
Beams has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
TheMoonMaster has quit [Quit: Later!]
workmad3 has joined #ruby
Beams has quit [Client Quit]
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
rwb has joined #ruby
Asher has quit [Ping timeout: 276 seconds]
Beams has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NL3limin4t0r_afk has quit [Ping timeout: 240 seconds]
rabajaj has joined #ruby
bmurt has quit [Ping timeout: 255 seconds]
mostlybadfly has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
GodFather_ has quit [Read error: Connection reset by peer]
GodFather_ has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
Rapture has joined #ruby
dr3w__ has joined #ruby
dimik--- has quit [Ping timeout: 264 seconds]
jobewan has joined #ruby
hippo_in_helicop has joined #ruby
Mike11 has joined #ruby
<hippo_in_helicop> adjacent string literals getting concatenated, is that borrowed from an earlier language, or original feature of ruby?
dr3w_ has quit [Ping timeout: 256 seconds]
GodFather_ has quit [Quit: Ex-Chat]
norfumpit has joined #ruby
GodFather has joined #ruby
<leah2> its a C feature, but perhaps inspired by awk
<hippo_in_helicop> thanks
inerthia has joined #ruby
<leah2> (i thought perl had it too, but it doesnt)
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoul_ has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 260 seconds]
Burgestrand has quit [Quit: Closing time!]
lelliott has joined #ruby
nichol has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
pastorinni has joined #ruby
cschneid_ has joined #ruby
netherwolfe has joined #ruby
yeticry has quit [Ping timeout: 260 seconds]
synthroid has quit [Remote host closed the connection]
yeticry has joined #ruby
hippo_in_helicop has quit [Quit: quit pro quo]
cschneid_ has quit [Ping timeout: 256 seconds]
<the_drow> How do I create an object that can be cased to a time interval
<the_drow> So that I can do sleep Foo.new()
duderonomy has joined #ruby
samort7 has joined #ruby
grilix_ has joined #ruby
<apeiros> the_drow: sleep wants an Integer or FLoat
<the_drow> so to_i
<apeiros> so you'll have to do something like `sleep Foo.new.to_i` or `sleep Foo.new.to_f`
* apeiros afk now
dimik--- has joined #ruby
cadillac_ has quit [Ping timeout: 264 seconds]
Asher has joined #ruby
lelliott has quit [Remote host closed the connection]
cadillac_ has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phaul> although one can argue that Foo.new.sleep(sometime) is less of a code smell. I mean it's pretty unlikely that Foo .to_i make sense out of the sleep context. But Im speculating of course
<the_drow> phaul, I'm trying to quack like a duck here
ldnunes has quit [Quit: Leaving]
yeticry has joined #ruby
<the_drow> https://github.com/NoRedInk/rspec-retry/blob/master/lib/rspec/retry.rb#L152 expects only an integer and I want to provide a random number
apeiros has quit [Ping timeout: 245 seconds]
ta_ has joined #ruby
schneider has joined #ruby
Cavallari has joined #ruby
timmow has quit [Quit: ZNC - http://znc.in]
Asher has quit [Ping timeout: 264 seconds]
Cavallari has quit [Client Quit]
cadillac_ has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
<phaul> in that it makes sense. It's just different aspect, having an intlike thing internally and calling sleep with it internally. I thought we were talking about external interface to the class..
mtkd has quit [Read error: Connection reset by peer]
Asher has joined #ruby
mtkd has joined #ruby
rahul_bajaj has joined #ruby
Asher has quit [Ping timeout: 255 seconds]
<elomatreb> the_drow: If you're in Rails, ActiveSupport has a Duration type that can be .to_i'd into the number of seconds, IIRC
<the_drow> elomatreb, Nope. Serverspec...
<the_drow> but I found another way
sanscoeur has quit [Remote host closed the connection]
rabajaj has quit [Ping timeout: 276 seconds]
synthroid has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
rahul_bajaj has quit [Remote host closed the connection]
rabajaj has joined #ruby
Burgestrand has joined #ruby
cadillac_ has joined #ruby
cschneid_ has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Asher has joined #ruby
amar has joined #ruby
rabajaj has quit [Ping timeout: 260 seconds]
drale2k_ has joined #ruby
jottr has joined #ruby
cadillac_ has quit [Ping timeout: 276 seconds]
aupadhye has quit [Ping timeout: 268 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
cadillac_ has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
erlend has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 240 seconds]
erlend has joined #ruby
ta_ has joined #ruby
apeiros has quit [Ping timeout: 268 seconds]
NL3limin4t0r_afk has joined #ruby
apeiros has joined #ruby
gigetoo has quit [Ping timeout: 245 seconds]
sagax has joined #ruby
sepp2k has joined #ruby
gigetoo has joined #ruby
goatish has quit [Quit: Hibernating]
hlmjr has quit [Excess Flood]
hlmjr has joined #ruby
ellcs has quit [Remote host closed the connection]
lazyatom has quit [Quit: Connection closed for inactivity]
kapil___ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
nichol has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 256 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 265 seconds]
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
jcarl43 has joined #ruby
[Butch] has joined #ruby
cagomez has joined #ruby
cadillac_ has joined #ruby
cam27 has joined #ruby
ta_ has joined #ruby
amar has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 240 seconds]
qba73 has quit [Ping timeout: 265 seconds]
the_drow has quit [Ping timeout: 276 seconds]
amar has joined #ruby
noobineer has joined #ruby
John_Ivan has quit [Ping timeout: 260 seconds]
amar has quit [Read error: No route to host]
amar_ has joined #ruby
KeyJoo has joined #ruby
n0m4d1c has joined #ruby
amar_ has quit [Ping timeout: 260 seconds]
govg has quit [Quit: Lost terminal]
marius has quit [Quit: baj]
alfiemax has joined #ruby
marius has joined #ruby
zautomata2 has quit [Quit: WeeChat 1.9.1]
nichol has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
John_Ivan has joined #ruby
marius has quit [Quit: Ping timeout (120 seconds)]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
marius has joined #ruby
n008f4g_ has joined #ruby
nichol has quit [Ping timeout: 256 seconds]
tolerablyjake has joined #ruby
karapetyan has quit [Remote host closed the connection]
zapata has joined #ruby
orbyt_ has joined #ruby
AJA4350 has quit [Quit: AJA4350]
zapata_ has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
clemens3 has quit [Ping timeout: 240 seconds]
mroutis has joined #ruby
jamesaxl has joined #ruby
mroutis has quit [Remote host closed the connection]
mroutis has joined #ruby
marius has quit [Quit: Ping timeout (120 seconds)]
marius has joined #ruby
eckhardt has joined #ruby
karapetyan has joined #ruby
Psybur_ has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
ta_ has joined #ruby
inerthia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has joined #ruby
hlmjr has quit [Quit: Konversation terminated!]
ledestin has joined #ruby
Psybur has quit [Ping timeout: 256 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
openstruct has joined #ruby
openstruct has quit [Client Quit]
nichol has joined #ruby
Beams has quit [Quit: .]
armyriad has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has quit [Remote host closed the connection]
jottr has joined #ruby
n008f4g_ has quit [Ping timeout: 240 seconds]
suukim has joined #ruby
rabajaj has joined #ruby
orbyt_ has joined #ruby
jottr has quit [Quit: WeeChat 2.0.1]
sent-hil has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mroutis has quit [Read error: Connection reset by peer]
mroutis_ has joined #ruby
icarus has quit [Ping timeout: 268 seconds]
amar has joined #ruby
* baweaver wanders in
icarus has joined #ruby
chouhoulis has joined #ruby
harrycs has joined #ruby
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
amar has quit [Ping timeout: 265 seconds]
chouhoul_ has quit [Ping timeout: 264 seconds]
marius has quit [Quit: Ping timeout (120 seconds)]
<miah> moin =)
[Butch] has quit [Read error: Connection reset by peer]
[Butch] has joined #ruby
bmurt has joined #ruby
mtkd has quit []
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
marius has joined #ruby
vutral|kali has quit [Ping timeout: 255 seconds]
bmurt has quit [Remote host closed the connection]
pilne has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
vutral|kali has joined #ruby
guille-moe has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
mtkd has joined #ruby
memo1 has quit [Ping timeout: 256 seconds]
claudiuinberlin has joined #ruby
vutral|kali has quit [Excess Flood]
erlend has quit [Ping timeout: 256 seconds]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
raynold has joined #ruby
vutral|kali has quit [Client Quit]
erlend has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
soahccc has quit [Quit: Cya]
Mia has quit [Ping timeout: 260 seconds]
d5sx43 has joined #ruby
d5sx43 has quit [Client Quit]
SuperL4g has joined #ruby
venmx has quit [Ping timeout: 276 seconds]
harry_ has joined #ruby
soahccc has joined #ruby
harrycs has quit [Ping timeout: 260 seconds]
chouhoul_ has joined #ruby
memo1 has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
dinfuehr has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
gigetoo has joined #ruby
dinfuehr has joined #ruby
mjolnird has quit [Remote host closed the connection]
despai has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
memo1 has quit [Ping timeout: 276 seconds]
karapetyan has joined #ruby
orbyt_ has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
psychicist__ has joined #ruby
nichol has quit [Ping timeout: 276 seconds]
nichol has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
n0m4d1c has joined #ruby
sauvin has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nichol has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
alfiemax_ has joined #ruby
sameerynho has joined #ruby
gnarf has quit [Quit: ZNC - http://znc.in]
alfiemax has quit [Ping timeout: 260 seconds]
mroutis_ has quit [Read error: Connection reset by peer]
alfiemax_ has quit [Remote host closed the connection]
alfiemax has joined #ruby
mroutis has joined #ruby
jenrzzz_ has joined #ruby
\void has joined #ruby
synthroid has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 256 seconds]
clemens3 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
pastorinni has quit [Ping timeout: 240 seconds]
amar has joined #ruby
k0mpa has quit [Remote host closed the connection]
mtkd has quit []
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
foxxx0 is now known as foxxx1
foxxx1 is now known as foxxx0
tvw has quit [Remote host closed the connection]
duderonomy has joined #ruby
chouhoulis has joined #ruby
synthroid has joined #ruby
nowhereman_ has quit [Ping timeout: 265 seconds]
mroutis has quit [Ping timeout: 268 seconds]
duderonomy has quit [Client Quit]
chouhoul_ has quit [Ping timeout: 268 seconds]
hkais has quit [Ping timeout: 245 seconds]
Mike11 has quit [Quit: Leaving.]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cadillac_ has quit [Ping timeout: 260 seconds]
jenrzzz_ has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
suukim has quit [Quit: Konversation terminated!]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
cagomez has joined #ruby
amatas has quit [Quit: amatas]
alfiemax has joined #ruby
nowhereman_ has joined #ruby
sammi` has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 255 seconds]
alfiemax has quit [Ping timeout: 255 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
safetypin has quit [Quit: Textual IRC Client: www.textualapp.com]
nowhereman_ has quit [Ping timeout: 256 seconds]
lelliott has joined #ruby
nowhereman_ has joined #ruby
chouhoul_ has joined #ruby
Scient has quit [Quit: ZNC - http://znc.in]
tvw has joined #ruby
workmad3 has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
grilix_ has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
mroutis has joined #ruby
nowhereman_ has quit [Remote host closed the connection]
nowhereman_ has joined #ruby
venmx has joined #ruby
chouhoulis has joined #ruby
atchoum has joined #ruby
cagomez has joined #ruby
alfiemax has joined #ruby
chouhoul_ has quit [Ping timeout: 246 seconds]
Zaab1t has quit [Quit: Zaab1t]
mikecmpbll has joined #ruby
cagomez has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
Scient has joined #ruby
ellcs has joined #ruby
venmx has quit [Remote host closed the connection]
orbyt_ has joined #ruby
venmx has joined #ruby
jenrzzz has joined #ruby
nichol has joined #ruby
lelliott has quit [Remote host closed the connection]
sidx64 has joined #ruby
cagomez has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pastorinni has joined #ruby
sidx64_ has joined #ruby
nichol has quit [Ping timeout: 264 seconds]
sidx64 has quit [Ping timeout: 268 seconds]
erlend has quit [Ping timeout: 264 seconds]
cagomez has quit [Ping timeout: 256 seconds]
ellcs has quit [Ping timeout: 264 seconds]
erlend has joined #ruby
venmx has quit [Remote host closed the connection]
chouhoul_ has joined #ruby
Xiti has quit [Ping timeout: 260 seconds]
grilix_ has joined #ruby
jcarl has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tolerablyjake has joined #ruby
ragingmonkey has joined #ruby
Psybur has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
jcarl43 has quit [Ping timeout: 264 seconds]
reber has quit [Remote host closed the connection]
Psybur_ has quit [Ping timeout: 245 seconds]
Psybur has quit [Ping timeout: 256 seconds]
adlerdias has quit [Quit: adlerdias]
Xiti has joined #ruby
mroutis has quit [Ping timeout: 264 seconds]
n0m4d1c has quit [Remote host closed the connection]
croberts has quit [Ping timeout: 260 seconds]
mroutis has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d^sh has quit [Ping timeout: 264 seconds]
d^sh has joined #ruby
hkais has joined #ruby
pastorin_ has joined #ruby
icarus has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
jobewan has quit [Quit: jobewan]
memo1 has joined #ruby
ramfjord has joined #ruby
harry_ has quit [Ping timeout: 260 seconds]
pastorinni has quit [Ping timeout: 276 seconds]
cagomez has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Puffball has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
mroutis has quit [Read error: Connection reset by peer]
tolerablyjake has joined #ruby
minimalism has joined #ruby
alfiemax has joined #ruby
err_ok_ has joined #ruby
kaia_ has joined #ruby
chrisseaton_ has joined #ruby
doesntbyte_ has joined #ruby
Diabolik_ has joined #ruby
Travis-42_ has joined #ruby
raggi_ has joined #ruby
ewilliam_ has joined #ruby
rfv_ has joined #ruby
pmarreck_ has joined #ruby
solidsnack_ has joined #ruby
mroutis has joined #ruby
graingert_ has joined #ruby
yo61_ has joined #ruby
Meow-J__ has joined #ruby
creeg has joined #ruby
zumbi_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
pastorin_ has quit [Remote host closed the connection]
jsrn_ has joined #ruby
pastorinni has joined #ruby
Nilium_ has joined #ruby
zleap_ has joined #ruby
mlehrer_ has joined #ruby
Fire-Dragon-DoL- has joined #ruby
snapcase has quit [*.net *.split]
Liothen has quit [*.net *.split]
mlehrer has quit [*.net *.split]
Takumo has quit [*.net *.split]
velu_aon[m] has quit [*.net *.split]
Giphy[m] has quit [*.net *.split]
jsrn has quit [*.net *.split]
mitsuhiko has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
rfv has quit [*.net *.split]
ewilliam has quit [*.net *.split]
solidsnack has quit [*.net *.split]
Diabolik has quit [*.net *.split]
doesntbyte has quit [*.net *.split]
graingert has quit [*.net *.split]
pmarreck has quit [*.net *.split]
Meow-J_ has quit [*.net *.split]
raggi has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
err_ok has quit [*.net *.split]
Travis-42 has quit [*.net *.split]
yo61 has quit [*.net *.split]
kaia has quit [*.net *.split]
zumbi has quit [*.net *.split]
creeg_ has quit [*.net *.split]
zleap has quit [*.net *.split]
Nilium has quit [*.net *.split]
Fire-Dragon-DoL- is now known as Fire-Dragon-DoL
doesntbyte_ is now known as doesntbyte
err_ok_ is now known as err_ok
Nilium_ is now known as Nilium
kaia_ is now known as kaia
mitsuhiko_ has joined #ruby
mitsuhiko_ is now known as mitsuhiko
chrisseaton_ is now known as chrisseaton
ewilliam_ is now known as ewilliam
solidsnack_ is now known as solidsnack
pmarreck_ is now known as pmarreck
raggi_ is now known as raggi
yo61_ is now known as yo61
Travis-42_ is now known as Travis-42
graingert_ is now known as graingert
rfv_ is now known as rfv
vipaca has joined #ruby
<mroutis> KeyJoo: nice!
Takumo has joined #ruby
vipaca has quit [Changing host]
vipaca has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
byte512 has quit [Ping timeout: 240 seconds]
mitchellvanw has quit [Ping timeout: 240 seconds]
Guest54486 has quit [Ping timeout: 260 seconds]
Liothen has joined #ruby
Liothen has joined #ruby
velu_aon[m] has joined #ruby
Giphy[m] has joined #ruby
mitchellvanw has joined #ruby
byte512 has joined #ruby
memo1 has quit [Ping timeout: 240 seconds]
rwb has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
cadillac_ has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
jeffreylevesque has quit [Ping timeout: 264 seconds]
cyberg has quit [Ping timeout: 268 seconds]
jcarl has quit [Quit: WeeChat 2.1]
jcarl43 has joined #ruby
cyberg has joined #ruby
marxarelli|afk is now known as marxarelli
braderhart has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
Sammichmaker has joined #ruby
sameerynho has quit [Ping timeout: 268 seconds]
synthroid has quit []
guacamole has quit [Client Quit]
\void has quit [Quit: So long, and thanks for all the fish.]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
kab has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
memo1 has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 264 seconds]
phaul has quit [Ping timeout: 260 seconds]
phaul has joined #ruby
pastorinni has quit []
jcalla has quit [Quit: Leaving]
Emmanuel_Chanel has joined #ruby
grilix_ has quit [Ping timeout: 276 seconds]
sidx64_ has quit [Ping timeout: 255 seconds]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
Emmanuel_Chanel has joined #ruby
nichol has joined #ruby
zautomata has joined #ruby
memo1 has quit [Ping timeout: 264 seconds]
bmurt has joined #ruby
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nichol has quit [Ping timeout: 240 seconds]
vipaca has joined #ruby
vipaca has quit [Client Quit]
vipaca has joined #ruby
vipaca is now known as Guest22305
Guest22305 has quit [Read error: Connection reset by peer]
chouhoul_ has quit [Remote host closed the connection]
psychicist__ has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
guacamole has quit [Quit: Textual IRC Client: www.textualapp.com]
rwb has joined #ruby
eckhardt has joined #ruby
twshelton has quit [Ping timeout: 276 seconds]
cam27 has quit [Quit: cam27]
ur5us has joined #ruby
eckhardt has quit [Ping timeout: 240 seconds]
amar has quit [Read error: Connection reset by peer]
amar has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Psybur has joined #ruby
cschneid_ has quit [Remote host closed the connection]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
jeffreylevesque has joined #ruby
marxarelli is now known as marxarelli|afk
ellcs has joined #ruby
erlend has quit [Ping timeout: 276 seconds]
erlend has joined #ruby
SeepingN has joined #ruby
mtkd has quit []
venmx has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
duderonomy has joined #ruby
John_Ivan has quit [Read error: Connection reset by peer]
hkais has quit [Ping timeout: 265 seconds]
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
cadillac_ has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has quit [Client Quit]
jenrzzz has quit [Ping timeout: 264 seconds]
netherwolfe has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has quit [Ping timeout: 265 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
cschneid_ has joined #ruby
jamesaxl has quit [Quit: WeeChat 2.1]
orbyt_ has joined #ruby
fyrril has joined #ruby
cschneid_ has quit [Ping timeout: 268 seconds]
chouhou__ has joined #ruby
kab has quit [Quit: Leaving]
mikecmpbll has quit [Quit: inabit. zz.]
TheBloke has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 268 seconds]
marr has quit [Ping timeout: 256 seconds]
chouhou__ has quit [Ping timeout: 240 seconds]
marr has joined #ruby
snapcase has joined #ruby
minimalism has quit [Quit: minimalism]
memo1 has joined #ruby
yitsushi has quit [Quit: Bye o/]
Skarlso has quit [Quit: ZNC - http://znc.in]
tcopeland has quit [Quit: tcopeland]
ellcs has quit [Ping timeout: 265 seconds]
imode has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
memo1 has quit [Ping timeout: 256 seconds]
clemens3 has quit [Ping timeout: 268 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
char_var[buffer] has joined #ruby
memo1 has joined #ruby
shinnya has joined #ruby
phaul has quit [Ping timeout: 256 seconds]
memo1 has quit [Ping timeout: 264 seconds]
Burgestrand has quit [Quit: Closing time!]
memo1 has joined #ruby
cr3 has joined #ruby
<cr3> if anyone happens to be running rubymine, how can I see what commands the IDE is running when I try to "run" something. In the event log, I just see the error but not the command :(
RougeR has joined #ruby
RougeR has quit [Changing host]
RougeR has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
hr3f has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
href has quit [Read error: Connection reset by peer]
hr3f is now known as href
cadillac_ has joined #ruby
sanscoeur has quit [Ping timeout: 264 seconds]
olblak has quit [Ping timeout: 256 seconds]
olblak has joined #ruby
dimik--- has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
minimalism has joined #ruby
Exuma has joined #ruby
memo1 has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 256 seconds]
memo1 has joined #ruby
kith has joined #ruby
kith has quit [Remote host closed the connection]
brodul has quit [Ping timeout: 256 seconds]
brodul has joined #ruby
tjbp has quit [Read error: Connection reset by peer]
tjbp has joined #ruby
cagomez has quit [Remote host closed the connection]
tcopeland has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
chrisseaton has quit []
chrisseaton_ has joined #ruby
chrisseaton_ has quit [Client Quit]
chrisseaton has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
cagomez has joined #ruby
<chrisseaton> Does anyone know any resource on how Ruby interacts with locale environment variables? I can't see an impact on Time.now.strftime("%c") from changing LC_ALL. Should I?
cam27 has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 268 seconds]
imode has quit [Ping timeout: 260 seconds]
memo1 has quit [Ping timeout: 264 seconds]
guacamole has joined #ruby
guacamole has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
sameerynho has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
tvw has quit [Read error: Connection reset by peer]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
guacamole has quit [Client Quit]
duderonomy has joined #ruby
<mroutis> chrisseaton: what are you trying to achieve?
duderonomy has quit [Client Quit]
harry_ has joined #ruby
<mroutis> &ri Time.new
<mroutis> > Note: The new object will use the resolution available on your
<mroutis> system clock, and may include fractional seconds.
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
duderonomy has joined #ruby
cr3 has quit [Quit: leaving]
<mroutis> you should look for an internationalization library, as i18n
n0m4d1c has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n0m4d1c has quit [Remote host closed the connection]
Yxhuvud has joined #ruby
imode has joined #ruby
n0m4d1c has joined #ruby