apeiros changed the topic of #ruby-lang to: Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste code on https://gist.github.com
<darix> LesZedCB: as apeiros demonstrated string.freeze only works for literals
<darix> not for strings you create on the fly
<LesZedCB> gets.freeze works
<apeiros_> LesZedCB: it works. but it doesn't deduplicate.
Averna has joined #ruby-lang
<apeiros_> gets.freeze.object_id will not be == to another frozen string.
gix has quit [Quit: Client exiting]
<apeiros_> even if their value is the same
<LesZedCB> ah, yup
<apeiros_> they could make it that way, effectively replacing gc'able symbols with frozen strings. and yes, it might be viable. but I don't have numbers.
<LesZedCB> I'd be interested in testing that
<apeiros_> it would not be backwards compatible, mind you. currently strings and symbols are not eql?, and therefore not considered the same keys in hashes, or the same values in sets, etc.
<darix> rails has a special class for this iirc?
<apeiros_> yes
<apeiros_> HWIA
<apeiros_> (HashWithIndifferentAccess)
<LesZedCB> haha nice
<apeiros_> worst thing they created IMO.
<LesZedCB> is it slow?
modred11 has joined #ruby-lang
<LesZedCB> I guess it would be, seeing as that fits with Rails' theme
<havenwood> so which VM is going to be first to "speculatively make strings immutable and then make them mutable again if it's needed?"
<LesZedCB> havenwood: what's VM?
<havenwood> LesZedCB: Virtual Machine
charliesome has joined #ruby-lang
<havenwood> LesZedCB: Like CRuby, JRuby or Rubinius for example.
red_menace has quit [Remote host closed the connection]
<LesZedCB> gotcha
red_menace has joined #ruby-lang
gix has joined #ruby-lang
<LesZedCB> well, thanks for the help! Gotta head home, cheers
LesZedCB has left #ruby-lang [#ruby-lang]
gwendall has joined #ruby-lang
SuMo_D has joined #ruby-lang
j4cknewt has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
jgpawletko has quit [Quit: jgpawletko]
relix has joined #ruby-lang
duderonomy has quit [Ping timeout: 252 seconds]
haraoka_ has joined #ruby-lang
SylarRuby has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
charliesome has quit [Quit: zzz]
SylarRuby has quit [Ping timeout: 256 seconds]
pwnz0r has joined #ruby-lang
pwnz0r has quit [Client Quit]
apeiros_ has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby-lang
lytol has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
fclausen has joined #ruby-lang
ghostpl_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
amclain has quit [Quit: Leaving]
ghostpl_ has quit [Ping timeout: 244 seconds]
joaomdmoura has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
spetryk has quit [Quit: Be back later ...]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joaomdmoura has quit [Ping timeout: 240 seconds]
stardiviner has quit [Ping timeout: 272 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby-lang
kaip has quit [Quit: kaip]
kaip has joined #ruby-lang
charliesome has quit [Quit: zzz]
iamninja has quit [Read error: Connection reset by peer]
hendranata_ has joined #ruby-lang
iamninja has joined #ruby-lang
stardiviner has joined #ruby-lang
goodcodeguy has joined #ruby-lang
haraoka__ has joined #ruby-lang
kaip has quit [Quit: kaip]
haraoka_ has quit [Ping timeout: 256 seconds]
marr has quit []
shinnya has quit [Ping timeout: 255 seconds]
rbowlby has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
cpjk has joined #ruby-lang
fujimura has joined #ruby-lang
j4cknewt has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
bruno- has quit [Ping timeout: 245 seconds]
newuser has joined #ruby-lang
<newuser> hi
<newuser> sdfd
cpjk has quit [Ping timeout: 246 seconds]
<newuser> hello?
<newuser> Can someone help me with my small program?
<newuser> I just started learning how to program yesterday.
<newuser> I have a question about my while loop
charliesome has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 272 seconds]
<newuser> anyone?
<newuser> wow.....
newuser has left #ruby-lang [#ruby-lang]
mberk has joined #ruby-lang
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mberk has quit [Ping timeout: 252 seconds]
gwendall has quit [Remote host closed the connection]
chadwtaylor has joined #ruby-lang
amystephen has quit [Quit: amystephen]
martinbmadsen has quit [Ping timeout: 245 seconds]
arBmind1 has quit [Quit: Leaving.]
rbowlby has quit [Ping timeout: 256 seconds]
<jhass> wow indeed
<jhass> impatient programmers, I'll never get that paradox
Miphix has joined #ruby-lang
<red_menace> a lot of the current batch just want stuff handed to them - oh, and better hand it to them NOW
rbowlby has joined #ruby-lang
red_menace has quit [Quit: leaving...]
chadwtaylor has quit [Ping timeout: 252 seconds]
NoNMaDDeN has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
pwnz0r has joined #ruby-lang
charliesome has joined #ruby-lang
joaomdmoura has joined #ruby-lang
NoNMaDDeN has quit [Ping timeout: 252 seconds]
pwnz0r has quit [Ping timeout: 250 seconds]
joaomdmoura has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
nwhirschfeld has quit [Ping timeout: 246 seconds]
nwhirschfeld has joined #ruby-lang
martinbmadsen has joined #ruby-lang
Iskarlar has joined #ruby-lang
ghostpl_ has joined #ruby-lang
symm- has quit [Ping timeout: 256 seconds]
ksoderstrom has quit [Ping timeout: 264 seconds]
ghostpl_ has quit [Ping timeout: 252 seconds]
ksoderstrom has joined #ruby-lang
octodoodle has joined #ruby-lang
symm- has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
Iskarlar_ has joined #ruby-lang
Iskarlar has quit [Ping timeout: 255 seconds]
kaip has joined #ruby-lang
nathanstitt has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
ItSANgo_ has joined #ruby-lang
ItSANgo has joined #ruby-lang
ItSANg___ has joined #ruby-lang
ItSANgo__ has joined #ruby-lang
ItSANgo has quit [Client Quit]
ItSANgo__ has quit [Client Quit]
ItSANg___ has quit [Client Quit]
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
bruno- has joined #ruby-lang
pwnz0r has quit [Ping timeout: 265 seconds]
bruno- has quit [Ping timeout: 250 seconds]
tkuchiki_ has joined #ruby-lang
tkuchiki has quit [Ping timeout: 255 seconds]
LMity has joined #ruby-lang
joaomdmoura has quit [Read error: No route to host]
rbowlby has joined #ruby-lang
joaomdmoura has joined #ruby-lang
LMity has quit [Ping timeout: 264 seconds]
livinded has left #ruby-lang ["WeeChat 1.0.1"]
martinbmadsen has quit [Ping timeout: 252 seconds]
martinbmadsen has joined #ruby-lang
Musashi007 has joined #ruby-lang
kaip has quit [Quit: kaip]
ur5us has quit [Ping timeout: 272 seconds]
symm- has quit [Ping timeout: 265 seconds]
martinbm1dsen has joined #ruby-lang
martinbmadsen has quit [Ping timeout: 244 seconds]
martinbmadsen has joined #ruby-lang
gix has quit [Ping timeout: 255 seconds]
martinbm1dsen has quit [Ping timeout: 264 seconds]
dellavg_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
j4cknewt has joined #ruby-lang
gix has joined #ruby-lang
bennyklotz has joined #ruby-lang
tkuchiki_ has quit [Ping timeout: 246 seconds]
dellavg_ has quit [Ping timeout: 264 seconds]
chadwtaylor has joined #ruby-lang
pepperbreath has joined #ruby-lang
chadwtaylor has quit [Ping timeout: 252 seconds]
martinbmadsen has quit [Ping timeout: 255 seconds]
pwnz0r has joined #ruby-lang
ghostpl_ has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby-lang
pepperbreath1 has joined #ruby-lang
pepperbreath has quit [Ping timeout: 256 seconds]
smoitra has joined #ruby-lang
leat has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
AlexAltea has quit [Ping timeout: 264 seconds]
micmus has quit [Quit: Leaving]
sc00t has quit [Ping timeout: 252 seconds]
Averna has quit [Quit: Leaving.]
ur5us has joined #ruby-lang
ur5us has quit [Ping timeout: 272 seconds]
pwnz0r has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
pwnz0r has quit [Ping timeout: 246 seconds]
Musashi007 has joined #ruby-lang
martinbmadsen has joined #ruby-lang
nedp has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
dhjondoh has joined #ruby-lang
relix has joined #ruby-lang
sc00t has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
NoNMaDDeN has quit [Ping timeout: 255 seconds]
SuMo_D has quit [Ping timeout: 265 seconds]
Musashi007 has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
ttilley has quit [Quit: Leaving...]
lapide_viridi has joined #ruby-lang
riotjon__ has quit [Quit: Leaving...]
fclausen has quit [Ping timeout: 272 seconds]
ghostpl_ has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 245 seconds]
AlexAltea has joined #ruby-lang
rbowlby_ has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros_ has quit [Ping timeout: 250 seconds]
relix has joined #ruby-lang
rbowlby has quit [Ping timeout: 265 seconds]
smoitra has quit [Ping timeout: 256 seconds]
lapide_viridi has quit [Ping timeout: 246 seconds]
sc00t has quit [Ping timeout: 256 seconds]
hhatch has joined #ruby-lang
apeiros_ has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Client Quit]
revath has joined #ruby-lang
bruno- has joined #ruby-lang
bruno- has quit [Ping timeout: 255 seconds]
SuMo_D has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
charliesome has quit [Quit: zzz]
iamninja has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
iamninja has joined #ruby-lang
SuMo_D has quit [Ping timeout: 246 seconds]
sc00t has joined #ruby-lang
ur5us has joined #ruby-lang
AlexAltea has quit [Ping timeout: 244 seconds]
stardiviner has quit [Ping timeout: 246 seconds]
x44x45x41x4E has joined #ruby-lang
Iskarlar_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbowlby_ has quit [Remote host closed the connection]
solars has joined #ruby-lang
stardiviner has joined #ruby-lang
Integralist has joined #ruby-lang
surrounder has joined #ruby-lang
charliesome has joined #ruby-lang
stardiviner has quit [Ping timeout: 255 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #ruby-lang
martinbmadsen has quit [Ping timeout: 255 seconds]
nedp has joined #ruby-lang
smoitra has joined #ruby-lang
stardiviner has joined #ruby-lang
riotjones has joined #ruby-lang
chadwtaylor has joined #ruby-lang
marr has joined #ruby-lang
revath has quit [Ping timeout: 244 seconds]
chadwtaylor has quit [Ping timeout: 252 seconds]
erowlin has joined #ruby-lang
<erowlin> Hello ! I’m looking for a method to escape some string on the controller side of Rails, to allow the string to be passed as an SQL Statement
<erowlin> Input : “abc’def”. Output : “abc\’def”
<erowlin> Should I write a regexp rule ?
<apeiros_> erowlin: rails is #rubyonrails
<erowlin> OH shhh..
<erowlin> Thx sorry
<apeiros_> also, don't interpolate strings into sql
<apeiros_> use bind variables
ghostpl_ has joined #ruby-lang
<Eising> +1 on that
<Eising> recipe for disaster
auzty has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 252 seconds]
Integralist has quit [Quit: leaving]
riffraff has joined #ruby-lang
stef204 has joined #ruby-lang
erowlin has quit [Quit: erowlin]
cornerma1 has joined #ruby-lang
hhatch has quit [Read error: Connection reset by peer]
hhatch has joined #ruby-lang
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
toretore has joined #ruby-lang
Musashi007 has joined #ruby-lang
erowlin has joined #ruby-lang
martinbmadsen has joined #ruby-lang
<maloik_> oh my, youtube disco was shut down :o
<maloik_> didn't you use that a lot yorickpeterse ?
maloik_ is now known as maloik
erowlin has quit [Client Quit]
arBmind has joined #ruby-lang
goodcodeguy has joined #ruby-lang
goodcodeguy has quit [Ping timeout: 252 seconds]
gwendall has joined #ruby-lang
<yorickpeterse> morning
<yorickpeterse> maloik: no
erowlin has joined #ruby-lang
revath has joined #ruby-lang
SuMo_D has joined #ruby-lang
gwendall has quit []
SuMo_D has quit [Ping timeout: 265 seconds]
Musashi007 has quit [Quit: Musashi007]
arBmind has quit [Quit: Leaving.]
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
ghostpl_ has joined #ruby-lang
intinig has quit [Remote host closed the connection]
ghostpl_ has quit [Ping timeout: 264 seconds]
jsaak has quit [Ping timeout: 246 seconds]
amystephen has joined #ruby-lang
workmad3 has joined #ruby-lang
hendranata_ has quit [Ping timeout: 264 seconds]
wdiechmann has joined #ruby-lang
LMity has joined #ruby-lang
arBmind has joined #ruby-lang
jsaak has joined #ruby-lang
<wdiechmann> trying to do some dev with someone on windows - he’s ruby 2.2.1 and I’m mac 10.10.2 (with ruby 2.1.3 tops) - how do we get on mutual ground?
<wdiechmann> we could both be ruby 2.1.5 - but then my bundle install can not find any thread_safe.0.3.5 ?!?!
LMity2 has joined #ruby-lang
LMity has quit [Ping timeout: 244 seconds]
NoNMaDDeN has joined #ruby-lang
erowlin has quit [Ping timeout: 252 seconds]
intinig has joined #ruby-lang
erowlin has joined #ruby-lang
LMity has joined #ruby-lang
auzty has quit [Quit: Leaving]
NoNMaDDeN has quit [Ping timeout: 246 seconds]
skade has joined #ruby-lang
LMity2 has quit [Ping timeout: 272 seconds]
bruno- has joined #ruby-lang
chadwtaylor has joined #ruby-lang
x44x45x41x4E has quit [Ping timeout: 256 seconds]
bruno- has quit [Ping timeout: 256 seconds]
chadwtaylor has quit [Ping timeout: 272 seconds]
LMity has quit [Ping timeout: 264 seconds]
j4cknewt has joined #ruby-lang
arBmind1 has joined #ruby-lang
jds has joined #ruby-lang
arBmind has quit [Ping timeout: 245 seconds]
erowlin has quit [Quit: erowlin]
j4cknewt has quit [Remote host closed the connection]
<darix> wdiechmann: that small difference shouldnt matter all that much
nedp has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
<darix> wdiechmann: stay in the channel
<darix> and if you have a gemfile with thread_safe.0.3.5 as gem name
<darix> that is wrong
havenwood has quit [Remote host closed the connection]
<wdiechmann> sorry - will stay here :$
<wdiechmann> no - don’t have any thread_safe menitioned in my gemfile
<apeiros_> wdiechmann: what do you use to install ruby?
<wdiechmann> chruby - came from rbenv - but swiitched to use auto - I have 5-6 different versions of ruby in production :(
<wdiechmann> but if rbenv will let me find a common ground with M$ - then so be it :)
<apeiros_> wdiechmann: then just install 2.2.1
erowlin has joined #ruby-lang
rbowlby has joined #ruby-lang
<wdiechmann> @apeiros - how did that escape me? Sorry to have waisted your bandwidth guys :$
<wdiechmann> and thx for stepping up @darix and @apeiros!
rbowlby has quit [Ping timeout: 244 seconds]
smoitra has quit [Read error: Connection timed out]
smoitra has joined #ruby-lang
pepperbreath1 has quit [Quit: Leaving.]
haraoka__ has quit [Ping timeout: 245 seconds]
pepperbreath has joined #ruby-lang
fusillicode has joined #ruby-lang
j4cknewt has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 246 seconds]
j4cknewt has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
fusillicode has quit [Ping timeout: 252 seconds]
j4cknewt has joined #ruby-lang
fusillicode has joined #ruby-lang
fusillicode has quit [Client Quit]
j4cknewt has quit [Remote host closed the connection]
fusillicode has joined #ruby-lang
j4cknewt has joined #ruby-lang
ttilley has joined #ruby-lang
ttilley has quit [Changing host]
ttilley has joined #ruby-lang
smoitra has quit [Read error: Connection timed out]
erowlin has quit [Quit: erowlin]
x44x45x41x4E has joined #ruby-lang
lguardiola has joined #ruby-lang
smoitra has joined #ruby-lang
octodoodle has quit [Quit: Textual IRC Client: www.textualapp.com]
fusillicode1 has joined #ruby-lang
ldnunes has joined #ruby-lang
fusillicode has quit [Ping timeout: 250 seconds]
ghostpl_ has quit [Remote host closed the connection]
j4cknewt has quit [Remote host closed the connection]
fusillicode1 has quit [Ping timeout: 240 seconds]
j4cknewt has joined #ruby-lang
Integralist has joined #ruby-lang
levifig has quit [Max SendQ exceeded]
levifig has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
chinmay_dd has joined #ruby-lang
symm- has joined #ruby-lang
fusillicode has joined #ruby-lang
smoitra has quit [Read error: Connection timed out]
smoitra has joined #ruby-lang
ghostpl_ has joined #ruby-lang
chinmay_dd has quit [Quit: Leaving]
j4cknewt has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
certainty has quit [Ping timeout: 276 seconds]
certainty has joined #ruby-lang
chadwtaylor has joined #ruby-lang
stamina has joined #ruby-lang
morfeen has joined #ruby-lang
smoitra has quit [Read error: Connection timed out]
<morfeen> how are name collisions avoided in Ruby classes when multiple modules are imported? Apologize if it is a noob question
chadwtaylor has quit [Ping timeout: 244 seconds]
<yorickpeterse> They are not, they append to each other
<yorickpeterse> or overwrite what already existed
<morfeen> yorickpeterse: So ideally when you write a module, how do you minimize this issue?
<morfeen> or is it not possible?
<workmad3> morfeen: good naming practices, mostly... give your methods names that are decently descriptive rather than short and overly general
<workmad3> morfeen: that way, it's rare to hit a conflict because most people aren't going to import two modules into a single class that do the same thing (i.e. we assume that people are sensible)
<morfeen> workmad3: apart from that, does Ruby not provide any constructs to mitigate this problem?
<morfeen> can the concept of namespaces be used alongside modules?
<yorickpeterse> Ruby has no actual namespaces
<workmad3> morfeen: tbh, most of the time it's not a problem, and it's also a very useful feature to allow because it provides the ability to decorate methods and wrap them up with new functionality
<yorickpeterse> You can nest things in modules/classes, which more or less acts as a namespace
<morfeen> I see.
ghostpl_ has quit [Read error: Connection reset by peer]
<workmad3> morfeen: in cases where there's a higher chance of conflict, and the conflict could be bad, I've seen gems use a naming convention along the lines of '_<gem_name>_<method_name>', refer to those methods in their own internals and alias their API to just <method_name>
<morfeen> right
<workmad3> morfeen: but it's pretty rare (I've mostly seen it in rails plugins where the gem was exposing something like a .search method, and it's not that unheard of to have multiple search mechanisms in a single webapp)
<workmad3> morfeen: with good, descriptive naming practices though, it's a pretty uncommon problem
sgambino has joined #ruby-lang
ixil has joined #ruby-lang
Integralist has quit [Quit: leaving]
<workmad3> morfeen: any particular reason you're concerned about it? just general curiosity, or got burned by it, or...?
<morfeen> Well, I'm new to Ruby and I see the possibility of it causing difficult to trace bugs.
<morfeen> in a big codebase, ie
<morfeen> But I don't know how often it happens in practice. so.
ghostpl_ has joined #ruby-lang
<workmad3> morfeen: my experience is that name collisions are much more likely to be deliberate, with the aim of providing decorator methods that call 'super' in their implementation (which calls the shadowed method), and next most likely is that someone is using an overly generic name (especially when they mix a module into something like an ActiveRecord::Base derived class that has a *huge* interface)... someth
<workmad3> ing like 'search' or 'save'
<toretore> morfeen: the only times i've encountered it is when someone did something stupid they shouldn't have
<workmad3> morfeen: that sort of collision is normally pretty easy to detect because it causes you major difficulties straight away
<toretore> morfeen: namely, "monkey patching"
<toretore> monkey patching bein the inverse of what i deem proper use of mixins: mixing other modules into ones that you control
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toretore> and not mixing your own modules into others that you don't control, re workmad3's AR::B example above
<workmad3> toretore: well, my example was that you have a class you *do* control, e.g. class MyStuff < ActiveRecord::Base, but you mix in something that shadows or messes around with something from AR::B
<workmad3> toretore: unless you consider your own subclasses of library/framework provided base classes to be stuff you don't control ;)
<toretore> ok, that's kosher
<morfeen> toretore: I've worked in a company where monkey patching was more of the norm. the codebase was 9-10 years old, people came and left. Such products/companies could burn themselves.
iamninja has joined #ruby-lang
iamninja has quit [Client Quit]
<toretore> monkey patching is bullshit, plain and simple
iamninja has joined #ruby-lang
<morfeen> But for small teams who iterate fast, it should not be an issue.
<toretore> when i hear "iterate fast" i think of it as a euphemism for "don't give a shit and just make it work"
<toretore> sometimes i think we need to iterate slower
<workmad3> toretore: monkey patching can be a very useful exploratory technique, so I wouldn't want to get rid of it completely
<workmad3> toretore: e.g. figuring out what part of a library has a bug, so you figure out a monkey-patch in IRB that you then use to fork the library, apply the patch and create a PR (and use your fork while waiting for the PR to be accepted)
<workmad3> but yeah, I'd be happy to impose a 'no monkey-patching on production code' restriction
skade has joined #ruby-lang
<morfeen> workmad3: in most of the "enterprisey" companies, with large codebases, developers have no choice. There is usually no single person who knows how it all fits together
<toretore> sure, i'm talking about code that's supposed to be "done"
erowlin has joined #ruby-lang
<toretore> morfeen: it takes discipline, that's why it's so rare
<workmad3> morfeen: I've yet to come across a situation where monkey-patching was the only way to achieve something... it might be the slightly quicker way to achieve something, but at the expense of future comprehensibility and stability of your code
<toretore> in large codebases you get broken windows, and after a while people just stop caring
<morfeen> workmad3: it usually happens with legacy code bases.
<toretore> so you have to be disciplined to make sure you don't break any windows in the first place
<morfeen> I've had the misfortune of working with one of them.
<toretore> or keep your window breaking very isolated
<toretore> and then there's external factors like "this absolutely has to be done by friday", which is very rarely the case
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby-lang
yalue has joined #ruby-lang
morfeen has quit [Remote host closed the connection]
j4cknewt has quit [Remote host closed the connection]
erowlin has quit [Ping timeout: 245 seconds]
bruno- has joined #ruby-lang
erowlin has joined #ruby-lang
sankaber has joined #ruby-lang
charliesome_ has joined #ruby-lang
charliesome has quit [Ping timeout: 272 seconds]
j4cknewt has joined #ruby-lang
iamninja has quit [Quit: WeeChat 1.1.1]
shinnya has joined #ruby-lang
centrx has joined #ruby-lang
tkuchiki has quit [Ping timeout: 246 seconds]
iamninja has joined #ruby-lang
iamninja has quit [Client Quit]
NoNMaDDeN has joined #ruby-lang
iamninja has joined #ruby-lang
iamninja has quit [Client Quit]
iamninja has joined #ruby-lang
sc00t has quit [Ping timeout: 255 seconds]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
b_hoffman has joined #ruby-lang
wdiechmann has quit [Quit: wdiechmann]
banister has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
skade has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
stamina has quit [Quit: WeeChat 1.1.1]
nathanstitt has joined #ruby-lang
RbLeif has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
RbLeif has left #ruby-lang [#ruby-lang]
malconis has joined #ruby-lang
fujimura has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
skade has joined #ruby-lang
relix has joined #ruby-lang
malconis has quit [Remote host closed the connection]
nathanstitt has quit [Ping timeout: 246 seconds]
ixil has quit [Quit: Leaving]
malconis has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
jas02 has joined #ruby-lang
stef204 has joined #ruby-lang
modred11 has quit [Quit: Leaving.]
enebo has joined #ruby-lang
rikkipitt has joined #ruby-lang
nathanstitt has joined #ruby-lang
chadwtaylor has joined #ruby-lang
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chadwtaylor has quit [Ping timeout: 246 seconds]
rikkipitt has quit [Quit: Leaving...]
jas02 has quit [Quit: jas02]
AugustoCesar has joined #ruby-lang
kaip has joined #ruby-lang
jas02 has joined #ruby-lang
SuMo_D has joined #ruby-lang
jas02 has quit [Client Quit]
goodcodeguy has joined #ruby-lang
jas02 has joined #ruby-lang
setanta_ has joined #ruby-lang
dhjondoh has quit [Ping timeout: 246 seconds]
erowlin has quit [Ping timeout: 244 seconds]
tubbo has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby-lang
stan_ has joined #ruby-lang
smoitra has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 245 seconds]
revath has quit [Ping timeout: 240 seconds]
whippythellama has joined #ruby-lang
erowlin has joined #ruby-lang
banister is now known as banisterfiend
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
workmad3 has quit [Ping timeout: 250 seconds]
stef204 has joined #ruby-lang
konr has joined #ruby-lang
fujimura has joined #ruby-lang
erowlin has quit [Ping timeout: 252 seconds]
erowlin_ has joined #ruby-lang
ghostpl_ has quit [Read error: Connection reset by peer]
ghostpl_ has joined #ruby-lang
j4cknewt has joined #ruby-lang
womble has joined #ruby-lang
fujimura has quit [Ping timeout: 250 seconds]
smoitra has quit [Read error: Connection timed out]
malconis_ has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
malconis has quit [Ping timeout: 245 seconds]
smoitra has joined #ruby-lang
x44x45x41x4E has joined #ruby-lang
jas02 has left #ruby-lang [#ruby-lang]
x44x45x41x4E has quit [Client Quit]
chouhoulis has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
SuMo_D has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
sc00t has joined #ruby-lang
slawrence00 has joined #ruby-lang
SuMo_D has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
tkuchiki has joined #ruby-lang
Iskarlar has joined #ruby-lang
bruno- has quit [Ping timeout: 264 seconds]
j4cknewt has quit [Remote host closed the connection]
fvt has quit [Quit: WeeChat 0.4.1]
smoitra has quit [Read error: Connection timed out]
g0bl1n has joined #ruby-lang
g0bl1n has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
chadwtaylor has joined #ruby-lang
j4cknewt has joined #ruby-lang
bruno- has joined #ruby-lang
tenderlove has joined #ruby-lang
tkuchiki has joined #ruby-lang
Integralist has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
chadwtaylor has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby-lang
SylarRuby has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
sc00t has quit [Ping timeout: 246 seconds]
joaomdmoura has joined #ruby-lang
charliesome_ has quit [Quit: zzz]
jgpawletko has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
chouhoulis has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
chadwtaylor has joined #ruby-lang
ur5us has quit [Ping timeout: 245 seconds]
|jemc| has joined #ruby-lang
Integralist has quit [Quit: leaving]
_kfpratt has joined #ruby-lang
revath has joined #ruby-lang
skade has joined #ruby-lang
kfpratt has quit [Ping timeout: 264 seconds]
kaip has quit [Quit: kaip]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
rippa has joined #ruby-lang
erowlin has joined #ruby-lang
erowlin_ has quit [Ping timeout: 265 seconds]
apeiros_ has quit [Ping timeout: 244 seconds]
fujimura has joined #ruby-lang
fusillicode1 has joined #ruby-lang
sc00t has joined #ruby-lang
fujimura has quit [Ping timeout: 244 seconds]
fusillicode has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
kaip has joined #ruby-lang
hahuang62 has quit [Ping timeout: 256 seconds]
erowlin_ has joined #ruby-lang
joaomdmoura has joined #ruby-lang
riffraff has quit [Quit: Leaving]
erowlin has quit [Ping timeout: 245 seconds]
erowlin_ is now known as erowlin
workmad3 has joined #ruby-lang
micmus has joined #ruby-lang
ledestin has joined #ruby-lang
g0bl1n has quit [Quit: Leaving]
apeiros_ has joined #ruby-lang
revath has quit [Ping timeout: 252 seconds]
j4cknewt has joined #ruby-lang
fullybaked has joined #ruby-lang
amsi has joined #ruby-lang
j4cknewt has quit [Ping timeout: 255 seconds]
solars has quit [Ping timeout: 256 seconds]
symm- has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
rbowlby has joined #ruby-lang
fullybaked has quit [Quit: leaving]
chadwtaylor has quit [Remote host closed the connection]
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
ledestin has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby-lang
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
SuMo_D has quit [Ping timeout: 256 seconds]
vipaca has joined #ruby-lang
relix has joined #ruby-lang
pothibo has joined #ruby-lang
smoitra has joined #ruby-lang
wallerdev has joined #ruby-lang
chadwtaylor has joined #ruby-lang
wallerdev has quit [Client Quit]
centrx has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
wallerdev has joined #ruby-lang
smoitra has quit [Quit: Leaving]
smoitra has joined #ruby-lang
toretore has quit [Quit: Leaving]
stan_ has quit [Ping timeout: 256 seconds]
strixd has quit [Quit: 500]
hahuang62 has joined #ruby-lang
mberk has joined #ruby-lang
spuk has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
kaip has quit [Quit: kaip]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
konr has quit [Quit: Connection closed for inactivity]
kaip has joined #ruby-lang
lytol has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
smoitra has quit [Read error: Connection timed out]
smoitra has joined #ruby-lang
uma has joined #ruby-lang
kaip has quit [Quit: kaip]
joaomdmoura has joined #ruby-lang
riotjones has quit [Remote host closed the connection]
arBmind1 has quit [Ping timeout: 255 seconds]
arBmind has joined #ruby-lang
uma has quit [Quit: Leaving]
uma has joined #ruby-lang
joaomdmo_ has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
uma has quit [Client Quit]
joaomdmoura has quit [Ping timeout: 256 seconds]
kaip has joined #ruby-lang
kaip has quit [Client Quit]
erowlin has quit [Quit: erowlin]
ur5us has joined #ruby-lang
fujimura has joined #ruby-lang
smoitra has quit [Read error: Connection timed out]
banisterfiend has quit [Read error: Connection reset by peer]
fujimura has quit [Ping timeout: 256 seconds]
lapide_viridi has joined #ruby-lang
SuMo_D has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
JamesDH has joined #ruby-lang
workmad3 has joined #ruby-lang
banister has joined #ruby-lang
SuMo_D has quit [Ping timeout: 264 seconds]
AlexAltea has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
revath has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
NoNMaDDeN has joined #ruby-lang
sarkyniin has joined #ruby-lang
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
revath has quit [Ping timeout: 255 seconds]
Leif___ has joined #ruby-lang
agarie has joined #ruby-lang
stef204 has joined #ruby-lang
revath has joined #ruby-lang
Leif___ has quit [Ping timeout: 244 seconds]
kaip has joined #ruby-lang
surya has joined #ruby-lang
surya is now known as Guest35511
chadwtaylor has quit [Remote host closed the connection]
agarie has quit [Remote host closed the connection]
<Guest35511> hi i am interested in contributing to ruby, can someone guide me?
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
kaip has quit [Client Quit]
malconis_ has quit [Ping timeout: 240 seconds]
b_hoffman has joined #ruby-lang
<havenwood> Guest35511: Documentation is a nice way to contribute, and you can learn a lot reading the documentation trying to find some that is lacking to fill in.
<Guest35511> so should i begin with building up the source?
<havenwood> Guest35511: Or here are some ambitious ideas compiled for this year's Google Summer of Code: https://github.com/rubygsoc/rubygsoc/wiki/Ideas-List
<havenwood> Guest35511: Sure, build from source and get rolling.
<Guest35511> yeah i have already been through them and i would like to know more about multiple thrading and fine grained locking project
<havenwood> Guest35511: Are you an experienced C hacker?
NoNMaDDeN has quit [Ping timeout: 246 seconds]
<Guest35511> no but i am experienced with multi-threading and coding.
<havenwood> Guest35511: Doing anything with MRI's GVL is going to require quite a bit of study of its C internals. It's quite a huge task. But if you want a challenge, that's sure a hard one!
ttilley has quit [Quit: Leaving...]
<Guest35511> that's not the problem but problem is where to start?
<havenwood> Guest35511: Start by reading this series of articles as an introduction: http://www.jstorimer.com/blogs/workingwithcode/8085491-nobody-understands-the-gil
arBmind has joined #ruby-lang
malconis has joined #ruby-lang
shazaum has joined #ruby-lang
shazaum has quit [Changing host]
shazaum has joined #ruby-lang
Olipro is now known as Guest9519
<havenwood> Guest35511: Then start code spelunking: https://github.com/ruby/ruby/blob/trunk/thread.c
<havenwood> Guest35511: The cross-Thread Fiber support one would be really interesting.
<havenwood> Guest35511: You might also ask in #rubinius and #jruby, there's a bunch of neat stuff there too.
ghostpl_ has joined #ruby-lang
riotjone_ has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
<Guest35511> thanks a lot.
agarie has joined #ruby-lang
joaomdmo_ has quit [Remote host closed the connection]
<havenwood> Guest35511: you're welcome, happy coding!
g0bl1n has joined #ruby-lang
g0bl1n has joined #ruby-lang
riotjone_ has quit [Ping timeout: 264 seconds]
NoNMaDDeN has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
SylarRub_ has joined #ruby-lang
SylarRuby has quit [Ping timeout: 246 seconds]
<Guest35511> i really don't know how to look at that code you gave me or what should i interpret from it @havenwood.
intinig has quit [Ping timeout: 246 seconds]
<havenwood> Guest35511: You may want to work on something that doesn't involve so much C.
<Guest35511> no c is my area.
wallerdev has quit [Quit: wallerdev]
<Guest35511> but what else can i work on?
dellavg_ has joined #ruby-lang
<havenwood> Guest35511: You can look through the issue tickets for CRuby: https://bugs.ruby-lang.org/projects/ruby-trunk/issues
pothibo has quit [Quit: pothibo]
<havenwood> Guest35511: And review the Pull Requests on the Githubs: https://github.com/ruby/ruby/pulls
stef204 has joined #ruby-lang
g0bl1n has quit [Quit: Leaving]
iliketur_ has joined #ruby-lang
spetryk has joined #ruby-lang
centrx has joined #ruby-lang
kaip has joined #ruby-lang
iliketurtles has quit [Ping timeout: 252 seconds]
NoNMaDDeN has quit [Ping timeout: 252 seconds]
joaomdmoura has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
lapide_viridi has quit [Quit: Leaving]
<Guest35511> so ishould be looking to fix those bugs mentioned in https://bugs.ruby-lang.org/projects/ruby-trunk/issues
joaomdmoura has quit [Remote host closed the connection]
wprice has joined #ruby-lang
postmodern has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 1.1.1]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
NoNMaDDeN has joined #ruby-lang
revath has quit [Ping timeout: 272 seconds]
iliketur_ has quit [Quit: zzzzz…..]
joaomdmoura has joined #ruby-lang
ghostpl_ has joined #ruby-lang
Guest35511 has quit [Quit: Page closed]
Iskarlar has joined #ruby-lang
ledestin has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 265 seconds]
chadwtaylor has joined #ruby-lang
|jemc| has joined #ruby-lang
iliketurtles has joined #ruby-lang
chadwtaylor has quit [Remote host closed the connection]
iliketurtles has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
shazaum has quit [Quit: Leaving]
riotjone_ has joined #ruby-lang
riotjone_ has quit [Ping timeout: 240 seconds]
agarie has quit [Remote host closed the connection]
agarie has joined #ruby-lang
hakunin has joined #ruby-lang
_dabradley has quit [Quit: WeeChat 0.4.2]
mberk has quit [Remote host closed the connection]
mberk has joined #ruby-lang
j4cknewt has joined #ruby-lang
ghostpl_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 256 seconds]
steve-la has joined #ruby-lang
wallerdev has joined #ruby-lang
yfeldblum has joined #ruby-lang
kaip has quit [Quit: kaip]
joaomdmoura has quit [Remote host closed the connection]
lele|w has quit [Ping timeout: 272 seconds]
wallerdev has quit [Ping timeout: 264 seconds]
kaip has joined #ruby-lang
fclausen has joined #ruby-lang
wallerdev has joined #ruby-lang
chadwtaylor has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 255 seconds]
cornerma1 is now known as cornerman
illBill has joined #ruby-lang
lytol has quit [Remote host closed the connection]
steve-la has quit [Quit: Be back later ...]
spetryk has quit [Quit: Be back later ...]
spetryk has joined #ruby-lang
lele|w has joined #ruby-lang
symm- has quit [Ping timeout: 246 seconds]
dellavg_ has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
chadwtaylor has quit [Remote host closed the connection]
spetryk has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby-lang
duderonomy has joined #ruby-lang
lele|w has quit [Ping timeout: 272 seconds]
bantic has joined #ruby-lang
skade has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
yalue has quit [Quit: return 0;]
mberk has quit [Remote host closed the connection]
reprazent has quit [Quit: Bye]
apt-get_ has joined #ruby-lang
iliketurtles has quit [Ping timeout: 264 seconds]
lele|w has joined #ruby-lang
SuMo_D has quit [Ping timeout: 256 seconds]
sarkyniin has quit [Ping timeout: 240 seconds]
agarie has quit [Remote host closed the connection]
kadoppe has quit [Ping timeout: 264 seconds]
NoNMaDDeN has quit [Ping timeout: 256 seconds]
kadoppe has joined #ruby-lang
lytol has joined #ruby-lang
lele|w has quit [Ping timeout: 272 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ldnunes has quit [Quit: Leaving]
agarie has joined #ruby-lang
rippa has joined #ruby-lang
nedp has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
momomomomo has joined #ruby-lang
mberk has joined #ruby-lang
yfeldblum has joined #ruby-lang
lele|w has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
fujimura has joined #ruby-lang
fujimura has quit [Ping timeout: 255 seconds]
NoNMaDDeN has joined #ruby-lang
Miphix has quit [Read error: Connection reset by peer]
Miphix has joined #ruby-lang
micmus has quit [Quit: Leaving]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joaomdmoura has joined #ruby-lang
centrx has quit [Quit: Shutting down, Please wait...]
mberk has quit [Remote host closed the connection]
mberk has joined #ruby-lang
mberk has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
fusillicode1 has quit [Ping timeout: 265 seconds]
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dorei has joined #ruby-lang
yfeldblum has joined #ruby-lang
kaip has quit [Quit: kaip]
mberk has joined #ruby-lang
kaip has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby-lang
illBill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chadwtaylor has joined #ruby-lang
SuMo_D has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
SuMo_D has quit [Ping timeout: 265 seconds]
agarie has quit []
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
mkosaki has joined #ruby-lang
mkosaki has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
sc00t has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
sgambino has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
mberk has quit [Remote host closed the connection]
fujimura_ has joined #ruby-lang
bb010g has quit [Quit: Connection closed for inactivity]
fujimura_ has quit [Ping timeout: 252 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
apt-get_ has quit [Remote host closed the connection]
<SylarRub_> anyone knows how to hyphenated two words words with regex?
whippythellama has quit [Quit: whippythellama]
<wallerdev> >> "why regex".gsub(/(\w+) (\w+)/, '\1-\2')
<eval-in_> wallerdev => "why-regex" (https://eval.in/300927)
bantic has quit [Quit: bantic]
kaip has quit [Quit: kaip]
Leif___ has joined #ruby-lang
<SylarRub_> wallerdev: I'll try. Thanks!
<SylarRub_> eval-in_: thanks also
enebo has quit [Quit: enebo]
<wallerdev> lol
nathanstitt has quit [Ping timeout: 252 seconds]
* womble snickers
j4cknewt has joined #ruby-lang
<womble> "My favourite was some time ago, and involved a female customer thanking "Mr. Daemon" for his effort trying to deliver her mail, and offering him a "good time" if he ever visited Sydney." -- Matt McLeod
j4cknewt has quit [Remote host closed the connection]
symm- has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
<wallerdev> lol
<jhass> wallerdev: what training camp did you visit to understand that question? :P
<SylarRub_> wallerdev: works! Thanks!
<wallerdev> lol
<wallerdev> i am amazing
<jhass> indeed
ur5us has joined #ruby-lang
<SylarRub_> wallerdev: f-ing amazing!
<wallerdev> anyone here work at amazon
<womble> They're all f-ing amazoning
ur5us has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
skyrocker has quit [Read error: Connection reset by peer]
<darix> womble: that quote up there from twitter or so?
<womble> darix: Usenet, c. 2003
<darix> ok
skyrocker has joined #ruby-lang
mberk has joined #ruby-lang
relix has quit [Read error: Connection reset by peer]
relix has joined #ruby-lang
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SuMo_D has joined #ruby-lang
j5s7 has joined #ruby-lang
SuMo_D has quit [Ping timeout: 256 seconds]
j5s7 has quit [Client Quit]
<zenspider> wallerdev: what's up? I don't work at amazon (anymore) but have several contacts who do
<wallerdev> theyve been trying to recruit me for awhile and sent me soemthing about an "expedited interview event" where they either make an offer or dont and you interview with multiple teams
lnr has joined #ruby-lang
lnr has left #ruby-lang [#ruby-lang]
<wallerdev> didnt know if anyone had any experience with that
<wallerdev> haha
<wallerdev> sounds like theyre probably trying to hire a lot of people at once
<zenspider> speed dating?
<wallerdev> lol basically
<wallerdev> you do one interview
<wallerdev> per team
<wallerdev> and they make an offer or dont at the end of it
Leif___ has quit []
BlackMustard has joined #ruby-lang
<zenspider> normally you do N people from 1 team. if they think you're good but not a fit for that team, they schlep you off to another hiring manager and you repeat
<zenspider> this sounds better
<wallerdev> yeah thats what im used to
<wallerdev> dont think i want to leave SF though
<wallerdev> could be the future of interviewing though!
sulky has joined #ruby-lang
mberk has quit [Remote host closed the connection]
shtirlic has quit [Ping timeout: 252 seconds]
dbussink has quit [Ping timeout: 252 seconds]
Guest9519 has quit [Ping timeout: 252 seconds]
dbussink has joined #ruby-lang
<zenspider> wallerdev: amazon will NOT be leading the future of interviewing
<zenspider> no more than google ever will
shtirlic has joined #ruby-lang
<wallerdev> haha
<wallerdev> you never know
Olipro has joined #ruby-lang
<wallerdev> maybe they'll invent the amazon fire interviewer HD
fujimura has joined #ruby-lang
BlackMustard has quit [Excess Flood]
yfeldblum has quit [Remote host closed the connection]
fujimura has quit [Ping timeout: 244 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BlackMustard has joined #ruby-lang
yfeldblum has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt_ has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
relix has joined #ruby-lang
iliketurtles has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
bruno- has quit [Ping timeout: 245 seconds]
<zenspider> SylarRub_: what does `hash.keys.to_s` return?
<jhass> scan instead of match seems bullshit, depending on what you want
<SylarRub_> zenspider: all keys and values as a string
<jhass> SylarRub_: I'd advice to define the hash with string keys in the first place
chadwtaylor has quit [Quit: Leaving...]
<zenspider> SylarRub_: which looks like what?
<zenspider> jhass: the problem is much more fundamental than that
<jhass> >> "one two sixt".scan /(sixty|one)/ # and your assertion about sixt vs sixty is simply wrong
<eval-in_> jhass => [["one"]] (https://eval.in/300935)
<SylarRub_> zenspider: sorry all keys. looks like
<zenspider> SylarRub_: so in your example, WHAT is the result?
<SylarRub_> yes: "[keys]"
<zenspider> >> {:one => 1, :two => 2, :six => 6, :sixty => 60 }.keys.to_s
<eval-in_> zenspider => "[:one, :two, :six, :sixty]" (https://eval.in/300937)
<zenspider> is that the regular expression you're looking for?
<SylarRub_> eval-in_: yes
<SylarRub_> eval-in_: yes
<zenspider> answer: no
<zenspider> that is most definitely not the regexp you're looking for
<zenspider> >> Regexp.union({:one => 1, :two => 2, :six => 6, :sixty => 60 }.keys.to_s)
<eval-in_> zenspider => /\[:one,\ :two,\ :six,\ :sixty\]/ (https://eval.in/300938)
<wallerdev> lol
<SylarRub_> eval-in_: what if i have a long list in the hash? that wont work
<SylarRub_> zenspider: what if i have a long list in the hash? that wont work
<zenspider> your code doesn't work, so it doesn't matter how long it is
<zenspider> you're not thinking about types correctly.
slawrence00 has quit [Quit: Textual IRC Client: www.textualapp.com]
slawrence00 has joined #ruby-lang
<zenspider> SylarRub_: what does Regexp.union take ?
<SylarRub_> It works really. Need to strings instead of symbols and change my regex to match
<SylarRub_> need to change symbols to strings
<SylarRub_> in hash