jnh has quit [Remote host closed the connection]
jnh has joined #rubinius
enebo has quit [Quit: enebo]
dimday has joined #rubinius
cremes has quit [Ping timeout: 245 seconds]
josh-k has joined #rubinius
josh-k has quit [Remote host closed the connection]
houhoulis has joined #rubinius
josh-k has joined #rubinius
enebo has joined #rubinius
amsi has quit [Quit: Leaving]
enebo has quit [Client Quit]
tenderlove has quit [Remote host closed the connection]
GitHub31 has joined #rubinius
<GitHub31> [rubinius] brixen pushed 1 new commit to master: http://git.io/fIwkkQ
<GitHub31> rubinius/master 31522a5 Brian Shirai: Hopefully, OSX on Travis is fixed.
GitHub31 has left #rubinius [#rubinius]
josh-k_ has joined #rubinius
josh-k has quit [Ping timeout: 265 seconds]
travis-ci has joined #rubinius
<travis-ci> rubinius/rubinius/master (31522a5 - Brian Shirai): The build has errored.
travis-ci has left #rubinius [#rubinius]
atambo has quit [Quit: yarr]
atambo has joined #rubinius
cremes has joined #rubinius
<|jemc|> heh
<brixen> lol
<brixen> ugh
<brixen> does Travis have homebrew installed?
<brixen> apparently, yes
<brixen> so, apparently I could use TRAVIS_OS_NAME to check os
<brixen> but eg which apt-get && apt-get seems like it would be simpler
lbianc has quit [Read error: Connection reset by peer]
lbianc has joined #rubinius
lbianc has quit [Read error: Connection reset by peer]
lbianc has joined #rubinius
<brixen> just did gem install travis
<brixen> half of rubygems later, what did I do?
<|jemc|> travis gem, hm?
<brixen> it's pretty sweet actually
<brixen> travis lint is nice
<|jemc|> I was just wondering earlier today if there was a way to get a 'travis shell'
<brixen> indeed there is
<|jemc|> was thinking "there's got to be a better way than just pushing commits into the sky waiting for them to fall down ~10 minutes later"
<brixen> heh
<brixen> since when is recipients not valid in notifications
<brixen> ah, it's under email:
GitHub145 has joined #rubinius
<GitHub145> [rubinius] brixen pushed 1 new commit to master: http://git.io/XKnEYQ
GitHub145 has left #rubinius [#rubinius]
<GitHub145> rubinius/master bdb633f Brian Shirai: OSagnostify .travis.yml for LLVM.
<brixen> ugh, really needed to be writing 5000 words of blog posts tonight instead of a hundred little chores
byprdct has joined #rubinius
byprdct_ has quit [Ping timeout: 256 seconds]
<brixen> crap, didn't read the fine print
GitHub32 has joined #rubinius
<GitHub32> [rubinius] brixen pushed 1 new commit to master: http://git.io/dxo4bw
<GitHub32> rubinius/master 9118593 Brian Shirai: Select the Travis OS X beta.
GitHub32 has left #rubinius [#rubinius]
travis-ci has joined #rubinius
<travis-ci> rubinius/rubinius/master (bdb633f - Brian Shirai): The build failed.
travis-ci has left #rubinius [#rubinius]
travis-ci has joined #rubinius
<travis-ci> rubinius/rubinius/master (9118593 - Brian Shirai): The build has errored.
travis-ci has left #rubinius [#rubinius]
<brixen> that's annoying
travis-ci has joined #rubinius
<travis-ci> rubinius/rubinius/master (9118593 - Brian Shirai): The build passed.
travis-ci has left #rubinius [#rubinius]
josh-k_ has quit [Remote host closed the connection]
josh-k has joined #rubinius
josh-k has quit [Ping timeout: 256 seconds]
byprdct has quit []
meh` has quit [Ping timeout: 264 seconds]
|Blaze| has quit [Ping timeout: 245 seconds]
|Blaze| has joined #rubinius
meh` has joined #rubinius
diegoviola has quit [Read error: Connection reset by peer]
JimmySieben has joined #rubinius
noop has joined #rubinius
JohnBat26 has joined #rubinius
slaught has joined #rubinius
slaught has quit [Quit: slaught]
houhoulis has quit [Remote host closed the connection]
havenwood has quit []
GitHub172 has joined #rubinius
<GitHub172> [rubinius] fengb opened pull request #3182: Rand fixes for https://github.com/rubinius/rubinius/issues/3180 (master...rand-fix) http://git.io/DJ2cKg
GitHub172 has left #rubinius [#rubinius]
jnh has quit [Remote host closed the connection]
jnh has joined #rubinius
jnh has quit [Client Quit]
tenderlove has joined #rubinius
tenderlove has quit [Ping timeout: 244 seconds]
meh` has quit [Ping timeout: 256 seconds]
|jemc| has quit [Ping timeout: 255 seconds]
|jemc| has joined #rubinius
JimmySieben has quit [Quit: JimmySieben]
dimday has quit [Ping timeout: 240 seconds]
<yorickpeterse> morning
DanielVartanov_ has joined #rubinius
|jemc| has quit [Ping timeout: 250 seconds]
RealMarc has joined #rubinius
DanielVartanov_ has quit [Remote host closed the connection]
GitHub77 has joined #rubinius
GitHub77 has left #rubinius [#rubinius]
<GitHub77> [rubinius] gustavotemple opened pull request #3183: Update libffi to 3.1 (master...update-libffi-3.1) http://git.io/dHWpjg
josh-k_ has joined #rubinius
<yorickpeterse> "sh: 1: ./configure: Permission denied" what the hell travis
josh-k has joined #rubinius
josh-k__ has joined #rubinius
josh-k_ has quit [Ping timeout: 244 seconds]
josh-k has quit [Ping timeout: 258 seconds]
<headius> morning!
<yorickpeterse> weeee, cut down httpclient cache invalidations in half
<yorickpeterse> in a few lines of code
<yorickpeterse> Still, 10 constant cache invalidations is quite a bit
<yorickpeterse> (1 per request it seems)
<yorickpeterse> brixen: hey, where did Rubinius.global_serial go? :<
<yorickpeterse> or w/e it was located
<cremes> yorickpeterse: how’s oga looking these days? thought i saw something a few days back about delivering it a week or two early…?
<yorickpeterse> Rubinius::Metrics doesn't have it either :/
<yorickpeterse> cremes: it will be released in ~1,5 week
<yorickpeterse> either this weekend or next weekend
<cremes> very nice
<yorickpeterse> CSS support is there, I just need to write a bunch of more tests
<cremes> so, feature complete yet or are you still building out full support for XML, HTML, etc?
<yorickpeterse> XML/HTML error handling isn't in yet, will be a tricky one
<yorickpeterse> e.g. I'm pondering how to support shit like <ul><li>foo</ul>
<yorickpeterse> which is valid HTML
<cremes> sure, missing terminating tags
<cremes> i saw a new nokogiri release was announced on ruby-talk; it made me curious to see where you’re at. glad to hear it’s coming along nicely.
<yorickpeterse> I wonder when they're going to fix that bug where it takes forever to install
<yorickpeterse> or where it crashes randomly
<yorickpeterse> :P
<cremes> oh, that bug? god or monit solves it nicely by just restarting the process when it crashes. :)
<yorickpeterse> doesn't work if it crashes every 30 seconds
<yopp> how oga handles this case?
<yorickpeterse> yopp: entities are handled upon lexer input and when serializing back to XML
<yorickpeterse> between those steps they are left untouched
<yorickpeterse> I think at least
<yorickpeterse> lemme check
<yorickpeterse> Ah yes, they're only converted upon serializing
josh-k__ has quit [Remote host closed the connection]
<yorickpeterse> so if you do something like `element.inner_text = '&amp;'` then the text stays "&amp;" until you call element.to_xml
<yopp> hum
<yopp> and then it will be escaped?
josh-k has joined #rubinius
<yorickpeterse> &amp; will be left as is, since it's aready an entity
<yopp> yay!
<yorickpeterse> but if the text is "&" it's converted to "&ampl"
<yopp> niiice
<yorickpeterse> errr amp;
byprdct has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
guilleiguaran___ is now known as guilleiguaran
max96at|off is now known as max96at
enebo has joined #rubinius
byprdct has quit []
DireFog has quit [Ping timeout: 256 seconds]
DireFog has joined #rubinius
tenderlove has joined #rubinius
heftig_ has joined #rubinius
lbianc_ has joined #rubinius
heftig has quit [Ping timeout: 256 seconds]
lbianc has quit [Ping timeout: 256 seconds]
lbianc_ is now known as lbianc
<yorickpeterse> ugh, dtrace4linux is beyond broken
<yorickpeterse> fuck trying to get that to work
<headius> dtrace is pretty broken on linux
<headius> we had a student working on dtrace for JRuby try to get ANY of them to work, without success
<headius> that was a couple years ago, but the Linux folks prefer systemtap instead of dtrace
<yorickpeterse> well yeah, but I'm not sure if systemtap can hook into dtrace probes
byprdct has joined #rubinius
<yorickpeterse> since both mri and rbx only do dtrace atm
<headius> I don't believe it can...or at least none of the linux hackers I talked to about dtrace said anything to that effect
<yorickpeterse> Hm, apparently the probes should be compatible
heftig_ is now known as heftig
<yorickpeterse> Hmpf, our check for dtrace is bonkers
<yorickpeterse> uses the dtrace CLI to figure out if it's installed
<yorickpeterse> brixen: any objections to adding some sort of flag to force dtrace support in rbx?
<yorickpeterse> apparently systemtap can work with dtrace probes, but systemtap doesn't come with the `dtrace` CLI
<yorickpeterse> thus rbx doesn't enable it
<Gibheer> yorickpeterse: isn't that already there with --with-drace?
<yorickpeterse> Gibheer: No, the configure script still checks if dtrace is actually there
atambo has quit [Quit: yarr]
<yorickpeterse> wooow wtf
atambo has joined #rubinius
<yorickpeterse> I now do have a dtrace executable
<Gibheer> but if I remember correct, it needs the dtrace binary to create the header files
<yorickpeterse> where the heck did that come from
<headius> yorickpeterse: you have a working rbx + dtrace on Linux?
<yorickpeterse> No not yet, but I do have a working MRI + systemtap
<yorickpeterse> (that is, it lists the available probes)
<yorickpeterse> Aha, it appears systemtap installs the dtrace cli
<yorickpeterse> interesting
<yorickpeterse> unless this is a leftover from my dtrace4linux hacking, lets see
<yorickpeterse> Yup, systemtap installs that
<yorickpeterse> well
<yorickpeterse> time to also recompile rbx then I guess
<headius> nice! I guess we'll be able to have dtrace on JRuby on Linux too then
<yorickpeterse> Hm, then I get a gigantic pile of compiler errors
<yorickpeterse> aaand fuck, I closed the window
<yorickpeterse> щ(゚д゚щ)
noop has quit [Read error: Connection reset by peer]
<yorickpeterse> Ah yes, of course then you find out MRI only traces method cache clearing
<yorickpeterse> and not constant cache clearing
<yorickpeterse> argh
IPGlider has joined #rubinius
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
havenwood has joined #rubinius
<yorickpeterse> "vm/llvm/artifacts/jit_compiler.cpp.o:(.note.stapsdt+0xa8): undefined reference to `rubinius_jit__function__end_semaphore'" what the fuck
<IPGlider> has anyone been able to configure and build on osx yosemite? I'm getting "Checking for 'llvm-config': not found" and it does not download a prebuilt llvm
<yorickpeterse> IPGlider: prebuilt support has been removed
<yorickpeterse> make sure that you brew install llvm and that it has been linked
<yorickpeterse> brew link llvm # or something like that
<IPGlider> oh, ok thank you!
|jemc| has joined #rubinius
noop has joined #rubinius
slaught has joined #rubinius
<yorickpeterse> right, so using clang doesn't work either
<yorickpeterse> argh
<|jemc|> yorickpeterse: your undefined reference thing sounds like something is not getting linked
<yorickpeterse> I suspect it's rbx trying to include extra shit related to dtrace
<yorickpeterse> but since I don't truly have dtrace it craps out
<yorickpeterse> since it only does this when I pass --with-dtrace
<yorickpeterse> tonight's todo: see if I can hack in metrics for cache invalidations (besides inline cache), and get fuckign systemtap working
IPGlider has quit [Quit: WeeChat 1.0.1]
meh` has joined #rubinius
JimmySieben has joined #rubinius
<yorickpeterse> Hm, I reckon I can add systemtap/dtrace support to Oga
<headius> interesting choice...I can't say I've heard of an XML library that exposes dtrace probes
<headius> of course, if you do that, it won't work anywhere that doesn't have dtrace
<yorickpeterse> it would be conditionally of course
<yorickpeterse> But come to think of it, the C side of things is tiny compared to the test
<yorickpeterse> * rest
<yorickpeterse> not sure what use the probes would be
<headius> yeah, I couldn't think of anything :-)
<yorickpeterse> heading home, bbl
jeremyevans has quit [Ping timeout: 255 seconds]
jeremyevans has joined #rubinius
amsi has joined #rubinius
tenderlove has quit [Quit: Leaving...]
tenderlove has joined #rubinius
diegoviola has joined #rubinius
JimmySieben has quit [Quit: JimmySieben]
Rotonen has quit [Ping timeout: 250 seconds]
JohnBat26 has joined #rubinius
abbe has joined #rubinius
byprdct has quit [Ping timeout: 265 seconds]
byprdct has joined #rubinius
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubinius
<yorickpeterse> hm, so the probes file is properly generated
<yorickpeterse> which leads me to suspect it might not be linked properly
noop has quit [Ping timeout: 240 seconds]
amsi has quit [Ping timeout: 265 seconds]
postmodern has quit [Quit: Leaving]
jnh has joined #rubinius
<jnh> good morning
JohnBat26 has quit [Remote host closed the connection]
josh-k has joined #rubinius
<yopp> hm. how do you think what are the key points for ruby crash course?
<brixen> yopp: do you mean a course on dealing with Ruby crashes?
<brixen> or a rapid learning of Ruby?
<yopp> ;) rapid deep learning
<brixen> rapid deep learning I'm not sure
<brixen> but learn to program if you don't know Ruby at all
<brixen> + sandi metz's book
<brixen> practical object-oriented design in Ruby
<brixen> the first is elementary but covers the syntax well
<brixen> the second is essential Ruby knowledge
<yxhuvud> ime, deep OO skills can easily jump the language barriers, but weak OO skills will write soup whatever the language.
<yxhuvud> sometimes I feel sandi should be clobbered by a yagni hammer, but there is a lot of stuff as well.
<yxhuvud> *lot of good stuff
<jc00ke> yxhuvud: maybe yagniy (yagni+yet) but it's good to know the concepts regardless.
JimmySieben has joined #rubinius
<yxhuvud> indeed.
<yxhuvud> the problem with the yet part is that it might as well be never, as demands shift over time.
<jc00ke> yxhuvud: sure, but when there is demand... then you have the tools! She definitely doesn't encourage over-engineering, that's fo sho
<yxhuvud> some of her talks have been quite painful in that regard. But yes, learn to recognize badly structured code and learn ways to make it less bad.
<yxhuvud> yopp: what level are your subjects at?
<yopp> average programming skill, and weak ruby skills
<yopp> at least basic of programming theory
<yopp> (control structures, main pradigms)
<yopp> •paradigms
<|jemc|> yopp: in parallelism - don't forget Queues!
amsi has joined #rubinius
<yopp> ah, right
<yopp> thanks! :)
<|jemc|> and more people need to learn about ConditionVariable, dagnabit
<yxhuvud> how long is the course supposed to be?
<yopp> yxhuvud, 20 days x 2h
<yxhuvud> ok, that explains the huge amount of stuff you included. I kinda worried you were trying to cram all that into 2 hours :P
<yopp> nope :)
<brixen> yopp: shameless plug https://leveluprails.com/
<yxhuvud> don't forget that sometimes the best teacher is actually working with the problem. perhaps let them solve some simple things doing pair programming, and then discuss the experiences and solutions afterwards?
<brixen> yopp: one of our staff made that
<brixen> yopp: it focuses on some Rails stuff by tries to build good Ruby practices
<brixen> s/by/but/
<yopp> uh. my whole idea is to address "rails developers rarely give a shit about ruby"
byprdct has quit []
<brixen> we very much expect our Rails devs to give a shit about Ruby
<brixen> there are 18 of them sitting in a training course with Sandi at this very moment :)
<yxhuvud> yes that is also a good point. what will they use ruby for? if rails, maybe look into how some rails magic is implemented, and similar for chef or puppet if you are using either of those
<yopp> yxhuvud, yeah, something pretty much like: theory block and then solving practical problem with this new theory
<yopp> yep, about rails I'd like to write a tiny ORM and tiny analogue of action_pack with routing to give an idea how this solved in rails
<yopp> uh, no free shipping for old EU man
Rotonen has joined #rubinius
<yopp> brixen, thanks for the book, samples looks very nice
<yorickpeterse> yopp: didn't read all, what level is the target group?
<yorickpeterse> Total beginners?
<yopp> yorickpeterse, average programming skills, weak ruby skills
<yorickpeterse> Ah
<yorickpeterse> ok that greatly simplifies things
<yopp> think of average-salary rails programmer ;)
<yorickpeterse> https://rubymonk.com/ this used to be decent, not sure if it still is
<yorickpeterse> hey I'm an average-salary ruby programmer
<yopp> see, you don't need this courses!
<yorickpeterse> I'd be worried if I did :P
<yopp> "The `lambda` keyword "
<yopp> oh my
<yorickpeterse> yopp: honestly the best way to learn as an intermediate is to just do shit
<yorickpeterse> That is, don't bother too much with papers/books/etc, get down and dirty with some code
<yopp> yep, that's why I'd like to spent 60% of time writing code
<yopp> •spend
<yopp> and not just dummy foobar code, but solving some real world problems
<yopp> And real problems are welcome :)
byprdct_ has joined #rubinius
<yorickpeterse> *cough* rbx *cough*
<yopp> yorickpeterse, mostly they are needs good knowledge of rbx. but if you have some "average level" issues in mind, it will be awesome
<yorickpeterse> hm
<yorickpeterse> Hm, seems Rbx doesn't link the dtrace probes when building the vm somehow
<yorickpeterse> that is, I don't see any mention of it in the gigantic daedalus output
JohnBat26 has joined #rubinius
<yorickpeterse> .....
<yorickpeterse> I think I found it
<yorickpeterse> (╯°□°)╯︵ ┻━┻
<yorickpeterse> I am on the linux, not freebsd
JimmySieben has quit [Quit: JimmySieben]
<yorickpeterse> D:
<yorickpeterse> it works D:
GitHub77 has joined #rubinius
<GitHub77> [rubinius] YorickPeterse pushed 1 new commit to master: http://git.io/8Qed1g
<GitHub77> rubinius/master 9fec1fd Yorick Peterse: Enable dtrace pre linking on Linux....
GitHub77 has left #rubinius [#rubinius]
JimmySieben has joined #rubinius
max96at is now known as max96at|off
<yorickpeterse> sheeee it works too
<headius> nice!
<yorickpeterse> However, it seems some of the probes don't receive the right arguments
<yorickpeterse> or maybe I'm doing something wrong
travis-ci has joined #rubinius
<travis-ci> rubinius/rubinius/master (9fec1fd - Yorick Peterse): The build passed.
travis-ci has left #rubinius [#rubinius]
<yorickpeterse> yeah, the method__entry probe appears to be fucked
<yorickpeterse> the method name argument is for some reason the file
<yorickpeterse> method__entry__native however seems to be correct
diegoviola has quit [Quit: WeeChat 1.0.1]
jnh has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
<yorickpeterse> man systemtap is pretty cool
havenwood has quit [Remote host closed the connection]
jnh has joined #rubinius
<yorickpeterse> D:
<yorickpeterse> I have object allocation hooks working D:
<yorickpeterse> sort of
<yorickpeterse> gotta get the file path right
<yorickpeterse> but at least it doesn't crash
havenwood has joined #rubinius
meh`_ has joined #rubinius
meh` has quit [Ping timeout: 265 seconds]
slaught has quit [Quit: slaught]