apeiros changed the topic of #ruby to: 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, other public logging is prohibited
sinkensabe has joined #ruby
MXfive has joined #ruby
<eam> yeah. Both your code and mine are missing loads of corner cases btw
<eam> but the logic you have can totally be expressed in a regex
wldcordeiro has quit [Ping timeout: 244 seconds]
<a5i> corner cases?
<eam> well for example < title >
cpt_yossarian has joined #ruby
<eam> need to afk
<a5i> ok
kirun has quit [Quit: Client exiting]
sevvie has quit [Ping timeout: 256 seconds]
krisquigley has joined #ruby
MyGreenP1 has quit [Ping timeout: 250 seconds]
GaryOak_ has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 276 seconds]
apoplexy has joined #ruby
quimrstorres has joined #ruby
Channel6 has quit [Quit: Leaving]
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
krisquigley has quit [Ping timeout: 272 seconds]
n008f4g_ has quit [Ping timeout: 250 seconds]
sevvie has joined #ruby
mikecmpbll has quit [Quit: ciao.]
Yzguy has joined #ruby
quimrstorres has quit [Ping timeout: 256 seconds]
mleung has quit [Quit: mleung]
moeabdol has quit [Ping timeout: 256 seconds]
hiyosi has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
kblake has quit [Remote host closed the connection]
marr has quit []
centrx has quit [Quit: Shutting down, Please wait...]
bayed has quit [Quit: Connection closed for inactivity]
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
MXfive has quit [Quit: Textual IRC Client: www.textualapp.com]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeramy_s has joined #ruby
icebourg has quit []
iceyec has joined #ruby
_djbkd has quit [Remote host closed the connection]
bkxd has joined #ruby
bMalum has quit [Quit: bMalum]
endash has quit [Quit: endash]
jottr has joined #ruby
lidenskap has quit [Remote host closed the connection]
<kbarry> I'm trying to install a specific version of ruby on debian
bMalum has joined #ruby
casadei has joined #ruby
<kbarry> 1.9.3 I think I know the syntax for centos, but am struggling with doing this for debian.
<adaedra> rvm/rbenv
martin_work has quit [Quit: martin_work]
mistermocha has joined #ruby
jnylen has joined #ruby
quimrstorres has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
anaeem1_ has joined #ruby
Rapier- has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
bMalum has quit [Ping timeout: 250 seconds]
apoplexy has quit [Ping timeout: 248 seconds]
quimrstorres has quit [Ping timeout: 245 seconds]
troyready has quit [Ping timeout: 256 seconds]
casadei has quit [Ping timeout: 244 seconds]
avahey has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 255 seconds]
Joffily has quit [Quit: Textual IRC Client: www.textualapp.com]
lkba has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
rodfersou has quit [Quit: leaving]
narcan has joined #ruby
Rapier- has quit [Quit: (null)]
sinkensabe has joined #ruby
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
sinkensabe has quit [Remote host closed the connection]
Rapier- has joined #ruby
centrx has joined #ruby
wallerdev has quit [Quit: wallerdev]
vim_shimm has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
troyready has joined #ruby
fedexo has joined #ruby
iceyec has quit [Quit: iceyec]
gaboesquivel has quit [Remote host closed the connection]
oetjenj has quit [Ping timeout: 265 seconds]
iasoon has quit [Ping timeout: 276 seconds]
plutonic has joined #ruby
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 255 seconds]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
nfk has quit [Remote host closed the connection]
chinmay_dd has quit [Ping timeout: 272 seconds]
nfk|laptop has quit [Quit: yawn]
sinkensabe has joined #ruby
martin_work has joined #ruby
martin_work has quit [Client Quit]
rkazak has joined #ruby
sankaber has joined #ruby
jeramy_s has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
jeramy_s has quit [Client Quit]
kblake has joined #ruby
rbennacer has joined #ruby
zzing has quit [Ping timeout: 240 seconds]
robustus has quit [Ping timeout: 264 seconds]
chridal has quit [Ping timeout: 250 seconds]
<shevy> kbarry they don't allow multiple versions of programs
cjim_ has quit [Quit: (null)]
<shevy> you can not install e. g. glibc 2.15 2.16 2.17 2.18
Melpaws has quit [Ping timeout: 245 seconds]
chinmay_dd has joined #ruby
<centrx> Who? The Illuminati?
robustus has joined #ruby
<shevy> partially this is because of the FHS layout; you can not have multiple same programs at /usr/bin; there can only be one /usr/bin/ruby
<shevy> that is why they use workarounds like /usr/bin/ruby1.8, and a symlink at /usr/bin/ruby pointing to the version in question
<shevy> kbarry knows who
f0ster has quit [Ping timeout: 252 seconds]
lidenskap has joined #ruby
ringarin has joined #ruby
mary5030 has quit [Remote host closed the connection]
RegulationD has joined #ruby
evanjs has joined #ruby
vim_shimm has quit [Ping timeout: 240 seconds]
frem has quit [Quit: Connection closed for inactivity]
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
ProLoser has joined #ruby
<ProLoser> hallo
rbennacer has quit [Remote host closed the connection]
<ProLoser> i did gem install bundler and then gem bundle install and it says 'bundle' is unkown command
<ProLoser> i'm on osx, new laptop, and had to sudo the gem install bundler
ringarin has quit [Ping timeout: 256 seconds]
<centrx> it's just bundle install, not gem bundle install
RegulationD has quit [Ping timeout: 255 seconds]
bruno- has quit [Ping timeout: 264 seconds]
bootstrappm has joined #ruby
aridere_ has joined #ruby
phigg has quit [Remote host closed the connection]
vim_shimm has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ringarin has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
revoohc has joined #ruby
deric_skibotn has quit [Ping timeout: 265 seconds]
towski_ has quit [Remote host closed the connection]
jnylen has quit [Quit: WeeChat 0.3.8]
apoplexy has joined #ruby
iotouch has joined #ruby
psy has joined #ruby
quimrstorres has joined #ruby
psy has quit [Max SendQ exceeded]
psy has joined #ruby
pontiki has joined #ruby
zzing has joined #ruby
Aswebb_ has joined #ruby
justin_pdx has joined #ruby
icebourg has joined #ruby
ozialien has quit [Ping timeout: 272 seconds]
quimrstorres has quit [Ping timeout: 264 seconds]
revoohc has quit [Quit: revoohc]
lidenskap has quit [Remote host closed the connection]
casadei has joined #ruby
casadei has quit [Client Quit]
rkazak has joined #ruby
roolo has quit [Remote host closed the connection]
deric_skibotn has joined #ruby
Aswebb_ has quit [Ping timeout: 272 seconds]
platzhirsch has quit [Quit: Leaving.]
eshiffob has quit [Ping timeout: 256 seconds]
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
soypirate has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
jottr has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Guest64554 has quit [Ping timeout: 265 seconds]
charliesome has quit [Quit: zzz]
marcoamorales has quit [Ping timeout: 272 seconds]
pauly_oc has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
Rollabunna has joined #ruby
BoomerBile has joined #ruby
juanpablo_ has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
ag4ve_ has quit [Ping timeout: 245 seconds]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FernandoBasso has quit [Quit: leaving]
Melpaws has joined #ruby
ag4ve_ has joined #ruby
platzhirsch has joined #ruby
iotouch has quit [Read error: Connection reset by peer]
juanpablo_ has quit [Ping timeout: 272 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phutchins has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Guest64554 has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kblake has quit [Read error: Connection reset by peer]
kblake_ has joined #ruby
ozialien has joined #ruby
whatasunnyday has joined #ruby
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bootstrappm has left #ruby [#ruby]
krisquigley has joined #ruby
dseitz has joined #ruby
greenbagels has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
blazes816 has joined #ruby
iotouch has joined #ruby
krisquigley has quit [Ping timeout: 256 seconds]
mitchellhenke has joined #ruby
tcrypt has quit [Ping timeout: 255 seconds]
blazes816 has quit [Ping timeout: 265 seconds]
vim_shimm has quit [Ping timeout: 256 seconds]
claptor has joined #ruby
jeromelanteri has quit [Ping timeout: 250 seconds]
deric_skibotn has quit [Ping timeout: 256 seconds]
psy has quit [Disconnected by services]
pika_pika has joined #ruby
psy_ has joined #ruby
moeabdol has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has quit [Remote host closed the connection]
platzhirsch has quit [Quit: Leaving.]
ProLoser has quit [Remote host closed the connection]
aphprentice_ has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
tus has quit []
droidburgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
evanjs has quit [Remote host closed the connection]
droidburgundy has joined #ruby
Beoran has quit [Ping timeout: 272 seconds]
mengu__ has joined #ruby
unclouded has quit [Ping timeout: 256 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
havenwood has joined #ruby
mengu has quit [Ping timeout: 256 seconds]
aridere_ has quit [Quit: Leaving]
arescorpio has joined #ruby
kalalaman has joined #ruby
GenghisKen has joined #ruby
GenghisKen has joined #ruby
quimrstorres has joined #ruby
<kalalaman> anoynoe good at wordpress?
<kalalaman> join php
iotouch has quit [Quit: This computer has gone to sleep]
quimrstorres has quit [Ping timeout: 245 seconds]
MatthewsFace has joined #ruby
Beoran has joined #ruby
vim_shimm has joined #ruby
MyGreenP1 has joined #ruby
iamjarvo has joined #ruby
towski_ has joined #ruby
oo_ has joined #ruby
vim_shimm has quit [Ping timeout: 255 seconds]
bashusr2 is now known as bashusr
bashusr has quit [Changing host]
bashusr has joined #ruby
iotouch has joined #ruby
revoohc has joined #ruby
towski_ has quit [Ping timeout: 245 seconds]
tubuliferous_ has joined #ruby
mengu has joined #ruby
mengu__ has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
MyGreenP1 has quit [Ping timeout: 250 seconds]
vim_shimm has joined #ruby
ponga has joined #ruby
vim_shimm has quit [Ping timeout: 256 seconds]
Melpaws has quit [Ping timeout: 245 seconds]
crazydiamond has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
<h00d> is there anyway to initialize a hash in the constructor method?
robustus has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
BoomerBile has quit [Quit: Leaving]
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
grindmodeon has joined #ruby
Filete has quit [Ping timeout: 250 seconds]
bitladen has joined #ruby
bitladen has left #ruby [#ruby]
Rapier- has quit [Quit: (null)]
braincrash has quit [Quit: bye bye]
ringarin has quit [Ping timeout: 256 seconds]
moeabdol has joined #ruby
<gr33n7007h>
whatasunnyday has quit [Quit: whatasunnyday]
h00d has quit [Read error: Connection reset by peer]
marcoamorales has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
The_Phoenix has joined #ruby
h00d has joined #ruby
<h00d> /msg NickServ identify 47388888
whatasunnyday has joined #ruby
whatasunnyday has quit [Client Quit]
braincrash has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
fwaokda_ has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
multi_io has quit [Ping timeout: 252 seconds]
lavros has joined #ruby
kblake_ has quit [Remote host closed the connection]
sankaber has joined #ruby
<shevy> h00d see man
<h00d> HI
<shevy> >> hash = { cat: 'Tom', mouse: 'Jerry' }; hash
<ruboto> shevy # => {:cat=>"Tom", :mouse=>"Jerry"} (https://eval.in/315275)
<shevy> so that is the standard syntax to create and populate your hash
iotouch has quit [Quit: This computer has gone to sleep]
<shevy> and you can use that in your .rb file, regardless over where. so, yes, you can put that into "def initialize" too, or any other method
multi_io has joined #ruby
CloCkWeRX has joined #ruby
<h00d> @hashListPlayer = Hash.new
kalalaman has quit [Ping timeout: 246 seconds]
Aswebb_ has joined #ruby
<h00d> ok.
<shevy> you have to look at the API documentation
ponga has quit [Ping timeout: 252 seconds]
<shevy> find the part that is called "Public Class Methods"
<shevy> you will see two initialization methods that involve "Hash"
<shevy> one is:
<shevy> Hash[]
<shevy> the other is:
<shevy> Hash.new
oo_ has quit [Remote host closed the connection]
<shevy> there are examples for both, have a look at them
<shevy> in this case:
<shevy> h = Hash.new("Go Fish")
<shevy> would mean that your hash will have a default value of 'Go Fish' if the key was not found
lessless has joined #ruby
<shevy> you can achieve the same on a hash object by using: .default = 'Go Fish'
<shevy> in other words, when you use Hash.new syntax, you can not populate the hash on creation-time
phutchins has quit [Ping timeout: 250 seconds]
A205B064 has quit [Ping timeout: 256 seconds]
<shevy> so you could either switch to {} instead, or use Hash[]
<shevy> >> Hash[ [ ["a", 100], ["b", 200] ] ]
<ruboto> shevy # => {"a"=>100, "b"=>200} (https://eval.in/315276)
CloCkWeRX has left #ruby [#ruby]
icebourg has quit []
Aswebb_ has quit [Ping timeout: 272 seconds]
iotouch has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
bMalum has joined #ruby
willywos has joined #ruby
quimrstorres has joined #ruby
jottr has joined #ruby
freerobby has quit [Quit: Leaving.]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
zorak8 has joined #ruby
ebbflowgo has joined #ruby
adamjleonard has joined #ruby
ujihisa has joined #ruby
bMalum has quit [Ping timeout: 248 seconds]
quimrstorres has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
ebbflowgo has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
scripore has quit [Client Quit]
<h00d> ok
zorak8 has quit [Quit: Leaving]
Rapier- has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
duderonomy has joined #ruby
chinmay_dd has quit [Ping timeout: 244 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
Megtastique has quit []
agent_white has joined #ruby
lidenskap has joined #ruby
krisquigley has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
GeorgeThompson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
grindmodeon has quit [Quit: Leaving.]
krisquigley has quit [Ping timeout: 248 seconds]
Yzguy has joined #ruby
icebourg has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anaeem1_ has quit [Remote host closed the connection]
hiyosi has joined #ruby
apoplexy is now known as deego
deego is now known as apoplexy
chridal has joined #ruby
ozialien has quit [Remote host closed the connection]
mgberlin has joined #ruby
grindmodeon has joined #ruby
grindmodeon has quit [Client Quit]
grindmodeon has joined #ruby
chridal has quit [Ping timeout: 252 seconds]
anaeem1 has joined #ruby
havenwood has quit []
mtakkman has joined #ruby
Aswebb_ has joined #ruby
fedexo has quit [Remote host closed the connection]
mary5030 has joined #ruby
willywos has quit [Quit: Textual IRC Client: www.textualapp.com]
spicerack has joined #ruby
fedexo has joined #ruby
rbennacer has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
<shevy> our ancestors!
<agent_white> \o/
arescorpio has quit [Excess Flood]
<shevy> looks damn realistic
<shevy> much better than computer-generated models
justin_pdx has quit [Quit: justin_pdx]
hannahkoala has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
justin_pdx has joined #ruby
<agent_white> What's its name?
unclouded has joined #ruby
<shevy> "Paranthropus boisei"
<shevy> it's similar to Australopithecus I think
mary5030 has quit [Remote host closed the connection]
<shevy> what I don't understand is the fur
<shevy> they can't possibly assume to know where exactly it was
bruno- has joined #ruby
fwaokda_ has quit [Ping timeout: 245 seconds]
mwmnj has joined #ruby
hazelux has quit []
<shevy> h00d please ask here in #ruby
<h00d> ok
<h00d> i'm sorry.
<shevy> just ask the question here
<shevy> copy paste it :)
<h00d> if you can see my code and help the identify error, i don't have more ideia
<shevy> wait
bruno- has quit [Ping timeout: 248 seconds]
<shevy> is that the right link
<shevy> should it not be a link to code
towski_ has joined #ruby
<shevy> ok a few comments first
<shevy> try to be consistent in the structure
<shevy> in the code example, your indent levels are not consistent
<shevy> this makes it harder for others to read it
<shevy> look at line 2
<shevy> it should be indented towards the right
<shevy> then a few other things
<shevy> player.mountListPlayer("#{a1}")
<shevy> that should be equal to
<shevy> player.mountListPlayer(a1)
<shevy> right?
dukedave has quit [Ping timeout: 256 seconds]
<h00d> =\
rfv has quit [Ping timeout: 272 seconds]
<h00d> cok
<h00d> ok*
ohaibbq has joined #ruby
<shevy> also
<shevy> you have some weird checks
<shevy> if fragmentedFile.length < 3 || fragmentedFile.length < 5
<shevy> are you testing the same thing essentially here?
<shevy> "less than 3, or less than 5"
justin_pdx has quit [Quit: justin_pdx]
bMalum has joined #ruby
<shevy> you could just check for "less than 5" right? because 3 already is less than 5, so you don't need to check for it again
dukedave has joined #ruby
<shevy> try to make the code as simple as possible
<shevy> also please correct the above ^^^ errors, then update your gist
<h00d> ok
rfv has joined #ruby
quimrstorres has joined #ruby
zorak8 has joined #ruby
bMalum has quit [Ping timeout: 245 seconds]
quimrstorres has quit [Ping timeout: 264 seconds]
A205B064 has joined #ruby
DerisiveLogic has quit [Ping timeout: 248 seconds]
hannahkoala has quit [Quit: My computer has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
mtakkman has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<xxneolithicxx> consistency... crappy coders have as much of that in their code as a geriatrics bowel movements
wwwbukolaycom has quit []
DavidDudson has joined #ruby
jottr has joined #ruby
b1nd has quit [Ping timeout: 264 seconds]
<xxneolithicxx> *not referencing that code i havent even looked at it
<xxneolithicxx> as an example of why thats important... i spent a full week reading a single python script a fellow worker wrote to figure wtf it was doing due to poor indentation and variable usage
<xxneolithicxx> dont be that dude :-)
hannahkoala has joined #ruby
<h00d> if with this you mean I'm on the right track, so cool your comments. I want to learn this language.
<xxneolithicxx> i dunno, i didnt look at the links above was just commenting on what shevy said about indenting and making stuff consistent and easy to read
<xxneolithicxx> in general
grindmodeon has quit [Quit: Leaving.]
jottr has quit [Ping timeout: 248 seconds]
<h00d> ok.
dfinninger has joined #ruby
grindmodeon has joined #ruby
<shevy> h00d did you update your code already?
lessless has quit [Ping timeout: 256 seconds]
<shevy> xxneolithicxx yeah. it may sound trivial or tiny, but I really think when people look at code, it's important to have it be visually appealing too. It always takes me extra time to understand what is going on when things are curiously indented
<h00d> yeah, butI believe that the indentation on github was different to the original design
d10n-work has quit [Quit: Connection closed for inactivity]
paradisaeidae has joined #ruby
iotouch has joined #ruby
pontiki has quit [Ping timeout: 250 seconds]
hmsimha has joined #ruby
moeabdol has joined #ruby
mary5030 has joined #ruby
spicerack has quit [Changing host]
spicerack has joined #ruby
<jud> does anyone use gitflow, or have an opinion on it?
<jud> wait.. and. not or.
<shevy> don't think I know gitflow
mgberlin has quit [Read error: Connection reset by peer]
spicerack has quit [Quit: Textual IRC Client: www.textualapp.com]
mgberlin has joined #ruby
b1nd has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
grindmodeon has quit [Quit: Leaving.]
b1nd has quit [Read error: Connection reset by peer]
grindmodeon has joined #ruby
harisamin has joined #ruby
<jud> my concern right away is my distaste for feature branches, but im wondering if anyone uses this model and likes it
vdamewood has joined #ruby
goggy has joined #ruby
chinmay_dd has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
soypirate has quit [Quit: Leaving]
agent_white has joined #ruby
h00d has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.1/20150402191859]]
longfeet has joined #ruby
mistermocha has quit [Remote host closed the connection]
justin_pdx has joined #ruby
kstuart has joined #ruby
hannahko_ has joined #ruby
hannahkoala has quit [Read error: Connection reset by peer]
user121212 has joined #ruby
dfinninger has quit [Remote host closed the connection]
kstuart_ has quit [Ping timeout: 265 seconds]
<user121212> Hello, I'm running a crawler on a server (Ubuntu 14.04), It was running fine for the last couple of hours, But now it showing some error. http://paste.ubuntu.com/10842578/ any idea about what went wrong here?
Igorshp has joined #ruby
bMalum has joined #ruby
mgberlin has quit [Remote host closed the connection]
mwmnj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quimrstorres has joined #ruby
mwmnj has joined #ruby
<shevy> is there a way to count via cyclic arrays?
Yzguy has quit [Quit: I'm sleeping, go away.]
krisquigley has joined #ruby
bMalum has quit [Ping timeout: 240 seconds]
adamjleonard has quit [Quit: Leaving...]
<harisamin> shevy: so u want a ring buffer basically?
mwmnj has quit [Ping timeout: 264 seconds]
quimrstorres has quit [Ping timeout: 248 seconds]
ponga has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
Igorshp has quit [Remote host closed the connection]
omgdinosaurs has joined #ruby
<omgdinosaurs> anyone here work for airbnb
<omgdinosaurs> ?
krisquigley has quit [Ping timeout: 248 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
lidenskap has quit [Remote host closed the connection]
aryaching has joined #ruby
ramfjord_ has joined #ruby
DavidDudson has joined #ruby
mistermocha has joined #ruby
grindmodeon has quit [Quit: Leaving.]
ponga has quit [Remote host closed the connection]
icebourg has quit []
<xxneolithicxx> i do it manually kinda but i dont use the actual gitflow tool
ponga has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.1/20150402191859]]
<xxneolithicxx> i guess your "distaste" may lie in the enormous number of branches left behind?
a5i has quit [Quit: Connection closed for inactivity]
<xxneolithicxx> gitflow (tool or the feature branching style) itself is not something i would recommend for small projects though
<xxneolithicxx> its overkill
blt has joined #ruby
<xxneolithicxx> its intended for large numbers of people working together so you arent not stepping over each other
kyrylo has joined #ruby
<xxneolithicxx> * are not
user121212 has quit [Quit: Page closed]
grindmodeon has joined #ruby
<xxneolithicxx> user121212 you still there?
ponga has quit [Client Quit]
bkxd has joined #ruby
<xxneolithicxx> anyway in case you check the logs later, check your /etc/hosts and the other /etc/hostname and basically make sure your hostname is set correctly on your ubuntu box and also check your /etc/resolv.conf for DNS resolution. either of those could cause that.
mengu has quit [Remote host closed the connection]
ponga has joined #ruby
Channel6 has joined #ruby
mistermocha has quit [Remote host closed the connection]
markholmes has joined #ruby
cool has joined #ruby
plutonic has quit [Quit: plutonic]
longfeet has quit [Quit: Leaving]
cookiebow has joined #ruby
cookiebow has quit [Client Quit]
lxsameer has joined #ruby
lxsameer has joined #ruby
cookiebow has joined #ruby
cookiebow has quit [Client Quit]
cookiebow has joined #ruby
pcp135_ has joined #ruby
cookiebow has quit [Client Quit]
nemish_ has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
x1337807x has joined #ruby
pcp135 has quit [Ping timeout: 246 seconds]
ramfjord_ has quit [Ping timeout: 252 seconds]
nemish_afk has quit [Ping timeout: 255 seconds]
vickleton has joined #ruby
Cust0sLim3n has quit [Ping timeout: 264 seconds]
avahey has quit [Quit: Connection closed for inactivity]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
oddskill_away is now known as oddskill
dparker1 has joined #ruby
ag4ve_ has quit [Ping timeout: 245 seconds]
ponga has quit [Quit: Leaving...]
lidenskap has joined #ruby
ag4ve_ has joined #ruby
ponga has joined #ruby
emocakes has joined #ruby
<dparker1> does anyone know of a framework (or a combination of them) that'd let you do something like a cisco IOS like shell? (e.g. a interactive shell where you move about in a hierarchy of namespaces each of which have their own commands) I've not so far found anything that does that per-se, so at the moment I'm thinking it might be some combination of gli and highline. Any ideas?
mostlybadfly has joined #ruby
dopie has joined #ruby
Morkel has joined #ruby
bluOxigen has joined #ruby
charliesome has joined #ruby
ponga has quit [Remote host closed the connection]
hannahko_ has quit [Read error: Connection reset by peer]
hannahkoala has joined #ruby
iotouch has joined #ruby
ponga has joined #ruby
mary5030 has joined #ruby
hannahkoala has quit [Client Quit]
<shevy> harisamin yeah sorta
<shevy> would be kinda cool if you could modify the default class Array in ruby, to reposition towards [0] when it is accessed out-of-bounds
bMalum has joined #ruby
Guest64554 has quit [Ping timeout: 276 seconds]
konsolebox has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
RegulationD has joined #ruby
jottr has joined #ruby
bMalum has quit [Ping timeout: 265 seconds]
terlar has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 272 seconds]
zorak8 has quit [Ping timeout: 252 seconds]
emaray2015 has joined #ruby
aryaching has quit []
emaray2015 has left #ruby [#ruby]
byprdct has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
chinmay_dd has quit [Ping timeout: 248 seconds]
moeabdol has joined #ruby
riotjones has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 248 seconds]
Senjai has quit [Ping timeout: 264 seconds]
moeabdol has quit [Ping timeout: 250 seconds]
fedexo has quit [Ping timeout: 245 seconds]
riotjones has quit [Ping timeout: 265 seconds]
cats has joined #ruby
ponga has quit [Remote host closed the connection]
Joufflu has joined #ruby
Channel6 has quit [Quit: Leaving]
zzing has quit [Quit: Textual IRC Client: www.textualapp.com]
Senjai has joined #ruby
DanKnox has quit [Quit: ZNC - http://znc.in]
DanKnox has joined #ruby
bkxd_ has quit [Ping timeout: 252 seconds]
DanKnox has quit [Quit: ZNC - http://znc.in]
bMalum has joined #ruby
DanKnox has joined #ruby
ohaibbq has quit [Quit: Leaving...]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hannahkoala has joined #ruby
qba73 has joined #ruby
hannahkoala has quit [Read error: Connection reset by peer]
tlarevo has joined #ruby
<jhass> jud: we've been using it quite successfully, not always following the naming convention but yeah
<jhass> why don't you like feature branches? that seems silly
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
antgel has joined #ruby
yfeldblum has quit [Remote host closed the connection]
tlarevo_ has joined #ruby
tlarevo_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
tlarevo has quit [Read error: Connection reset by peer]
tlarevo has joined #ruby
ujihisa has quit [Ping timeout: 265 seconds]
qba73 has quit [Ping timeout: 245 seconds]
omgdinosaurs has quit [Ping timeout: 246 seconds]
krisquigley has quit [Ping timeout: 264 seconds]
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 256 seconds]
kstuart_ has joined #ruby
qba73_ has joined #ruby
qba73_ has left #ruby [#ruby]
suffice has joined #ruby
kstuart has quit [Ping timeout: 265 seconds]
quimrstorres has joined #ruby
ValicekB has quit [Read error: No route to host]
iotouch has quit [Quit: This computer has gone to sleep]
markholmes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr has joined #ruby
turtil has joined #ruby
quimrstorres has quit [Ping timeout: 246 seconds]
sagittarian has joined #ruby
n008f4g_ has joined #ruby
<sagittarian> if I want to replace occurences of one string with another (literal string), is String#sub/String#gsub the best way to do that?
<Diabolik> yes
jottr has quit [Ping timeout: 256 seconds]
<sagittarian> okay thanks
markholmes has joined #ruby
ValicekB has joined #ruby
hannahkoala has joined #ruby
bradleyprice has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 252 seconds]
user121212 has joined #ruby
haxrbyte_ has quit [Ping timeout: 245 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
<user121212> @xxneolithicxx thanks, the site I crawl was down for few minutes, that's why its failed.
aswen has joined #ruby
<user121212> I want to write an exception for a crawler, If the url is unavailable, this have to wait until it's site is up, any idea about how to do it?
mengu has joined #ruby
gogik5 has joined #ruby
goggy has quit [Ping timeout: 244 seconds]
roolo has joined #ruby
ponga has joined #ruby
bruno- has joined #ruby
hannahkoala has quit [Read error: Connection reset by peer]
spider-mario has joined #ruby
hannahkoala has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
DavidDudson has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
chridal has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
hannahkoala has quit []
Morkel has quit [Quit: Morkel]
Grok has joined #ruby
iotouch has joined #ruby
Grok has left #ruby [#ruby]
suffice has quit [Quit: leaving]
kaspernj has joined #ruby
gogik5 has quit [Ping timeout: 245 seconds]
grindmodeon has quit [Quit: Leaving.]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
user121212 has quit [Quit: Page closed]
lidenskap has quit [Remote host closed the connection]
RegulationD has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
Grok has joined #ruby
Renich has joined #ruby
Grok has left #ruby [#ruby]
agent_white has quit [Quit: goodnight]
RegulationD has quit [Ping timeout: 245 seconds]
moeabdol has joined #ruby
rkazak has joined #ruby
stef204 has joined #ruby
moeabdol has quit [Client Quit]
CloCkWeRX has joined #ruby
toretore has joined #ruby
quimrstorres has joined #ruby
rippa has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
quimrstorres has quit [Ping timeout: 272 seconds]
bkxd has quit [Ping timeout: 250 seconds]
riotjones has joined #ruby
iotouch has joined #ruby
ponga has quit [Quit: Leaving...]
lkba has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
riotjones has quit [Ping timeout: 245 seconds]
defrang has joined #ruby
<shevy> more code people
<shevy> more code
<shevy> codify the world
<jhass> shevy: unicode is doing so
<jhass> a codepoint for each thing
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mon_Ouie> But not Klingon --- no one would use that ☃
Vile` has quit [Read error: Connection reset by peer]
bMalum_ has joined #ruby
hiyosi has joined #ruby
TheNumb is now known as e^x
<apeiros> Mon_Ouie: I like the klingon mummification glyph
bMalum has quit [Ping timeout: 250 seconds]
bMalum_ is now known as bMalum
Vile` has joined #ruby
e^x is now known as TheNumb
Stalkr_ has joined #ruby
sohrab has quit [Ping timeout: 252 seconds]
terlar has quit [Ping timeout: 240 seconds]
wwwbukolaycom has joined #ruby
emocakes has quit [Quit: Textual IRC Client: www.textualapp.com]
ferr has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
iamninja has joined #ruby
Stalkr^ has joined #ruby
lidenskap has joined #ruby
anaeem1 has quit [Remote host closed the connection]
quimrstorres has joined #ruby
Stalkr_ has quit [Ping timeout: 248 seconds]
mengu has quit [Remote host closed the connection]
<sagittarian> I need a way to get an empty string without using a string literal (don't want to use quotes)
<sagittarian> does anyone have a better idea than nil.to_s?
krisquigley has joined #ruby
<jhass> sagittarian: oO why is that?
<apeiros> sagittarian: odd requirement…
<sagittarian> because it's in a shell script and i want to quote as few things as possible
<apeiros> %{}
<sagittarian> apeiros: nice, thanks
<jud> jhass, i should've clarified, i don't like feature branches in vcs that aren't git
<jhass> jud: mh, okay that I can understand :P
<jhass> git-svn and stuff ftw, at least have them locally, they're essential to my workflow by bow
<jhass> *now
<jud> git-tf :(
lavros has quit [Quit: leaving]
harisamin has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 248 seconds]
bMalum has quit [Quit: bMalum]
Jackneill has joined #ruby
Renich has quit [Quit: leaving]
lavros has joined #ruby
quimrstorres has quit [Remote host closed the connection]
roshanavand has joined #ruby
jottr has joined #ruby
anaeem1_ has joined #ruby
RegulationD has joined #ruby
moeabdol has joined #ruby
digitalextremist has quit [Excess Flood]
ramfjord has joined #ruby
quimrstorres has joined #ruby
bMalum has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
quimrstorres has quit [Remote host closed the connection]
digitalextremist has joined #ruby
lkba has joined #ruby
codefo has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
<apeiros> jhass: what was the name of the other character encoding detection gem (the one which is not chardet)?
<jhass> wan't a gem, but a tool, enca
michael_mbp has quit [Excess Flood]
<apeiros> ok
bkxd has joined #ruby
<apeiros> time to upgrade all my rubies :D
<jhass> :D
michael_mbp has joined #ruby
<jhass> if you're toying around with comparing encoding detection tools, I'd be curious if python-chardet performs any better than the ruby gems
j0n3 has joined #ruby
mengu has joined #ruby
bMalum has quit [Quit: bMalum]
<apeiros> I don't use python. and as said, my chardet experiences were quite bad.
<apeiros> and I'd expect chardet implementations not to deviate much, given that they should use the same algorithm
bMalum has joined #ruby
quimrstorres has joined #ruby
FernandoBasso has joined #ruby
bMalum_ has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Melpaws has joined #ruby
nhhagen has joined #ruby
bMalum has quit [Ping timeout: 246 seconds]
bMalum_ is now known as bMalum
nhhagen has quit [Remote host closed the connection]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
yfeldblum has joined #ruby
nhhagen has joined #ruby
zz_Outlastsheep is now known as Outlastsheep
CloCkWeRX has quit [Ping timeout: 245 seconds]
claptor has quit [Quit: this channel is bakas]
last_staff has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
aswen has quit [Ping timeout: 248 seconds]
quimrstorres has joined #ruby
yfeldblum has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
bruno- has joined #ruby
quimrstorres has quit [Remote host closed the connection]
justin_pdx has quit [Quit: justin_pdx]
quimrstorres has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
markholmes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tlarevo has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
tlarevo has joined #ruby
timonv has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
bMalum has quit [Quit: bMalum]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
lidenskap has quit [Remote host closed the connection]
bMalum has joined #ruby
djellemah has quit [Ping timeout: 276 seconds]
codecop has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Soda has joined #ruby
A205B064 has quit [Ping timeout: 248 seconds]
timonv has quit [Ping timeout: 250 seconds]
rkazak has quit [Quit: Sleep.....ing....]
anaeem1 has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
blt has quit [Ping timeout: 246 seconds]
lxsameer has quit [Quit: Leaving]
towski_ has joined #ruby
anaeem1 has joined #ruby
jvdp11 has quit [Quit: Textual IRC Client: www.textualapp.com]
grindmodeon has joined #ruby
nfk has joined #ruby
amundj has joined #ruby
grindmodeon has quit [Client Quit]
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
grindmodeon has joined #ruby
serivich has joined #ruby
plashchynski has joined #ruby
cool has quit [Quit: Connection closed for inactivity]
j0n3 has quit [Quit: Leaving]
chridal has quit [Quit: WeeChat 1.1.1]
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
diegoviola has quit [Quit: WeeChat 1.1.1]
bMalum has quit [Quit: bMalum]
yfeldblu_ has joined #ruby
yfeldbl__ has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
jimms has joined #ruby
roshanavand has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 245 seconds]
iamninja has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby
afrianska has joined #ruby
revoohc has quit [Quit: revoohc]
plashchynski has quit [Quit: plashchynski]
grindmodeon has quit [Quit: Leaving.]
towski_ has quit [Remote host closed the connection]
NotBlack has joined #ruby
<NotBlack> yaw
<NotBlack> where yall at
NotBlack was kicked from #ruby by ChanServ [Banned: troll, bad mannered (curiousdude/deathcode)]
plashchynski has joined #ruby
CloCkWeRX has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<apeiros> nice
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<apeiros> a bit slow, but nice
anaeem1 has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
<jhass> apeiros: uh? new plugin?
<apeiros> no, chanserv's AKICK kicking in :)
<jhass> oh, they reused IP?
grindmodeon has joined #ruby
<apeiros> seems like
<apeiros> so either a smallish botnet, or too lazy to pick a new ip :)
ag4ve_ has quit [Ping timeout: 245 seconds]
<apeiros> reminds me - I should check ruboto's logs, for whether they tried to hack it
Aswebb_ has joined #ruby
vim_shimm has joined #ruby
kaspernj has quit [Remote host closed the connection]
ag4ve_ has joined #ruby
<gr33n7007h> who created ruboto ?
<gr33n7007h> you apeiros
<gr33n7007h> ?
<apeiros> gr33n7007h: I wrote parts of it
<gr33n7007h> nice :)
<gr33n7007h> cinch by any chance
<apeiros> check its whois ;-)
grindmodeon has quit [Quit: Leaving.]
<apeiros> nice, bloomfilter-rb has proper serialization. so actually my idea for an encoding detector could work out just fine…
<afrianska> I newbie, i want to learning #Ruby but difficult to start up. anyone can help me?
<apeiros> afrianska: tell us more about your problem and we will try to help
vim_shimm has quit [Ping timeout: 248 seconds]
roolo has quit [Remote host closed the connection]
davedev2_ has quit [Remote host closed the connection]
grindmodeon has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mostlybadfly has quit [Quit: Connection closed for inactivity]
Ikri has quit [Quit: No Ping reply in 180 seconds.]
quimrstorres has joined #ruby
<gr33n7007h> loverrrly
Ikri has joined #ruby
<apeiros> I'd be happy if somebody could proofread this article: https://gist.github.com/apeiros/39acc5b486f932403638 - it's intended for the ruby-community.com website
j0n3 has joined #ruby
grindmodeon has quit [Client Quit]
sdothum has joined #ruby
bruno- has joined #ruby
chinmay_dd has joined #ruby
Hounddog has joined #ruby
DeathRipper4 has joined #ruby
DeathRipper4 has quit [Disconnected by services]
lidenskap has joined #ruby
govg has joined #ruby
bMalum has joined #ruby
<afrianska> apeiros: ok thanks. i'm very newbie. how to start to learn ?
krisquigley has joined #ruby
sankaber has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
<apeiros> afrianska: google for ruby tutorial. there are various resources. e.g. https://pine.fm/LearnToProgram/ or http://exercism.io
Hounddog has quit [Ping timeout: 240 seconds]
<shevy> afrianska do you know a programming language already?
lidenskap has quit [Ping timeout: 264 seconds]
last_staff has quit [Ping timeout: 244 seconds]
Hounddog has joined #ruby
krisquigley has quit [Ping timeout: 244 seconds]
govg has quit [Ping timeout: 248 seconds]
anaeem1_ has joined #ruby
nfk has quit [Quit: yawn]
anaeem1_ has quit [Read error: Connection reset by peer]
<afrianska> apeiros: thanks, i will try it. :)
apoplexy has quit [Ping timeout: 276 seconds]
<apeiros> afrianska: also check http://ruby-community.com/pages/links
jottr has joined #ruby
Soda has quit [Remote host closed the connection]
plashchynski has quit [Quit: plashchynski]
RegulationD has joined #ruby
<afrianska> shevy: yes, just a little. i'm ever learning programing language : pascal, vb, php. but not until expert and just know.
<shevy> ok, so you know php
<shevy> ruby and php have a similar family niche
<shevy> afrianska work through this here first: https://pine.fm/LearnToProgram/
<shevy> also, install ruby locally and make use of "irb" a lot
<gr33n7007h> or pry :)
jottr has quit [Ping timeout: 250 seconds]
<shevy> yeah does not matter, the important thing is that he gets into the habit of testing ruby code live
jimms_ has joined #ruby
jimms has quit [Read error: Connection reset by peer]
bMalum has quit [Quit: bMalum]
<gr33n7007h> shevy: :)
scripore has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
<shevy> I mean he knows php, he should even be able to run ruby .cgi files too
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gr33n7007h> depending on his skill-fu :)
DEA7TH has joined #ruby
<gr33n7007h> or hers
kirun has joined #ruby
<afrianska> shevy: i have ruby. i have try Rails, but i think must first learning ruby.
diegoviola has joined #ruby
<afrianska> for basic
<gr33n7007h> I always suggest (pry) as it learns you proper use of indentation amongst many other factors
mgorbach has quit [Read error: Connection reset by peer]
mgorbach has joined #ruby
n008f4g_ has joined #ruby
govg has joined #ruby
<gr33n7007h> milk, can't get enough of the stuff
codecop has quit [Remote host closed the connection]
lordkryss has joined #ruby
dstarh has joined #ruby
jimms_ has quit [Read error: Connection reset by peer]
jimms has joined #ruby
wwwbukolaycom has quit [K-Lined]
CloCkWeRX has left #ruby [#ruby]
<apeiros> gr33n7007h: I can. at around 2L/d ;-)
<gr33n7007h> apeiros: 2L/d that's on par with me :)
plashchynski has joined #ruby
<apeiros> gr33n7007h: I usually drink less. but that's about the limit. I think I drink about 0.5-0.7L/d on average
OrbitalKitten has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<gr33n7007h> apeiros: on a good day I can drink easy 6 pints, but an ample amount each day got to be 2..3 pints
<gr33n7007h> nothing wrong with a bit of milk in your diet ;)
OrbitalKitten has quit [Client Quit]
stef204 has quit [Ping timeout: 256 seconds]
ponga has joined #ruby
yeticry has quit [Ping timeout: 248 seconds]
C1V0 has joined #ruby
<gr33n7007h> or if I'm not drinking milk I'm drinking Kia-Ora orange squash (don't know if you have that where you live) but It's god damn nice :)
kbarry has quit [Ping timeout: 255 seconds]
serivich has quit [Ping timeout: 244 seconds]
aef_ has quit [Remote host closed the connection]
aef has joined #ruby
jottr has joined #ruby
yeticry has joined #ruby
grindmodeon has joined #ruby
plashchynski has quit [Quit: plashchynski]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
serivich has joined #ruby
<gr33n7007h> >> class Foo; attr_accessor :arg1; def initialize; yield self; end; end; Foo.new { |f| f.arg1 = "foo" }
<ruboto> gr33n7007h # => #<Foo:0x417afd64 @arg1="foo"> (https://eval.in/315329)
<gr33n7007h> good ruboto :)
<gr33n7007h> anyway chow for now
<gr33n7007h> got things to do, people to see
grindmodeon has quit [Quit: Leaving.]
plashchynski has joined #ruby
DerisiveLogic has joined #ruby
GeorgeThompson has joined #ruby
Feyn has joined #ruby
plutonic has joined #ruby
C1V0 has quit []
decoponio has joined #ruby
OrbitalKitten has joined #ruby
chipotle_ is now known as chipotle
stef204 has joined #ruby
MXfive has joined #ruby
elaptics_away is now known as elaptics
bricker has quit [Ping timeout: 256 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
naztharune_ has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
plashchynski has quit [Quit: plashchynski]
vudew has joined #ruby
psmolen has quit [Ping timeout: 245 seconds]
hs366 has joined #ruby
psmolen has joined #ruby
plashchynski has joined #ruby
chinmay_dd has quit [Ping timeout: 240 seconds]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
cefkamcau has joined #ruby
MXfive has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
naztharune_ has quit [Quit: naztharune_]
OrbitalKitten has joined #ruby
Vile` has quit [Ping timeout: 264 seconds]
hs367 has joined #ruby
iotouch has joined #ruby
tlarevo_ has joined #ruby
plashchynski has quit [Quit: plashchynski]
tlarevo has quit [Ping timeout: 272 seconds]
OrbitalKitten has quit [Client Quit]
jgorak__ has left #ruby ["Leaving"]
RegulationD has joined #ruby
plashchynski has joined #ruby
dyce has quit [Ping timeout: 256 seconds]
anaeem1_ has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
aswen has joined #ruby
freerobby has joined #ruby
afrianska has quit [Remote host closed the connection]
MXfive has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
crdpink has quit [Excess Flood]
The_Phoenix has quit [Read error: Connection reset by peer]
crdpink has joined #ruby
plashchynski has quit [Quit: plashchynski]
Narzew has joined #ruby
thenickless has joined #ruby
thenickless has quit [Read error: Connection reset by peer]
thenickless has joined #ruby
pika_pika has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
Azure has quit [Quit: Blue Sky Fish]
anaeem1_ has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
plashchynski has joined #ruby
plashchynski has quit [Client Quit]
plutonic has quit [Quit: plutonic]
duncannz has quit [Remote host closed the connection]
plashchynski has joined #ruby
quimrstorres has quit [Remote host closed the connection]
anaeem1 has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enebo has joined #ruby
quimrstorres has joined #ruby
kalz has quit [Ping timeout: 256 seconds]
jimms has quit [Remote host closed the connection]
tlarevo_ has quit [Remote host closed the connection]
tlarevo has joined #ruby
codefo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
antgel has quit [Ping timeout: 244 seconds]
eshiffob has joined #ruby
haxrbyte has joined #ruby
Hounddog has quit [Remote host closed the connection]
workmad3 has joined #ruby
cefkamcau has quit [Ping timeout: 264 seconds]
iotouch has joined #ruby
nhhagen has quit []
jimms has joined #ruby
phutchins has joined #ruby
thenickless is now known as naztharune
ramfjord has quit [Ping timeout: 272 seconds]
yfeldbl__ has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
krisquigley has joined #ruby
revoohc has joined #ruby
kalz has joined #ruby
<dparker1> does anyone know of a framework (or a combination of them) that'd let you do something like a cisco IOS like shell? (e.g. a interactive shell where you move about in a hierarchy of namespaces each of which have their own commands) I've not so far found anything that does that per-se, so at the moment I'm thinking it might be some combination of gli and highline. Any ideas?
krisquigley has quit [Ping timeout: 276 seconds]
Soda has joined #ruby
codefo has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
aswen has quit [Ping timeout: 248 seconds]
Vile` has joined #ruby
hollywood has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
phutchins has quit [Ping timeout: 244 seconds]
iotouch has joined #ruby
phutchins has joined #ruby
chinmay_dd has joined #ruby
plashchynski has quit [Quit: plashchynski]
FooMunki has joined #ruby
cefkamcau has joined #ruby
iotouch has quit [Client Quit]
plashchynski has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
lidenskap has joined #ruby
eshiffob has quit [Ping timeout: 240 seconds]
codefo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
revoohc has quit [Quit: revoohc]
moeabdol has quit [Read error: Connection reset by peer]
thumpba_ has joined #ruby
RegulationD has joined #ruby
lidenskap has quit [Ping timeout: 265 seconds]
Igorshp has joined #ruby
anaeem1 has quit [Remote host closed the connection]
jimms has quit [Ping timeout: 272 seconds]
moeabdol has joined #ruby
freerobby has quit [Quit: Leaving.]
thumpba has quit [Ping timeout: 250 seconds]
GeorgeThompson has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has quit [Ping timeout: 245 seconds]
tvw has joined #ruby
Igorshp has quit [Ping timeout: 256 seconds]
scripore has quit [Quit: This computer has gone to sleep]
plashchynski has quit [Quit: plashchynski]
freerobby has joined #ruby
gaboesquivel has joined #ruby
n008f4g_ has joined #ruby
plashchynski has joined #ruby
freerobby has quit [Client Quit]
vim_shimm has joined #ruby
chinmay_dd has left #ruby ["Leaving"]
plashchynski has quit [Client Quit]
plashchynski has joined #ruby
jimms has joined #ruby
ferr has quit [Remote host closed the connection]
jottr has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
ph8 has quit [Ping timeout: 272 seconds]
CloCkWeRX has left #ruby [#ruby]
<apeiros> (asked earlier already) I'd be happy if somebody could proofread this article: https://gist.github.com/apeiros/39acc5b486f932403638 - it's intended for the ruby-community.com website
elaptics is now known as elaptics_away
scripore has joined #ruby
WildBamboo-Josh has quit [Read error: Connection reset by peer]
WildBamboo-Josh has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Cust0sL1men has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
Cust0sL1men has joined #ruby
leitz has joined #ruby
Feyn has quit [Quit: Leaving]
<leitz> Is there a way to numerically sort alpha-numeric strings? So "V-900" comes before "V-1000"?
<apeiros> leitz: that's called natural sorting, and yes, that can be done
<apeiros> let me see, I have a gist somewhere to do that
<apeiros> hm, I only find the complex one right now which uses sort_by
Igorshp has joined #ruby
<FernandoBasso> for i in 1..5 { puts i } Why does it give me "unexpected {" ?
<leitz> So far the easiest seems to be removing the "V-" bits, sorting, and then rebuilding.
elaptics_away is now known as elaptics
<apeiros> well, sort_by { |v| v.scan(/\d+|\D+/).map { |s| Integer(s, 10) rescue s } }
<apeiros> I think that should work
<apeiros> there are probably better ways
<jhass> FernandoBasso: because it's invalid syntax, you want (1..5).each do {|i| puts i } or yet better 1.upto(5) {|i| puts i }
dfinninger has joined #ruby
<FernandoBasso> Ah, so blocks with { } can't be applied passed to for, but they can be passed to each.
<leitz> Ah, apeiros, there's a "natrualsort" gem. Let me play with that.
<apeiros> reminds me that I wanted to add that to my `sorting` gem ages ago…
<apeiros> *sob*
shadowfax has joined #ruby
shadowfax has quit [Max SendQ exceeded]
<FernandoBasso> jhass: Thanks.
bricker has joined #ruby
dfinninger has quit [Ping timeout: 250 seconds]
shadowfax has joined #ruby
shadowfax has quit [Max SendQ exceeded]
<jhass> FernandoBasso: or in general, they can be passed to method calls, but not to control flow statements
<FernandoBasso> Okay. Nicely put.
<jhass> FernandoBasso: and you just discovered one of the reasons why for is considered not idiomatic and generally avoided ;)
<FernandoBasso> Indeed :)
jimms has quit [Ping timeout: 250 seconds]
shadowfax has joined #ruby
shadowfax has quit [Max SendQ exceeded]
bricker has quit [Ping timeout: 256 seconds]
tlarevo has quit []
<leitz> Well, that's a bummer. I sorted the array after removing the "V-". If I "puts array" it shows in numeric order. Using array..each do "write to file" puts them back in non-natural order.
<apeiros> leitz: you probably used sort/sort_by and not sort!/sort_by!
Crisix has joined #ruby
<apeiros> those return a sorted copy. they don't sort in-place.
<leitz> Hmm...maybe I need more coffee. It works now.
sevenseacat has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
mgberlin has joined #ruby
govg has quit [Quit: leaving]
dfinninger has joined #ruby
shadowfax has joined #ruby
Spami has joined #ruby
shadowfax has quit [Max SendQ exceeded]
pcp135_ has quit [Read error: Connection reset by peer]
dfinninger has quit [Remote host closed the connection]
dfinninger has joined #ruby
diego3 has joined #ruby
mitchellhenke has joined #ruby
<jhass> leitz: want a style review? ;)
mgberlin has quit [Remote host closed the connection]
diego3 has quit [Changing host]
diego3 has joined #ruby
diegoviola is now known as Guest54151
diego3 is now known as diegoviola
Guest54151 has quit [Ping timeout: 256 seconds]
dfinninger has quit [Ping timeout: 255 seconds]
ndrei has quit [Ping timeout: 250 seconds]
<jhass> leitz: or just the three line version of your script? :P
<sevenseacat> lol
<jhass> the later I guess then, here you go: SOURCE = ARGV[0]; TARGET = File.join "new", SOURCE; File.write TARGET, File.readlines(SOURCE).sort_by {|vid| vid[/\d+/].to_i }.join
davedev24_ has joined #ruby
Conner_A has joined #ruby
a5i has joined #ruby
mgberlin has joined #ruby
gaboesquivel has quit [Remote host closed the connection]
hs367 has quit [Quit: Leaving]
Soda has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
bkulbida has joined #ruby
sgambino has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
blt has joined #ruby
mitchellhenke has quit [Ping timeout: 248 seconds]
blt has quit [Changing host]
blt has joined #ruby
ebbflowgo has joined #ruby
krisquigley has joined #ruby
havenwood has joined #ruby
plashchynski has quit [Quit: plashchynski]
Melpaws has quit [Ping timeout: 245 seconds]
blt has quit [Ping timeout: 276 seconds]
<shevy> do people become wiser as they grow older?
krisquigley has quit [Ping timeout: 256 seconds]
rgb-one has joined #ruby
<shevy> when I compared old Alan Kay lectures with newer ones... I don't know if the newer ones are qualitatively not as good... or whether it may be because he got older, naturally, or perhaps lacks energy, but the old lectures seem so much better compared to the newer ones :(
<shevy> same thing with noam chomsky... though in his case, his voice significantly changed and got weaker so it's not as cool to listen to him anymore
nyuszika7h has quit [Ping timeout: 272 seconds]
Parker0 has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
blt has joined #ruby
haxrbyte has quit [Remote host closed the connection]
mitchellhenke has joined #ruby
Yzguy has joined #ruby
Zamerick__ has quit [Read error: Connection reset by peer]
Yzguy has quit [Client Quit]
tubuliferous_ has quit [Ping timeout: 252 seconds]
doodlehaus has joined #ruby
Parker0 has quit [Ping timeout: 250 seconds]
nyuszika7h has joined #ruby
thumpba_ has quit [Ping timeout: 255 seconds]
ebbflowgo has joined #ruby
jottr has joined #ruby
ebbflowgo has left #ruby [#ruby]
mitchellhenke has quit [Ping timeout: 256 seconds]
plashchynski has joined #ruby
krz has joined #ruby
ebbflowgo has joined #ruby
doodlehaus has quit [Remote host closed the connection]
fwaokda_ has joined #ruby
MyGreenP1 has joined #ruby
kblake has joined #ruby
mitchellhenke has joined #ruby
FernandoBasso has quit [Quit: leaving]
jimms has joined #ruby
aninaki has joined #ruby
dseitz has joined #ruby
Igorshp has quit [Remote host closed the connection]
RegulationD has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
ujihisa has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
rbennacer has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Igorshp has joined #ruby
Igorshp has quit [Remote host closed the connection]
Igorshp has joined #ruby
thatslifeson_ has joined #ruby
rbennacer has quit [Client Quit]
defrang has quit [Quit: defrang]
Igorshp has quit [Remote host closed the connection]
<Narzew> Know anyone quick method to remove all HTML from string (normal Ruby, non-rails)
<Narzew> ?
<havenwood> String#clear
Conner_A has quit [Ping timeout: 272 seconds]
speakingcode has joined #ruby
<jhass> haha
<jhass> does REXML parse HTML? I don't know
<jhass> I'd use nokogiri I guess
blt has quit [Read error: Connection reset by peer]
<jhass> or .gsub /<[^>]+>/, "" if it doesn't need to handle all edge cases
blt has joined #ruby
soxet has quit [Read error: Connection reset by peer]
<Narzew> I need to clear some advanced HTML (a tags) for example <a href="example.com>Example</a> I want to convert to Example
<apeiros> Narzew: Nokogiri.HTML(raw).text
ringarin has joined #ruby
<jhass> >> '<a href="example.com>Example</a>'.gsub /<[^>]+>/, ""
<ruboto> jhass # => "Example" (https://eval.in/315391)
<jhass> just sayin'
<apeiros> one bad comment and it all goes to dust
AndyBotwin has joined #ruby
<jhass> sure
<apeiros> and sgml comment rules are fucked up. not too many people know about "--" f.ex.
mitchellhenke has quit [Ping timeout: 252 seconds]
<jhass> count me to them
workmad3 has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
Channel6 has joined #ruby
robustus|Off has joined #ruby
robustus|Off is now known as robustus
leitz has quit [Quit: Nappy time]
ismaelga has joined #ruby
ArchRogem has joined #ruby
<certainty> %x{echo '#{thestring}' |html2text}.strip
<certainty> *scnr*
<adaedra> o_o
<adaedra> that’s it, I stop programmation, I’ll be a goat in Nepal
enebo has quit [Quit: enebo]
ndrei has joined #ruby
<certainty> xD
gaboesquivel has joined #ruby
<sevenseacat> lol
blt has quit [Read error: Connection reset by peer]
blt has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
doodlehaus has joined #ruby
kobain has quit [Max SendQ exceeded]
aninaki has quit [Quit: leaving]
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
aninaki has joined #ruby
oo_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
sevenseacat has quit [Quit: Me dun like you no more.]
blt has left #ruby ["WeeChat 1.1.1"]
banister has joined #ruby
speakingcode has quit [Remote host closed the connection]
Guest28443 has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
apoplexy has joined #ruby
Spami has joined #ruby
m0r0n has joined #ruby
<nickjj> anyone having issues with rubygems?
<nickjj> timeouts galore today
<havenwood> nickjj: no problems here
<nickjj> i just had 3 builds fail in a row due to timeouts at various different gems
banister has quit [Read error: Connection reset by peer]
Matachines has joined #ruby
mitchellhenke has joined #ruby
<havenwood> nickjj: what's it timing out on? tried with --debug?
Guest86976 is now known as Gilgamesh
<nickjj> Gem::RemoteFetcher::FetchError: Errno::ETIMEDOUT: Connection timed out - connect(2) for "bb-m.rubygems.org" port 443 (https://rubygems.org/gems/mime-types-2.4.3.gem)
doodlehaus has quit [Remote host closed the connection]
<nickjj> i haven't, it's being bundle installed on a docker build server
justin_pdx has joined #ruby
mitchel__ has joined #ruby
emptyflask has joined #ruby
barburu has joined #ruby
barburu has quit [Client Quit]
mitchellhenke has quit [Ping timeout: 272 seconds]
<havenwood> nickjj: you might want to give #rubygems a heads up. if it's a reproducible problem in your region they might remove that mirror or something along those lines.
<nickjj> havenwood, i'm trying to figure out where the build server is hosted now to see its region
<nickjj> probably somewhere in the US or canada, but can't say for sure
tvw has quit [Ping timeout: 244 seconds]
<havenwood> nickjj: you might be able to get around it by setting the hosts file for that domain to the ip, if that's an option. dunno why it's happening.
pika_pika has quit [Ping timeout: 245 seconds]
<nickjj> it ended up working on the 5th try, i can't touch the host doing the building (it's a cloud based service)
vim_shimm has quit [Ping timeout: 240 seconds]
<havenwood> hopefully a just a temporary hiccup!
<nickjj> yeah it is, my gemfile hasn't changed. it worked ~30 times in a row over the last week
plashchynski has quit [Quit: plashchynski]
ag4ve_ has quit [Ping timeout: 245 seconds]
apoplexy has quit [Ping timeout: 256 seconds]
ag4ve_ has joined #ruby
byprdct has joined #ruby
<Narzew> ruboto: Thanks for the method, worked fine on my code
rhg135 has quit [Changing host]
rhg135 has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sgambino has joined #ruby
ujihisa has quit [Ping timeout: 255 seconds]
sankaber has joined #ruby
bricker has joined #ruby
mloveless has joined #ruby
riotjones has joined #ruby
doodlehaus has joined #ruby
endash has joined #ruby
weemsledeux has joined #ruby
hdelgl has joined #ruby
bricker has quit [Ping timeout: 245 seconds]
riotjones has quit [Ping timeout: 250 seconds]
mengu has quit []
lavros has quit [Ping timeout: 264 seconds]
kbarry has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
lavros has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
<ytti> 17:26 < tphakala> Man with last name “Null” is ruining everyone’s systems! http://t.co/Z1urOoC9vM <stackoverflow.com/questions/4456…>
dideler has joined #ruby
<ytti> slightly related, i hate how 'obvious' way to fork external programs in ruby and every other language i know off, is with shell expansion
mitchel__ has quit [Quit: Textual IRC Client: www.textualapp.com]
scripore has joined #ruby
mary5030 has joined #ruby
plashchynski has joined #ruby
<ytti> i fell like the obvious commands should be without shell expansaion, just method(binary, arg1, arg2, arg3...)
jimms has quit [Remote host closed the connection]
<ytti> in most cases people don't seem to need shell expansion, but don't know how to do it without it, and end up creating unnecessary bugs
doodlehaus has quit [Remote host closed the connection]
stef204 has quit [Ping timeout: 250 seconds]
aphprentice has quit [Read error: Connection reset by peer]
lukec has joined #ruby
jimms has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
gaboesquivel has quit [Remote host closed the connection]
mattp__ is now known as mattp
FernandoBasso has joined #ruby
rshetty has joined #ruby
bigmac__ has joined #ruby
kblake has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 276 seconds]
fwaokda_ has quit [Ping timeout: 245 seconds]
scripore has quit [Quit: This computer has gone to sleep]
dopie has quit [Ping timeout: 272 seconds]
bigmac_ has quit [Ping timeout: 248 seconds]
elaptics is now known as elaptics_away
defrang has joined #ruby
lukec has quit [Quit: lukec]
krisquigley has joined #ruby
Joufflu has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Spami has joined #ruby
Spami has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
sohrab has joined #ruby
Spami has joined #ruby
bim has joined #ruby
bim is now known as Guest33212
kblake has joined #ruby
rgb-one has left #ruby [#ruby]
kblake has quit [Remote host closed the connection]
ponga has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
<giuseppesolinas> hello
<havenwood> giuseppesolinas: hi
amdbcg has joined #ruby
Guest33212 has quit [Ping timeout: 246 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lukec has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
<rshetty> giuseppesolinas: Hi
workmad3 has joined #ruby
gsd has joined #ruby
<giuseppesolinas> no questions for you guys today, sorry ^^
rkazak has joined #ruby
scripore has joined #ruby
zorak8 has joined #ruby
aninaki has quit [Quit: leaving]
banister has joined #ruby
moeabdol has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 245 seconds]
lidenskap has joined #ruby
jimms_ has joined #ruby
moeabdol has joined #ruby
jimms has quit [Ping timeout: 244 seconds]
centrx has joined #ruby
gaboesquivel has joined #ruby
hdelgl has quit [Remote host closed the connection]
sgambino has joined #ruby
djellemah has joined #ruby
turtil has quit [Ping timeout: 246 seconds]
lidenskap has quit [Ping timeout: 244 seconds]
Stalkr^ has quit [Quit: Leaving...]
RegulationD has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
serivich has quit [Ping timeout: 240 seconds]
lukec has quit [Quit: lukec]
ndrei has joined #ruby
Crisix has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Crisix has joined #ruby
justin_pdx has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
lukec has joined #ruby
icebourg has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
grindmodeon has joined #ruby
mloveles_ has joined #ruby
ringarin has quit [Ping timeout: 250 seconds]
lukec has quit [Quit: lukec]
fungoat has joined #ruby
mloveless has quit [Ping timeout: 265 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
<atmosx> aloha
gaboesquivel has quit [Remote host closed the connection]
* atmosx Barry white - You see the trouble with me (remix)
revoohc has joined #ruby
roolo has joined #ruby
mloveles_ has quit [Ping timeout: 264 seconds]
fungoat has quit [Client Quit]
centrx has quit [Quit: Shutting down, Please wait...]
revoohc has quit [Client Quit]
grindmodeon has quit [Quit: Leaving.]
zacts has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Spami has quit [Quit: This computer has gone to sleep]
iq has joined #ruby
lukequaint has joined #ruby
Spami has joined #ruby
jimms_ has quit [Ping timeout: 245 seconds]
MyGreenP1 has quit [Ping timeout: 264 seconds]
DerisiveLogic has quit [Remote host closed the connection]
crazydiamond has joined #ruby
mloveless has joined #ruby
DrCode has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
serivich has joined #ruby
sankaber has joined #ruby
zz_Outlastsheep is now known as Outlastsheep
charliesome has joined #ruby
Igorshp has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
ndrei has quit [Ping timeout: 246 seconds]
mloveless has quit [Remote host closed the connection]
banister has quit [Ping timeout: 250 seconds]
exadeci has joined #ruby
mloveless has joined #ruby
bim has joined #ruby
freerobby has joined #ruby
ismaelga has quit [Remote host closed the connection]
bim is now known as Guest92436
markholmes has joined #ruby
plashchynski has quit [Quit: plashchynski]
ndrei has joined #ruby
Guest92436 has quit [Remote host closed the connection]
colorisco has joined #ruby
ismaelga has joined #ruby
racest has joined #ruby
<racest> is learning ruby gay?
plashchynski has joined #ruby
<jhass> racest: not very creative, try again (or better don't, then you're gone)
mloveless has quit [Ping timeout: 256 seconds]
<racest> what jhass ???
<jhass> pretty dumb troll attempt there, I say
iq has quit [Quit: Leaving]
<racest> no i'm serious i told my friend that i want to learn ruby and he said that's gay
<Outlastsheep> ....What.
<jhass> then your friend is plain stupid
<jhass> get better friends
<Outlastsheep> Agreed. I don't get how a language can have a sexual preference :L
* Coraline is gay, that explains everything
<jhass> using gay as curse word in itself is pretty stupid already
<Outlastsheep> Lemme guys, he 'codes' in HTML?
<Outlastsheep> Or does he say he's a 'big boy' and exclusively does C++?
ismaelga has quit [Ping timeout: 245 seconds]
<jhass> hey, let's not feed
MyGreenP1 has joined #ruby
<jhass> racest: any other topic?
<Outlastsheep> Oh yeah, apologies.
ponga has joined #ruby
<racest> he codes in something called assembly... i have no idea what that is though
<jhass> anything that doesn't involve your "friend"?
emptyflask has quit [Remote host closed the connection]
<racest> he is my friend because we go to school together and hangout sometimes, but i never seen him in front of a computer doing stuff, but he did get expelled for changing his grades
<certainty> i know gay ruby programmers. I might ask them if ruby made them gay
<certainty> i doubt it though
tvw has joined #ruby
<racest> certainty: please don't take the word gay out of context.... gay means not cool
crdpink has joined #ruby
<certainty> racest: i see
<racest> like the car gti is gay because everyone in my school has one
crdpink2 has quit [Ping timeout: 245 seconds]
emptyflask has joined #ruby
<Outlastsheep> ...O...kay?
<jhass> racest: get better friends. People that use it like that are not worth the effort of a relationship
<racest> what do you mean?
lavros has quit [Quit: leaving]
<racest> use what like that?
Guest64554 has joined #ruby
<racest> also school is gay
<jhass> gay as a curse word/degrading description
<racest> i think that's the best way to put it
<racest> jhass: everyone uses gay this way
<mozzarella> you guys don't know how to recognize a troll
<jhass> everyone liked killing jews when hitler was our leader here. So it's a good thing?
ponga has quit [Ping timeout: 252 seconds]
mitchellhenke has joined #ruby
<jhass> mozzarella: nothing's interrupted ;)
<certainty> racest: well as you already said gay is equivalent to "not cool" for you. so you can easily replace the word gay with the words "not cool" in all your sentences and you're done :)
bricker has joined #ruby
<certainty> then you have a better way to put it, i mean
<racest> well they said that the holocaust was a lie, according to leading scientists(they said that the holocaust didn't happen the way they claim)
<racest> certainty: but gay is so much shorter and much more elegant
ozialien has joined #ruby
<Outlastsheep> racest:...'elegant' is your opinion there.
<Outlastsheep> Shorter, sure. But what does that say?
<jhass> !kick racest no absurd conspiracy theories, strike two
racest was kicked from #ruby by ruboto [no absurd conspiracy theories, strike two]
<certainty> also i'm the official troll here. This channel is too small for the two of us
Igorshp has quit [Remote host closed the connection]
racest has joined #ruby
<Outlastsheep> certainty: played too much Skyrim? :L
<certainty> xD
<racest> what is an absurd conspiracy theory?
Igorshp has joined #ruby
<jhass> you know damn right
<Outlastsheep> I should probably consider actually /programming/ in Ruby soon-ish...
MyGreenP1 has quit [Ping timeout: 250 seconds]
ndrei has quit [Ping timeout: 250 seconds]
<jhass> er, s/right/well/
<certainty> Outlastsheep: nah, that's overrated
<Outlastsheep> I learnt the whole language. But for some reason I haven't gotten around to writing anything in it.
<certainty> heh i doubt you learned it then
<Outlastsheep> certainty: I know how to use it... mostly.
bruno- has joined #ruby
<Outlastsheep> But yeah, people say learning comes from experience.
<Outlastsheep> My first language was lua. And I didn't know about the existence of 'for' loops until 2 months after I started.
<certainty> well in the case of programming is has a lot to do with actually practicing/doing it. At least for me.
* Outlastsheep groans at the memories of his first program.
<jhass> Outlastsheep: http://exercism.io, do a few of them
<jhass> if you lack ideas
<Outlastsheep> I read two chapters of the manual, and then I got /so/ excited that I just started whacking down stuff in the most horrible way ever.
<Outlastsheep> jhass: http://RosettaCode.org is good too.
<Outlastsheep> But my code is fine now. At least, in Lua...
bricker has quit [Ping timeout: 272 seconds]
AlphaAtom has joined #ruby
<jhass> Outlastsheep: no, that's something quite different
tubuliferous_ has joined #ruby
<Outlastsheep> The link didn't load for me yet, I assumed it was coding exercises.
<jhass> loads finehere
crdpink has quit [Ping timeout: 245 seconds]
<Outlastsheep> jhass: my slow internet. I'm sharing this with 18 other buildings...
tvw has quit [Ping timeout: 255 seconds]
Igorshp has quit [Ping timeout: 256 seconds]
<racest> so is your definition of a proper evidence eye witness testimony? (without scientific evidence to back up claims)
<jhass> and yes it's exercises
haxrbyte has joined #ruby
<jhass> racest: stop it
crdpink has joined #ruby
crdpink has quit [Client Quit]
<racest> i'm serious jhass
<jhass> as am I
crdpink has joined #ruby
<jhass> we're not going to debate here whether holocaust was real. Next time you try you're gone for good
<racest> where is the zyklon b trace in bones and did the ashes and bones of millions of people that were involved in the "genocide" just disappear?
<racest> it's not a debate
<racest> just look at the facts
<racest> that's all
Rapier- has quit [Quit: (null)]
<jhass> !ban racest !T 1d nazi/troll
racest was kicked from #ruby by ChanServ [Banned: nazi/troll]
<Outlastsheep> Now that that's sorted out, where were we?
<jhass> Outlastsheep: rossettacode compares languages, exercism.io gives you exercises and reviews of your solution
<Outlastsheep> jhass: Rosettacode are exercises too :L "You are encouraged to /solve this problem/ in any language you know." c:
<Outlastsheep> You can use it to compare too, though.
tvw has joined #ruby
AndyBotwin has quit [Remote host closed the connection]
<jhass> eh well, yeah, exercism.io won't show you other solutions until you saved it ;)
<jhass> er, *solved it
<Outlastsheep> We had a bot in this channel who would actually edit your messages when you used RegEx...
<Outlastsheep> I say 'fix', he just really repeats it with the change made.
<jhass> sounds annoying
pacMakaveli has joined #ruby
colorisco has quit [Quit: colorisco]
<Outlastsheep> There were only like, two people using it, luckily.
mitchellhenke has quit [Ping timeout: 265 seconds]
_blizzy_ has quit [Ping timeout: 245 seconds]
freerobby has quit [Quit: Leaving.]
<Outlastsheep> Y'know, Ruby's channel seems a lot more friendlier :L
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* atmosx Dire Straits - Your Latest Trick (Live)
<atmosx> I need to learn the saxophone just to play this tune.
<atmosx> Outlastsheep: you agree?
<atmosx> Outlastsheep: ruby and saxophone, what a life.
<Outlastsheep> atmosx: someone should write Vertigo for Ruby.
<atmosx> hehe
workmad3 has quit [Ping timeout: 246 seconds]
<Outlastsheep> And atmosx would be the king of that.
ismaelga has joined #ruby
<Outlastsheep> I would LOVE to learn C just so I can try out Vertigo.
stef204 has joined #ruby
<Outlastsheep> And then listen to the sweet tunes of my IRC Bot.
kobain has joined #ruby
<Outlastsheep> atmosx: how's your day, friend? c:
jottr has joined #ruby
<atmosx> Outlastsheep: good I think :-)
<atmosx> Outlastsheep: yours?
<Outlastsheep> You /think/? Hahaha. I'm doing fine.
<Outlastsheep> Working on this little project of mine. I finally don't have any setbacks anymore.
plashchynski has quit [Quit: plashchynski]
mitchellhenke has joined #ruby
haxrbyte has quit [Ping timeout: 255 seconds]
tvw has quit [Ping timeout: 264 seconds]
djellemah has quit [Ping timeout: 248 seconds]
bradleyprice has joined #ruby
codecop has joined #ruby
swgillespie has joined #ruby
plashchynski has joined #ruby
krisquigley has joined #ruby
kotk has joined #ruby
chinmay_dd has joined #ruby
mloveless has joined #ruby
oddskill is now known as wellbutwtfidk
krisquigley has quit [Ping timeout: 264 seconds]
riskish has joined #ruby
aswen has joined #ruby
BTRE has quit [Quit: Leaving]
mloveless has quit [Ping timeout: 244 seconds]
bim has joined #ruby
chinmay_dd has quit [Quit: Leaving]
bim is now known as Guest52367
plashchynski has quit [Quit: plashchynski]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
plashchynski has joined #ruby
wallerdev has joined #ruby
markfletcher has joined #ruby
vim_shimm has joined #ruby
tvw has joined #ruby
Mark-6ma has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
lolmaus has joined #ruby
centrx has joined #ruby
amdbcg has quit [Ping timeout: 245 seconds]
diegoviola has quit [Quit: WeeChat 1.1.1]
tvw has quit [Ping timeout: 255 seconds]
RegulationD has joined #ruby
ponga has joined #ruby
anaeem1 has joined #ruby
axisys has joined #ruby
vim_shimm has quit [Ping timeout: 264 seconds]
lidenskap has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
timonv has joined #ruby
plashchynski has quit [Quit: plashchynski]
ponga has quit [Ping timeout: 256 seconds]
havenwood has quit [Remote host closed the connection]
yqt has joined #ruby
plashchynski has joined #ruby
anaeem1 has quit [Ping timeout: 246 seconds]
Igorshp has joined #ruby
mary5030 has quit [Remote host closed the connection]
ndrei has joined #ruby
tvw has joined #ruby
markholmes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
plashchynski has quit [Client Quit]
plashchynski has joined #ruby
jlast has joined #ruby
haxrbyte has joined #ruby
plashchynski has quit [Client Quit]
roshanavand has joined #ruby
plashchynski has joined #ruby
Igorshp has quit [Ping timeout: 256 seconds]
timonv has quit [Ping timeout: 255 seconds]
haxrbyte has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
vim_shimm has joined #ruby
iasoon has joined #ruby
icebourg has quit [Ping timeout: 245 seconds]
amundj has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
enebo has joined #ruby
Macaveli has joined #ruby
icebourg has joined #ruby
wallerdev has joined #ruby
emptyflask has quit [Remote host closed the connection]
mitchellhenke has quit [Ping timeout: 264 seconds]
nahtnam has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
dagerik has joined #ruby
amdbcg has joined #ruby
mitchellhenke has joined #ruby
phpmaster has joined #ruby
workmad3 has joined #ruby
ismaelga has quit [Remote host closed the connection]
ismaelga has joined #ruby
mitchel__ has joined #ruby
<phpmaster> |http
enebo has quit [Quit: enebo]
longfeet has joined #ruby
balazs has joined #ruby
mitchellhenke has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
thatslifeson_ is now known as Conner_A
charliesome has quit [Quit: zzz]
amdbcg has quit [Ping timeout: 245 seconds]
Channel6 has quit [Quit: Leaving]
sgambino has joined #ruby
aswen has quit [Ping timeout: 248 seconds]
gsd has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
dtor777 has joined #ruby
rshetty has quit [Remote host closed the connection]
ismaelga has quit [Remote host closed the connection]
dtor777 has left #ruby ["WeeChat 1.1.1"]
ekaleido has joined #ruby
codefo has joined #ruby
ramfjord has joined #ruby
spider-mario has joined #ruby
mitchel__ has quit [Ping timeout: 272 seconds]
cefkamcau has quit [Quit: Leaving]
musashi1 has joined #ruby
iasoon has quit [Ping timeout: 265 seconds]
icebourg has quit [Ping timeout: 256 seconds]
mitchellhenke has joined #ruby
lukec has joined #ruby
icebourg has joined #ruby
bluOxigen has joined #ruby
rshetty has joined #ruby
lidenskap has quit [Remote host closed the connection]
rshetty has quit [Remote host closed the connection]
Mark-6ma has quit [Quit: -]
mitchellhenke has quit [Read error: Connection reset by peer]
aswen has joined #ruby
mitchellhenke has joined #ruby
<ytti> in net/ssh, any clue how to use it as interactive ssh shell, i.e. do something in ruby like login, maybe run some commands, then give control to sort of REPL loop from STDIN
<ytti> with full line-editing etc
<ytti> i feel like i'd be reinventing the wheel by heavy-lifting all the REPL loop myself, trying to act as proper TTY
<ytti> experience to user should be very much in line of using just 'ssh server'
<jhass> tbh it sounds like you're applying the wrong tool to the job
<jhass> what's your goal?
<ytti> i already have library for programmatically interfacing with the device
<ytti> but i'd also like to give control to opreator, after login, for some use-cases
<jhass> so you want control to return to your script when the repl is left?
<ytti> yeah
<jhass> or is the program exiting fine?
Contigi has quit [Quit: Leaving]
<ytti> now i'm doing just exec(ssh)
<ytti> but i'd like to avoid doing that
vickleton has quit [Remote host closed the connection]
<ytti> i'd like to do it all in the library, if i can find low-overhead/maintenance for proper terminal handling
markholmes has joined #ruby
<jhass> I was going to suggest doing that, I think it's the least reinventing the wheel kind of stuff
<jhass> well, there's readline
ekaleido has quit [Quit: Textual IRC Client: www.textualapp.com]
<ytti> the actual problem is, i'm not doing exec(ssh), i'm doing exec(bunch_of_silly_scripts_from_another_project)
iasoon has joined #ruby
<ytti> because i need per-device intelligence (or per device model)
<ytti> i already have these models for full automation
<ytti> and i'd like to get rid of the need for the other project
<ytti> but my models are not bunch of shell scripts, they are ruby classes
vickleton has joined #ruby
FooMunki has quit [Quit: FooMunki]
wellbutwtfidk is now known as oddskill
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<jhass> readline will give you the line editing and history and potentially tab completion stuff
<jhass> but that will still be a pain for let's say proxying a remote /bin/bash
epistrephein has joined #ruby
mistermocha has joined #ruby
riotjones has joined #ruby
elaptics_away is now known as elaptics
<ytti> i would imagine that giving control to operator is solved problem
<ytti> that there is decent library to do it
<ytti> as simple case for handling terminal session is simple
<ytti> but if you consider all corner cases, it becomes rather non-trivial
epistrephein has quit [Client Quit]
MXfive has quit [Quit: Textual IRC Client: www.textualapp.com]
balazs has quit [Remote host closed the connection]
<xxneolithicxx> will they ever come back to your tool when they are done with the shell session
<xxneolithicxx> or better said do you need the tool to resume where it left off once they exit the shell session
<ytti> it would be highly desirable, but i may be able to live without it
<ytti> but i will definitely need to handle programmatically some part of the ssh session, before handing out control
<ytti> so just exec(ssh) is not viable
Rickmasta has joined #ruby
<xxneolithicxx> if you dont need that then i would just try replacing the running process with the shell session, not sure if it will transition over correctly though
Zai00 has joined #ruby
ponga has joined #ruby
<ytti> aha, RTFM:
<ytti> Using the shell service and pty’s, you can now create a simple SSH terminal client. (You’ll also want to download and install the ruby-termios library so that your input is not interpreted in a linewise fashion.)
<ytti> maybe 'termios' is what i want
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ujihisa has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
rkazak has quit [Quit: Sleep.....ing....]
rkazak has joined #ruby
ag4ve_ has quit [Ping timeout: 245 seconds]
Stalkr_ has joined #ruby
Ellistaa has joined #ruby
icebourg has quit [Ping timeout: 265 seconds]
<Ellistaa> is a column in excel a one dimensional array or a two dimensional array?
ponga has quit [Ping timeout: 245 seconds]
<jhass> are you asking what a one-dimensional and what a two-dimensional array is?
Aswebb_ has quit []
Melpaws has joined #ruby
<workmad3> Ellistaa: are you asking about how you could model it? or how excel implements columns? or are you referring to some specific ruby wrapper around excel file?
ag4ve_ has joined #ruby
icebourg has joined #ruby
tus has joined #ruby
Ellistaa has left #ruby [#ruby]
Ellistaa has joined #ruby
DerisiveLogic has joined #ruby
<Ellistaa> i’m reading about databases and was just wondering if a column in excel is an example of a one dimensional array or a two dimensional array
<Ellistaa> or is it a hash with 1 key and a crap ton of values
mistermocha has quit [Ping timeout: 252 seconds]
<jhass> ["this", "is", "a", "one", "dimensional", "array"]; [["this", "is"], ["a", "two"], ["dimensional", "array"]]
<workmad3> Ellistaa: well, if you step back and think about what a dimension is (namely, N-dimensions requires N co-ordinates to identify a point) then you could probably answer your own question ;)
<Ellistaa> well it seems that there is a name for the column, and then all the values so it could be a hash with one key and a ton of values
<workmad3> Ellistaa: sure, but if you have a single column, you don't need the name
<Ellistaa> how would u identify it without a key?
<workmad3> Ellistaa: your question was about a single column... what you're now asking about is a collection of columns
hollywood has quit [Read error: Connection reset by peer]
jlast has quit [Remote host closed the connection]
<Ellistaa> a single column in a table
jlast has joined #ruby
<Ellistaa> let’s say we have 2 columns in a table, this would be a two dimensional array correct? or a hash with two key value pairs?
charliesome has joined #ruby
mitchellhenke has joined #ruby
* workmad3 gives up on trying to explain multi-dimensional concepts abstractly
<jhass> mh, we need a !bail
<wasamasa> yes
<wasamasa> also, why the heck is #ruby trying to answer a question involving excel?
lukec has quit [Quit: lukec]
<wasamasa> that way lies madness
<jhass> I think apeiros makes his living from interfacing excel with ruby or something
<jhass> that might be why we get so many of those, dunno
<apeiros> I what?
mitchellhenke has quit [Read error: Connection reset by peer]
<jhass> you show a lot of experience in that topic :P
<workmad3> hehe
<certainty> hihi
<sohrab> hm, but to answer, 2 column excel spreadsheet can be represented with a 2D array, right?
<apeiros> :<
emptyflask has joined #ruby
<workmad3> sohrab: sure... a table is fundamentally 2-dimensional
mitchellhenke has joined #ruby
<Ellistaa> sohrab: gracias
jlast has quit [Ping timeout: 245 seconds]
mrmargolis has joined #ruby
davedev24_ has quit []
mgberlin has joined #ruby
<Ellistaa> maybe i asked that question here bc ruby is my first programming language so i’m simultaneously learning programming concepts
<Ellistaa> as i learn ruby
<fxck> is there a point to object only being able to inherit from one class but from many modules? whats the point of single inheritance if multiple inheritance of modules is possible?
<apeiros> fxck: it's still not multiple inheritance. the chain is linear.
<Ellistaa> order of method lookup?
<Ellistaa> did i just answer my first question?
<apeiros> fxck: include a couple of modules and check your class' .ancestors
<fxck> oh
vedu has left #ruby ["AFK (Since the internet is real-life as well)"]
bruno- has joined #ruby
<jhass> I don't work with this stuff, but can't these "spreadsheets" have multiple sheets, making it actually 3-dimensional? :P
<workmad3> fxck: read up on the 'fun' of full-blown multiple inheritance in C++ :P
<apeiros> jhass: yupp
<IceDragon> >> Array.ancestors
<workmad3> jhass: a workbook is 3-d, yes ;)
<ruboto> IceDragon # => [Array, Enumerable, Object, Kernel, BasicObject] (https://eval.in/315420)
<IceDragon> @fxck: ^
<apeiros> it's not multidimensional tho, as then all tables would IMO need the same col & row count
<wasamasa> Ellistaa: in other words, the original question is silly as there are many ways of representing something
<fxck> yeah, i got it
<certainty> i still believe apeiros is an excel guru
naztharune has quit [Remote host closed the connection]
<IceDragon> did someone say spreadsheets?
<workmad3> apeiros: hmm... I'm pretty sure multidimensional manifolds allow co-ordinate ranges to differ based on other co-ordinates
<apeiros> I'm not. I just have a bit of experience with importing & exporting excel & csv.
* IceDragon has horrible flash backs from high school
<IceDragon> oh gaaawd
<apeiros> workmad3: noway!
<workmad3> apeiros: it's just not an unconstrained cartesian 3-d space :P
* IceDragon enters fetal position
<certainty> better than lethal position
<workmad3> IceDragon: if you did manifolds in high-school, I'm very jealous!
<Ellistaa> wasamasa: u r silly
naztharune has joined #ruby
<wasamasa> Ellistaa: it's "you" and "are", silly
naztharune has quit [Remote host closed the connection]
<workmad3> hehe
<Ellistaa> wasamasa: that’s what the hegemony wants you to think
<wasamasa> ...
<IceDragon> workmad3: don't even start
<apeiros> jhass: and trust me - you don't want to have to import from excel
<wasamasa> my troll meter starts moving
freerobby has joined #ruby
<certainty> wasamsa keeps becoming a target. I wonder why that is xD
<jhass> apeiros: I don't even need to trust you to know that :D
<workmad3> certainty: it's the bulls-eye on his back
<jhass> it's obvious
<apeiros> it's worse
* certainty hands workmad3 some darts
Guest52367 has quit [Remote host closed the connection]
<workmad3> apeiros: surely all you do is use win32ole to export an excel sheet as CSV, and just deal with that? :D
<wasamasa> certainty: actually, I could cosplay as this bullseye character if I were to shave my head again
<apeiros> win32ole doesn't run on *nix, does it?
<certainty> wasamasa: hehe
<apeiros> also excel doesn't understand what "csv" means
<certainty> mono
bruno- has quit [Ping timeout: 246 seconds]
<certainty> nobody understands what csv really means
<workmad3> apeiros: pfft... then you just use vagrant around a virtualbox windows VM and create a ruby HTTP interface around win32ole that you can communicate with from *nix
<apeiros> additionally it thinks it should just use whichever encoding it deems best. e.g. mac excel on western osx will use macroman
<workmad3> apeiros: obvious, IMO :P
<apeiros> workmad3: I suggest you write that and package it as a gem :o)
<workmad3> apeiros: hehe
<apeiros> the 16GB gem :D
rgb-one has joined #ruby
<apeiros> that said - that's how I test against oracle :<
krisquigley has joined #ruby
<wasamasa> certainty: I blame my generally rather provocative way
<workmad3> apeiros: well shit... I was just making up crazy ideas to troll with :P
<certainty> friends don't let friends use spreadsheets
<jhass> makes you wonder, is there a size limit to what you can push to rubygems.org?
<apeiros> jhass: String#* is your friend :D
<jhass> or I can I start using it as a filehoster?
<apeiros> jhass: or just ask qrush
<IceDragon> @gh repo take-cheeze/mruby-clang-plugin
<IceDragon> x:
<workmad3> jhass: you had to ask that on a public channel full of people who will now try to break it :P
<IceDragon> wrong channel
<Ellistaa> thanks comrades, ttyl
<jhass> workmad3: of course!
<certainty> wasamasa: well in that particular case you weren't. That's why i wondered when Ellistaa reacted that way
<workmad3> jhass: although I guess it's a weekend, so there's time for rubygems to come back up before monday
grindmodeon has joined #ruby
<Ellistaa> i’ve got a non-ruby puzzle for y’all if consensus allows me to ask it?
djbkd has quit [Quit: Leaving...]
naztharune has joined #ruby
<jhass> >> %(ok maybe askanyway).sample
<ruboto> jhass # => undefined method `sample' for "ok maybe askanyway":String (NoMethodError) ...check link for more (https://eval.in/315421)
<jhass> sigh
<jhass> >> %w(ok maybe askanyway).sample
<ruboto> jhass # => "ok" (https://eval.in/315422)
<Ellistaa> nice
<Ellistaa> >> %w(ok maybe askanyway).sample
<ruboto> Ellistaa # => "maybe" (https://eval.in/315423)
justin_pdx has quit [Quit: justin_pdx]
* workmad3 has just discovered brew-gem
mitchellhenke has quit [Ping timeout: 276 seconds]
<jhass> workmad3: does it control an automatic beer brewing unit?
<workmad3> jhass: no... it wraps up gems into homebrew recipes
<Ellistaa> meh nvm
<jhass> how boring
Ellistaa has left #ruby [#ruby]
bim has joined #ruby
<certainty> no puzzle?
<workmad3> jhass: yeah... but also pretty useful for those tools you just want accessible on the command line :)
bim is now known as Guest53320
Crisix has quit [Read error: Connection reset by peer]
krisquigley has quit [Ping timeout: 252 seconds]
<jhass> sure, I gem2arch these here
lordkryss has quit [Quit: Connection closed for inactivity]
<certainty> workmad3: now i'm disappointed that we didn't get a puzzle. Now it's your turn to give one
Guest53320 has quit [Remote host closed the connection]
quimrstorres has joined #ruby
<jhass> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<certainty> ohhhh hangman time
<certainty> DeBot: #
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣ [#] 1/12
<certainty> DeBot: :
<DeBot> ␣␣␣␣␣␣␣␣::␣␣␣ [#] 1/12
<workmad3> certainty: I build a house and want every side of it to be south facing... where am I?
<IceDragon> DeBot: A
<DeBot> A␣␣␣␣␣␣␣::␣␣␣ [#] 1/12
mitchellhenke has joined #ruby
<sohrab> north pole
<certainty> workmad3: the matrix?
<sohrab> oops was i not supposed to answer yet
<IceDragon> DeBot: c
<DeBot> A␣␣␣␣␣␣␣::␣␣␣ [#c] 2/12
<certainty> DeBot: r
<DeBot> A␣␣r␣␣␣␣::␣␣␣ [#c] 2/12
<certainty> DeBot: g
<DeBot> A␣␣r␣␣␣␣::␣␣␣ [#cg] 3/12
<certainty> DeBot: _
<DeBot> A␣␣r␣␣␣␣::␣␣␣ [#cg_] 4/12
<workmad3> t
<workmad3> DeBot: t
<DeBot> A␣␣r␣␣␣␣::␣␣␣ [#cg_t] 5/12
<workmad3> DeBot: i
<DeBot> A␣␣ri␣␣␣::␣␣␣ [#cg_t] 5/12
<certainty> DeBot: m
<DeBot> A␣␣ri␣␣␣::␣␣␣ [#cg_tm] 6/12
<certainty> hmm
<certainty> DeBot: s
<DeBot> A␣␣ri␣␣␣::␣␣␣ [#cg_tms] 7/12
<workmad3> DeBot: abcdefghijklmnopqrstuvwxyz!?%
<DeBot> Addrinfo::udp [#cg_tmsbehjk] 12/12 You lost!
<certainty> ha
<IceDragon> XD
<workmad3> drats
<workmad3> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<workmad3> DeBot: abcdefghijklmnopqrstuvwxyz!?%
<DeBot> Net::SMTP::Response [abcdfghijklq] 12/12 You lost!
<workmad3> :D
<sohrab> lol
<IceDragon> I wish it gave hints ;3
<certainty> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<certainty> DeBot: openssl
<DeBot> O␣␣e␣␣Sp␣␣e␣␣␣n␣e␣␣ne␣␣␣n␣l␣␣e␣ [] 0/12
<certainty> lol
<IceDragon> like "net library, networking"
<certainty> DeBot: :
<DeBot> O␣␣e␣␣Sp␣␣e::␣n␣e␣␣ne␣␣␣n␣l␣␣e␣ [] 0/12
<IceDragon> DeBot: ObjectSPace
<DeBot> ObjectSpace::␣n␣e␣␣ne␣␣␣nal␣␣e␣ [] 0/12
<IceDragon> DeBot: _
<DeBot> ObjectSpace::␣n␣e␣␣ne_␣␣nal␣␣e␣ [] 0/12
<jhass> DeBot: _
<DeBot> ObjectSpace::␣n␣e␣␣ne_␣␣nal␣␣e␣ [] 0/12
Jackneill has quit [Remote host closed the connection]
<certainty> i don't want to be the one that makes the first mistake
<IceDragon> what kinda method is this D:
<certainty> could be a perfect game
<IceDragon> consulting the docs would be cheating right now...
<jhass> we need another vocal there, i or u?
<sohrab> well the letter before n must be a vowel
<certainty> i vote for u
<IceDragon> I vote for me 3:
<certainty> xD
<sohrab> who does u vote for? xD
<IceDragon> lets try u?
<certainty> yeah
<IceDragon> I mean we have 12 chances
<IceDragon> ;3
<jhass> sohrab: ü
<certainty> so who does it?
<workmad3> DeBot: u
<DeBot> ObjectSpace::un␣e␣␣ne_␣␣nal␣␣e␣ [] 0/12
<certainty> workmad3: is reckless
<workmad3> :D
<sohrab> lol
<sohrab> leeroy jenkins!!!!1
<Mon_Ouie> DeBot: λ
<Mon_Ouie> :(
<certainty> :)
<certainty> what now?
<jhass> r?
<wasamasa> DeBot: s
<DeBot> ObjectSpace::un␣e␣␣ne_␣␣nal␣␣e␣ [] 0/12
<certainty> or a?
<DeBot> ObjectSpace::unde␣␣ne_␣␣nal␣␣e␣ [] 0/12
<wasamasa> DeBot: d
<Mon_Ouie> We already have a (and already had s)
<certainty> f i?
<wasamasa> DeBot: r
<DeBot> ObjectSpace::unde␣␣ne_␣␣nal␣␣er [] 0/12
<wasamasa> DeBot: f
<DeBot> ObjectSpace::undef␣ne_f␣nal␣␣er [] 0/12
<jhass> DeBot: z
<DeBot> ObjectSpace::undef␣ne_f␣nal␣zer [] 0/12
<wasamasa> DeBot: i
<DeBot> ObjectSpace::undefine_finalizer [] 0/12 You won!
<certainty> yay
<workmad3> woo!
<certainty> perfect game
<workmad3> LEEEEEEROOOOOOY
<sohrab> lol awesome
<IceDragon> DeBot: u
<IceDragon> DeBot: d
<IceDragon> DeBot: i
<IceDragon> Oh gawd, why am I lagging so much D:
<IceDragon> DeBot: f
<IceDragon> >:
<certainty> muha
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
<workmad3> IceDragon: because your connection sucks? :P
<IceDragon> workmad3: It always sucks, even when its fine, it sucks
mrmargolis has quit [Remote host closed the connection]
<jhass> too bad connection for IRC, that's harsh
IcyDragon has joined #ruby
davedev24_ has joined #ruby
<IcyDragon> So I bypassed my bnc
<IcyDragon> :O
IcyDragon has quit [Client Quit]
<IceDragon> Yup, I'm lagging after the bnc ;(
lidenskap has joined #ruby
mrmargolis has joined #ruby
riskish has joined #ruby
RegulationD has joined #ruby
<riskish> http://paste.ofcode.org/Fp35YKcMYRAHyNxrJJkn34 is my solution reasonable?
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
<ytti> your iterations are not idiomatic
konsolebox has quit [Quit: Leaving]
<ytti> maybe String#each_char
<jhass> tbh I have a hard time to find anything idiomatic in that code :/
<ytti> or String#size.times do |i|
<riskish> :/
<riskish> what do you mean by idiomatic
<ytti> change the iterators
<ytti> remove 'return'
<jhass> properly indent
<jhass> omit parens except in method calls and definitions. Omit parens for puts
<Mon_Ouie> Also 'if count > 1; return true; else return false; end' -- that's just 'count > 1'
<ytti> 'string'.each_char do |char|
<jhass> use snake_case for method and variable names
<ytti> # here we have 's' in first iteration
<ytti> end
<jhass> use "#{string} interpolation"
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
azul1 has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
<ytti> 'string'.size.times do |i|
<ytti> # here we have 0 in first iteration
<ytti> end
azul1 has quit [Remote host closed the connection]
<riskish> idiomatic means properly indented?
mgberlin has quit [Ping timeout: 264 seconds]
<xxneolithicxx> pet peeve of mine... use descriptive iterator names not i,j,k
<Mon_Ouie> No, it means that it follows the conventions followed by most of the people who use the language --- a part of which is, indenting properly
<jhass> no, it means all of what we said
<jhass> it also means using Rubys abilities to a large extend I'd say
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> jhass: I love problems described as 'hard' that can be solved as a ruby one-liner with enumerable methods :)
<jhass> yeah
BTRE has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
* certainty waits for the oneliner
markfletcher has left #ruby [#ruby]
<jhass> http://paste.mrzyx.de/pee8b1nal would be my solution
<workmad3> str.chars.sort.select{|a| a =~ /[a-z]/}.slice_when{|a,b| a != b}.select{|ary| ary.size > 1}.size would be mine
<jhass> I like Enumerable#count ;P
<workmad3> jhass: I wanted to use slice_when :)
scripore has joined #ruby
<ytti> ytti@ytti ~> cat moi45.rb |pastebinit
<ytti> ytti@ytti ~> ./moi45.rb
<ytti> {"t"=>3, "e"=>2}
<workmad3> jhass: I also assumed I needed to strip out spaces
<ytti> you could collapse it further, but i think readability would suffer
ponga has joined #ruby
<jhass> workmad3: nah, it said "you can assume only lowercase letters"
Azulinho has joined #ruby
<ytti> might need #downcase
robbyoconnor has joined #ruby
duncannz has joined #ruby
<Mon_Ouie> nah, it said "you can assume only lowercase letters" :p
<workmad3> jhass: I guess... I took that to mean I could discount 'A good time' wouldn't happen
<ytti> oh and #size
duncannz has quit [Max SendQ exceeded]
crazydiamond has quit [Remote host closed the connection]
<Mon_Ouie> Or just #count instead of select+size, as in jhass's version
hmsimha has quit [Quit: Leaving]
<workmad3> riskish: that 'solution' makes me very, very :(
Channel6 has joined #ruby
<workmad3> yeah, .count{
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<workmad3> yeah, .count{|a| a.size > 1} would be nicer at the end of mine
kbarry has quit [Quit: ChatZilla 0.9.88-rdmsoft [XULRunner 1.9.0.17/2009122204]]
bricker has joined #ruby
<workmad3> that drops down to str.chars.sort.slice_when{|a,b| a != b}.count{|a| a.size > 1} then :)
<Mon_Ouie> rikai: Do you know about hash tables?
<Mon_Ouie> Using that would be much simpler (and more efficient) than iterating over an array of pairs
<rikai> i presume you mean riskish :P
kbarry has joined #ruby
<Mon_Ouie> Whoops, sorry, yeah
<riskish> not really
<riskish> these are exercises to get into a coding boot camp
<riskish> I'm pretty new i guess
<riskish> im guessing they don't expect he most idiomatic solution
ponga has quit [Ping timeout: 272 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
kbarry has quit [Client Quit]
bricker has quit [Ping timeout: 250 seconds]
grindmodeon has quit [Quit: Leaving.]
musashi1 has quit [Read error: Connection timed out]
mrmargolis has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
plashchynski has quit [Quit: plashchynski]
<certainty> >> "aaaabcdddefg".gsub(/([a-z])\1+/,'λ').count("λ")
<ruboto> certainty # => 2 (https://eval.in/315433)
<certainty> xD
grindmodeon has joined #ruby
<ytti> preeetty sure it does not work
<ytti> that requires them to be subsequent
<certainty> ok i need a character that is guaranteed not to be in the string
<certainty> woops forgot the sort
<workmad3> ytti: pretty easy to manage if you do .chars.sort.join("")
<ytti> yeah
<certainty> but then it's longer again
<ytti> lets kick up the heat, what if you need to do it to arbitrarily large input
plashchynski has joined #ruby
<ytti> maintaining counter is wasteful, bevcausae we only care if it appears >1 or not
<jhass> I doubt you'll get much more efficient than my solution tbh
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<certainty> i'd keep seen set
<certainty> or a hash
<certainty> jhass: well you could be a bit more space efficient by just checking if you have already seen the character and if so incrementing the accumulator
<certainty> that could be done in a reduce
<ytti> now we have potentially infinitely large integers and large number of them
<jhass> true, but my possible input was just 26 characters
<ytti> ok
<certainty> yeah
<ytti> then no point to do memory optimization
<ytti> if we needed memory optimiastion probably two hashes would be good option
<ytti> if first hash is true, set second hash true as well
<workmad3> ytti: or you could do it with a single hash, and just not increment past 2
ianseyer has quit [Ping timeout: 246 seconds]
<ytti> then count how many true values in second hash after stremaing the intput
<ytti> then we could ask, can we avoid branching while doing this
<ytti> and i think i'm stumped there
<jhass> you could hack three states with nil, false and true
A205B064 has joined #ruby
<jhass> nil = not seen yet, false = seen once, true = seen twice
<jhass> increment counter on turning false -> true
claptor has joined #ruby
grindmodeon has quit [Quit: Leaving.]
<workmad3> jhass: true... 'hsh.has_key?(val) ? hsh[val] = true : hsh[val] = false'
cina has joined #ruby
<apeiros> lol, rfc1459 gem: ERR_YOUREBANNEDCREEP
<apeiros> (not a rubygem gem)
andersoldahl has joined #ruby
tiago has left #ruby ["WeeChat 1.1.1"]
<cina> I have an object, is there anyway I could change a method of its class without changing the method for other instances of that class?
AlphaAtom has quit [Ping timeout: 246 seconds]
<jhass> cina: you can but it's a design smell IMO
<apeiros> cina: yes, def it on the object directly or use Object#extend
Azulinho has left #ruby [#ruby]
amdbcg has joined #ruby
<jhass> def my_object.some_method; new_behavior; end;
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> also if you do that a lot during runtime performance will be poor
bim has joined #ruby
bim is now known as Guest49939
<IceDragon> workmad3: hsh[val] = hsh.key?(val)
<workmad3> IceDragon: heh, nice :)
<cina> jhass: I mean a class method of its parent class... e.g. I have a 'person = Person.new', and Person has a class method 'Person.count'... I want to change 'person.class.count', and not 'Person.count'...
<workmad3> cina: you can't do that
ixti has joined #ruby
<IceDragon> cina: Subclass Person
<jhass> cina: okay, now I transition from you have a design smell to you have a serious design issue
<IceDragon> cina: class MyPerson < Person
<workmad3> cina: person.class.count and Person.count are not separate things
nahtnam has quit [Quit: Connection closed for inactivity]
aswen has quit [Ping timeout: 248 seconds]
<cina> ok thanks guys :)
<workmad3> cina: also, 'parent class' is not the right term there... it's simply the object's class
<cina> workmad3: thank you, I was struggling to find the right words
_ixti_ has quit [Ping timeout: 250 seconds]
mitchellhenke has joined #ruby
mitchellhenke has quit [Client Quit]
icebourg has quit []
Rickmasta has joined #ruby
lukequaint has quit [Quit: Bye!]
<workmad3> cina: as IceDragon said... to achieve what you wanted, you'd need to subclass Person and override the method in the subclass... in order to do this for an arbitrary instance of a class, you'd need to create a subclass of Person for every instance you create... which is a horrible idea and, as jhass said, a serious design issue
apoplexy has joined #ruby
<jhass> and what that means is go back to the drawing board, solve your issue differently, you're on the wrong path here
codefo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Contigi has joined #ruby
<IceDragon> The other option is to go with a factory pattern, PersonFactory > creates a Person and stores a reference to itself in the Person object, in which you can nab the count from
<IceDragon> ┐( ̄ヮ ̄)┌
<IceDragon> person.factory.count
<jhass> if you want suggestions on what a better solution would be you would need to elaborate about what you're doing and ideally illustrate with some code to make it clear
tvw has quit [Ping timeout: 245 seconds]
blt has joined #ruby
Azulinho has joined #ruby
<workmad3> IceDragon: that sounds horrible :P
markholmes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kirun has quit [Quit: Client exiting]
<IceDragon> workmad3: It is
<IceDragon> You'd be tempted to call person.factory.create
<IceDragon> And wreck havoc!
<workmad3> IceDragon: it also doesn't seem to provide a way to monkey-patch person.factory.count without touching PersonFactory.count :P
Azulinho has left #ruby [#ruby]
<IceDragon> workmad3: the factory would be an instance of PersonFactory
vim_shimm has quit [Ping timeout: 252 seconds]
Azulinho has joined #ruby
<IceDragon> that way you can have many PersonFactories ;3
* IceDragon fires up his bot factor(ies|y)
<workmad3> IceDragon: ah... so you'd need to write methods as instance methods on PersonFactory, so that you could monkey-patch them on instances of Person... which is horrible on so many levels :P
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<workmad3> IceDragon: or would you just make PersonFactory instances into proxies for Person class methods? :)
Megtastique has joined #ruby
evanjs has joined #ruby
<IceDragon> I dunno
<IceDragon> Seems complicated
* jhass wonders how many iterations you two are away from AbstractSingletonFactoryBean
sgambino has quit [Quit: Textual IRC Client: www.textualapp.com]
wallerdev has quit [Quit: wallerdev]
<workmad3> jhass: I think my next step is to discuss whether my AbstractSingletonFactoryBean should itself be a singleton, or if it needs its own abstract factory to create instances of it for each use
plashchynski has quit [Quit: plashchynski]
<workmad3> jhass: still a fair bit away from using xml to invoke factories and perform dependency injection though ;)
Illusioneer has joined #ruby
<jhass> I don't know, does it really make any difference anymore once you reached that point?
markholmes has joined #ruby
bkulbida has quit [Ping timeout: 248 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<workmad3> jhass: every new level is important, and requires you to have exactly the same discussions all over again!
<workmad3> jhass: otherwise, what are consultants being paid for?
robbyoconnor has quit [Read error: Connection reset by peer]
<jhass> reminds me of CRATE TABLE nosql(id INT, key BLOB, value BLOB);
robbyoconnor has joined #ruby
<workmad3> jhass: don't forget CREATE TABLE nosql_links (source_id INT, target_id INT, link_type BLOB)
<jhass> right
Azulinho has left #ruby [#ruby]
* workmad3 just realised that link_type BLOB gives you so much power over the traditional VARCHAR(255) link type... you could make systems that used images for link types!
plashchynski has joined #ruby
<IceDragon> workmad3: I'm evil, employing my junior to work in the factory ;3
mitchellhenke has joined #ruby
revoohc has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
gsd has quit [Read error: Connection reset by peer]
<jhass> I'm not sure that's what factories are for... :P
mitchellhenke has quit [Read error: Connection reset by peer]
defrang has quit [Read error: Connection reset by peer]
<IceDragon> me neither, I never got programming patterns correct /:
<workmad3> factories are for creating instances
<IceDragon> well I got that right then 3:
<jhass> call it Manager and stare at everybody who asks wth that is until they go away
<IceDragon> workmad3: Doesn't that make every Class in ruby a factory?
<IceDragon> :O
grindmodeon has joined #ruby
Azulinho has joined #ruby
<workmad3> IceDragon: I'm just not sure if it fits the 'design' we were talking about :P
<workmad3> IceDragon: pretty much, yes
<IceDragon> workmad3.class.new :3
<jhass> I don't think factories are supposed to have state beyond what they need to construct an object
Azulinho has left #ruby [#ruby]
giuseppesolinas has joined #ruby
<jhass> tracking instances seems wrong, backreferencing the factory from the target class seems veeery wrong
hs366 has quit [Quit: Leaving]
giuseppesolinas has quit [Client Quit]
<IceDragon> jhass: It means I probably combined a Factory and Manager then D:
<jhass> Manager I made up :D
yh has joined #ruby
riotjones has joined #ruby
<yh> I have required a file defining class Foo::Bar::JSON. I have also required "json" from stdlib. Inside Baz::Qux, I have a method referring to JSON. It resolves to Foo::Bar::JSON instead of ::JSON. How could this be?
Hijiri has quit [Quit: WeeChat 1.0.1]
<workmad3> yh: !fake
<workmad3> drats
<workmad3> Please do not use fake values, as they can be confusing or misleading. Sometimes both
codefo has joined #ruby
<IceDragon> yh: did you include Foo::Bar into Baz::Qux?
Azulinho has joined #ruby
riotjones has quit [Ping timeout: 265 seconds]
atmosx has quit [Quit: WeeChat 0.4.4-dev]
<IceDragon> yh: When in doubt just use ::ConstantName for referencing top level constants
MatthewsFace has joined #ruby
<jhass> workmad3: !fact [mk|rm|ed|mv] key [key|content]
<IceDragon> jhass: Yup, my idea even scares the shit out of me D:
<IceDragon> ever person knows, his fellow persons and his factory ;-;
<yh> IceDragon: damn, you cracked it - sorry :)
<yh> workmad3: IceDragon didn't do too bad ;)
<jhass> IceDragon: soo, distributed surveillance state? surveillance society so to say?
<IceDragon> jhass: NSA!
mgberlin has joined #ruby
grindmodeon has quit [Quit: Leaving.]
<yh> http://en.wikipedia.org/wiki/Panopticon <- distributed surveillance
Zai00 has quit [Quit: Zai00]
<workmad3> yh: by 'cracked it' do you mean 'use ::JSON'? because that doesn't really answer the question of 'why has this happened?' that you originally asked :P
plashchynski has quit [Quit: plashchynski]
<IceDragon> workmad3: Kneel before huuuman
<IceDragon> *me huuuman
mgberlin_ has joined #ruby
* IceDragon being all pointy nose
Igorshp has joined #ruby
ftj has joined #ruby
zapata has quit [Ping timeout: 276 seconds]
zapata has joined #ruby
<workmad3> IceDragon: :)
mgberlin has quit [Ping timeout: 245 seconds]
<yh> workmad3: it was the damn include, which I didn't notice. :)
unreal has quit [Ping timeout: 264 seconds]
<workmad3> yh: heh
Igorshp has quit [Ping timeout: 264 seconds]
<IceDragon> yh: Its always include!
<IceDragon> .-. include ist ewil!
grindmodeon has joined #ruby
evanjs has quit [Remote host closed the connection]
Azulinho has quit [Quit: Azulinho]
havenwood has joined #ruby
unreal has joined #ruby
lukec has joined #ruby
hiyosi has joined #ruby
plashchynski has joined #ruby
bruno- has joined #ruby
codecop has quit [Remote host closed the connection]
roshanavand has quit [Remote host closed the connection]
grindmodeon has quit [Quit: Leaving.]
robbyoconnor has quit [Ping timeout: 248 seconds]
DerisiveLogic has quit [Ping timeout: 250 seconds]
bruno- has quit [Ping timeout: 248 seconds]
mengu has joined #ruby
krisquigley has joined #ruby
lidenskap has quit [Remote host closed the connection]
yfeldblum has joined #ruby
robbyoconnor has joined #ruby
niKeITA has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
turtil has joined #ruby
zorak8 has quit [Quit: Leaving]
ujihisa has quit [Ping timeout: 264 seconds]
elaptics is now known as elaptics_away
claw___ has quit [Read error: Connection reset by peer]
claw___ has joined #ruby
sankaber has joined #ruby
ianseyer has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
niKeITA has quit [Ping timeout: 250 seconds]
badhatter has joined #ruby
niKeITA has joined #ruby
codefo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 276 seconds]
plashchynski has quit [Quit: plashchynski]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
decoponio has quit [Ping timeout: 245 seconds]
apoplexy has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Remote host closed the connection]
ianseyer has quit [Ping timeout: 264 seconds]
<yh> Does the standard Logger use synced File IO?
<yh> It doesn't seem to be buffering
plashchynski has joined #ruby
<ytti> i'm quite opinionated about logging
<ytti> and feel everything should be syslog
<ytti> and sent to centralized boxes, which preferably are syslog-ng, and do something like server/program.log
<ytti> with warn and higher level messages aggregated to server/important.log
<yh> how about buffering ytti
<yh> autoflush log messages?
<ytti> then you'll mount the centralized servers as readonly to where ever you need the logs
<yh> buffering log messages seems to go against the idea
MasterPiece has joined #ruby
vdamewood has joined #ruby
<ytti> that is not really important to me
<ytti> that is, messages always have appeared 'fast enough' on my syslog files
lidenskap has joined #ruby
CloCkWeRX has joined #ruby
CloCkWeRX has left #ruby [#ruby]
Zamerick has joined #ruby
Zamerick_ has joined #ruby
larissa has quit [Quit: bye]
RegulationD has joined #ruby
Technodrome has joined #ruby
blt has quit [Ping timeout: 255 seconds]
<havenwood> !hangman gems
<havenwood> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣ [] 0/12
ianseyer has joined #ruby
<havenwood> DeBot: -_
<DeBot> ␣␣␣-␣␣␣␣␣ [_] 1/12
RegulationD has quit [Ping timeout: 244 seconds]
<havenwood> DeBot: n
<DeBot> ␣␣␣-␣␣n␣␣ [_] 1/12
red_menace has joined #ruby
MyGreenP1 has joined #ruby
<niKeITA> hello
<havenwood> niKeITA: hi
<havenwood> DeBot: g
<DeBot> g␣␣-␣␣n␣␣ [_] 1/12
<apeiros> DeBot: sra
<DeBot> g␣␣-␣␣n␣␣ [_sra] 4/12
<apeiros> wow
kyrylo has quit [Ping timeout: 272 seconds]
<apeiros> DeBot: ui
<DeBot> gi␣-␣␣n␣␣ [_srau] 5/12
<apeiros> DeBot: e
<DeBot> gi␣-␣␣n␣␣ [_sraue] 6/12
<apeiros> DeBot: o
<DeBot> gi␣-␣␣n␣␣ [_sraueo] 7/12
<apeiros> what the?
<havenwood> DeBot: t
<DeBot> git-␣␣n␣␣ [_sraueo] 7/12
<apeiros> havenwood: can't let us hang like that
<havenwood> apeiros: busy checking out the gem's code! :P
<havenwood> DeBot: y
<DeBot> git-␣yn␣y [_sraueo] 7/12
<havenwood> "The funky git aware remote syncer."
<apeiros> DeBot: fk
<DeBot> git-fyn␣y [_sraueok] 8/12
quimrstorres has quit [Remote host closed the connection]
<apeiros> DeBot: c
<DeBot> git-fyncy [_sraueok] 8/12 You won!
<apeiros> havenwood: spoiler
<havenwood> :P
<apeiros> did you cheat?
symbol has joined #ruby
<havenwood> yes
<shevy> BAN HIM
ianseyer has quit [Ping timeout: 244 seconds]
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
Zamerick has quit [Quit: Leaving]
<havenwood> used my hangman cheating bot, which i need to update to make the next best guess to reduce the list of possibles
blt has joined #ruby
lkba_ has joined #ruby
<havenwood> apeiros: i think you recommended that ^ but i haven't done it yet
<apeiros> yes, I did
<apeiros> I even have ideas for algorithms. but I'm not gonna spoil you!
<havenwood> ;)
robbyoconnor has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
<apeiros> with the `gems` hangman, you could just use gem search -r actually with wildcards :)
r0bby_ has joined #ruby
towski_ has joined #ruby
red_menace has left #ruby ["leaving..."]
<apeiros> gem search -r '^g..-..n..$' finds 3 gems :)
<apeiros> I like `git-punch` :D
davedev2_ has joined #ruby
plashchynski has quit [Quit: plashchynski]
davedev24_ has quit [Ping timeout: 245 seconds]
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
grindmodeon has joined #ruby
plashchynski has joined #ruby
ianseyer has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
andersoldahl has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 252 seconds]
bigmac_ has joined #ruby
dseitz has joined #ruby
quimrstorres has joined #ruby
cina has quit [Ping timeout: 248 seconds]
musashi1 has joined #ruby
emptyflask has quit [Remote host closed the connection]
bigmac__ has quit [Ping timeout: 256 seconds]
plashchynski has quit [Client Quit]
davedev24_ has joined #ruby
ianseyer has quit [Ping timeout: 264 seconds]
Narzew has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 245 seconds]
iasoon has quit [Ping timeout: 252 seconds]
davedev2_ has quit [Ping timeout: 276 seconds]
Guest64554 has quit [Ping timeout: 250 seconds]
rshetty has joined #ruby
lidenskap has quit [Remote host closed the connection]
niKeITA has quit [Quit: ZZZzzz…]
mgberlin_ has quit [Remote host closed the connection]
rshetty has quit [Ping timeout: 256 seconds]
pika_pika has joined #ruby
vudew has quit [Quit: Lost terminal]
<symbol> Anyone have a suggestion for a subscription management framework?
oddskill is now known as oddskill_away
spider-mario has quit [Remote host closed the connection]
ss has joined #ruby
ss is now known as Guest83805
<symbol> I've been checking out http://killbill.io but it's written in java
jamto11 has joined #ruby
turtil has quit [Quit: WeeChat 1.1.1]
quimrstorres has quit [Remote host closed the connection]
larissa has joined #ruby
quimrstorres has joined #ruby
Deele has quit [Ping timeout: 256 seconds]
rgb-one has quit [Remote host closed the connection]
iasoon has joined #ruby
ianseyer has joined #ruby
zorak8 has joined #ruby
zorak8 has quit [Max SendQ exceeded]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
zorak8 has joined #ruby
ponga has joined #ruby
zorak8 has quit [Max SendQ exceeded]
mistermocha has joined #ruby
jud^ has joined #ruby
MasterPiece has quit [Remote host closed the connection]
lukec has quit [Quit: lukec]
jamto11 has quit [Remote host closed the connection]
yfeldblum has quit [Read error: Connection reset by peer]
jud has quit [Ping timeout: 250 seconds]
<apeiros> symbol: might be more up the alley of #rubyonrails
yfeldblum has joined #ruby
ponga has quit [Ping timeout: 265 seconds]
Igorshp has joined #ruby
<symbol> apeiros: thanks, I'll check there.
<apeiros> symbol: also note that "subscription" has alternative meanings in programming ;-)
<apeiros> e.g. I first thought you meant an event pub-sub library
<symbol> Yeah, I worded that quite oddly.
<shevy> apeiros do you still like hypercard?
<apeiros> shevy: sure. fond memories.
platzhirsch has joined #ruby
MyGreenP1 has quit [Read error: Connection reset by peer]
MyGreenP1 has joined #ruby
platzhirsch has left #ruby [#ruby]
predator117 has joined #ruby
Igorshp has quit [Remote host closed the connection]
evanjs has joined #ruby
predator217 has quit [Ping timeout: 272 seconds]
quimrstorres has quit [Remote host closed the connection]
xploshioon has joined #ruby
justin_pdx has joined #ruby
MyGreenP1 has quit [Read error: Connection reset by peer]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
justin_pdx has quit [Client Quit]
blt has quit [Quit: WeeChat 1.1.1]
mgberlin has joined #ruby
MyGreenP1 has joined #ruby
Illusioneer has quit [Quit: Leaving.]
Illusioneer has joined #ruby
EasyCo has joined #ruby
swgillespie has joined #ruby
Soda has joined #ruby
zz_twistedpixels is now known as twistedpixels
_2_johnella has joined #ruby
<_2_johnella> hi
_2_johnella has quit [Client Quit]
Illusioneer has quit [Client Quit]
<centrx> yo
ag4ve_ has quit [Ping timeout: 245 seconds]
claptor has quit [Quit: this channel is bakas]
jud^ is now known as jud
Guest83805 has quit [Ping timeout: 265 seconds]
jud has quit [Changing host]
jud has joined #ruby
Illusioneer has joined #ruby
ag4ve_ has joined #ruby
Limix has joined #ruby
amdbcg has quit [Ping timeout: 245 seconds]
Yzguy has joined #ruby
jamto11 has joined #ruby
bruno- has joined #ruby
vim_shimm has joined #ruby
MyGreenP1 has quit [Ping timeout: 252 seconds]
MyGreenP1 has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
davedev24_ has quit [Ping timeout: 264 seconds]
jamto11 has joined #ruby
davedev24_ has joined #ruby
mgberlin_ has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 245 seconds]
mgberlin_ has joined #ruby
quimrstorres has joined #ruby
mgberlin has quit [Ping timeout: 256 seconds]
vim_shimm has quit [Ping timeout: 250 seconds]
m0r0n has left #ruby [#ruby]
krisquigley has joined #ruby
xploshioon has quit [Quit: Leaving]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
Limix has quit [Quit: Limix]
freerobby has quit [Quit: Leaving.]
evanjs has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 264 seconds]
amdbcg has joined #ruby
freerobby has joined #ruby
Soda has quit [Remote host closed the connection]
bkxd has joined #ruby
andersoldahl has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
r0bby_ has quit [Remote host closed the connection]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jottr has quit [Ping timeout: 248 seconds]
rshetty has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
Channel6 has quit [Quit: Leaving]
jamto11 has quit [Remote host closed the connection]
ianseyer has quit [Ping timeout: 245 seconds]
moeabdol has quit [Ping timeout: 248 seconds]
rshetty has quit [Ping timeout: 248 seconds]
apoplexy has joined #ruby
pwattste has joined #ruby
mistermocha has quit [Ping timeout: 245 seconds]
iasoon has quit [Quit: WeeChat 1.1.1]