<sheldonh>
in IRB, i can call Object.new.private_methods, but i can't find where that comes from, and don't know whether it's safe to rely on outside irb
qwerxy has joined #ruby-lang
ryanf has joined #ruby-lang
chopmo has quit [Quit: chopmo]
solars has joined #ruby-lang
igotnolegs has quit [Quit: Computer has gone to sleep.]
isale-eko has joined #ruby-lang
isale-eko has quit [Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120420145725]]
isale-eko has joined #ruby-lang
burgestrand has quit [Read error: Connection reset by peer]
burgestrand has joined #ruby-lang
dhruvasagar has joined #ruby-lang
isale-eko has quit [Client Quit]
Gate has quit [Quit: leaving]
savage- has joined #ruby-lang
qwerxy has quit [Quit: offski]
savage- has quit [Remote host closed the connection]
eydaimon has joined #ruby-lang
<eydaimon>
anyone have a good article on how to do releases? like, how do people typically organize releases .. master, staging, production etc
iamlacroix has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby-lang
t77903 has quit [Remote host closed the connection]
<sheldonh>
eydaimon: are you using capistrano? if so, you can look into multistage capistrano
<eydaimon>
sheldonh: nope
grin_ has joined #ruby-lang
isale-eko has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
jupito has quit [Read error: Operation timed out]
jupito has joined #ruby-lang
thone_ has quit [Read error: Connection reset by peer]
thone has joined #ruby-lang
ryanf has quit [Quit: leaving]
qwerxy has joined #ruby-lang
<whitequark>
sheldonh: use Object.new.method(:private_methods)
<whitequark>
that'll show the class where it's defined
<whitequark>
and yes, private_methods is ruby core
qwerxy has quit [Client Quit]
gnufied has joined #ruby-lang
<yorickpeterse>
eydaimon: you don't need Capistrano
<yorickpeterse>
The basic idea, at least when using Git, is quite simple: master is stable (= production), development is exactly that
<yorickpeterse>
Other branches might contain feature/issue specific code
<yorickpeterse>
You merge from other_branch -> development -> master
<yorickpeterse>
Then you tag releases on the master branch and push it out to whatever target you have
babinho_ has left #ruby-lang [#ruby-lang]
isale-eko has joined #ruby-lang
iamlacroix has quit [Remote host closed the connection]
babinho has joined #ruby-lang
qwerxy has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
outsmartin has joined #ruby-lang
qwerxy has quit [Quit: offski]
lun_ has joined #ruby-lang
Jay_Levitt has joined #ruby-lang
<ddfreyne>
How common is it to use master for stable code? I tend ot use it as trunk (= development), and branch off for release branches (in which I tag my releases)
<ddfreyne>
I suppose having a "stable" branch would make sense for web apps where you deploy using git... but I don't directly see an advantage for non-web apps
<yorickpeterse>
It depends on the size of the project
lun_ has quit [Remote host closed the connection]
<yorickpeterse>
For example, with my own projects "master" is usually only stable code if the project itself is mature enough
<yorickpeterse>
While I'm still hacking on things it's just as unstable as anything else, the moment I release the first "stable" version I switch over to a separate branch
<ddfreyne>
Hmm, I see. nanoc is over 5 years old and has no "stable" branch
<yorickpeterse>
This makes it easy to generate tarballs, tags and what not using a branch that you know is stable (assuming you actually test this)
<ddfreyne>
there is always one active release branch though (one per x.Y version)
<yorickpeterse>
opposed to playing Russian roulette with the code and not knowing if it will break things
dtribble has quit [Ping timeout: 240 seconds]
<ddfreyne>
yorickpeterse: I guess the difference is that I don't have a single stable branch, but different ones
<yorickpeterse>
heh
<yorickpeterse>
It also of course depends on the person writing the code, different people have different opinions on it and that's fine
<yorickpeterse>
As long as there's a somewhat clear indication about the release cycle :)
<ddfreyne>
I hack away at master and when I feel it contains enough for a new release, I tend to create a release branch, finish things up in that branch and then tag e.g. 3.5.0 which is a new feature release
<ddfreyne>
I feel that this way of working is a tad simpler
<yorickpeterse>
yeah that works as well
d3vic3 has joined #ruby-lang
<yorickpeterse>
Though I'd say that unless you end up with something like Ruby 1.8 vs Ruby 1.9 (in terms of branches) tags would suffice as well
<ddfreyne>
this way I could even keep on supporting older versions (e.g. release 3.3.9 after I release 3.4.0)
<ddfreyne>
yeah
<ddfreyne>
but I develop new features and bugfixes at the same time, always
crudson1 has quit [Ping timeout: 256 seconds]
t62285 has quit [Remote host closed the connection]
yxhvuud has joined #ruby-lang
t62252 has joined #ruby-lang
<yorickpeterse>
Ah, in that case branches are a better option
s1n4 has quit [Quit: Lost terminal]
yxhuvud has quit [Ping timeout: 240 seconds]
AlHafoudh has joined #ruby-lang
neocoin has quit [Remote host closed the connection]
neocoin has joined #ruby-lang
burgestrand1 has joined #ruby-lang
neocoin has quit [Ping timeout: 240 seconds]
jbsan has quit [Quit: jbsan]
burgestrand2 has joined #ruby-lang
d3vic3 has quit [Ping timeout: 265 seconds]
d3vic3 has joined #ruby-lang
thisirs has joined #ruby-lang
burgestrand has quit [Ping timeout: 244 seconds]
burgestrand1 has quit [Ping timeout: 244 seconds]
SiliconDon has joined #ruby-lang
eydaimon has quit [Ping timeout: 252 seconds]
crudson has joined #ruby-lang
My_Hearing is now known as Mon_Ouie
d3vic3 has quit [Quit: leaving]
tooky has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
GeekOnCoffee has quit [Ping timeout: 244 seconds]
SiliconDon has quit [Quit: SiliconDon]
d3vic3 has joined #ruby-lang
d3vic3 has quit [Client Quit]
GeekOnCoffee has joined #ruby-lang
Z33K|Lux has quit []
brownies has joined #ruby-lang
<brownies>
i'm seeing ridiculous instability with Firefox+Selenium+Capybara+Cucumber ... anyone ever experienced such things?
<brownies>
it'll just randomly fail to connect (to localhost!) in the middle of random tests... sometimes.
gnufied has quit [Quit: Leaving.]
rolfb has joined #ruby-lang
fromhet has quit [Quit: fromhet]
diegoviola has joined #ruby-lang
d3vic3 has joined #ruby-lang
d3vic3 has quit [Client Quit]
d3vic3 has joined #ruby-lang
d3vic3 has quit [Client Quit]
Criztian has joined #ruby-lang
t62252 has quit [Remote host closed the connection]
<sheldonh>
also, excited about cane and simplecov (as points of departure for exploration, not as metrics to chase)
ryez has joined #ruby-lang
<banisterfiend>
sheldonh: that guy blabs a lot
<banisterfiend>
sheldonh: maybe clean architecture is good, but i've seen some of his videos, and they're irritating and stupid
<banisterfiend>
:P
ryez has quit [Client Quit]
<sheldonh>
banisterfiend: you are not alone with that opinion :)
<banisterfiend>
google his videos and you'll see what i mean ;)
<sheldonh>
banisterfiend: we have a consultant who walks out of our team room when we watch uncle bob videos :)
<sheldonh>
banisterfiend: oh, i know all about 'em. we're paying for 'em :)
<banisterfiend>
lol
<banisterfiend>
i'd rather spend money on whiskey and cigarettes ;)
<sheldonh>
banisterfiend: if i could find the same material presented in an equally engaging way that didn't irritate people as much, i'd be using that instead, trust me :)
bam has joined #ruby-lang
futurechimp has quit [Ping timeout: 276 seconds]
gnufied has joined #ruby-lang
qwerxy has joined #ruby-lang
futurechimp has joined #ruby-lang
cdt has joined #ruby-lang
<whitequark>
ahem
<whitequark>
everything which includes the word "Enterprise" is inherently bad.
<banisterfiend>
and anyone who spends their time writing articles about code and not code itself should be treated with suspicion ;)
<whitequark>
and, er, he calls himself "Master Craftsman"?..
<whitequark>
I could understand when HR's look for "rockstar ninjas"
<whitequark>
but erm
<sheldonh>
banisterfiend: um... he writes code :)
<banisterfiend>
sheldonh: i'm surprised he finds the time in between all his tweeting and yapping
perry is now known as perryh_away
burgestrand2 has quit [Ping timeout: 268 seconds]
burgestrand has joined #ruby-lang
<yorickpeterse>
Wanted: Rockstar Ninja Rails Guru expert with +10 years experience in enterprise scalable web applications in an agile environment.
<yorickpeterse>
(bingo)
<rue>
Actually, that’s possible now.
<rue>
I mean, there are about 18 people who fit the bill, but still.
<sheldonh>
banisterfiend: well look at us, talking shit on irc :)
<yorickpeterse>
Perks: highly extreme competitive salary, an achievement based work environment and a group of people who lack any understanding about how to treat their employees
<yorickpeterse>
(I could go on for a while)
<banisterfiend>
sheldonh: hehe, well tbh i dont know much about him aside from watching a few of his dorky videos and seeing some of the oh so controversial things he says on twitter
eydaimon has joined #ruby-lang
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
<sheldonh>
banisterfiend: i've learned a lot from him, but i get that he annoys the crap out of a lot of people :)
<banisterfiend>
fair enough
<sheldonh>
banisterfiend: so that's me... what's up with you? :P
<banisterfiend>
sheldonh: trying to push this on people: github.com/conradirwin/pry-capture
<sheldonh>
ah, saw that... somewhere. here, last night, maybe. looks like something i've wanted for a while
Mchl has joined #ruby-lang
<banisterfiend>
sheldonh: Yeah, it's just for postmortem debugging atm, but i'd like to make it fix + continue in the future
achiu has quit [Ping timeout: 245 seconds]
achiu has joined #ruby-lang
<sheldonh>
banisterfiend: imagine... you get an sms, you log into the pry capture console, fix the bug and continue -- production servers carry on happily :)
<sheldonh>
banisterfiend: actually, with passenger's had handler avoidance, it's not that far fetched :)
<banisterfiend>
sheldonh: yeah, you can do that already using pry-remote-em and pry-exception_explorer
Mchl has quit [Client Quit]
<whitequark>
sheldonh: this was invented like 30 years ago with smalltalk.
<whitequark>
or probably even earlier
Mchl has joined #ruby-lang
<banisterfiend>
sheldonh: a guy was telling me he did it the other day, he got sent an email at 3am, pry opened a socket, he fixed the bug and continued it
<sheldonh>
banisterfiend: very nice :)
<andrewvos>
Cool
<banisterfiend>
exception_explorer is fix + continue, but it only catch a certain class of exception :/ it can't catch everything yet
<banisterfiend>
pry-capture on the other hand can catch everything, but t's not fix + continue :P tradeoffs
<sheldonh>
banisterfiend: always. Q: "What is the meaning of life?" A: "A trade-off."
<banisterfiend>
hehe i think we'll get there in the end though, just needs more C :)
<sheldonh>
ugh
<sheldonh>
you know you're not in a happy place when what you need is more C
burgestrand has quit [Read error: Connection reset by peer]
<rue>
C is awesome.
<rue>
Don’t fear the C
<whitequark>
embrace, extend and extinguish it instead
tooky has quit [Remote host closed the connection]
Mchl has joined #ruby-lang
<whitequark>
rue: what caught my attention was its soft-realtime abilites
<rue>
whitequark: Haven’t used it for anything real (like nobody else). But it hits every single one of my points in a low-level language. Including, yeah, softRT
<rue>
Well, a completely unmanaged mode would be nice
<whitequark>
oh, nice. I'll probably dive into it
<whitequark>
I thought it was yet another JS-like crap from mozilla again
<whitequark>
due to some twitter conversations or whatever
<rue>
Nah, you’re thinking about Dart
<rue>
Maybe
<whitequark>
nope, I have seen Dart
<whitequark>
and it's Java-like crap from Google :)
<whitequark>
dart is irrelevant, go seems to be quite irrelevant too--I don't see which problems does it solve
JoshWines has quit [Ping timeout: 276 seconds]
d3vic3 has joined #ruby-lang
banisterfiend has quit [Ping timeout: 276 seconds]
jbsan has joined #ruby-lang
thisirs has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
<rue>
Dart does seem like the most boring thing ever.
<banisterfiend>
Yeah
<rue>
I can’t even be arsed to hate it
yhyubub has left #ruby-lang [#ruby-lang]
<sheldonh>
rue: i don't really fear C. i fear most of the communities around it. a lot of outdated thinking
tjadc has joined #ruby-lang
<banisterfiend>
sheldonh: they would probably argue the 'hip' things you're into now, will be dead in 5 years, yet the C guys will still be doing what they're doing, and doing it well :)
<banisterfiend>
if by outdated you really mean non-hip ;)
fgomez has quit [Ping timeout: 265 seconds]
JoshWines has joined #ruby-lang
cout has joined #ruby-lang
<sheldonh>
banisterfiend: i'm talking about hip things like intention-revealing function and variable names, and teste-driven development :)
<banisterfiend>
sheldonh: some things C guys aren't so good at though (in my experience), like testing
<sheldonh>
banisterfiend: you see both of these things in C source bases, but they're rare
<banisterfiend>
yeah it's true about testing
<sheldonh>
banisterfiend: i used to be a committer on the FreeBSD project. i was horrified when i poked my head back in this year. still no TDD to speak of, and still KNF style!
eridani has joined #ruby-lang
seoaqua has joined #ruby-lang
<sheldonh>
banisterfiend: all that aside, C teaches you some stuff worth knowing, and sometimes it really is the only tool for the job
<banisterfiend>
sheldonh: well TDD isn't necessarily the be all and end all, but at least writing regression tests
<eridani>
thoughts on genie and nimrod?
<sheldonh>
banisterfiend: it's still early in my evolution. for me, TDD is still hugely important
tooky has joined #ruby-lang
<seoaqua>
i created a gem my self, uploaded it to ruby gems, and gem installed it locally. but i got 'LoadError: cannot load such file --' when requiring it. what can i do ,pls?
<banisterfiend>
sheldonh: well, TDD doesn't seem to prevent a bunch of C programmers writing really stable and solid code
<seoaqua>
there was no error i was in linux, now i am in mac
<sheldonh>
seoaqua: is it on github? you could show us the source :)
<seoaqua>
sheldonh, the gem is on rubygems
<sheldonh>
banisterfiend: correct. they have vast bug trackers and lots of users. leap second bug, anyone? :)
<seoaqua>
the source is simply 'require xxx'
<seoaqua>
sheldonh, the source is simply 'require xxx'
d3vic3 has quit [Quit: leaving]
<sheldonh>
seoaqua: i'd be happy to look if you made the source _of_the_gem_ available
<sheldonh>
seoaqua: otherwise, all i can suggest is "require 'rubygems'" first
<seoaqua>
sheldonh, thanks, i'll try ,but this won't cause any problems in linux :S
jbsan has quit [Quit: jbsan]
<seoaqua>
sheldonh, still not working :S
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
<sheldonh>
seoaqua: it depends on your linux. some of them (like gentoo) add -rrubygems to RUBYOPT in the environment, some (like debian) don't
<kke>
beanstalk-client seems to randomly pick one of the servers given in env variable
dous has joined #ruby-lang
burgestrand has joined #ruby-lang
cha1tanya has joined #ruby-lang
cha1tanya has joined #ruby-lang
tekin has joined #ruby-lang
Hakon has joined #ruby-lang
t57847 has quit [Remote host closed the connection]
t16581 has joined #ruby-lang
<gnufied>
banisterfiend: the description is little vague - "Start a pry session whenever something goes wrong" not that I wouldn't want something like that, but lofty goals
<banisterfiend>
gnufied: hehe, he just means exceptions :)
<banisterfiend>
yeah, it was a bit vague
<gnufied>
:-)
<gnufied>
I am in midst of this massive java project and everything has gone wrong
<banisterfiend>
java not jruby?
d3vic3 has joined #ruby-lang
<gnufied>
yeah, java with generous helping of struts, spring
<yorickpeterse>
But Java is enterprise, nothing can go wrong
<injekt>
^
<injekt>
it's true I've written lots of java
<injekt>
it never let me down
<gnufied>
yes, but you have never written XML
<yorickpeterse>
They should've named in JXML
<gnufied>
java is just the sugar. real code is written in XML when you are doing j2ee
<yorickpeterse>
gnufied: at least you're not using XSLT....right?
<injekt>
I wrote lots of xml, this is what removed all the years off my life
<jaska>
</wrist>
<gnufied>
yorickpeterse: it hasn't come to that no.
th_ has joined #ruby-lang
apeiros_ has joined #ruby-lang
<yorickpeterse>
Java could've been a decent language if they didn't over-engineer it to death
<injekt>
heh
<injekt>
it's not a bad language, i agree it's just massively over-engineered
<injekt>
it's so easy to learn, though
itz_ has joined #ruby-lang
wmoxam_ has joined #ruby-lang
morticed has joined #ruby-lang
threeday1onk has joined #ruby-lang
th__ has quit [*.net *.split]
mortice has quit [*.net *.split]
wmoxam has quit [*.net *.split]
threedaymonk has quit [*.net *.split]
itz has quit [*.net *.split]
<gnufied>
wait, it is not java itself which is over engineered though, isn't it? it is the libraries (j2ee) which are kinda over engineered
<gnufied>
but even in ruby world, we are going same route kinda. for example, rack spec being not enough to support response streaming
jbsan has quit [Quit: jbsan]
<gnufied>
of course, no one is imposting a servlet standard on everyone in ruby world, so it is not bad.
<gnufied>
just my 2 cents
<sheldonh>
wow, i totally didn't expect BasicObject.is_a?(Object) to be true
seoaqua has joined #ruby-lang
<seoaqua>
manveru, sorry i was ark, the name is webpage
<seoaqua>
sheldonh, thanks, but require 'ruby gems' didn't solve the problem
eydaimon has quit [Ping timeout: 248 seconds]
<sheldonh>
seoaqua: then it's back to plan A: show us the source code of them gem or at least tell us its name
<seoaqua>
sheldonh, manveru , i have to be off, someone's waiting, maybe ask u guys 1 hour later :)
<sheldonh>
seoaqua: (btw, it was require 'rubygems', not require 'ruby gems')
<sheldonh>
seoaqua: but i assume that was a typo in irc :)
<seoaqua>
sheldonh, the name is webpage see ya
<seoaqua>
sheldonh, talk to u later^_^
seoaqua has left #ruby-lang [#ruby-lang]
<sheldonh>
missing dependency, nokogiri
<sheldonh>
miserable problem report, really
jbsan has joined #ruby-lang
<sheldonh>
but seriously, how can BasicObject.is_a?(Object) be true?
<yorickpeterse>
sheldonh: is_a?() takes the inheritence tree into account
<Mon_Ouie>
BasicObject is a Class
eydaimon has joined #ruby-lang
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
<Mon_Ouie>
It's not the same as checking for an instance of BasicObject
<yorickpeterse>
is_a?() is basically a shortcut for `left.class == right.class`
<Mon_Ouie>
left.class <= right
<yorickpeterse>
so in this case it's the same as writing `BasicObject.class == Object.class`
mwjcomputing has joined #ruby-lang
<yorickpeterse>
Which, since both .class() methods return "Class", results in `true`
<Mon_Ouie>
The argument has to be a Module
<Mon_Ouie>
3.is_a? 4 # exception
<sheldonh>
Mon_Ouie: Object is a module, but i buy the rest of what's been said
<sheldonh>
thanks guys
<Mon_Ouie>
Object is a class
<Mon_Ouie>
And a class is a kind of module
<sheldonh>
actually, i think you're both wrong
<gnufied>
?
<sheldonh>
i hadn't noticed it before, but the docs for BasicObject and Object clearly indicate that they BOTH EXTEND EACH OTHER! :)
<banisterfiend>
sheldonh: haha your blog is like a shrine to uncle bob
<sheldonh>
so i picked the worst possible classes to use for testing this code :)
<Mon_Ouie>
No they don't
<injekt>
no
<Mon_Ouie>
First, because you can't extend a class with another class
<gnufied>
^
<sheldonh>
*sigh*
<sheldonh>
i mean they are both descended from each other
<sheldonh>
BasicObject < Object
<Mon_Ouie>
They don't do that either
<injekt>
no they arent
<sheldonh>
Object < BasicObject
<Mon_Ouie>
BasicObject has no superclass
<Mon_Ouie>
But the latter is correct
<sheldonh>
"BasicObject is the parent class of all classes in Ruby." "Object is the root of Ruby's class hierarchy."
<injekt>
Object inherits from BasicObject, BasicObject does not inherit from Object
<yorickpeterse>
sheldonh: if you want to check if something is a BasicObject you'd want to do `some_obj.class == BasicObject`
<Mon_Ouie>
Object *used to be* the root of Ruby's class hierarchy
<Mon_Ouie>
And still is the implicit superclass if you don't specify one
<Mon_Ouie>
yorickpeterse: Except a BasicObject doesn't respond to #class, #is_a?, etc. unless you include Kernel in its singleton class
<any-key>
What's the benefit of BasicObject?
<sheldonh>
any-key: very handy for building dynamic proxies :)
<injekt>
it's just that, it's the bare minimum
<injekt>
doesn't include all the kernel module like object does
<sheldonh>
banisterfiend: you cut me real deep, shrek. there's stuff from other high priests in there! ;)
<yorickpeterse>
Mon_Ouie: Yeah, just realized that
<sheldonh>
gnufied: that is MUCH easier to get my face around than the description in The Ruby Programming Language :)
eydaimon has quit [Ping timeout: 244 seconds]
<gnufied>
the dot relationships mean, "is instance of"
runeb has joined #ruby-lang
<sheldonh>
in this case, i was using BasicObject and Object to test a type enforcement constraint in the elective test interface enforcement library i'm building. kak idea. i'll use Set and SortedSet instead :)
<Mon_Ouie>
I'd still add one dot arrow, from Class to itself
<sheldonh>
:)
<gnufied>
Mon_Ouie: good point.
<sheldonh>
gnufied: that should be on a blog post somewhere. even if the text is just "Moo, nublets!"
<banisterfiend>
gnufied: i find the multiple 'instance of' relationships a bit confusing there..there's only one klass pointer, i'd just have the 'instance of' pointing to that klass
<banisterfiend>
hmm yugui did a complete diagram for 1.9 somewhere
<virunga>
i read an interview of the guy who implemented the new gc
<virunga>
bitmap gc if i'm not wrong
<bnagy>
if I have a url like http://foo.com/blah.pdf&lotsof=crap?goeshere is there a simple way to get '.pdf'? I have a bad way using extname and split
hinbody has quit [Ping timeout: 244 seconds]
OmarLittle has joined #ruby-lang
OmarLittle has quit [Changing host]
OmarLittle has joined #ruby-lang
<khaase>
any-key: Module#prepend, refinements, adding unbound methods from modules to any class (allows implementing traits), new GC, syntax for symbol arrays
<bnagy>
but I am not good at web, I'm hoping URI has something standard
<khaase>
any-key: that's what's in trunk right now
<eridani>
did the same person who did the bitmap gc also do the same for ree?
<khaase>
any-key: planned features include keyword arguments
tooky has quit [Remote host closed the connection]
<any-key>
khaase: re: new symbol array syntax...is it similar to the JSON-esque syntax for string hashes?
<ddfreyne>
khaase: what are refinements? similar to traits?
<khaase>
any-key: ah, no, it's like %s and %S for strings: %i[foo bar] == [:foo, :bar]
<ddfreyne>
khaase: nm I will google :)
<khaase>
any-key: basically class boxes without local rebinding, ie extend a class only for a lexical scope
<any-key>
interesting
<khaase>
any-key: there was a talk at rubyconf 2010 about it, should be on confreaks
regular has joined #ruby-lang
<virunga>
Aren't traits equivalent to mixins in Ruby?
<khaase>
no
<khaase>
traits copy methods
<khaase>
mixins allow you injecting new classes into the inheritance chaing
tooky has joined #ruby-lang
<khaase>
that is, ruby mixins
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<eridani>
does anyone here work on mri in c?
<khaase>
real mixins allow you to specify inheritance chain at instantiation
<khaase>
which is nearly the same
<khaase>
in use
<khaase>
except class inheritance is based on that, whereas in ruby it's the other way around
<ddfreyne>
khaase: ahh, refinements =~ classboxes... answers my question
<virunga>
khaase: mm, ok. Thanks
mistym has quit [Remote host closed the connection]
<bnagy>
ok File.extname( URI.parse( s ).path ) appears better
<sheldonh>
eridani: other way around, i think. ree incorporated the preexisting MBARI patch
m3nd3s has joined #ruby-lang
mwjcomputing has quit [Ping timeout: 265 seconds]
<sheldonh>
khaase: are refinements actually in? i thought it was still under discussion
<injekt>
sheldonh: they're in HEAD
<khaase>
sheldonh: they landed a week or two ago
<khaase>
sheldonh: official statement is that they are still experimental and might be removed before the release
Xzyx987X_ has quit [Quit: Leaving]
whowantstolivefo has joined #ruby-lang
t16581 has quit [Remote host closed the connection]
<sheldonh>
khaase: ah, okay. saw some flutter on the issue, and assumed they were still ironing it out prior to commit
t43782 has joined #ruby-lang
<khaase>
sheldonh: no, the blocker was some performance impact on all method calles, not only refined ones, but that has been resolved
<DefV>
12
toretore has joined #ruby-lang
<sheldonh>
khaase: meh, serves me right for jumping into ruby-core ml too quickly. when i saw ugs.ruby-lang.org/issues/4085#note-96, i didn't have the commit context, and that comment looks a LOT like someone still bashing an idea into shape
<sheldonh>
khaase: looking forward to 'em :)
srbartlett has quit [Remote host closed the connection]
<khaase>
sheldonh: ha, totally forgot taking part in that discussion
<Mon_Ouie>
stackoverflow.com has made doing researches about stack overflows much harder
<sheldonh>
khaase: it moves pretty fast in there :)
<khaase>
sheldonh: it's also that there is on ml for everything. they should split it. like language design being separate from bug reports and stuff
<khaase>
*one ml
<sheldonh>
khaase: i've been on worse mailing lists, but ja, sooner or later, something's gonna have to give :)
oddmunds has quit [Ping timeout: 245 seconds]
m3nd3s has quit [Read error: Connection timed out]
oddmunds has joined #ruby-lang
powershellyoda has quit [Ping timeout: 245 seconds]
m3nd3s has joined #ruby-lang
mwjcomputing has joined #ruby-lang
<zzak>
bugs vs features
workmad3 has joined #ruby-lang
virunga has quit [Quit: Sto andando via]
regular has left #ruby-lang [#ruby-lang]
toretore has quit [Quit: This computer has gone to sleep]
sailias has quit [Quit: Leaving.]
erichmenge has joined #ruby-lang
hynkle has joined #ruby-lang
toretore has joined #ruby-lang
dejongge has joined #ruby-lang
m3nd3s has quit [Remote host closed the connection]
cha1tanya has quit [Quit: cha1tanya]
bryancp has quit [Remote host closed the connection]
hynkle has quit [Ping timeout: 245 seconds]
bluemonk has quit [Ping timeout: 244 seconds]
hynkle has joined #ruby-lang
hhatch has joined #ruby-lang
<sheldonh>
zzak: plus another mailing list on which to argue about whether something's a bug or a feature :)
t43782 has quit [Remote host closed the connection]
<sheldonh>
kinda weird that no standard name for the practice has emerged. well, certainly none i could find on wikipedia
<erikh>
actually this was baked into SMTP a long time ago
<erikh>
BUT
<erikh>
it's turned off by most mailers because it's a spam vector
<erikh>
look at VRFY
<yorickpeterse>
Pfffff, who needs that when you have regex!
<erikh>
rfc2822 emails can get very complicated
<yorickpeterse>
....I was being sarcastic
<erikh>
honestly for more things than not just accepting the email address without trying to scrub is the best approach
<erikh>
ah
<erikh>
sorry, it's 7:45am here.
<yorickpeterse>
heh
<whowantstolivefo>
what is the best e book for learning ruby on rails ? which ruby e-book is the best for the beginner user? not too much have programming language. have html+css+js ?
neocoin has quit [Remote host closed the connection]
<erikh>
whowantstolivefo: you should probably ask this question in #rubyonrails
<zzak>
erikh: good morning
<erikh>
we're not really a rails channel, and generally send rails-related stuff tehre.
<erikh>
zzak: hi
<erikh>
I need to hop in the shower in like 10 minutes. what's up?
Criztian has quit [Ping timeout: 252 seconds]
neocoin has joined #ruby-lang
<yorickpeterse>
whowantstolivefo: I'd start with learning Ruby
<whowantstolivefo>
hmm
lcdhoffman has quit [Quit: lcdhoffman]
d3vic3 has quit [Quit: leaving]
neocoin has quit [Ping timeout: 245 seconds]
<zzak>
erikh: not much, working through some billing stuff with gordon
<erikh>
ah
<erikh>
need me for anything?
<zzak>
nah, how'd your thing go last night?
<erikh>
could have went better; involved a post-mortem
<erikh>
third party service fell over that we are entirely too dependent on
coryf has joined #ruby-lang
|Vargas| has quit [Quit: ...]
elux_ has joined #ruby-lang
elux_ has quit [Client Quit]
elux has joined #ruby-lang
jbsan has quit [Quit: jbsan]
vertroa has quit [Remote host closed the connection]
lynxy has joined #ruby-lang
savage- has quit [Read error: Connection reset by peer]
runeb has quit [Remote host closed the connection]
superkabii has joined #ruby-lang
ryez has quit [Ping timeout: 245 seconds]
savage- has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
lcdhoffman has joined #ruby-lang
Jay_Levitt has joined #ruby-lang
Jay_Levitt has quit [Remote host closed the connection]
A124 has quit [Read error: Connection reset by peer]
savage- has quit [Remote host closed the connection]
vertroa has joined #ruby-lang
carloslopes has quit [Quit: Leaving.]
brdude has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
cantonic has joined #ruby-lang
gnufied1 has quit [Quit: Leaving.]
dtribble has joined #ruby-lang
A124 has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
lynxy has quit [Ping timeout: 246 seconds]
t36396 has quit [Remote host closed the connection]
t41239 has joined #ruby-lang
zmack_ has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
vertroa has quit [Read error: Connection reset by peer]
apeiros_ has quit [Ping timeout: 252 seconds]
vertroa has joined #ruby-lang
havenn has quit [Remote host closed the connection]
eydaimon has joined #ruby-lang
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
dhruvasagar has joined #ruby-lang
emanon_ has quit [Read error: Connection reset by peer]
cjs226 has joined #ruby-lang
robbyoconnor has joined #ruby-lang
emanon_ has joined #ruby-lang
lynxy has joined #ruby-lang
brdude has quit [Quit: brdude]
Criztian has joined #ruby-lang
robbyoconnor has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
Carnage\ has joined #ruby-lang
pabs has joined #ruby-lang
havenn has joined #ruby-lang
dreamhawk has quit [Remote host closed the connection]
totallymike has joined #ruby-lang
apeiros_ has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
savage- has joined #ruby-lang
havenn has quit [Remote host closed the connection]
Fretta has joined #ruby-lang
tjadc has quit [Ping timeout: 248 seconds]
yats has quit [Ping timeout: 245 seconds]
solars has quit [Ping timeout: 244 seconds]
vertroa has quit [Remote host closed the connection]
t41239 has quit [Remote host closed the connection]
<sheldonh>
erikh: if VRFY wasn't entirely useless on the modern internet, we'd suggest it. as whitequark said, confirm-by-response is the only way to be sure today
<sheldonh>
erikh: i sure do miss those sender verification callback storms, though :)
t21117 has quit [Remote host closed the connection]
savage-_ has quit [Ping timeout: 252 seconds]
t5616 has joined #ruby-lang
savage-_ has joined #ruby-lang
<sheldonh>
erikh: sorry, that came off a lot more douchey than i was shooting for :(
savage- has quit [Ping timeout: 246 seconds]
setmeaway has joined #ruby-lang
tooky has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
OmarLittle has quit [Read error: Connection reset by peer]
erichmenge has joined #ruby-lang
tooky has joined #ruby-lang
crudson has left #ruby-lang [#ruby-lang]
lynxy has quit [Ping timeout: 252 seconds]
vertroa has joined #ruby-lang
<sheldonh>
is there stabby-like syntax that produces a callable that takes *args?
<sheldonh>
i mean, other than ->(*args) { ... } ;)
iamjarvo has joined #ruby-lang
savage- has joined #ruby-lang
savage-_ has quit [Read error: Connection reset by peer]
mrsolo has quit [Quit: This computer has gone to sleep]
t5616 has quit [Remote host closed the connection]
t14917 has joined #ruby-lang
mrsolo has joined #ruby-lang
RegEchse has quit [Quit: brb]
RegEchse has joined #ruby-lang
eydaimon has quit [Ping timeout: 245 seconds]
<yats>
net/smtp when called helo domain calls helo as well as ehlo
tooky has quit [Remote host closed the connection]
Sambalero has joined #ruby-lang
savage- has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
<jtoy>
does ~/ work from inside ruby? I am testing with File.exists?("~/.config/config.yml") and it comes up false even though the file exists
crunk has quit [Quit: crunk]
<apeiros_>
jtoy: File.expand_path
<apeiros_>
ruby doesn't automatically expand your paths (your shell tools don't either btw., that's a functionality of the shell itself, i.e. it expands it before passing)
fayimora has joined #ruby-lang
burgestrand has quit [Quit: Leaving.]
savage- has quit [Remote host closed the connection]
savage- has joined #ruby-lang
savage- has quit [Remote host closed the connection]
savage- has joined #ruby-lang
AlHafoud_ has joined #ruby-lang
toretore has quit [Quit: Leaving]
t36515 has quit [Remote host closed the connection]
totallymike has quit [Quit: WeeChat 0.3.8]
t51856 has joined #ruby-lang
iamjarvo has joined #ruby-lang
savage- has quit [Remote host closed the connection]
hynkle has quit [Ping timeout: 260 seconds]
arooni-mobile has joined #ruby-lang
tooky has joined #ruby-lang
hynkle has joined #ruby-lang
dejongge has quit [Ping timeout: 248 seconds]
savage- has joined #ruby-lang
diegoviola has quit [Ping timeout: 244 seconds]
t51856 has quit [Remote host closed the connection]
t98479 has joined #ruby-lang
rolfb has joined #ruby-lang
rolfb has quit [Client Quit]
dejongge has joined #ruby-lang
brdude has quit [Quit: brdude]
chimkan_ has joined #ruby-lang
pabloh has joined #ruby-lang
tooky has quit [Remote host closed the connection]
mohawkjohn has quit [Remote host closed the connection]
rizzy has quit [Ping timeout: 268 seconds]
brdude has joined #ruby-lang
burgestrand has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
jtoy has quit [Quit: jtoy]
fgomez has quit [Ping timeout: 245 seconds]
ivanoats has joined #ruby-lang
mwjcomputing has quit [Quit: Leaving]
dc5ala has quit [Quit: Ex-Chat]
FiXato|VPS is now known as FiXato
d3vic3 has joined #ruby-lang
ruskie has quit [Excess Flood]
AlHafoud_ has quit [Quit: Computer has gone to sleep.]
mytrile has joined #ruby-lang
Fullmoon has quit [Quit: Fullmoon]
tbuehlmann has quit []
TorpedoSkyline has joined #ruby-lang
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby-lang
sockmonk has quit [Ping timeout: 246 seconds]
grin_ has quit [Quit: Leaving.]
ruskie has joined #ruby-lang
myobie has joined #ruby-lang
hynkle has quit [Read error: Connection reset by peer]
jtoy has joined #ruby-lang
yxhvuud has quit [Ping timeout: 245 seconds]
hynkle has joined #ruby-lang
carloslopes has quit [Quit: Leaving.]
d3vic3 has quit [Quit: leaving]
<myobie>
I cannot figure out how to tell ruby-debug which port to expose it's control interface on. Can anyone point me in the right place?
AlHafoud_ has joined #ruby-lang
AlHafoud_ has quit [Client Quit]
burgestrand has quit [Quit: Leaving.]
brdude has quit [Quit: brdude]
robbyoconnor has quit [Ping timeout: 246 seconds]
hynkle has quit [Quit: Computer has gone to sleep.]
andrewhl has quit [Remote host closed the connection]
kvirani has quit [Remote host closed the connection]
Martin__ has left #ruby-lang [#ruby-lang]
Martin__ has joined #ruby-lang
Martin__ has quit [Quit: Martin__]
lcdhoffman has joined #ruby-lang
Martin__ has joined #ruby-lang
qwerxy has quit [Quit: offski]
Kellin has joined #ruby-lang
iamjarvo has joined #ruby-lang
Martin__ has left #ruby-lang [#ruby-lang]
banisterfiend has joined #ruby-lang
Martin__ has joined #ruby-lang
Martin__ has left #ruby-lang [#ruby-lang]
mjio has joined #ruby-lang
iamjarvo has quit [Quit: Computer has gone to sleep.]
srbartlett has joined #ruby-lang
<mjio>
I saw an early code example for “pre” and “post” callbacks for Ruby 2.0, but I can't find it anymore. Neither in the mailing list or Redmine issues. Can someone who remembers give me a hint where I can find it?
<apeiros_>
mjio: I'd assume eigenclass.org had something on it
qwerxy has joined #ruby-lang
<mjio>
apeiros_: Thanks
<apeiros_>
you're thinking of def foo:pre ?
<apeiros_>
at least that's what I remember
qwerxy has quit [Client Quit]
<mjio>
yes. that's what I'm looking for
Jay_Levitt has quit [Remote host closed the connection]
Jay_Levitt has joined #ruby-lang
myobie has quit [Quit: myobie]
virunga has quit [Quit: Sto andando via]
neocoin has joined #ruby-lang
savage- has quit [Remote host closed the connection]
myobie has joined #ruby-lang
mjio has quit [Ping timeout: 246 seconds]
myobie has quit [Client Quit]
misham has joined #ruby-lang
<chris2>
bougyman: hey
savage- has joined #ruby-lang
dejongge has quit [Read error: Connection timed out]
sailias has joined #ruby-lang
m3nd3s has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]