<|jemc|>
because Tuple can't be serialized/deserialize with the it-always-works-for-ruby-classes copy-all-the-instance-variables approach
<|jemc|>
my thought is that people who use "feature" on Rubinius deserve what they get
<|jemc|>
*who use this
<|jemc|>
but it's in psych's test suite, so rubinius won't pass those tests
<brixen>
well then they should fix their tests
<brixen>
seriously, a project as entwined as psych in Ruby not running their tests on rbx is BS
<|jemc|>
I don't disagree - but my PR fixes the most widespread issue and I think I'll leave it there for now
<brixen>
sure, not saying you need to work more on it :)
<brixen>
thanks for doing the PR
<brixen>
I'll see if I can bundle a forked 2.0.9
<brixen>
also exceedingly annoying that a breaking behavior change was made in a teeny version bump
<brixen>
also, they've run out of teeny version numbers under MRI's version-alike scheme
<|jemc|>
brixen: last time I complained about the breaking-change-on-minor-version-number for Qt, didn't you link me to a youtube video about systems on the edge of failure as a standard operating point
<brixen>
I wonder if they'll actually do 2.0.10
<|jemc|>
:P
<brixen>
indeed
amclain__ has joined #rubinius
<brixen>
and I shouldn't be surprised or annoyed
<brixen>
MRI has added breaking changes in an invisible patch level
<brixen>
invisible to the normal RUBY_VERSION
<|jemc|>
as I mentioned before, we could work around the hash subclass issue just for psych's tests by implementing Rubinius::Tuple#encode_with
<|jemc|>
but I doubt you're in favor of that :P
amclain_ has quit [Ping timeout: 245 seconds]
<brixen>
Tuple won't even be visible to Ruby soon, so I'm not motivated to care :)
<brixen>
so, I can bundle a forked psych for a release tarball but not for people building from a clone
<brixen>
what a total effen pain in the ass
amclain__ is now known as amclain
<brixen>
2.0.9 doesn't even have a release tag?
<brixen>
I think I'm just going to leave it locked at 2.0.6
<brixen>
why the hell did this vbox start using nano for git amends
tenderlove has joined #rubinius
Prathame_ has joined #rubinius
tenderlove has quit [Ping timeout: 272 seconds]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bwild has quit [Ping timeout: 255 seconds]
Bwild has joined #rubinius
Prathame_ has joined #rubinius
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has joined #rubinius
tenderlove has quit [Ping timeout: 256 seconds]
tenderlove has joined #rubinius
jeregrin_ has quit []
tenderlove has quit [Ping timeout: 264 seconds]
tenderlove has joined #rubinius
dimday has quit [Ping timeout: 256 seconds]
Prathame_ has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prathame_ has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
dimday has joined #rubinius
Prathame_ has quit [Client Quit]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
|jemc| has quit [Ping timeout: 276 seconds]
josh-k has joined #rubinius
josh-k_ has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
josh-k has quit [Ping timeout: 272 seconds]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
JohnBat26 has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
|jemc| has joined #rubinius
<|jemc|>
brixen: psych PR #217 is merged
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
<|jemc|>
er.. 218
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
josh-k_ has quit []
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Prathame_ has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
|jemc| has quit [Ping timeout: 240 seconds]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
havenwood has joined #rubinius
saline has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Prathame_ has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Bwild has quit [Ping timeout: 264 seconds]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Bwild has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Bwild has quit [Ping timeout: 245 seconds]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Read error: Connection reset by peer]
noop has joined #rubinius
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prathame_ has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
noop has quit [Ping timeout: 245 seconds]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
dimday has quit [Ping timeout: 245 seconds]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[spoiler] has joined #rubinius
Prathame_ has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
benlovell has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
flavio has joined #rubinius
flavio has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
elia has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has joined #rubinius
Prathame_ has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
<yorickpeterse>
morning
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
<[spoiler]>
my log looks like a shrine to tenderlove; he keeps joining and leaving the channel lol
Prathame_ has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
<yorickpeterse>
Thankfully I filter quits
tenderlove has joined #rubinius
<[spoiler]>
haha, I have them on because I once held a monologue
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
<dmilith>
cool. thanks!
benlovell has joined #rubinius
Bwild has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 265 seconds]
<dmilith>
yorickpeterse: I see that rubinius "likes" freebsd hosts, but I'm curious about one special dependency - llvm. Do I need only pure LLVM or whole bundle including clang?
<dmilith>
I'm talking about --enable-llvm option
<dmilith>
which should speed up rubinius a lot
Prathame_ has joined #rubinius
<dmilith>
but by default I don't have llvm-config on osx 10.10 and fbsd 10.1
<yorickpeterse>
I'm not sure what you're on about
<yorickpeterse>
LLVM is used for the JIT, it's highly recommend to enable/use it
<yorickpeterse>
* recommended
<yorickpeterse>
You only need LLVM, although you can use clang for compilation as well
<yorickpeterse>
clang is faster/uses less memory compared to gcc
<dmilith>
I know
<dmilith>
fbsd 10.1 has only clang
<dmilith>
same on osx 10.10
<dmilith>
there's gcc no more :)
<yorickpeterse>
nice
<dmilith>
allright, I'll try with building llvm
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prathame_ has joined #rubinius
Bwild has quit [Quit: leaving]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Read error: Connection reset by peer]
Prathame_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
<dmilith>
I'm just switching whole rails project from MRI to rubinius. Just to let you know, you're doing great job ^^
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
<yorickpeterse>
man, concurrent-ruby is cool
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
<yorickpeterse>
dmilith: nice
<yorickpeterse>
dmilith: let us know if you bump into anything
<dmilith>
I will. I moved my current company from Php to Ruby, now it's time for them, to forget about MRI ;]
<dmilith>
I will report any issues for sure. thanks for help and good will
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
[spoiler] has quit [Quit: Leaving]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
<yorickpeterse>
brixen: seems we still have some JIT issues with block args
<yorickpeterse>
I have this line `reviewer = review['reviewer']` which now all of a sudden triggers `Coercion error: "reviewer".to_int => Fixnum failed (TypeError)`
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
havenwood has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
<brixen>
yorickpeterse: ok, you could try adding + tagging a spec/jit/ spec
<brixen>
I'll confirm psych 2.0.10 and then work on 2.5.0 release
<brixen>
4 weeks overdue :(
<brixen>
please no one schedule more holidays for a few months, kthk
<brixen>
thx
<brixen>
dmilith: what platforms are you on? we're trying to get more packaging out there so people don't compile from source
goyox86 has joined #rubinius
<yorickpeterse>
brixen: heh, too busy migrating data using rbx here :P
<yorickpeterse>
sadly that means my CPU is getting hot
<brixen>
throw some water on it
<yorickpeterse>
which means I have my laptop on a box so the fans can do their work better
<brixen>
oh wait...
<yorickpeterse>
80C at 6400 RPM
<yorickpeterse>
at least it actually uses all 4 cores
<yorickpeterse>
instead of 20% of 1 core
<brixen>
yeah, it's nice to use some cores
<brixen>
Rubinius: Use Cores™
<yorickpeterse>
sadly it's in the end not much faster, so there's probably a bottleneck somewhere
<yorickpeterse>
also lol my script is killing our internet it seems
<yorickpeterse>
E_TOO_CONCURRENT
<cpuguy83>
brixen: But does it have electrolytes?
<brixen>
cpuguy83: unsure, I think it has antioxidants, though
<brixen>
if only everything were as easy as heroku: I build binaries, upload them, available to everyone immediately
<brixen>
I guess Docker will be like that, too
<brixen>
cpuguy83: what's docker on FreeBSD, OpenBSD look like?
<cpuguy83>
Non-existant atm
<brixen>
:sadface:
<cpuguy83>
Joyent is working on linux branded zones for Illumos/SmartOS
<cpuguy83>
And using Docker to drive that.
<brixen>
oh, I think I saw that mentioned
<brixen>
nice
<brixen>
cpuguy83: do you know offhand if there's a handy Atom plugin to manage docker?
<cpuguy83>
Docker on Windows should help to move other projects forward a little faster as well.
<brixen>
heh
<brixen>
my immediate plan for rbx on Windows is Docker :)
<cpuguy83>
Since it will help to de-Linuxify the codebase.
<brixen>
our one coworker who is a dedicated Windows user is investigating for me
<cpuguy83>
Well, MS is building container support into Windows server, so this could be confusing... since Linux Rbx wouldn't run on a Windows daemon.
<brixen>
that would be confusing
<brixen>
I have no idea what the even means
<brixen>
"we've built in support for X but if you run on X it won't work" ?
<cpuguy83>
That means a Windows docker client could (and actually can today on master) talk to a Linux daemon, but native Windows containerization is also happening. Since container images are not cross-platform (no real virtualization), you have Windows images for the Windows daemon, Linux images for the Linux daemon.
<cpuguy83>
And of course Joyent's stuff would emulate Linux at the OS level, so you could run Linux images on Joyent's branded zones... yeah, fun stuff.
<cpuguy83>
something we have to manage.
<brixen>
ah, I see
<brixen>
the orthogonalization of virtualization and containers is a good thing
benlovell has quit [Ping timeout: 272 seconds]
goyox86_ has joined #rubinius
Pratham__ has joined #rubinius
benlovell has joined #rubinius
Prathame_ has quit [Ping timeout: 264 seconds]
tenderlove has quit [Remote host closed the connection]
<brixen>
hmm, psych 2.0.10 appears to work, but now bundler is deleting the .bundle/config file
<brixen>
I wonder if it's bundler 1.7.12 or something else messed up with psych/yaml assumptions
<brixen>
hm, actually that's not it
<brixen>
can't read diffs :(
<brixen>
it's just adding the yaml doc separator, weird
Pratham__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #rubinius
tenderlove has quit [Remote host closed the connection]
GitHub135 has joined #rubinius
<GitHub135>
[rubinius] brixen pushed 4 new commits to master: http://git.io/DQk2wg
<GitHub135>
rubinius/master 57db0d9 Brian Shirai: Define macro if using vendored libyaml.
<GitHub135>
rubinius/master b67419a Brian Shirai: Updated psych to 2.0.10.
<GitHub135>
rubinius/master 114bed6 Brian Shirai: Updated bundler to 1.7.12.
GitHub135 has left #rubinius [#rubinius]
geekbri has joined #rubinius
<dmilith>
brixen: I'm using FreeBSD 10.1 on productions, OSX 10.10.1 on development, but I'm doing my own builds (dedicated software for is - Sofin) - for example build of Rubinius for FreeBSD 10.1 is here: http://software.verknowsys.com/binary/FreeBSD-10.1-amd64/
<dmilith>
s/is/it/
|jemc| has joined #rubinius
diegoviola has quit [Remote host closed the connection]
<brixen>
I think eg OpenBSD is still shipping rbx 1.2.4 :'(
<dmilith>
it's KISS stuff, BSD licensed. Do whatever you want with it :}
<dmilith>
um. I didn't play with OpenBSD yet
<brixen>
and we missed some cutoff so the newer version will ship 2.2.10 for the next 6 months or something
goyox86_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<brixen>
it's impossible to work with a packaging system like that
<brixen>
dmilith: I need to get a packaging page up on rubini.us
<brixen>
I'll note your sofin
<dmilith>
feel free to mention me if you do
<brixen>
definitely
<dmilith>
not many people are using sofin atm.
<brixen>
I'd actually like to include contact info on the page
<brixen>
so, if you want to provide that, it would be great
<brixen>
doesn't have to be your contact info, but whatever are the main contact info for the project, etc
benlovell has quit [Ping timeout: 255 seconds]
Prathame_ has joined #rubinius
jeregrin_ has quit []
diegoviola has joined #rubinius
<brixen>
dmilith: so, can sofin and brew co-exist?
<brixen>
or is that a recipe for RVM^H^H^Hdisaster?
jeregrin_ has joined #rubinius
<cremes>
brixen: i’m starting to spike out some code to use memory-mapped files for file IO. One of the things I can see that I’ll need is a #slice method on FFI::Pointer. Would that API change be acceptable to FFI? I ask because i know you are planning a major revision.
<brixen>
cremes: make whatever API you need :)
Prathame_ has quit [Client Quit]
<dmilith>
brixen: technically, yes
<brixen>
we can iterate
<dmilith>
but
<cremes>
ok
<dmilith>
there's danger with that
<brixen>
cremes: also, ByteArray objects will have the ability to simply index another memory space
<brixen>
cremes: instead of containing all the bytes themselves
<dmilith>
cause some software maintainers does hardcode -I /usr/local/include or -L /usr/local/lib into their setup scripts (usually configure)
<brixen>
cremes: so, reading a file into eg lines, will be extremely efficient
<cremes>
brixen: oh? i’ll look into that class.
<brixen>
cremes: when all the ByteArrays that reference that mmap go away, the resource is released
<dmilith>
so there's possibility, that some software will link with /usr/local/lib/*
<cremes>
hopefully there’s a #to_s on ByteArray to quickly generate Ruby Strings...
<brixen>
dmilith: ah yeah, that makes sense
<brixen>
cremes: a ByteArray is the storage for String
<dmilith>
so Sofin will by default warn you, that /usr/local exists. In perfect system there's no /usr/local ;]
<dmilith>
of course it's just an assumption
<brixen>
cremes: there's no need to "generate" anything, but another ByteArray that references the other memory
<cremes>
even better.
<brixen>
cremes: substrings, etc, are extremely simple
<brixen>
dmilith: ok
<dmilith>
to make sure that each built software won't have external /unwanted dependencies without hacking built software itself
<brixen>
dmilith: is there a doc about using sofin with brew, caveats, etc?
<cremes>
excellent. I’ll try to get my spike up on a branch this weekend.
<brixen>
dmilith: also, any chance to use eg brew bottles for stuff like LLVM
pietr0 has joined #rubinius
<brixen>
dmilith: since compiling really huge projects like that is terrible
flavio has quit [Quit: WeeChat 1.0]
<brixen>
cremes: sweet!
<brixen>
cremes: btw, buffering completely disappears when you can mmap the underlying resource
<dmilith>
it is, that's why i do binary builds
<brixen>
cremes: just fyi :)
<cremes>
brixen: *exactly*
<dmilith>
you have to build software ONCE, per version
<cremes>
:)
<brixen>
dmilith: ok
<dmilith>
on each system ofc
<brixen>
yeah
<dmilith>
after then, i'm doing sofin push Rubinius
<dmilith>
and it's then available using sofin install / get
<brixen>
ok
<cremes>
that’s why i’m doing it for files… buffering is complex and hasn’t shown any perf improvement. However, we’ll need to keep some of that logic around for non-file file descriptors (pipes, sockets, etc)
<brixen>
btw, what do people use to keep track of links these days?
<|jemc|>
cremes: I've just been doing ::Rubinius::FFI = ::FFI and seeing what breaks :P
<|jemc|>
err
<cremes>
ha!
<|jemc|>
other way around
<brixen>
I keep links in browser taps
<brixen>
er tabs
<dmilith>
brixen: i'm using things.app and hackpad.com
<|jemc|>
cremes: I'm not aiming for 100% compatibility - I don't have that kind of time, but it would be great for the few libraries I care about to run on both
pwh_ has joined #rubinius
<|jemc|>
cremes: I get a pretty significant speed boost with Rubinius::FFI
<brixen>
dmilith: hm, hackpad looks interesting except the acquired by dropbox part
<|jemc|>
cremes: plus I'm working in the zeromq organization on the zproject project to add auto-generated ruby FFI bindings to any C project that uses it
<dmilith>
yeah.. I did use hackpad before acquisition
<cremes>
|jemc|: sure. long term the whole ffi-rzmq-* stuff should go away in favor of an FFI wrapper around czmq. You might want to target that project (rbzmq?) for your FFI experiments.
<|jemc|>
cremes: I totally agree - my team is talking about migrating our private code onto ruby-wrapped czmq in the next few months
<|jemc|>
cremes: but my main target is the zproject work - I might want you to take a look at what I'm doing there at some point to make sure I'm not going down any bad rabbit holes
<|jemc|>
but since I'm writing those code generators, it should be easy for me to make sure they can target both ::FFI and ::Rubinius::FFI if I steer away from the differences
pwh has quit [Ping timeout: 246 seconds]
<cremes>
|jemc|: sure, happy to look though my zeromq expertise is withering on the vine a bit lately. what i have used it for “just works” so i haven’t mucked with it a lot lately.
<|jemc|>
cremes: this part is actually not really zeromq-specific, but czmq-style-classes specifc
pwh_ has quit [Client Quit]
<|jemc|>
zproject in general assumes all your code is CLASS RFC style classes
<|jemc|>
and the ruby part uses that safe assumption to wrap them into clean Ruby object APIs
<cremes>
cool, looking forward to it.
<|jemc|>
so basically, that endeavour is "generate ruby FFI bindings for arbitrary objects that follow the CLASS RFC"
<cremes>
good idea
<|jemc|>
cremes: if you're interested you can already clone it down and it is usable (at least for the two or three projects I've been developing with it)
<|jemc|>
but I'll let you know when I want your specific input
<cremes>
send me a link. i don’t want to get distracted from this memory-mapped IO work though… ;)
<cremes>
i’ve been promising brixen something for 2 months so i gotta get this done
<dmilith>
brixen: that article is really old.. there were several changes to sofin core since then ;]
<|jemc|>
heh - no I certainly don't want to distract you from that
<|jemc|>
I'll have a good public example to show you when pieter and I finish the edgenet-hydra app for FOSDEM
<|jemc|>
although that'll be more of a showcase for the QML bindings, the ruby ones will be generated as well at zero-cost :P
<cremes>
|jemc|: now you’ve really peaked my interest. what are you and hintjens cooking up for FOSDEM? (maybe we should take this to zeromq channel)
elia has quit [Quit: Computer has gone to sleep.]
<brixen>
dmilith: heh, I went to sign up for hackpad, already had an account :)
<dmilith>
;]
goyox86_ has joined #rubinius
goyox86_ has quit [Client Quit]
<cremes>
need a hand if someone is around. i can build latest master just fine on my laptop, but on my desktop the “configure” step bitches about not being able to find yaml.h
<cremes>
same OS, same MRI version (via chruby & ruby-install) but different results.
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<cremes>
just did “brew unlink libyaml; brew update; brew install libyaml” and get same result.
<dmilith>
brixen: maybe you have some wiki or blog about using current version of rubinius, with compiling to bytecode and then running bytecode version of source?
<yorickpeterse>
we have a crossover between open floor and a private office
<yorickpeterse>
big open room for the chatty people, devs sit in their own enclosure
<yorickpeterse>
(with glass walls)
<yorickpeterse>
aptly nicknamed "The fish bowl"
<[spoiler]>
Well we have offices and all offices are connected by a hallway, and the doors are mostly open; and we have glass walls
<yorickpeterse>
dmilith: what are you trying to do anyway?
<[spoiler]>
weird
<[spoiler]>
if it's there it shouldn't error lol
<dmilith>
I'm having fun. Also i'm bugtester in some open source stuff. I have bad luck with these, I use it for community advantage ;]
<brixen>
dmilith: follow the blog post, it shows something like rbx -Iwidget-compiled/lib -e "Rubinius::CodeLoader.require_compiled 'widget/lib/widget'"
<dmilith>
yorickpeterse: i have simple ruby file, I'd like to compile it, and then run that bytecode
<[spoiler]>
I just realised goodnight sounds like some weird brand
<[spoiler]>
ok anyway, good night 4real now, bitches :D
[spoiler] has quit [Quit: Leaving]
goyox86 has quit [Ping timeout: 265 seconds]
<yorickpeterse>
brixen: when using Rubinius::JIT.compile, should the 2nd argument be the method of the _instance_ of a class, or the method as returned by the class' instance_method() method?
<yorickpeterse>
brixen: aaaah, I found it why I'm having segfaults with Rubinius::JIT.compile
<yorickpeterse>
brixen: it seems to require that you call the method first before compiling it
<yorickpeterse>
which I guess makes some sense, but it certainly shouldn't segfault
mustmodify has joined #rubinius
<yorickpeterse>
aha, the venerable null pointer
<mustmodify>
somehow those vowels got mixed up in my head and I thought you wrote *vulnerable*
<yorickpeterse>
nah, this is a strong and independent null pointer who need to safety checks
<yorickpeterse>
* no
<brixen>
yorickpeterse: do you have a patch for it?
<brixen>
if not, I'll do that shortly
<yorickpeterse>
brixen: Not yet, I'm trying to figure out where to patch it
<brixen>
compiling without running needs to be supported of course
<yorickpeterse>
That is, trying to find out where the null originates from
<brixen>
ok
<yorickpeterse>
in this case a rubinius::MachineCode object seems to be set to NULL
<yorickpeterse>
so it craps out when trying to access a field from it
<brixen>
it's not internalized yet
<brixen>
you can do that manually
<yorickpeterse>
eh?
<mustmodify>
I think we should write a bot that monitors all irc channels, yelling at anyone who curses.
<mustmodify>
not sure why. Just seems like a fun way to spend one's time.
<yorickpeterse>
brixen: ok I think I found the source, but what do you mean with "internalized"?
<yorickpeterse>
brixen: oh hm, I found an "internalize" method, yet that still seems to return NULL
<yorickpeterse>
ok, so ye olde if does the trick but now it obviously doesn't JIT the method
tenderlove has joined #rubinius
<yorickpeterse>
aaah, wait a minute
<yorickpeterse>
guess I had to dig into the JIT sooner or later
tenderlove has quit [Ping timeout: 264 seconds]
elia has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
brixen: ok so sorry for the noise, but am I right into thinking that the JIT should _always_ make sure CompiledCode::internalize() is invoked _before_ trying to JIT a method?
<yorickpeterse>
If so, this requires a CallFrame which isn't present anywhere in the chain of the JIT compilation process. I believe I can yank the current call frame out of STATE, but is that kosher?
<yorickpeterse>
oh hey, I think I did it
<yorickpeterse>
hihi
GitHub41 has joined #rubinius
<GitHub41>
[rubinius] YorickPeterse created jit-method-without-calling (+2 new commits): http://git.io/kuxQNw
<GitHub41>
rubinius/jit-method-without-calling bdea72d Yorick Peterse: Specs for JIT'ing methods without calling them.