apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
xcv_ has quit [Remote host closed the connection]
<jrobeson> yaymukund, uhm.. you can use octopress
<yaymukund> xybre: yup, that's what I meant. sorry
<jrobeson> it is markdown to website
<jrobeson> framework on top of jekyll..
dayepa has quit [Quit: dayepa]
dayepa has joined #ruby
nazty has quit [Ping timeout: 240 seconds]
<yaymukund> Octopress looks like the closest thing to what I want so far
xcv has joined #ruby
a7d7p has quit [Ping timeout: 264 seconds]
jtgiri_ has joined #ruby
jtgiri_ has quit [Client Quit]
<yaymukund> thank you jrobeson!
tanema has joined #ruby
nazty has joined #ruby
<yaymukund> I'm telling him to get a host, upload an index.html, and then as he gets comfortable to try and get something like octopress working
<jrobeson> yaymukund, you can deploy octopress directly to github
<yaymukund> jrobeson: even better
<yaymukund> I just realized I'm talking to you in two channels... heh
<yaymukund> :)
buenob has quit [Remote host closed the connection]
maktig has joined #ruby
buenob has joined #ruby
heftig has quit [Quit: Quitting]
hogeo has joined #ruby
buenob has quit [Ping timeout: 240 seconds]
joofsh has joined #ruby
apeiros has joined #ruby
callmeivan has joined #ruby
marr has quit [Ping timeout: 268 seconds]
ixti has quit [Quit: WeeChat 0.4.1]
<pontiki> yaymukund: running something like jekyll or octopress on github pages might not have any impetus to learn development, esp web dev
<pontiki> they're both spiffy blogging tools
<pontiki> but i suggested tutorials.jumpstartlab.com as a good place for a beginner
<pontiki> they start from the basic "what is ruby" up to some rather advanced web dev stuff
<yaymukund> I was thinking it would build confidence, get him familiar with deployment, and possibly fixing bugs
<yaymukund> he's working through codecademy already and enjoying it, but I'll tell him to check out jumpstartlab as well
apeiros has quit [Read error: Operation timed out]
ixti has joined #ruby
<unsmell> codecademy is amazing
nanoxd has joined #ruby
yshh has joined #ruby
yshh has quit [Remote host closed the connection]
qubozik has joined #ruby
Shirakawasuna has joined #ruby
ephemerian has quit [Quit: Leaving.]
<pontiki> codeacademy is full training wheels on
<unsmell> i'm gonna bail now, if any of you need me, i'm @kernelwizard on twitter
<unsmell> pontiki: hell yes
<unsmell> bye
unsmell has quit [Quit: Page closed]
<pontiki> the tutorials on jumpstartlabs are real world applications
thepumpkin has quit [Remote host closed the connection]
narcan has joined #ruby
<pontiki> someone must e bogarting he connection here
fenicks has quit [Remote host closed the connection]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
mary5030 has joined #ruby
yaymukund has quit [Ping timeout: 256 seconds]
shunt has quit [Ping timeout: 268 seconds]
sml0820 has quit [Quit: sml0820]
tanema has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
sml0820 has joined #ruby
huoxito has joined #ruby
brennanMKE has quit [Remote host closed the connection]
razi has quit [Ping timeout: 240 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Davedo has joined #ruby
tkuchiki has joined #ruby
wmoxam has joined #ruby
renderful has joined #ruby
brennanMKE has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
andrew565 has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
mary5030 has quit [Read error: Connection reset by peer]
yaymukun1 has joined #ruby
mary5030 has joined #ruby
xcv has quit [Remote host closed the connection]
wicked has joined #ruby
<epitron> pontiki: try using mosh
<epitron> you can still type over ssh, even if there's lag
freerobby has quit [Quit: Leaving.]
Davey has joined #ruby
Nahra has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
RichardBaker has joined #ruby
sml0820 has quit [Quit: sml0820]
RichardBaker has quit [Client Quit]
m8 has quit [Quit: Sto andando via]
araujo has quit [Read error: Connection reset by peer]
Davey has quit [Ping timeout: 276 seconds]
<zendeavor> you're not actually typing over ssh though, which is what makes it awesome
<zendeavor> it just buffers your input and sends when the connection is clear
endash has quit [Quit: endash]
buenob has joined #ruby
buzzybron has joined #ruby
caju has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 256 seconds]
caju has joined #ruby
<epitron> yes, that's what i meant
<epitron> :)
postmodern has quit [Quit: Leaving]
moos3 has joined #ruby
postmodern has joined #ruby
Astral__ has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby
sml0820 has joined #ruby
<zendeavor> just clarifying
<zendeavor> because i need to insert my 2 cents, okay
yshh has joined #ruby
<zendeavor> i need to.
* zendeavor compelled
<xybre> <3 mosh
baroquebobcat has quit [Quit: baroquebobcat]
pvizcay has quit [Quit: leaving]
_jesse_ has quit [Ping timeout: 240 seconds]
araujo has joined #ruby
Lewix has joined #ruby
diegoviola has quit [Ping timeout: 256 seconds]
jonahR has quit [Quit: jonahR]
pkrnj has joined #ruby
araujo has quit [Excess Flood]
araujo has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
Shirakawasuna has quit [Quit: Leaving]
hamakn has quit [Remote host closed the connection]
Vivekananda has quit [Quit: Ex-Chat]
hamakn has joined #ruby
renderful has quit [Remote host closed the connection]
aryaching has quit []
hadees has quit [Ping timeout: 276 seconds]
hadees has joined #ruby
snath has joined #ruby
hamakn has quit [Ping timeout: 256 seconds]
caju has left #ruby [#ruby]
yaymukun1 has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
sml0820 has quit [Quit: sml0820]
amacgregor_ has joined #ruby
kdaigle_ has joined #ruby
tommyvyo has quit [Quit:]
amacgregor has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Ping timeout: 240 seconds]
tommyvyo has joined #ruby
heftig has joined #ruby
wesside has joined #ruby
yaymukund has joined #ruby
johnkary has joined #ruby
<pontiki> so, um
hamakn has joined #ruby
<pontiki> is there something i'm supposed to do besided `mosh user@server` ?
ffranz has joined #ruby
tanema has joined #ruby
zmansiv has quit [Ping timeout: 268 seconds]
aryaching has joined #ruby
<zendeavor> well
sml0820 has joined #ruby
<zendeavor> does the remote have mosh-server
<epitron> RTFM? :D
<Todd> whoa.. heh
<epitron> you need to open port 60000
<epitron> actually, you need a range of ports
<zendeavor> or just pass a port in
<zendeavor> unless you mean ec2
<epitron> i mean mosh
<epitron> read the docs
Lewix has quit [Remote host closed the connection]
<pontiki> it says it cannot find mosh-server
<Todd> udp eh? hmm
<Todd> mosh looks cool
tanema has quit [Ping timeout: 246 seconds]
<pontiki> the docs, such as they are, say 'mosh user@server' and that's it
<Todd> yeah the docs say mosh will log you in via ssh and then start a connection on a udp port between 60000 and 61000
zmansiv has joined #ruby
<Todd> that would only work if udp ports 60000-61000 are open to the machine you're connecting to or it's the dmz
<Todd> it sounds as though it also requires that mosh be installed on the machine as well as an ssh server and that tcp/ip port 22 be open
Davey has joined #ruby
rickmasta has joined #ruby
<Todd> or whatever port you changed ssh to if non-standard
johnkary has quit [Quit: @johnkary]
<Todd> hmm
<Todd> I think I'm going to put the mosh-server binary on my vps and play with it tomorrow
Davey has quit [Ping timeout: 260 seconds]
horofox has quit [Quit: horofox]
caju has joined #ruby
startling has joined #ruby
<startling> what's that way to embed a string in the bottom (?) of a ruby file?
<xybre> zendeavor: mosh-server is run automatically, no need to install it
<epitron> startling: theredocs! :D
<epitron> __END__
<epitron> ...
<epitron> then referene it with "DATA.read"
<epitron> +c
<pontiki> so i can't actually install mosh on my remote box
polo_ has joined #ruby
<pontiki> running debian squeeze
<startling> epitron: that's it. thanks
<pontiki> follow the instructions to add squeeze-backports, and apt-get update fails
<pontiki> oh well
<epitron> ._.
<pontiki> nice try
<xybre> You don't need to install mosh on your remote machine, you jsut need SSH.
<pontiki> have to go
lethjakm1 has quit [Ping timeout: 256 seconds]
<epitron> xybre: incorrect!
<xybre> epitron: since when?
<epitron> since mosh works by using UDP
<xybre> Mosh loads the mosh-server binary when you connect via SSH.
<epitron> so at the very least you need that installed
<xybre> What are you talking about?
<xybre> Installing UDP?
<epitron> how can it load the mosh-server binary if it's not installed?
ehc has joined #ruby
<xybre> How does SFTP work?
<epitron> SFTP runs over an ssh tunnel
<xybre> Or SSH-COPY?
<epitron> mosh uses ssh to launch mosh-server, which is a UDP server
<epitron> running on port 6000*
<xybre> Which is deploys on the remote server.
<xybre> s/is/it
<epitron> uh, no :)
quazimodo has quit [Ping timeout: 256 seconds]
<epitron> mosh doesn't upload/compile binaries to the remote box
Guest11903 has joined #ruby
<epitron> mosh does have a fallback mode if mosh-server isn't found, i believe, where it just becomes regular ssh
polo_ has quit [Client Quit]
Guest11903 is now known as diegoviola
quazimodo has joined #ruby
polopolo has joined #ruby
<epitron> unfortunately i don't have a box without mosh installed to check
<polopolo> Hello, any ideal on how to encode some text as a valid PNG, as this > http://xcode.darkbyte.ru/ !? Trying for hours...
<xybre> Maybe I misunderstood something in the documentation. I thought I didn't have mosh installed on my server and it worked though. Since I'm using mosh right now and all.
<Todd> the mosh docs do speak about the mosh-server being in the path on the remote machine
<Todd> and that if mosh-server is not in the path that you can specify the path to it when you run the mosh client
<Todd> which leads me to believe that mosh-client in fact does not deploy mosh-server to the machine you're connecting to
<epitron> the mosh author probably didn't want to create an ad-hoc multi-distro build system :)
<Todd> heh
Domon has joined #ruby
hadees has quit [Quit: hadees]
polopolo has quit [Quit: polopolo]
randomautomator has quit [Remote host closed the connection]
hadees has joined #ruby
Gooder has joined #ruby
randomautomator has joined #ruby
araujo has quit [Ping timeout: 260 seconds]
radic__ has joined #ruby
randomautomator has quit [Ping timeout: 264 seconds]
radic_ has quit [Ping timeout: 260 seconds]
kaldrenon has joined #ruby
sml0820 has quit [Quit: sml0820]
mootpointer has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
xpirator has joined #ruby
renderful has joined #ruby
kaldrenon has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
efrainolivares has joined #ruby
shunt has joined #ruby
vlad_starkov has joined #ruby
Domon has quit [Remote host closed the connection]
araujo has joined #ruby
araujo has joined #ruby
shunt has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 260 seconds]
quazimodo has quit [Ping timeout: 264 seconds]
zorg24 has joined #ruby
<zorg24> I'm trying to figure how to use what's matched in by a regex in a case statement. Here's a gist of it https://gist.github.com/zorg24/29f324f760c650ab52ef
<zorg24> basically I want to assign what's matched movie or something along those lines
Domon has joined #ruby
startling has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<zorg24> figured it out I'm using $1
snath has quit [Ping timeout: 256 seconds]
lyanchih has joined #ruby
rezzack has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
<pontiki> ok, mosh remote installed
<pontiki> and it's working
<pontiki> \o/
akells` has quit [Remote host closed the connection]
akells` has joined #ruby
Davey has joined #ruby
Yakko has quit [Read error: Connection reset by peer]
maxmanders has joined #ruby
wesside has quit [Quit: I think I heard an ice cream truck..]
devyn has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
andrew565 has quit [Quit: andrew565]
akells` has quit [Ping timeout: 256 seconds]
Davey has quit [Ping timeout: 246 seconds]
Quashie has joined #ruby
maxmanders has quit [Ping timeout: 260 seconds]
sevenseacat has joined #ruby
kung has joined #ruby
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
pothibo has quit [Quit: pothibo]
efrainolivares has joined #ruby
classix has quit [Ping timeout: 256 seconds]
v1n has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
wmoxam has quit [Ping timeout: 246 seconds]
ffranz has quit [Quit: Leaving]
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
niteowl has quit [Quit: Konversation terminated!]
daniel_hinojosa has joined #ruby
nfk has quit [Quit: yawn]
JDHankle has quit [Read error: Connection reset by peer]
caju has quit [Remote host closed the connection]
JDHankle has joined #ruby
JDHankle has quit [Read error: Connection reset by peer]
ehaliewicz has joined #ruby
JDHankle has joined #ruby
tommyvyo has quit [Quit:]
ehc has quit [Quit: ehc]
momomomomo has joined #ruby
wargasm1 has quit [Read error: Connection reset by peer]
shunt has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
wargasm has joined #ruby
stuartrexking has quit [Quit: Leaving...]
efrainolivares has joined #ruby
Domon has quit [Ping timeout: 256 seconds]
stuartrexking has joined #ruby
vlad_starkov has joined #ruby
io_syl has quit [Quit: io_syl]
kdaigle_ has quit [Quit: Textual IRC Client: www.textualapp.com]
dodosan has joined #ruby
io_syl has joined #ruby
aryaching has quit []
v1n has quit [Ping timeout: 268 seconds]
rburton- has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
brennanMKE has quit [Remote host closed the connection]
brennanMKE has joined #ruby
Davey has joined #ruby
rickmasta has quit [Quit: Leaving...]
qubozik_ has joined #ruby
rickmasta has joined #ruby
snath has joined #ruby
v1n has joined #ruby
qubozik has quit [Ping timeout: 268 seconds]
jtgiri_ has joined #ruby
tommyvyo has joined #ruby
joofsh has quit [Remote host closed the connection]
hadees has quit [Quit: hadees]
lethjakm1 has joined #ruby
qubozik_ has quit [Ping timeout: 276 seconds]
visof has quit [Ping timeout: 276 seconds]
freerobby has quit [Read error: Connection reset by peer]
freerobby1 has joined #ruby
maxmanders has joined #ruby
Spami has joined #ruby
johnkary has joined #ruby
johnkary has quit [Client Quit]
akells` has joined #ruby
maxmanders has quit [Ping timeout: 264 seconds]
eldariof has joined #ruby
pwh has joined #ruby
devyn has joined #ruby
callmeivan has quit [Ping timeout: 268 seconds]
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
efrainolivares has quit [Quit: efrainolivares]
akells` has quit [Ping timeout: 248 seconds]
lyanchih has quit [Quit: lyanchih]
callmeivan has joined #ruby
lethjakm1 is now known as lethjakman
efrainolivares has joined #ruby
jhn has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
BrianJ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mootpointer has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
poga has joined #ruby
ixti has quit [Quit: WeeChat 0.4.1]
huoxito has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
kdaigle_ has joined #ruby
NimeshNeema has quit [Ping timeout: 245 seconds]
heidar has quit [Read error: Operation timed out]
denysonique has quit [Read error: Operation timed out]
zero7 has quit [Ping timeout: 245 seconds]
notbrent has quit [Ping timeout: 240 seconds]
Guest85414__ has quit [Ping timeout: 268 seconds]
fourq_ has quit [Ping timeout: 268 seconds]
pusewicz_ has quit [Ping timeout: 268 seconds]
shaileshg has quit [Ping timeout: 268 seconds]
octarine has quit [Ping timeout: 260 seconds]
zorg24 has quit [Read error: Operation timed out]
niftylettuce has quit [Ping timeout: 264 seconds]
ckrailo has quit [Ping timeout: 256 seconds]
rndstr has quit [Ping timeout: 264 seconds]
[0x1a] has quit [Ping timeout: 264 seconds]
bluehavana has quit [Ping timeout: 248 seconds]
TheHodge has quit [Ping timeout: 248 seconds]
yuhsien_ has quit [Ping timeout: 248 seconds]
cam`_ has quit [Ping timeout: 264 seconds]
xerxas has quit [Ping timeout: 245 seconds]
karnowski has quit [Ping timeout: 268 seconds]
Zespre has quit [Ping timeout: 268 seconds]
yeban has quit [Ping timeout: 268 seconds]
mulander has quit [Ping timeout: 256 seconds]
JoeTheGuest has quit [Ping timeout: 240 seconds]
keyvan_ has quit [Ping timeout: 264 seconds]
chuk has quit [Ping timeout: 264 seconds]
guilleiguaran_ has quit [Ping timeout: 256 seconds]
cool has quit [Ping timeout: 256 seconds]
rubyguy has quit [Ping timeout: 268 seconds]
moeSeth has quit [Ping timeout: 268 seconds]
dekz__ has quit [Ping timeout: 268 seconds]
mroth has quit [Ping timeout: 268 seconds]
pipecloud has quit [Ping timeout: 245 seconds]
[Neurotic] has quit [Ping timeout: 245 seconds]
geoffw8_ has quit [Ping timeout: 264 seconds]
ziyadb has quit [Ping timeout: 264 seconds]
dnyy has quit [Ping timeout: 268 seconds]
lectrick has quit [Ping timeout: 268 seconds]
Scorchin has quit [Ping timeout: 264 seconds]
djd has quit [Ping timeout: 264 seconds]
kapowaz has quit [Ping timeout: 264 seconds]
brennanMKE has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
pipework_ has joined #ruby
JoeTheGuest has joined #ruby
Scorchin has joined #ruby
renderful has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 240 seconds]
Deele has quit [Ping timeout: 240 seconds]
rovar has quit [Ping timeout: 256 seconds]
jtgiri_ has quit [Quit: jtgiri_]
rovar has joined #ruby
lyanchih has joined #ruby
tomzx_mac has joined #ruby
lyanchih has quit [Client Quit]
classix has joined #ruby
rshetty has joined #ruby
sayan has joined #ruby
momomomomo has quit [Quit: momomomomo]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
intuxicated has joined #ruby
jtgiri_ has joined #ruby
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
startling has joined #ruby
<startling> Am I supposed to be able to do Dir.new(whatever).glob(x)?
optimusprimem has quit [Read error: Connection reset by peer]
<startling> From the API documentation, it looks like it, but it doesn't seem like I can.
optimusprimem has joined #ruby
optimusprimem has quit [Changing host]
optimusprimem has joined #ruby
mary5030 has quit [Ping timeout: 276 seconds]
jtgiri_ has quit [Client Quit]
zeade has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
renderful has joined #ruby
<zendeavor> i don't see what you want to get out of that
<pontiki> .glob is a class function, isn't it?
kdaigle_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zendeavor> mhmm, assuming function==method
flowerhack has joined #ruby
<pontiki> Dir.glob is in the public class methods, not in the public instance methods
quazimodo has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
[Neurotic] has joined #ruby
wallerdev has quit [Quit: wallerdev]
intuxicated has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
atno has joined #ruby
browndawg has joined #ruby
fgo has joined #ruby
atno has quit [Remote host closed the connection]
Guest26004 is now known as lemonsparrow
atno has joined #ruby
tkuchiki has quit [Remote host closed the connection]
<startling> pontiki: ah
tomzx_mac has quit [Ping timeout: 256 seconds]
ezotrank has joined #ruby
SeySayux has quit [Ping timeout: 246 seconds]
quazimodo has quit [Ping timeout: 256 seconds]
relix has joined #ruby
quazimodo has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Quashie has quit [Ping timeout: 264 seconds]
stkowski has quit [Quit: stkowski]
clooth has quit [Quit: clooth]
SeySayux has joined #ruby
Nisstyre has quit [Ping timeout: 260 seconds]
intuxicated has joined #ruby
TheMoonMaster has quit [Excess Flood]
fgo has quit [Remote host closed the connection]
TheMoonMaster has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
Steve009 has joined #ruby
Steve009 has left #ruby [#ruby]
ezotrank has quit [Quit: Textual IRC Client: www.textualapp.com]
kilophoton has quit [Ping timeout: 264 seconds]
NimeshNeema has joined #ruby
yaymukund has quit [Ping timeout: 245 seconds]
pipework_ has quit []
vlad_starkov has joined #ruby
Quashie has joined #ruby
amacgregor has joined #ruby
amacgregor_ has quit [Ping timeout: 264 seconds]
pipework_ has joined #ruby
pipework_ is now known as pipecloud
pipecloud has quit [Changing host]
pipecloud has joined #ruby
pipecloud has quit [Changing host]
pipecloud has joined #ruby
lethjakm1 has joined #ruby
lethjakman has quit [Ping timeout: 240 seconds]
dawkirst has quit [Ping timeout: 260 seconds]
agjacome has joined #ruby
Domon has joined #ruby
Domon has quit [Remote host closed the connection]
b00stfr3ak has quit [Ping timeout: 246 seconds]
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby
mbreedlove has joined #ruby
alem0lars has joined #ruby
Quashie_ has joined #ruby
staafl has joined #ruby
Spami has joined #ruby
mroth has joined #ruby
Quashie has quit [Ping timeout: 240 seconds]
quazimodo has quit [Ping timeout: 264 seconds]
quazimodo has joined #ruby
tommyvyo has quit [Quit:]
rovar has quit [Ping timeout: 246 seconds]
apeiros has joined #ruby
rovar has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
mootpointer has joined #ruby
osvico has quit [Ping timeout: 240 seconds]
jhn has quit [Ping timeout: 256 seconds]
staafl has quit [Ping timeout: 240 seconds]
devdvd has quit [Quit: Leaving]
yacks has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
fwchld has joined #ruby
tagrudev has joined #ruby
fgo has joined #ruby
hollyw00d has joined #ruby
ananthakumaran has joined #ruby
<fwchld> hi guys! i've got a quick question re: refactoring. i'm repeating myself with some operations, i know i can refactor by creating a method that i can pass variables into. the only issue I have is that the method needs to operate on an instance of a class, so do i need to pass the class into the method or is there another way? i can post code if it needs to get to that stage.
<fwchld> im not 100% on pass by reference or value and how ruby handles it...
freerobby1 has quit [Quit: Leaving.]
quazimodo has quit [Remote host closed the connection]
quazimodo has joined #ruby
<pontiki> don't pass classes
Domon has joined #ruby
<pontiki> pass objects
Domon has quit [Read error: Connection reset by peer]
<pontiki> or pass a block if you want to do it that way
<fwchld> yeah, but if you instanciate the object, you pass that into the method is that ok?
ryandeussing has quit [Remote host closed the connection]
<pontiki> an object is the instatiation of a class
<fwchld> yeah i know
<pontiki> well i don't understand your question, then
<apeiros> classes are objects too
<fwchld> lets step back a bit
<fwchld> does ruby pass by reference or value?
<apeiros> it's perfectly fine to pass classes as arguments. the question is whether it really makes sense.
<pontiki> that was what i mean
buenob has quit [Remote host closed the connection]
<fwchld> yeah i'm not passing the class
<pontiki> it just generally makes no sense
<apeiros> fwchld: depends on what level you look at. in the "ruby" level, it'd be by reference
goganchic has joined #ruby
buenob has joined #ruby
<fwchld> apeiros: ok, and when does it pass by value? :)
dawkirst has joined #ruby
<pontiki> never?
<apeiros> in the C level. it passes a VALUE object by value
<fwchld> ok
<fwchld> lemme try something and i'll come back and have a better formulated question heh
<fwchld> :)
<fwchld> brb
hollyw00d has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> fwchld: code of what you're currently doing is also usually helpful (gist.github.com)
* apeiros will be on commute soon, though
<fwchld> yeah thanks - will paste it if i get super stuck.. dont want to waste your time digging through code just yet..
efrainolivares has joined #ruby
fridim__ has quit [Ping timeout: 246 seconds]
<fwchld> thanks thought :)
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<fwchld> though*
<fwchld> brb
buenob_ has joined #ruby
rburton- has quit [Quit: Linkinus - http://linkinus.com]
buenob has quit [Ping timeout: 264 seconds]
mootpointer has quit [Read error: Connection reset by peer]
buenob_ has quit [Ping timeout: 276 seconds]
diegoviola has quit [Quit: WeeChat 0.4.1]
mootpointer has joined #ruby
apeiros has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 256 seconds]
tabolario has joined #ruby
fwchld has quit [Quit: Textual IRC Client: www.textualapp.com]
agjacome_ has joined #ruby
agjacome_ has quit [Client Quit]
staafl has joined #ruby
kiri has joined #ruby
crazymykl has quit [Remote host closed the connection]
crazymykl has joined #ruby
ebanoid has joined #ruby
zacts has quit [Ping timeout: 245 seconds]
agjacome has quit [Ping timeout: 245 seconds]
callmeivan has quit [Ping timeout: 245 seconds]
Schmidt has quit [Quit: WeeChat 0.3.5]
andll has joined #ruby
vince_prignano has joined #ruby
dash_ has joined #ruby
<andll> does anyone know of a resource for manipulating three dimensional arrays?
russt has quit [Ping timeout: 245 seconds]
<pontiki> check ruby-gems?
<pontiki> or ruby-toolbox?
ayaz has joined #ruby
zacts has joined #ruby
<heftig> andll: narray, i guess
kaldrenon has joined #ruby
boblu has joined #ruby
callmeivan has joined #ruby
callmeivan has quit [Client Quit]
razi has joined #ruby
<andll> I'll look into that. Perhaps I'm choosing the wrong type of data representation. I'm looking for a resource to iterate and manipulate 3d arrays easier.
<andll> really just a tutorial
rubyguy has joined #ruby
shaileshg has joined #ruby
TheHodge has joined #ruby
priyam_ has joined #ruby
ckrailo has joined #ruby
notbrent has joined #ruby
cam`_ has joined #ruby
dekz__ has joined #ruby
Guest85414__ has joined #ruby
karnowski has joined #ruby
cool has joined #ruby
guilleiguaran_ has joined #ruby
yuhsien_ has joined #ruby
ziyadb has joined #ruby
dnyy has joined #ruby
fourq_ has joined #ruby
pusewicz_ has joined #ruby
lectrick has joined #ruby
zero7 has joined #ruby
djd has joined #ruby
moeSeth has joined #ruby
mulander has joined #ruby
xerxas has joined #ruby
kaldrenon has quit [Ping timeout: 260 seconds]
Zespre has joined #ruby
niftylettuce has joined #ruby
octarine has joined #ruby
keyvan_ has joined #ruby
kapowaz has joined #ruby
tonni has quit [Remote host closed the connection]
rndstr has joined #ruby
chuk has joined #ruby
denysonique has joined #ruby
geoffw8_ has joined #ruby
bluehavana has joined #ruby
[0x1a] has joined #ruby
heidar has joined #ruby
sayan has joined #ruby
aganov has joined #ruby
hadees has joined #ruby
vlad_starkov has joined #ruby
ferdev has quit [Ping timeout: 248 seconds]
JohnBat26 has joined #ruby
jkline has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
kilophoton has joined #ruby
quazimodo has quit [Ping timeout: 245 seconds]
<zendeavor> a little tough to tutorialize
browndawg has quit [Quit: Leaving.]
persand has joined #ruby
<zendeavor> i'd bet anything you find essentially just feeds you code that demonstrates "how to do it" and you have to go play on your own again anyway
vlad_starkov has quit [Ping timeout: 256 seconds]
nonamehero has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
Matriks has joined #ruby
kilophoton has quit [Ping timeout: 260 seconds]
lele has quit [Ping timeout: 264 seconds]
flowerhack has quit [Remote host closed the connection]
nonamehero has joined #ruby
dhruvasagar has joined #ruby
<jrobeson> andll, perhaps the word you're looking for is matrix
eldariof has quit [Ping timeout: 240 seconds]
huevon has joined #ruby
dayepa has quit [Quit: dayepa]
tonni has joined #ruby
noopq has joined #ruby
zeade has quit [Quit: Leaving.]
daniel_hinojosa has quit [Quit: Leaving.]
tatsuya_o has joined #ruby
lele has joined #ruby
kaspergrubbe has joined #ruby
zoee has joined #ruby
Mon_Ouie has joined #ruby
pranny has joined #ruby
ntus1017 has joined #ruby
blueOxigen has joined #ruby
avril14th has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
jonkri has joined #ruby
jonkri has quit [Changing host]
jonkri has joined #ruby
nhhagen has quit [Quit: Leaving]
ferdev has joined #ruby
marius has quit [Quit: -]
workmad3 has joined #ruby
filipe has joined #ruby
vlad_starkov has joined #ruby
qubozik_ has joined #ruby
alem0lars has quit [Ping timeout: 240 seconds]
rshetty has quit [Quit: Sleeping]
mfridh has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
pwh has quit [Quit: pwh]
blueOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
tatsuya_o has quit [Remote host closed the connection]
justsee has joined #ruby
justsee has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mootpointer has joined #ruby
stuartrexking has quit [Quit: Leaving...]
kaspergrubbe has quit [Ping timeout: 246 seconds]
mootpointer has quit [Client Quit]
Domon has joined #ruby
jkline has quit [Quit: jkline]
Domon_ has joined #ruby
Domon has quit [Read error: Connection reset by peer]
kayloos has joined #ruby
tonni has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
mootpointer has joined #ruby
mootpointer has quit [Client Quit]
mootpointer has joined #ruby
wargasm has quit [Ping timeout: 246 seconds]
VTLob has joined #ruby
ferdev has quit [Quit: ferdev]
pwh has joined #ruby
lyanchih has joined #ruby
pwh has quit [Max SendQ exceeded]
hamed_r has joined #ruby
persand has quit [Quit: persand]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
qubozik_ has quit [Ping timeout: 268 seconds]
MrZYX|off is now known as MrZYX
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
tonni has joined #ruby
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
IPGlider has joined #ruby
persand has joined #ruby
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
alem0lars has joined #ruby
shredding has joined #ruby
VTLob has quit [Quit: VTLob]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
shredding has quit [Client Quit]
tjad has quit [Ping timeout: 248 seconds]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
ahawkins has joined #ruby
pwh has joined #ruby
threesome has joined #ruby
pwh has quit [Max SendQ exceeded]
rezzack has quit [Quit: Leaving.]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
tesuji has joined #ruby
pwh has joined #ruby
codecop has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
staafl has quit [Ping timeout: 248 seconds]
pwh has joined #ruby
pwh has quit [Client Quit]
io_syl has quit [Quit: io_syl]
Spami has quit [Quit: This computer has gone to sleep]
maxmanders has joined #ruby
ryandeussing has joined #ruby
maz-dev has joined #ruby
maxmanders has quit [Read error: Connection reset by peer]
ryandeussing has quit [Ping timeout: 245 seconds]
relix has joined #ruby
maxmanders has joined #ruby
Charli has joined #ruby
io_syl has joined #ruby
atno has quit [Remote host closed the connection]
tjad has joined #ruby
Charli has left #ruby [#ruby]
bluenemo has joined #ruby
obs has joined #ruby
andikr has joined #ruby
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
camilasan has joined #ruby
sparq_ has joined #ruby
Al_ has joined #ruby
persand has quit [Quit: persand]
jprovazn has joined #ruby
tonni has quit [Remote host closed the connection]
Domon_ has quit [Remote host closed the connection]
Domon has joined #ruby
Domon has quit [Read error: Connection reset by peer]
Domon has joined #ruby
jim0thy_ has joined #ruby
bricker`LA has joined #ruby
Schmidt has joined #ruby
dangerousdave has joined #ruby
andll has quit [Remote host closed the connection]
ganeshran has joined #ruby
io_syl has quit [Quit: io_syl]
troessner has joined #ruby
obs has quit [Quit: Konversation terminated!]
<ganeshran> Hi is someone here familiar with writing a custom strategy for omniauth.
<startling> is there something somewhere to uri-sanitize a string in a nice way? I'd like to have "hello-world" rather than "hello%20world"
emergion has joined #ruby
shaunbak_ has joined #ruby
atno has joined #ruby
<maloik> ganeshran: I'm sure someone is. You'll have better luck just asking your question :-) providing code where relevant will help too
<MrZYX> startling: example.org/hello%20world and example.org/hello-world are two completely distinct resources though
<startling> MrZYX: sure; that's why I said "uri-sanitize" rather than "uri-escape". I'm the one who controls the resources; I'd like to automatically give them nice names.
<startling> (that happen to be safe for URIs)
<MrZYX> build your map and have fun with String#tr then
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
<ganeshran> maloik: Actually I have written one but I don't feel confident enough to publish it as I am new to ruby. If an expert could take a look at it and suggest if any changes are required I will publish it https://github.com/ganeshran/omniauth-socialcast-oauth2
<startling> MrZYX: obviously. my question is "has someone already written this?".
stef_204 has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.1]
lethjakm1 has quit [Ping timeout: 264 seconds]
<maloik> ganeshran: in all honesty just go ahead and publish. People may or may not point out mistakes, or may or may not improve it themselves with forks and pull requests
<maloik> there's no better way to learn than to get your code out there
apeiros has joined #ruby
<maloik> if someone is genuinely worried about leaks and bugs they'll comb through your code themselves before using it in production
<ganeshran> maloik: ok cool . will publish it after adding tests
<maloik> most people are pretty down to earth about it, some may be dicks and tell you it sucks but so be it, let it go and keep at it :-)
JDHankle has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
<ganeshran> :)
camilasan has joined #ruby
tonni has joined #ruby
jim0thy_ has quit [Quit: jim0thy_]
<atno> morning
kaspergrubbe has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
jim0thy_ has joined #ruby
marr has joined #ruby
predator217 has quit [Remote host closed the connection]
predator117 has joined #ruby
shredding has joined #ruby
camilasan has quit [Remote host closed the connection]
efrainolivares has joined #ruby
camilasan has joined #ruby
mootpointer has joined #ruby
dayepa1 has joined #ruby
kaspergrubbe has quit [Ping timeout: 245 seconds]
ehaliewicz has quit [Remote host closed the connection]
lethjakm1 has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
ghr has joined #ruby
efrainolivares has quit [Client Quit]
ixti has joined #ruby
badquanta has quit [Ping timeout: 264 seconds]
niceguyjames has joined #ruby
ephemerian has joined #ruby
saintcajetan has joined #ruby
tatsuya_o has joined #ruby
saintcajetan has quit [Max SendQ exceeded]
ntus1017 has quit [Remote host closed the connection]
starfox21 has joined #ruby
jbpros has joined #ruby
saintcajetan has joined #ruby
goleldar has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
jlebrech has joined #ruby
saintcajetan has quit [Max SendQ exceeded]
ffio has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
saintcajetan has joined #ruby
shaunbak_ has joined #ruby
noname001 has joined #ruby
lyanchih has quit [Quit: lyanchih]
starfox21_ has joined #ruby
choobie has quit [Remote host closed the connection]
lethjakm1 has quit [Ping timeout: 248 seconds]
zmansiv has quit [Ping timeout: 264 seconds]
jibi has joined #ruby
starfox21 has quit [Ping timeout: 264 seconds]
starfox21_ is now known as starfox21
hogeo_ has joined #ruby
Quashie_ has quit [Read error: Connection reset by peer]
choobie has joined #ruby
Senjai has quit [Ping timeout: 240 seconds]
Quashie_ has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
<Veejay> Hi everyone, I'm having an issue with some regexp http://rubular.com/r/puEO96pF9I
hogeo has quit [Ping timeout: 264 seconds]
<Veejay> I would like the regex to not match with the string ends with -
<Veejay> I've tried negative lookeaheads without any success. Any help greatly appreciated
<Veejay> when the string ends with - I mean
ezotrank has joined #ruby
elaptics`away is now known as elaptics
zmansiv has joined #ruby
Maoko has joined #ruby
Astralum has joined #ruby
Criztian has joined #ruby
gasbakid has joined #ruby
shaunbak_ has quit [Read error: Connection reset by peer]
shaunbaker has joined #ruby
Maoko has quit [Read error: Connection reset by peer]
lkba has quit [Ping timeout: 248 seconds]
sqd has joined #ruby
dweeb_ has joined #ruby
<apeiros> Veejay: [\-[0-9a-z]] <-- this does not do what you want it to
mikecmpbll has joined #ruby
<apeiros> you nested a character class. that does not work. the above is equivalent to [\-\[0-9a-z\]]
zombiebit has joined #ruby
Maoko has joined #ruby
<mootpointer> This should do the job /.*[^\-]\z/
nomenkun has joined #ruby
<mootpointer> Veejay: How is this: http://rubular.com/r/tjBu59b1NU
<MrZYX> I guess \A[0-9a-z]+(\-[0-9a-z]+)*\z would be closer to what he intended
lyanchih has joined #ruby
<mootpointer> Also good :)
quazimodo has joined #ruby
GeissT has joined #ruby
lyanchih has quit [Client Quit]
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Veejay> MrZYX: Disarming simplicity at work
<Veejay> I don't know how in hell I didn't even try your first example
xcv has joined #ruby
klaut has joined #ruby
startling has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<Veejay> MrZYX: Though your last version allows a string beginning with &
<Veejay> You didn't really know the exact terms of the contract though so I can't be picky heh
<MrZYX> :P
<Veejay> Thanks a lot guys
<Veejay> apeiros: Ah yeah indeed. By character class you mean [something] right?
dodosan has quit [Remote host closed the connection]
jim0thy_ has quit [Quit: jim0thy_]
lyanchih has joined #ruby
jim0thy_ has joined #ruby
xcv has quit [Remote host closed the connection]
Es0teric has joined #ruby
SqREL has joined #ruby
bluOxigen has joined #ruby
ixti has quit [Ping timeout: 264 seconds]
slap_stick has joined #ruby
dweeb_ has quit [Quit: Textual IRC Client: www.textualapp.com]
St_Marx has quit [Ping timeout: 240 seconds]
fuzzy_ has joined #ruby
fuzzy has quit [Ping timeout: 248 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
<MrZYX> yep, that's a character class
codecop has quit [Read error: Operation timed out]
<MrZYX> (something) is called a match group (in most cases)
Deele has joined #ruby
<apeiros> (capturing group) is the term I know
<apeiros> and (?:non-capturing group)
mbreedlove has quit [Ping timeout: 268 seconds]
codecop has joined #ruby
JDHankle has joined #ruby
saintcajetan has quit [Ping timeout: 260 seconds]
<MrZYX> Okay, not really simpler but I couldn't resist: \A(?:[0-9a-z]+(?:-(?!\z)|\z))+\z
startling has joined #ruby
sevenseacat has quit [Quit: Leaving.]
<apeiros> /blupp(?<!-)\z/
<startling> what command-line option parser should I use/
<startling> ?
saintcajetan has joined #ruby
ryandeussing has joined #ruby
<canton7> startling, trollop, slop, or OptionParser imo
<apeiros> Veejay: trying to match uuids?
shaunbaker has quit [Remote host closed the connection]
<MrZYX> ah, right, \A(?:[0-9a-z]+-?)+(?<!-)\z is better
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JDHankle has quit [Ping timeout: 256 seconds]
<apeiros> alternative: split the regex
shaunbaker has joined #ruby
goganchic has quit []
<startling> canton7: thanks!
<apeiros> segment = /[0-9a-z]+/; full = /\A#{segment}(?:-#{segment})*\z/
lyanchih has quit [Quit: lyanchih]
shaunbak_ has joined #ruby
<Veejay> Ah that's nice
sparq_ has quit [Quit: Leaving]
shaunbak_ has quit [Remote host closed the connection]
<Veejay> apeiros: We're generating URLs for temporary websites and I was trying to restrict the form they can take.
jim0thy_ has quit [Quit: jim0thy_]
rovar has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
<Veejay> numbers and letters separated by dashes, 5 characters minimum, 128 maximum
rovar has joined #ruby
<apeiros> per segment?
<Veejay> Nah total
ryandeussing has quit [Ping timeout: 276 seconds]
_JamieD_ has joined #ruby
<apeiros> I'd do the length check outside the regex, but you could put it in there too
<Veejay> It's outside now
<Veejay> In a Rails validation actually
<Veejay> Isn't there a UUID parser in Ruby
moted has quit [Ping timeout: 260 seconds]
shaunbaker has quit [Ping timeout: 245 seconds]
<Veejay> Cause you're right, they're pretty much UUIDs
rovar_ has joined #ruby
postmodern has quit [Ping timeout: 248 seconds]
<apeiros> there isn't much to parse about uuids…
<Veejay> Guess not heh
rovar has quit [Ping timeout: 245 seconds]
jim0thy_ has joined #ruby
shaunbaker has joined #ruby
dodosan has joined #ruby
galdor_ has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
lyanchih has joined #ruby
<banisterfiend> Veejay: sup vajayjay
<banisterfiend> ;)
blackmesa has joined #ruby
Domon has quit [Remote host closed the connection]
BRMatt has joined #ruby
Domon has joined #ruby
rickmasta has quit [Quit: Leaving...]
Domon has quit [Read error: Connection reset by peer]
Domon has joined #ruby
Alina-malina has quit [Ping timeout: 260 seconds]
atno has quit [Ping timeout: 240 seconds]
Alina-malina has joined #ruby
ezotrank has joined #ruby
dodosan has quit [Ping timeout: 256 seconds]
lurch_ has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
amacgregor_ has joined #ruby
rshetty has joined #ruby
sanav has joined #ruby
jim0thy_ has quit [Quit: jim0thy_]
amacgregor has quit [Ping timeout: 246 seconds]
gasbakid has quit [Read error: Connection reset by peer]
himsin has joined #ruby
<sanav> hello friends ! I'm wants to create .dll files .I tried it .I google about .dll an i found VB , C++, C# PL only used for making .dll .I recently learn ruby .I also found iron-ruby support .net but i'm not sure can i make .dll with it .Please guide me .
<sanav> hello friends ! I wants to create .dll files .I never tried it .I google about .dll an i found VB , C++, C# PL only used for making .dll .I recently learn ruby .I also found iron-ruby support .net but i'm not sure can i make .dll with it .Please guide me .
amacgregor_ has quit [Ping timeout: 264 seconds]
sanav has left #ruby [#ruby]
<bnagy> not sure it's possible, even with ironruby
Zolo has quit [Remote host closed the connection]
colonolGron has joined #ruby
Zolo has joined #ruby
bluOxigen has quit []
<canton7> yeah, I imagine it's somewhat hard to *compile* a dll for an *interpreted* language
<bnagy> well it could link to a runtime
AlSquire has joined #ruby
goganchic has joined #ruby
<MrZYX> btw. he left after ~90secs
<bnagy> like I can kind of sketch out in my head vaguely how it could be approached
<bnagy> oh. cool. :)
<lurch_> hi, we have some automated builds in jenkins that fail regularly on 'Could not fetch specs from https://rubygems.org/'.. anyone else have these issues? How do you bypass this issue? I could install a proxy (eg: rubygems-proxy) and change /etc/hosts on the buildserver to have rubygems.org point to localhost or something, but not sure if that is possible with https
mootpointer has joined #ruby
sanav has joined #ruby
postmodern has joined #ruby
<MrZYX> travis recently started to try the bundle install command three times in a row
Gooder has quit [Remote host closed the connection]
huoxito has joined #ruby
Zolo has quit [Ping timeout: 264 seconds]
<sanav> hello ! please guide me .I want to create dll using ironruby .I'm unable to find proper doc on iron-ruby .Please !
<MrZYX> why do you need to create a dll?
<bnagy> sanav: you can't
<bnagy> do whatever you're trying to do a different way
<sanav> bnagy: ok !
robonerd has quit [Quit: zzz]
kjellski has joined #ruby
<lurch_> MrZYX: is that feature released already?
<ganeshran> how can I avoid typing the fully qualified name of a ruby class in a script
<MrZYX> lurch_: I think I saw it happen, yeah
<sanav> MrZYX: i want to play with dll by importing dll in ruby program .But bnagy says we can't make dll using ironruby .
<ganeshran> instead of module::class , just using class. I tried require, but it doesnt work
<bnagy> ganeshran: include that module
<ganeshran> bnagy: ah ok will try that
<MrZYX> sanav: so you heard "dll" and want to learn about it?
<MrZYX> or do you have a greater goal?
<bnagy> sanav: you can use other DLLs, FFI is (imo) the best approach
<sanav> MrZYX: yes !
<lurch_> MrZYX: thanks. I'll update bundler on the build server and see if that does it
<MrZYX> sanav: what bnagy said then
<bnagy> you just can't make a DLL out of ruby code
<MrZYX> don't start with creating them, understand what they are and how to use them first
zmansiv has quit [Read error: Connection reset by peer]
<sanav> MrZYX: how ?
<MrZYX> lurch_: it won't, it's a feature of travis, not of bundler
<sanav> MrZYX: i only know they are dynamic library and used by other programs and other dll .
<MrZYX> lurch_: basically bundle install until $?.success? || retries > 3
<lurch_> MrZYX, sorry, misunderstood. I'll try that. thanks again
nhhagen has joined #ruby
goganchic has quit [Quit: Leaving]
jbpros has quit [Quit: jbpros]
<sanav> bnagy: thanks for suggesting me FFI module of ruby .
bluebie has joined #ruby
sanav has quit [Quit: Page closed]
<bluebie> hey ruby peeps!
<bluebie> I'm looking for a tool!
justsee has quit [Ping timeout: 264 seconds]
<bnagy> plenty of them in here
<bluebie> yay!
<bluebie> I have some LEDs on my monitor, backlights casting RGB on the walls
<bluebie> they're controlled by a ruby script
<bluebie> it's great
anay has joined #ruby
<bluebie> but I'd love to be able to link them up somehow to the music coming out of my itunes, so they could be visualisory
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bluebie> but I'm at a bit of a loss as to how to do that, on OS X
<bluebie> any ideas?
mootpointer has joined #ruby
robonerd has joined #ruby
huevon has quit [Quit: huevon]
<bluebie> anything that could capture the system audio and give it to me live so I could hit it with some FFTs and stuff
<bluebie> or maybe there's some way to plug in to itunes itself!
<bnagy> nothing springs to mind, but I don't know osx or itunes well enough
<bluebie> mmmmm
<bnagy> can you 'sniff' /dev/audio?
<bnagy> lame it's not even called that
<bluebie> there is no /dev/audio or /sound or /snd..
cads has quit [Ping timeout: 256 seconds]
<bluebie> maybe audio isn't even a unix device :/
<bluebie> hmm
<bnagy> I have a tty for my bluetooth speaker
<bluebie> there are little drivers and programs you can get which create extra virtual audio outputs on the system so you can plug inputs and outputs together to wire programs in to each other
<bluebie> a tty? :O
<bluebie> I wouldn't have expected bluetooth audio to go over serial :S
<bluebie> weird
noname001 has quit [Remote host closed the connection]
<bnagy> crw-rw-rw- 1 root wheel 33, 4 Aug 17 10:43 /dev/tty.JAMBOXbyJawbone-SPPDev-1
noname001 has joined #ruby
<bluebie> maybe I can use one of those driver thingies to route the sound around so I can capture it just like any other audio input device, like a microphone or line in or whatever
atno has joined #ruby
gyre007 has joined #ruby
<bluebie> so really I suppose all I need is some library that lets me record an audio input and get the data with not much latency
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
<bnagy> anyway, this is totally not a ruby question
jbpros has joined #ruby
<bnagy> not yet, anyway :P
zmansiv has joined #ruby
<bluebie> yeah there's simpler stuff I can use to do that bit, so really I just need to find a good ruby library to capture an audio input (like a line in port) from the system audio thingo
<MrZYX> on linux I'd look into a gstreamer binding but no idea for os x
moted has joined #ruby
<bnagy> well, like I said, find out how that kind of app works ( reverse engineer ) then just write it in ruby with FFI, if you really want it in ruby
<ganeshran> bnagy: thanks it works1
<bnagy> but if it uses a kmod you might be stuck
<bnagy> although you could maybe rip off their module and communicate with it
<bluebie> nah I'm not going to do it that way bnagy!
<bluebie> I don't want to do RE stuff
kaldrenon has joined #ruby
<bluebie> I'll just route the system audio through a virtual thing like I said and capture it in the normal way, just like you would a microphone or line in
ixti has joined #ruby
<bluebie> HMMMMM
hamed_r has quit [Quit: Ex-Chat]
<bluebie> Or I could just download an airplay server implementation (there's one in perl even!) and translate to ruby, and have ruby man in the middle it :O
<bluebie> so many options
<bluebie> I think the virtual sound port thing would be better tho
* bluebie looking at gstreamer mac support
ffio_ has joined #ruby
ffio has quit [Ping timeout: 256 seconds]
rickmasta has joined #ruby
kaldrenon has quit [Ping timeout: 240 seconds]
Maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
<bluebie> looks like gstreamer will do the thing. You ruby people are tops! Thanks MrZYX!
matchaw_ has quit [Ping timeout: 264 seconds]
rcosta has joined #ruby
eka has joined #ruby
matchaw has joined #ruby
sjltaylor has joined #ruby
<bluebie> yeah now I just have to figure out how the hell gstreamer works and I'll be set!
decoponio has joined #ruby
xpirator has quit [Quit: Leaving...]
St_Marx has joined #ruby
m8 has joined #ruby
dangerousdave has quit [Quit: Leaving...]
dangerousdave has joined #ruby
rickmasta has quit [Quit: Leaving...]
hogeo_ has quit [Remote host closed the connection]
jlebrech has quit [Ping timeout: 246 seconds]
Bry8Star{T2 has quit [Quit:]
nfk has joined #ruby
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
rcosta has quit [Remote host closed the connection]
marius has joined #ruby
Domon has quit [Read error: Connection reset by peer]
Domon has joined #ruby
dodosan has joined #ruby
colonolGron has quit [Ping timeout: 260 seconds]
dash_ has quit [Ping timeout: 268 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
ixti has quit [Ping timeout: 256 seconds]
dash_ has joined #ruby
lyanchih has quit [Quit: lyanchih]
relix has joined #ruby
dodosan has quit [Ping timeout: 268 seconds]
anderson has quit [Read error: Connection reset by peer]
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anderson has joined #ruby
justsee has joined #ruby
SHyx0rmZ has joined #ruby
jibi has quit [Quit: .]
Bry8Star{T2 has joined #ruby
alem0lars has quit [Ping timeout: 256 seconds]
tanema has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
realDAB has joined #ruby
jbpros has quit [Quit: jbpros]
vlad_starkov has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jim0thy_ has joined #ruby
postmodern has quit [Quit: Leaving]
mootpointer has joined #ruby
jleishman has joined #ruby
kevinykchan has joined #ruby
kirun has joined #ruby
colonolGron has joined #ruby
spacebug_ has quit [Quit: Lost terminal]
huevon has joined #ruby
anay has quit [Remote host closed the connection]
emergion has joined #ruby
Nisstyre has joined #ruby
browndawg has joined #ruby
Guedes has joined #ruby
Guedes has joined #ruby
<shevy> hehe
<shevy> somehow you can combine the pipes in gstreamer
lkba has joined #ruby
hamed_r has joined #ruby
<shevy> there even were ruby bindings to it
<shevy> one had to somehow combine source and sinks, I never understood it completely though... but I was able to play .mp3 files :P
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbpros has joined #ruby
persand has joined #ruby
Guedes has left #ruby [#ruby]
ghr has quit [Ping timeout: 264 seconds]
ryandeussing has joined #ruby
lyanchih has joined #ruby
yshh has quit [Remote host closed the connection]
weeems has quit [Ping timeout: 256 seconds]
colonolGron has quit [Ping timeout: 268 seconds]
user_ has joined #ruby
user_ is now known as goto
rcosta has joined #ruby
goto has left #ruby [#ruby]
ryandeussing has quit [Read error: Operation timed out]
yfeldblum has joined #ruby
Senjai has joined #ruby
JohnBat26 has quit [Remote host closed the connection]
Nisstyre has quit [Ping timeout: 248 seconds]
sevenseacat has joined #ruby
<quale> i .. want that desk
JohnBat26 has joined #ruby
amacgregor has joined #ruby
colonolGron has joined #ruby
mootpointer has joined #ruby
jprovazn has quit [Quit: Leaving]
Matriks has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
pen has joined #ruby
Fire-Dragon-DoL has joined #ruby
rshetty has quit [Ping timeout: 260 seconds]
albertKV has joined #ruby
saintcajetan has quit [Remote host closed the connection]
ldnunes has joined #ruby
albertKV has quit [Client Quit]
vince_pr_ has joined #ruby
nerdman has joined #ruby
jbpros has quit [Quit: jbpros]
rshetty has joined #ruby
vince_prignano has quit [Remote host closed the connection]
vince_pr_ has quit [Remote host closed the connection]
IPGlider has quit [Quit: IPGlider]
vince_prignano has joined #ruby
QQQ has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
<_br_> shevy: i .. don't want that desk
Quashie_ has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 268 seconds]
apeiros has quit [Remote host closed the connection]
<eka> that is in the… bathroom.. russia perhaps?
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mootpointer has joined #ruby
<_br_> eka: Russia? No, can't be there is no dashcam anywhere ^^
dodosan has joined #ruby
mikecmpbll has joined #ruby
snath has quit [Ping timeout: 256 seconds]
ezotrank has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has joined #ruby
Deele has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
<eka> ah ok… lol
Domon has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 248 seconds]
jefflyne has joined #ruby
Domon has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eka> that's a drum set from some of the games of band something right?
shaunbaker has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
caju has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
caju has left #ruby [#ruby]
atno has joined #ruby
Deele has joined #ruby
<quale> oh! it probably is
<quale> i no longer want that desk
Domon has quit [Ping timeout: 256 seconds]
hashpuppy has joined #ruby
<ArchBeOS> shevy: how did you get a picture of my bathroom
<ArchBeOS> i kid
<ArchBeOS> it's a window instance
<ArchBeOS> :P
jbpros has joined #ruby
<waxjar> can't even put a book on that "desk"
wallerdev has quit [Quit: wallerdev]
jonathanwallace has joined #ruby
ntus1017 has joined #ruby
vince_prignano has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
pranny has quit [Quit: Leaving.]
realDAB has quit [Quit: realDAB]
joshwines has joined #ruby
De`off has joined #ruby
joshwines has quit [Remote host closed the connection]
tommyvyo has joined #ruby
vlad_starkov has joined #ruby
jbpros has quit [Quit: jbpros]
shredding has joined #ruby
IceyEC has joined #ruby
buibex has joined #ruby
Deele has quit [Ping timeout: 240 seconds]
andrew565 has joined #ruby
De`off is now known as Deele
rshetty has quit [Quit: Sleeping]
tommyvyo has quit [Client Quit]
starfox21 has quit [Quit: starfox21]
rovar has joined #ruby
darth_chatri has joined #ruby
rovar_ has quit [Ping timeout: 256 seconds]
Neomex has joined #ruby
Neomex has quit [Client Quit]
marius has quit [Quit: -]
mlpinit has joined #ruby
darth_chatri has quit [Client Quit]
sml0820 has joined #ruby
colonolGron has quit [Ping timeout: 276 seconds]
lyanchih has quit [Quit: lyanchih]
aagdbl has joined #ruby
niceguyjames has joined #ruby
ntus1017 has quit [Remote host closed the connection]
himsin has quit [Quit: himsin]
Matriks has joined #ruby
yfeldblum has quit [Quit: Leaving]
Liothen has quit [Quit: System of a down……]
wallerdev has joined #ruby
k610 has joined #ruby
anay has joined #ruby
hogeo has joined #ruby
bluebie has quit [Read error: Connection reset by peer]
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
colonolGron has joined #ruby
cody-- has joined #ruby
persand has quit [Quit: persand]
ryandeussing has joined #ruby
sumark has quit [Remote host closed the connection]
sumark has joined #ruby
mark_locklear has joined #ruby
persand has joined #ruby
yshh has joined #ruby
ryandeussing has quit [Ping timeout: 260 seconds]
jdenen has joined #ruby
kaspergrubbe has joined #ruby
yfeldblum has joined #ruby
mootpointer has joined #ruby
pranny has joined #ruby
pranny has quit [Client Quit]
devoldmx has joined #ruby
devoldmx3 has quit [Ping timeout: 264 seconds]
sml0820 has quit [Quit: sml0820]
yshh has quit [Ping timeout: 248 seconds]
interactionjaxsn has joined #ruby
colonolGron has quit [Ping timeout: 260 seconds]
tommyvyo has joined #ruby
Senjai has quit [Quit: probably be back in a couple]
Desert_eagle has joined #ruby
mosez_ has joined #ruby
pothibo has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
buibex has quit [Remote host closed the connection]
systing has joined #ruby
tommyvyo has quit [Client Quit]
kaldrenon has joined #ruby
rshetty has joined #ruby
breakingthings has joined #ruby
Maoko has joined #ruby
<emergion> Hey all, when performing a require in ruby 1.9 it seems to evaluate all the code found inside the file it evaluates, this behaviour seems totally different in 1.8 it evalutes nothing, am I right or am I just imagining things ?
shunt has quit [Ping timeout: 240 seconds]
tommyvyo has joined #ruby
<MrZYX> I'd expect the same behavior in 1.8
shaunbaker has joined #ruby
<ccooke> emergion: 1.8 definitely evaluated the code
ksmth has joined #ruby
ksmth has quit [Excess Flood]
alem0lars has joined #ruby
<MrZYX> yup, just tried, same behavior in 1.8
<ccooke> if it didn't, none of the classes or objects defined in the required file would exist
jibi has joined #ruby
ksmth has joined #ruby
<ccooke> Ruby classes are defined by evaluation
ksmth has quit [Excess Flood]
kaspergrubbe has quit [Remote host closed the connection]
<emergion> https://github.com/telstra-digital/puppet-validator/blob/master/lib/common/puppet.rb this doesn't seem to work the same way in ruby 1.9 as it does in 1.8
ksmth has joined #ruby
<emergion> ccooke, but it might be the single char thing also, "3"
<emergion> that does something funny in ruby 1.8
<emergion> I think
<MrZYX> just drop 1.8 support and focus on 2.0 :P
sml0820 has joined #ruby
<emergion> MrZYX, ccooke
rcosta has quit [Ping timeout: 268 seconds]
<emergion> sorry
<MrZYX> 18>> '3' == "3"
<eval-in> MrZYX => true (https://eval.in/43817)
<MrZYX> 18>> 3 == "3"
<eval-in> MrZYX => false (https://eval.in/43818)
<ccooke> emergion: ah! in 1.8, using the square-bracket method on a string returns you the integer character
<emergion> my bad, I forgot ruby 1.8 cannot handle the single char thing
rcosta has joined #ruby
<emergion> sorry guys
pskosinski has joined #ruby
dodosan has joined #ruby
<emergion> Any suggestions on a pretty way to re-write that line without split ? :)
<ccooke> emergion: if it's 1.8, you can call Puppet.version[0].chr
anay has quit [Remote host closed the connection]
<ccooke> emergion: Regex?
<ccooke> emergion: or actually... Puppet.version.start_with? "3."
<ccooke> which is at least very clear.
<MrZYX> I'd still just drop 1.8 support
<MrZYX> MRI did
<MrZYX> rails did
jonathanwallace has quit [Ping timeout: 264 seconds]
<emergion> MrZYX, it's just Puppet hasn't yet
anay has joined #ruby
<MrZYX> everything that release a new major seem to do it
anay has quit [Remote host closed the connection]
<ccooke> MrZYX: it's not always something that a developer can mandate, though
<ccooke> there are environments still running 1.8 for decent reasons, and there are many more that need to *support* it
<MrZYX> so you're going to patch the next security issue?
homelinen is now known as lmlach
ntus1017 has joined #ruby
<ccooke> MrZYX: You're missing the point, I think :-)
anonymuse has joined #ruby
colonolGron has joined #ruby
rcosta has quit [Remote host closed the connection]
<emergion> ccooke, start_with? genius!
<emergion> thanks
<ccooke> emergion: NP
<emergion> MrZYX, it can be difficult with system level stuff honestly
alem0lars has quit [Quit: Leaving]
<emergion> red-hat only just release 1.9.3 packagess
dodosan has quit [Ping timeout: 246 seconds]
ryandeussing has joined #ruby
yalue has joined #ruby
<emergion> things will catch up, just not tonight
<MrZYX> old version == stable version is one of the largest misconceptions in the software industry IMO
Dreamer3 has quit [Quit: Leaving...]
robonerd has quit [Quit: zzz]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<ccooke> MrZYX: dealing with it sanely is a big issue. It's just not viable to answer every such problem with "Upgrade to the latest version".
Matriks has quit [Remote host closed the connection]
<ccooke> (The assumption that this *is* possible is one of the biggest issues in the Ruby community ;-)
devoldmx has quit [Ping timeout: 268 seconds]
<sevenseacat> oh i wish i could drop 1.8 support
<ccooke> (s/is/is always/, to be clearer)
<nhubbard> MrZYX: if I had to install a custom package of ruby on RHEL servers just to run puppet, we would probably migrate off of puppet
terlar has joined #ruby
<nhubbard> i agree old version != stable version, but in this case 1.8.7 is pretty well battle tested with puppet (especially older versions of puppet)
<shevy> migrations itself bear a cost too, just look at the transition in python from 2 to 3
<ccooke> shevy: ugh :-)
<Xeago> shevy: you are comparing apples to (pears and oranges) here
chxane has quit [Quit: Leaving]
<shevy> not at all, it was one big reason why I did not switch for a long time
<ccooke> Xeago: actually, no
ryandeussing has quit [Ping timeout: 256 seconds]
<ccooke> Xeago: because standard ruby 1.8 and 1.9 don't even share the same *codebase*
<emergion> It seems everyone is having this issue lately, that's why I'm so excited to try something like docker to help with this
geekbri has joined #ruby
<ccooke> Xeago: yes, the code is pretty close, but if you have to worry about any sort of certification you have to do the entire job from scratch
<shevy> Damn... I am always mixing up Xeago with xybre ...
persand has quit [Quit: persand]
<emergion> As a platforms person myself, it's a a difficult situation. You want to provide developers with the absolutely latest of everything they want, on the same time you have to build stable platforms
pen has quit [Remote host closed the connection]
<MrZYX> I'm not talking about the latest. 1.8 is simply outdated
<ccooke> emergion: I think this is actually one of the biggest weaknesses in Ruby, to be honest.
kayloos has quit [Remote host closed the connection]
<emergion> and compiling ruby 2.0.0 on thousands of servers is just not the answer I'm afraid
<shevy> hehe
<ccooke> Every time I see someone suggest that RVM is the only way to handle installing ruby, it makes me sad
<shevy> nah
<ccooke> (And let's not get into the packaging issues ;-)
<shevy> what is RVM doing? it compiles into a specific prefix
<emergion> best intentions, but it's not the correct way to do things, obviously
<ccooke> emergion: ... yeah.
<nhubbard> emergion: yeah, nothing about that ends well in my experience
horofox has joined #ruby
pipework has quit [Remote host closed the connection]
<shevy> why not
<shevy> it's --prefix /usr/local
<nhubbard> we have a pretty strict rule these days that we do not compile anything on our servers anymore, if we need something custom, we have to package it up and deploy it via packages
<ccooke> shevy: because compilation should never happen on a server that isn't a specialised build server
dhruvasagar has quit [Ping timeout: 269 seconds]
<emergion> shevy, try automating it
fmcgeough has joined #ruby
<emergion> and getting it right every time, how do you verify that installation is correct on a huge number of servers ?
<shevy> you have to compile only once, no?
<emergion> nhubbard, yup, fpm is pretty awesome for that, there are some really cool things emerging to help solve the issues
<Xeago> shevy: no, they distribute environment requirements
viszu has joined #ruby
<Xeago> and based on those requirements they get what they need
<Xeago> in their case rubyxyz
<Xeago> then they don't fetch a ruby-binary or ruby-source
Naoe-Kanno has joined #ruby
<Xeago> isntead they use a package that is prepared for that
<nhubbard> shevy: yeah basically what emergion is saying….doing that for one server, sure, but what about when you have 100's or what about when you are using cloud and you need to automatically spin up new instances, now compiling ruby takes 5 minutes, so your configuration takes even longer to get your new server online
Jb_ has quit [Ping timeout: 245 seconds]
SHyx0rmZ has quit [Ping timeout: 264 seconds]
jprovazn has joined #ruby
wudofyr has quit [Remote host closed the connection]
crazymykl has quit [Remote host closed the connection]
wudofyr has joined #ruby
crazymykl has joined #ruby
jaynewstrom has joined #ruby
krawchyk has joined #ruby
<emergion> I don't think the Ruby community has been particularly slack with it, probably more that a lot of distributions package management tools are python based
<emergion> so naturally if you want to run something python 2.6 on a centos box, you win
<ccooke> emergion: no, the ruby community has historically been a bit hostile to packaging solutions
<emergion> ccooke, I feel that came from the rails/capistrano people
<emergion> ccooke, passenger
MrZYX is now known as MrZYX|off
<emergion> it was just what you did on your mac :)
<ccooke> emergion: no, there are structural issues with packaging gem files and pretty much always have been
<emergion> ccooke, really, like what ?
tonni has quit [Remote host closed the connection]
persand has joined #ruby
nebula_ has joined #ruby
ehc has joined #ruby
<ccooke> emergion: Looking for some of the older articles, sec.
<lurch_> native extensions (shared libraries) are a pain.. you have to build the gem on a machine with the same architecture + libs as the target server
xue has joined #ruby
<lurch_> we vendor as much as we can using a vagrant box to build the packages for a specific server type
mephux has quit [Ping timeout: 264 seconds]
<emergion> ah yes of course
<emergion> python stuff has the same problems though
joofsh has joined #ruby
hamed_r has quit [Quit: Ex-Chat]
ewnd9 has quit [Ping timeout: 256 seconds]
<emergion> I don't think you can escape the issue
niceguyjames has quit [Quit: Computer has gone to sleep.]
Guest31212 has joined #ruby
tanema has quit [Remote host closed the connection]
<emergion> I live and breathe this argument at work :) I work with a pretty decent sys admin/python programmer. It goes on and on
<emergion> I'm also pretty keen on python, but I still encounter a lot of the same problems with newer stuff
hogeo has quit [Remote host closed the connection]
lucazi has joined #ruby
JDHankle has joined #ruby
jonathanwallace has joined #ruby
joofsh has quit [Remote host closed the connection]
joofsh has joined #ruby
Davey has joined #ruby
<ccooke> emergion: I'm failing to find much that isn't a bit too vitriolic to take seriously, atm. Lots of people talking *about* the issues but not actually discussing what they are
hiroyuki has joined #ruby
hashpuppy has quit [Quit: Computer has gone to sleep.]
<ccooke> emergion: so I'll have to work from memory. The basic assumptions that are problematic (IIRC) are the compilation assumption and (certainly in the past) some assumptions of directory locations that don't fit within every distribution's hierarchical model
jerius has joined #ruby
tomzx_mac has joined #ruby
prime_ has joined #ruby
xiphffff3 has joined #ruby
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<emergion> ccooke, yup, the complication of native extensions is the biggest issue for sure
shunt has joined #ruby
<ccooke> emergion: it's an easily solved problem. Certainly things have improved in debian-land over the last few years
Davey has quit [Client Quit]
<ccooke> emergion: but it's a lot of *work* to solve
joofsh has quit [Remote host closed the connection]
ohcibi_ has joined #ruby
riku- has joined #ruby
momomomomo has joined #ruby
xpirator has joined #ruby
AllStruck_ has joined #ruby
peterhel1berg has joined #ruby
hoelzro_ has joined #ruby
<emergion> ccooke, yup!
zzak_ has joined #ruby
<emergion> anyway thanks for your help mate
<ccooke> NP
ihme-TTilus has joined #ruby
denken_ has joined #ruby
skogis has joined #ruby
rien_ has joined #ruby
ichilton_ has joined #ruby
burlyscudd has joined #ruby
<emergion> night all
Dwarf_ has joined #ruby
timonv has joined #ruby
mnemon2 has joined #ruby
jerius has quit [Quit: jerius]
PLejeck has joined #ruby
tonni has joined #ruby
brjannc has joined #ruby
nhubbard_ has joined #ruby
nhubbard_ has quit [Excess Flood]
rshetty has quit [Quit: Sleeping]
seich| has joined #ruby
Spitfire_ has joined #ruby
anildigi- has joined #ruby
lupine_85 has joined #ruby
baordog has joined #ruby
heftig has quit [*.net *.split]
wicked has quit [*.net *.split]
Dwarf has quit [*.net *.split]
xiphffff2 has quit [*.net *.split]
prime has quit [*.net *.split]
lupine has quit [*.net *.split]
mnemon has quit [*.net *.split]
seich- has quit [*.net *.split]
spike|spiegel has quit [*.net *.split]
rien has quit [*.net *.split]
Norrin has quit [*.net *.split]
zzak has quit [*.net *.split]
ShapeShifter499 has quit [*.net *.split]
hoelzro has quit [*.net *.split]
nhubbard has quit [*.net *.split]
m4rcu5 has quit [*.net *.split]
Spitfire has quit [*.net *.split]
ohcibi has quit [*.net *.split]
AllStruck has quit [*.net *.split]
peterhellberg has quit [*.net *.split]
brjannc| has quit [*.net *.split]
Nuck has quit [*.net *.split]
ZadYree has quit [*.net *.split]
skogis_ has quit [*.net *.split]
Veejay has quit [*.net *.split]
tethra has quit [*.net *.split]
TTilus has quit [*.net *.split]
ichilton has quit [*.net *.split]
denken has quit [*.net *.split]
anildigital has quit [*.net *.split]
riku has quit [*.net *.split]
prime_ is now known as prime
prime has joined #ruby
prime has quit [Changing host]
riku- is now known as riku
AllStruck_ is now known as AllStruck
ichilton_ is now known as ichilton
ZadYree_ has joined #ruby
jerius has joined #ruby
<avril14th> Morning, I have a class A with different children classes. When doing self.class in a method of A I get A which is normal, now is there a way to get the children class?
Spitfire_ has quit [Changing host]
Spitfire_ has joined #ruby
lupine_85 is now known as lupine
emergion has quit [Quit: Computer has gone to sleep.]
decoponyo has joined #ruby
<shevy> if given an URL like http://ftp.acc.umu.se/pub/gnome/sources/quadrapassel/3.9/quadrapassel-3.9.90.tar.xz what is the simplest way to download via ruby
Kelet_ has joined #ruby
Dave has joined #ruby
m4rcu5 has joined #ruby
bricker`1way has joined #ruby
Kelet has quit [Write error: Connection reset by peer]
dangerousdave has quit [Write error: Connection reset by peer]
Spitfire_ is now known as Spitfire
Dave is now known as Guest93202
nomenkun_ has joined #ruby
io_syl has joined #ruby
lord1234 has joined #ruby
timonv has quit [Remote host closed the connection]
lyanchih has joined #ruby
<lord1234> http://pastie.org/8250151# can anyone help me identify why curb is not loading, even though it is installed with the gemfile?
decoponio has quit [Ping timeout: 276 seconds]
nomenkun has quit [Ping timeout: 276 seconds]
bricker`away has quit [Ping timeout: 276 seconds]
timonv has joined #ruby
ryandeussing has joined #ruby
<andrew565> shevy: the simplest way might be to use system hooks (using the back tick operator) to download with Curl.
snovak has joined #ruby
<andrew565> There's also the Net::FTP library built into Ruby Core.
obs has joined #ruby
nhhagen has quit [Quit: Leaving]
ShapeShi- has joined #ruby
spike|spiegel has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
anay has joined #ruby
nhhagen has joined #ruby
hashpuppy has joined #ruby
heftig has joined #ruby
kpshek has joined #ruby
momomomomo has quit [Quit: momomomomo]
Veejay has joined #ruby
tethra has joined #ruby
nhubbard has joined #ruby
nhubbard has quit [Excess Flood]
<shevy> I broke wget on my system just now by switching to another libuuid.so
bluenemo has quit [Remote host closed the connection]
nhubbard has joined #ruby
bluenemo has joined #ruby
nhubbard has quit [Excess Flood]
<andrew565> Oops. Bummer. :(
bluenemo_ has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
banisterfiend has quit [Write error: Broken pipe]
bluenemo has quit [Remote host closed the connection]
__maes_ has quit [Write error: Broken pipe]
<shevy> hehe
devdazed has quit [Quit: Bye]
nhubbard has joined #ruby
nhubbard has quit [Excess Flood]
<shevy> my system worked almost perfectly though... qt compiled fine ... latest binutils... gcc 4.3 up to 4.7 working... hmm
Fire-Dragon-DoL has left #ruby [#ruby]
<_br_> shevy: In pure ruby? Maybe this .. ruby -r 'open-uri' -e 'uri = "http://ftp.acc.umu.se/pub/gnome/sources/quadrapassel/3.9/quadrapassel-3.9.90.tar.xz"; name = File.basename( uri ); File.open( "/tmp/#{name}", "wb" ) { |f| open(uri, "rb") { |data| f.write( data.read ) } }'
burlyscudd has quit [Quit: Leaving.]
<_br_> I would still use faraday gem though
<shevy> ohhh where does the block start and where does it end? hehe
NealJ has joined #ruby
<shevy> oh i see
<shevy> the first one for File.open, the second on for open()
<shevy> *one
yano has quit [Quit: WeeChat, The Better IRC Client: http://weechat.org/]
shredding has quit [Quit: shredding]
Appineer has joined #ruby
nhubbard has joined #ruby
ntus1017 has quit [Remote host closed the connection]
Appineer has left #ruby [#ruby]
brennanMKE has joined #ruby
Norrin has joined #ruby
Norrin has quit [Changing host]
Norrin has joined #ruby
Norrin has quit [Excess Flood]
banisterfiend has joined #ruby
banisterfiend has left #ruby [#ruby]
devdazed has joined #ruby
banisterfiend has joined #ruby
<_br_> lord1234: maybe add a require on the curb line into your Gemfile ?
colonolGron has quit [Ping timeout: 240 seconds]
atyz has joined #ruby
xpirator has quit [Quit: Leaving...]
MrZYX|off is now known as MrZYX
Tricon has joined #ruby
wmoxam has joined #ruby
<shevy> #linux has 1200 something users, #ruby has 819
<shevy> one day the scripting languages will become more important than OS channels
yshh has joined #ruby
* shevy shakes fist
soulcake has quit [Read error: Connection reset by peer]
soulcake has joined #ruby
clooth has joined #ruby
<andrew565> haha
<andrew565> Maybe, maybe.
sailias has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
brennanMKE has quit [Ping timeout: 248 seconds]
xpirator has joined #ruby
freeayu has joined #ruby
browndawg has joined #ruby
g0bl1n has joined #ruby
tanema has joined #ruby
<shevy> wow... it's 30° C here ... but I can hear upcoming thunder already in more distant areas of the town
<shevy> crazy weather
wicked has joined #ruby
asobrasil has joined #ruby
wmoxam has quit [Quit: leaving]
Maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
wmoxam has joined #ruby
tomzx_mac has quit [Ping timeout: 260 seconds]
Banistergalaxy has quit [Ping timeout: 264 seconds]
akells` has joined #ruby
Norrin has joined #ruby
tanema has quit [Ping timeout: 240 seconds]
ezotrank has joined #ruby
failshell has joined #ruby
qubozik_ has joined #ruby
sambao21 has joined #ruby
rcosta has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<lord1234> _br_, what do you mean by that?
roninn has joined #ruby
pen has joined #ruby
elux has joined #ruby
brennanMKE has joined #ruby
relix has joined #ruby
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
yano has joined #ruby
awwaiid has quit [Ping timeout: 245 seconds]
kdaigle_ has joined #ruby
swordsmanz has quit [Quit: swordsmanz]
BRMatt has quit [Ping timeout: 276 seconds]
pipework has joined #ruby
Tricon has quit [Quit: Linkinus - http://linkinus.com]
Tricon has joined #ruby
kpshek has quit []
sml0820 has quit [Quit: sml0820]
ohcibi_ is now known as ohcibi
ganeshran has quit [Quit: Page closed]
_maes_ has joined #ruby
blackmesa has joined #ruby
__maes_ has joined #ruby
io_syl has quit [Quit: io_syl]
burlyscudd has joined #ruby
tkuchiki has joined #ruby
freeayu has quit [Remote host closed the connection]
ffranz has joined #ruby
xpirator has quit [Quit: Linkinus - http://linkinus.com]
ffranz has quit [Client Quit]
banisterfiend has joined #ruby
ffranz has joined #ruby
Bira_ has joined #ruby
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kpshek has joined #ruby
buenob has joined #ruby
freerobby has joined #ruby
browndawg has quit [Read error: Connection timed out]
<Bira_> Hello! What is the expected behavior when you call Socket::getaddrinfo with a non-existent address? As in Socket.getaddrinfo("nonexistent",80)?
MrThePlague has joined #ruby
<Bira_> I'm getting an ENOENT ("No such file or directory - getaddrinfo"), but I'm not sure that's the right behavior.
g0bl1n has quit [Ping timeout: 256 seconds]
browndawg has joined #ruby
sjltaylor has joined #ruby
sjltaylor has quit [Client Quit]
aagdbl has quit [Quit: Leaving.]
ehc has quit [Quit: ehc]
Matriks has joined #ruby
Jb_ has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
jlast has joined #ruby
anay has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
__maes_ has quit [Quit: __maes_]
badquanta has joined #ruby
g0bl1n has joined #ruby
towelette55 has quit [Ping timeout: 264 seconds]
slap_stick has quit [Quit: CGI:IRC (Session timeout)]
<mjc_> Bira_: what about Socket.getaddrinfo("nonexistent","http") ?
<Bira_> mjc_: Same thing.
timonv has quit [Remote host closed the connection]
awwaiid has joined #ruby
towelette55 has joined #ruby
jbpros has joined #ruby
<lurch_> Bira_: in irb i get: "SocketError: getaddrinfo: nodename nor servname provided, or not known", so not the 'No such file or directory'
amacgregor has quit [Ping timeout: 245 seconds]
<Bira_> lurch_: I'm using Ubuntu 13.04 and rbenv. Maybe I'm missing a system dependency? What are you using?
sml0820 has joined #ruby
<lurch_> os x + rvm
<_br_> lord1234: Bundler can take care to some extent for you to load certain assets. e.g. on http://bundler.io/ see the line with spec gem 'rspec', :require => 'spec'; If you include Bundler now correctly in your path then bundler will make sure the lib is required before executing your code.
<Bira_> This is Ruby 2.0.0-p247, by the way.
nerdman has quit [Quit: leaving]
<lurch_> oh.. i'm on 1.9.3 still
<Bira_> 1.9.3 actually behaves the same for me, so I don't think it's something specific to the Ruby version.
BSaboia has joined #ruby
<_br_> Bira_: Well sockets are just special files. So the error message makes sense.
<_br_> Unix / Linux has follows the "everything is a file" principle
<mjc_> doesn't sound right to me
<Bira_> I agree the error makes sense, but shouldn't I be getting a SocketError instead?
kdaigle_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<Bira_> That's what it's there for.
<mjc_> getaddrinfo(3) returns EAI_NONAME on linux
<_br_> Bira_: check out "man errno", this error is leaked from the C implementation into ruby.
ryandeussing has quit [Ping timeout: 276 seconds]
rhys has joined #ruby
<lord1234> _br_: I changed my Gemfile-linux to :require => 'curb" after the curb line, ran " bundle --gemfile=Gemfile-linux, and on bundle exec still got the same error
<lord1234> did I do something wrong?
kdaigle_ has joined #ruby
<_br_> mjc_: Well, GNU/Linux is known to mess with old "standards" from the unix world. So I would be surprised if it changes depending on your distro.
banisterfiend has quit [Quit: Computer has gone to sleep.]
blackmesa has quit [Quit: WeeChat 0.4.1]
banisterfiend has joined #ruby
<_br_> lord1234: Hm, it seems that Curb is loaded then. Odd.
<mjc_> it sounds like the wrong error is being returned from something
<mjc_> probably because something is actually wrong
kdaigle_ is now known as kdaigle__
<mjc_> _br_: EAI_* error codes for getaddrinfo are POSIX.1-2001
Criztian has joined #ruby
<_br_> mjc_: Sure. I'm not in-depth familiar with what is in which spec.
<lord1234> so..ummm...is there anything else I can do to trouble shoot/identify what is up?
mmitchell has joined #ruby
<mjc_> Bira_: does the system have nss-myhostname installed? (libnss-myhostname on debian/ubuntu)
<_br_> lord1234: Does irb -r curb -e "" ; Execute without an error?
danbeck has joined #ruby
MarioEIU has joined #ruby
filipe has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
MarioEIU has left #ruby [#ruby]
wolcanus has joined #ruby
<lord1234> unrecognized switch -e....
<_br_> lord1234: ah sorry ruby -r 'curb' -e ''
wolcanus has quit [Remote host closed the connection]
<lord1234> yes it does
<lord1234> but lemme try it with bundle exec ruby ....
<Bira_> mjc_: Apparently not.
wolcanus has joined #ruby
<awwaiid> post Don't forget to @celebratewhyday! #whyday
<lord1234> yes no errors with bundleexec
<awwaiid> oops. that was supposed to be in bitlbee. oh well.
kdaigle__ is now known as kdaigle
narcan has joined #ruby
<Bira_> The bug does seem to be at around that level - something in glibc, or possibly caused by a lack of that library.
v1n has quit [Ping timeout: 240 seconds]
<mjc_> Bira_: could be a problem with nss
<mjc_> you might get an ENOENT if nss is messed up or if proxy settings are set incorrectly
rcosta has quit [Remote host closed the connection]
mansi has joined #ruby
tagrudev has quit [Remote host closed the connection]
joast has quit [Quit: Leaving.]
tonni has quit [Ping timeout: 248 seconds]
tonni has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<_br_> lord1234: Ok, this is really odd. That means the lib is installed correctly and required correctly but your code still fails.
<_br_> awwaiid: why day? _why ?
kpshek has quit []
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
tonni has quit [Remote host closed the connection]
kpshek has joined #ruby
v0n has joined #ruby
filipe has joined #ruby
mary5030 has joined #ruby
kiri has quit [Quit: Leaving]
C0C0 has joined #ruby
zoee has quit [Quit: zoee]
GeissT has quit [Quit: MillBroChat AdIRC User]
leeurooi has joined #ruby
<_br_> lord1234: Is this script executed as a different user or are you invoking that manually?
<lord1234> _br_, if I don't use bundler, and execute normally, I don't have any problems...it executes without issue
aryaching has joined #ruby
<lord1234> i'm invoking them as the jenkins user(Jenkins is executing it)....
<_br_> lord1234: Ah!
<_br_> lord1234: its a permission issue from your system
intuxicated has quit [Ping timeout: 240 seconds]
zavier has left #ruby ["WeeChat 0.4.0"]
<lord1234> how so?
<lord1234> and how to fix?
splittingred has joined #ruby
<_br_> lord1234: gem contents curb ; check the paths are readable by the jenkins user
<C0C0> is there a way to check wether a given exception would be cought if raised?
<lord1234> _br_ but why is it just that one gem?
<lord1234> all the other gems work
<_br_> lord1234: Not sure, maybe something went wrong with post-install
<Morrolan> C0C0: raise it? :)
gildo has joined #ruby
<lord1234> ok i just changed it to 755 for that entire folder
<lord1234> lets ee
andrew565 has left #ruby [#ruby]
colonolGron has joined #ruby
<_br_> C0C0: Your rspec should test things like that
carlzulauf has joined #ruby
<lord1234> _br_, same error
devoldmx3 has joined #ruby
smigg has joined #ruby
<C0C0> Morrolan: without raising it
dhruvasagar has joined #ruby
noopq has quit [Ping timeout: 256 seconds]
<C0C0> _br_: I want to be able to monkeypatch raise such that it will spawn a pry in the current context if there is o handler installed
<_br_> lord1234: Change permissions to Jenkins user... eg. su - jenkins
mikecmpbll has joined #ruby
colonolGron has quit [Ping timeout: 248 seconds]
<C0C0> and yes I know i shouldn't do that in production :P
<MrZYX> C0C0: sounds like pry-rescue
buibex has joined #ruby
buibex has quit [Remote host closed the connection]
jefflyne has joined #ruby
Guest93202 has quit [Quit: Leaving...]
<lord1234> all the files in that folder are the same permissioning scheme....
<C0C0> MrZYX: your right, it does
<C0C0> gonna read the code
<C0C0> didn't know this existed
dangerousdave has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
buibex has joined #ruby
<_br_> lord1234: does the code you use work? No error?
<lord1234> yes
<ericwood> he got a CodeNotWorking exception
<lord1234> as long as I don't bundle exec
akells` has quit []
<lord1234> (I have the gems already installed in the gem list on the machine...)
akells` has joined #ruby
akells` is now known as akells``
<_br_> ericwood: ^^
justsee has quit [Quit: leaving]
<lord1234> _br_ any thoughts?
filipe has quit [Ping timeout: 276 seconds]
jarray52 has joined #ruby
aryaching_ has joined #ruby
<_br_> lord1234: Its a permission issue. Somewhere some folder has insufficient rights, hence the issue. Not sure whats going on otherwise.
shaunbaker has quit [Remote host closed the connection]
aryaching_ has quit [Client Quit]
<sml0820> I have a quesiton for a game in ruby console. I have a line -- wrong_input unless input == :exit . How do I make it so when the user types exit, it exits back to the command line?
dhruvasagar has joined #ruby
<_br_> sml0820: Game? Ruby console? Huh? For that unless just execute "exit"
tesuji has quit [Read error: Connection reset by peer]
<ericwood> exit(0) if gets == 'exit'
amacgregor has joined #ruby
_maes_ has joined #ruby
__maes_ has joined #ruby
bluenemo_ has quit [Remote host closed the connection]
<ericwood> did that do the trick?
<ericwood> I made it up, so tell me if it works mmk??????
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<sml0820> ericwood: I did this if input == :exit exit(0) else wrong_input
<sml0820> ericwood: did not work
<lord1234> _br_ ok I will set the entire directory to 777 to see what happens
shaunbaker has joined #ruby
<ericwood> sml0820: how about you do the thing I told you about
<sml0820> _br_: its just a bingo game I am making to try to learn ruby
<ericwood> mine will work
<ericwood> yeah, just tested it, it works
joast has joined #ruby
<ericwood> okay so I take it you aren't taking my advice still
<C0C0> eric shouldn't it be exit(0) if gets.strip == 'exit' ?
<sml0820> ericwood: this worked for me, exit(0) if input == 'exit'
<ericwood> C0C0: sorry, forgot strip
<ericwood> sml0820: exactly, like I said it would
<sml0820> ericwood: but how do i include the wrong_input if it is not exit
nfk is now known as Kamijou_Touma
<ericwood> I don't even know what wrong_input is
JMcAfreak has joined #ruby
<ericwood> I cannot psychically see your code
buzzybron has quit [Quit: Leaving.]
<sml0820> ericwood: just a method, that says you typed something wrong. maybe :exit, vs "exit" was the problem
<ericwood> sml0820: regardless, you get the gist of it; gets will block and wait for user input
<lord1234> _br_ even with it 777 everywhere, no joy
<ericwood> so "gets.strip == 'exit'" is the basis of what you want
<_br_> lord1234: No clue then.
<sml0820> ericwood: yes that worked, thank you
persand has quit [Quit: persand]
<ericwood> you're welcome
tanema has joined #ruby
tanema has quit [Remote host closed the connection]
<_br_> sml0820: This is also fun to learn ruby ... https://www.bloc.io/ruby-warrior/
shaunbaker has quit [Remote host closed the connection]
danbeck has quit [Quit: danbeck]
endash has joined #ruby
<sml0820> _br_: Awesome, seems fun. Thank you
maz-dev has quit [Remote host closed the connection]
danbeck has joined #ruby
splittingred has quit [Ping timeout: 240 seconds]
<_br_> welcome
<YaNakilon> _br_ this is too short
<YaNakilon> i've made universal A.I. in 9 lines of code, the fun was just started, and I see "You won", the last level was 9
<_br_> ?
<YaNakilon> the last level is when you have enemies both directions
<_br_> ah
filipe has joined #ruby
someish has joined #ruby
<_br_> yeah, its pretty short, but its for learning only... not like some massive game or something :)
<ericwood> Ruby MMORPG
tommyvyo has quit [Quit:]
<_br_> YaNakilon: Why don't you write a AI for nethack ?
<lord1234> _br_: check this out: http://pastebin.com/abCuQimb
<lord1234> as the jenkins user
<YaNakilon> _br_ nethack makes me depressed
<someish> Is it OK to ask questions about installing gems in this channel?
aryaching has quit [Ping timeout: 240 seconds]
<YaNakilon> I find my corpses again and again
<_br_> YaNakilon: Should at least keep you busy for the next 10 years ^^
<_br_> someish: Try
zorg24 has joined #ruby
<MrZYX> lord1234: what does bundle show curb say?
joshu_ has joined #ruby
<lord1234> Could not find gem 'curb'.
jprovazn has quit [Quit: Leaving]
aryaching has joined #ruby
Matriks has quit [Remote host closed the connection]
<someish> _br_: I'm receiving a permission denied error when I try to install a gem of a specific version - i.e. gem install gem_name --version '1.1.1'. However, when I do an install without a specific version everything works as expected.
yaymukun1 has joined #ruby
tonni has joined #ruby
shaunbaker has joined #ruby
aryaching_ has joined #ruby
<MrZYX> lord1234: never used --gemfile, not sure if it persists, did you try passing it everywhere? or using the BUNDLE_GEMFILE environment variable
aryaching has quit [Read error: Connection reset by peer]
adambeynon has joined #ruby
kpshek has quit []
ezotrank has joined #ruby
<lord1234> all the other gems are ok
<lord1234> its just curb
<_br_> YaNakilon: hehe nice, I kind of stopped at core war
shaunbaker has quit [Remote host closed the connection]
hashpuppy has quit [Quit: Computer has gone to sleep.]
<_br_> someish: is this "gem" from rvm or rbenv or from your distro?
joshu has quit [Ping timeout: 264 seconds]
boblu has quit [Ping timeout: 245 seconds]
<roninn> _br_, how to pass first level? :D
<roninn> _br_, warrior.walk(); doesn't seem to work
havenwood has joined #ruby
kpshek has joined #ruby
<_br_> roninn: warrior.walk!
jibi has quit [Quit: .]
<_br_> roninn: Read maybe the instructions?
<roninn> why !
<roninn> I tried that one also, but it didn't work for the first time
<_br_> YaNakilon: The starcraft AI contests are also alot of fun... you participate in those?
<MasterAsia> YaNakilon: Link?
camilasan has quit [Remote host closed the connection]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camilasan has joined #ruby
<lord1234> _br_ and or MrZYX does it matter that I am using RVM?
<YaNakilon> _br_ I suck in RTS
<YaNakilon> MasterAsia, what?
<someish> _br_: I'm using RVM
orionstein_away is now known as orionstein
<MasterAsia> YaNakilon: Is it C only?
<MasterAsia> or ruby available?
bookmage has joined #ruby
dodosan has joined #ruby
kkh has joined #ruby
kjellski has quit [Quit: Leaving]
<YaNakilon> MasterAsia it is Javascript lol
aryaching has joined #ruby
pkuyken-ad has joined #ruby
<MasterAsia> YaNakilon: Ah. lol
buibex has quit [Remote host closed the connection]
aryaching_ has quit [Read error: Connection reset by peer]
kkh has quit [Client Quit]
krawchyk_ has joined #ruby
stuartrexkin has joined #ruby
hashpuppy has joined #ruby
wolcanus has quit [Remote host closed the connection]
buibex has joined #ruby
MasterAsia has quit [Quit: MasterAsia]
Coolhand has quit [Remote host closed the connection]
wolcanus has joined #ruby
aganov has quit [Read error: Connection reset by peer]
lmlach is now known as homelinen
BRMatt has joined #ruby
krawchyk has quit [Ping timeout: 264 seconds]
buenob has quit [Remote host closed the connection]
tylersmith has joined #ruby
buenob has joined #ruby
Banistergalaxy has joined #ruby
<_br_> lord1234: Could be the issue. If you can execute it without issues when you don't use RVM.
baroquebobcat has joined #ruby
dodosan has quit [Remote host closed the connection]
<_br_> lord1234: RVM is a weird mixture of shell hacks, you could also try to see if rbenv works.
wolcanus has quit [Ping timeout: 260 seconds]
<lord1234> _br_, sorry lemme clarify: I use rvm to execute normally, without bundler, and its ok
<lord1234> with bundler, its not
pjeide has joined #ruby
buenob has quit [Ping timeout: 248 seconds]
Guest31212 is now known as mephux
mephux has quit [Changing host]
mephux has joined #ruby
camilasan has quit [Remote host closed the connection]
<_br_> No idea.
camilasan has joined #ruby
jbpros has quit [Quit: jbpros]
spike|spiegel has quit [Quit: WeeChat 0.4.1]
__maes_ has quit [Ping timeout: 256 seconds]
lethjakm1 has joined #ruby
spike|spiegel has joined #ruby
zeade has joined #ruby
<C0C0> is there a way to get ridd of the @foo not initialized warnings that pop up when running with warnings?
soc42 has joined #ruby
<havenwood> lord1234: Another alternative to RVM and rbenv is chruby: https://github.com/postmodern/chruby#readme
<C0C0> they are a pain in the ass since pretty much every 3rd party lib produces them
sarkis has joined #ruby
froy has joined #ruby
<apeiros> C0C0: sadly the warning system sucks. it'd be nice to enable warnings only for your own library exactly for that reason.
ixti has joined #ruby
<C0C0> gosh
jbpros has joined #ruby
<apeiros> I stopped using -w exactly because of that (3rd party libs overwhelming me with warnings)
<C0C0> i allready implemented some kind of "silent" fucktion
<C0C0> that i use like silent { require 'thislib'; require 'thatlib' }
<C0C0> but pry-rescue produces warnings in every useage
zmansiv has quit [Remote host closed the connection]
<C0C0> maybee I should just fork & patch pry-rescue
ferdev has joined #ruby
tjad has quit [Ping timeout: 248 seconds]
pel_daniel has joined #ruby
Coolhand has joined #ruby
towelette55 has quit [Ping timeout: 256 seconds]
burlyscudd has quit [Quit: Leaving.]
r0bgleeson has joined #ruby
sayonara_univers has joined #ruby
roninn has quit [Read error: Operation timed out]
baroquebobcat has quit [Quit: baroquebobcat]
QQQ has quit [Ping timeout: 248 seconds]
s1n4 has joined #ruby
sevenseacat has left #ruby [#ruby]
s1n4 has left #ruby [#ruby]
burlyscudd has joined #ruby
towelette55 has joined #ruby
lethjakm1 is now known as lethjakman
tanema has joined #ruby
<_br_> C0C0: This is interesting. How does that work exactly?
Matriks has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
lyanchih has quit [Quit: lyanchih]
leeurooi has quit [Quit: I'm outta here]
thepreacher has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
sayonara_univers has quit [Ping timeout: 250 seconds]
stkowski has joined #ruby
<C0C0> _br_: ?
<C0C0> _br_ it temporarily turns of the warning mode
threesome has quit [Ping timeout: 268 seconds]
sayan has quit [Ping timeout: 264 seconds]
* lsmola is away: Away
wolcanus has joined #ruby
yaymukun1 is now known as yaymukund
baroquebobcat has joined #ruby
colonolGron has joined #ruby
v0n is now known as v1n
ghr has joined #ruby
v1n is now known as v0n
ixti has quit [Ping timeout: 264 seconds]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RubNoob has joined #ruby
aryaching_ has joined #ruby
<RubNoob> anyone had any luck/can provide an example of how to use the zk gem to create a watcher?
nomenkun_ has quit [Remote host closed the connection]
sjltaylo_ has joined #ruby
apeiros has quit [Remote host closed the connection]
Neener54 has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
<lord1234> _br_: guess I will only use bundle on Windows
<lord1234> not on linux....
<lord1234> :(
mikepack has joined #ruby
krawchyk_ has quit [Remote host closed the connection]
<lord1234> only way to make it work it seems
<MrZYX> I guess your Windows Gemfile is named Gemfile and doesn't include curb?
mrchris has joined #ruby
<mrchris> What needs to be set for 'require "rubygems"' to work?
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> Your computer probably has to be plugged in & powered on.
aryaching_ has quit [Ping timeout: 276 seconds]
<mrchris> pipework: What environment variables must be set?
<mrchris> I have an old rails app on a server and I need to test some of the ruby gems but I can't run 'require "rubygem"'
<pipework> GEM_PATH, RUBY_ROOT perhaps?
burlyscudd has quit [Quit: Leaving.]
<lord1234> MrZYX: correct
lurch_ has quit [Quit: lurch_]
maz-dev has joined #ruby
wolcanus has quit [Ping timeout: 264 seconds]
<pipework> GEM_ROOT too?
<mrchris> Which folder does GEM_PATH need to be set to?
LaPetiteFromage has joined #ruby
ferdev has quit [Quit: ferdev]
Lewix has joined #ruby
<pipework> Wherever the gem directories are for your install?
<pipework> Could be anywhere you want.
wolcanus has joined #ruby
thepreacher has quit [Quit: Leaving]
devoldmx3 has quit [Ping timeout: 276 seconds]
dash_ is now known as d45h
ferdev has joined #ruby
buenob has joined #ruby
ferdev has quit [Client Quit]
thepreacher has joined #ruby
thepreacher has quit [Read error: Connection reset by peer]
<mrchris> Ok I've just set GEM_PATH and RUBY_ROOT but it still says 'no such file to load -- rubygems', : 'export GEM_PATH=/usr/local/lib/ruby/gems/1.8' ' export RUBY_ROOT=/usr/local/bin/'
thillux has joined #ruby
<mrchris> Am I missing something else?
filipe has quit [Remote host closed the connection]
danbeck has quit [Quit: danbeck]
mando has joined #ruby
TheMoonMaster has quit [Excess Flood]
ananthakumaran has joined #ruby
<mrchris> 'gem list' works though
sambao21 has quit [Quit: Computer has gone to sleep.]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
devoldmx3 has joined #ruby
<eka> anyone on rubytapas? is it good?
Tricon has quit [Quit: Linkinus - http://linkinus.com]
kilophoton has joined #ruby
sambao21 has joined #ruby
TheMoonMaster has joined #ruby
Tricon has joined #ruby
buibex has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
ixti has joined #ruby
gazarsgo has joined #ruby
LaPetiteFromage has quit [Quit: LaPetiteFromage]
<gazarsgo> how do i tell what parsers RSS supports to be passed into default_parser ?
Neener54 has quit [Quit: Adios muchachos!!!]
mengu has quit [Quit: This computer has gone to sleep]
someish has quit [Quit: someish]
ksmth has quit [Ping timeout: 264 seconds]
colonolGron has quit [Ping timeout: 264 seconds]
VTLob has joined #ruby
mrchris has quit [Ping timeout: 250 seconds]
himsin has joined #ruby
himsin has quit [Client Quit]
viszu has quit [Quit: Leaving.]
<havenwood> mrchris: Ruby 1.8 is passed end-of-life. Can you switch to Ruby 2.0?
Astralum has quit [Read error: Connection reset by peer]
brain_shim has quit [Ping timeout: 260 seconds]
<havenwood> eka: Yeah, I like it.
luckyruby has joined #ruby
anildigi- is now known as anildigital
anildigital has quit [Changing host]
anildigital has joined #ruby
jbpros has quit [Quit: jbpros]
Cooler_ has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 260 seconds]
around_ has joined #ruby
thillux has quit [Quit: Leaving]
<eka> havenwood: k thanks
freerobby has quit [Quit: Leaving.]
danbeck has joined #ruby
thillux has joined #ruby
ehc has joined #ruby
Dreamer3 has joined #ruby
bookmage has quit [Remote host closed the connection]
camilasa_ has joined #ruby
jim0thy_ has quit [Quit: jim0thy_]
Quashie has joined #ruby
TheMoonMaster has quit [Excess Flood]
camilasan has quit [Ping timeout: 240 seconds]
TheMoonMaster has joined #ruby
<gazarsgo> anyone know if feedzirra will parse MRSS ?
avril14th has quit [Remote host closed the connection]
apeiros has joined #ruby
senayar has joined #ruby
noname001 has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ghr has quit [Quit: Computer has gone to sleep.]
ryannielson has joined #ruby
burlyscudd has joined #ruby
splittingred has joined #ruby
stuartrexkin has quit [Quit: Leaving...]
geekbri_ has joined #ruby
<RubNoob> has anyone here used the zk gem?
xue has quit [Ping timeout: 264 seconds]
xcv has joined #ruby
threesome has joined #ruby
dangerousdave has quit [Quit: Linkinus - http://linkinus.com]
saarinen has joined #ruby
RichardBaker has joined #ruby
timonv has joined #ruby
xcv has quit [Read error: Connection reset by peer]
geekbri has quit [Ping timeout: 276 seconds]
jtgiri_ has joined #ruby
xcv has joined #ruby
tanema has quit [Remote host closed the connection]
noopq has joined #ruby
rcosta has joined #ruby
rcosta has quit [Remote host closed the connection]
rcosta has joined #ruby
saarinen has quit [Quit: saarinen]
ephemerian has quit [Quit: Leaving.]
qubozik_ has quit [Quit: Leaving]
burlyscudd has quit [Ping timeout: 264 seconds]
xcv has quit [Ping timeout: 240 seconds]
thillux has quit [Quit: Leaving]
saarinen has joined #ruby
motto has joined #ruby
dmerrick has joined #ruby
apeiros has quit [Remote host closed the connection]
chrisja has joined #ruby
pjeide has quit [Quit: Leaving.]
jonathanwallace has quit [Read error: Operation timed out]
thillux has joined #ruby
nightshade427 has joined #ruby
jbpros has joined #ruby
ixti has joined #ruby
thillux has quit [Read error: Connection reset by peer]
<nightshade427> Is there a rest api or similar for ruby-doc.org? Trying to create apibot for irc for ruby
love_color_text has joined #ruby
gazarsgo_ has joined #ruby
gazarsgo has quit [Ping timeout: 260 seconds]
gazarsgo_ is now known as gazarsgo
brennanM_ has joined #ruby
brennanMKE has quit [Ping timeout: 262 seconds]
narcan has quit [Write error: Broken pipe]
m8 has quit [Ping timeout: 246 seconds]
danbeck has quit [Quit: danbeck]
apeiros has joined #ruby
danbeck has joined #ruby
brennanMKE has joined #ruby
jbpros has quit [Client Quit]
mark_locklear has quit [Ping timeout: 264 seconds]
mklappstuhl has joined #ruby
<Donovan> so here's a question I haven't been able to find an answer to... in ruby, how can you programmatically return self (for method chaining) or a string value (when not being chained)?
burlyscudd has joined #ruby
Matriks has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
<apeiros> Donovan: you use different methods
nightshade427 has left #ruby [#ruby]
<apeiros> "say what you mean"
<Donovan> more succinctly, I need to return a method or the value of that methods call
<Donovan> database lookup. in 'def []
khushildep has joined #ruby
axeman- has joined #ruby
sjltaylo_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Donovan> I need to either look up the value and return it, or return the SQL query method
<Donovan> the latter so I can chain it with other query methods
<Donovan> apeiros: separate methods won't work for me in this example.
<apeiros> same methods doing different things in different contexts == bad idea anyway
brennanM_ has quit [Ping timeout: 276 seconds]
rcosta_ has joined #ruby
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
<Donovan> not necessarily
Banistergalaxy has quit [Ping timeout: 264 seconds]
<Donovan> for instance, perl has 'wantarray'
thillux has joined #ruby
Voodoofish430 has joined #ruby
rcosta has quit [Ping timeout: 246 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
<apeiros> yeah. back when perl was one of my first programming languages, I even liked that.
<apeiros> now I think that's one of its deeper flaws.
pen has quit [Read error: Connection reset by peer]
<apeiros> but it doesn't matter. ruby doesn't provide a way to figure whether you chain or not
pen has joined #ruby
<apeiros> the things you can distinguish within methods are: which self, which method invoked, what args passed, block passed.
<pipework> Isn't that what aspect-oriented programming is about?
<pipework> I wouldn't know, it's the most boring thing to read about.
thillux has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
thillux has joined #ruby
<Donovan> hmmm... shame, that.
gildo has quit [Ping timeout: 246 seconds]
sayan has joined #ruby
<apeiros> what you can do is a) use different methods, or b) return an intermediary result upon which you tell how to proceed
<Donovan> I suppose I could use another class... and return that class, which has a to_s method
<Donovan> but that seems wonky to me
<Donovan> thanks, though, in any case
rippa has joined #ruby
sambao21 has joined #ruby
thillux has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
axl_ has joined #ruby
mark_locklear has joined #ruby
i_s has joined #ruby
jp- has joined #ruby
ntus1017 has joined #ruby
thillux has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
dankest has joined #ruby
dodosan has joined #ruby
zombiebit has quit [Remote host closed the connection]
lxsameer has joined #ruby
<lxsameer> is it possible to found out, which ruby file added and specific method to a class ?
BSaboia has quit [Ping timeout: 264 seconds]
tkuchiki has quit [Remote host closed the connection]
l33_ has joined #ruby
_JamieD_ has quit [Quit: _JamieD_]
freerobby has joined #ruby
yano has quit [Quit: WeeChat, The Better IRC Client: http://weechat.org/]
thillux_ has joined #ruby
troessner has quit [Write error: Connection reset by peer]
jonathanwallace has joined #ruby
colonolGron has joined #ruby
<eka> lxsameer: or method_added etc...
<eka> lxsameer: all there :)
towelette55 has quit [Ping timeout: 276 seconds]
camilasa_ has quit [Remote host closed the connection]
zabojnar has joined #ruby
<zabojnar> hi
<lxsameer> eka: let me check
<zabojnar> is anyone here using sidekiq?
blackmesa has joined #ruby
randomautomator has joined #ruby
klaut has quit [Remote host closed the connection]
<Xeago> what environment variable does pry get its editor from?
jonathanwallace1 has joined #ruby
thillux__ has joined #ruby
jonathanwallace has quit [Read error: Connection reset by peer]
gildo has joined #ruby
<lxsameer> zabojnar: ask your question
thillux_ has quit [Read error: Connection reset by peer]
thillux__ has quit [Read error: Connection reset by peer]
thillux has quit [Read error: Connection reset by peer]
thillux has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
randomau_ has joined #ruby
<zabojnar> well, I just can't get the retries to work and was wondering if someone could point out something obvious that I am missing about retries
lord1234 has left #ruby [#ruby]
thillux_ has joined #ruby
thillux has quit [Read error: Connection reset by peer]
<Xeago> braagh I am going crazy
<Xeago> anyone mind if I ask a very simple rails'ish question here? #ror is slow
thillux has joined #ruby
zorg24 has quit [Ping timeout: 256 seconds]
randomautomator has quit [Ping timeout: 264 seconds]
<zabojnar> Xeago, go ahead
<Xeago> some values in my model are not being set, what am I doing wrong? https://gist.github.com/Xeago/55d8e156399be7d16c96
<Xeago> I have verified that the values in #create are correct
afd__ has quit [Ping timeout: 245 seconds]
Kruppe has joined #ruby
io_syl has joined #ruby
dkamioka has joined #ruby
jonathanwallace2 has joined #ruby
<zabojnar> Xeago, user_id: user.id or just user: user
thillux_ has quit [Read error: Connection reset by peer]
thillux has quit [Read error: Connection reset by peer]
<zabojnar> billing info - exactly the same problem
<Xeago> but.. you can User.find(user)
<Xeago> where user is an user object
LaPetiteFromage has joined #ruby
<Xeago> and you can do where BillingInformation.where(user: current_user)
jonathanwallace1 has quit [Ping timeout: 248 seconds]
<Xeago> trying it now
<brisbin> rails have places it will automatically call to_param on the object given to make it an ID
<brisbin> this is not one of them
<brisbin> (it seems)
<Xeago> thanks
zabojnar has quit [Quit: Textual IRC Client: www.textualapp.com]
<brisbin> i can never remember what works and what doesn't so i just try different combinations of foo: foo, foo_id: foo, and foo: foo.id until it works :D
badquanta has quit [Remote host closed the connection]
carlyle has joined #ruby
pentameter has joined #ruby
afd__ has joined #ruby
thillux has joined #ruby
<sml0820> does anyone know if each_with_index starts at 0 or 1?
nadirvardar has joined #ruby
timonv has quit [Remote host closed the connection]
<brisbin> as with any sane implementation of indexing, 0
<sml0820> brisbin: ty
thillux has quit [Read error: Connection reset by peer]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
thillux has joined #ruby
thillux has quit [Read error: Connection reset by peer]
thillux_ has joined #ruby
thillux_ has quit [Read error: Connection reset by peer]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
thillux has joined #ruby
khushildep has quit [Ping timeout: 246 seconds]
yano has joined #ruby
r4nd0m1 has joined #ruby
johnnyfuchs has joined #ruby
gazarsgo has quit [Quit: gazarsgo]
goleldar has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
fgo has quit [Remote host closed the connection]
lucazi_ has joined #ruby
lucazi has quit [Ping timeout: 246 seconds]
arietis has joined #ruby
gazarsgo has joined #ruby
aryaching has joined #ruby
<C0C0> is there a generall "prefere each_with_index over .each.with_index" or the other way around?
<C0C0> I tend to use each.with_index
sqd has quit [Quit: sqd]
colonolGron has quit [Ping timeout: 268 seconds]
c0rn has joined #ruby
rcosta_ has quit [Remote host closed the connection]
michaeldeol has joined #ruby
<MrZYX> in theory each_with_index might be faster because it's one less method call from ruby land, but hardly measurable I bet
obs has quit [Quit: Konversation terminated!]
<apeiros> it also doesn't need to construct an Enumerator
<MrZYX> I tend to prefer each_with_index but without any reasoning
<brisbin> agreed, each.with_index is weird though i can't really formulate why
brain_shim has joined #ruby
_JamieD_ has joined #ruby
_JamieD_ has quit [Client Quit]
<C0C0> somehow i considere it cleaner because its more generall
<C0C0> ...
locriani has joined #ruby
tbrock has joined #ruby
<MrZYX> but then in ruby we have methods and aliases for all possible situations ;)
<C0C0> yeah
<C0C0> execpt for "responds_to?"
<MrZYX> I guess you could rip quite a bit of core if you'd only allow "the general way"
RichardBaker has quit [Quit: RichardBaker]
sml0820 has quit [Quit: sml0820]
shadoi has joined #ruby
burlyscudd has quit [Quit: Leaving.]
Quashie has quit [Ping timeout: 256 seconds]
<C0C0> I will always try to use responds_to? and includes? instead of respond_to? and include?
<MrZYX> hehe, responds_to? happens to me too
Neomex has joined #ruby
Neomex has quit [Client Quit]
nomenkun has joined #ruby
Andrevan has joined #ruby
Andrevan has joined #ruby
Andrevan has quit [Changing host]
k610 has quit [Ping timeout: 260 seconds]
altamic has joined #ruby
soc42 has quit [Remote host closed the connection]
altamic has quit [Client Quit]
ndrei has joined #ruby
altamic has joined #ruby
altamic has left #ruby [#ruby]
spider-mario has joined #ruby
burlyscudd has joined #ruby
altamic has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
<pontiki> grrr node problems
krawchyk has joined #ruby
maz-dev has quit [Remote host closed the connection]
lushious has joined #ruby
altamic has left #ruby [#ruby]
apeiros has quit [Remote host closed the connection]
guns has joined #ruby
apeiros has joined #ruby
RichardBaker has joined #ruby
<pipework> pontiki: lol.
rovar_ has joined #ruby
moted has quit [Quit: moted]
moted has joined #ruby
jonkri has quit [Quit: jonkri]
thillux has quit [Quit: Leaving]
thillux has joined #ruby
Al_ has quit [Quit: Al_]
tanema has joined #ruby
apeiros has quit [Ping timeout: 246 seconds]
rovar has quit [Ping timeout: 248 seconds]
jaimef has quit [Excess Flood]
elux has quit [Quit: Leaving...]
mityaz has joined #ruby
jaimef has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
thepumpkin has joined #ruby
browndawg has left #ruby [#ruby]
workmad3 has joined #ruby
jefflyne has joined #ruby
banisterfiend has joined #ruby
Neomex has joined #ruby
marcdel has joined #ruby
codecop has joined #ruby
banisterfiend has quit [Client Quit]
Neomex has quit [Client Quit]
banisterfiend has joined #ruby
Xeago has quit [Remote host closed the connection]
sambao21 has joined #ruby
chrisja has quit [Quit: leaving]
maxmanders has joined #ruby
r0bgleeson has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
fenicks has joined #ruby
radic_ has joined #ruby
Kruppe has quit [Remote host closed the connection]
colonolGron has joined #ruby
Kruppe has joined #ruby
bookmage has joined #ruby
radic__ has quit [Ping timeout: 256 seconds]
burlyscudd has quit [Quit: Leaving.]
tatsuya_o has joined #ruby
xcv has joined #ruby
rcosta has joined #ruby
Krajsnick has joined #ruby
popl has joined #ruby
zombiebit has joined #ruby
luki3k5 has joined #ruby
roninn has joined #ruby
rcosta has quit [Remote host closed the connection]
<luki3k5> hi there
kilophoton has quit [Ping timeout: 276 seconds]
xcv has quit [Read error: Connection reset by peer]
luki3k5 has quit [Client Quit]
zombiebit has quit [Client Quit]
starship has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
zombiebit has joined #ruby
<MrZYX> 27 seconds, new record?
zombiebit has quit [Client Quit]
juarlex has quit [Ping timeout: 256 seconds]
zombiebit has joined #ruby
juarlex_ has joined #ruby
zmansiv has joined #ruby
<dankest> Can I use a hash as a key to a hash?
rcosta has joined #ruby
<MrZYX> if it's .hash stays constant (or you never need to query the value with it)
starship has joined #ruby
mary5030_ has joined #ruby
<MrZYX> *its
mary5030 has quit [Ping timeout: 240 seconds]
<hashpuppy> foo = Foos.all; foos.sort{|x| x.name}; ArgumentError: comparison of String with 0 failed
<hashpuppy> what's that mean
<hashpuppy> foo.sort
<dankest> MrZYX
<heftig> use sort_by
<dankest> thanks
<hashpuppy> doh. thanks
rupee has joined #ruby
<xybre> shevy: I'm of the opinion that IRC software should always visually distinguish nicks with the same length that start with the same letter.
ebanoid has quit [Quit: brbomgwtfbbq]
rezzack has joined #ruby
ruby050 has joined #ruby
ruby050 has quit [Client Quit]
predator117 has quit [Ping timeout: 264 seconds]
Matriks has joined #ruby
sventon has joined #ruby
predator117 has joined #ruby
ehaliewicz has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
stuartrexking has joined #ruby
timonv has joined #ruby
rcosta_ has joined #ruby
Es0teric has joined #ruby
zmansiv has quit []
elaptics is now known as elaptics`away
adambeynon has joined #ruby
maz-dev has joined #ruby
rcosta has quit [Ping timeout: 264 seconds]
axl_ has quit [Quit: axl_]
burlyscudd has joined #ruby
_ffio_ has joined #ruby
lambda_ has quit [Quit: lambda_]
mityaz has quit [Quit: See ya!]
apeiros has joined #ruby
carlyle has quit [Remote host closed the connection]
geekbri_ has quit [Remote host closed the connection]
jtgiri_ has quit [Quit: jtgiri_]
tatsuya_o has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 276 seconds]
geekbri has joined #ruby
ffio_ has quit [Ping timeout: 264 seconds]
c0rn has quit [Ping timeout: 260 seconds]
rcosta_ has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
c0rn has joined #ruby
starship has quit [Changing host]
starship has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
psyprus has joined #ruby
anderson has quit [Quit: Leaving]
axl_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
noopq has quit [Ping timeout: 245 seconds]
Eiam has joined #ruby
someish has joined #ruby
JimmyNeutron has joined #ruby
Vicmaster has joined #ruby
Tricon has quit [Quit: Linkinus - http://linkinus.com]
Tricon has joined #ruby
carraroj has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
systing has quit [Quit: leaving]
teddyp1cker has joined #ruby
<Paradox> banisterfiend, lol at those pythonistas confused about instance variables
<popl> haha fuck those guys
weeems has joined #ruby
<popl> amirite?
<popl> :P
<Paradox> banister goes in and schools noobs
<popl> oooh, internet fight
<Paradox> fucking awesome
<popl> where everyone's a loser!
<popl> ;P
<Morrolan> What's so confusing about instance variables? *scratches head*
<Morrolan> Python... has those too. Kind of.
jerius_ has joined #ruby
<popl> something something flame war something special olympics
<bricker`LA> I'm trying to see if `hash.clear` or `hash = {}` is faster, but can't think of a good way to benchmark it. This is what I have https://gist.github.com/bricker/6272454 but I don't think that's really checking anything
<bricker`LA> I *assume* hash.clear is faster, but wanted to be sure
<popl> bricker`LA: premature optimization?
<bricker`LA> popl: nope, just curiosity
<Paradox> Morrolan, the thread is in r/python, so naturally its going to be full of hate-jerking
rmcafee has joined #ruby
<Paradox> because of GIDSWAD
<Morrolan> Oh, that's one of those threads, I see.
<popl> Paradox: GIDSWAD?
<Paradox> guido is a douche so we are douches
<popl> oh
<Paradox> the python version of MINSWAN
rmcafee has quit [Client Quit]
jerius has quit [Ping timeout: 248 seconds]
<popl> but people here aren't nice
<popl> not all of them
rmcafee has joined #ruby
<Morrolan> Matz is nuts so we are nuts?
jtgiri_ has joined #ruby
<Paradox> lol: "python is top class in homebrew web dev"
<Paradox> and he cites django
<Paradox> thats like citing wordpress for reasons why php isnt terrible
<Morrolan> Anyway, I like both Python as well as Ruby, and both seem to have nice (IRC) communities. *shrug*
monkegjinni has joined #ruby
<Morrolan> Except that #python is a tad more religious when it comes to network programming. *snickers*
<Paradox> really?
<bricker`LA> I like #python, they have helped me with a lot.
_honning_ has joined #ruby
<Paradox> my experience in #python was more evidence for me to leave the language
<Paradox> because no matter what i did they treated me like shit
monkegji_ has joined #ruby
<popl> The one constant I find in #python, #ruby, and #perl is there is very little if any love expressed for PHP
<Morrolan> popl: Haha.
<Paradox> PHPSUCKS = true
<Morrolan> I wonder what #php is like. :)
<popl> COCKS
<popl> ^
<Paradox> Morrolan, I CANT GET WORDPRESS INSTALLED HELP PLS
<onewheelskyward> Noone who goes ever comes back.
<popl> onewheelskyward: I went there before.
<Paradox> SOMEONE WANT TO HELP ME MAKE A DRUPAL SITE? ILL PAY YOU $50
<onewheelskyward> The same. Ever comes back the same. :)
<Morrolan> Paradox: Oh, come on now, it's not as if #ruby wouldn't have people who ask questions like these. ;)
<Paradox> Morrolan, no, but people are far more friendly in the ruby community in general
<Morrolan> "Hey, how do I print to the console?" then, five minutes later, "Hey, how do I <do some other basic thing>".
<Paradox> i got soured by python after taking a year of cs and seeing the python sperglords being huge asshats
<Morrolan> That might be the case. :)
weeems has quit [Ping timeout: 264 seconds]
<Paradox> while the ruby guys were friendly
<eka> Paradox: isn't there a #drupal channel?
tmi has joined #ruby
<Paradox> eka, idk i dont use psuedoframeworks ;)
<popl> attack ships on fire off the shoulder of Orion
<Paradox> like… in cs i used a mac because macs are awesome. I cant tell you the number of dorklings that went out of their way to criticize it, sometimes walking across the room just to leave a commentary
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<eka> ah joking … . ok
<popl> I try not to participate in language hate.
<Paradox> i eventually started having my girlfriend sit next to me just to scare off dweebs
<Paradox> so i could get work done
huevon has quit [Quit: huevon]
<eka> Paradox: did you forgot to take the pill?
nomenkun has quit [Remote host closed the connection]
<Paradox> red pill?
Fire-Dragon-DoL has joined #ruby
<Paradox> i dont do that crap
<Morrolan> Blue?
lambda_ has joined #ruby
<Paradox> nah, thats the other end of the spectrum of insane
monkegjinni has quit [Ping timeout: 268 seconds]
platzhirsch has joined #ruby
<platzhirsch> What's up in the Ruby mine
hasrb has joined #ruby
geggam has joined #ruby
<popl> platzhirsch: creepers
<popl> and cave spiders
<Morrolan> Little, dirty, unfed children, digging for rubies.
<eka> don't feed the trolls!
eka has left #ruby ["Textual IRC Client: www.textualapp.com"]
eka has joined #ruby
<popl> eka: that discounts half the #ruby population
<havenwood> bricker`LA: Easier to see the speed difference clearing an empty hash: https://gist.github.com/havenwood/6272523
<eka> popl: not sure… but I take your word
<havenwood> (Since you're not taking most the time building the hash, which makes the time difference harder to distinguish through the noise.)
<Paradox> did i share the cheap glass ruby gems i found on amazon here?
<Paradox> bought some for all our devs and they're kind of cool
<Paradox> i know i shared it in #rubyonrails
<havenwood> Paradox: nice
<havenwood> Link?
<eka> I like
<Andrevan> paradox, buying some
rippa has quit [Ping timeout: 248 seconds]
<bricker`LA> havenwood: good idea
vlad_starkov has joined #ruby
rippa has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lele has quit [Ping timeout: 240 seconds]
tmi has quit [Quit: tmi]
timonv has quit [Remote host closed the connection]
horofox has quit [Quit: horofox]
k610 has joined #ruby
l33_ has quit [Ping timeout: 248 seconds]
blackmesa has quit [Quit: WeeChat 0.4.1]
choobie has quit [Ping timeout: 264 seconds]
Iszak has joined #ruby
carraroj has quit [Read error: Connection reset by peer]
renderful has quit [Remote host closed the connection]
carraroj has joined #ruby
BRMatt has quit [Ping timeout: 268 seconds]
horofox has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
companion is now known as Companion
weeems has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
zph has joined #ruby
zph has quit [Excess Flood]
pjeide has quit [Quit: Leaving.]
blackmesa has joined #ruby
zph has joined #ruby
rcosta has joined #ruby
kjellski has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
ebouchut has joined #ruby
dmyers has joined #ruby
sambao21 has joined #ruby
hasrb has quit [Remote host closed the connection]
rcosta has quit [Remote host closed the connection]
horofox has quit [Quit: horofox]
c0rn has joined #ruby
sparq_ has joined #ruby
kirun has quit [Ping timeout: 245 seconds]
around_ has quit [Quit: around_]
cads has joined #ruby
choobie has joined #ruby
choobie has joined #ruby
io_syl has quit [Quit: io_syl]
huevon has joined #ruby
tanema has quit [Remote host closed the connection]
kilophoton has joined #ruby
someish has quit [Quit: someish]
nanoxd has joined #ruby
mary5030 has joined #ruby
Bira_ has quit [Quit: Leaving]
rcosta has joined #ruby
bookmage has quit [Ping timeout: 240 seconds]
someish has joined #ruby
alvaro_o has joined #ruby
mary5030_ has quit [Ping timeout: 248 seconds]
_ffio_ has quit [Quit: WeeChat 0.4.1]
c0rn has quit [Quit: Computer has gone to sleep.]
jtgiri_ has quit [Quit: jtgiri_]
hadees_ has joined #ruby
frikii has quit [Quit: Smell ya later!]
Vivekananda has joined #ruby
brain_shim has quit [Ping timeout: 268 seconds]
hadees has quit [Ping timeout: 264 seconds]
hadees_ is now known as hadees
saarinen has quit [Quit: saarinen]
jtgiri_ has joined #ruby
jonathanwallace2 has quit [Quit: WeeChat 0.4.1]
devoldmx27 has joined #ruby
i_s has quit [Remote host closed the connection]
brain_shim has joined #ruby
brain_shim has quit [Max SendQ exceeded]
brain_shim has joined #ruby
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
zeade has quit [Quit: Leaving.]
ananthakumaran has quit [Quit: Leaving.]
devoldmx3 has quit [Ping timeout: 264 seconds]
marcdel has quit [Quit: Textual IRC Client: www.textualapp.com]
amacgregor has quit [Ping timeout: 276 seconds]
stuartrexking has quit [Read error: Connection reset by peer]
jonathanwallace has joined #ruby
hasrb has joined #ruby
Neomex has joined #ruby
supergiantrobot_ has quit [Quit: supergiantrobot_]
Neomex has quit [Client Quit]
jerius has joined #ruby
Quashie has joined #ruby
n3rd has joined #ruby
choobie has quit [Ping timeout: 264 seconds]
michaeldeol has quit [Remote host closed the connection]
someish has quit [Quit: someish]
Davey has joined #ruby
jerius_ has quit [Ping timeout: 276 seconds]
<n3rd> would someone be able to assist me in writing a ruby script to take a file with a list of words 1 on each line and print it to all be on 1 line seperated by | please?
jtgiri_ has quit [Quit: jtgiri_]
<pontiki> File.readlines("filename").map(&:chomp).join("|")
<pontiki> oops
<dkamioka> n3rd: easier here, huh? ;)
wolcanus has quit [Remote host closed the connection]
<pontiki> puts File.readlines("filename").map(&:chomp).join("|")
<eka> pontiki: you beat me to it, +1
<pontiki> there
<popl> woohoo, homework help
<Eiam> srsly
<n3rd> im not doing homework
<apeiros> pontiki: just File.read(path).gsub(/\n/, '|') ?
<pontiki> good lord, if that's a piece of homework, i fear for student learning
<apeiros> or even tr
<Eiam> pontiki: that totally sounds like comp sci API homework from my C++ days
<pontiki> TMTOWODT
<Eiam> like, 14 years ago =0
<Eiam> AP
<dkamioka> wow, to remove \n
<dkamioka> you use .map(&:chomp) ?
<apeiros> eka: please remain calm while we install the new XBasketHole software on amazon
<dkamioka> did not know that.
<apeiros> eka: this is all for the safety of your children!
<dkamioka> I think i used another method...
<eka> lol
<dkamioka> dont remember it now though.
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
<popl> pontiki: I've done sillier stuff for a programming class.
i_s has joined #ruby
dlind has quit [Quit: leaving]
<pontiki> as an assignment?
<Eiam> yes
<popl> pontiki: yeah dude
mneorr has joined #ruby
<pontiki> o.o
<pontiki> YOU KIDS HAVE IT EASY
<Eiam> I've had assignments that ranged from "create a bubble sort" and "created a double linked list"
<popl> as part of an assignment anyways
dlind has joined #ruby
<eka> throwing money away :P
<Eiam> to "take this input and output it as this other basic thing"
<n3rd> Eiam: I have had to do those same things
hamakn has quit [Remote host closed the connection]
<Eiam> eka, pontiki this was in high school..
<Eiam> so, property tax money..
<popl> yeah
<Eiam> I think having 9th & 10th graders do that is perfectly fine.
<popl> or middle school
<pontiki> oh, ok
<pontiki> sorry
<popl> with Tandy computers
<pontiki> heehee
hamakn has joined #ruby
<popl> Apple ][e
fantazo has joined #ruby
<pontiki> high school, all we had were tty33s and BASIC
<Eiam> in college i think if you came prepared (took comp sci in high school) you should be well beyond those sorts of homework assignments.
<pontiki> AND WE LIKED IT
<popl> pontiki: neato
<popl> no you didn't
<popl> quit lying
<pontiki> actually, it was heaps of fun at the time
<pontiki> cos we didn't know any better
<Eiam> we used borland builder
<Eiam> for our C++
spider-mario has joined #ruby
<eka> borland builder? that's now… I remember Turbo C!!
<pontiki> my first C++ was Turbo C++
<eka> turbo C Dos was great
<pontiki> back in the 80's?
<eka> early 90s
<eka> very early
<eka> end 80s
<Eiam> yeah.. this was like 1999-2000
ryannielson has quit [Quit: ryannielson]
<Eiam> we used something before builder but I forgot what it was. builder was when we moved onto "visual" C++
<Eiam> as in, apps with GUIs
Wildhoney has joined #ruby
allsystemsarego has quit [Quit: Leaving]
nomenkun has joined #ruby
hamakn has quit [Ping timeout: 248 seconds]
ehc has quit [Quit: ehc]
mneorr has quit [Ping timeout: 245 seconds]
choobie has joined #ruby
choobie has quit [Changing host]
choobie has joined #ruby
pjeide has quit [Ping timeout: 276 seconds]
<pontiki> WE ARE SO AWESOME
Neomex has joined #ruby
<Eiam> pontiki: so, I just left my kids school this morning and they were going over how they teach now
ehc has joined #ruby
Neomex has quit [Client Quit]
<Eiam> pontiki: They give you the answer to a question and ask you what the question was
<Eiam> pontiki: so instead of "what is 5+4?" they say "The answer is 9. What could the question be?"
<pontiki> Jeopardy on the Schools!
<Eiam> pontiki: instead of "What do goldfish eat?" they get "If a goldfish at human food, what might happen to it?"
<popl> "How many children am I going to have before I reach my 25th birthday?"
<pontiki> our guest speaker this week is ALex Trebec
stuartrexking has joined #ruby
<Eiam> pontiki: I'm not convinced its the "right" way, but its certainly different from how my schooling was!
<pontiki> kind of neat style
<popl> meh
<Eiam> pontiki: near complete elimination of multiple choice questions too
<Eiam> almost all questions are free form
stuartrexking has quit [Client Quit]
<Eiam> (sucks for the teachers!)
<pontiki> the thing with that style, is that it encourages more critical thinking
<Eiam> pontiki: yes, that was the touted goal
twoism has joined #ruby
<pontiki> but it only works for children who are capable of generative thinking as well, and are resourceful
<pontiki> but not all children are, either by ability, or, probably more importantly, whole child situation
goleldar has quit [Ping timeout: 264 seconds]
<pontiki> do they also do away with homework?
goleldar has joined #ruby
<Eiam> no, homework 7 days a week
cajueiro has joined #ruby
<pontiki> hmm
Dreamer3 has quit [Quit: Leaving...]
<Eiam> of the same type of questions though
<pontiki> okay, right away, i'm backpedaling from that site
senayar has quit [Remote host closed the connection]
<Eiam> pontiki: oh, i just loaded it, its a mess
<Eiam> hard to navigate =)
<Eiam> i just remembered the name they were calling it so looked up the site
twoism has quit [Remote host closed the connection]
decoponyo has quit [Quit: Leaving...]
ebanoid has joined #ruby
twoism has joined #ruby
robonerd has joined #ruby
<pontiki> nod
<pontiki> might be because there's too much brown :)
axl_ has quit [Ping timeout: 248 seconds]
momomomomo has joined #ruby
axl_ has joined #ruby
michaeldeol has joined #ruby
<Eiam> eka: totally
<Eiam> eka: I'm okay with not addressing that issue until a bit later
<Eiam> fundamentally to be a functioning member of society and be able to see beyond "member of society" everyone should probably learn to read & write & math
<Eiam> and as far as I'm concerned, grades 1-5 can take care of that
<pontiki> Eiam: the issue with much of the implementation of things like that, and things like NCLB, and practically every large scale attempt at "fixing" schools is that it's applied like a friggin hammer
ebouchut has quit [Quit: This computer has gone to sleep]
<Eiam> afterwards, well, we will see. I've long wanted to homeschool! =)
Neomex has joined #ruby
Neomex has quit [Client Quit]
<pontiki> i've seen it work extremely well, and also fall completely to pieces
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
staafl has joined #ruby
<Eiam> pontiki: I'm not really sure yeah, you can't "wide scale" fix anything
<Eiam> pontiki: fundamentally, schools cannot handle every personality type
<pontiki> nope
<Eiam> its kind of up to parents to handle that
lxsameer has quit [Ping timeout: 260 seconds]
<pontiki> public schools, as they are today, definitely not
momomomomo has quit [Client Quit]
<Eiam> or very small schools
jonkri has joined #ruby
jonkri has joined #ruby
jonkri has quit [Changing host]
<Eiam> like a community homeschool of 8 kids
<pontiki> in any given location, there may be no alternative for some personalities, some individuals
<havenwood> Paradox: Thanks for the link, ordered a few. :)
danieldax_ has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
<havenwood> Who knows when you might need a glass Ruby!
<pontiki> and the variance in teachers abilities, and the usually abysmal effects of school administrators means things like individuation will fail
musl has quit [Quit: WeeChat 0.4.1]
robustus has joined #ruby
<pontiki> it's a tough situation
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
zavier has joined #ruby
<Eiam> pontiki: I don't think schools need to solve the problem of individualization, they just need to make sure people have the skills necessary to develop individualization on their own or with their parents help =)
<pontiki> also the case that *parents* can't necessarily handle teaching their kids, too
<Eiam> also, can't be that bad, a lot of functioning members of society at this very moment came from public school =)
<pontiki> yes
<pontiki> it's a system that works
mmitchell has quit [Read error: Operation timed out]
<pontiki> it has problems
<C0C0> homescholing is quite a nontrivial problem
<pontiki> but it isn't broekn
<C0C0> here its forbidden
<Eiam> pontiki: sounds like my code =)
<pontiki> where is here, C0C0
<C0C0> to prevent religios fanatics from fucking up future generations
<C0C0> germany
<Eiam> It's a system that works, it has problems, but it isn't broken
<Eiam> C0C0: ah, you can do it here but the state has standardized stuff you have to pass through
timonv has joined #ruby
<pontiki> Eiam: it's an important distinction, though; so many people quite believe our public school system is a complete failure and should be trashed
<Eiam> so you can say "I'm home schooling" and not be actually teaching anything
<Eiam> cant
pygospa has quit [Quit: leaving]
<popl> yes you can
<popl> I'm home schooling.
<popl> ^
<C0C0> Eiam: well its less about "they come out not knowing how to do math"
<pontiki> location is important there, popl
<popl> pontiki: location, location, location
nomenkun has quit [Remote host closed the connection]
<C0C0> but more like "they come out thinking that $deity's favourite paperwork should be regarded as law"
<popl> oh brother
<Eiam> ahwell
<Eiam> can't argue with that as being a good thing to avoid =)
<Eiam> one of my dear friends growing up was home schooled
<Eiam> her parents bought a house in colorado to avoid the impending y2k holocaust or whatever
<Eiam> stocked up on supplies & moved out there to survive..
<pontiki> not safe from airplanes falling out of skies!!
wicketn00b has joined #ruby
<Eiam> oh religion, you so silly sometimes =)
<C0C0> yeah nutjobs like that
<C0C0> or political indoctrination for the matter of fact
danieldax_ has left #ruby ["http://quassel-irc.org - 随时随地畅谈。"]
<pontiki> or those nuke satellites that dropped out of orbit!!
<pontiki> i remember all that happening....
danieldax has joined #ruby
stuartrexking has joined #ruby
rickmasta has joined #ruby
jdenen has quit [Read error: Connection reset by peer]
jdenen1 has joined #ruby
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
teddyp1cker has quit [Ping timeout: 268 seconds]
lele has joined #ruby
jtgiri_ has joined #ruby
<C0C0> but germany is quite strict with respect to religion (e.g. scientology is officially regarded as a scam not as a religion)
timonv has quit [Remote host closed the connection]
pygospa has joined #ruby
<apeiros> for good reason
benjamin_ has joined #ruby
<benjamin_> i'm developing an application that uses Watir to automatically browse an internet site
<pontiki> cool
sml0820 has joined #ruby
luckyruby has quit [Remote host closed the connection]
jtgiri_ has quit [Ping timeout: 240 seconds]
<benjamin_> i'm having trouble navigating to the correct site. i am able to log in but from there im not sure what link to provide
sml0820 has quit [Client Quit]
hamakn has joined #ruby
devoldmx27 has quit [Ping timeout: 246 seconds]
<pontiki> here's my suggestion: start up an irb or pry session, load in watir, and fire it up on the site. then just gather the links and see what's there
huevon has quit [Quit: huevon]
RichardBaker has joined #ruby
<pontiki> it's pretty easy to combine that with using the browser inspector and the same time
jtgiri_ has joined #ruby
<benjamin_> that's what im doing, but one link wont execute in the code
<pontiki> are you sure it's a link?
around_ has joined #ruby
altamic has joined #ruby
<pontiki> what happens when you click it in the browser?
altamic has left #ruby [#ruby]
<benjamin_> i think it's in an iframe
<benjamin_> i navigates to another page
renderful has joined #ruby
<pontiki> if it's in an iframe, you need to tell watir how to get the iframe, then drill into that
kevinykchan has quit [Quit: Computer has gone to sleep.]
<pontiki> then grab the link out of that
devoldmx3 has joined #ruby
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030 has quit [Remote host closed the connection]
<benjamin_> how can i tell if it's an iframe?
St_Marx has quit [Remote host closed the connection]
<benjamin_> and how would i navigate into it?
carraroj has quit [Quit: Konversation terminated!]
sambao21 has quit [Quit: Computer has gone to sleep.]
St_Marx has joined #ruby
motto has quit [Changing host]
motto has joined #ruby
motto is now known as m8
<shevy> bricker`LA I would argue that .clear must be faster than reassignment especially for a huge hash
ndrei has joined #ruby
tanema has joined #ruby
<pontiki> look at it with the inspector
<pontiki> if it's labeled somehow, with id, for example, you can find it on the page with .iframe(id: "id")
<pontiki> or get them all with iframes
<pontiki> and work through until you find the one you want
dojosto has joined #ruby
sambao21 has joined #ruby
mary5030 has joined #ruby
hamakn has quit [Ping timeout: 256 seconds]
chrisja has joined #ruby
renderful has quit [Ping timeout: 268 seconds]
sml0820 has joined #ruby
anonymuse has quit [Remote host closed the connection]
dojosto has left #ruby [#ruby]
tabolario has joined #ruby
Andrevan has quit []
sparq_ has quit [Ping timeout: 264 seconds]
<benjamin_> ok couldn't find .iframe, could there be another label?
burlyscudd has quit [Quit: Leaving.]
anonymuse has joined #ruby
yalue has quit [Read error: Connection reset by peer]
deception has joined #ruby
<benjamin_> actually i think it's in javascript
Krajsnick has quit [Remote host closed the connection]
<pontiki> .iframe is a method on your page
<pontiki> just like other html elements
jaimef has quit [Excess Flood]
denom has joined #ruby
ndrei has quit [Quit: leaving]
ndrei has joined #ruby
krawchyk has quit [Remote host closed the connection]
danieldax_ has joined #ruby
danieldax has quit [Ping timeout: 256 seconds]
zombiebit has quit [Ping timeout: 256 seconds]
burlyscudd has joined #ruby
zombiebit has joined #ruby
Quashie has quit [Ping timeout: 256 seconds]
<platzhirsch> is just me or is there a constant growth of technologies in which I am not expert while running this race I cannot win?
monkegji_ has quit [Ping timeout: 264 seconds]
ndrei has quit [Quit: leaving]
<Eiam> platzhirsch: only on the web as far as I'm concerned =)
rcosta has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
ndrei has joined #ruby
<Eiam> I'm still behind on my backbone, angular, spine, ember, batman, sass, less whatever stack =)
<Eiam> It'll change in af ew weeks anyway
ndrei has quit [Client Quit]
Matriks has quit [Remote host closed the connection]
<Eiam> promise.js, task.js and so on and so on
ndrei has joined #ruby
<pontiki> benjamin_: unsolicitied PMs carry consulting rates
<platzhirsch> Eiam: yes, that's the thing I am just looking at Angeular.js and wonder.. what the f*** have I been doing all the time.
<Eiam> oh, and go and dart and etc etc
<Eiam> platzhirsch: in Ruby, I'm still just writing plain ole ruby
monkegjinni has joined #ruby
jaimef has joined #ruby
sterNiX has joined #ruby
<benjamin_> forgive me, i'm new to this, don't know etique
<benjamin_> *etiquette
<benjamin_> what are you rates?
<benjamin_> *your
<Eiam> lol
<pontiki> i think it's rather obvious that when someone tells you "no" you should not keep asking
sparq_ has joined #ruby
_maes_ has quit [Read error: Connection reset by peer]
<platzhirsch> wat
DanKnox_away is now known as DanKnox
monkegji_ has joined #ruby
russt has joined #ruby
carlyle has joined #ruby
<benjamin_> i need a small amount of help, mainly in framing the question
<benjamin_> i'm trying to take an element from a website and insert it into a watir application
zombiebi_ has joined #ruby
zombiebit has quit [Ping timeout: 260 seconds]
<benjamin_> im trying to figure out how do take the correct element
<benjamin_> where would i go to get the answer to this question?
<havenwood> benjamin_: A really nice trick is to right-click and inspect the element in Chrome, then right click again on the code and "Copy XPath".
<benjamin_> tried that
<havenwood> benjamin_: Then the fallback is to learn XPath (or CSS selectors). :P
rcosta has joined #ruby
<havenwood> benjamin_: Yeah, or hire someone.
ndrei has quit [Quit: leaving]
<havenwood> benjamin_: Rates here seem to vary from $30-$150 per hour depending on skill.
monkegjinni has quit [Ping timeout: 264 seconds]
ndrei has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
JimmyNeutron has quit [Ping timeout: 260 seconds]
<havenwood> (Los Angeles)
<havenwood> But same for remote.
<havenwood> Freelance rates**.
g0bl1n has quit [Quit: Ex-Chat]
<havenwood> Hard for small projects, cause it often will take like 15min, and harder to setup payment than actually fix the problesm.
luckyruby has joined #ruby
<benjamin_> which is why i'm wondering if someone can just be awesome. if i can get through this one part i can do the rest. i've already got a significant start
<havenwood> I guess IRC is a nice measure for very-small-problems. Easier to just do it for free. But for +1 hours I guess a wire is fine. Still I charge more for short jobs cause of the pain.
<havenwood> mmm, xpath...
DanKnox is now known as DanKnox_away
Kruppe has quit [Ping timeout: 246 seconds]
<benjamin_> can you take a look and if you anticipate it will take more than an hour we can set up a payment?
senayar has joined #ruby
tommyvyo has quit [Quit:]
<benjamin_> it definitely won't take more than an hour for someone who knows
<havenwood> I actually would, but have no time at the moment. Sure you can get a bite though. Any XPath'ers around?
<benjamin_> is there an xpath channel?
tommyvyo has joined #ruby
l33_ has joined #ruby
jongilbraith has joined #ruby
<popl> benjamin_: /msg alis help will tell you how to search for channels on freenode ;)
brennanMKE has joined #ruby
<havenwood> CSS selector would be another route that works in almost all cases, though XPath is ultimately more flexible.
<popl> s/;/:/
maxmanders has quit [Ping timeout: 276 seconds]
<Lewix> hi folks
<Lewix> I need some clarification
<benjamin_> thank you for being so helpful
<havenwood> benjamin_: #xml might actually cover xpath
<benjamin_> you make irc worth coming to
kevinfagan has quit [Ping timeout: 245 seconds]
thillux has quit [Quit: Leaving]
vlad_starkov has quit [Remote host closed the connection]
l33__ has joined #ruby
jonahR has joined #ruby
thillux has joined #ruby
<havenwood> TIL: 45 people admit to using XML by joining #xml.
<popl> haha
daniel_hinojosa has joined #ruby
<popl> I was reading about XPath last night.
<popl> :P
<Lewix> def metaclass; class << self; self; end; end\ def meta_eval &blk; metaclass.instance_eval &blk; end\ now we adds methods to a metaclass: def meta_def name, &blk; meta_eval { define_method name, &blk}; end
maxmanders has joined #ruby
cajueiro has left #ruby [#ruby]
<Lewix> why don't we use metaclass.class_eval instead?
<n3rd> Okay I think I almost have the results I want except one thing http://pastie.org/8251262 I am getting an extra pipe at the end that I do not want
ewnd9 has joined #ruby
l33_ has quit [Ping timeout: 256 seconds]
<n3rd> how can I get rid of the very last pipe? it prints my list like {one|two|three}| lol
<shevy> wat
<shevy> n3rd man ways
Criztian has quit [Remote host closed the connection]
<shevy> your_string.chop! if your_string[-1,1] == '|'
<shevy> *many ways
<shevy> .delete or .gsub would be more ways
pencilcheck has joined #ruby
<Lewix> can the singleton class have singleton methods
<n3rd> but with gsub would I just do text.gsub(/$\|/, '}') ?
<shevy> ack
<shevy> there is a gem called "chemistry" but it does not do anything at all
<shevy> can't we get rid of obsolete projects?
<shevy> they just block nice names :(
<pontiki> kind of an interesting question
DanKnox_away is now known as DanKnox
<pontiki> like domain names, in a way
<shevy> n3rd I think you can somehow direct the regex
tommyvyo has quit [Quit:]
<shevy> n3rd, if it is the last | try to anchor it ... /\|$/
jealous-pated77 has joined #ruby
<shevy> yeah pontiki
<shevy> or specify additional repositories
<shevy> one for github for instance
<Lewix> pontiki: was it for me?
<shevy> my project names conflict with other gems already :(
<pontiki> Lewix: ?
<Lewix> never mind
<shevy> and inactive projects without any code in it do not help anyone
<pontiki> namespace polution
pen has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
<pontiki> i wonder if there's something that could be done with things that haven't seen any activity
Quashie has joined #ruby
tommyvyo has joined #ruby
<pontiki> or, just get rid of rubygems entirely
<benjamin_> if nobody responds on #xml, are there any other resources to which I can look?
michaeldeol has quit [Remote host closed the connection]
postmodern has joined #ruby
<n3rd> shevy: ok that worked I just had it switched how I had suggested. my other question is how can I turn this into an app for someone to actually use?
<shevy> n3rd if you really think it is useful, turn it into a gem
kevinfagan has joined #ruby
daniel_hinojosa has quit [Ping timeout: 264 seconds]
monkegji_ has quit [Ping timeout: 268 seconds]
d45h has quit [Quit: d45h]
<shevy> pontiki, hopefully one day... like projects that have not been active since some years, community votes could decide or review on it whether to keep it
<n3rd> I am using it to create spindex from lists of keywords
<pontiki> ruby-toolbox already keeps track of a lot of that stuff
geekbri has quit [Remote host closed the connection]
cpruitt has joined #ruby
<pontiki> number of downloads, number of recent downloads, recent activity on the repo, etc
<n3rd> I want there to be a button to browse and select a file then have it turn into what my regex does
<staafl> what is the most "hardcore" book on ruby
<staafl> as in, really deep, guru-level stuff
forced_request has quit [Ping timeout: 245 seconds]
<popl> staafl: grok the source
<popl> that's all you need
<wuest> staafl: the tarball?
<pontiki> hmmm
<eka> "ruby under the microscope" ?
<wuest> popl: beat me to it :-)
Donovan is now known as dyoung522
<staafl> interesting suggestion
<staafl> eka, thanks, l'll check it out
saarinen has joined #ruby
zmansiv has joined #ruby
<popl> who's l?
JimmyNeutron has joined #ruby
<eka> staafl: then you explain it to me
<staafl> wuest, popl, how big is it
<Lewix> what's the difference btw metaclass.instance_eval and metaclass.class_eval
<staafl> and are you talking from experience?
tvw has joined #ruby
<staafl> I mean, it's written in C, not ruby, after all
<wuest> staafl: if you want to truly understand what the VM is doing, the source is the place to go
<pipework> Use the source, luke.
zorg24 has joined #ruby
<staafl> wuest, i want to write very good ruby
<popl> dude
<popl> staafl: the dude who wrote that book eka linked you to did so by grokking the ruby source
<pontiki> staafl: what have you read already?
<staafl> pontiki, I'm halfway through matz's book
atyz has quit [Quit: Linkinus - http://linkinus.com]
<popl> first principles!
<pontiki> and it's 10_000 hours of actual coding to get really good at something
<staafl> well, it's my 15th language or so
<popl> That's an estimate.
<pontiki> cool
amacgregor has joined #ruby
<staafl> that must count for *some* advantage
<popl> staafl: and you haven't realized the best way to learn something by now?
<pontiki> popl: it's an estimate
<pontiki> but more like a truism
<staafl> popl, good point
<staafl> I've always looked into the internals
<pontiki> i.e., not really true
<pontiki> but one should act as if
<popl> that's not what truism means
<staafl> pontiki, "factoid" ?
around_ has quit [Quit: around_]
<popl> more like "something some guy said that people tend to repeat"
<popl> aphorism maybe :P
<staafl> ok, so I guess I'll read the source
<pontiki> staafl: since this is your 16th language, i think you might be served by learning the various idioms
<pontiki> which doesn't necessarily come from teh source itself
io_syl has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
<pontiki> but things like "Eloquent Ruby", "Metaprogramming in Ruby" and such
around_ has joined #ruby
<pontiki> that in addition to reading the source
mando has quit [Remote host closed the connection]
<wuest> Metaprogramming in Ruby is pretty darn good.
<popl> he wasn't really clear on what he wanted, just "deep, guru-level stuff"
brennanMKE has quit [Remote host closed the connection]
<popl> I think these are all valid suggestions.
<staafl> pontiki, that's closer to what I had in mind
devoldmx3 has joined #ruby
devoldmx3 has quit [Client Quit]
maxmanders has joined #ruby
devoldmx3 has joined #ruby
devoldmx3 has quit [Client Quit]
burlyscudd has quit [Quit: Leaving.]
monkegji_ has joined #ruby
eka has left #ruby ["Textual IRC Client: www.textualapp.com"]
eka has joined #ruby
devoldmx has joined #ruby
khushildep has joined #ruby
<eka> I always cmd+w in the wrong window :P
sailias has quit [Ping timeout: 276 seconds]
<pontiki> (wifi died, on phone)
<pontiki> staafl: also, study the masters
mark_locklear has quit [Ping timeout: 246 seconds]
monkegjinni has quit [Ping timeout: 240 seconds]
Companion is now known as companion
<staafl> pontiki, as in, eminent ruby projects?
nomenkun has joined #ruby
around_ has quit [Quit: around_]
<eka> staafl: rubinius would be something
<pontiki> and authors
forced_request has joined #ruby
<Lewix> pontiki: can singleton methods have singleton methods
TheMoonMaster has quit [Excess Flood]
<eka> wat?
<pontiki> eh?
smigg has quit [Ping timeout: 245 seconds]
fantazo has quit [Remote host closed the connection]
<pontiki> are you asking if you can define a method inside another one?
<staafl> pontiki, eka, I'll keep your suggestions in mind
rickmasta has quit [Quit: Leaving...]
<pontiki> staafl: just make sure you are having fun!
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<staafl> pontiki, :-)
IceyEC has quit [Quit: IceyEC]
<Lewix> eka: pontiki: sorry. refer to my earlier posts. I meant can singleton class have singleton methods
<pontiki> i think thats all it can have
sarkis has quit [Ping timeout: 259 seconds]
TheMoonMaster has joined #ruby
nomenkun has quit [Ping timeout: 256 seconds]
ndrei_ has joined #ruby
sjltaylor has joined #ruby
platzhirsch has left #ruby [#ruby]
<pontiki> though i'm not sure
<pontiki> what is the application?
divout has joined #ruby
zmansiv has quit [Remote host closed the connection]
ndrei_ has quit [Client Quit]
zmansiv has joined #ruby
divout has quit [Remote host closed the connection]
sqd has joined #ruby
ndrei has quit [Quit: leaving]
ndrei_ has joined #ruby
kilophoton has quit [Ping timeout: 264 seconds]
ndrei_ has quit [Client Quit]
ndrei has joined #ruby
around_ has joined #ruby
huoxito has quit [Quit: Leaving]
nik_-_ has joined #ruby
<Lewix> pontiki: there's no particular application Im just learning more about metaprogramming
brennanMKE has joined #ruby
mengu has joined #ruby
ndrei has quit [Client Quit]
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
lxsameer has quit [Quit: Leaving]
ndrei has joined #ruby
tanema has quit [Remote host closed the connection]
ndrei has quit [Client Quit]
ndrei has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
<shevy> "P123".split(/(.)(\d+)/) # => ["", "P", "123"]
<shevy> how can I split into this instead:
ndrei has quit [Client Quit]
<shevy> ["P", "123"]
<pontiki> Lewix: are you reading the Metaprogramming book?
ndrei has joined #ruby
yaymukund has quit [Ping timeout: 260 seconds]
n3rd has quit [Ping timeout: 250 seconds]
<Lewix> pontiki: http://ruby-metaprogramming.rubylearning.com/html/seeingMetaclassesClearly.html / put it simply I dont understand why they used metaclass.instance_eval instead of metaclass.class_eval
<Lewix> on the first snippet of code you see
breakingthings has quit [Quit: breakingthings]
ndrei has quit [Client Quit]
ndrei has joined #ruby
<pontiki> shevy: maybe scan instead of split?
<pontiki> idk
kaldrenon has quit [Remote host closed the connection]
colonolGron has quit [Quit: Lost terminal]
<Lewix> I was under the impression that instance_eval { def foo; end} on a class would create singleton methods
splittingred has quit [Quit: splittingred]
deception has quit [Quit: Goodbye]
kaldrenon has joined #ruby
tommyvyo has quit [Quit:]
<Lewix> pontiki: so using it on a metaclass would be what? singleton methods on a singleton class?
tatsuya_o has joined #ruby
<pontiki> idk
<shevy> pontiki hmm
<shevy> "P123".scan(/(.)(\d+)/).flatten # => ["P", "123"]
<shevy> yeah
<shevy> anyone has a suggestion to optimize? if not, I shall use that
<pontiki> i'm on phone, cant try things out
Davey has joined #ruby
monkegjinni has joined #ruby
pentameter has quit [Ping timeout: 245 seconds]
SqREL has quit [Remote host closed the connection]
<pontiki> split just didn't feel right
danieldax_ has quit [Remote host closed the connection]
<popl> >> "1123".scan(/(.)(\d+)/).flatten
<eval-in> popl => ["1", "123"] (https://eval.in/43863)
ShapeShi- is now known as ShapeShifter499
tatsuya_o has quit [Remote host closed the connection]
s0ber has quit [Ping timeout: 260 seconds]
CalvinnHobbes has joined #ruby
saarinen has quit [Quit: saarinen]
monkegji_ has quit [Ping timeout: 249 seconds]
kaldrenon has quit [Ping timeout: 256 seconds]
elaptics`away is now known as elaptics
<pontiki> >> "some stuff P123 and more stuff G456 blah".split(/(.)(\d+)/)
<eval-in> pontiki => ["some stuff ", "P", "123", " and more stuff ", "G", "456", " blah"] (https://eval.in/43864)
ldnunes has quit [Quit: Leaving]
<pontiki> that's why
<shevy> oh, I make sure the input can only be in this form
<CalvinnHobbes> If you have two objects (say obj_a and obj_b) and how do you copy the instance variables of obj_a to obj_b while retaining the instance variables of obj_b that do not exist in obj_a?
<shevy> P4 S11
<pontiki> right, but then you're misusing split
<shevy> sounds complex CalvinnHobbes
anonymuse has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 260 seconds]
<CalvinnHobbes> Im picturing something like the update_attributes of ActiveRecord
saarinen has joined #ruby
yaymukund has joined #ruby
<pontiki> what do you mean retaining instvars that don't exist in ob_b? retain them where?
JDHankle has quit [Remote host closed the connection]
yshh has joined #ruby
<CalvinnHobbes> on obj_b
<pontiki> do you mean create them in obj_b if they don't exist?
luckyruby has quit [Remote host closed the connection]
jonkri has quit [Quit: jonkri]
<CalvinnHobbes> no.. once sec and Ill create a gist of what I mean
ffranz has quit [Quit: Leaving]
<pontiki> oh wait
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
marius has joined #ruby
jtgiri_ has quit [Ping timeout: 256 seconds]
aryaching has quit [Ping timeout: 246 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> so.. obj_a.instance_variables.each {|v| obj_b.instance_variable_set(v,obj_a.instance_variable_get(v)) } won't do it?
<CalvinnHobbes> yeah it would, I was just wondering if there was a built in method
<CalvinnHobbes> I wanted to make sure I was doing right
<pontiki> that's why you write tests
yshh has quit [Ping timeout: 276 seconds]
<CalvinnHobbes> sorry, by right I meant in the best using the built in stuff, not in the test-passing sense
<pontiki> i have no idea if there is astandard method for that. some classes have it, but i don't know if Object has one
<CalvinnHobbes> ok, thanks pontiki
ndrei has quit [Quit: leaving]
jtgiri_ has joined #ruby
ndrei has joined #ruby
ndrei has quit [Client Quit]
elaptics is now known as elaptics`away
elaptics`away is now known as elaptics
ndrei has joined #ruby
LaPetiteFromage has quit [Quit: LaPetiteFromage]
ndrei has quit [Client Quit]
ndrei has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
ndrei has quit [Client Quit]
c0rn has joined #ruby
ndrei has joined #ruby
michaeldeol has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
shunt has quit [Ping timeout: 264 seconds]
failshell has quit [Ping timeout: 276 seconds]
niceguyjames has joined #ruby
ndrei has quit [Client Quit]
sarkis has joined #ruby
ndrei has joined #ruby
stuartrexking has quit [Quit: Leaving...]
ndrei has quit [Client Quit]
ndrei has joined #ruby
_honning_ has quit [Ping timeout: 276 seconds]
kilophoton has joined #ruby
sventon has left #ruby [#ruby]
JimmyNeutron has quit [Ping timeout: 276 seconds]
linux_noob_666 has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
dodosan has quit [Write error: Connection reset by peer]
ndrei has quit [Client Quit]
popl has quit [Quit: We must make an idol of our fear, and call it God.]
dodosan has joined #ruby
anonymuse has joined #ruby
ndrei has joined #ruby
tommyvyo has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
monkegjinni has quit [Remote host closed the connection]
ndrei has quit [Client Quit]
Luckys has joined #ruby
someish has joined #ruby
ndrei has joined #ruby
asobrasil has left #ruby [#ruby]
ewnd9 has joined #ruby
monkegjinni has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
tatsuya_o has joined #ruby
DrShoggoth has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
yaymukund has quit [Ping timeout: 248 seconds]
tvw has quit []
spider-mario has quit [Remote host closed the connection]
Nisstyre has joined #ruby
whowantstolivefo has joined #ruby
ephemerian has joined #ruby
monkegjinni has quit [Remote host closed the connection]
zorg24 has quit [Ping timeout: 276 seconds]
Nisstyre has quit [Read error: Connection reset by peer]
mando has joined #ruby
i_s has quit [Remote host closed the connection]
ewnd9 has quit [Remote host closed the connection]
rickmasta has joined #ruby
ewnd9 has joined #ruby
musl has joined #ruby
monkegjinni has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
wicked has quit [Changing host]
wicked has joined #ruby
dtcrshr has joined #ruby
dtcrshr has joined #ruby
VTLob has quit [Quit: VTLob]
renderful has joined #ruby
jdenen1 has quit [Read error: Connection reset by peer]
Neomex has joined #ruby
woolite64 has joined #ruby
<shevy> you know
<shevy> one day, we should call a meta-project in ruby
<shevy> "100 games in ruby"
baroquebobcat has quit [Quit: baroquebobcat]
<shevy> get together lots of interested folks
someish has quit [Quit: someish]
<shevy> they can work together, or continue to work on their pet-games, doesn't matter
<shevy> minimal goals would be to be productive over a period of activity... perhaps 3 months or so
<shevy> with lots of advertisement in between
baroquebobcat has joined #ruby
Squarepy has joined #ruby
someish has joined #ruby
Liothen has joined #ruby
baroquebobcat has quit [Client Quit]
<shevy> I know that advertisement can work because it worked for http://blog.parpg.net/ for 3 years, before it eventually was closed
baroquebobcat has joined #ruby
c0rn has joined #ruby
splittingred has joined #ruby
hamakn has joined #ruby
zph has quit [Quit: zph]
mlpinit has quit [Remote host closed the connection]
cody-- has quit [Quit: Computer has gone to sleep.]
maxmanders has quit [Quit: Computer has gone to sleep.]
anoNxeRo has joined #ruby
tbrock has quit [Quit: Textual IRC Client: www.textualapp.com]
PLejeck is now known as Nuck
Nuck has quit [Changing host]
Nuck has joined #ruby
Tricon has quit [Quit: Linkinus - http://linkinus.com]
JimmyNeutron has joined #ruby
<pontiki> just not '100 shades of ruby' plox
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
sterNiX has quit [Ping timeout: 248 seconds]
pkuyken-ad has quit [Quit: Page closed]
<shevy> hehe
w3pm has quit [Quit: Leaving]
devoldmx27 has joined #ruby
matchaw has quit [Read error: Connection reset by peer]
matchaw has joined #ruby
hamakn has quit [Ping timeout: 256 seconds]
codecop has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
mansi has quit [Ping timeout: 264 seconds]
rmcafee has quit [Quit: rmcafee]
Neomex has quit [Quit: Neomex]
sailias has joined #ruby
JDHankle has joined #ruby
mnemon2 is now known as Mnemon
devoldmx has quit [Ping timeout: 276 seconds]
interactionjaxsn has quit [Remote host closed the connection]
k610 has quit [Quit: Leaving]
sayan has quit [Ping timeout: 248 seconds]
rcosta has quit [Remote host closed the connection]
Quashie_ has joined #ruby
gyre007 has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 245 seconds]
burlyscudd has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
buibex has joined #ruby
aef has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
denom_ has joined #ruby
Quashie has quit [Ping timeout: 248 seconds]
carlyle has quit [Remote host closed the connection]
akells`` has quit [Remote host closed the connection]
locriani has quit [Remote host closed the connection]
locriani has joined #ruby
i_s has joined #ruby
denom has quit [Ping timeout: 264 seconds]
JimmyNeutron has quit [Quit: Leaving]
stuartrexking has joined #ruby
dankest has quit [Quit: dankest]
interactionjaxsn has joined #ruby
locriani has quit [Ping timeout: 256 seconds]
jaimef has joined #ruby
sjltaylor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gildo has quit [Ping timeout: 276 seconds]
gazarsgo has quit [Ping timeout: 246 seconds]
footch__ has joined #ruby
splittingred has quit [Quit: splittingred]
buibex has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
smlgs has joined #ruby
denom_ has quit [Ping timeout: 264 seconds]
wmoxam has quit [Ping timeout: 264 seconds]
i_s has quit [Ping timeout: 268 seconds]
kpshek has quit []
around_ has quit [Quit: around_]
xcv has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
denom_ has joined #ruby
i_s has joined #ruby
rhys has quit [Quit: Leaving]
xcv_ has joined #ruby
matchaw has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
BRMatt has joined #ruby
matchaw has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
matchaw has quit [Client Quit]
Luckys has quit [Read error: Connection reset by peer]
Luckys1 has joined #ruby
denom has joined #ruby
akells`` has joined #ruby
xcv has quit [Ping timeout: 264 seconds]
footch__ has quit [Ping timeout: 248 seconds]
gildo has joined #ruby
devoldmx has joined #ruby
denom_ has quit [Ping timeout: 256 seconds]
denom_ has joined #ruby
orionstein is now known as orionstein_away
mary5030 has quit [Ping timeout: 276 seconds]
brennanMKE has quit [Remote host closed the connection]
footch__ has joined #ruby
denom has quit [Ping timeout: 276 seconds]
<shevy> eka hmm interesting
devoldmx27 has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Ping timeout: 268 seconds]
dtcrshr has quit [Quit: poff]
mklappstuhl has joined #ruby
axl_ has quit [Ping timeout: 264 seconds]
elaptics is now known as elaptics`away
denom_ has quit [Ping timeout: 276 seconds]
pencilcheck has quit [Remote host closed the connection]
brennanMKE has joined #ruby
firebury has left #ruby [#ruby]
whowantstolivefo has quit [Ping timeout: 256 seconds]
pinage404 has quit [Excess Flood]
b00stfr3ak has quit [Ping timeout: 264 seconds]
denom_ has joined #ruby
wargasm has joined #ruby
axeman- has quit [Remote host closed the connection]
footch__ has quit [Read error: Operation timed out]
kamakaze has joined #ruby
monkegjinni has quit [Remote host closed the connection]
pinage404 has joined #ruby
sml0820 has quit [Quit: sml0820]
pel_daniel has left #ruby [#ruby]
geggam has quit [Remote host closed the connection]
ryandeussing has joined #ruby
jerius has quit [Ping timeout: 260 seconds]
anonymuse has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
NealJ has quit [Quit: :c]
narcan has joined #ruby
b00stfr3ak has joined #ruby
Sammael has quit [Ping timeout: 246 seconds]
<bricker`LA> Does anybody know what Array#delete uses for comparison?
<bricker`LA> It says "Deletes all items from self that are equal to obj."
hamakn has quit [Remote host closed the connection]
ehaliewicz has quit [Ping timeout: 246 seconds]
<bricker`LA> "equal" but that can't be right, because ["a"].delete("a") works
hamakn has joined #ruby
<bricker`LA> So then perhaps eql?
threesome has quit [Ping timeout: 260 seconds]
Quashie_ has quit [Ping timeout: 248 seconds]
kdaigle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fire-Dragon-DoL has left #ruby [#ruby]
cortexman1 has quit [Quit: Leaving.]
sailias has joined #ruby
tommyvyo has quit [Quit:]
Tricon has joined #ruby
Quashie has joined #ruby
Quashie has quit [Read error: Connection reset by peer]
hamakn has quit [Ping timeout: 248 seconds]
hasrb has quit [Remote host closed the connection]
ebanoid has quit [Quit: brbomgwtfbbq]
luckyruby has joined #ruby
dodosan has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
workmad3 has quit [Ping timeout: 240 seconds]
<eka> shevy: it's a little overkill though
brennanMKE has quit [Remote host closed the connection]
spundun has joined #ruby
<xybre> bricker`LA: Probably "=="
<xybre> bricker`LA: you can test it by creating a simple object that defines the different quality operators and puts when they're used.
narcan has joined #ruby
c0rn has quit [Ping timeout: 246 seconds]
locriani has joined #ruby
momomomomo has joined #ruby
mando has quit [Remote host closed the connection]
rcosta has joined #ruby
brennanMKE has joined #ruby
mlpinit has joined #ruby
<bricker`LA> MrZYX: thanks - I don't fully comprehend C though, so I'm not confident about exactly what that code does
<bricker`LA> I mean, I can see the == in there, but I don't know exactly how that checks equality (in C)
<MrZYX> bricker`LA: I linked to the comment explaining it for a reason
BRMatt has quit [Quit: Leaving]
SmoothPorcupine has joined #ruby
<SmoothPorcupine> Ahhhhhh.
<SmoothPorcupine> Ruby makes a pipe for child processes?
i_s has quit [Remote host closed the connection]
gazarsgo has joined #ruby
c0rn has joined #ruby
<SmoothPorcupine> So my bug from the other day.
slyv has joined #ruby
slyv has quit [Max SendQ exceeded]
danbeck has quit [Quit: danbeck]
<SmoothPorcupine> It does Kernel#load just fine.
mlpinit has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
Mon_Ouie has quit [Ping timeout: 268 seconds]
<SmoothPorcupine> EXCEPT FOR /usr/lib/ruby/1.9.1/socket.rb
<SmoothPorcupine> <.<
zzak_ is now known as zzak
yshh has joined #ruby
Luckys1 has left #ruby [#ruby]
devyn has quit [Ping timeout: 248 seconds]
<SmoothPorcupine> Oh.
<SmoothPorcupine> And it also loads fine the second time it's called.
osvico has joined #ruby
<SmoothPorcupine> It's just the first time it's attempted after a Kernel#exec to restart the script.
nik_-_ has quit [Quit: nik_-_]
SmoothPorcupine has left #ruby ["Til later."]
optimusprimem has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 268 seconds]
hasrb has joined #ruby
strgbrew has quit [Ping timeout: 246 seconds]
yshh has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
optimusprimem has joined #ruby
optimusprimem has quit [Changing host]
optimusprimem has joined #ruby
ehaliewicz has joined #ruby
hamakn has joined #ruby
Monie has quit [Ping timeout: 276 seconds]
io_syl has quit [Quit: io_syl]
superscott[8] has joined #ruby
motto has joined #ruby
MrZYX is now known as MrZYX|off
mengu has quit [Quit: Leaving]
gstamp has joined #ruby
freerobby has joined #ruby
<bricker`LA> MrZYX|off: oh... well this doesn't answer my original question, which was about Array#delete
dr_ick has joined #ruby
<bricker`LA> I know the difference between === and ==
<bricker`LA> but you left so now you'll go home thinking you helped me. That's okay I guess.
m8 has quit [Ping timeout: 256 seconds]
mootpointer has joined #ruby
ismlages has quit [Remote host closed the connection]
mootpointer has quit [Client Quit]
jonahR has quit [Quit: jonahR]
mootpointer has joined #ruby
sml0820 has joined #ruby
io_syl has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Monie has joined #ruby
sailias has quit [Ping timeout: 268 seconds]
RichardBaker has quit [Ping timeout: 268 seconds]
jtgiri_ has quit [Quit: jtgiri_]
Kamijou_Touma has quit [Quit: yawn]
staafl has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
clooth has quit [Quit: clooth]
brennanMKE has quit [Remote host closed the connection]
r0bgleeson has joined #ruby
m8 has joined #ruby
b00stfr3ak has quit [Quit: Leaving]
burlyscudd has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 256 seconds]
sailias has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
motto has quit [Ping timeout: 264 seconds]
rcosta has quit [Remote host closed the connection]
devoldmx has joined #ruby
snovak has quit [Remote host closed the connection]
diegoviola has joined #ruby
hamakn has quit [Remote host closed the connection]
mootpointer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
m8 has quit [Quit: Sto andando via]
devoldmx has quit [Read error: Connection reset by peer]
lethjakman has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
freeayu has joined #ruby
mansi has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
hiroyuki has quit [Read error: Connection reset by peer]
hamakn has quit [Ping timeout: 248 seconds]
hackingoff has joined #ruby
mootpointer has joined #ruby
<shevy> bricker`LA it's normal sleeping time for europeans right now ;-)
pvizcay has joined #ruby
realDAB has joined #ruby
Sammael has joined #ruby
<gazarsgo> anyone know how best to mock java classes from jruby ?
predator217 has joined #ruby
<mootpointer> gazarsgo: Point at them and say mean things about java.
<gazarsgo> mootpointer: your mother reeks of elderberries!
<mootpointer> ;)
<mootpointer> Sorry. Someone had to do it.
<xybre> Well I did explain how to find out the answer yourself, but waiting around for someone to explain it for you works too..
jongilbraith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
predator117 has quit [Ping timeout: 268 seconds]
fridim__ has joined #ruby
nadirvardar has quit [Ping timeout: 248 seconds]
iliketur_ has joined #ruby
tommyvyo has joined #ruby
iliketur_ has quit [Max SendQ exceeded]
iliketur_ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
goleldar has quit [Quit: Leaving]
spundun has quit [Remote host closed the connection]
pjeide has quit [Ping timeout: 240 seconds]
narcan has joined #ruby
lucazi_ has quit [Remote host closed the connection]
someish has quit [Quit: someish]
brennanMKE has joined #ruby
b00stfr3ak has quit [Client Quit]
sqd has quit [Quit: sqd]