Radar changed the topic of #ruby to: Can't talk? Register/identify with Nickserv first! || http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
Porfa has quit [Quit: porfa]
javiercito has quit [Remote host closed the connection]
Papipo has quit [Ping timeout: 258 seconds]
jgt has quit [Ping timeout: 250 seconds]
javiercito has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
zzxc has quit [Ping timeout: 256 seconds]
yqt has quit [Ping timeout: 264 seconds]
javiercito has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devoldmx_ has joined #ruby
Porfa has joined #ruby
swgillespie has joined #ruby
GaryOak_ has joined #ruby
tyfighter has joined #ruby
devoldmx_ has quit [Ping timeout: 264 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
GaryOak_ has quit [Ping timeout: 265 seconds]
Pupeno has joined #ruby
<shevy> ruby ruby ruby
tuelz1 has quit [Quit: WeeChat 1.1.1]
Dopagod has joined #ruby
arescorpio has joined #ruby
gkra_ is now known as gkra
Pupeno has quit [Remote host closed the connection]
shock_one has joined #ruby
tubuliferous has quit [Ping timeout: 264 seconds]
renanoronfle has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
shock_one has quit [Ping timeout: 255 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
icebourg has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
jackcom has joined #ruby
FernandoBasso has quit [Quit: leaving]
javiercito has joined #ruby
vickleton has quit [Ping timeout: 272 seconds]
javiercito has quit [Remote host closed the connection]
iamninja_ has quit [Read error: Connection reset by peer]
robustus has quit [Ping timeout: 264 seconds]
iamninja_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
BlackGear has joined #ruby
javiercito has joined #ruby
robustus has joined #ruby
jottr has joined #ruby
Dopagod has quit [Ping timeout: 256 seconds]
greenbagels has joined #ruby
veleno has joined #ruby
BlackGear has quit [Ping timeout: 256 seconds]
<veleno> hello. why gsub is not working as expected in this example http://codepad.org/UxDvGEwt ?
phutchins has quit [Ping timeout: 256 seconds]
bruno- has quit [Ping timeout: 244 seconds]
tyfighter has quit [Ping timeout: 265 seconds]
s2013 has joined #ruby
<apeiros> veleno: gsub returns a new string
<apeiros> it does not mutate the current string. gsub! does that (and in turn returns nil if nothing changed)
kuroro2 has joined #ruby
<apeiros> also if you'd use %{ident} instead of ${ident}, you could use String#% like this:
<matti> Hi apeiros
<apeiros> >> "git apply --whitespace=nowarn %{patches_src_dir}/32-87" % {patches_src_dir: "foo"}
<ruboto> apeiros # => "git apply --whitespace=nowarn foo/32-87" (https://eval.in/365614)
<apeiros> hi matti
Joufflu has joined #ruby
<ebonics> >> "ab{%d}" % {d: "c"}
<ruboto> ebonics # => can't convert Hash into Integer (TypeError) ...check link for more (https://eval.in/365616)
tyfighter has joined #ruby
nfk has quit [Quit: yawn]
<apeiros> ebonics: %{d}, not {%d}
javiercito has quit [Remote host closed the connection]
dented42 has joined #ruby
<ebonics> >> "ab{%d}" % 5
<ruboto> ebonics # => "ab{5}" (https://eval.in/365617)
<ebonics> >> "ab%{d}" % {d: "c"}
<ruboto> ebonics # => "abc" (https://eval.in/365618)
javiercito has joined #ruby
iasoon has quit [Ping timeout: 272 seconds]
jottr has quit [Ping timeout: 272 seconds]
jgt has joined #ruby
dorei has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
javiercito has quit [Remote host closed the connection]
javiercito has joined #ruby
idafyaid is now known as peskypokemon
hardlin3r has quit [Ping timeout: 245 seconds]
rgb-one has joined #ruby
nii236 has joined #ruby
jgt has quit [Ping timeout: 272 seconds]
failshell has joined #ruby
lidenskap has joined #ruby
Xiti has joined #ruby
bitri has joined #ruby
nii236 has quit [Ping timeout: 276 seconds]
djellemah_ has joined #ruby
Porfa has quit [Quit: porfa]
failshell has quit [Ping timeout: 265 seconds]
zzxc has joined #ruby
tyfighter has quit [Quit: tyfighter]
fgo has joined #ruby
djellemah has quit [Ping timeout: 276 seconds]
vikaton has joined #ruby
kuroro2 has quit [Ping timeout: 252 seconds]
gambl0re has joined #ruby
edwardly has quit [Quit: ??????????]
phutchins has joined #ruby
bahar has quit [Ping timeout: 255 seconds]
kuroro2 has joined #ruby
iamninja_ has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 252 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
BLACK_POWER has joined #ruby
hewenhong has joined #ruby
Dopagod has joined #ruby
bahar has joined #ruby
vikaton has quit []
fgo has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevenseacat has joined #ruby
lidenskap has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
javiercito has quit [Remote host closed the connection]
ruber has joined #ruby
<apeiros> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<apeiros> DeBot: :#_esn
<DeBot> ␣␣enSS␣::␣␣e␣::E␣::␣␣␣n␣#␣␣␣␣␣ [_] 1/12
<apeiros> DeBot: ol
<DeBot> O␣enSSL::␣␣e␣::E␣::␣o␣n␣#␣␣o␣␣ [_] 1/12
<sevenseacat> DeBot: p
<DeBot> OpenSSL::P␣e␣::E␣::Po␣n␣#␣␣o␣p [_] 1/12
<apeiros> DeBot: p
<DeBot> OpenSSL::P␣e␣::E␣::Po␣n␣#␣␣o␣p [_] 1/12
<apeiros> DeBot: k
<DeBot> OpenSSL::PKe␣::E␣::Po␣n␣#␣␣o␣p [_] 1/12
<apeiros> DeBot: y
<DeBot> OpenSSL::PKey::E␣::Po␣n␣#␣␣o␣p [_] 1/12
veleno has quit [Quit: veleno]
lidenskap has joined #ruby
<apeiros> DeBot: cit
<DeBot> OpenSSL::PKey::EC::Point#␣␣o␣p [_] 1/12
renanoronfle has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> DeBot: gru
<DeBot> OpenSSL::PKey::EC::Point#group [_] 1/12 You won!
serivichi has joined #ruby
swgillespie has joined #ruby
kuroro2 has quit [Ping timeout: 255 seconds]
BlackGear has joined #ruby
kuroro has joined #ruby
HotCoder has joined #ruby
bruno- has joined #ruby
<HotCoder> hello
BLACK_POWER has quit [Remote host closed the connection]
<xxneolithicxx> hideho HotCoder
<HotCoder> you calling me a ho?
<havenwood> !hangman gems
<havenwood> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣ [] 0/12
<havenwood> DeBot: a
<DeBot> ␣␣␣a␣␣␣␣␣ [] 0/12
<havenwood> DeBot: e
<DeBot> ␣␣␣a␣␣␣␣␣ [e] 1/12
<havenwood> DeBot: r
<DeBot> ␣␣␣a␣␣␣␣␣ [er] 2/12
<havenwood> DeBot: a
<DeBot> ␣␣␣a␣␣␣␣␣ [er] 2/12
<havenwood> More a's!
<havenwood> It's kind that hangman gives you all matched letters, not just one.
BlackGear has quit [Ping timeout: 250 seconds]
bruno- has quit [Ping timeout: 272 seconds]
<havenwood> DeBot: l
<DeBot> l␣␣a␣␣␣␣␣ [er] 2/12
<demophoon> DeBot: ​t
<sevenseacat> DeBot: rst
<DeBot> l␣ta␣␣␣␣␣ [ers] 3/12
<sevenseacat> DeBot: o
<DeBot> l␣ta␣␣␣␣␣ [erso] 4/12
<sevenseacat> DeBot: i
<DeBot> lita␣␣␣␣␣ [erso] 4/12
<demophoon> DeBot: ​y
<sevenseacat> DeBot: p
<DeBot> lita␣␣␣␣␣ [ersop] 5/12
tubuliferous has joined #ruby
<havenwood> Why isn't DeBot responding to demophoon? Hrm..
<sevenseacat> DeBot: d
<DeBot> lita␣␣␣␣d [ersop] 5/12
<sevenseacat> DeBot: u
<DeBot> lita␣␣␣␣d [ersopu] 6/12
<sevenseacat> DeBot: c
<DeBot> lita␣␣␣cd [ersopu] 6/12
<demophoon> DeBot: ​test
<demophoon> ??
<sevenseacat> DeBot: h
<DeBot> lita␣␣␣cd [ersopuh] 7/12
Feyn has joined #ruby
meph has quit [Quit: Leaving.]
iamninja_ has joined #ruby
<sevenseacat> DeBot: y
<DeBot> lita␣␣␣cd [ersopuhy] 8/12
TheHodge has quit [Quit: Connection closed for inactivity]
<sevenseacat> DeBot: k
<DeBot> lita␣␣kcd [ersopuhy] 8/12
<sevenseacat> DeBot: x
<DeBot> lita␣xkcd [ersopuhy] 8/12
<havenwood> ahh
<sevenseacat> DeBot: _
<DeBot> lita␣xkcd [ersopuhy_] 9/12
<sevenseacat> DeBot: -
<DeBot> lita-xkcd [ersopuhy_] 9/12 You won!
<sevenseacat> \o/
<havenwood> xkcd, that had me confused
<sevenseacat> me too lol
Papipo has joined #ruby
tubuliferous has quit [Ping timeout: 256 seconds]
postmodern has joined #ruby
kuroro2 has joined #ruby
duncannz has quit [Ping timeout: 252 seconds]
kuroro2 has quit [Client Quit]
javiercito has joined #ruby
dented42_ has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Papipo has quit [Ping timeout: 276 seconds]
Ropeney has joined #ruby
kuroro has quit [Ping timeout: 258 seconds]
dented42 has quit [Ping timeout: 265 seconds]
hgl has quit [Quit: Quit]
fgo has quit [Ping timeout: 272 seconds]
Papipo has joined #ruby
nii2361 has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
javiercito has quit [Remote host closed the connection]
slawrence00 has joined #ruby
shuber_ has quit [Remote host closed the connection]
bitri has quit [Quit: Textual IRC Client: www.textualapp.com]
zzxc_ has joined #ruby
oldbones has quit [Ping timeout: 244 seconds]
failshell has joined #ruby
dented42_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has quit [Quit: This computer has gone to sleep]
imkmf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zzxc has quit [Ping timeout: 258 seconds]
lidenskap has quit [Remote host closed the connection]
oldbones has joined #ruby
lidenskap has joined #ruby
failshell has quit [Ping timeout: 244 seconds]
shock_one has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
charliesome has quit [Quit: zzz]
DynamicMetaFlow has joined #ruby
shock_one has quit [Ping timeout: 250 seconds]
scripore has joined #ruby
zzing has joined #ruby
lkba_ has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
nahtnam has joined #ruby
keen____ has quit [Read error: Connection reset by peer]
keen____ has joined #ruby
cashnguns has joined #ruby
io_syl_ has joined #ruby
io_syl has quit [Ping timeout: 256 seconds]
x77686d has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
lidenskap has quit [Remote host closed the connection]
thoffmeyer has left #ruby ["Leaving"]
thoffmeyer has joined #ruby
poguez_ has joined #ruby
polymute has joined #ruby
rgb-one has quit [Remote host closed the connection]
jgt has joined #ruby
Sawbones has joined #ruby
jgt has quit [Ping timeout: 255 seconds]
duncannz has joined #ruby
GlenK_ has quit []
polymute has quit [Quit: Leaving]
javiercito has joined #ruby
ruber has quit [Quit: [BX] Beefcake! BEEFCAKE!]
polymute has joined #ruby
javiercito has quit [Remote host closed the connection]
nii2361 has quit [Quit: WeeChat 1.1.1]
mary5030 has joined #ruby
User458764 has joined #ruby
shuber_ has joined #ruby
tyfighter has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
braincras has quit [Quit: bye bye]
shuber_ has quit [Ping timeout: 252 seconds]
rotcetorptekcop has quit [Ping timeout: 265 seconds]
rotcetorptekcop has joined #ruby
pocketprotector has quit [Ping timeout: 250 seconds]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
icebourg has quit []
joast has joined #ruby
Sawbones has quit [Remote host closed the connection]
shock_one has joined #ruby
mengu has joined #ruby
braincrash has joined #ruby
Channel6 has joined #ruby
charliesome has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
A205B064 has quit [Ping timeout: 272 seconds]
shock_one has quit [Ping timeout: 252 seconds]
thumpba has joined #ruby
Dopagod has quit [Ping timeout: 258 seconds]
mengu has quit [Ping timeout: 264 seconds]
MatthewsFace has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
claptor has quit [Quit: this channel is bakas]
kenndel_ has joined #ruby
javiercito has joined #ruby
shakes has joined #ruby
pocketprotector has joined #ruby
Sawbones has joined #ruby
hewenhong has quit [Remote host closed the connection]
kenndel has quit [Ping timeout: 258 seconds]
KnownSyntax has joined #ruby
casadei has joined #ruby
Papipo has quit [Ping timeout: 264 seconds]
hewenhong has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
kotk has quit [Read error: Connection reset by peer]
MatthewsFace has quit [Ping timeout: 256 seconds]
rotcetorptekcop has quit [Ping timeout: 272 seconds]
bigsky has quit [Ping timeout: 272 seconds]
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
rotcetorptekcop has joined #ruby
BlackGear has joined #ruby
hewenhong has quit [Ping timeout: 245 seconds]
casadei has quit [Ping timeout: 272 seconds]
x77686d has quit [Quit: x77686d]
The_Phoenix has joined #ruby
rotcetorptekcop has quit [Ping timeout: 256 seconds]
hewenhong has joined #ruby
tubuliferous has joined #ruby
pocketprotector has quit [Ping timeout: 256 seconds]
rotcetorptekcop has joined #ruby
BlackGear has quit [Ping timeout: 258 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
Pupeno has joined #ruby
dented42 has joined #ruby
fgo has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
hewenhong has quit [Remote host closed the connection]
shuber_ has joined #ruby
lidenskap has joined #ruby
lidenskap has quit [Ping timeout: 240 seconds]
Pupeno has quit [Remote host closed the connection]
davedev24_ has quit []
pocketprotector has joined #ruby
fedexo has joined #ruby
jack_rabbit has quit [Read error: Connection reset by peer]
jack_rabbit has joined #ruby
Pupeno has joined #ruby
Musashi007 has joined #ruby
iamninja_ has quit [Read error: Connection reset by peer]
Pupeno has quit [Remote host closed the connection]
failshell has joined #ruby
icebourg has joined #ruby
xxneolithicxx has quit [Ping timeout: 255 seconds]
failshell has quit [Ping timeout: 240 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lavros has joined #ruby
xxneolithicxx has joined #ruby
shuber_ has quit [Remote host closed the connection]
snobby has quit [Quit: autokilled: This host has violated network policy.]
thumpba_ has joined #ruby
Ropeney has joined #ruby
Musashi007 has quit [Quit: Musashi007]
thumpba has quit [Ping timeout: 255 seconds]
javiercito has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
iamninja_ has joined #ruby
unshadow has quit [Quit: leaving]
n008f4g_ has quit [Ping timeout: 245 seconds]
Limix has joined #ruby
Sawbones has joined #ruby
serivichi has quit [Ping timeout: 256 seconds]
BlackGear has joined #ruby
polymute has quit [Ping timeout: 265 seconds]
thatslifeson has quit [Ping timeout: 256 seconds]
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
BlackGear has quit [Remote host closed the connection]
danman has joined #ruby
weemsledeux has joined #ruby
jgt has joined #ruby
sevenseacat has joined #ruby
HotCoder has quit [Ping timeout: 245 seconds]
thatslifeson has joined #ruby
havenwood has quit [Ping timeout: 250 seconds]
jgt has quit [Ping timeout: 276 seconds]
thatslif_ has joined #ruby
thatslifeson has quit [Ping timeout: 265 seconds]
oo_ has joined #ruby
tubuliferous has joined #ruby
Limix has quit [Quit: Limix]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
Xiti has quit [Read error: Connection reset by peer]
redhands has joined #ruby
cashnguns has quit [Remote host closed the connection]
_blizzy_ has quit [Ping timeout: 265 seconds]
tubuliferous has quit [Ping timeout: 265 seconds]
weemsledeux has quit [Quit: Textual IRC Client: www.textualapp.com]
TDJACR has quit [Ping timeout: 276 seconds]
zacts has joined #ruby
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
riotjone_ has joined #ruby
riotjone_ has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
Levandia has joined #ruby
zzxc_ has quit [Ping timeout: 265 seconds]
riotjones has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
icebourg has quit []
<Levandia> So I'm reading the set.rb file and I came across this, @hash ||= Hash.new which is the first line under the constructor of the class Set.
<Levandia> What's the point of doing @hash ||= Hash.new
riotjones has quit [Read error: Connection reset by peer]
<Levandia> It's the first line already.
<Levandia> Where else should it exist?
riotjones has joined #ruby
arescorpio has quit [Excess Flood]
SubjectiveBias has joined #ruby
thumpba has joined #ruby
shuber_ has joined #ruby
towski_ has joined #ruby
cgrieger^away has quit [Ping timeout: 265 seconds]
thumpba_ has quit [Ping timeout: 264 seconds]
riotjones has quit [Ping timeout: 265 seconds]
thatslif_ has left #ruby [#ruby]
cgrieger^away has joined #ruby
Papipo has joined #ruby
SubjectiveBias has quit [Ping timeout: 256 seconds]
shuber_ has quit [Ping timeout: 244 seconds]
tagrudev has joined #ruby
krz has joined #ruby
Papipo has quit [Ping timeout: 256 seconds]
iamninja_ has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
iamninja_ has joined #ruby
byprdct has joined #ruby
tubuliferous has joined #ruby
jtdowney has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
bmurt has quit []
danman has quit [Quit: danman]
tubuliferous_ has joined #ruby
havenwood has joined #ruby
tubuliferous_ has quit [Ping timeout: 240 seconds]
shakes has quit [Quit: Leaving]
lidenskap has joined #ruby
Robert__ has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
oo_ has quit [Ping timeout: 255 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lidenskap has quit [Ping timeout: 250 seconds]
lavros has quit [Ping timeout: 258 seconds]
oo_ has joined #ruby
kenndel_ has quit [Ping timeout: 258 seconds]
krz has quit [Read error: Connection reset by peer]
lavros has joined #ruby
krz has joined #ruby
shock_one has joined #ruby
shock_on_ has joined #ruby
shock_one has quit [Read error: Connection reset by peer]
GaryOak_ has joined #ruby
<weaksauce> Levandia that was in initialize?
<weaksauce> no real point then.
<Levandia> weaksauce, Yea, first line.
<weaksauce> and hash.new is not as readable as {} to me
failshell has joined #ruby
GaryOak_ has quit [Ping timeout: 246 seconds]
swgillespie has joined #ruby
Sawbones has quit [Remote host closed the connection]
polymute has joined #ruby
<Levandia> weaksauce, Are you sure? I'm talking about set.rb
<Levandia> Check it out.
Sawbones has joined #ruby
<weaksauce> link?
<weaksauce> Levandia^
failshell has quit [Ping timeout: 265 seconds]
chinmay_dd has joined #ruby
redhands has quit [Quit: WeeChat 1.1.1]
thatslif_ has joined #ruby
nomadic has quit [Changing host]
nomadic has joined #ruby
Channel6 has quit [Quit: Leaving]
hewenhong has joined #ruby
wlanboy_ has quit [Changing host]
wlanboy_ has joined #ruby
oo_ has quit [Quit: Leaving...]
<Levandia> weaksauce, Your Ruby lib folder..
<Levandia> :P
tyfighter has quit [Quit: tyfighter]
<weaksauce> ha. well I didn't want to search for it if you had a web link
<weaksauce> I can't think of a time where that wouldn't be nil at the start of an initialize method unless it's called later on when copying something?
chinmay_dd has quit [Remote host closed the connection]
<weaksauce> I don't know the esoteric ruby things though Levandia
thatslifeson has joined #ruby
thatslif_ has quit [Ping timeout: 250 seconds]
BlackGear has joined #ruby
BlackGear has quit [Max SendQ exceeded]
tyfighter has joined #ruby
shuber_ has joined #ruby
arup_r has joined #ruby
krz has quit [Ping timeout: 265 seconds]
tubuliferous has quit [Ping timeout: 265 seconds]
krz has joined #ruby
<Levandia> weaksauce, Hmm?
shuber_ has quit [Ping timeout: 272 seconds]
<Levandia> jhass, Here?
lidenskap has joined #ruby
Sawbones has quit []
_blizzy_ has joined #ruby
lidenskap has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Me dun like you no more.]
io_syl_ has quit []
bayed has quit [Quit: Connection closed for inactivity]
chinmay_dd has joined #ruby
SubjectiveBias has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
jayeshsolanki has joined #ruby
jgt has joined #ruby
<havenwood> Levandia: The answer lies in SortedSet.
jgt has quit [Ping timeout: 258 seconds]
parduse is now known as Guest35778
Guest35778 has quit [Ping timeout: 264 seconds]
rtcoms has joined #ruby
pardusf has joined #ruby
rtcoms has quit [Client Quit]
<Levandia> havenwood, Hmm, where?
weemsledeux has joined #ruby
SubjectiveBias has quit [Ping timeout: 258 seconds]
<Levandia> Thanks.
<havenwood> Levandia: It's a bit convoluted, but if rbtree gem is installed when a SortedSet is initialized it'll setup and assign @hash to a RBTree.
crantron has quit []
BlackGear has joined #ruby
imkmf has joined #ruby
<havenwood> @hash = NotAHashAfterAll
BlackGear has quit [Max SendQ exceeded]
Jarboe has quit []
imkmf has quit [Client Quit]
BlackGear has joined #ruby
BlackGear has quit [Max SendQ exceeded]
hardlin3r has joined #ruby
iamninja_ has quit [Ping timeout: 276 seconds]
BlackGear has joined #ruby
BlackGear has quit [Max SendQ exceeded]
serivich has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SouL_|_ has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<weaksauce> interesting and precisely the thing that comments are meant for
BlackGear has joined #ruby
byprdct has quit [Ping timeout: 250 seconds]
babaganousha has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
tyfighter has quit [Quit: tyfighter]
byprdct has joined #ruby
tyfighter has joined #ruby
User458764 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fgo has joined #ruby
f3lp has quit [Ping timeout: 256 seconds]
DEA7TH has joined #ruby
Papipo has joined #ruby
SouL_|__ has joined #ruby
lidenskap has joined #ruby
SouL_|_ has quit [Ping timeout: 245 seconds]
shock_on_ has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
shock_one has joined #ruby
casadei has joined #ruby
fedexo has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby
antgel has joined #ruby
casadei has quit [Ping timeout: 264 seconds]
DerisiveLogic has quit [Ping timeout: 240 seconds]
shock_one has quit [Ping timeout: 272 seconds]
shuber_ has joined #ruby
cgrieger^away has quit [Read error: Connection reset by peer]
konsolebox has quit [Quit: Leaving]
tubuliferous has joined #ruby
thumpba has quit [Remote host closed the connection]
shuber_ has quit [Ping timeout: 256 seconds]
thatslifeson has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 258 seconds]
towski_ has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shock_one has joined #ruby
tyfighter has quit [Quit: tyfighter]
User458764 has quit [Ping timeout: 258 seconds]
tyfighter has joined #ruby
hanmac has quit [Ping timeout: 265 seconds]
User458764 has joined #ruby
TheHodge has joined #ruby
jbomo has quit [Ping timeout: 272 seconds]
HotCoder has joined #ruby
slawrence00 has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Spami has quit [Quit: This computer has gone to sleep]
failshell has joined #ruby
cgrieger^away has joined #ruby
dcarmich has joined #ruby
djbkd_ has joined #ruby
vdamewood has joined #ruby
iteratorP has joined #ruby
BLACK_POWER has joined #ruby
hanmac has joined #ruby
failshell has quit [Ping timeout: 265 seconds]
iterator_ has joined #ruby
ta has joined #ruby
iteratorP has quit [Ping timeout: 256 seconds]
chinmay_dd has quit [Quit: See ya!]
rahult has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
tyfighter has quit [Quit: tyfighter]
BLACK_POWER has quit [Ping timeout: 256 seconds]
serivichi has joined #ruby
serivich has quit [Ping timeout: 272 seconds]
kyb3r_ has joined #ruby
bruno- has joined #ruby
kyb3r_ has quit [Client Quit]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ponga has joined #ruby
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
erikm has left #ruby [#ruby]
Blaguvest has joined #ruby
iamninja_ has joined #ruby
iteratorP has joined #ruby
hololeap has joined #ruby
clauswitt has joined #ruby
shock_one has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
shuber_ has joined #ruby
iterator_ has quit [Ping timeout: 264 seconds]
codecop has joined #ruby
jgt has joined #ruby
antgel has quit [Ping timeout: 256 seconds]
lkba_ has quit [Ping timeout: 256 seconds]
shuber_ has quit [Ping timeout: 276 seconds]
jgt has quit [Ping timeout: 246 seconds]
SubjectiveBias has joined #ruby
nso95 has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/2015041600]]
antgel has joined #ruby
DEA7TH has quit [Ping timeout: 250 seconds]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
ta has quit [Remote host closed the connection]
exadeci has joined #ruby
SubjectiveBias has quit [Ping timeout: 244 seconds]
unshadow has joined #ruby
Cust0sLim3n has quit [Ping timeout: 264 seconds]
bigsky has joined #ruby
nii236 has joined #ruby
timonv has joined #ruby
Jackneill has joined #ruby
bigsky has quit [Read error: Connection reset by peer]
bigsky has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
lxsameer has joined #ruby
<jackcom> ruby is very interesting language
chinmay_dd has joined #ruby
Papipo has quit [Ping timeout: 250 seconds]
<jackcom> ruby come from perl?
<jackcom> ruby come from perl and lisp?
tubuliferous has joined #ruby
CamonZ has joined #ruby
jackcom has left #ruby [#ruby]
tubuliferous has quit [Ping timeout: 255 seconds]
cosmicexplorer has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
ghr has joined #ruby
shock_one has joined #ruby
shuber_ has joined #ruby
nso95 has quit [Ping timeout: 256 seconds]
claptor has joined #ruby
djbkd_ has quit [Remote host closed the connection]
shuber_ has quit [Ping timeout: 258 seconds]
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
<jhass> Levandia: sup?
ohaibbq has quit [Remote host closed the connection]
<Levandia> jhass, Hmm, for some reason this won't work. http://codepad.org/mVBLwDtZ
<jhass> Levandia: please see channel rule 2.7 http://ruby-community.com/pages/user_rules
thatslifeson has joined #ruby
<Levandia> jhass, No one was active.
<Levandia> But okey.
<jhass> my scrollback says otherwise and it doesn't even matter
<jhass> anyway, "doesn't work" is insufficient
shock_one has quit [Ping timeout: 272 seconds]
failshell has joined #ruby
thatslifeson has quit [Ping timeout: 240 seconds]
pardusf has quit []
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> apeiros: https://github.com/kaniini/libguess new thingy to try
failshell has quit [Ping timeout: 265 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
peskypokemon has quit [Ping timeout: 246 seconds]
vmatiyko has joined #ruby
CloCkWeRX has quit [Read error: Connection timed out]
toretore has joined #ruby
rahult has joined #ruby
nii236 has quit [Ping timeout: 264 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TuxOtaku has joined #ruby
CloCkWeRX has joined #ruby
PolymathSound has quit [Ping timeout: 255 seconds]
jottr has joined #ruby
nii236 has joined #ruby
turtil has quit [Ping timeout: 276 seconds]
ghr has quit [Read error: No route to host]
Jishaxe has joined #ruby
Jishaxe has quit [Changing host]
Jishaxe has joined #ruby
Jishaxe has quit [Changing host]
Jishaxe has joined #ruby
ghr has joined #ruby
tubuliferous has joined #ruby
n008f4g_ has joined #ruby
tubuliferous has quit [Ping timeout: 245 seconds]
Stalkr_ has joined #ruby
jgt has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
jgt has quit [Ping timeout: 256 seconds]
mistnim has joined #ruby
crazydiamond has joined #ruby
djellemah_ has quit [Ping timeout: 250 seconds]
Jishaxe has quit [Ping timeout: 246 seconds]
spider-mario has joined #ruby
jgt has joined #ruby
roshanavand has joined #ruby
shuber_ has joined #ruby
<unshadow> >> a = []; a.inspect
<ruboto> unshadow # => "[]" (https://eval.in/366431)
<unshadow> >> a = []; a.class == Array
<ruboto> unshadow # => true (https://eval.in/366432)
<mistnim> toretore: this is for an opengl app, it calculates the time difference between two draw calls, so that it can make camera movements smooth
druznek has joined #ruby
finnnnnnnnnnn has joined #ruby
mistnim has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
mistnim has joined #ruby
iteratorP has quit [Read error: Connection reset by peer]
WhereIsMySpoon_ has left #ruby [#ruby]
shuber_ has quit [Ping timeout: 256 seconds]
SubjectiveBias has joined #ruby
<jhass> apeiros: more or less, he only update the one instance you quoted :P
shock_one has joined #ruby
<jhass> wait, did he actually remove singleton class? oO
<jhass> mh, no, just added a note about singleton_class
roshanavand has quit [Read error: Connection reset by peer]
<apeiros> actually they added something which was unrelated to what I said and attributed it to me…
<jhass> so nope, but didn't work :P
<apeiros> I'm confused
roshanavand has joined #ruby
<apeiros> anyway - breakfast!
<toretore> mistnim: ?
<apeiros> and hurray! my nose is no longer a river :D
<mistnim> toretore: Is it ok the way I do it? Is there a better way?
<toretore> why are you asking me?
<mistnim> toretore: because you asked me, some days ago
shock_one has quit [Ping timeout: 265 seconds]
<mistnim> (you asked me to see the code)
<finnnnnnnnnnn> I have a sinstra app using active record, and I’m trying to save a model in a rake task. I’m getting a forbidden attributes error.
<finnnnnnnnnnn> in rails I normally use permit, but I'm not sure how to do that here.
<toretore> mistnim: well, without any more context, yes it looks ok to me
<finnnnnnnnnnn> If I do @model = Model.new(weather_data.permit!) It makes weather_data and empty hash
veleno has joined #ruby
<shevy> apeiros thanks for letting us know about the state of your nose - what about other body-components of yours though :D
djbkd_ has joined #ruby
<shevy> I don't even know how you can actually be sick, the sun is shining like crazy since weeks!
<jhass> finnnnnnnnnnn: AR 3.x?
<finnnnnnnnnnn> activerecord (4.2.1)
Mon_Ouie has quit [Ping timeout: 252 seconds]
<jhass> what's weather_data.class?
<mistnim> ok toretore thanks
<finnnnnnnnnnn> jhass: Hashie::Mash
<jhass> finnnnnnnnnnn: mh, what happens if you turn it into a regular Hash? (.to_h I assume)
<finnnnnnnnnnn> jhass: ohh, that’s better - ActiveRecord::UnknownAttributeError: unknown attribute 'time' for Model.
<izzol> http://exercism.io - interesting website :-)
<finnnnnnnnnnn> jhass: thanks, I think I can take it from here
<finnnnnnnnnnn> “Hashie is a growing collection of tools that extend Hashes and make them more useful.” - I’d argue that
djbkd_ has quit [Ping timeout: 252 seconds]
noonius has joined #ruby
veleno has quit [Quit: veleno]
sjums has joined #ruby
<sjums> is there a string method in ruby to trim one or more specific chars from the end and start of a string?
<sjums> "a-b-c-".trim('-') should return "a-b-c". So should "--a-b-c" "-a-b-c-" and "a-b-c" etc.
sdothum has joined #ruby
<jhass> finnnnnnnnnnn: you're not alone ;)
<jhass> sjums: yeah I wish .strip would take a parameter
<sjums> chomp takes a parameter, but only take from the end of a string
krz has joined #ruby
<jhass> .gsub(/(^-+|-+$)/, '') is as good as it gets for now I guess (\A, \z for true start/end)
<jhass> oh, don't need the capture group actually
charliesome has quit [Quit: zzz]
<sjums> would the "or" work without the group?
<jhass> >> "-a-b-c--".gsub(/\A-+|-+\z/, '')
<sjums> Well, thanks, I guess that's the best :) I just hoped I missed something :b
<ruboto> jhass # => "a-b-c" (https://eval.in/366433)
Notte has joined #ruby
SubjectiveBias has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 264 seconds]
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
oo_ has joined #ruby
Papipo has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
casadei has joined #ruby
jeromelanteri_ has joined #ruby
jeromelanteri_ has quit [Client Quit]
jeromelanteri_ has joined #ruby
nfk has joined #ruby
RegulationD has quit [Read error: Connection reset by peer]
GriffinHeart has joined #ruby
charliesome has joined #ruby
RegulationD has joined #ruby
charliesome has quit [Client Quit]
exile-bot-2 has joined #ruby
gizless has joined #ruby
exile-bot-2 has quit [Remote host closed the connection]
iasoon has joined #ruby
casadei has quit [Ping timeout: 244 seconds]
exile-bot-2 has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
exile-bot-2 has quit [Remote host closed the connection]
gizmore has quit [Ping timeout: 255 seconds]
exile-bot-2 has joined #ruby
exile-bot-2 has quit [Remote host closed the connection]
exile-bot-2 has joined #ruby
vickleton has joined #ruby
tubuliferous has joined #ruby
chinmay_dd has joined #ruby
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
neworder has joined #ruby
<shevy> shell scripts are so weird
riotjones has joined #ruby
<shevy> yesterday I discovered that /usr/bin/startx is a shell script; it was failing for me because it relied on mcookie.
<neworder> Inisde a class initialize method, is doing self.name= "John' and @name = 'John' the same?
<shevy> mcookie, there was one line here: mcookie=`/usr/bin/` which obviously won't work
<shevy> neworder it depends on what the method called .name= is doing
<shevy> but for default ruby, yeah. @name = 'foo' is faster though
<shevy> whereas if you use the method, you can add additional checks in the method for instance. the self.name= part is necessary because ruby would not otherwise know that you are invoking a method in the first case; you could assign a local variable called name ... name='John'
<neworder> I see, didn't understand this part "depends on what the method called .name= is doing'
Papipo has quit [Remote host closed the connection]
<shevy> well, it is a method yes?
<shevy> in the simplest case it looks like this:
<neworder> yup
<shevy> def name=(i)
<shevy> @name = i
<shevy> end
Papipo has joined #ruby
<shevy> this is what you get via attr_writer :name
chinmay_dd has quit [Remote host closed the connection]
<shevy> but it's a method. you can do more things than that, like call other methods, sanitize the input before accepting it etc...
<shevy> for such a simple case, attr_writer :name should be the easiest way
tubuliferous has quit [Ping timeout: 276 seconds]
riotjones has quit [Ping timeout: 246 seconds]
<neworder> ok thanks
lkba has joined #ruby
lidenskap has quit [Remote host closed the connection]
<neworder> @name = 'foo'
Stalkr_ has quit [Quit: Leaving...]
<neworder> This isn't invoking any method right?
<neworder> as opposed to self.name='foo'
<neworder> which is invoking the name= method
<neworder> Just to confirm that I understood correctly :P
slawrence00 has joined #ruby
<apeiros> neworder: correct
<neworder> =)
<apeiros> and the name= method may do anything. it might even do something else than @name = value
jenrzzz has joined #ruby
el3k0n has joined #ruby
<neworder> apeiros I see. @name = value This is what attr_writer :name does right?
<neworder> So does that mean I can overwrite it
<apeiros> neworder: correct. and attr_accessor.
<apeiros> yes. or define it yourself.
<neworder> ok thanks
axsuul has quit [Ping timeout: 264 seconds]
jayeshsolanki has quit [Ping timeout: 244 seconds]
thatslifeson has joined #ruby
GaryOak_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<neworder> I asked a question here on Code Review
<neworder> Any tips for the code I wrote? I wrote Bubble sort just for practice as it's indexes can be slightly tricky
<neworder> The nested for loops don't look as neat as Python's due to the end statements
<neworder> *The nested for loops in Ruby don't look as neat as Python's due to the end statements
<shevy> in ruby you rarely need for loops
jayeshsolanki has joined #ruby
failshell has joined #ruby
<neworder> hmm
<neworder> I see
<neworder> I used 0.upto(n)
<neworder> in the code
<shevy> the "end" statements are unfortunately an example where python code would be shorter
<neworder> This is the preferred style right
thatslifeson has quit [Ping timeout: 258 seconds]
<shevy> since they can omit it through indentation
<shevy> dunno
wjlroe has joined #ruby
parduse has joined #ruby
<shevy> it's hard to define a preferred style in ruby :)
<jhass> neworder: you could make the if a modifier-if, but not sure that would increase clarity
GaryOak_ has quit [Ping timeout: 255 seconds]
<neworder> haha okay
<jhass> just decrease nesting
shuber_ has joined #ruby
<neworder> !modified-if
<neworder> oops
Papipo has quit []
<neworder> What's modifier if
<jhass> but seems fine to me, you'll get used to the ends :P
<jhass> >> "this is" if true
<ruboto> jhass # => "this is" (https://eval.in/366434)
<shevy> you could try to replace do/end with {}
<neworder> haha okay
<shevy> but you can't get rid of the terminating end-like statements ultimately :(
noonius has quit [Quit: noonius]
<neworder> Haha I see
<shevy> btw your comparison is not entirely fair :P
<neworder> I really miss my brackets!!
<shevy> you use puts in ruby code, but not in the python code
<neworder> Is it okay to use brackets instead of do and end?
<jhass> neworder: you could omit the |i| since you don't actually need it
<shevy> neworder for most purposes yes; they have a slightly different precedence though
<jhass> there are two main schools about that
nii236 has quit [Ping timeout: 276 seconds]
<shevy> that's why in DSL, you often see do/end rather than {}
<jhass> 1) use do / end for multiline and { / } for inline blocks
<shevy> for instance in sinatra
<Levandia> Sry I'm back
<shevy> get '/' do
<Levandia> Here is the code and the error.
<jhass> 2) use do / end for side effects and { / } for when you care about the return value
<shevy> 'Hello world!'
<shevy> end
<shevy> you could not do this:
<shevy> get '/' {
<shevy> 'Hello world!'
<shevy> }
failshell has quit [Ping timeout: 265 seconds]
<jhass> Levandia: that means @authors is never initialized
lkba_ has joined #ruby
shuber_ has quit [Ping timeout: 240 seconds]
<Levandia> jhass, Should I do something like, @authors ||= '' above the join line?
<jhass> depends on your usecase
parduse has quit []
<Levandia> My use case is the code I sent..
<neworder> ok thanks
turtil has joined #ruby
<jhass> you might want to keep @authors as an array and only join it for presentation
<jhass> in any case, you most likely want to initialize it in your initialize method
lkba has quit [Ping timeout: 256 seconds]
<Levandia> With what value?
KayJ has joined #ruby
<jhass> you don't show how you use that, so I can't give a clear recommendation whether you should stay with your stringing together or switch to maintaining it as an array
KayJ has quit [Client Quit]
<jhass> so the answer is whatever allows you to concatenate more values to it
hewenhong has quit [Remote host closed the connection]
krz has quit [Ping timeout: 258 seconds]
parduse has joined #ruby
SpicyMagpie has joined #ruby
baguzzzaji has joined #ruby
<Levandia> jhass, Maybe something like this is better, http://codepad.org/SG5QnYrX
<Levandia> jhass, It's for learning purpose.
<jhass> I guess, having it as a string is still smelly to me here though
<jhass> def authors; @authors.join(' '); end seems more flexible
<jhass> and then @authors = []; and @authors.concat names
<Levandia> It's from Eloquent Ruby book.
<jhass> literally? that's sad
<Levandia> Sad?
<jhass> yeah
<Levandia> I don't think so.
<Levandia> It also states that many people don't use Ruby as it should be used.
claptor has quit [Quit: this channel is bakas]
<SpicyMagpie> what are you trying to do?
<jhass> += over << for an internal string, "#{}" around something that returns a string, no initialization of a variable
affenhoden has joined #ruby
<jhass> quite sad example to come literally from a book
<Levandia> jhass, Read the comment, # Most of the class omitted...
<jhass> that, if at all, only invalidates my last point
el3k0n has quit [Ping timeout: 264 seconds]
roshanavand has quit [Quit: Konversation terminated!]
<SpicyMagpie> that example doesn't make sense to me, what book are you using?
<jhass> and maintaining a list of thing as string internally is not a good example either
parduse has quit []
<jhass> *of things
<Levandia> jhass, "Once it has the array of author’s names, add_authors uses the array method join to combine the elements into a single space-delimited string, which it then appends onto @author."
<jhass> I know what it does
<Levandia> spicymagpie, The greatest book.
chinmay_dd has joined #ruby
<SpicyMagpie> which one?
<Levandia> jhass, Yes just saying that he states that, so it might just be an example.
<Levandia> spicymagpie, Eloquent Rubyl
<Levandia> Ruby*
noonius has joined #ruby
<jhass> it's in a book, of course it's an example
<jhass> I'm saying it's probably not a good one
<SpicyMagpie> indeed it's not a good one.
<Levandia> spicymagpie, Eloquent Ruby is not a good one? You are funny.
<Levandia> jhass, Probably.
<jhass> I never read it, but if all examples are like that...
<SpicyMagpie> Levandia: the example isn't.
<SpicyMagpie> lists of things are either arrays or hashes; if you have a list of names, it's an array.
<jhass> eh, maybe not call a map a list ;)
<jhass> even though hash is ordered in ruby
<Levandia> A map is a linked list
<jhass> no
<Levandia> Yes.
<Levandia> And don't argue that because that's what I study :)
<jhass> a map is often implemented as a an array of linked lists
mandarinkin has joined #ruby
<Levandia> Array? No, you are wrong here.
<SpicyMagpie> a map is an array of linked lists
<jhass> *often implemented as!
<jhass> that's a detail, not relevant when looking at the abstract datatype
<SpicyMagpie> well, are strings enumerable?
spider-mario has quit [Ping timeout: 264 seconds]
<jhass> one could say strings are a list of codepoints
<neworder> I saw this frequently
<neworder> %w(a b c)
<shevy> simpler way to create array
<neworder> What's the %w
<shevy> ['a','b','c']
<shevy> which one do you prefer
<jhass> neworder: a percent literal
<shevy> I think the w is from perl qw "quoted words"
<apeiros> I prefer %w[] over %w()
<shevy> I never got far with perl :(
<neworder> ok thanks
nii236 has joined #ruby
mistnim has quit [Ping timeout: 256 seconds]
serivich has joined #ruby
al2o3-cr has quit [Ping timeout: 245 seconds]
alexherbo2 has joined #ruby
serivichi has quit [Ping timeout: 244 seconds]
al2o3-cr has joined #ruby
Papierkorb has joined #ruby
Levandia has quit [Ping timeout: 244 seconds]
jottr has quit [Quit: WeeChat 1.1.1]
_blizzy_ has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
<shevy> we should yield in some statistics
baguzzzaji has quit [Ping timeout: 264 seconds]
<shevy> which variant for %w is the most common ... () [] {} __ or ' '
<apeiros> I'd love to say []. but I think ()
tkuchiki has joined #ruby
<shevy> \o/
<shevy> as long as we can isolate those hanmac-style ' ' users
<shevy> hmm wait
c_nick1 has joined #ruby
<shevy> >> %w_ abc def ghi _
<ruboto> shevy # => ["abc", "def", "ghi"] (https://eval.in/366438)
<shevy> >> %w~ abc def ghi ~
<ruboto> shevy # => ["abc", "def", "ghi"] (https://eval.in/366439)
<shevy> I can't get the ' ' to work... do I misremember that? space could not be used as delimiter?
<shevy> neworder please never use ~
Levandia has joined #ruby
dorei has joined #ruby
roshanavand has joined #ruby
affenhoden has quit [Quit: leaving]
oo_ has quit [Remote host closed the connection]
redlegion has quit [Ping timeout: 256 seconds]
banister has joined #ruby
davedev24_ has joined #ruby
c_nick1 has left #ruby [#ruby]
c_nick has joined #ruby
<c_nick> How to go Polymorphism in ruby.. i am defining two function def loadLibrary and def loadLibrary(param) but it keeps telling me expecting 1 out of 0 args
<apeiros> c_nick: you can't.
<apeiros> you have to do the logic in a single load_library method
<apeiros> e.g. by using default values, or *vararg
<apeiros> or by defining differently named methods, of course.
hololeap has quit [Ping timeout: 256 seconds]
<apeiros> c_nick: also note that loadLibrary is against ruby conventions. we use snake_case for method names.
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
charliesome has quit [Quit: zzz]
<shevy> c_nick you come from C++?
charliesome has joined #ruby
nii236 has quit [Ping timeout: 250 seconds]
GriffinHeart has quit []
<jhass> you're a stalker
ChoiKyuSang has quit [Quit: AdiIRC is updating to v1.9.7 Beta Build (2015/05/16)32 Bit]
Hounddog has joined #ruby
bahar has quit [Ping timeout: 250 seconds]
ChoiKyuSang has joined #ruby
affenhoden has joined #ruby
affenhoden has quit [Client Quit]
<shevy> I stalk only few people
thatslifeson has joined #ruby
<shevy> look at the stalkers on twitter!
affenhoden has joined #ruby
<jhass> yes, else you would be called intelligence agency
Hounddog has quit [Ping timeout: 256 seconds]
noonius has quit [Quit: noonius]
Hounddog has joined #ruby
axsuul has joined #ruby
<shevy> that is propaganda
druznek has quit [Ping timeout: 244 seconds]
<shevy> I do not think they are an intelligent agency
<Levandia> This dc..
thatslifeson has quit [Ping timeout: 240 seconds]
<Levandia> jhass, Didn't you like the example because it returns it as a string?
bahar has joined #ruby
hewenhong has joined #ruby
<jhass> Levandia: no, because it maintains a list of things (that are not codepoints but a list of strings) as a string instead of an array
shuber_ has joined #ruby
pico-pete has joined #ruby
spider-mario has joined #ruby
<Levandia> jhass, Yea that. Well, I don't see why you think it's bad. You want to add a new author and return the existing ones.
baguzzzaji has joined #ruby
f3lp has joined #ruby
<SpicyMagpie> Levandia: that example teaches you how to use splatting, not how to maintain a list of things.
<SpicyMagpie> have the book here.
<Levandia> Yea, that's the point.
OrbitalKitten has joined #ruby
<Levandia> But he still returns a string.
<SpicyMagpie> well, it shouldn't
vmatiyko has quit [Ping timeout: 272 seconds]
<apeiros> wait… I only followed this discussion partially - are you saying eloquent ruby has `@author = "#{names.join(' ')}"` in it?
<Levandia> Yea.
<SpicyMagpie> yes
noonius has joined #ruby
<apeiros> :-O
<apeiros> :<
<apeiros> :'(
baguzzzaji has quit [Client Quit]
<toretore> how... eloquent
<apeiros> was that me going through the 3 phases in real quick succession?
DynamicMetaFlow has quit [Ping timeout: 264 seconds]
<SpicyMagpie> I thought it was 5 phases.
<toretore> surprise, anger, sadnedd?
<toretore> ss
<apeiros> spicymagpie: I'm not a puny human who needs 5 phases ;-)
vmatiyko has joined #ruby
<apeiros> also I'll never go into the acceptance phase! ever!
<adaedra> too bad for waiting PRs
<apeiros> jhass: well, I guess we have now one major source for those ugly and unnecessary "#{string}" constructs
<neworder> Is it normal to dislike Ruby's syntax compared to Python's syntax?
<SpicyMagpie> you should consider learning continuous integration then :B
axsuul has quit [Ping timeout: 264 seconds]
<adaedra> neworder: everyone has different tastes.
<neworder> I tried to hide it but I couldn't hide it anymore, Lol
<apeiros> neworder: it is normal to dislike new syntax over known syntax
<Levandia> neworder, No.
<jhass> apeiros: not sure, I think Levandia played around with it and the original is " #{x} "
<adaedra> People do "#{string}"?
shuber_ has quit [Ping timeout: 264 seconds]
<jhass> adaedra: yeah
<apeiros> neworder: also it is normal that some people have different precedences
shock_one has joined #ruby
<adaedra> wow
<adaedra> sorry
Leef_ has joined #ruby
<jhass> frequent newbie pattern in fact
<neworder> precedences?
<apeiros> adaedra: I'm only waiting to see "#{"foo"}" happen
<Levandia> jhass, What do you mean?
<apeiros> neworder: errr, *preferences
<adaedra> apeiros: you cut me, I was going to test to do the joke.
<neworder> haha
<SpicyMagpie> neworder: I come from Java, PHP and C. Ruby syntax is a bliss for me. but it all is a matter of taste.
<neworder> Levandia: It's normal!! =)
<waxjar> is it not an example of how not to join an array? :p
<jhass> Levandia: "#{expr}" -> expr.to_s, "#{string}" -> string
<adaedra> join an array? with "#{}"?
<adaedra> does not compute
SubjectiveBias has joined #ruby
noonius has quit [Client Quit]
<apeiros> Levandia: regarding your question of "why is it bad to store the list in a string" - write a remove_method.
<apeiros> err, remove_author method
el3k0n has joined #ruby
<waxjar> adaedra: the original example was "#{whatever.join(' ')}"
<adaedra> ._.
<neworder> spicymagpie: Me too! For some reason, I prefer Python to Ruby syntax
<Levandia> apeiros, For that, then yea it's bad. But this example only returns the current authors.
<adaedra> I can't take this
<shevy> adaedra have some good french food!
<neworder> I tried writing some bubble sort code and didn't really like how it turned out
<Levandia> neworder, If there is one language that has elegant syntax, it's Ruby :)
<neworder> Lol
<neworder> hehe
<adaedra> shevy: at 14:20, it's a bit late.
<apeiros> Levandia: that's when presentation vs. value becomes apparent
<Levandia> jhass, "#{expr}" -> expr.to_s, "#{string}" -> string hmm?
dented42 has joined #ruby
<apeiros> Levandia: you'll stumble over that pattern in many other places too. where presentation is the last step and should remain separate. or otherwise stuff becomes really complex.
noonius has joined #ruby
<jhass> Levandia: -> = "better written as"
<apeiros> re `"#{expr}" -> expr.to_s`. assume expr := `:foo`. then instead of "#{:foo}", you'd better write :foo.to_s
xxneolithicxx has quit [Ping timeout: 255 seconds]
shock_one has quit [Ping timeout: 255 seconds]
<apeiros> (well, :foo.to_s would of course best be written as "foo")
<adaedra> how much time before people print with system("echo #{string}")
<shevy> I use `` !
<apeiros> adaedra: why'd you use that over a syscall?!?
<Levandia> apeiros, And it's true that to_s calls the initializer from String, ye?
<Levandia> In other words, creating a new object.
noonius has quit [Client Quit]
<apeiros> depends on the to_s in question
<apeiros> but usually it'll return a new string, yes
<Levandia> What does it depend on?
<apeiros> on the implementation of the to_s, of course
<apeiros> it's an ordinary method
<Levandia> example?
<toretore> def to_s; 5; end
<apeiros> class Foo; def initialize; @str = "foo"; end; def to_s; @str; end; end
noonius has joined #ruby
<apeiros> this to_s does not create a new string. it returns an existing string.
<apeiros> IMO a bad idea. but it's possible.
<shevy> adaedra lol that pic
<shevy> you can't use such a mascot though
<shevy> people don't believe it to be the ultimate evil
<shevy> it's not scary at all
turtil has quit [Ping timeout: 256 seconds]
Notte has quit [Remote host closed the connection]
jayeshsolanki has quit [Quit: bye!]
bigsky has quit [Ping timeout: 272 seconds]
scottymeuk is now known as Scottymeuk
Scottymeuk is now known as scottymeuk
sevenseacat has joined #ruby
<apeiros> Levandia: btw., you do realize that in "#{non_string_expr}", the conversion to string in #{} happens through calling to_s on non_string_expr anyway?
<Levandia> apeiros, Well, how else would the conversion happen?
<toretore> i thought #{} was a bit more involved than that?
<apeiros> toretore: nope
<apeiros> #{foo} basically is foo.instance_of?(String) ? foo : foo.to_s
<toretore> what if to_s doesn't return a string?
<apeiros> actually not sure about that instance_of?. might be kind_of?.
<apeiros> try it? :)
<toretore> class Foo; def to_s; 5; end; end; "#{Foo.new}"
<toretore> >> class Foo; def to_s; 5; end; end; "#{Foo.new}"
<ruboto> toretore # => "#<Foo:0x41d93f8c>" (https://eval.in/366467)
<toretore> >> class Foo; def to_s; 5; end; def inspect; 5; end; end; "#{Foo.new}"
<ruboto> toretore # => "#<Foo:0x41d67ec8>" (https://eval.in/366468)
<c_nick> shevy: C
<adaedra> magic
<apeiros> ok, so it has an additional branch testing the result of to_s, and using Object#to_s' code instead if no string is returned
<c_nick> apeiros: Opps. yes snake case
<toretore> >> class Foo; def to_s; 5; end; def inspect; 5; end; def to_str; 5; end; end; "#{Foo.new}"
<ruboto> toretore # => "#<Foo:0x42377e6c>" (https://eval.in/366469)
weemsledeux has joined #ruby
<toretore> >> "#{[1,2,3,4]}"
<ruboto> toretore # => "[1, 2, 3, 4]" (https://eval.in/366470)
<toretore> >> [1,2,3,4].to_s
<ruboto> toretore # => "[1, 2, 3, 4]" (https://eval.in/366471)
<Levandia> Maybe the try_convert
tubuliferous has joined #ruby
<Levandia> String.try_convert('ddd')
stoffus has joined #ruby
SubjectiveBias has quit [Ping timeout: 250 seconds]
<Levandia> >> String.try_convert(/nope/)
<ruboto> Levandia # => nil (https://eval.in/366472)
<apeiros> no, it's not using try_convert
<c_nick> Win32API.new('kernel32','LoadLibrary','P','L').call("user33.dll") doesnt seem to throw up an error
<Levandia> c_nick, Win32 API don't throw errors.
<Levandia> c_nick, Sry, nvm
jenrzzz has quit [Ping timeout: 264 seconds]
FaresKAlaboud has left #ruby [#ruby]
<apeiros> Levandia: yes?
<Levandia> apeiros, It's the other way around I guess?
<Levandia> try_convert calls to_s
<apeiros> anything specific in the ~120 methods in that documentation?
<apeiros> Levandia: no
konsolebox has joined #ruby
<apeiros> try_convert calls to_str
<apeiros> and try_convert is unrelated to #{}
<Levandia> Huh? Read what I said.
<apeiros> 14:39 Levandia: try_convert calls to_s
<apeiros> I did. and that's wrong.
tubuliferous has quit [Ping timeout: 265 seconds]
<apeiros> so what else should I read what you said?
<apeiros> to_s != to_str. just in case.
<Levandia> to_str, "Returns the receiver."
<Levandia> What does that even mean?
<apeiros> it returns self
claw has quit [Ping timeout: 255 seconds]
<Levandia> I see.
<apeiros> receiver.method(argument) { …block… }
<apeiros> that's the naming of things
<apeiros> the receiver is what you call the method on.
roshanavand has quit [Quit: Konversation terminated!]
<apeiros> note: String#to_str saying "returns the receiver" does not imply that other classes' to_str return the receiver.
el3k0n has quit [Quit: Sto andando via]
roshanavand has joined #ruby
<toretore> that'd be quite useless
<apeiros> sure. but I've seen confusion wrt that before. "why does a.foo not do the same as b.foo? it's the same method!" (well, no, it's only the same method name)
AlphaAtom has joined #ruby
doodlehaus has joined #ruby
<adaedra> OOP is hard
[k- has joined #ruby
iamninja_ has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby
AlphaAtom has quit [Client Quit]
<c_nick> Levandia: I need to load a Dll at the start how will i know its been loaded properly or not ?
AlphaAtom has joined #ruby
<Levandia> c_nick, If you do it in C, I can help you. I don't know much how you do it in Ruby.
wjlroe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lidenskap has joined #ruby
reset has joined #ruby
simpyll has joined #ruby
oo_ has joined #ruby
doodlehaus has quit [Remote host closed the connection]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DynamicMetaFlow has joined #ruby
<Levandia> Is there any sort of standard or manual for Ruby as there is for C? Where you can look up such stuff more in-depth?
<apeiros> there's a manual for C?
<apeiros> there's an ISO standard for ruby. but I think that covers ruby 1.8
<shevy> awww
<shevy> we are so quickly getting outdated
shock_one has joined #ruby
<Levandia> apeiros, Standard.
lidenskap has quit [Ping timeout: 244 seconds]
<Levandia> So there isn't something similar for Ruby_
<Levandia> ?
<apeiros> "there's an iso standard" - "so there is no standard"
<apeiros> sometimes I'm not sure whether people are capable of reading…
affenhoden has quit [Quit: leaving]
<sevenseacat> lol
<Levandia> apeiros, You asked if there was a manual for C, I said standard.
<apeiros> aha
<apeiros> is that the one which has all those "undefined behavior" in it? :)
<Levandia> It's the law book of the language, so of course.
<Levandia> And UB is good :)
<apeiros> I have a different opinion. but I guess it's both the wrong place and pointless to argue about that ;-)
<Levandia> If you are an experienced C developer, you like UB so yea :)
<apeiros> you know about stockholm syndrome, yes?
<apeiros> I'm an experienced user of C programs, so I don't like UB :-p
<Levandia> No idea, I'm just doing my PhD in Sthml, Sweden.
<Levandia> You don't understand UB :)
yaw has joined #ruby
yaw has left #ruby [#ruby]
<sevenseacat> o.O
<apeiros> you don't know what I understand or don't understand
umgrosscol has joined #ruby
<Levandia> I pretty much do from what you claim.
<apeiros> you overestimate your abilities
<apeiros> also all those ad-hominem is undesired in this channel. so stop it.
<sevenseacat> please do :)
ndrei has joined #ruby
<Levandia> apeiros, I know my abilities very well :)
<sevenseacat> sigh
<sevenseacat> Levandia: please stop.
<neworder> I wanna learn some hacking (for fun)
<neworder> Where to I start
<neworder> Where do I start*
vdamewood has quit [Quit: Life beckons.]
<neworder> (using Ruby)
<jhass> neworder: start by defining hacking. My definition includes most regular (for fun) programming
<neworder> oh no, not that one
<apeiros> neworder: I started with something I needed. that worked out well for me.
<jhass> or using anything in unintended ways actually
<neworder> Intruding into other machines
<neworder> government systems
<sevenseacat> yeah no.
<Levandia> :p
<neworder> Not even sure if that's possible
<apeiros> oh, you mean hacking as in cracking, not as in writing code. I see.
<jhass> neworder: join #metasploit (it's written in Ruby) and never mention that you did here again
<Levandia> neworder, It is possible
<jhass> to not further discredit yourself
<neworder> hahaha
<neworder> ok
<neworder> I saw this book and was finding something for Ruby
<Levandia> That is not what you think it is.
<neworder> oh okk
noonius has quit [Quit: noonius]
shuber_ has joined #ruby
twistedpixels is now known as zz_twistedpixels
<c_nick> @proto = [import].join.tr("VPpNnLlIi", "0SSI").sub(/^(.)0*$/, '\1')
<c_nick> whats the .tr?
shuber_ has quit [Ping timeout: 244 seconds]
<jhass> a method on String, look it up
<apeiros> c_nick: use `ri String#tr`
<apeiros> it works like the command line tool `tr`. though, you're on windows, so I guess `man tr` is not an option?
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
<c_nick> oh string replacer
finnnnnnnnnnn has joined #ruby
kirun has joined #ruby
parduse has joined #ruby
Rollabunna has quit [Quit: Leaving...]
<Levandia> What other books would you like to recommend on Ruby? Mostly aiming to get into Rails tho.
Feyn has quit [Quit: Leaving]
bigsky has joined #ruby
yaw has joined #ruby
Notte has joined #ruby
yaw has left #ruby [#ruby]
oo_ has quit [Ping timeout: 256 seconds]
jeromelanteri_ has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ndrei has quit [Ping timeout: 265 seconds]
codecop has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 265 seconds]
tubuliferous has joined #ruby
asmodlol has joined #ruby
noonius has joined #ruby
zz_twistedpixels is now known as twistedpixels
casadei has joined #ruby
SubjectiveBias has joined #ruby
noonius has quit [Client Quit]
tubuliferous has quit [Ping timeout: 240 seconds]
noonius has joined #ruby
subtwo has joined #ruby
reset has quit [Quit: Linkinus - http://linkinus.com]
umgrosscol has quit [Quit: Quit]
noonius has quit [Client Quit]
alexherbo2 has quit [Quit: WeeChat 1.1.1]
paulyasi has joined #ruby
javiercito has joined #ruby
parduse has quit [Ping timeout: 252 seconds]
_blizzy_ has joined #ruby
parduse has joined #ruby
_havenn has joined #ruby
asmodlol has quit [Ping timeout: 265 seconds]
havenwood has quit [Ping timeout: 256 seconds]
casadei has quit [Remote host closed the connection]
noonius has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
asmodlol has joined #ruby
paulyasi has quit [Remote host closed the connection]
paulyasi has joined #ruby
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
krz has joined #ruby
SubjectiveBias has quit [Ping timeout: 264 seconds]
thatslifeson has joined #ruby
Stalkr_ has joined #ruby
javiercito has quit []
failshell has joined #ruby
Xoro has quit [Ping timeout: 255 seconds]
thatslifeson has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
failshell has quit [Ping timeout: 264 seconds]
Pupeno has joined #ruby
sinkensabe has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 244 seconds]
parduse has quit [Ping timeout: 245 seconds]
bmurt has joined #ruby
dented42 has quit [Ping timeout: 244 seconds]
asmodlol has joined #ruby
parduse has joined #ruby
<shevy> Levandia pickaxe was ok
<shevy> but ultimately, the best way to learn ruby is to write as much ruby code as possible
dented42 has joined #ruby
oo_ has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bayed has joined #ruby
shuber_ has joined #ruby
jenrzzz has joined #ruby
parduse has quit [Ping timeout: 264 seconds]
unshadow has quit [Quit: leaving]
OrbitalKitten has joined #ruby
parduse has joined #ruby
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
shuber_ has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
zzxc has joined #ruby
lxsameer has quit [Quit: Leaving]
OrbitalKitten has quit [Client Quit]
Pupeno has quit [Remote host closed the connection]
parduse is now known as Guest58874
Guest58874 has quit [Ping timeout: 244 seconds]
SouL_|__ has quit [Read error: Connection reset by peer]
tubuliferous has joined #ruby
Spleeze has quit [Ping timeout: 250 seconds]
Xoro has joined #ruby
<HotCoder> question. is ruby better to learn on a linux machine?
<sevenseacat> better than?
<HotCoder> windows and mac os
<sevenseacat> better than windows, most definitely
<HotCoder> let say, for example
<sevenseacat> same same as osx
<HotCoder> ah okay
<HotCoder> im getting a rasp pi shipped
<HotCoder> gonna run linux on there and learn ruby on there
<sevenseacat> uh okay
<HotCoder> is that a reasonable thing to do?
<sevenseacat> i dont know why you would do that
<adaedra> you can learn ruby everywhere
<HotCoder> sevenseacat, is there an issue with the setup?
<HotCoder> adaedra, well i also want to learn linux at the same time
<sevenseacat> i just dont know why you would do that over getting a real pc, or just a virtual machine
aryaching has joined #ruby
<HotCoder> sevenseacat, rasp pi cheap
<adaedra> HotCoder: why not just a VM ?
icebourg has joined #ruby
<sevenseacat> yeah theres a reason why its cheap
<HotCoder> adaedra, well rasp pi seems like a cool gadget to have and use
<adaedra> A rpi is interesting, but comes with a few limits
shock_one has quit [Remote host closed the connection]
<HotCoder> i just wanted to know if there is a problem with the set up
<HotCoder> adaedra, like
<adaedra> depends on the distribution you'll put on it
shock_one has joined #ruby
<sevenseacat> personally i'd just use whatever you have now
charliesome has quit [Ping timeout: 265 seconds]
<adaedra> well, it's much less powerful than a real PC, and the platform is newly supported by distributions so is less good than i386
<sevenseacat> without worrying about mucking with the extra hardware
tubuliferous has quit [Ping timeout: 256 seconds]
<adaedra> if you want to test Linux without risks and in the best condition, VM is the best choice IMO
icebourg has quit [Client Quit]
<sevenseacat> agreed
<adaedra> and free with VirtualBox or VMware Player
charliesome has joined #ruby
bluOxigen has joined #ruby
druznek has joined #ruby
TheNet has joined #ruby
shock_one has quit [Ping timeout: 264 seconds]
simpyll has quit [Ping timeout: 240 seconds]
TheNet has quit [Client Quit]
OrbitalKitten has joined #ruby
tagrudev has quit [Remote host closed the connection]
banister has quit [Ping timeout: 256 seconds]
polymute has quit [Ping timeout: 265 seconds]
SouL_|_ has joined #ruby
aspiers has quit [Ping timeout: 258 seconds]
shock_one has joined #ruby
mandarinkins has joined #ruby
OrbitalKitten has quit [Client Quit]
jack_rabbit has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 252 seconds]
bluOxigen has left #ruby [#ruby]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
Jarboe has joined #ruby
mandarinkin has quit [Ping timeout: 272 seconds]
Igorshp has joined #ruby
mandarinkins has quit [Ping timeout: 255 seconds]
lidenskap has joined #ruby
tubuliferous has joined #ruby
lidenskap has quit [Ping timeout: 246 seconds]
Pathfinder has joined #ruby
DLSteve has joined #ruby
Levandia has quit [Remote host closed the connection]
sinkensabe has joined #ruby
jaffachief has joined #ruby
sinkensabe has quit [Remote host closed the connection]
mengu has joined #ruby
j0n3 has joined #ruby
mandarinkin has joined #ruby
Ropeney has joined #ruby
zzing has joined #ruby
Soda has joined #ruby
Igorshp has quit [Remote host closed the connection]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
slawrence00 has joined #ruby
druznek has quit [Ping timeout: 240 seconds]
paulyasi has quit [Remote host closed the connection]
subtwo has quit [Quit: (null)]
weaksauce has quit [Ping timeout: 256 seconds]
druznek has joined #ruby
paulyasi has joined #ruby
scripore has joined #ruby
Rollabunna has joined #ruby
paulyasi has quit [Client Quit]
bmurt has quit []
tejasmanohar has joined #ruby
emilkarl has joined #ruby
noonius has quit [Quit: noonius]
shuber_ has joined #ruby
DexterLB has quit [Read error: Connection reset by peer]
serivich has quit [Ping timeout: 258 seconds]
shuber_ has quit [Ping timeout: 272 seconds]
bluOxigen has joined #ruby
DexterLB has joined #ruby
kosmos-12345 has joined #ruby
nii236 has joined #ruby
ndrei has joined #ruby
kosmos-12345 has left #ruby [#ruby]
banister has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
parduse has joined #ruby
neworder has quit [Remote host closed the connection]
roshanavand has quit [Quit: Konversation terminated!]
nii236 has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
TheNet has joined #ruby
aspiers has joined #ruby
jbomo has joined #ruby
jbomo has quit [Client Quit]
CloCkWeRX has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Me dun like you no more.]
anaeem1 has joined #ruby
Joffily has joined #ruby
_havenn is now known as havenwood
BLACK_POWER has joined #ruby
parduse is now known as Guest53945
Guest53945 has quit [Ping timeout: 252 seconds]
riotjones has joined #ruby
pardusf has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
kosmos-rau has joined #ruby
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
hewenhong has quit [Remote host closed the connection]
riotjones has joined #ruby
druznek has quit [Quit: Leaving]
sohrab has joined #ruby
hewenhong has joined #ruby
SubjectiveBias has joined #ruby
kosmos-rau has quit [Quit: Disconnecting]
paulyasi has joined #ruby
mengu has quit []
vickleton has quit [Quit: Ex-Chat]
vickleton has joined #ruby
oo_ has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 250 seconds]
sinkensabe has joined #ruby
paulyasi has quit [Client Quit]
tubuliferous has quit [Ping timeout: 258 seconds]
thatslifeson has joined #ruby
ValicekB has quit [Read error: No route to host]
bahar has quit [Ping timeout: 252 seconds]
lidenskap has joined #ruby
sinkensabe has quit [Remote host closed the connection]
BLACK_POWER has quit [K-Lined]
Notte has quit [Remote host closed the connection]
<havenwood> Ruby Trivia: What magazine's publication time is Matz' development cycle based upon?
failshell has joined #ruby
hewenhong has quit [Remote host closed the connection]
thatslifeson has quit [Ping timeout: 256 seconds]
vickleton has quit [Ping timeout: 272 seconds]
hewenhong has joined #ruby
lidenskap has quit [Ping timeout: 256 seconds]
vickleton has joined #ruby
Volsus has joined #ruby
rdark has joined #ruby
duggiefresh has joined #ruby
bahar has joined #ruby
ValicekB_ has joined #ruby
failshell has quit [Ping timeout: 272 seconds]
hewenhong has quit [Ping timeout: 264 seconds]
ValicekB_ is now known as ValicekB
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
CamonZ has quit [Ping timeout: 250 seconds]
SubjectiveBias has quit [Ping timeout: 258 seconds]
<havenwood> Answer: Nikkei Linux (http://itpro.nikkeibp.co.jp/linux/): "...my development is paced by magazine articles on Nikkei Linux Magazine (Japanese)." ~Matz
pardusf has quit []
sohrab has quit [Ping timeout: 272 seconds]
ValicekB has quit [Read error: No route to host]
sohrab has joined #ruby
cosmicexplorer has quit [Remote host closed the connection]
HotCoder has quit [Ping timeout: 250 seconds]
cosmicexplorer has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheNet has joined #ruby
ghr has joined #ruby
CustosLimen has joined #ruby
ghr has quit [Read error: Connection reset by peer]
ValicekB has joined #ruby
Cache_Money has joined #ruby
User458764 has joined #ruby
SouL_|_ has quit [Read error: Connection reset by peer]
_blizzy_ has quit [Ping timeout: 265 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
ChoiKyuSang has joined #ruby
hectortrope has joined #ruby
tubuliferous has joined #ruby
bb010g has joined #ruby
hectortrope has quit [Client Quit]
nullset68 has joined #ruby
sohrab has quit [Ping timeout: 276 seconds]
shuber_ has joined #ruby
hectortrope has joined #ruby
axl_ has joined #ruby
hectortrope has quit [Changing host]
hectortrope has joined #ruby
sohrab has joined #ruby
lkba_ has quit [Read error: Connection reset by peer]
tubuliferous has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
tejasmanohar has quit [Quit: WeeChat 1.1.1]
shuber_ has quit [Ping timeout: 240 seconds]
Zimsky_ has quit [Ping timeout: 276 seconds]
Zimsky_ has joined #ruby
SouL_|_ has joined #ruby
unshadow has joined #ruby
idafyaid has joined #ruby
antgel has quit [Ping timeout: 265 seconds]
xxneolithicxx has joined #ruby
thatslifeson has joined #ruby
nullset68 has quit [Quit: WeeChat 0.4.2]
Narzew has joined #ruby
tubuliferous has joined #ruby
amclain has joined #ruby
Igorshp has joined #ruby
<havenwood> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
DerisiveLogic has joined #ruby
asmodlol has quit [Ping timeout: 255 seconds]
<havenwood> Waiting for the gem to be: Rails
Igorshp has quit [Remote host closed the connection]
<havenwood> DeBot: rails
<DeBot> li␣␣␣␣s␣␣␣␣␣ [ra] 2/12
<havenwood> DeBot: gh
<DeBot> li␣␣␣␣s␣␣␣␣␣ [ragh] 4/12
DerisiveLogic has quit [Remote host closed the connection]
<havenwood> DeBot: e
<DeBot> li␣␣e␣s␣␣␣e␣ [ragh] 4/12
DerisiveLogic has joined #ruby
<havenwood> DeBot: _-
<DeBot> li␣␣e␣s␣␣␣e␣ [ragh_-] 6/12
<havenwood> DeBot: r
<DeBot> li␣␣e␣s␣␣␣e␣ [ragh_-] 6/12
<havenwood> DeBot: l
<DeBot> li␣␣e␣s␣␣␣e␣ [ragh_-] 6/12
<havenwood> Guessing the same letters multiple times strategy isn't working...
asmodlol has joined #ruby
GaryOak_ has joined #ruby
duggiefresh has quit [Remote host closed the connection]
unshadow has quit [Ping timeout: 264 seconds]
<havenwood> Definitely ruled out Rails.
BlackGear has quit [Quit: ZZZzzz…]
unshadow has joined #ruby
<havenwood> DeBot: o
<DeBot> li␣␣e␣so␣␣e␣ [ragh_-] 6/12
<havenwood> DeBot: u
<DeBot> li␣␣e␣so␣␣e␣ [ragh_-u] 7/12
<havenwood> DeBot: t
<DeBot> li␣␣e␣so␣␣et [ragh_-u] 7/12
<havenwood> sonnet?
<havenwood> DeBot: n
<DeBot> li␣␣e␣so␣␣et [ragh_-un] 8/12
scripore has quit [Quit: This computer has gone to sleep]
zzxc_ has joined #ruby
parduse has joined #ruby
xxneolithicxx has quit [Ping timeout: 255 seconds]
zzxc has quit [Ping timeout: 264 seconds]
BlackGear has joined #ruby
[k- has quit [Quit: Lingo: www.lingoirc.com]
yaw has joined #ruby
GaryOak_ has quit [Ping timeout: 264 seconds]
BlackGear has quit [Max SendQ exceeded]
claptor has joined #ruby
spider-mario has quit [Remote host closed the connection]
psy_ has quit [Read error: No route to host]
rippa has joined #ruby
Hounddog has quit [Remote host closed the connection]
psy_ has joined #ruby
antgel has joined #ruby
Juanchito has joined #ruby
DynamicMetaFlow has quit [Ping timeout: 258 seconds]
parduse has quit []
oo_ has joined #ruby
BlackGear has joined #ruby
Robert__ has quit [Ping timeout: 256 seconds]
JDiPierro has joined #ruby
BlackGear has quit [Max SendQ exceeded]
unshadow has quit [Quit: leaving]
robustus has quit [Ping timeout: 255 seconds]
DLSteve has quit [Quit: Textual IRC Client: www.textualapp.com]
aryaching has quit []
robustus has joined #ruby
platzhirsch has joined #ruby
rkazak has left #ruby [#ruby]
sinkensabe has joined #ruby
noonius has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
shuber_ has joined #ruby
Oka has joined #ruby
sinkensabe has quit [Remote host closed the connection]
failshell has joined #ruby
shuber_ has quit [Remote host closed the connection]
m8 has joined #ruby
JDiPierro has quit [Remote host closed the connection]
<adaedra> DeBot: m
<DeBot> li␣␣e␣so␣␣et [ragh_-unm] 9/12
<adaedra> DeBot: g
<DeBot> li␣␣e␣so␣␣et [ragh_-unm] 9/12
<adaedra> ah yes
s2013 has joined #ruby
SubjectiveBias has joined #ruby
chinmay_dd has joined #ruby
<shevy> I have to say, he is a strange guy
<shevy> "Mostly I use a text console, for convenience's sake."
<shevy> "I do use X11 for tasks that need a graphical interface."
failshell has quit [Ping timeout: 265 seconds]
<shevy> hmmmm
CustosLimen has quit [Ping timeout: 264 seconds]
djellemah has joined #ruby
BlackPower has joined #ruby
hololeap has joined #ruby
<shevy> someone should ask him what he uses - perl ruby python... I bet it must be perl
<shevy> or lisp?
cashnguns has joined #ruby
<adaedra> emacs lisp
antgel has quit [Ping timeout: 276 seconds]
parduse has joined #ruby
<adaedra> DeBot: r
<DeBot> li␣␣e␣so␣␣et [ragh_-unm] 9/12
<adaedra> DeBot: s
<DeBot> li␣␣e␣so␣␣et [ragh_-unm] 9/12
<adaedra> -_-
<adaedra> DeBot: d
<DeBot> li␣␣e␣so␣␣et [ragh_-unmd] 10/12
CustosLimen has joined #ruby
<havenwood> DeBot: p
<DeBot> li␣␣e␣so␣␣et [ragh_-unmdp] 11/12
<adaedra> DeBot: w
<DeBot> li␣we␣so␣␣et [ragh_-unmdp] 11/12
ohaibbq has joined #ruby
<shevy> adaedra do you also use the world wide web like this: "I generally do not connect to web sites from my own machine"
xxneolithicxx has joined #ruby
BlackPower has quit [K-Lined]
<adaedra> no
parduse has quit [Client Quit]
<adaedra> no one does
<adaedra> DeBot: b
<DeBot> libwebso␣␣et [ragh_-unmdp] 11/12
<havenwood> libwebsobbet?
<adaedra> DeBot: ck
<DeBot> libwebsocket [ragh_-unmdp] 11/12 You won!
<havenwood> ahhh
<havenwood> adaedra: in the nick of time
<adaedra> /nick time
wildroman2 has joined #ruby
sohrab has quit [Quit: leaving]
shuber_ has joined #ruby
vickleton has quit [Read error: Connection reset by peer]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cosmicexplorer has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
vickleton has joined #ruby
cosmicexplorer has joined #ruby
speakingcode has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BlackGear has joined #ruby
parduse has joined #ruby
vickleton has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
emilkarl has quit [Quit: emilkarl]
Volsus has quit [Quit: Leaving]
Pathfinder has quit [Ping timeout: 264 seconds]
User458764 has joined #ruby
BlackGear has quit [Client Quit]
ponga has quit [Quit: Leaving...]
SouL_|_ has quit [Read error: Connection reset by peer]
nii236 has joined #ruby
vickleton has joined #ruby
wjlroe has joined #ruby
SubjectiveBias has quit [Ping timeout: 245 seconds]
slawrence00 has joined #ruby
<shevy> that's how people grew up with perl
cobragoat has quit [Remote host closed the connection]
<shevy> +10 years later, I think a similar thing would happen for the then-younger people
<shevy> possibly via python :P
SouL_|_ has joined #ruby
nii236 has quit [Ping timeout: 244 seconds]
axsuul has joined #ruby
jbomo has joined #ruby
wjlroe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
starless has joined #ruby
dcarmich has joined #ruby
cosmicexplorer has quit [Ping timeout: 265 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
noonius has quit [Quit: noonius]
bluOxigen has quit [Ping timeout: 256 seconds]
krz has quit [Quit: WeeChat 1.0.1]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
sinkensabe has joined #ruby
User458764 has joined #ruby
ascarter has joined #ruby
SegFaultAX has quit [Ping timeout: 265 seconds]
bluOxigen has joined #ruby
<havenwood> Updated pkgsrc installation instructions for OS X if anyone wants to try them out and let me know how flawlessly (or not?) it works: https://gist.github.com/havenwood/d25276ec38fc6ac03685
<havenwood> ^ It downloads the pkgsrc archive, checks shasum and gpg sig, sets up PATH and installs manpages automatically. It should *just work* except for balking at you not having gpg installed but you can skip that step.
SegFaultAX has joined #ruby
<havenwood> Then you have a nice Ruby 2.2 package available, as well as some eleven thousand other packages.
noonius has joined #ruby
<xxneolithicxx> shevy: to be fair, hes making an apples to oranges comparison
scripore has joined #ruby
codecop has joined #ruby
<xxneolithicxx> shevy: C++ doesnt have a CPAN/rubygems/pypy repo, otherwise if it did it probably would have a lot of those extras
<xxneolithicxx> shevy: imagine where python/ruby/perl would be without those repos?
rdark has quit [Quit: leaving]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subtwo has joined #ruby
<adaedra> havenwood: why not using homebrew?
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
blueOxigen has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
AxonetBE has joined #ruby
<AxonetBE> I use chruby with passenger and when I run /usr/local/bin/passenger-config I got Could not find rake (>= 0.8.1) amongst [bundler-1.9.4 ... ) but when I run gem list rake 10.x is installed
User458764 has joined #ruby
<bronson> AxonetBE: bundle exec passenger config?
_blizzy_ has joined #ruby
<AxonetBE> then it works but passenger is not in my gemfile
<AxonetBE> bronson: but I have strange behaviour where I don't find the error. Sometimes my app is not starting because he is using ruby 1.9... instead of 2.2 but when I run then cap restart app everything works fine...
<shevy> xxneolithicxx we'd have something like boost in ruby!
shuber_ has quit [Remote host closed the connection]
<xxneolithicxx> shevy: true but that would only add core functionality at a faster pace and would pale in comparison to what true repos bring
<bronson> AxonetBE: usually that's because some tool spawned a non-login subshell, so chruby din't get a chance to install its hooks.
<AxonetBE> bronson: ok and how to find this/fix this?
<bronson> You could play with: bash -l -c "my-command-to-try"
<bronson> that forces the command to be run in a login subshell.
dudedudeman has quit [Ping timeout: 244 seconds]
<shevy> jhass I am reading archlinux docu about fluxbox, it is good docu https://wiki.archlinux.org/index.php/Fluxbox
<bronson> if that fixes it, you can decide whether you're done now or whether you need to fix whatever is spawning wrong.
lavros has quit [Quit: leaving]
<AxonetBE> bronson: ok but how to find which command
<AxonetBE> because I have the feeling that I got this error randomly
<havenwood> adaedra: Around 11,000 binaries compared to brew's 3,000 packages (more and more of which are available as binaries, yay!). Also brew's nontraditional install location and inability to support multiple users.
<havenwood> adaedra: Really just options. And I like taking advantage of OS X's BSD lineage.
fedexo has joined #ruby
<havenwood> adaedra: I'm a brew user.
dudedudeman has joined #ruby
<jhass> shevy: the arch wiki is great in general
<bronson> AxonetBE: I have no idea what your deploy environment looks like.
<bronson> just gotta poke stuff until you figure it out.
<AxonetBE> bronson: here you find the error message I get : https://gist.github.com/DriesS/a125321e1cbefc01b558
<bronson> (that said, I switched from passenger to unicorn because I found it way too hard to debug these sorts of things...)
<xxneolithicxx> oh gosh, i remember using either homebrew or brew once when i used to use my mac, the slowest damn thing in the world to install stuff
ascarter has joined #ruby
<xxneolithicxx> *i think it was compiling a shit load of stuff though
<AxonetBE> but what is strange in the error is that he is usign /usr/local/lib/ruby/gems/1.9.1/ and /home/deploy/.gem/ruby/2.2.0/gems/ together
<havenwood> xxneolithicxx: They've started "pouring bottles" so not everything has to compile now, yeah. :)
<bronson> xxneolithicxx: I see you haven't used Gentoo. :)
<xxneolithicxx> bronson: no definitely not lol. i have no intention to either
<xxneolithicxx> i use ubuntu/rhel mainly
Cache_Money has quit [Quit: Cache_Money]
<havenwood> No takers for some good times with pkgsrc and OS X this fine Sunday?!
<havenwood> Works alongside Homebrew.
<xxneolithicxx> ill take ur hardware, you can keep the OS X :-)
dseitz has joined #ruby
finnnnnnnnnnn has joined #ruby
<havenwood> BYOH
chinmay_dd has quit []
finnnnnnnnnnn has quit [Client Quit]
<xxneolithicxx> ok, that definitely doesnt have OS X so i dont think id be much help
<bronson> havenwood: I don't quite get it... why would I use pkgsrc?
TuxOtaku has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
TuxOtaku has joined #ruby
shadeslayer has quit [Ping timeout: 272 seconds]
User458764 has joined #ruby
<bronson> looks pretty useful for the bsds that dont have a lot of software pre-packaged... but I've always been able to find a ppa or homebrew script for the stuff I need.
<havenwood> bronson: Over 10,000 quality binary packages that have been battle hardened on NetBSD. Or if you wanted to have the same package manager easily used by multiple users.
tubuliferous_ has joined #ruby
dudedudeman has quit [Ping timeout: 272 seconds]
shadeslayer has joined #ruby
<havenwood> bronson: Why use brew over pkgsrc?
c_nick has left #ruby [#ruby]
<bronson> because it's pronounceable? :)
<bronson> Mostly just momentum. A package manager is pretty critical infrastructure. I'd have to see a very compelling reason to switch.
<bronson> I've never been dissatisfied with the quantity of packages on homebrew. Really, my biggest complaint with it is upgrades.
quimrstorres has joined #ruby
weaksauce has joined #ruby
Rollabunna has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 264 seconds]
<havenwood> bronson: It's nice having options that harmoniously work beside each other. A good fallback in the very least. :) (If Fink and MacPorts aren't your thing.)
veleno has joined #ruby
quimrstorres has joined #ruby
<bronson> Hm, joyent? They are very good on promising the world but I haven't been happy when I've relied on their stuff.
<veleno> hello. i need to measure how long it takes to exeucte a call to ‘sytem(..)’. i’ve tried like this https://gist.github.com/vschiavoni/cf3d4149a2c6ac223fb0 but it seems to somehow be wrong: the ELAPSED line is only printed once I ctrl^c the program
phizzbuzz has quit [Ping timeout: 258 seconds]
dudedudeman has joined #ruby
<havenwood> bronson: They've been quiet about this it seems. Maybe they don't want to further foster that rep. Dunno.
nii236 has joined #ruby
<bronson> veleno: this works fine: https://gist.github.com/bronson/f11bf04057db3313253c
<bronson> the problem is in your request.
<bronson> well, I'll keep pkgsrc in mind when I get disgruntled with apt-get and homebrew.
banister has left #ruby [#ruby]
banisterfiend has joined #ruby
<banisterfiend> .
sinkensabe has quit [Remote host closed the connection]
fantazo has joined #ruby
swgillespie has joined #ruby
ixti has joined #ruby
nii236 has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 250 seconds]
armyriad has joined #ruby
swgillespie has quit [Client Quit]
swgillespie has joined #ruby
starless has quit [Quit: Leaving]
powder has left #ruby [#ruby]
f3lp has quit [Ping timeout: 264 seconds]
phizzbuzz has joined #ruby
dudedudeman has quit [Ping timeout: 265 seconds]
hectortrope has quit [Quit: WeeChat 0.4.2]
mistermocha has joined #ruby
hectortrope has joined #ruby
jack_rabbit has joined #ruby
yaw has left #ruby ["Textual IRC Client: www.textualapp.com"]
baweaver has joined #ruby
dudedudeman has joined #ruby
knikolov has joined #ruby
hectortrope has quit [Client Quit]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subtwo has quit [Quit: (null)]
jjoohhnn has joined #ruby
<shevy> >> '%3s' % '1'
<ruboto> shevy # => " 1" (https://eval.in/366520)
<shevy> it's funny how I always used to use %
<shevy> until I discovered .ljust()
noonius has quit [Quit: noonius]
tkuchiki has quit [Ping timeout: 244 seconds]
<havenwood> shevy: [[:rjust, 3], [:prepend, " "], [:insert, -2, " "], [:insert, 0, " "], [:rjust, 3, " "], [:sub, "", " "]]
wjlroe has joined #ruby
wildroman2 has quit [Ping timeout: 256 seconds]
<havenwood> shevy: #ljust would be spaces on the other side :P
AlphaAtom has quit [Read error: Connection reset by peer]
failshell has joined #ruby
AlphaAtom has joined #ruby
<havenwood> >> 'shevy'.chr
<ruboto> havenwood # => "s" (https://eval.in/366522)
SubjectiveBias has joined #ruby
noonius has joined #ruby
blueOxigen has quit [Ping timeout: 256 seconds]
Soda has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 256 seconds]
cosmicexplorer has joined #ruby
bronson has quit [Remote host closed the connection]
bluOxigen has joined #ruby
axisys has joined #ruby
thatslifeson has quit [Remote host closed the connection]
doodlehaus has joined #ruby
subtwo has joined #ruby
lidenskap has joined #ruby
rbennacer has joined #ruby
Cache_Money has joined #ruby
cosmicexplorer has quit [Ping timeout: 245 seconds]
cosmicex` has joined #ruby
cosmicex` has quit [Client Quit]
doodlehaus has quit [Remote host closed the connection]
<hololeap> >> '%-3s' % '1'
<ruboto> hololeap # => "1 " (https://eval.in/366523)
shuber_ has joined #ruby
ghr has joined #ruby
spider-mario has joined #ruby
<shevy> hmm
<shevy> there are about 80 gem download per second
lidenskap has quit [Ping timeout: 256 seconds]
<shevy> "5,112,019,277 downloads & counting"
thumpba has joined #ruby
idafyaid has quit [Read error: Connection reset by peer]
idafyaid has joined #ruby
tuelz has joined #ruby
<waxjar> havenwood: is pkgsrc as up-to-date as brew?
shuber_ has quit [Ping timeout: 272 seconds]
<tuelz> I'm working on some old code and there's a method which accepts the param <<-D it looks like the block is just a string which ends with D, what exactly is happening here? Is this just weird syntax for passing a string to a method?
SubjectiveBias has quit [Ping timeout: 245 seconds]
<havenwood> waxjar: For example brew is on 2.2.2 and pkgsrc is on 2.2.1. I haven't surveyed in general.
<apeiros> tuelz: that's a here-doc
<apeiros> it's a string literal
veleno has quit [Read error: Connection reset by peer]
<waxjar> havenwood: fair enough.
xjstin has joined #ruby
subtwo has quit [Quit: (null)]
<tuelz> apeiros: thanks
Igorshp has joined #ruby
anaeem1 has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
anaeem1_ has joined #ruby
axl_ has joined #ruby
<waxjar> havenwood: script seems to be missing a " on line 37 :p
jjoohhnn has quit [Quit: Leaving]
<havenwood> waxjar: oops, thanks!
<havenwood> waxjar: fixed
Igorshp has quit [Remote host closed the connection]
sinkensabe has joined #ruby
swgillespie has joined #ruby
Igorshp has joined #ruby
emilkarl has joined #ruby
MatthewsFace has joined #ruby
fedexo has quit [Ping timeout: 265 seconds]
jud has quit [Ping timeout: 240 seconds]
<waxjar> havenwood: output is a little weird, and it didn't actually wait until i pressed enter to skip the gpg step, but works fine :) (https://gist.github.com/britishtea/b921ff2b5ffd10361c91)
axl_ has quit [Ping timeout: 252 seconds]
SpicyMagpie has quit [Quit: Leaving.]
anaeem1_ has quit [Ping timeout: 276 seconds]
doodlehaus has joined #ruby
<havenwood> waxjar: Ahh, my fancy colors didn't work. I wonder if I should just drop the gpg signature check? Or only do it if gpg is installed?
<havenwood> waxjar: Maybe if there's no gpg, just?: No gpg found, skipping gpg validation ...
doodlehaus has quit [Remote host closed the connection]
A205B064 has joined #ruby
phizzbuzz has quit [Read error: Connection reset by peer]
NiVanc has joined #ruby
kirun has quit [Quit: Client exiting]
Igorshp has quit [Ping timeout: 264 seconds]
jack_rabbit has quit [Ping timeout: 240 seconds]
axsuul has quit [Ping timeout: 240 seconds]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Igorshp has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
turtil has joined #ruby
<havenwood> waxjar: Thanks for checking it out! Simplified it and fixed the funky output.
wildroman2 has joined #ruby
speakingcode has quit [Ping timeout: 250 seconds]
serivich has joined #ruby
jack_rabbit has joined #ruby
rbennacer has quit [Remote host closed the connection]
thatslifeson has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
MasterPiece has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emilkarl has quit [Quit: emilkarl]
MasterPiece has quit [Client Quit]
jack_rabbit has quit [Ping timeout: 255 seconds]
<NiVanc> I'm learning Ruby and I'm doing that by using rubymonk. However I have a hard time with understanding "0.2 Implicit and Explicit Blocks" (http://rubymonk.com/learning/books/4-ruby-primer-ascent/chapters/18-blocks/lessons/55-new-lesson). Does anyone know a good resource to dive further into the matter?
phizzbuzz has joined #ruby
axsuul has joined #ruby
duncannz has quit [Read error: Connection reset by peer]
quimrstorres has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
hewenhong has joined #ruby
<shevy> NiVanc it's mostly getting used to the syntax
jack_rabbit has joined #ruby
wildroman2 has quit [Read error: No route to host]
<shevy> NiVanc have a look at https://railskey.wordpress.com/2013/02/11/passing-blocks-in-ruby/ it may be easier to read there
<NiVanc> @shevy Ok, I'll keep trying :)
wildroman2 has joined #ruby
<NiVanc> shevy Thanks a lot! Will have a look
hewenhong has quit [Ping timeout: 265 seconds]
serivich has quit [Ping timeout: 244 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
MrSkinny has joined #ruby
dfinninger has joined #ruby
anaeem1 has joined #ruby
imkmf has joined #ruby
dfinninger has quit [Remote host closed the connection]
imkmf has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
quimrstorres has joined #ruby
bitri has joined #ruby
TheNet has joined #ruby
bitri has quit [Client Quit]
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
thatslifeson has quit [Remote host closed the connection]
anaeem1 has quit [Ping timeout: 264 seconds]
tuelz has quit [Ping timeout: 246 seconds]
anaeem1 has joined #ruby
ghr has quit [Read error: No route to host]
alderamin has joined #ruby
ghr has joined #ruby
MrSkinny has quit [Remote host closed the connection]
User458764 has joined #ruby
bronson has joined #ruby
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
avahey has joined #ruby
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Aww has joined #ruby
shock_one has quit [Read error: Connection reset by peer]
shock_one has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
tyfighter has joined #ruby
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
lidenskap has joined #ruby
tubuliferous_ has joined #ruby
thumpba has quit [Remote host closed the connection]
tuelz has joined #ruby
blueOxigen has joined #ruby
shuber_ has joined #ruby
bluOxigen has quit [Ping timeout: 265 seconds]
diegoviola has quit [Quit: WeeChat 1.2]
lidenskap has quit [Ping timeout: 258 seconds]
tubuliferous_ has quit [Ping timeout: 258 seconds]
shock_one has quit [Ping timeout: 252 seconds]
duderonomy has joined #ruby
jack_rabbit has quit [Ping timeout: 272 seconds]
shuber_ has quit [Ping timeout: 258 seconds]
claw has joined #ruby
nii236 has joined #ruby
nii236 has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
blueOxigen has quit [Ping timeout: 240 seconds]
scripore has quit [Client Quit]
greenbagels has quit [Quit: Leaving]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
e1nh4nd3r has joined #ruby
Stalkr_ has quit [Remote host closed the connection]
scripore has joined #ruby
emilkarl has joined #ruby
axl_ has joined #ruby
baweaver has quit [Remote host closed the connection]
TheNet has joined #ruby
jack_rabbit has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
axsuul has quit [Ping timeout: 256 seconds]
mandarinkin has quit [Quit: Bye]
fantazo has quit [Quit: Verlassend]
Musashi007 has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bollullera has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
axl_ has left #ruby [#ruby]
lxsameer has joined #ruby
greenbagels has joined #ruby
MatthewsFace has quit [Ping timeout: 244 seconds]
failshell has joined #ruby
platzhirsch has left #ruby [#ruby]
bollullera has left #ruby [#ruby]
weemsledeux has joined #ruby
mblewitt has joined #ruby
MatthewsFace has joined #ruby
anaeem1_ has quit [Ping timeout: 252 seconds]
gsd has joined #ruby
failshell has quit [Ping timeout: 265 seconds]
mblewitt has quit [Client Quit]
asmodlol has quit [Ping timeout: 256 seconds]
wildroman2 has quit [Read error: No route to host]
platzhirsch has joined #ruby
wildroman2 has joined #ruby
mblewitt has joined #ruby
s2013 has joined #ruby
Igorshp has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
TheNet has joined #ruby
lxsameer has quit [Quit: Leaving]
Sawbones has joined #ruby
asmodlol has joined #ruby
axl_ has joined #ruby
al2o3-cr has quit [Ping timeout: 250 seconds]
jack_rabbit has quit [Ping timeout: 258 seconds]
websoftwarez has joined #ruby
bosma has quit [Ping timeout: 272 seconds]
websoftwarez has quit [Changing host]
websoftwarez has joined #ruby
mblewitt has quit [Quit: WeeChat 1.1.1]
mblewitt has joined #ruby
SubjectiveBias has joined #ruby
axl_ has left #ruby [#ruby]
taiansu has joined #ruby
taiansu has quit [Read error: Connection reset by peer]
cajone has joined #ruby
taiansu has joined #ruby
<adaedra> grmbl, sqlite3 gem still not picking /usr/local for sqlite3
<shevy> adaedra take over that gem maintainership!
stoffus has quit [Ping timeout: 256 seconds]
thumpba has joined #ruby
<adaedra> no.
jack_rabbit has joined #ruby
quimrstorres has quit [Remote host closed the connection]
parduse is now known as Guest56628
GnuYawk has quit [Changing host]
GnuYawk has joined #ruby
pardusf has joined #ruby
Guest56628 has quit [Ping timeout: 276 seconds]
lidenskap has joined #ruby
havenwood has quit []
swgillespie has joined #ruby
al2o3-cr has joined #ruby
SomeAnonDude has joined #ruby
<SomeAnonDude> is it possible to get a non-set number of group matches with regex?
<SomeAnonDude> what I mean is have something like "!pick x, y, z"
<SomeAnonDude> with as many elements as possible
mblewitt has quit [Quit: WeeChat 1.1.1]
rawrmonstar has joined #ruby
jack_rabbit has quit [Ping timeout: 244 seconds]
The_Phoenix has quit [Quit: Leaving.]
Sawbones has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
<TheNet> is it frowned upon for gems to use global variables when they could use namespaced constants instead?
<apeiros> it is frowned upon to use global variables period :)
griffindy has joined #ruby
lidenskap has quit [Remote host closed the connection]
bennyklo2z has joined #ruby
<adaedra> namespace everything.
<jhass> SomeAnonDude: treat it as one argument in the expression and tokenize with .split or .scan
<SomeAnonDude> okay
bennyklo2z has quit [Client Quit]
mblewitt has joined #ruby
bennyklo2z has joined #ruby
multi_io has quit [Ping timeout: 272 seconds]
multi_io has joined #ruby
bennyklo2z has left #ruby [#ruby]
_blizzy_ has quit [Ping timeout: 265 seconds]
SubjectiveBias has quit [Ping timeout: 244 seconds]
jud has joined #ruby
aspiers has quit [Ping timeout: 252 seconds]
shock_one has joined #ruby
tak1n has joined #ruby
tak1n has quit [Client Quit]
tak1n has joined #ruby
speakingcode has joined #ruby
bosma has joined #ruby
tak1n has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Sawbones has joined #ruby
DEA7TH has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
cashnguns has quit [Ping timeout: 258 seconds]
ebbflowgo has joined #ruby
havenwood has joined #ruby
gizmore has joined #ruby
rawrmonstar has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
rawrmons_ has joined #ruby
pothibo has joined #ruby
bennyklotz has quit [Quit: Lost terminal]
bennyklo1z has quit [Quit: Lost terminal]
_blizzy_ has joined #ruby
gizless has quit [Ping timeout: 276 seconds]
wildroman2 has quit [Read error: No route to host]
wildroman2 has joined #ruby
jenrzzz has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
quimrstorres has quit [Ping timeout: 246 seconds]
Sawbones has quit [Remote host closed the connection]
Jelvena has joined #ruby
tak1n has joined #ruby
<Jelvena> Is there any difference between doing %w{some string} and %w[some string] ?
NiVanc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
pothibo has quit [Quit: pothibo]
doodlehaus has joined #ruby
cashnguns has joined #ruby
davedev24_ has quit [Ping timeout: 276 seconds]
Sawbones has joined #ruby
qwertme has joined #ruby
Joffily has quit [Quit: Textual IRC Client: www.textualapp.com]
kenndel has joined #ruby
<havenwood> Jelvena: just the delimiter
<Jelvena> Only?
<havenwood> Jelvena: yup
<Jelvena> I see, thnx.
<havenwood> Jelvena: there're a bunch of other delimiter options as well, all equiv
tcrypt has joined #ruby
byprdct has quit [Ping timeout: 250 seconds]
lidenskap has joined #ruby
marr has joined #ruby
fotanus has joined #ruby
<fotanus> Hey... I'm looking for an Stack or Queue or something that blocks on pop
<fotanus> not sure if I should use thread queue?
SomeAnonDude has quit [Remote host closed the connection]
wildroman2 has quit [Read error: No route to host]
Norelec has joined #ruby
wildroman3 has joined #ruby
zzxc_ has quit [Ping timeout: 265 seconds]
<havenwood> fotanus: Want to block indefinitely or for a certain amount of time?
<fotanus> indef
<shevy> they killed yum!
<shevy> imagine debian killing apt-* and dpkg
<havenwood> fotanus: You might even consider a Rinda::TupleSpace.
<fotanus> havenwood: Cool, gonna check, thanks!
davedev24_ has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
laurentide has joined #ruby
Notte has joined #ruby
laurentide has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
laurentide has joined #ruby
<shevy> can you use ruby to replace GNU configure?
<shevy> I am looking at a configure.ac file and it causes me some aggression
<adaedra> you can, but it's not because you can that you should.
laurentide has quit [Remote host closed the connection]
laurentide has joined #ruby
laurentide has quit [Remote host closed the connection]
laurentide has joined #ruby
emilkarl has quit [Quit: emilkarl]
Leef_ has quit [Quit: Leaving]
decoponio has quit [Quit: Leaving...]
<havenwood> fotanus: Here's an example TupleSpace wrapper that doesn't block, but drop the `true`s and it'll block indefinitely: https://gist.github.com/havenwood/08e859ddd53c84be6c56
tyfighter has quit [Ping timeout: 256 seconds]
<havenwood> Well, I guess technically not indefinitely but at least until the 19th of January 2038. >.>
tubuliferous_ has quit [Ping timeout: 264 seconds]
<fotanus> havenwood: nice! I'll make sure to tune it up for my own space turtle watcher!
<fotanus> havenwood: should work :P
Sawbones has quit []
<havenwood> fotanus: :)
<xxneolithicxx> lol... "should work" the famous line used by people using two digit takes years ago
<dorei> how could i emulate map_slice since there's only each_slice ?
nii236 has joined #ruby
<havenwood> dorei: It does actually map
emilkarl has joined #ruby
<dorei> hmm
<havenwood> dorei: the #each_ methods are confusing because they're not like each in the sense of the return value
fedexo has joined #ruby
wildroman3 has quit [Read error: No route to host]
<dorei> x.each_slice(2).map
<dorei> :)
GnuYawk has quit [Quit: WeeChat 1.0]
wildroman2 has joined #ruby
<havenwood> dorei: the map is redundant
<havenwood> >> 1.upto(5).each_slice(2).to_a
<ruboto> havenwood # => [[1, 2], [3, 4], [5]] (https://eval.in/366543)
<havenwood> dorei: unless you're passing #map a block, then proceed ;)
<havenwood> >> [*(1..3).each_slice(2), *(1..3).each_with_object(nil)]
<ruboto> havenwood # => [[1, 2], [3], [1, nil], [2, nil], [3, nil]] (https://eval.in/366544)
<havenwood> dorei: ^ for example
m8 has quit [Quit: Sto andando via]
nii236 has quit [Ping timeout: 252 seconds]
<havenwood> dorei: I had the same intuitive expectation you did.
MatthewsFace has quit []
codecop has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shuber_ has joined #ruby
Jonah11_ has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
<havenwood> To me an each_slice and map_slice, etc make sense.
<havenwood> TIMTOWTDI
doodlehaus has quit [Remote host closed the connection]
lkba has joined #ruby
<dorei> thanx :)
<havenwood> dorei: de nada
jenrzzz has quit [Ping timeout: 244 seconds]
shuber_ has quit [Ping timeout: 264 seconds]
alderamin has quit [Ping timeout: 256 seconds]
duderonomy has quit [Ping timeout: 256 seconds]
iamninja_ has quit [Read error: Connection reset by peer]
<Senjai> Good day ruby
<havenwood> Senjai: g'day!
<Senjai> Just finished upgrading to 15.04
<Senjai> as a fresh install
<Senjai> Not fun
<havenwood> nice
iamninja_ has joined #ruby
wildroman2 has quit [Read error: No route to host]
<havenwood> Senjai: problems updating?
<Senjai> Thinking of putting together a chef script or something for tis
Cache_Money has quit [Quit: Cache_Money]
<Senjai> havenwood: Eh.. just tediousness, random deps, things like that
<Senjai> Dotfiles
<havenwood> mm
Blaguvest has quit [Ping timeout: 246 seconds]
wildroman2 has joined #ruby
<Senjai> I planned on rewriting my tmux configs
<Senjai> but Ima put that one off for now
axsuul has joined #ruby
emilkarl has quit [Quit: emilkarl]
GnuYawk has joined #ruby
Rollabunna has joined #ruby
fotanus has quit [Quit: Page closed]
Narzew has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 258 seconds]
gert7 has joined #ruby
bootstrappm has joined #ruby
<gert7> hello
<havenwood> gert7: hi
Nieralyte has joined #ruby
baweaver has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
Rollabunna has quit [Ping timeout: 265 seconds]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
failshell has joined #ruby
ndrei has joined #ruby
<TheNet> how do I set namespaced variables that aren't constants? attr_accessor :var; @var = 'Hello world!' ?
wildroman2 has quit [Remote host closed the connection]
Notte has quit []
<gert7> like that yes?
Spami has joined #ruby
quimrstorres has joined #ruby
<TheNet> is that the best way?
<gert7> attr_accessor is for public stuff
asmodlol has quit [Ping timeout: 252 seconds]
<gert7> it gives your class the methods var and var=
shock_one has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 265 seconds]
shock_one has joined #ruby
<gert7> obj.var = 3 # here you are calling var= from the outside of the object
<gert7> if you say @var without attr_accessor, you've just got an instance variable without the methods
asmodlol has joined #ruby
quimrstorres has quit [Ping timeout: 245 seconds]
<bootstrappm> and you should put that instance variable inside the constructor otherwise its a class instance variable which is not the same thing http://stackoverflow.com/questions/15773552/ruby-class-instance-variable-vs-class-variable
<bootstrappm> TheNet ^
psy_ has quit [Ping timeout: 255 seconds]
fedexo has quit [Ping timeout: 265 seconds]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
robustus has quit [Ping timeout: 264 seconds]
lidenskap has quit [Remote host closed the connection]
<gert7> the @var is the underlying data, when you call attr_accessor you're asking it to make the methods #var and #var=
<gert7> there's also attr_reader and attr_writer for those 2 separately
<shevy> TheNet namespaced means: put them into a namespace
<shevy> class Foo; attr_accessor :bla; end <--- there you have one
lidenskap has joined #ruby
<gert7> you're also free to write #var and #var= yourself like def var; @var; end and def var= (n); @var = n; end
slawrence00 has joined #ruby
robustus has joined #ruby
<TheNet> attr_ only works on classes though, not modules, right?
shock_one has quit [Ping timeout: 272 seconds]
<gert7> if you're making a mixin for a class
ndrei has quit [Ping timeout: 258 seconds]
Mon_Ouie has quit [Ping timeout: 244 seconds]
<gert7> "A Module is a collection of methods and constants" Modules aren't stateful so they can't have variables
ndrei has joined #ruby
wildroman2 has joined #ruby
<TheNet> so if I want to store something that's not constant I should create a class for it?
<gert7> do you want to say MyClass.var = 42?
thatslifeson has joined #ruby
<apeiros> gert7: wrong
qwertme has joined #ruby
<apeiros> TheNet: attr_* are defined on Module, not Class. so yes, you can use them in modules.
<gert7> only for mixins?
<apeiros> >> module Foo; @variable_belonging_to_foo = "look there!"; def self.weee; @variable_belonging_to_foo; end; end; Foo.weee
<ruboto> apeiros # => "look there!" (https://eval.in/366548)
<apeiros> gert7: ^
<apeiros> and yes, attr_* defines instance methods. so methods defined that way are only available once you used include/extend with the module.
mblewitt has quit [Quit: WeeChat 1.1.1]
rkazak_ has joined #ruby
idafyaid has quit [Remote host closed the connection]
idafyaid has joined #ruby
<apeiros> having actually read the scrollback now…
<apeiros> > TheNet: how do I set namespaced variables that aren't constants?
lidenskap has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 255 seconds]
<gert7> @@class_variables?
<apeiros> TheNet: you can't. constants are the only *namespaced* variables. however, other variables have scoping rules too. and you can create variables belonging to a namespaced object
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Narzew has joined #ruby
<TheNet> apeiros yep, learning that now. thanks gert7 and apeiros
<apeiros> @@cvars are one way. @ivars are IMO better. see the example code above.
psy_ has joined #ruby
<gert7> if you're gonna access them like Table::TABLE_MAX_SIZE
<gert7> that's a constant, useful for cheap enums
<apeiros> that'd be a constant in either a class or module
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
JDiPierro has joined #ruby
SubjectiveBias has joined #ruby
<apeiros> (and that class or module being assigned to constant itself)
<TheNet> anyone know if there are any StringIO methods that write to STDOUT other than print, puts, and write?
robustus|Off has joined #ruby
<apeiros> huh? no StringIO method writes to STDOUT
robustus|Off is now known as robustus
bogdanteleaga has quit [Ping timeout: 246 seconds]
<apeiros> ok. my mistake - there's one: StringIO#display. but that's the only one. all others write to the StringIO. otherwise, what'd be the point?
<gert7> stringIO = take a String and pretend it's a file?
<apeiros> s/file/io/
<apeiros> yes
<gert7> ah
soulcake has quit [Quit: Quack.]
oo_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
lidenskap has joined #ruby
<TheNet> isn't $stdout a StringIO instance?
soulcake has joined #ruby
<TheNet> oh, just IO
<TheNet> my bad
starless has joined #ruby
bogdanteleaga has joined #ruby
gert7 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<apeiros> if it was a StringIO, no output would be written to your terminal
<apeiros> it can be a StringIO. once you (or code you're using) assign one to it
<TheNet> I should stop talking in this chat until I learn the proper terms for everything...
crus` has quit [Read error: Connection reset by peer]
websoftwarez has quit [Quit: Leaving]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> or you learn the proper terms by talking here
<TheNet> I should say, are there are STDOUT (or $stdout, same thing) methods that write to the console besides puts, print, and write
robustus has quit [Ping timeout: 264 seconds]
noonius has quit [Quit: noonius]
<jhass> <<
oo_ has quit [Ping timeout: 250 seconds]
<apeiros> STDOUT/$stdout is an IO. `ri IO` in your terminal or `ls $stdout` in pry will give you infos
robustus has joined #ruby
TuxOtaku_ has joined #ruby
<TheNet> or I could read ruby doc. just checking to see if someone knew off the top of their head
wildroman2 has quit [Remote host closed the connection]
<apeiros> putc, printf
<apeiros> sys*
<TheNet> jhass thanks
Norelec has quit [Ping timeout: 246 seconds]
<apeiros> actually seems like in sys* there's only syswrite
a13x212 has quit [Read error: Connection reset by peer]
shuber_ has joined #ruby
d1n has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
TuxOtaku has quit [Ping timeout: 258 seconds]
aspiers has joined #ruby
a13x212 has joined #ruby
vikaton has joined #ruby
shuber_ has quit [Ping timeout: 256 seconds]
baweaver has quit [Remote host closed the connection]
asmodlol has joined #ruby
SubjectiveBias has quit [Ping timeout: 256 seconds]
robustus has quit [Ping timeout: 255 seconds]
giuseppesolinas has joined #ruby
hewenhong has joined #ruby
<Nieralyte> so there's absolutely no such tools like rerun under Windows to automatically rerun an .rb file upon changes?
scripore has quit [Quit: This computer has gone to sleep]
rahult has joined #ruby
rahult is now known as rahult_
rahult_ is now known as rahult
rahult is now known as rahult_
rahult_ is now known as rahult
bahar has quit [Ping timeout: 250 seconds]
nfk has quit [Quit: yawn]
hewenhong has quit [Ping timeout: 256 seconds]
crus has joined #ruby
thatslifeson has quit [Remote host closed the connection]
Stalkr_ has joined #ruby
taiansu has quit [Remote host closed the connection]
Narzew has quit [Read error: No route to host]
Narzew has joined #ruby
failshell has joined #ruby
spider-mario has quit [Remote host closed the connection]
bahar has joined #ruby
<TheNet> I think most of those methods just call the write method (after doing their thing) interestingly enough
quimrstorres has joined #ruby
nii236 has joined #ruby
failshell has quit [Ping timeout: 240 seconds]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Narzew has quit [Quit: Leaving]
qwertme has joined #ruby
quimrstorres has quit [Ping timeout: 252 seconds]
spider-mario has joined #ruby
nii236 has quit [Ping timeout: 272 seconds]
idafyaid has quit [Quit: idafyaid]
doodlehaus has joined #ruby
idafyaid has joined #ruby
idafyaid has quit [Changing host]
idafyaid has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Stalkr_ has quit [Quit: Leaving...]
Ropeney has joined #ruby
tubuliferous_ has joined #ruby
ChasedSpade has quit [Remote host closed the connection]
Pathfinder has joined #ruby
wjlroe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ChasedSpade has joined #ruby
tubuliferous_ has quit [Ping timeout: 264 seconds]
pandaant has joined #ruby
<shevy> writing is important
<shevy> in the past, the human people wrote on paper
kenndel has quit [Ping timeout: 256 seconds]
<shevy> now we don't even have to write anymore... we type stuff, we store it for eternity
<shevy> Nieralyte that sounds like file events
<shevy> there was on linux a way...
lidenskap has quit [Remote host closed the connection]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
bahar has quit [Ping timeout: 246 seconds]
wjlroe has joined #ruby
wjlroe has quit [Client Quit]
A124 has quit [Quit: RoBo_V1]
doodlehaus has joined #ruby
A124 has joined #ruby
jeromelanteri_ has joined #ruby
jeromelanteri_ has quit [Client Quit]
hambonep4u has joined #ruby
bahar has joined #ruby
taiansu has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
doodlehaus has quit [Remote host closed the connection]
jeromelanteri_ has joined #ruby
tuelz has quit [Ping timeout: 256 seconds]
taiansu has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
jeromelanteri_ has quit [Client Quit]
TheNet has quit [Quit: Textual IRC Client: www.textualapp.com]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
axsuul has quit [Ping timeout: 272 seconds]
sevenseacat has joined #ruby