JimmySieben has joined #rubinius
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubinius
havenwood has quit [Remote host closed the connection]
amsi has quit [Quit: Leaving]
postmodern has quit [Quit: Leaving]
jnh has quit [Quit: Leaving...]
josh-k has quit [Remote host closed the connection]
postmodern has joined #rubinius
josh-k has joined #rubinius
|jemc| has joined #rubinius
meh` has quit [Ping timeout: 272 seconds]
JimmySieben has quit [Quit: JimmySieben]
diegoviola has joined #rubinius
josh-k has quit [Remote host closed the connection]
josh-k has joined #rubinius
lopex has quit [Ping timeout: 272 seconds]
lopex has joined #rubinius
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #rubinius
josh-k_ has joined #rubinius
josh-k has quit [Ping timeout: 250 seconds]
benlovell has joined #rubinius
josh-k_ has quit [Remote host closed the connection]
noop has joined #rubinius
|Blaze| has quit [Ping timeout: 246 seconds]
elia has joined #rubinius
<yorickpeterse> morning
meh` has joined #rubinius
|Blaze| has joined #rubinius
josh-k has joined #rubinius
|Blaze| has quit [Remote host closed the connection]
josh-k has quit [Remote host closed the connection]
|Blaze| has joined #rubinius
josh-k has joined #rubinius
|Blaze| has quit [Remote host closed the connection]
|Blaze| has joined #rubinius
|Blaze| has quit [Remote host closed the connection]
|Blaze| has joined #rubinius
postmodern has quit [Quit: Leaving]
|Blaze| has quit [Ping timeout: 260 seconds]
jaffachief has joined #rubinius
DireFog has quit [Remote host closed the connection]
DireFog has joined #rubinius
jaffachief has quit [Quit: Computer has gone to sleep.]
jaffachief has joined #rubinius
flavio has joined #rubinius
flavio has quit [Changing host]
flavio has joined #rubinius
|Blaze| has joined #rubinius
jaffachief has quit [Quit: Computer has gone to sleep.]
benlovell has quit [Ping timeout: 258 seconds]
diegoviola has quit [Quit: WeeChat 1.0]
josh-k_ has joined #rubinius
josh-k has quit [Ping timeout: 244 seconds]
jaffachief has joined #rubinius
diegoviola has joined #rubinius
Bish has quit [Excess Flood]
Bish has joined #rubinius
benlovell has joined #rubinius
<headius> yorickpeterse: morning!
benlovell has quit [Ping timeout: 260 seconds]
meh` has quit [Ping timeout: 272 seconds]
benlovell has joined #rubinius
<headius> is there something wrong with building master right now?
<headius> I tried to bundle install and rubinius-melbourne-2.2.2.0 fails to install
<yorickpeterse> On Linux?
<headius> OS X
<headius> cc1plus: error: unrecognized command line option "-Wdivision-by-zero"
<headius> clang 425.0.28
<headius> this is newest xcode, maybe I can try an older one
<headius> hmm, that didn't seem to help
<headius> yorickpeterse: rubinius-melbourne-2.2.2.0 installs ok for you?
<yorickpeterse> Not sure, I'm having other issues with the console on Linux
<yorickpeterse> disabling that I could compile it a few days ago
benlovell has quit [Ping timeout: 246 seconds]
<headius> hmmm ok
<headius> ahh I think it was picking up an older gcc I installed for another project
josh-k has joined #rubinius
jaffachief has quit [Quit: Computer has gone to sleep.]
josh-k_ has quit [Ping timeout: 272 seconds]
jaffachief has joined #rubinius
benlovell has joined #rubinius
enebo has joined #rubinius
noop has quit [Ping timeout: 258 seconds]
jaffachief has quit [Quit: Computer has gone to sleep.]
kagaro has quit [Ping timeout: 245 seconds]
kagaro has joined #rubinius
jaffachief has joined #rubinius
cypher23 has quit [Ping timeout: 260 seconds]
Bish has quit [Ping timeout: 260 seconds]
cypher23 has joined #rubinius
Bish has joined #rubinius
|jemc| has quit [Ping timeout: 245 seconds]
benlovell has quit [Ping timeout: 272 seconds]
jaffachief has quit [Quit: Computer has gone to sleep.]
flavio has quit [Quit: WeeChat 0.4.1]
josh-k has quit [Remote host closed the connection]
josh-k has joined #rubinius
josh-k has quit [Ping timeout: 260 seconds]
benlovell has joined #rubinius
|jemc| has joined #rubinius
cyndis_ is now known as cyndis
benlovell has quit [Ping timeout: 260 seconds]
JimmySieben has joined #rubinius
benlovell has joined #rubinius
JohnBat26 has joined #rubinius
meh` has joined #rubinius
benlovell has quit [Ping timeout: 250 seconds]
amsi has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
JimmySieben has quit [Quit: JimmySieben]
saline has quit [Remote host closed the connection]
yxhuvud has quit [Remote host closed the connection]
JohnBat26 has quit [Ping timeout: 260 seconds]
saline has joined #rubinius
jaffachief has joined #rubinius
yxhuvud has joined #rubinius
yxhuvud has quit [Remote host closed the connection]
JohnBat26 has joined #rubinius
<yorickpeterse> brixen: ping
<brixen> yorickpeterse: yo
<yorickpeterse> brixen: do we have any pre-built LLVM 3.4 builds for x86_64 linux?
<yorickpeterse> Trying to compile https://github.com/digego/extempore, which apparently insists on 3.4 and I'm on 3.5 :P
<yorickpeterse> asset.rubini.us/prebuilt has no index file so it's a bit hard to figure out what the archives are called
<brixen> we do
<brixen> we have a bunch of 3.4.2
<brixen> x86_64-unknown-linux-gnu-4.[2467]
<yorickpeterse> ty, lets see if that works
<yorickpeterse> hopefully that saves me at least 2 hours worth of compiling
<brixen> it takes you 2 hrs to compile llvm?
<brixen> never takes me more than 15 min or so
<brixen> unless it's on the beaglebone :p
<yorickpeterse> Last time I tried to compile it it was for rust, which took 2 hours and made my laptop run out of memory (then OOM kill the compiler)
<yorickpeterse> That might've just been Rust though
<yorickpeterse> hm, lemme try that to actually see how long it takes
<yorickpeterse> apparently need to patch 3.4 anyway
<brixen> yorickpeterse: I can compile a 3.5 prebuilt if you want
<brixen> was going to do that soon anyway
nwjsmith has left #rubinius [#rubinius]
<yorickpeterse> Nah, I have 3.5
<yorickpeterse> Extempore doesn't work with it though, bunch of files moved around in LLVM
<yorickpeterse> (semver is apparently not known to LLVM)
<|jemc|> yorickpeterse: or just different semantics :P
<yorickpeterse> there's also http://sonic-pi.net/, which runs on Super Collider (basically a client/server synth)
<yorickpeterse> but the code looks kinda questionable, plus they say it only works on OS X/Raspberry Pi
<yorickpeterse> I wonder how feasible it is to hook Rbx up to Super Collider
<yorickpeterse> You don't get the crazy hot code swapping Extempore has, but you can get pretty close
<yorickpeterse> hm wait, eval() should basically be just as good
<yorickpeterse> Basically a while ago I started looking into music again, got myself a MIDI keyboard, dealt with stupid audio software for 3 weeks (to set everything up)....then gave up
<yorickpeterse> The UIs of these apps are such a fucking pain
<yorickpeterse> Plus the often used binary save files can't be tracked in Git
<yorickpeterse> So now I'm looking into these audible programming languages again, though most of their syntaxes just flat out suck
<yorickpeterse> it would be really cool if you could just write some Ruby and have it spit out a ready track in .mp3 format
<yorickpeterse> or do stuff live
<yorickpeterse> ruby final_countdown.rb > final_countdown.mp3
* yorickpeterse can only hope
havenwood has joined #rubinius
diegoviola has quit [Read error: Connection reset by peer]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
elia has joined #rubinius
jaffachief has quit [Quit: Computer has gone to sleep.]
yxhuvud has joined #rubinius
<brixen> yorickpeterse: have I ever referred you to jvoorhis' stuff? https://github.com/jvoorhis
<brixen> he's really into computer assisted music
<brixen> if "computer assisted music" is an actual term
<brixen> he's done some stuff with llvm
<|jemc|> yorickpeterse: at one point I was working on an MRI C ext that gave you some audio primitivies - where all the the audio processing happens in C++ but they map to ruby objects that you patch together and set parameters of in ruby
<|jemc|> abandoned for now though to due lack of time
<|jemc|> and ugly as hell
<|jemc|> llvm sounds like an interesting direction to go with it
<brixen> for all the lisp heads in the house: https://github.com/drmeister/clasp
<brixen> sounds like someone (looks at yorickpeterse) has been leaking the Rubinius world domination secrets
benlovell has joined #rubinius
benlovell has quit [Client Quit]
<yorickpeterse> D:
<yorickpeterse> brixen: ah yeah, he created ruby-llvm
<yorickpeterse> haven't seen any of his music stuff though
<yorickpeterse> |jemc|: so the really cool thing of Extempore is the live coding bit, you can hot swapp code and all that
<yorickpeterse> so you select some code, schedule it to the server and wham it starts playing
<yorickpeterse> basically a fancy eval(
<yorickpeterse> * eval()
<yorickpeterse> also I've only leaked the console/metrics stuff :3
<brixen> heh
<yorickpeterse> Ah, LLVM is done
<yorickpeterse> took ~25 minutes
<yorickpeterse> FFFFFF
<yorickpeterse> I forgot the patch
<yorickpeterse> fuck, another 25 minutes
<headius> patch?
<yorickpeterse> well here we go again
<|jemc|> yorickpeterse: haven't looked at extempore but changing the patching parameters on the fly was also in the plan
<yorickpeterse> well, so basically there's SuperCollider which already does the synth part as a server
<|jemc|> yorickpeterse: but that's one of those projects of mine I don't see getting back to until ~15 years from now when I have time for music again
<yorickpeterse> so your frontend would just translate code into server commands
<yorickpeterse> e.g. like Overtone does
<yorickpeterse> That uses Closure as the frontend
<|jemc|> I imagine in ~15 years there'll be all sorts of different options available for me
<yorickpeterse> |jemc|: http://xkcd.com/989/
<|jemc|> heh, yeah I've seen that one
amsi has quit [Ping timeout: 260 seconds]
amsi has joined #rubinius
<headius> ah
<|jemc|> yorickpeterse: I was more focused on sequenced trasnformation of live music than sequenced synthesized music though
<|jemc|> it was basically a set of Nodes that each did one kind of simple filter or record/playback or looping and you patch them up in ruby space
<yorickpeterse> well, transformation is something you can also do I believe
<yorickpeterse> (with Overtone/Extempore, not sure though)
<yorickpeterse> The downside is that none of these options work really well if you actually want to save it as an audio file, instead of doing it live
<yorickpeterse> You can do it on Linux probably, by redirecting the audio using Jack to something that can save it
<|jemc|> my general idea was to emit some simple "source" sounds in a live performance that get twisted and filtered and pitch shifted and sequenced as I go on doing other stuff
<yorickpeterse> basically I want to get rid of the stupid GUIs, binary save formats, etc, and just use Ruby for music
<yorickpeterse> (or some other language for that matter)
<yorickpeterse> maybe use a GUI to record some sounds (e.g. from a piano), but that's about it
<yorickpeterse> |jemc|: https://www.youtube.com/watch?v=yY1FSsUV-8c watch this
amsi has quit [Ping timeout: 250 seconds]
<|jemc|> yorickpeterse: also, I watched the Joe Armstrong video you linked to the other day and thought meh
<|jemc|> but it led me to a Rich Hickley video about Transducers in closure that was really really interesting
<|jemc|> err... clojure
<|jemc|> also, interesting to see clojure's Channels and the motivation for how they are used:
elia has quit [Quit: Computer has gone to sleep.]
<|jemc|> but neither of those videos inspired me to want to write code in a lisp syntax >_<
<yorickpeterse> I know it's a trend to hate on parenthesis, but I really don't like them being used that heavily
darix has quit [Quit: may the packets be with you...]
<|jemc|> I understand the sort of purist beauty of having all of your constructions looks the same (thing x y ...) - but to me it lacks an aesthetic beauty
<|jemc|> having different parts of your syntax be represented in fundamentally different ways is not as "consistent" per se, but the lack of consistency makes it easier to distinguish them as well
<yorickpeterse> yessssss, saving myself 60ms by writing annoying C (and probably Java) code
<yorickpeterse> ugh
<|jemc|> I can glance at a chunk of ruby code and start to see what's going on before my eyes even start to parse any of the letters or symbols and the "consistency" of lisp code makes that pretty unlikely
<yorickpeterse> still, I can save 100ms by removing this code that I'm trying to optimize :/
darix has joined #rubinius
<|jemc|> brixen: thanks for the link to jvoorhis; the llvm stuff is pretty nifty
elia has joined #rubinius
<|jemc|> sounds much more pleasant to me than doing more of my c extension
<yorickpeterse> yaaaay, extempore compiled
<|jemc|> oh, that's right and looking back at it, I was using CPP2RB...
* |jemc| shudders
elia has quit [Client Quit]
<yorickpeterse> ffs, errors when it compiles stuff
<yorickpeterse> ugghh, I'm just going to try Overtone I guess
<yorickpeterse> Seems I was wrong, it _can_ save to files
<yorickpeterse> ok I'm sold
<yorickpeterse> (╯°□°)╯︵ ┻━┻
<yorickpeterse> well
<yorickpeterse> (╯°□°)╯︵ Extempore
<yorickpeterse> Jebus, Rbx is really slow for Oga :/
<yorickpeterse> probably those darn C API handles
<|jemc|> yorickpeterse: time to spearhead a C++ API for rubinius?
<cremes> let’s make ruby run faster instead of writing more C! <harumph>
<yorickpeterse> Oh fuck no, I'm not _also_ going to write a C++ handler for this
<yorickpeterse> we just need to fix the CAPI
<yorickpeterse> I already talked with brixen about this, but I don't remember what our conclusion was other than "lets fix it"
<|jemc|> heh
<yorickpeterse> (I think that might've been the conclusion)
<Rotonen> yorickpeterse: you do know jebus is the old name of jerusalem, right? :P
<yorickpeterse> No, I use it as a pun for Jesus
<yorickpeterse> having a religious intern/soon-to-be-co-worker means I have to cut down on the religious swearing
<|jemc|> well, I wouldn't consider that a pun _or_ swearing
<yorickpeterse> though he doesn't take offence as far as I know whenever I yell "GOD DAMN IT!"
<yorickpeterse> oh just like magic Rbx is suddenly faster
<yorickpeterse> oh wait
<yorickpeterse> of course
<yorickpeterse> derp
<yorickpeterse> that's my bloody patch
<yorickpeterse> so TIL String#count is probably _really_ slow on Rbx
<yorickpeterse> https://gist.github.com/YorickPeterse/a0eb1ada00ef0d6c960c#file-stats-txt numbers for the curious (MRI, Rbx and JRuby)
<|jemc|> yorickpeterse: just about a week ago I was in here discovering the difference between Array#count and Array#size
<yorickpeterse> oddly enough JRuby performs roughly the same, I expected at least a small difference
<yorickpeterse> |jemc|: heh
<|jemc|> in the case of Array, Jruby (and MRI) optimize #count with no arguments
<|jemc|> as headius brought to my attention
<yorickpeterse> hm, we don't do that yet
<yorickpeterse> would be an easy fix I guess
<|jemc|> I made a PR for it
<yorickpeterse> oh?
<|jemc|> I think you even commented on it before it was accepted :P
<|jemc|> let me look
<yorickpeterse> haha fucking dumbass that I am
<yorickpeterse> I even commented on that one
<|jemc|> ttps://github.com/rubinius/rubinius/pull/3133
<|jemc|> yeah
<|jemc|> so sounds like the same thing might be prudent for String
<yorickpeterse> basically anything that includes Enumerable but also defines length/size
<yorickpeterse> headius: when using runtime.newFixnum in JRuby, does that automatically overflow into Bignum?
<yorickpeterse> (basically what INT2NUM() does in the CAPI)
elia has joined #rubinius
<yorickpeterse> headius: ^ any comments on the Java bits there, any better ways (perf wise) to do that?
jaffachief has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
amsi has joined #rubinius
elia has joined #rubinius
CaptainJet has joined #rubinius
postmodern has joined #rubinius
CaptainJet has quit [Client Quit]
enebo has quit [Quit: enebo]
jaffachief has quit [Quit: Computer has gone to sleep.]
<headius> yorickpeterse: looking
havenwood has quit [Remote host closed the connection]
<headius> yorickpeterse: newFixnum can only take a long, so I'm not sure what you mean
<headius> Fixnum operations will overflow as they're supposed to
carlosgaldino has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has joined #rubinius
meh`_ has joined #rubinius
meh` has quit [Ping timeout: 258 seconds]
elia has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubinius
jaffachief has joined #rubinius
elia has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]