apeiros_ changed the topic of #ruby-lang to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
asomesom has joined #ruby-lang
Pugsley_ has joined #ruby-lang
leonshalimov has quit [Ping timeout: 256 seconds]
rikkipitt has quit []
ur5us has quit [Remote host closed the connection]
ta has joined #ruby-lang
_elia has quit [Ping timeout: 245 seconds]
martinium has joined #ruby-lang
martinium has joined #ruby-lang
benanne has quit [Quit: kbai]
j0n3 has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 272 seconds]
Lewix has joined #ruby-lang
slawrenc_ has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 265 seconds]
cornerma1 is now known as cornerman
Benstr has quit [Quit: (null)]
ta has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
<Lewix> yo
<Pugsley_> o/
apeiros has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
ta has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Ping timeout: 245 seconds]
martinium has quit [Remote host closed the connection]
<bitflipping> haha aight bradland, my attention was actually brought to https://wiki.debian.org/VGAPassthrough, which I can't do but I thought was pretty interesting
<bitflipping> if you have two graphics cards, you can dedicate the hardware of the secondary to a vm, and passthrough the calls
<bitflipping> essentially giving you full graphics capabilities in a vm
ta has joined #ruby-lang
<bradland> amaze
mattyohe has joined #ruby-lang
<bradland> i do not have a second graphics card though :\
<bradland> mac
<bitflipping> word
ta has quit [Ping timeout: 276 seconds]
trajing|Mobile has joined #ruby-lang
trajing|Mobile has quit [Read error: Connection reset by peer]
trajing|Mobile has joined #ruby-lang
ta has joined #ruby-lang
trajing|Mobile has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
aconnor has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 255 seconds]
klmlfl has quit [Ping timeout: 245 seconds]
Lewix has quit [Ping timeout: 245 seconds]
stamina has joined #ruby-lang
ur5us has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
charliesome has quit [Quit: zzz]
ur5us has quit [Ping timeout: 244 seconds]
leonshalimov has joined #ruby-lang
Bwild has quit [Ping timeout: 265 seconds]
tkuchiki has joined #ruby-lang
Bwild has joined #ruby-lang
ta has joined #ruby-lang
hendranata_ has joined #ruby-lang
leonshalimov has quit [Ping timeout: 256 seconds]
ta has quit [Ping timeout: 276 seconds]
francisfish has quit [Ping timeout: 276 seconds]
ta has joined #ruby-lang
nippysaurus has joined #ruby-lang
loincloth has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
amclain has quit [Ping timeout: 245 seconds]
[H]unt3r has joined #ruby-lang
loincloth has quit [Ping timeout: 246 seconds]
amclain has joined #ruby-lang
pwelch has quit [Quit: Connection closed for inactivity]
havenwood has quit [Remote host closed the connection]
stamina has quit [Ping timeout: 255 seconds]
Sgeo has quit [Read error: Connection reset by peer]
Pugsley_ has quit [Quit: Lingo: www.lingoirc.com]
ta has joined #ruby-lang
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
<bitflipping> hoo hoo hoo, kind of funny, my glerrors disappear when running in a gldebugger
shinnya has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 244 seconds]
[H]unt3r has quit [Ping timeout: 245 seconds]
ta has joined #ruby-lang
charliesome has joined #ruby-lang
ta_ has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
cantonic has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
svajone has joined #ruby-lang
ta_ has quit [Ping timeout: 265 seconds]
ta has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
Sgeo has joined #ruby-lang
francisfish has joined #ruby-lang
pico-pete has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby-lang
rahul_j has joined #ruby-lang
[H]unt3r has joined #ruby-lang
fujimura has quit [Ping timeout: 256 seconds]
<bitflipping> bradland: actually, if you have some basic opengl functionality in your vm, I'd love another windows test, see if its isolated to my system or not
ta has quit [Ping timeout: 245 seconds]
<bitflipping> nevermind, just remembering it would take some native extensions which require libraries haha TT____TT
<bitflipping> unless you've nothing else to do and want to muddle through some installations to that extent lol
rahul_j has quit [Quit: rahul_j]
rbowlby has joined #ruby-lang
martinium has joined #ruby-lang
martinium has joined #ruby-lang
nippysaurus has left #ruby-lang [#ruby-lang]
spuk has joined #ruby-lang
martinium has quit [Ping timeout: 256 seconds]
<bitflipping> github.com/jgleesawn/euclid-2d
havenwood has joined #ruby-lang
<bitflipping> opengl-core requires you to run gen_from_xml.rb script to generate gl bindings
ta has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
ta has quit [Ping timeout: 276 seconds]
yusuf1 has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
stardiviner has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
<bitflipping> well slap me sideways, all the problems I was having were due to a faulty opengl32.dll, for some reason the one generated by apitrace works without flaws, while the one I grabbed from my Windows/System32/ folder has issues.
stardiviner has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
ta has joined #ruby-lang
Lewix has quit [Ping timeout: 245 seconds]
ur5us has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
fujimura has joined #ruby-lang
yfeldblu_ has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby-lang
rbowlby has joined #ruby-lang
ur5us has quit [Ping timeout: 245 seconds]
leonshalimov has joined #ruby-lang
svajone has quit [Quit: svajone]
leonshalimov has quit [Ping timeout: 272 seconds]
ta has joined #ruby-lang
loincloth has joined #ruby-lang
ta_ has joined #ruby-lang
trajing|Mobile has joined #ruby-lang
loincloth has quit [Ping timeout: 276 seconds]
ta has quit [Ping timeout: 272 seconds]
ta_ has quit [Ping timeout: 276 seconds]
hanachin has joined #ruby-lang
kapil__ has joined #ruby-lang
kl has quit [Ping timeout: 252 seconds]
kl has joined #ruby-lang
pragmaticivan has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
red_menace has quit [Quit: leaving...]
mattyohe has joined #ruby-lang
rbowlby has joined #ruby-lang
ta has joined #ruby-lang
ta has quit [Ping timeout: 264 seconds]
martinium has joined #ruby-lang
ta has joined #ruby-lang
martinium has quit [Ping timeout: 252 seconds]
pr0ton_ has joined #ruby-lang
djbkd has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
kl has quit [Ping timeout: 240 seconds]
asomesom has quit [Quit: Page closed]
ta has joined #ruby-lang
pepperbreath has joined #ruby-lang
ta has quit [Ping timeout: 245 seconds]
hinbody has quit [Quit: leaving]
trajing|Mobile has quit [Read error: Connection reset by peer]
[H]unt3r has quit [Quit: Leaving]
ur5us has joined #ruby-lang
simi has quit [Ping timeout: 264 seconds]
araujo has quit [Quit: Leaving]
ur5us has quit [Ping timeout: 276 seconds]
ta has joined #ruby-lang
ta_ has joined #ruby-lang
kyb3r_ has joined #ruby-lang
gix has quit [Ping timeout: 272 seconds]
ta has quit [Ping timeout: 276 seconds]
dellavg_ has joined #ruby-lang
gix has joined #ruby-lang
Sadin has joined #ruby-lang
rahul_j has joined #ruby-lang
ur5us has joined #ruby-lang
maso has joined #ruby-lang
martinium has joined #ruby-lang
martinium has quit [Changing host]
martinium has joined #ruby-lang
charliesome has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby-lang
martinbmadsen has joined #ruby-lang
ta_ has quit [Ping timeout: 276 seconds]
rahul_j has quit [Quit: rahul_j]
AKASkip has joined #ruby-lang
leonshalimov has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 1.1]
duderonomy has joined #ruby-lang
ta has joined #ruby-lang
womble has quit [Excess Flood]
womble has joined #ruby-lang
leonshalimov has quit [Ping timeout: 264 seconds]
loincloth has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
Sadin has quit []
Asher has quit [Quit: Leaving.]
loincloth has quit [Ping timeout: 244 seconds]
Asher- has joined #ruby-lang
ta has joined #ruby-lang
Sadin has joined #ruby-lang
ta has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
womble has quit [Excess Flood]
womble has joined #ruby-lang
jxie has quit [Ping timeout: 252 seconds]
ta has joined #ruby-lang
jxie has joined #ruby-lang
ta_ has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
ta has quit [Ping timeout: 265 seconds]
Iskarlar has joined #ruby-lang
ta_ has quit [Ping timeout: 276 seconds]
ta has joined #ruby-lang
sangwoojoo has quit [Read error: Connection reset by peer]
futilegames has joined #ruby-lang
sangwoojoo has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
Iskarlar_ has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
Iskarlar has quit [Ping timeout: 245 seconds]
Iskarlar_ has quit [Client Quit]
ta has joined #ruby-lang
ta has quit [Ping timeout: 245 seconds]
symm- has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
centrx has joined #ruby-lang
oleo has quit [Quit: Verlassend]
tsou has quit [Ping timeout: 276 seconds]
AKASkip has quit [Ping timeout: 265 seconds]
ottlikg has joined #ruby-lang
jxie has quit [Ping timeout: 245 seconds]
martinium has quit [Remote host closed the connection]
jxie has joined #ruby-lang
ta has joined #ruby-lang
martinium has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
Sgeo has quit [Ping timeout: 244 seconds]
spuk has quit [Ping timeout: 240 seconds]
ruby-lang021 has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
skipperguy has joined #ruby-lang
ta has joined #ruby-lang
ruby-lang021 has quit [Ping timeout: 246 seconds]
skipperguy has quit [Client Quit]
Guest56_ has joined #ruby-lang
loincloth has quit [Ping timeout: 240 seconds]
GBrawl has joined #ruby-lang
Sadin has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 265 seconds]
Sadin has joined #ruby-lang
Guest56_ is now known as skip
charliesome has quit [Ping timeout: 272 seconds]
skip has quit [Quit: Textual IRC Client: www.textualapp.com]
skipperg_ has joined #ruby-lang
skipperg_ has quit [Client Quit]
skipperg_ has joined #ruby-lang
Sgeo has joined #ruby-lang
charliesome has joined #ruby-lang
leonshalimov has joined #ruby-lang
virgocluster has joined #ruby-lang
skipperg_ has quit [Ping timeout: 244 seconds]
wallerdev has joined #ruby-lang
leonshalimov has quit [Ping timeout: 256 seconds]
maso has quit [Remote host closed the connection]
oliver_ has joined #ruby-lang
Bwild has quit [Ping timeout: 245 seconds]
apeiros__ has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
virgocluster has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
djbkd has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: zzz]
apeiros__ has quit [Remote host closed the connection]
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
symm- has quit [Ping timeout: 264 seconds]
rajeshchawla has joined #ruby-lang
TvL2386 has joined #ruby-lang
rajeshchawla has quit []
arBmind has joined #ruby-lang
booly-yam-5288 has quit [Ping timeout: 276 seconds]
ta has joined #ruby-lang
Bwild has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
ta has quit [Ping timeout: 265 seconds]
El3k0n has joined #ruby-lang
amclain has quit [Quit: Leaving]
El3k0n has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
kirin` has quit [Ping timeout: 272 seconds]
ta has joined #ruby-lang
kirin` has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
slawrenc_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kl has joined #ruby-lang
Iskarlar_ has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
Iskarlar has quit [Ping timeout: 272 seconds]
tsou has joined #ruby-lang
kl has quit [Ping timeout: 245 seconds]
Iskarlar_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AKASkip has joined #ruby-lang
loincloth has joined #ruby-lang
ta has joined #ruby-lang
loincloth has quit [Ping timeout: 245 seconds]
nofxx has quit [Ping timeout: 265 seconds]
wallerdev has quit [Quit: wallerdev]
|jemc| has quit [Ping timeout: 240 seconds]
pr0ton_ has quit [Quit: pr0ton_]
RobertBirnie has quit [Ping timeout: 264 seconds]
solars has joined #ruby-lang
francisfish has quit [Ping timeout: 245 seconds]
ta has quit [Remote host closed the connection]
nofxx has joined #ruby-lang
Iskarlar has joined #ruby-lang
booly-yam-5288 has joined #ruby-lang
ta has joined #ruby-lang
nofxx has quit [Ping timeout: 276 seconds]
ta has quit [Ping timeout: 276 seconds]
leonshalimov has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
leonshalimov has quit [Ping timeout: 265 seconds]
JohnBat26 has joined #ruby-lang
ta has joined #ruby-lang
nofxx has joined #ruby-lang
kyb3r_ has quit [Quit: Leaving]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta has quit [Ping timeout: 244 seconds]
ta has joined #ruby-lang
benten has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
ta has joined #ruby-lang
jxie has quit [Quit: Lost terminal]
simi has joined #ruby-lang
apeiros has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
elia has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
oliver_ has quit []
ta has quit [Read error: Connection reset by peer]
ta has joined #ruby-lang
francisfish has joined #ruby-lang
<ljarvis> moin
Iskarlar has joined #ruby-lang
<yorickpeterse> morning
jxie has joined #ruby-lang
hanjin has joined #ruby-lang
arBmind has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gregf_ has joined #ruby-lang
gwendall has joined #ruby-lang
banister has joined #ruby-lang
kadwill has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
loincloth has joined #ruby-lang
skade has joined #ruby-lang
loincloth has quit [Ping timeout: 246 seconds]
benlovell has joined #ruby-lang
Xzanron has joined #ruby-lang
dfranciosi has joined #ruby-lang
kadwill has quit [Ping timeout: 245 seconds]
ta_ has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
ta_ has quit [Ping timeout: 276 seconds]
martinbmadsen has quit [Ping timeout: 276 seconds]
j4cknewt has quit [Ping timeout: 245 seconds]
kl___ has joined #ruby-lang
hendranata_ has quit [Ping timeout: 276 seconds]
fujimura_ has joined #ruby-lang
fujimura has quit [Read error: Connection reset by peer]
banister has quit [Read error: Connection reset by peer]
fujimura has joined #ruby-lang
fujimura_ has quit [Read error: Connection reset by peer]
gwendall has joined #ruby-lang
<yorickpeterse> Ah yes, the best part of the day: I get to spend my boss' money
patchy has joined #ruby-lang
kadwill has joined #ruby-lang
workmad3 has joined #ruby-lang
<patchy> hey, I was wondering if there's a way to execute a single command using 'exec' that doesn't expand the system shell? I know exec can take two arguments and then doesn't expand the shell, but what if I just have a single command with no arguments?
leonshalimov has joined #ruby-lang
benten has quit [Quit: .....]
kl___ has quit [Ping timeout: 265 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
leonshalimov has quit [Ping timeout: 252 seconds]
kadwill_ has joined #ruby-lang
kadwill_ has quit [Remote host closed the connection]
kadwill has quit [Ping timeout: 272 seconds]
sangwoojoo has quit [Ping timeout: 264 seconds]
El3k0n has joined #ruby-lang
ta_ has joined #ruby-lang
hanachin has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
kl__ has joined #ruby-lang
otertore has quit [Read error: Connection reset by peer]
otertore has joined #ruby-lang
Iskarlar has quit [Client Quit]
rahul_j has joined #ruby-lang
ta has quit [Ping timeout: 245 seconds]
<ljarvis> patchy: what's your command?
ta_ has quit [Ping timeout: 272 seconds]
gwendall has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
ta has joined #ruby-lang
<tobiasvl> patchy: try '' as second parameter? I dunno
fujimura has quit [Remote host closed the connection]
Integralist has joined #ruby-lang
<patchy> ljarvis: exec "echo\ $SHELL", *[] , exec "echo\ $SHELL", nil and exec "echo\ $SHELL", "" all don't work and expand the shell
<patchy> tobiasvl: doesn't work :c
ldnunes has joined #ruby-lang
simi has quit [Ping timeout: 255 seconds]
<patchy> tobiasvl: ljarvis: and as you can see here http://pastebin.com/1mG5MLFG calling exec with a nil string as a second argument just causes it to be passed to the program, when /bin/ls called alone should list the current directory
fusillicode has quit [Quit: Leaving.]
fusillicode has joined #ruby-lang
stamina has joined #ruby-lang
<martinium> patchy: shouldn't it be "/bin/bash ls"
<martinium> otherwise how would it know what shell is supposed to execute the ls command
<patchy> martinium: Arch has an ls binary in /bin, probably other systems differ but I'm writing a whole set of coreutils so it's not a concern.
<martinium> ah ok gotcha
charliesome has joined #ruby-lang
<patchy> I think using an empty splat with exec works. My reasoning being that exec "/bin/cat", *[] causes it to read from stdin and not try cat a file called ""
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
<patchy> although actually no, as that seems to just call bash for cat :T
<patchy> exec "echo $SHELL", *[] gives me "/bin/bash"
<patchy> it's quite a predicament
<ljarvis> patchy: what do you want?
<waxjar> patchy: exec(["echo", "$SHELL"]) ?
<patchy> ljarvis: to be able to execute single word commands (e.g. "ls") without shell expansion, like, for instance exec "ls", "/"
marr has joined #ruby-lang
banister has joined #ruby-lang
<patchy> waxjar: that's fine for commands with arguments, but what if you just wanted to call "echo" with no shell expansion?
<waxjar> make the second element in the array an empty string
<waxjar> from the documentation: exec([cmdname, argv0], arg1, ...) command name, argv and zero or more arguments (no shell)
ta has quit [Ping timeout: 256 seconds]
<patchy> waxjar: that does actually seem to work, thanks!
ta has joined #ruby-lang
<waxjar> it's a very odd method signature. wonder why they didnt go with an options Hash or something
<patchy> fantastic, ta very much
<patchy> I'd rather they have just implemented the exec* line of functions from C
<patchy> I was going to FFI them as a backup plan
<patchy> see I'm writing a system shell and set of core utilities for a primarily Ruby operating system
<waxjar> a ruby OS? o.O
El3k0n has quit [Remote host closed the connection]
skade has joined #ruby-lang
<patchy> well, kernel will be C++11 with a C library, I'll then run mruby with a few libraries atop that, I'll probably either fork mruby and add real hardware threading or try and adapt rubinius and llvm to serve as a client/server model JIT VM
<patchy> ambitious project, I know
<patchy> I'll draw the line at a basic userland though
simi has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
ta_ has joined #ruby-lang
<waxjar> ooh, that sounds cool
knu has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
<patchy> there've been successful attempts to get mruby running bare metal, so I know it's absolutely possible
<whitequark> what's the point tho
<patchy> hobby and a learning experience
<patchy> it'll be slow and suck, but proof of concept
<patchy> I've done OS dev in C++11 before, gave up due to boredom previously, I reckon this'll be more challenging and thus more incentive to keep working on it
frzng has joined #ruby-lang
ta_ has quit [Ping timeout: 276 seconds]
jxie has quit [Ping timeout: 265 seconds]
martinium has quit [Remote host closed the connection]
jxie has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
loincloth has joined #ruby-lang
arBmind has joined #ruby-lang
fusillicode has quit [Quit: Leaving.]
loincloth has quit [Ping timeout: 252 seconds]
fusillicode has joined #ruby-lang
dfrancio_ has joined #ruby-lang
patchy has left #ruby-lang [#ruby-lang]
kadwill has joined #ruby-lang
dfranciosi has quit [Ping timeout: 245 seconds]
kadwill has quit [Read error: Connection reset by peer]
kadwill has joined #ruby-lang
gwendall has joined #ruby-lang
GBrawl has quit [Quit: (null)]
kadwill has quit [Read error: Connection reset by peer]
kadwill has joined #ruby-lang
zz_dlu has quit [Ping timeout: 245 seconds]
cantonic has quit [Quit: cantonic]
arBmind has quit [Quit: Leaving.]
tsou has quit [Ping timeout: 245 seconds]
GaelanAintAround has quit [Ping timeout: 245 seconds]
ta_ has joined #ruby-lang
gwendall has quit [Ping timeout: 276 seconds]
kadwill has quit [Ping timeout: 245 seconds]
ta_ has quit [Ping timeout: 276 seconds]
fujimura_ has joined #ruby-lang
arBmind has joined #ruby-lang
fujimura_ has quit [Ping timeout: 264 seconds]
martinbmadsen has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
ta_ has joined #ruby-lang
djellemah has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
martinbmadsen has quit [Ping timeout: 276 seconds]
leonshalimov has joined #ruby-lang
postmodern has quit [Quit: Leaving]
skade has quit [Remote host closed the connection]
migbar has joined #ruby-lang
tkuchiki has quit [Ping timeout: 276 seconds]
kl__ has quit [Ping timeout: 255 seconds]
<Integralist> Does anyone know if there is a way to use introspection/reflection or general meta programming to find the arguments defined as a method signature?
leonshalimov has quit [Ping timeout: 240 seconds]
<Integralist> e.g. if I have a class Foo with a method bar(a, b, c) then its method signature would be a, b, c
<Integralist> Just wondering how I could determine that from outside of the class
kl___ has joined #ruby-lang
territorial has joined #ruby-lang
<djellemah> Integralist, Foo.new.method(:bar).parameters
<Integralist> djellemah: I was hoping to avoid the overhead of creating an instance of the class
<djellemah> Integralist, Foo.instance_method(:bar).parameters then
nofxx has quit [Ping timeout: 256 seconds]
<Integralist> djellemah: aha, ok I thought I tried that before and it didn't work (but trying it again now it obviously does) many thanks!
skade has joined #ruby-lang
<djellemah> Integralist: this is in 2.1.5. I'm not sure about earlier versions. Have fun ;-)
skade has quit [Remote host closed the connection]
skade has joined #ruby-lang
skade has quit [Remote host closed the connection]
yusuf1 has quit [Quit: Leaving.]
skade has joined #ruby-lang
Integralist has quit [Quit: leaving]
chills42 has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
matp has joined #ruby-lang
Bwild has quit [Remote host closed the connection]
dfrancio_ has quit [Remote host closed the connection]
cantonic has joined #ruby-lang
El3k0n has joined #ruby-lang
gwendall has joined #ruby-lang
ta__ has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
skade has quit [Remote host closed the connection]
El3k0n has quit [Remote host closed the connection]
skade has joined #ruby-lang
tkuchiki has joined #ruby-lang
nofxx has quit [Ping timeout: 276 seconds]
simi has quit [Ping timeout: 245 seconds]
simi has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 276 seconds]
lguardiola has joined #ruby-lang
cornerma1 is now known as cornerman
ur5us has joined #ruby-lang
iamninja has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
fujimura has joined #ruby-lang
ur5us has quit [Ping timeout: 246 seconds]
fujimura has quit [Remote host closed the connection]
martinium has joined #ruby-lang
martinium has quit [Changing host]
martinium has joined #ruby-lang
loincloth has joined #ruby-lang
martinium has quit [Ping timeout: 245 seconds]
nomadicoder has quit []
tomkad has joined #ruby-lang
kl___ has quit [Ping timeout: 264 seconds]
tomkad is now known as kadwill
elia has quit [Remote host closed the connection]
loincloth has quit [Ping timeout: 265 seconds]
kadwill has quit [Client Quit]
kadwill has joined #ruby-lang
elia has joined #ruby-lang
territorial has quit [Remote host closed the connection]
kadwill has quit [Remote host closed the connection]
[spoiler] has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
kadwill has joined #ruby-lang
fusillicode has quit [Quit: Leaving.]
fusillicode has joined #ruby-lang
pragmaticivan has quit [Remote host closed the connection]
shazaum has joined #ruby-lang
shazaum has quit [Changing host]
shazaum has joined #ruby-lang
ta_ has quit [Ping timeout: 276 seconds]
ta has joined #ruby-lang
dfranciosi has joined #ruby-lang
j4cknewt has joined #ruby-lang
<[spoiler]> sigh, I forgot my glasses, everything looks like there's a bokeh effect
j4cknewt has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: zzz]
kadwill_ has joined #ruby-lang
hinbody has joined #ruby-lang
kadwill_ has quit [Remote host closed the connection]
dfranciosi has quit []
ta has quit [Ping timeout: 245 seconds]
ta has joined #ruby-lang
jxie has quit [Ping timeout: 245 seconds]
leonshalimov has joined #ruby-lang
elia has quit [Ping timeout: 264 seconds]
elia has joined #ruby-lang
jxie has joined #ruby-lang
leonshalimov has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby-lang
<[spoiler]> also, ever since we got these forsaken glass walls the sunlight somehow manages to bounce off every wall and stab me in the left eye, it's annoying as fuck; especially without glasses
chouhoulis has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
kl___ has joined #ruby-lang
djbkd has quit [Ping timeout: 255 seconds]
martinium has joined #ruby-lang
<workmad3> [spoiler]: sounds like the office from hell :P
<[spoiler]> workmad3, it's alright excpet around this time of year lmao
<[spoiler]> the sun thing only happens in late jan and early feb
AKASkip has quit [Ping timeout: 246 seconds]
ta has quit [Read error: No route to host]
cantonic has quit [Read error: Connection reset by peer]
leonshalimov has joined #ruby-lang
cantonic has joined #ruby-lang
mattyohe has joined #ruby-lang
martinium has quit [Ping timeout: 272 seconds]
ta has joined #ruby-lang
Kero has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
kl___ has quit [Ping timeout: 244 seconds]
<ljarvis> where do you live to have sun during those months?
ta__ has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
kl__ has joined #ruby-lang
rahul_j has quit [Client Quit]
skade has joined #ruby-lang
<[spoiler]> Croatia
<[spoiler]> hahahaaWe always have sin, too much sun
arBmind has quit [Quit: Leaving.]
klmlfl has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
loincloth has joined #ruby-lang
yxhuvud has joined #ruby-lang
arBmind has joined #ruby-lang
shinnya has joined #ruby-lang
loincloth has quit [Ping timeout: 245 seconds]
oleo has joined #ruby-lang
setanta_ has joined #ruby-lang
rahul_j has joined #ruby-lang
ur5us has joined #ruby-lang
kadwill_ has joined #ruby-lang
gwendall has joined #ruby-lang
<ljarvis> ah, croatia is wonderful
rahul_j has quit [Client Quit]
ur5us has quit [Ping timeout: 252 seconds]
kadwill_ has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
chills42 has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
arBmind has joined #ruby-lang
chills42 has joined #ruby-lang
loincloth has joined #ruby-lang
ta has quit [Read error: No route to host]
arBmind has quit [Quit: Leaving.]
slawrence00 has joined #ruby-lang
ta has joined #ruby-lang
ottlikg has quit [Ping timeout: 264 seconds]
kl__ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
kl__ has joined #ruby-lang
enebo has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
ta has quit [Ping timeout: 246 seconds]
ur5us has joined #ruby-lang
j4cknewt has quit [Ping timeout: 245 seconds]
ta has joined #ruby-lang
ur5us has quit [Ping timeout: 256 seconds]
Xzanron has quit [Read error: Connection reset by peer]
martinium has joined #ruby-lang
martinium has joined #ruby-lang
ottlikg has joined #ruby-lang
martinium has quit [Ping timeout: 255 seconds]
j4cknewt has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
skipperguy12 has joined #ruby-lang
skipperguy12 has left #ruby-lang [#ruby-lang]
skipperguy12 has joined #ruby-lang
ledestin has quit [Quit: ledestin]
chills42 has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby-lang
tenderlove has joined #ruby-lang
jxie has quit [Ping timeout: 245 seconds]
wprice has joined #ruby-lang
jxie has joined #ruby-lang
martinbmadsen has joined #ruby-lang
chouhoul_ has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
Pugsley_ has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
shazaum_ has joined #ruby-lang
martinbmadsen has quit [Ping timeout: 276 seconds]
arBmind has joined #ruby-lang
shazaum has quit [Ping timeout: 265 seconds]
DivineEntity has quit [Quit: Lost terminal]
rahul_j has quit [Quit: rahul_j]
arBmind has quit [Quit: Leaving.]
migbar has quit [Remote host closed the connection]
migbar has joined #ruby-lang
havenwood has joined #ruby-lang
rahul_j has joined #ruby-lang
migbar has quit [Ping timeout: 272 seconds]
rahul_j has quit [Client Quit]
booly-yam-5288 has quit [Ping timeout: 255 seconds]
kadwill has quit [Remote host closed the connection]
greenarrow has joined #ruby-lang
kadwill has joined #ruby-lang
<ljarvis> yorickpeterse: what's wrong with pg's permission/role system? it's nice
<ljarvis> well, it's ok
rahul_j has joined #ruby-lang
<yorickpeterse> It's fucking messed up
kl__ has quit [Ping timeout: 265 seconds]
<yorickpeterse> I wanted a group with users in it
<yorickpeterse> I wanted all users to have access to whatever shit the others create
<yorickpeterse> Few hours in I find out I have to run my permissions for every member of the group
<yorickpeterse> because lol Pg
ta has joined #ruby-lang
kl__ has joined #ruby-lang
kapil__ has quit [Quit: Connection closed for inactivity]
rahul_j has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
<ljarvis> yorickpeterse: right, you assign attributes to a role and then associate roles with other roles
kadwill has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby-lang
<yorickpeterse> I just wanted a fucking group of users with write access
iamninja has quit [Quit: ZZZzzz…]
arBmind has joined #ruby-lang
<yorickpeterse> MySQL is dumb as hell, but Pg is the other end of the spectrum
<ljarvis> roles are both users and groups (groups because roles can be associated with roles). So you create a role with write access and then associate it with your other roles
<ljarvis> Role.
ta has quit [Ping timeout: 276 seconds]
greenarrow has quit [Quit: 500]
kl__ has quit [Read error: Connection reset by peer]
kl__ has joined #ruby-lang
<yorickpeterse> I was hoping roles would inherit this stuff from whatever roles they belong to
<yorickpeterse> but ugh
<yorickpeterse> now I have to run my alter statements 14 darn times
<yorickpeterse> (for every role)
<yorickpeterse> YAY
djbkd has quit [Ping timeout: 245 seconds]
ascarter has joined #ruby-lang
Miphix has joined #ruby-lang
|jemc| has joined #ruby-lang
wallerdev has joined #ruby-lang
slawrence00 has joined #ruby-lang
kadwill has joined #ruby-lang
kadwill has quit [Remote host closed the connection]
kadwill has joined #ruby-lang
migbar has joined #ruby-lang
konr has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
kadwill_ has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
DivineEntity has joined #ruby-lang
arBmind has quit [Ping timeout: 265 seconds]
fujimura_ has joined #ruby-lang
arBmind has joined #ruby-lang
arBmind has quit [Client Quit]
kadwill has quit [Remote host closed the connection]
kadwill has joined #ruby-lang
kadwill_ has quit [Remote host closed the connection]
kadwill_ has joined #ruby-lang
roadt has joined #ruby-lang
kadwill has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby-lang
arBmind has joined #ruby-lang
SuMo_D has joined #ruby-lang
frzng has quit [Quit: frzng]
arBmind has quit [Ping timeout: 276 seconds]
booly-yam-5288 has joined #ruby-lang
<yorickpeterse> oh hey, our Mongo DB actually has quite a bunch of duplicate data
<yorickpeterse> something about indexes and schemas
<yorickpeterse> unique constraint? what's that?
ledestin has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
jgpawletko has joined #ruby-lang
brooks has joined #ruby-lang
skade has joined #ruby-lang
arBmind has joined #ruby-lang
martinium has joined #ruby-lang
martinium has joined #ruby-lang
AKASkip has joined #ruby-lang
diegoviola has quit [Ping timeout: 252 seconds]
jgpawletko has quit [Quit: jgpawletko]
martinium has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
michaeldeol has quit [Client Quit]
francisfish has joined #ruby-lang
RobertBirnie has joined #ruby-lang
brooks has quit [Quit: brooks]
<wiggl3> Anybody know why I'm getting this Ruby 2.2.0 build error? https://gist.github.com/dt1973/974e96ce2d5ec2b95af5 -- Wrong mix of special targets (Makefile:370)
ta has joined #ruby-lang
jgpawletko has joined #ruby-lang
<wiggl3> It's a problem with Ruby, right? Not ruby-install?
michaeldeol has joined #ruby-lang
francisfish has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 276 seconds]
SuMo_D has quit [Quit: Off into this... Real world place...]
ta has joined #ruby-lang
elia has quit [Ping timeout: 252 seconds]
kadwill_ has quit [Remote host closed the connection]
slawrenc_ has joined #ruby-lang
[H]unt3r has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 1.0.1]
kadwill has joined #ruby-lang
|jemc| has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
kadwill has quit [Ping timeout: 240 seconds]
ta has quit [Ping timeout: 276 seconds]
gwendall has joined #ruby-lang
symm- has joined #ruby-lang
apeiros has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<havenwood> wiggl3: On first look it seems like an OpenBSD issue with Ruby not ruby-install.
gwendall has quit [Remote host closed the connection]
<wiggl3> True I was thinking the same
centrx has joined #ruby-lang
martinbmadsen has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 240 seconds]
<bitflipping> yorickpeterse: The UNIQUE constraint uniquely identifies each record in a database table. The UNIQUE and PRIMARY KEY constraints both provide a guarantee for uniqueness for a column or set of columns. A PRIMARY KEY constraint automatically has a UNIQUE constraint defined on it. Note that you can have many UNIQUE constraints per table, but only one PRIMARY KEY constraint per table.
Lewix has joined #ruby-lang
<bitflipping> quote unquote
<ljarvis> ..
pricees has joined #ruby-lang
martinbmadsen has quit [Ping timeout: 244 seconds]
diegoviola has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 1.0.1]
amsi has joined #ruby-lang
gix has quit [Ping timeout: 240 seconds]
ta has joined #ruby-lang
rahul_j_ has joined #ruby-lang
|jemc| has joined #ruby-lang
rahul_j has quit [Ping timeout: 255 seconds]
rahul_j_ is now known as rahul_j
gix has joined #ruby-lang
<centrx> Thanks for the info
ta has quit [Ping timeout: 276 seconds]
loincloth has joined #ruby-lang
ddd has joined #ruby-lang
svajone has joined #ruby-lang
GBrawl has joined #ruby-lang
loincloth has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
hahuang61 has quit [Ping timeout: 276 seconds]
skipperguy12 has quit [Ping timeout: 244 seconds]
kyb3r_ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
ta has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 1.1]
ta has quit [Ping timeout: 240 seconds]
martinium has joined #ruby-lang
martinium has joined #ruby-lang
stamina has quit [Quit: WeeChat 1.1]
ta has joined #ruby-lang
Lewix has quit [Read error: Connection reset by peer]
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
dzejrou has joined #ruby-lang
martinium has quit [Remote host closed the connection]
martinium has joined #ruby-lang
martinium has quit [Changing host]
martinium has joined #ruby-lang
ottlikg has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
kl__ has quit [Ping timeout: 264 seconds]
fujimura_ has quit [Remote host closed the connection]
kl has joined #ruby-lang
tenderlove has quit [Quit: Leaving...]
tenderlove has joined #ruby-lang
pr0ton_ has joined #ruby-lang
vozcelik has joined #ruby-lang
<yorickpeterse> bitflipping: you don't say
havenwood has joined #ruby-lang
pr0ton_ has quit [Client Quit]
solars has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
GBrawl has quit [Ping timeout: 276 seconds]
rahul_j has quit [Quit: rahul_j]
<bitflipping> yorickpeterse: oh lol, didn't catch the intonation haha
<yorickpeterse> I was talking about Mongo not having a unique constraint (that I know of)
<bitflipping> oh okay
hahuang61 has joined #ruby-lang
kl has quit [Ping timeout: 264 seconds]
<bitflipping> I've not used it, and almost didn't repond because it was the first result on google, but then figured, well if he doesn't know what it is. . . . hahaha TT____TT
kalopsian has joined #ruby-lang
j0n3 has joined #ruby-lang
<[spoiler]> yorickpeterse, you made bitflipping cry. Tsk, you should work on your people skills, yorickpeterse.
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<bitflipping> haha, I've probably been using too strong of an emoticon to express my dismay, but I know so few of them [spoiler]
<[spoiler]> bitflipping, he should still work on his people skills :P
<yorickpeterse> I don't like people
* yorickpeterse shakes cane
wallerdev has joined #ruby-lang
<bitflipping> haha
<[spoiler]> I'm kidding. we like you, with your misanthrope charm and everything :P
Sadin has joined #ruby-lang
<yorickpeterse> I can smell the sarcasm over here
<[spoiler]> LOL
<[spoiler]> <3
nomadicoder has joined #ruby-lang
dik_dak has joined #ruby-lang
<apeiros> #yorickpeterseslawn
<yorickpeterse> I'm glad I don't have neighbours above me
zz_dlu has joined #ruby-lang
<yorickpeterse> I literally would bang the ceiling every time they'd walk around
<yorickpeterse> In my previous place we had a family with a kid living above me
GaelanAintAround has joined #ruby-lang
<apeiros> I don't hear a sound of my neighbors. good insulation.
<yorickpeterse> Average evening sound: "BONK BONK BONk BOnk Bonk bonk....BONK BONK BONK"
pr0ton_ has joined #ruby-lang
loincloth has joined #ruby-lang
pipework has joined #ruby-lang
pipework has joined #ruby-lang
banister has quit [Read error: Connection reset by peer]
kyb3r_ has quit [Quit: Leaving]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
martinium has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
martinium has joined #ruby-lang
martinium has quit [Changing host]
martinium has joined #ruby-lang
loincloth has quit [Ping timeout: 265 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby-lang
djbkd has joined #ruby-lang
diegoviola has quit [Client Quit]
pr0ton_ has quit [Quit: pr0ton_]
GBrawl has joined #ruby-lang
djbkd has quit [Ping timeout: 272 seconds]
banister has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
leonshalimov has quit [Ping timeout: 265 seconds]
pricees has quit [Ping timeout: 245 seconds]
kadwill has joined #ruby-lang
Fooster has joined #ruby-lang
<Fooster> hi, anyone help with a Rakefile for building a gem?
pr0ton_ has joined #ruby-lang
ledestin has quit [Quit: ledestin]
[H]unt3r has quit [Quit: Leaving]
booly-yam-5288 has quit [Ping timeout: 245 seconds]
chills42 has quit [Remote host closed the connection]
kadwill has quit [Ping timeout: 276 seconds]
booly-yam-5288 has joined #ruby-lang
solars has joined #ruby-lang
migbar has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
<ericwood> don't ask to ask, just ask!
slawrenc_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
billy_ran_away has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
<[spoiler]> Fooster, bundler might help you if you want to: http://bundler.io/v1.7/bundle_gem.html :P
<Fooster> basiclaly the gem install doens't seem to run my rakefile
<Fooster> it does something else..
<Fooster> no idea what frankly
<[spoiler]> Lmao
<Fooster> i mean it compiles the native parts of the extension
<Fooster> and puts it in lib/blah/blah.bundle
<[spoiler]> Can we see some code, what you run and the output?
chills42 has joined #ruby-lang
<Fooster> thats the gem spec
<Fooster> That is the rakefile
<Fooster> I go gem build ice.gemspec and then sudo gem install ice-3.6b.gem
<Fooster> that compiels the native stuff but I don't think it runs the rakefile. the native extension is placed in lib/IceRuby/IceRuby.bundle, not lib/IceRuby.bundle
pr0ton_ has quit [Quit: pr0ton_]
<Fooster> I'm attemping to follow that guide
spuk has joined #ruby-lang
<jhass> where does it say it would run any task of the Rakefile during gem install?
<jhass> just ship a wrapper rb that requires the properly namespaced extension ;)
<Fooster> I want the extension put in lib/IceRuby.bundle
<Fooster> the native part
<Fooster> thats it
<jhass> why?
<Fooster> because?
<Fooster> I don't get the purpose fo this page at all in the doc hten
<Fooster> it is to do with gems and extensions
<jhass> why do you want it in lib/ice_ruby.bundle instead of lib/ice_ruby/ice_ruby.bundle?
<Fooster> because that is how the extension is layed out obviously
martinbmadsen has joined #ruby-lang
<jhass> echo "require 'ice_ruby/ice_ruby'" > lib/ice_ruby.rb
<jhass> done
<Fooster> ffi_c seems to put its bundle in the lib directory directly.
pr0ton_ has joined #ruby-lang
<jhass> then check how they do it
<jhass> hint: do not look into the Rakefile
<Fooster> you don't think I've been trying to do that? ;)
<jhass> with ffi_c you mean just the ffi gem?
<Fooster> yes
brooks has joined #ruby-lang
stamina has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
martinbmadsen has quit [Ping timeout: 245 seconds]
<Fooster> ok, after the extension is compiled, make install is used to install it (duh). looks liek that is the right place to look for the magic
ascarter has joined #ruby-lang
kl__ has joined #ruby-lang
elia has joined #ruby-lang
lguardiola has quit [Quit: ZNC - http://znc.in]
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
lguardiola has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
pr0ton_ has quit [Quit: pr0ton_]
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
ascarter has quit [Max SendQ exceeded]
[H]unt3r has joined #ruby-lang
elia has joined #ruby-lang
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
ascarter has joined #ruby-lang
loincloth has joined #ruby-lang
twe4ked has quit [Ping timeout: 245 seconds]
[H]unt3r has quit [Read error: No route to host]
loincloth has quit [Ping timeout: 255 seconds]
ta has quit [Ping timeout: 256 seconds]
JohnBat26 has joined #ruby-lang
leonshalimov has joined #ruby-lang
stardiviner has quit [Ping timeout: 264 seconds]
kadwill has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
JohnBat26 has quit [Client Quit]
JohnBat26 has joined #ruby-lang
shazaum_ has quit [Quit: This computer has gone to sleep]
elia has joined #ruby-lang
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
arBmind has quit [Ping timeout: 245 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ldnunes has quit [Quit: Leaving]
francisfish has joined #ruby-lang
booly-yam-5288 has quit [Remote host closed the connection]
ta has joined #ruby-lang
stardiviner has joined #ruby-lang
chouhoul_ has quit [Ping timeout: 264 seconds]
dik_dak has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby-lang
futilegames has quit [Quit: futilegames]
pr0ton_ has joined #ruby-lang
pr0ton_ has quit [Client Quit]
ta has quit [Remote host closed the connection]
simi has quit [Ping timeout: 276 seconds]
hanjin has quit [Quit: Http://www.ZeroIRC.NET ¢Æ Zero IRC ¢Æ Ver 2.9G]
ta has joined #ruby-lang
booly-yam-8846 has joined #ruby-lang
migbar has joined #ruby-lang
kl__ has quit [Ping timeout: 240 seconds]
iamninja has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
kl has joined #ruby-lang
timanema has quit [Quit: leaving]
timanema has joined #ruby-lang
ascarter has joined #ruby-lang
kalopsian has quit [Quit: Lost terminal]
iamninja has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
djbkd has joined #ruby-lang
<yorickpeterse> lol Ruby: one benchmark run Racc is 1,29x slower than some code I wrote, the other run it's 1,93x slower
<yorickpeterse> also ugh, calling a block in C and handling the yielded values is a PITA
iamninja has joined #ruby-lang
timanema has quit [Client Quit]
twe4ked has joined #ruby-lang
timanema has joined #ruby-lang
stamina has quit [Ping timeout: 276 seconds]
twe4ked has quit [Ping timeout: 245 seconds]
loincloth has joined #ruby-lang
sangwoojoo has joined #ruby-lang
<yorickpeterse> headius: Does JRuby have an equivalent of rb_block_call()?
araujo has joined #ruby-lang
araujo has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
pricees has joined #ruby-lang
cantonic has quit [Quit: cantonic]
Fooster has left #ruby-lang [#ruby-lang]
<Senjai> yorickpeterse: What are you building?
<yorickpeterse> I have a method in Rubby land that yields a block
<yorickpeterse> I need to call said method from C, and eventually from JRuby
loincloth has quit [Ping timeout: 245 seconds]
<yorickpeterse> and the C version appears to be really fucked up to use
<yorickpeterse> e.g. my C function needs some extra arguments, but I'm not even sure if that's possible
<Senjai> Ah, I havent ventured into C extension land.
<Senjai> But I'd be curious to know the answer anyway
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
klmlfl has quit [Remote host closed the connection]
kadwill_ has joined #ruby-lang
michaeldeol has joined #ruby-lang
brooks has quit [Read error: Connection reset by peer]
[spoiler] has quit [Quit: Leaving]
brooks has joined #ruby-lang
dik_dak has joined #ruby-lang
skade has joined #ruby-lang
kadwill_ has quit [Ping timeout: 272 seconds]
konr has quit [Quit: Connection closed for inactivity]
<yorickpeterse> also who the heck decided to have Enumerator#next raise StopIteration
<yorickpeterse> because yay exceptions for flow control
klmlfl has joined #ruby-lang
timanema has quit [Quit: leaving]
nofxx has quit [Ping timeout: 244 seconds]
Forgetful_Lion has joined #ruby-lang
duderonomy has joined #ruby-lang
duderonomy has quit [Max SendQ exceeded]
<Senjai> Thats how it is everywhere
duderonomy has joined #ruby-lang
<yorickpeterse> Doesn't mean it's not stupid
<yorickpeterse> granted this is only a problem when you call Enumerable#next directly
<Senjai> I think its appropriate
<Senjai> Your telling something to do something, when it cant
melter has quit [Ping timeout: 244 seconds]
<Senjai> That's exceptional behavior
<Senjai> #each handles this internally
<bnagy> it's stupid if you don't provide a #next? / #done?
<Senjai> bnagy: I would agree with that.
<bnagy> which, last time I looked, they don't
kadwill_ has joined #ruby-lang
<Senjai> Enumerator#size doesnt decrement either
<Senjai> so there is no clean way to check if you can continue enumerating
<bnagy> so you never used to be able to write sane generator code with 'external iterators' or whatever they call them
<bnagy> which is a bit dumb imho
kadwill has quit [Remote host closed the connection]
fusillicode has quit [Quit: Leaving.]
<yorickpeterse> this leads to the following wonderful code:
<yorickpeterse> def foo; @enum.next rescue nil; end
<yorickpeterse> (basically)
<yorickpeterse> \0/ Ruby
<bnagy> yup
rikkipitt has joined #ruby-lang
<bnagy> instead of frob(gen.next) until gen.done?
stamina has joined #ruby-lang
<Senjai> Yeah, I dont disagree
<bnagy> I mean I kind of know why they did it, it's just clunky from the user end
<Senjai> I've rarely had to use enumerators manually, so it hasnt had the opportunity to irk me
<Senjai> bnagy: Other languages allows you to determine if an enumerator can move forward or not as well..
ottlikg has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
nofxx has joined #ruby-lang
kadwill_ has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kadwill has joined #ruby-lang
kl has quit [Ping timeout: 264 seconds]
__butch__ has joined #ruby-lang
melter has joined #ruby-lang
brooks has quit [Quit: brooks]
kadwill_ has joined #ruby-lang
ottlikg has quit [Ping timeout: 256 seconds]
spuk has quit [Ping timeout: 276 seconds]
kadwill has quit [Ping timeout: 256 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
rbowlby has quit [Remote host closed the connection]
spuk has joined #ruby-lang
jgpawletko has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ottlikg has joined #ruby-lang
GBrawl has quit [Quit: (null)]
rikkipitt has quit []
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
hakunin has joined #ruby-lang
GBrawl has joined #ruby-lang
__butch__ has quit [Ping timeout: 245 seconds]
vondruch__ has quit [Ping timeout: 240 seconds]
ottlikg has quit [Ping timeout: 246 seconds]
kl has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
vondruch__ has joined #ruby-lang
svajone has quit [Quit: svajone]
oleo__ has joined #ruby-lang
oleo is now known as Guest17124
__butch__ has joined #ruby-lang
rock has joined #ruby-lang
Guest17124 has quit [Ping timeout: 255 seconds]
<rock> helo
dellavg_ has quit [Ping timeout: 264 seconds]
hinbody has quit [Quit: leaving]
AKASkip has quit [Ping timeout: 272 seconds]
havenn has joined #ruby-lang
havenwood has quit [Ping timeout: 250 seconds]
<eristic> I'm encountering some behavior in bsearch that I do not understand
<eristic> Why would it be returning 0 with a that actor.distance == 0 block?
<womble> "IRCCloud pastebins require JavaScript to be displayed" -- seriously? It's a chunk of text, FFS...
<eristic> or rather, why is it returning nil for that block?
<Senjai> eristic: Just use gist
<eristic> will do
cantonic has joined #ruby-lang
<Senjai> I personally never view pastes on any other site :P
cantonic has quit [Client Quit]
GBrawl has quit [Ping timeout: 276 seconds]
<Senjai> eristic: I'm going to go out on a limb, not totally knowing what I'm talking about
<Senjai> eristic: For binary searches, arent you only supposed to have "two" possible paths?
<Senjai> you have 3 in your top level array
<womble> eristic: Your comparator is wrong.
<womble> eristic: "the block returns true for any element whose index is greater than or equal to i"
roadt has quit [Ping timeout: 245 seconds]
<womble> You're only returning true for the element whose index *is* i
dzejrou has quit [Remote host closed the connection]
<eristic> okay, so it sounds like this is just the wrong method to use here
timanema has joined #ruby-lang
<eristic> if I'm understanding you correctly
<eristic> okay, I appreciate the help!
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ta has quit [Remote host closed the connection]
kadwill_ has quit [Remote host closed the connection]
rbowlby has joined #ruby-lang
ta has joined #ruby-lang
<womble> eristic: On a three-element array, yeah, bsearch ain't the right option.
<eristic> outside of tests, it's going to be a much, much larger array
<eristic> but there's still going to be just one element that matches the description
<womble> I'd be looking to stuff it all into a hash... large arrays are costly to sort
fclausen has joined #ruby-lang
frzng has joined #ruby-lang
Sadin has quit []
<eristic> that's a thought
cantonic has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
twe4ked has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
r0bby_ has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
r0bby_ has quit [Changing host]
r0bby_ has joined #ruby-lang
cantonic has quit [Quit: cantonic]
martinbmadsen has joined #ruby-lang
migbar has quit []
djbkd has joined #ruby-lang
martinbmadsen has quit [Ping timeout: 256 seconds]
nofxx has quit [Ping timeout: 265 seconds]
Bwild has joined #ruby-lang
djbkd has quit [Ping timeout: 265 seconds]
yzxy321 has joined #ruby-lang
yzxy321 has left #ruby-lang [#ruby-lang]
enebo has quit [Quit: enebo]
klmlfl has quit [Remote host closed the connection]
kadwill has joined #ruby-lang
klmlfl has joined #ruby-lang
kadwill has quit [Ping timeout: 246 seconds]
daBee has joined #ruby-lang
djbkd has joined #ruby-lang
<rock> o0
leonshalimov has quit [Ping timeout: 252 seconds]
<daBee> Hi there
<daBee> Anybody taking quick questions?
<|jemc|> daBee: you just used up your question
<daBee> heh
<daBee> How can I echo a current variable to bbedit? I can call bbedit in the shell like this:
<daBee> echo “alpha” | bbedit
<daBee> I’m thinking I need to use “exec” but I can’t find how to pass the variable
<|jemc|> daBee: use string interpolation with #{}, probably
dorei has joined #ruby-lang
<daBee> do I need to require anything for that exec command?
<daBee> it worked in IRB but not in my solution
charliesome has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Lewix has quit [Remote host closed the connection]
<|jemc|> daBee: it's defined in the Kernel module
<|jemc|> which means it's available in any object that has Kernel in its class/module hierarchy
<|jemc|> (which should be most objects)
<daBee> it’s in the core. I can’t get it to work outside of IRB.
hahuang61 has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby-lang
djbkd has quit [Ping timeout: 245 seconds]
stamina has quit [Quit: WeeChat 1.1]
martinium has quit [Remote host closed the connection]
nertzy has quit [Quit: This computer has gone to sleep]
fedexo has joined #ruby-lang
daBee has quit [Quit: daBee]
martinium has joined #ruby-lang
martinium has quit [Changing host]
martinium has joined #ruby-lang
djbkd has joined #ruby-lang