Menorah has quit [Quit: This computer has gone to sleep]
mattyohe has quit [Quit: Connection closed for inactivity]
kiyote23 has quit [Ping timeout: 258 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
pwnz0r has joined #ruby-lang
<nofxx_>
Any idea what 'char_2_code' might mean? Related to countries and dial codes
<nofxx_>
and it's not the ascii char for some code (which doesn't make sense anyway)
<nofxx_>
only this umbers ... 1, 8, 10, 14, 22 ... and it's not lost related =P
j4cknewt has joined #ruby-lang
Menorah has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
iamninja has joined #ruby-lang
dorei has quit []
gix has quit [Ping timeout: 272 seconds]
midhir_ has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
kiyote23 has joined #ruby-lang
kiyote23 has quit [Ping timeout: 255 seconds]
Sadin has joined #ruby-lang
loincloth has joined #ruby-lang
loincloth has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: zzz]
ikrima has joined #ruby-lang
djbkd has joined #ruby-lang
<wmoxam>
nofxx_: s'up
spastorino has quit [Quit: Connection closed for inactivity]
amsi has quit [Quit: Leaving]
mistym has joined #ruby-lang
yock has joined #ruby-lang
hahuang62 has joined #ruby-lang
Narzew has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
patrickholmes has quit [Ping timeout: 240 seconds]
yock has quit [Ping timeout: 265 seconds]
apeiros_ has joined #ruby-lang
kiyote23 has joined #ruby-lang
kiyote23_ has joined #ruby-lang
kiyote23 has quit [Read error: Connection reset by peer]
hahuang62 has quit [Ping timeout: 244 seconds]
kiyote23_ has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
kiyote23 has joined #ruby-lang
tombroomfield has joined #ruby-lang
rbowlby has joined #ruby-lang
deryl has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
rbowlby has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby-lang
tombroomfield has quit [Read error: Connection reset by peer]
tombroomfield has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
banister has joined #ruby-lang
nisstyre is now known as nisscrooge
tombroomfield has quit [Read error: Connection reset by peer]
Yserz_ has joined #ruby-lang
tombroomfield has joined #ruby-lang
yfeldblum has joined #ruby-lang
Yserz_1 has quit [Ping timeout: 244 seconds]
banister has quit [Read error: Connection reset by peer]
kapil__ has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
pwnz0r has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
Lewix has joined #ruby-lang
deryl has quit [Ping timeout: 244 seconds]
deryl has joined #ruby-lang
bb010g has joined #ruby-lang
yield_rb has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
Lewix_ has joined #ruby-lang
yock has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
Jet4Fire has joined #ruby-lang
yock has quit [Ping timeout: 250 seconds]
kiyote23 has joined #ruby-lang
Menorah has quit [Quit: This computer has gone to sleep]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
Yserz_ has quit [Quit: Leaving.]
Lewix_ has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
tombroomfield has quit [Ping timeout: 256 seconds]
Blackhol_ has quit []
gwendall has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
kiyote23 has joined #ruby-lang
loincloth has joined #ruby-lang
tombroomfield has joined #ruby-lang
j4cknewt has joined #ruby-lang
loincloth has quit [Ping timeout: 264 seconds]
kiyote23 has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
tombroomfield has quit [Ping timeout: 255 seconds]
kfpratt has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
<nofxx_>
wmoxam, hey there! can I discuss with you some topics about phonie?
<nofxx_>
1. add national dialing prefix as a non capture, pretty common 0, as you did on #area_code_regex, but it's not on the other matchers. Going to add, and instead of 0 get the data from the yml
<nofxx_>
2. why and why not remove char_2_code
<nofxx_>
3. may I fix the utf8 errors on the data file?
deryl has left #ruby-lang [#ruby-lang]
deryl has joined #ruby-lang
<nofxx_>
4. remove name? only iso 3366, and if you really need name you can use it from iso-country-names, will get that in the language you want
deryl has quit [Client Quit]
deryl has joined #ruby-lang
Menorah has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
<wmoxam>
nofxx_: I'll try to review your pull request soon, likely this weekend
<wmoxam>
1-3 sound reasonable, char_2_code is just a holdover from carr/phone and AFAICT there is no reason to keep it
<wmoxam>
and I'm open to #4
<wmoxam>
will think on it some more
<nofxx_>
wmoxam, cool, gonna try to make it independent commits (reset to your master and branch right?)
<nofxx_>
independent pull requests*
<nofxx_>
that first pull request has only brazil, triple checked but going to add more tests... another point I was going to discuss a nice failing method, the parse_test evil brother
faces has joined #ruby-lang
<wmoxam>
nofxx_: ok cool, sounds great
face has quit [Ping timeout: 244 seconds]
<nofxx_>
wmoxam, ok, donne it all on issues, easier to discuss
<deryl>
Merry Christmas to all! And a happy early New Year!
<nofxx_>
xmas... home alone 1,2,3 on tv every day...
<nofxx_>
wmoxam, ah! the most important thing... nothing in the code perspective, but hours on merge if done badly: rubocop -a it up. Need to do it ... hehe
<el_bastardo>
classy mccollin caulker stuff... Do you also get to see schwarzenegger as "turboman"?
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
gjaldon has joined #ruby-lang
<nofxx_>
el_bastardo, hehe, now I remember why I dont watch tv
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
rahul_j has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
gwendall has quit [Ping timeout: 244 seconds]
revath has joined #ruby-lang
<nofxx_>
Why isn't there String#any? is there a ticket for it I could up vote? heh
simi has quit [Ping timeout: 258 seconds]
loincloth has joined #ruby-lang
setmeaway has joined #ruby-lang
loincloth has quit [Ping timeout: 256 seconds]
kramsee has quit [Ping timeout: 255 seconds]
kramsee has joined #ruby-lang
rahul_j has quit [Ping timeout: 252 seconds]
rahul_j_ has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
face has joined #ruby-lang
faces has quit [Ping timeout: 264 seconds]
gjaldon has joined #ruby-lang
Bwild has quit [Ping timeout: 250 seconds]
stevednd has quit [Ping timeout: 264 seconds]
stevednd has joined #ruby-lang
kramsee has quit [Ping timeout: 255 seconds]
kramsee has joined #ruby-lang
|jemc| has quit [Ping timeout: 265 seconds]
faces has joined #ruby-lang
jamo_ has joined #ruby-lang
duderonomy has joined #ruby-lang
face has quit [Ping timeout: 264 seconds]
ishikawa has quit [Ping timeout: 250 seconds]
ishikawa has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
Menorah has joined #ruby-lang
Musashi007 has joined #ruby-lang
face has joined #ruby-lang
faces has quit [Ping timeout: 245 seconds]
nisscrooge has quit [Ping timeout: 265 seconds]
setmeaway has quit [Quit: Leaving]
nisscrooge has joined #ruby-lang
nisscrooge is now known as nisstyre
nisstyre has quit [Changing host]
nisstyre has joined #ruby-lang
nisstyre is now known as nisscrooge
cantonic has quit [Quit: cantonic]
ozzloy has quit [Ping timeout: 250 seconds]
ozzloy has joined #ruby-lang
mistym has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 244 seconds]
kiyote23 has joined #ruby-lang
kfpratt has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
kiyote23 has quit [Ping timeout: 272 seconds]
kfpratt has quit [Ping timeout: 258 seconds]
caseypatrickdris has quit [Remote host closed the connection]
Menorah has quit [Quit: This computer has gone to sleep]
lsegal has joined #ruby-lang
Lingo____ has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
revath has quit [Ping timeout: 245 seconds]
j4cknewt has quit [Remote host closed the connection]
Lingo____ has quit [Quit: Be back later ...]
chinmay_dd has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
gwendall has joined #ruby-lang
jxie has joined #ruby-lang
yfeldblum has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
mistym has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
chinmay_dd_ has joined #ruby-lang
j4cknewt has joined #ruby-lang
dvorak has quit [Ping timeout: 244 seconds]
chinmay_dd has quit [Ping timeout: 252 seconds]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
revath has joined #ruby-lang
ruby-lang620 has joined #ruby-lang
Lingo____ has joined #ruby-lang
fusillicode has joined #ruby-lang
<godd2>
nofxx_ what would it do?
<godd2>
you can always do str.chars.any?
nisscrooge has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
kyb3r_ has joined #ruby-lang
caseypatrickdris has quit [Ping timeout: 265 seconds]
fsvehla has quit [Quit: fsvehla]
caseypatrickdris has joined #ruby-lang
nisscrooge has joined #ruby-lang
yfeldblum has joined #ruby-lang
rahul_j_ has quit [Quit: rahul_j_]
bmichelsen has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
caseypatrickdris has quit [Ping timeout: 256 seconds]
rahul_j has joined #ruby-lang
gwendall has joined #ruby-lang
AmirolAhmad has joined #ruby-lang
pwnz0r has joined #ruby-lang
rbowlby has joined #ruby-lang
charliesome has joined #ruby-lang
<hakunin_>
wonder if you can define an operator in ruby such that it would short circuit, like || does
rahul_j has quit [Quit: rahul_j]
arBmind has joined #ruby-lang
<hakunin_>
(experimenting with ternary logic)
pwnz0r has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
<hakunin_>
hm i think i might have an idea…
charliesome has quit [Quit: zzz]
oleo has joined #ruby-lang
<hakunin_>
no i don't
oleo__ has quit [Ping timeout: 240 seconds]
hakunin_ is now known as hakunin
gwendall has joined #ruby-lang
chinmay_dd_ is now known as chinmay_dd
<nofxx_>
godd2, it would do chars.any, exactly. well, it keeps least surprise, "this collection has any" string == collection of chars
yfeldblum has joined #ruby-lang
JohnBooty has joined #ruby-lang
<godd2>
nofxx_ conceptually, there is debate as to whether or not thinking about strings as collections is a good model
<nofxx_>
talking about strings, what's the easy way to do '12345' -> '1(2) 3.45' string formating?
<nofxx_>
godd2, what's the other model?
<godd2>
I would argue that a string has something more than a mere collection, as the order of its members is more important than, say, a collection of user objects
nisscrooge has quit [Ping timeout: 245 seconds]
Blaguvest has joined #ruby-lang
<nofxx_>
disagree, lots of stuff rely on arrays having an order
<nofxx_>
hence stuff like OrderedHash prior 1.9
<godd2>
for efficiency yes, but a string isn't a bag of characters
<nofxx_>
to bring such useful functionality to hash
<godd2>
a string's characters' order has meaning, an array of users' order doesn't
<nofxx_>
a bag with semantics... agree, but that's a point in my opinion pro-having-any-on-string ;)
oliver_ has joined #ruby-lang
oliver_ has quit [Client Quit]
<nofxx_>
godd2, if I ordered by some attribute the order has meaning
<godd2>
but I'm saying that it's not a bag with semantics.
yfeldblum has quit [Ping timeout: 252 seconds]
<nofxx_>
hehe
<godd2>
nofxx_ yes but a string ingerently has meaning in its order
<godd2>
inherently*
AmirolAhmad has quit [Remote host closed the connection]
AmirolAhmad has joined #ruby-lang
<godd2>
so when you think about the characters of a string qua characters, yes it's a bag, but qua members of a string it loses bagness
jlpeters has joined #ruby-lang
<nofxx_>
I agree, but I don't see how that is con-any ...
<godd2>
I'm not telling you what you should think or what you should do, I'm just offering an alternative argument
<godd2>
as for being con-any it would be because in that sense, there is no atomic subset of a string for which any would be sensible
<godd2>
remember, for any you're asking about members of the collection having particular properties. so you'd have to impose a notion of membership
<godd2>
and you do that with chars
<godd2>
but I can see your point that the default "member" of a string is a character.
<godd2>
but then maybe your string should be a character array (or something else) in the first place ;)
AmirolAhmad has quit [Remote host closed the connection]
<nofxx_>
godd2, the opposite is more common, have bytes in array to pack/unpack and using string solely for chars
AmirolAhmad has joined #ruby-lang
<nofxx_>
also: the number of bytes aint equal chars, or might, but can one be empty and the other not?
<hakunin>
string as char array is not very encoding friendly
<hakunin>
(excuse the intrusion)
caseypatrickdris has joined #ruby-lang
caseypatrickdris has quit [Read error: No route to host]
caseypatrickdris has joined #ruby-lang
<godd2>
nofxx_ I would say that composing a string out of bytes in an array is an implementation detail, so by the time you have a string, its irrelevant where it came from.
djbkd has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
<godd2>
since, presumably that array of numbers came from somewhere outside
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
hahuang62 has joined #ruby-lang
caseypatrickdris has quit [Ping timeout: 264 seconds]
alkoma has quit [Remote host closed the connection]
nisscrooge has joined #ruby-lang
hahuang62 has quit [Ping timeout: 265 seconds]
ur5us has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
AmirolAhmad has quit [Remote host closed the connection]
rbrs has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
kyb3r_ has joined #ruby-lang
<godd2>
I guess what I mean is, if you went to the trouble of making it a string, you wanted it to be a string, not a bag of characters.
AmirolAhmad has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
AmirolAhmad has quit [Ping timeout: 265 seconds]
JohnBooty has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JohnBooty has joined #ruby-lang
symm- has joined #ruby-lang
JohnBooty has quit [Client Quit]
cantonic has joined #ruby-lang
rahul_j has joined #ruby-lang
rbowlby has quit []
Musashi007 has quit [Quit: Musashi007]
Torrieri has quit [Ping timeout: 245 seconds]
caseypatrickdris has quit [Ping timeout: 240 seconds]
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruby-lang620 has quit [Ping timeout: 246 seconds]
loincloth has joined #ruby-lang
loincloth has quit [Ping timeout: 255 seconds]
j4cknewt has quit [Remote host closed the connection]
JohnBooty has joined #ruby-lang
JohnBooty has quit [Client Quit]
sideshowcoder has joined #ruby-lang
kith_ is now known as kith
symm- has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
caseypatrickdris has quit [Remote host closed the connection]
comm64 has joined #ruby-lang
<comm64>
is their a preference to require vs require_relative
kapil__ has quit [Quit: Connection closed for inactivity]
<apeiros_>
require is proper
<apeiros_>
require_relative is admitting defeat and not understanding the load mechanism.
chinmay_dd has joined #ruby-lang
kfpratt has joined #ruby-lang
revath has quit [Ping timeout: 240 seconds]
symm- has joined #ruby-lang
midhir has joined #ruby-lang
kiyote23 has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
gwendall has joined #ruby-lang
duderonomy has joined #ruby-lang
loincloth has quit [Ping timeout: 245 seconds]
kiyote23 has joined #ruby-lang
dorei has quit []
kiyote23 has quit [Remote host closed the connection]
bmichelsen has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
stamina has quit [Quit: WeeChat 1.0.1]
kfpratt has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
bmichelsen has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
mattyohe has joined #ruby-lang
jxie_ has joined #ruby-lang
chinmay_dd has quit [Quit: Leaving]
jxie has quit [Ping timeout: 272 seconds]
rippa has joined #ruby-lang
symm- has quit [Ping timeout: 258 seconds]
<comm64>
so if 'File.exist?' checks to see if a file exists, how would you check if a file doesn't exist...'!File.exist?' ?
<comm64>
apparently that works
<comm64>
probably not the best way to do it I imagine
havenwood has joined #ruby-lang
j4cknewt has joined #ruby-lang
nofxx_ has quit [Ping timeout: 244 seconds]
pnbeast has joined #ruby-lang
hahuang62 has joined #ruby-lang
Bwild has joined #ruby-lang
ta has quit [Remote host closed the connection]
hahuang62 has quit [Ping timeout: 272 seconds]
kith has quit [Remote host closed the connection]
kith has joined #ruby-lang
AKASkip has joined #ruby-lang
<yorickpeterse>
apeiros_: I'd argue otherwise
<yorickpeterse>
require_relative is useful for e.g. gems where you dont want to mess with $LOAD_PATH during development
<apeiros_>
yorickpeterse: you just admitted not understanding the load mechanism :-p
<yorickpeterse>
arguebly Ruby's require system is broken in the first place, but that's a different story
<apeiros_>
-Ilib
<yorickpeterse>
that's exactly what I don't want to do during development
<yorickpeterse>
granted you could smack that in your test/spec helper
<yorickpeterse>
What I like about require_relative is that you ensure you're loading the right files, no matter what $LOAD_PATH says
<apeiros_>
the executable (whichever it is) is responsible for knowing where stuff is. that includes setting up $LOAD_PATH.
kiyote23 has joined #ruby-lang
<apeiros_>
it's NOT a library's or a library file's duty to know where stuff is. and require_relative is exactly that: knowing where stuff is.
jxie_ has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
voxxit has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
iamninja has quit [Quit: ZZZzzz…]
chinmay_dd has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
fsvehla has joined #ruby-lang
jxie_ has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
rahul_j has quit [Quit: rahul_j]
chinmay_dd has quit [Ping timeout: 244 seconds]
chinmay_dd has joined #ruby-lang
rahul_j has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
|jemc| has joined #ruby-lang
JohnBooty has joined #ruby-lang
comm64 has quit [Ping timeout: 258 seconds]
rahul_j_ has joined #ruby-lang
centrx has joined #ruby-lang
rahul_j has quit [Ping timeout: 250 seconds]
rahul_j_ is now known as rahul_j
Vulcanodon has joined #ruby-lang
JohnBooty has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has joined #ruby-lang
JohnBooty has joined #ruby-lang
<pipework>
yorickpeterse: Broken about paths, requiring into the global namespace, or something more interesting?
yfeldblum has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
yatish27 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
JohnBooty has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kirin` has quit [Ping timeout: 240 seconds]
kirin` has joined #ruby-lang
arBmind has joined #ruby-lang
AKASkip has quit [Quit: Leaving.]
dRbiG has joined #ruby-lang
kyb3r_ has joined #ruby-lang
kith has quit [Remote host closed the connection]
kith has joined #ruby-lang
kith has quit [Remote host closed the connection]
kith has joined #ruby-lang
kith has quit [Changing host]
kith has joined #ruby-lang
cantonic has quit [Quit: cantonic]
pwnz0r has joined #ruby-lang
cantonic has joined #ruby-lang
havenwood has quit []
yfeldblum has joined #ruby-lang
havenwood has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
arBmind has quit [Quit: Leaving.]
j4cknewt has quit [Remote host closed the connection]
rbrs has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
chinmay_dd has quit [Quit: Leaving]
Musashi007 has joined #ruby-lang
druznek has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
Menorah has joined #ruby-lang
wallerdev has joined #ruby-lang
loincloth has joined #ruby-lang
Menorah has quit [Quit: This computer has gone to sleep]
Menorah has joined #ruby-lang
loincloth has quit [Ping timeout: 255 seconds]
pwnz0r has quit [Remote host closed the connection]
AmirolAhmad has quit []
yfeldblum has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
yfeldblum has quit [Ping timeout: 244 seconds]
cawil has quit [Ping timeout: 250 seconds]
Sadin has joined #ruby-lang
deryl has quit [Ping timeout: 240 seconds]
stamina has joined #ruby-lang
diegoviola has joined #ruby-lang
symm- has quit [Ping timeout: 265 seconds]
yock has joined #ruby-lang
yock has quit [Ping timeout: 252 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
futilegames has joined #ruby-lang
futilegames has quit [Client Quit]
lsegal has joined #ruby-lang
diegoviola has joined #ruby-lang
Technodrome has joined #ruby-lang
_fritchie has joined #ruby-lang
loincloth has joined #ruby-lang
loincloth has quit [Ping timeout: 250 seconds]
epitron has quit [Ping timeout: 250 seconds]
simi has quit [Ping timeout: 245 seconds]
mattyohe has joined #ruby-lang
Musashi007 has quit [Ping timeout: 240 seconds]
pwnz0r has joined #ruby-lang
Musashi007 has joined #ruby-lang
Narzew has joined #ruby-lang
stamina has quit [Ping timeout: 264 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
oleo has quit [Quit: Verlassend]
Technodrome has quit [Quit: Technodrome]
<weaksauce>
anyone able to install version 2.2 with ruby-install on yosemite?
pwnz0r has quit [Remote host closed the connection]
oleo has joined #ruby-lang
mattwildig has joined #ruby-lang
epitron has joined #ruby-lang
yatish27 has quit []
fusillicode has quit [Quit: Leaving.]
fusillicode has joined #ruby-lang
druznek has quit [Quit: Leaving]
hahuang62 has joined #ruby-lang
Technodrome has joined #ruby-lang
gwendall has joined #ruby-lang
diegoviola has joined #ruby-lang
fusillicode has quit [Ping timeout: 265 seconds]
oleo has quit [Remote host closed the connection]
pnbeast has quit [Quit: leaving]
diegoviola has quit [Client Quit]
arBmind has joined #ruby-lang
simi has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
caseypatrickdris has quit [Remote host closed the connection]
oleo has joined #ruby-lang
Bwild has quit [Ping timeout: 250 seconds]
Missphoenix has joined #ruby-lang
Miphix has quit [Read error: Connection reset by peer]
fusillicode has joined #ruby-lang
fusillicode has quit [Ping timeout: 255 seconds]
loincloth has joined #ruby-lang
loincloth has quit [Ping timeout: 258 seconds]
yfeldblum has joined #ruby-lang
mattwildig has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
ta has joined #ruby-lang
yfeldblum has quit [Ping timeout: 258 seconds]
oleo is now known as Guest5801
oleo__ has joined #ruby-lang
oleo__ has quit [Read error: Connection reset by peer]
Bwild has joined #ruby-lang
fusillicode has joined #ruby-lang
Guest5801 has quit [Ping timeout: 240 seconds]
Val__ has joined #ruby-lang
Val_ has quit [Ping timeout: 256 seconds]
mattwildig has joined #ruby-lang
oleo has joined #ruby-lang
cawil has joined #ruby-lang
Yserz_ has quit [Ping timeout: 245 seconds]
fusillicode has quit [Ping timeout: 240 seconds]
Musashi007 has quit [Quit: Musashi007]
JohnBooty has joined #ruby-lang
JohnBooty has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sideshowcoder has quit [Quit: Cheers!]
sideshowcoder has joined #ruby-lang
fusillicode has joined #ruby-lang
koderok has joined #ruby-lang
fusillicode has quit [Ping timeout: 245 seconds]
diegoviola has joined #ruby-lang
yock has joined #ruby-lang
koderok has quit [Quit: koderok]
j4cknewt has quit [Remote host closed the connection]
yock has quit [Ping timeout: 258 seconds]
nofxx_ has joined #ruby-lang
nofxx_ has quit [Changing host]
nofxx_ has joined #ruby-lang
fusillicode has joined #ruby-lang
koderok has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
dorei has joined #ruby-lang
simi has quit [Ping timeout: 245 seconds]
arBmind has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
<havenwood>
weaksauce: yup, installed ruby-2.2.0 on Yosemite with ruby-install successfully.
yfeldblum has joined #ruby-lang
<havenwood>
weaksauce: running into issues? i had success just running: ruby-install ruby 2.2.0 --md5 d03cd4690fec1fff81d096d1c1255fde
koderok has quit [Quit: koderok]
mistym has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 258 seconds]
<weaksauce>
havenwood not sure. it just said unsupported.
<weaksauce>
havenwood ah cool. it seems to be working now
<havenwood>
weaksauce: aha, i betcha you did `ruby-2.2.0` instead of `ruby 2.2.0`! I do that myself.
<weaksauce>
actually I did the latter first
<weaksauce>
maybe I jumped the gun on them supporting it?
<havenwood>
weaksauce: ruby-install supports Rubies before they're added. you can also run `make update` in the ruby-install directory before a `sudo make install` to fetch the latest definitions from ruby-versions until the --update flag is added. :)
mattwildig has quit [Remote host closed the connection]
<weaksauce>
just looked at my command history. I tried ruby-install 2.2.0
<havenwood>
weaksauce: ah, that's it
<weaksauce>
so it was missing the ruby
<weaksauce>
thanks for your help havenwood
j4cknewt has quit [Remote host closed the connection]
<havenwood>
weaksauce: you're welcome. there're tentative plans to make the input a bit more flexible in 1.0 so ruby-2.2.0 etc would work. happy 2.2ing!
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
fusillicode has quit [Ping timeout: 258 seconds]
<weaksauce>
ah, cool!
mattyohe has quit [Quit: Connection closed for inactivity]
diegoviola has quit [Remote host closed the connection]
simi has joined #ruby-lang
gwendall has joined #ruby-lang
elia has joined #ruby-lang
jxie_ has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
JohnBooty has joined #ruby-lang
<whitequark>
apeiros_: but that's absurd
<whitequark>
you're saying that a solution that depends on global mutable state is a better fit for local resolution (of parts of a library)
JohnBooty has quit [Client Quit]
pwnz0r has joined #ruby-lang
<apeiros_>
that it's global & usually mutable is not part of the reasoning whitequark
<apeiros_>
in the opposite. the reasoning goes towards not mutating it and not using it globally.
<whitequark>
huh?
<apeiros_>
libraries should not mutate $LOAD_PATH
<whitequark>
sure
<whitequark>
how exactly is require_relative bad for requiring a part of library that you know will be there?
<whitequark>
require_relative for a component of yourself, require for an external depedency.
<apeiros_>
you add knowledge
<apeiros_>
"file X must be relative to file Y"
<apeiros_>
instead of "I need <x>"
<apeiros_>
stronger coupling
<whitequark>
exactly, stronger coupling
<apeiros_>
you usually don't want to couple things if there's no benefit.
<whitequark>
there's a downside to not coupling things: name clases
<whitequark>
and there's no downside to coupling.
<whitequark>
*name clashes
<whitequark>
I mean really, the only thing that could happen if you *not* use _relative is that you load something from elsewhere in $LOAD_PATH and not from your library tree
<whitequark>
when, exactly, is this desirable?
<apeiros_>
"there's no downside to coupling", um, yes, there is. but it's midnight here and I'm not up for a basic programming practices debate
<|jemc|>
what problem does loosening the coupling between files within your library solve?
<|jemc|>
even if you avoid require_relative, if you change your library directory structure, the path you give to require would have to change anyway
<|jemc|>
in some ways require_relative is even more flexible - you could for example change the toplevel name of your library without affecting every internal require except one or two.
yock has quit [Ping timeout: 264 seconds]
mistym has joined #ruby-lang
<|jemc|>
wanting to eschew require_relative in favor of require only is like wanting to navigate through directories in your terminal giving only absolute paths to the `cd` command
ishikawa has quit [Remote host closed the connection]
ishikawa has joined #ruby-lang
<whitequark>
yup
<apeiros_>
wow, that "comparison" is so far off it doesn't even make sense.
<apeiros_>
require <id>. require_relative <path>. you're cementing that code loading must be files. but granted, ruby makes so little of its code loading system, that it probably won't even matter any time soon.
caseypatrickdris has joined #ruby-lang
brianpWins has joined #ruby-lang
jo__ has joined #ruby-lang
brianpWins has quit [Client Quit]
Narzew has quit [Quit: Wychodzi]
mliqu has quit [Read error: Connection reset by peer]
caseypatrickdris has quit [Ping timeout: 240 seconds]
caseypatrickdris has joined #ruby-lang
<whitequark>
I specifically do not want anything else to inject itself into the loading process of my library, and you somehow are arguing against that
Bwild has quit [Ping timeout: 255 seconds]
<apeiros_>
I say your library has no business concerning itself with the loading mechanism
Dyrim has joined #ruby-lang
solars has quit [Ping timeout: 244 seconds]
mattwildig has joined #ruby-lang
cornerma1 has joined #ruby-lang
<whitequark>
a library that's distributed as multiple files must.