<asym>
(1.8.7) I'm using catch(:sym){ .. }/throw for control flow, and i'm having a dilemma: the throw turns into a SystemError saying 'uncaught throw `sym' in thread..'', but if you look at the stack trace, the catch(:sym) { .. } is on the stack trace before this exception.. what can be causing ruby to not see the correct catch()?
idkazuma has joined #ruby
Nisstyre-laptop has joined #ruby
<asym>
ah hm, to answer my own question, i appear to be throwing :sym from a different thread, but me wrapping it with begin/rescue does not percolate the throw to the main thread
Virunga has quit [Remote host closed the connection]
<Boohbah>
1.8.7? you're living in the past, man :P
<asym>
Boohbah: sigh, tell me about it. (this proj needs to have minimal dependencies on stock os x)
wmoxam has joined #ruby
hiroyuki has quit [Read error: Connection reset by peer]
daniel_- has quit [Quit: WeeChat 0.4.0]
wesside_ has joined #ruby
wesside_ has quit [Client Quit]
<Boohbah>
os x? you're living in the walled garden, man :P
jzig has joined #ruby
<asym>
Boohbah: meh, it's a walled garden of my chosing :) it's cozy here
wargasm has quit [Read error: Connection reset by peer]
dayepa1 has joined #ruby
dayepa has quit [Ping timeout: 258 seconds]
freerobby has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
tealmage has quit [Remote host closed the connection]
tspike has quit [Ping timeout: 248 seconds]
jbueza has joined #ruby
estan has quit [Read error: Connection reset by peer]
rickruby has joined #ruby
Kricir has joined #ruby
tylersmith has joined #ruby
Kruppe has quit [Remote host closed the connection]
klaas- has joined #ruby
shadoi1 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
atyz has joined #ruby
GeissT has joined #ruby
Heero` has quit [Ping timeout: 246 seconds]
backjlack_ has joined #ruby
backjlack_ has quit [Remote host closed the connection]
JMcAfreak has quit [Quit: Leaving]
x13378071 has joined #ruby
Kudos has quit [Ping timeout: 264 seconds]
TheFuzzball has quit [Ping timeout: 264 seconds]
strax has quit [Ping timeout: 264 seconds]
shadoi has quit [Read error: Connection reset by peer]
tommyvyo has quit [Quit:]
yellow5 has quit [Quit: time to go!]
yacks has quit [Ping timeout: 264 seconds]
Guest85414 has quit [Ping timeout: 264 seconds]
x1337807x has quit [Ping timeout: 264 seconds]
yellow5_ has joined #ruby
backjlack has quit [Ping timeout: 264 seconds]
FunkySayu has quit [Ping timeout: 264 seconds]
ejnahc__ has quit [Ping timeout: 264 seconds]
im0b has quit [Ping timeout: 264 seconds]
klaas has quit [Ping timeout: 264 seconds]
lupine has quit [Ping timeout: 264 seconds]
DefV has quit [Ping timeout: 264 seconds]
DefV has joined #ruby
FunkySayu has joined #ruby
yellow5_ is now known as yellow5
yacks has joined #ruby
lambsread has quit [Read error: Connection reset by peer]
lupine has joined #ruby
ejnahc_ has joined #ruby
estan has joined #ruby
Kudos has joined #ruby
Kricir has quit [Remote host closed the connection]
sepp2k1 has quit [Remote host closed the connection]
hogeo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
ZachBeta has joined #ruby
__eka__ has joined #ruby
eka has quit [Ping timeout: 256 seconds]
Z_Mass has quit [Quit: Leaving]
idkazuma has quit [Remote host closed the connection]
ephemerian has left #ruby [#ruby]
tealmage has joined #ruby
wsterling has quit [Ping timeout: 256 seconds]
reset has joined #ruby
yshh has joined #ruby
girija has quit [Ping timeout: 264 seconds]
ozzloy has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
synthetix has quit [Ping timeout: 248 seconds]
newTech has quit [Quit: newTech]
evenix has joined #ruby
jblack has quit [Ping timeout: 268 seconds]
<yoshie902a>
I am using "require './mycode'" in IRB, but I keep changing it and needing to re-require it, but it fails the second time. I tried "load './mycode'" but that gives me a load error:cannot load such file. how to I re-require my file?
emmanuelux has quit [Ping timeout: 246 seconds]
yshh has quit [Remote host closed the connection]
rakl has joined #ruby
tealmage has quit [Ping timeout: 268 seconds]
bradhe has quit [Remote host closed the connection]
zeade has quit [Quit: Leaving.]
newTech has joined #ruby
rupee has quit [Quit: Leaving]
d2dchat has joined #ruby
evenix has quit [Ping timeout: 248 seconds]
spalenza has quit [Remote host closed the connection]
endorphine has joined #ruby
jbueza has joined #ruby
emmanuelux has joined #ruby
estan has quit [Read error: Connection reset by peer]
endorphine has left #ruby [#ruby]
spalenza has joined #ruby
icole has quit [Remote host closed the connection]
reset has quit [Quit: Leaving...]
ckrailo has joined #ruby
slippyd has joined #ruby
slainer68 has quit [Remote host closed the connection]
aspro has joined #ruby
codemonkey010101 has joined #ruby
tommyvyo has joined #ruby
emmanuelux has quit [Read error: Operation timed out]
malte_ has quit [Quit: malte_]
<gf3>
yosafbridge: You exit and re-open IRB
tspike has quit [Ping timeout: 255 seconds]
<gf3>
er yoshie902a ↑
aspro has quit [Client Quit]
aspro has joined #ruby
yoshie902a has left #ruby [#ruby]
<gf3>
You could use `load` but things get tricky
DerBoki has quit []
predator217 has quit [Ping timeout: 256 seconds]
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
Yakko_ has joined #ruby
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
mixel has quit [Quit: mixel]
estan has joined #ruby
dmiller_ has quit [Remote host closed the connection]
emmanuelux has joined #ruby
dmiller has joined #ruby
yakko has quit [Ping timeout: 255 seconds]
dmiller has quit [Read error: Connection reset by peer]
<banister`sleep>
yosafbridge: use pry and the reload-code command
dmiller has joined #ruby
lyanchih has joined #ruby
mklappstuhl has joined #ruby
jbueza has quit [Quit: Leaving.]
Ontolog has quit [Remote host closed the connection]
arya has quit [Ping timeout: 248 seconds]
adac has quit [Ping timeout: 258 seconds]
jbueza has joined #ruby
Guest85127 is now known as ixx
dmiller has quit [Read error: Operation timed out]
graydot has quit [Quit: graydot]
d11wtq has joined #ruby
brianpWins has quit [Quit: brianpWins]
blf has joined #ruby
niklasb has quit [Ping timeout: 258 seconds]
reset has joined #ruby
mmitchell has joined #ruby
banjara has quit [Quit: Leaving.]
<blf>
Hey guys, I'm wondering if anyone has any tips regarding the testing of a class which acts as a File? (a subclass of File). For instance, how would I go about testing that I can read and return the appropriate data from the file?
arya has joined #ruby
<blf>
That is, I'd like to provide a class which reads a logical "record" from a file, rather than a line. And I'd like to somehow write a testcase which exercises the ability of this class to parse and return an appropriate record.
c0rn has quit [Quit: Computer has gone to sleep.]
Voodoofish430 has quit [Quit: Leaving.]
rakl has quit [Quit: sleeping]
Proshot has quit [Quit: Leaving]
wmoxam has quit [Ping timeout: 256 seconds]
jbueza has quit [Quit: Leaving.]
Hanmac1 has quit [Ping timeout: 246 seconds]
t_p has quit [Quit: Computer has gone to sleep.]
MarcWeber has left #ruby [#ruby]
codemonkey010101 has quit [Ping timeout: 252 seconds]
emmanuelux has quit [Quit: emmanuelux]
jbueza has joined #ruby
banghous_ has joined #ruby
emmanuelux has joined #ruby
falood has joined #ruby
freerobby has joined #ruby
ozzloy has quit [Ping timeout: 245 seconds]
robottinosino has joined #ruby
yshh has joined #ruby
estan has quit [Read error: Connection reset by peer]
banghouse has quit [Ping timeout: 264 seconds]
zph has joined #ruby
zph has quit [Excess Flood]
pilojo has joined #ruby
<pilojo>
how would i insert a variable into regex?
miroatme_ has joined #ruby
dissi has joined #ruby
dissi has left #ruby [#ruby]
lupinstein has joined #ruby
gyre007 has joined #ruby
kofno has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
__eka__ has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby
vertroa has quit [Quit: WeeChat 0.3.9.2]
vertroa has joined #ruby
vertroa has quit [Client Quit]
dmiller has joined #ruby
vertroa has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
miroatme_ has quit [Ping timeout: 256 seconds]
spalenza has quit [Remote host closed the connection]
io_syl has quit [Ping timeout: 268 seconds]
ARCADIVS has joined #ruby
atyz has joined #ruby
pilojo has left #ruby ["Leaving"]
reset has quit [Quit: Leaving...]
tvw has quit [Ping timeout: 272 seconds]
Hanmac1 has joined #ruby
ner0x has quit [Quit: Leaving]
sailias has joined #ruby
vlad_starkov has joined #ruby
atyz has quit [Ping timeout: 248 seconds]
estan has joined #ruby
codemonkey010101 has joined #ruby
_cheney is now known as _cheney-home
wmoxam has joined #ruby
_cheney-home is now known as _cheney-
tealmage has joined #ruby
pevjan has quit [Remote host closed the connection]
jbueza has quit [Quit: Leaving.]
nga4 has quit [Ping timeout: 256 seconds]
tjbiddle_ has joined #ruby
mikepack has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 260 seconds]
ehaliewicz has joined #ruby
iMadper is now known as dmesg
jetblack has joined #ruby
dmesg is now known as lshw
jdunck has quit [Quit: Computer has gone to sleep.]
jduan1981 has quit [Ping timeout: 264 seconds]
headius has quit [Quit: headius]
aspro has left #ruby [#ruby]
johnjohnson has quit [Quit: johnjohnson]
tjbiddle has quit [Ping timeout: 258 seconds]
tjbiddle_ is now known as tjbiddle
senayar has quit [Ping timeout: 248 seconds]
graydot has joined #ruby
jbueza has joined #ruby
dankest has quit [Quit: Leaving...]
twoism has quit [Remote host closed the connection]
bricker`LA has joined #ruby
rakl has joined #ruby
thomasle_ has quit [Remote host closed the connection]
nhhagen_ has joined #ruby
mahmoudimus has joined #ruby
jbueza1 has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
mklappstuhl has quit [Remote host closed the connection]
jbueza has quit [Read error: Connection reset by peer]
ericmathison has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
nick6725 has joined #ruby
pevjan has joined #ruby
tommyvyo has quit [Quit:]
<nick6725>
hello
<nick6725>
I have a question.
ericmath1son has joined #ruby
estan has quit [Read error: Connection reset by peer]
nhhagen_ has quit [Ping timeout: 255 seconds]
Domon has joined #ruby
robottinosino has quit [Quit: WeeChat 0.4.0]
Z_Mass has joined #ruby
Kricir has quit [Remote host closed the connection]
jlast has joined #ruby
sailias has quit [Ping timeout: 248 seconds]
shadoi1 has left #ruby [#ruby]
rodayo has joined #ruby
Kricir has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
arya_ has joined #ruby
ttt has joined #ruby
d2dchat has quit [Remote host closed the connection]
arya has quit [Ping timeout: 245 seconds]
mmitchell has quit [Remote host closed the connection]
<rodayo>
Per chance does anyone know how to make URI::decode_www_form_component work with encodings that have 4 digits. I.e. %253D
mmitchell has joined #ruby
jnoob22 has quit [Remote host closed the connection]
reset has joined #ruby
<banister`sleep>
Per chance.
estan has joined #ruby
mmitchell has quit [Ping timeout: 252 seconds]
sleetdrop has joined #ruby
jamesfung14 has joined #ruby
codemonkey010101 has quit [Ping timeout: 268 seconds]
dmiller has quit [Remote host closed the connection]
markalanevans has quit [Ping timeout: 264 seconds]
sailias has joined #ruby
Nisstyre-laptop has joined #ruby
Ortuna has joined #ruby
arubin has joined #ruby
<rodayo>
Here's a bigger piece: '%2526sver%253D3%2526ipbits%253D8' - it came from a GET request to youtube's get_video_info API. The content-type is 'application/x-www-form-urlencoded' but I can't figure out what kind of encoding is producing the 4-digit hex nums. Lazily I can ignore the upper 2 (which are always 25) but was looking for a non-hacky approach.
ZachBeta has joined #ruby
gyre007 has quit [Remote host closed the connection]
headius has joined #ruby
<rodayo>
Aha! I see what's happening. decoding it twice as utf-8 does the job. All the %25s are '%' chars.
nga4 has joined #ruby
dmiller has joined #ruby
dmiller has quit [Remote host closed the connection]
bigkm has quit [Quit: Computer has gone to sleep.]
dmiller has joined #ruby
dmiller has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 248 seconds]
jimg has quit []
dmiller has joined #ruby
dmiller_ has joined #ruby
dmiller_ has quit [Remote host closed the connection]
ossareh has quit [Ping timeout: 255 seconds]
dmiller_ has joined #ruby
Nautes has quit [Quit: Leaving]
wmoxam has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
dmiller has quit [Ping timeout: 245 seconds]
robustus has quit [Ping timeout: 248 seconds]
estan has quit [Read error: Connection reset by peer]
ozzloy has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
robustus has joined #ruby
rickmasta has quit [Quit: Leaving...]
Nisstyre-laptop has quit [Quit: Leaving]
centr0 has joined #ruby
bricker`1A has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
jovy88 has quit [Read error: Connection reset by peer]
tspike has joined #ruby
jovy88 has joined #ruby
jeebster has quit [Quit: Leaving.]
a_a_g has joined #ruby
arya has joined #ruby
bricker`LA has quit [Ping timeout: 260 seconds]
strax has joined #ruby
arya_ has joined #ruby
im0b has joined #ruby
markalanevans has joined #ruby
atyz has joined #ruby
Guest85414 has joined #ruby
pevjan has quit [Remote host closed the connection]
jbueza1 has quit [Quit: Leaving.]
tylersmith has quit [Remote host closed the connection]
blf has quit [Quit: Page closed]
arya has quit [Ping timeout: 248 seconds]
tylersmith has joined #ruby
robbyoconnor has joined #ruby
vlad_starkov has joined #ruby
mahmoudi_ has joined #ruby
estan has joined #ruby
ericmathison has quit [Ping timeout: 246 seconds]
ericmath1son has quit [Ping timeout: 246 seconds]
krz has joined #ruby
atyz has quit [Ping timeout: 248 seconds]
zeade has joined #ruby
mahmoudimus has quit [Ping timeout: 260 seconds]
<nick6725>
hey, I need some help with something, I am trying to make a simple AI that I can teach to respond to certian input... but I keep getting errors, and I don't know why.
joofsh has joined #ruby
browndawg has joined #ruby
<nick6725>
To see the source go to notepub.com and log in as "programruby" with the password "password". Feel free to use that to post anything. It updates as you save what you type, so...
markalanevans has quit [Read error: Connection reset by peer]
pskosinski has quit [Quit: pskosinski]
nick6725 has quit [Quit: nick6725]
vlad_starkov has quit [Ping timeout: 255 seconds]
nick6725 has joined #ruby
tjbiddle has joined #ruby
codemonkey010101 has joined #ruby
chipotle_ has joined #ruby
<nick6725>
Can anyone help? or just make a new file in the notepub with a corrected version of the source?
wmoxam has joined #ruby
ariedler has joined #ruby
bigkm has joined #ruby
freeayu has joined #ruby
nick6725 has quit [Client Quit]
bricker`LA has joined #ruby
bricker`1A has quit [Ping timeout: 276 seconds]
io_syl has joined #ruby
tundrax has joined #ruby
rodayo has quit [Quit: Page closed]
io_syl has quit [Client Quit]
<arubin>
Spam?
mattbl has joined #ruby
bricker`LA has quit [Quit: leaving]
tspike has quit [Ping timeout: 256 seconds]
estan has quit [Read error: Operation timed out]
jlast has quit [Remote host closed the connection]
cooldman224 has quit [Remote host closed the connection]
mahmoudi_ is now known as mahmoudimus
Targen has quit [Ping timeout: 268 seconds]
chipotle_ has quit [Quit: cya]
chipotle_ has joined #ruby
chipotle_ has quit [Client Quit]
dankest has joined #ruby
yannis has quit [Quit: yannis]
chrishunt has quit [Quit: ZzZzZz...]
emmanuelux has quit [Quit: emmanuelux]
chrishunt has joined #ruby
jbueza has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
Asher1 has quit [Quit: Leaving.]
mattbl has quit [Quit: This computer has gone to sleep]
jhn has joined #ruby
Kricir has quit [Remote host closed the connection]
mattbl has joined #ruby
estan has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
mattbl has quit [Client Quit]
codemonkey010101 has quit [Ping timeout: 252 seconds]
pevjan has joined #ruby
tyl has quit [Quit: Computer has gone to sleep.]
piisalie has quit [Quit: leaving]
jzig has quit [Ping timeout: 260 seconds]
baba has joined #ruby
chrishunt has quit [Quit: ZzZzZz...]
arya_ has quit [Ping timeout: 252 seconds]
phantasm66 has quit [Quit: *poof*]
pkrnj has quit [Ping timeout: 255 seconds]
megha has quit [Ping timeout: 255 seconds]
baroquebobcat has joined #ruby
Leighton has quit [Quit: Leaving]
browndawg has quit [Quit: Leaving.]
sambao21 has joined #ruby
chrishunt has joined #ruby
pkrnj has joined #ruby
akhet has joined #ruby
akhet has joined #ruby
akhet has quit [Changing host]
akhet has quit [Remote host closed the connection]
mmitchell has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
Asdasd has quit [Ping timeout: 252 seconds]
ariedler has quit [Remote host closed the connection]
pevjan has quit [Remote host closed the connection]
atyz has joined #ruby
sandGorgon has quit [Ping timeout: 248 seconds]
estan has joined #ruby
lunarjar has joined #ruby
tundrax has joined #ruby
Kricir has joined #ruby
vlad_starkov has joined #ruby
RastaqWhere has left #ruby [#ruby]
kofno has quit [Remote host closed the connection]
pithagorians has joined #ruby
atyz has quit [Ping timeout: 248 seconds]
pevjan has joined #ruby
bricker`LA has joined #ruby
Palantir has quit [Remote host closed the connection]
bigkm has joined #ruby
wmoxam has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
banghous_ has quit [Remote host closed the connection]
kofno has joined #ruby
ananthakumaran has joined #ruby
jamesfung14 has quit [Ping timeout: 248 seconds]
jbueza has quit [Quit: Leaving.]
bigkm has quit [Client Quit]
bigkm has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
jzig has quit [Ping timeout: 252 seconds]
Spami has quit [Client Quit]
afd__ has quit [Ping timeout: 252 seconds]
johchri has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jzig has joined #ruby
santana has joined #ruby
estan has quit [Read error: Connection reset by peer]
afd__ has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
sandGorgon has joined #ruby
_cheney- has joined #ruby
bigkm has quit [Quit: Computer has gone to sleep.]
browndawg has joined #ruby
browndawg has quit [Client Quit]
falood has quit [Remote host closed the connection]
arya has joined #ruby
falood has joined #ruby
headius has quit [Quit: headius]
bricker`LA has quit [Read error: Connection reset by peer]
<bijumon>
hi anyone use RedCarpet here, I'm passing the option :prettify => true to the renderer, but it wont put class="prettyprint into the <pre> or <code> html, https://gist.github.com/bijumon/5538238
_cheney-2 has quit [Ping timeout: 276 seconds]
bigkm has joined #ruby
jaybe has quit [Quit: break(Z);]
jaybe has joined #ruby
jaybe has quit [Client Quit]
jaybe has joined #ruby
tonini has joined #ruby
robscomputer has joined #ruby
Domon has quit [Remote host closed the connection]
Z_Mass has quit [Quit: Leaving]
johchri has joined #ruby
lunarjar has quit [Ping timeout: 252 seconds]
wesside has quit [Read error: Connection reset by peer]
tealmage has joined #ruby
estan has joined #ruby
wesside has joined #ruby
wmoxam has quit [Ping timeout: 246 seconds]
ehaliewicz has quit [Read error: No route to host]
jbueza has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
kofno has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 248 seconds]
tealmage has quit [Ping timeout: 256 seconds]
ananthakumaran has quit [Quit: Leaving.]
lunarjar has joined #ruby
blf has joined #ruby
davetherat has quit [Remote host closed the connection]
<blf>
Is there a standard ruby way to determine if an IO stream has been opened for reading? I'm currently calling stat, however it's being displayed as a set of 7 values like so: mode=0100644. I'm not sure what the 3 most significant values represent. (644, however, is the correct mode as the file was opened for reading).
davetherat has joined #ruby
lyanchih has joined #ruby
mattbl has joined #ruby
timonv has joined #ruby
Hien has quit [Ping timeout: 258 seconds]
Spami has joined #ruby
arya_ has joined #ruby
estan has quit [Read error: Connection reset by peer]
theEXA has joined #ruby
theEXA has quit [Excess Flood]
arya has quit [Ping timeout: 248 seconds]
blf has quit [Quit: Page closed]
speakingcode has joined #ruby
dmiller_ has quit [Remote host closed the connection]
<speakingcode>
hello i am having trouble isntalling the sinatra-contrib gem. i get an error : failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb but i am using ruby 1.9.3p0
freerobby has joined #ruby
joofsh has joined #ruby
<speakingcode>
it alo gives the error /usr/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file.
<speakingcode>
can anyone give me a hand? this is when i run gem install sinatra-contrib. sinatra installed just fine
<Hanmac>
nO ... 1.9.3 is the ABI version but 1.9.1 is the API version
codecop has joined #ruby
<Hanmac>
speakingcode: does there is an mkmf.log file in the installed path? or something like that?
bradhe has joined #ruby
<speakingcode>
there is /var/lib/gems/1.9.1/gems/eventmachine-1.0.3/ext/gem_make.out
estan has joined #ruby
passtrout is now known as passcod
ananthakumaran has joined #ruby
<speakingcode>
it has the same long error message n stack dump
atyz has joined #ruby
<speakingcode>
"could not create makefule due to some reason, probably lack of necessary libraries and/or headers. check the mkmf.log file for more deatails" yadd yadda
Hien has joined #ruby
santana has quit [Quit: Saliendo]
girija has quit [Ping timeout: 246 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
vlad_starkov has joined #ruby
akashj87_ has joined #ruby
jzig has quit [Ping timeout: 276 seconds]
<speakingcode>
Hanmac: yeah i fud mkmf.log
<speakingcode>
found*
decentrality has joined #ruby
<speakingcode>
how do i fix? i hate ubuntu. never have this kind of problem on other distros
Hien has quit [Read error: Operation timed out]
atyz has quit [Ping timeout: 260 seconds]
<Hanmac>
speakingcode: make me a pastie of the mkmf file
hamakn has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 248 seconds]
hamakn has joined #ruby
Hien has joined #ruby
tylersmith has quit [Remote host closed the connection]
akash__ has joined #ruby
marcdel has joined #ruby
akashj87_ has quit [Ping timeout: 245 seconds]
<speakingcode>
Hanmac: ^^
Hanmac2 has joined #ruby
<Hanmac2>
speakingcode: "package configuration for openssl is not found" you need the libopenssl-dev package
notVert has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
<speakingcode>
already isntalled
<Hanmac2>
speakingcode: and when you install, install build-essentials too
arya_ has quit [Ping timeout: 276 seconds]
<Hanmac2>
hm is the ruby-dev or the ruby-full package installed too?
estan has quit [Read error: Connection reset by peer]
<speakingcode>
i'm trying with rvm now
<speakingcode>
still fails
<speakingcode>
even with build essential and libssl-dev
rton has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
jenrzzz has joined #ruby
girija has joined #ruby
tagrudev has joined #ruby
tomzx_mac has quit [Read error: Operation timed out]
akash__ has quit [Quit: Leaving]
dmiller has joined #ruby
jbueza has quit [Quit: Leaving.]
arya has joined #ruby
mattbl has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
akashj87 has joined #ruby
timonv has quit [Remote host closed the connection]
girija has quit [Ping timeout: 248 seconds]
<speakingcode>
running rvm install 1.9.3-dev now
<speakingcode>
taking some time but i'l try again after that
falood has quit [Remote host closed the connection]
estan has joined #ruby
JohnBat26 has joined #ruby
blahfish has joined #ruby
filipe_ has joined #ruby
<blahfish>
hi guys, im looking to use mysql with ruby over SSL. Currently im using the ruby-mysql2 package. I cant find documentation that shows how I can do this. Could someone point me to some sample code/documentation?
brandon has quit [Read error: Connection reset by peer]
<blahfish>
thanks!
<speakingcode>
blahfish i'm not sure activerecord supports mysql but have you considered that or another orm?
dmiller has quit [Ping timeout: 245 seconds]
jzig has joined #ruby
<blahfish>
no but im open to other suggestions for ORM, do you have any suggestions in mind?
<blahfish>
speakingcode: ^^
tyl has joined #ruby
brandon has joined #ruby
<speakingcode>
activerecord if it supports mysql
<speakingcode>
i've used it with postrgres to much delight
filipe has quit [Ping timeout: 260 seconds]
<blahfish>
I see
chenqsui has joined #ruby
<blahfish>
thank you speakingcode !
Heero has quit [Ping timeout: 252 seconds]
<speakingcode>
Hanmac2: got it
tundrax has quit [Remote host closed the connection]
<speakingcode>
just suddenly worked
<speakingcode>
dunno how
girija has joined #ruby
jenrzzz has quit [Quit: leaving]
tylersmith has joined #ruby
tundrax has joined #ruby
philcrissman has quit [Remote host closed the connection]
tjbiddle has quit [Quit: tjbiddle]
krainboltgreene has quit [Quit: krainboltgreene]
Domon has joined #ruby
estan has quit [Read error: Operation timed out]
bradhe has quit [Remote host closed the connection]
headius has joined #ruby
philcrissman has joined #ruby
aganov has joined #ruby
tylersmith has quit [Ping timeout: 276 seconds]
arya has quit [Ping timeout: 256 seconds]
pithagorians has quit [Ping timeout: 246 seconds]
mockra has quit [Remote host closed the connection]
andikr has joined #ruby
philcrissman has quit [Remote host closed the connection]
freerobby has joined #ruby
estan has joined #ruby
Bosox20051 has joined #ruby
Hanmac2 has quit [Ping timeout: 248 seconds]
newTech has quit [Quit: newTech]
ckrailo has quit [Quit: Computer has gone to sleep.]
jduan1981 has quit [Quit: jduan1981]
sandGorgon has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
darkapex has quit [Ping timeout: 256 seconds]
DementedInsanity has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
atyz has joined #ruby
waxjar has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
newTech has joined #ruby
daniel_hinojosa has quit [Ping timeout: 260 seconds]
qubit has quit [Ping timeout: 245 seconds]
atyz has quit [Ping timeout: 256 seconds]
robscomputer has quit [Remote host closed the connection]
robscomputer has joined #ruby
waxjar has joined #ruby
vlad_starkov has quit [Ping timeout: 255 seconds]
darkapex has joined #ruby
aedornm has joined #ruby
d11wtq has quit [Ping timeout: 264 seconds]
Gooder has joined #ruby
tchebb has quit [Ping timeout: 258 seconds]
visof has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
estan has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
tylersmith has quit [Ping timeout: 256 seconds]
lyanchih has quit [Quit: lyanchih]
zeade has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 276 seconds]
mmozuras has joined #ruby
brtdv has joined #ruby
brianpWins has joined #ruby
Hanmac has joined #ruby
emanon_ has joined #ruby
jzig has quit [Ping timeout: 256 seconds]
kobain has quit []
tchebb has joined #ruby
foofoobar has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
blahfish has quit [Quit: Page closed]
mmozuras has quit [Ping timeout: 264 seconds]
jovy88 has joined #ruby
<foofoobar>
Hi. How can I do a regular expression replace for a string to replace all from (a-z) to \a \b … \z ? (I want to append a backslash before each matched character
estan has joined #ruby
persand has joined #ruby
dr_bob has joined #ruby
<injekt>
gsub(/([a-z])/){|x| "\\#{x}" }
chandankumar has quit [Quit: Leaving]
dhruvasagar has quit [Ping timeout: 276 seconds]
mafolz has joined #ruby
whowantstolivefo has quit [Read error: Connection reset by peer]
pduin has joined #ruby
whowantstolivefo has joined #ruby
lyanchih has joined #ruby
<ChristianS>
or .gsub /([a-z])/, '\\\1'
tealmage has joined #ruby
<injekt>
ChristianS: that wont work
<foofoobar>
ChristianS, this only replaces the first match
<tobiasvl>
The Kernel module is included by class Object, so its methods are available in every Ruby object.
<Raydiation>
and i limit the global scope by defining them in modules?
<Raydiation>
basically i say: use this module and then all the global methods are available?
<tobiasvl>
global?
alexgordon has joined #ruby
<tobiasvl>
what do you mean by "global" here
<Raydiation>
accessible from everywhere
<tobiasvl>
but yes, you say, use this module and then all the methods in the module are available
<Raydiation>
from any part of the program
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<Hanmac>
tobiasvl: not in every ... you can make objects that does not include Kernel
<Raydiation>
isnt this a bit dangerous?
<tobiasvl>
Hanmac: well ... sure. i quoted ruby-doc though.
neku has joined #ruby
<tobiasvl>
send an e-mail to the webmasters of ruby-doc and tell them, not me :)
gyre007 has joined #ruby
<Raydiation>
if i use a lib in another language i just import one class defnition and new that one
<Raydiation>
basically there is nothing i have to watch out for
pandawarrior has joined #ruby
<Hanmac>
Raydiation: for sample gets() is a method in Kernel, where else would you but the method to make it global?
pcarrier has joined #ruby
tylersmith has joined #ruby
<Raydiation>
Hanmac: inject the kernel object into the object im using
<Raydiation>
in the constructor
dhruvasagar has quit [Read error: Operation timed out]
<Raydiation>
that way you can mock it in tests
jdunck_ has quit [Quit: Computer has gone to sleep.]
<apeiros>
you can mock it the way it is now too
<Raydiation>
and basically use it like: Kernel.gets() rather than just gets()
<apeiros>
Kernel methods are callable by inheritance
<apeiros>
nothing stops you from overriding that.
<Raydiation>
although you should maybe limit the usage to a seperate layer and use integration tests to test that
<apeiros>
also you might want to understand how stuff works before suggesting how to change it.
<Raydiation>
apeiros: sure
<krz>
i have a class called Stat. when I type Stat in ruby console. i want it to define itself as $mongo.collection('stats'). how would i go about that?
tylersmith has quit [Ping timeout: 264 seconds]
<tobiasvl>
"define itself as"?
<Raydiation>
apeiros: its just that ruby has concepts that you dont find in other languages
<Raydiation>
or harder than a clone of java for instance
<Raydiation>
if you know languages already ofc
<krz>
tobiasvl: $mongo.collection('stats') returns another object. Stat needs to = $mongo.collection('stats')
<krz>
makes sense?
<apeiros>
Raydiation: that happens when you learn a new language
Al__ has quit [Quit: Al__]
<Raydiation>
apeiros: what i mean is: it looks like everythings global :D
<apeiros>
IMO it's easier to understand ruby if you first "forget" most you know about programming.
<tobiasvl>
Raydiation: no, everything's not global
<apeiros>
no. only globals and constants are global.
<apeiros>
everything else is not
<apeiros>
$globals and Constants (constants start with an uppercase letter, globals with $)
<Raydiation>
im also programming some php so im not sure what wizardry other languages do, like include script files in other script files
<apeiros>
and foo() is really self.foo(), hence goes via method resolution
tonini has quit [Ping timeout: 248 seconds]
estan has joined #ruby
<Raydiation>
apeiros: i see :)
<krz>
http://pastie.org/7817215 works if i do Stat.foo. but is it possible to get the same results with just typing Stat?
<apeiros>
pseudo-global methods are just methods which reside "at the root" of the class hierarchy (Kernel or Object)
<apeiros>
and generally, Kernel holds all methods which do not rely on self (stuff like puts and gets), and Object holds all methods which rely on self (stuff like .class, .instance_variables, .object_id etc.)
<tobiasvl>
yes, and that has nothing to do with scope. ruby has pretty strict local scoping rules actually
kiri has quit [Quit: Leaving]
<apeiros>
the only thing with arguably weird scoping rules are @@class_vars
<tobiasvl>
and they shouldn't be used :P
<apeiros>
which are disliked by many for that reason, and rather rarely used.
<apeiros>
agreed :)
<Raydiation>
like static in other languages
<apeiros>
no
<apeiros>
if by "like" you mean "works like"
<Raydiation>
can you use the class vars without newing the object?
malte_ has quit [Quit: malte_]
<krz>
does my question make sense?
<apeiros>
a class var belongs to a class
<apeiros>
the problem is that it is shared by all its instances, all descendants, all instances of all descendants.
<tobiasvl>
Raydiation: yes
<apeiros>
the latter 2 are usually unexpected
<Raydiation>
ok, then its kinda like the static cancer in php
<tobiasvl>
in ruby, classes are objects too
<Raydiation>
that makes testing really hard
<tobiasvl>
btw
<apeiros>
note that classes are objects, so "without newing the object" is ambiguous :-p
<apeiros>
Raydiation: no, it's really not like static in php.
<apeiros>
ruby has only things which "look a bit like".
<apeiros>
+static
<Raydiation>
if they suffer from the same problems it doesnt matter :P
<tobiasvl>
well yeah. they do
<tobiasvl>
so instead, you should use @vars in the class
<tobiasvl>
that is, object variables
<Raydiation>
btw, are ruby libs saner than php libs?
<tobiasvl>
since classes are objects, object variables in classes act like class variables should :)
<Raydiation>
i mean is the overall testability better?
akashj87 has joined #ruby
kiri has joined #ruby
roadt has joined #ruby
mboers has quit [Quit: mboers]
<Raydiation>
my problem is that every php lib seems to use registries and singletons
<apeiros>
tobiasvl: instance variables, not object variables :-p
<tobiasvl>
yeah.
<r0bgleeson>
Raydiation: ruby has a great ecosystem for open source libraries. not all of them are good.
foofoobar has quit [Quit: Computer has gone to sleep.]
<Raydiation>
but testability is a bigger theme in the comunity right?
Squarepy has joined #ruby
<apeiros>
it is pushed more than in other language communities, yes.
hamed_r has quit [Quit: Leaving]
Zeev has quit [Disconnected by services]
<Raydiation>
awesome :)
Zeev has joined #ruby
pandawarrior has quit [Quit: Leaving.]
Bosox20051 has quit [Ping timeout: 255 seconds]
d11wtq has joined #ruby
arya has quit [Ping timeout: 246 seconds]
slainer68 has joined #ruby
freeayu has quit [Ping timeout: 245 seconds]
tealmage has joined #ruby
Kricir has joined #ruby
pandawarrior has joined #ruby
atmosx has joined #ruby
<atmosx>
sx
pandawarrior has left #ruby [#ruby]
atmosx has quit [Client Quit]
estan has quit [Read error: Connection reset by peer]
jbpros has quit [Quit: jbpros]
Kricir has quit [Ping timeout: 252 seconds]
tealmage has quit [Ping timeout: 260 seconds]
freeayu has joined #ruby
monkegji_ has joined #ruby
ars23 has joined #ruby
ars23 has left #ruby [#ruby]
pandy has quit [Remote host closed the connection]
pandy has joined #ruby
khismetix has joined #ruby
ramblex has joined #ruby
atmosx has joined #ruby
jbpros has joined #ruby
arya has joined #ruby
monkegjinni has quit [Ping timeout: 276 seconds]
SeriousMatters has joined #ruby
khismetix has quit [Ping timeout: 252 seconds]
ipalaus has joined #ruby
cofin has joined #ruby
falood has quit [Ping timeout: 252 seconds]
Hanmac2 has joined #ruby
estan has joined #ruby
khismetix has joined #ruby
Hanmac1 has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
evelyette has joined #ruby
<evelyette>
hi
malte_ has joined #ruby
ipalaus has quit [Read error: Connection reset by peer]
<evelyette>
I extended redcloth library to support exporting textile -> XML ... but when creating the to_xml method in lib/redcloth/textile_doc.rb and then calling the RedCloth.new(lines).to_xml ... I get the NoMethodError exception ... I know that Ruby can't find my method, but I'm interested in why ?
a_a_g has quit [Quit: Leaving]
freerobby has quit [Ping timeout: 252 seconds]
jbpros has quit [Quit: jbpros]
<maddog_>
How can I clone a Vector so that I have an independant copy I can work with?
yusup has quit [Ping timeout: 264 seconds]
Jackneill has joined #ruby
tundrax has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
reset has quit [Ping timeout: 276 seconds]
<dinoex>
copy = vector.dup
<dinoex>
maybe?
jnoob22 has joined #ruby
tk__ has joined #ruby
epitron_ has quit [Changing host]
epitron_ has joined #ruby
epitron_ is now known as epitron
<tobiasvl>
clone is probably what he wants
<tobiasvl>
maddog_: you asked how to clone something: it's with the method clone, unsurprisingly
forlin has joined #ruby
<tobiasvl>
dinoex: dup just makes a shallow copy
<tobiasvl>
i don't know if it matters here, i don't know what a Vector is
<dinoex>
it helps with array.
<tobiasvl>
helps?
<maddog_>
tobiasvl: thanks :)
maetthew has joined #ruby
G has joined #ruby
SirFunk has joined #ruby
<maddog_>
One more thing regarding vectors: Can I iterate over the elements and assign new values somehow? .each { |v| v = 2} doesn't seem to work
estan has quit [Read error: Connection reset by peer]
<hoelzro>
maddog_: that's not how variables work
<hoelzro>
you'd need to use each_with_index and overwrite the value at the given idnex
<hoelzro>
*index
kristofers has joined #ruby
mixel has joined #ruby
<maddog_>
hoelzro: allright, let me try that :)
dhruvasagar has quit [Ping timeout: 246 seconds]
<maddog_>
hoelzro: nope, doesn't seem to work.
<hoelzro>
maddog_: would you mind pasting some code?
<hoelzro>
it will make helping much easier =)
camilasan has quit [Remote host closed the connection]
<maddog_>
What I want to achieve is this: For a given Vector I want to change each of the values using a given function, like Math::tanh() for example
<tobiasvl>
but what code did you try that didn't work?
<maddog_>
Ok, it works if I convert the Vector to an array, then iterate with each_with_index over the array and change the values as I want and after that convert it back to a Vector
<maddog_>
probably not the best approach, but I have no idea how to achieve this any way else.
<evelyette>
the to_xml is defined in lib/redcloth/textile_doc.rb, but no idea why it's not being called
xpen has quit [Ping timeout: 248 seconds]
<evelyette>
I guess some checking is done by ruby or something
slainer68 has quit [Remote host closed the connection]
r0bgleeson has quit [Quit: WeeChat 0.3.8]
kil0byte_ has joined #ruby
r0bgleeson has joined #ruby
mljsimone has joined #ruby
<tobiasvl>
evelyette: it's not as relevant what file it's defined in
falood has quit [Remote host closed the connection]
<tobiasvl>
but what class/object it's defined in
<tobiasvl>
you're trying to call it on an object that doesn't have it, it looks like
<tobiasvl>
(i don't know RedCloth)
Asher has joined #ruby
<evelyette>
tobiasvl: can I just change system libraries and make functions automatically available, or do I have to "compile" the changed class or something?
<evelyette>
tobiasvl: ^
kil0byte has quit [Ping timeout: 260 seconds]
<r0bgleeson>
evelyette: you don't have to compile anything to change a class. edit & re-run.
Leighton has quit [Quit: Leaving]
Domon has joined #ruby
tonini has joined #ruby
camilasan has joined #ruby
Soliah has quit [Ping timeout: 248 seconds]
yashshah_ has quit [Read error: Connection reset by peer]
yashshah has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
slainer68 has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
dr_bob has quit [Quit: Leaving.]
megha has joined #ruby
baba has quit [Ping timeout: 276 seconds]
altivec has joined #ruby
Kricir has joined #ruby
Al__ has joined #ruby
davetherat has quit [Remote host closed the connection]
lkba has joined #ruby
tealmage has joined #ruby
davetherat has joined #ruby
evenix has joined #ruby
dr_bob has joined #ruby
estan has quit [Read error: Connection reset by peer]
sandGorgon has quit [Read error: Connection reset by peer]
sandGorgon has joined #ruby
suporte85 has joined #ruby
suporte85 has quit [Max SendQ exceeded]
sandGorgon has quit [Read error: Connection reset by peer]
camilasan has quit [Remote host closed the connection]
bubblehead has quit [Read error: Connection reset by peer]
zipace has joined #ruby
bubblehead has joined #ruby
sandGorgon has joined #ruby
kiri has quit [Read error: Operation timed out]
kiri has joined #ruby
camilasan has joined #ruby
tealmage has joined #ruby
cantonic has joined #ruby
qubit has joined #ruby
jerius has joined #ruby
tealmage has quit [Ping timeout: 256 seconds]
suporte85 has joined #ruby
suporte85 has quit [Max SendQ exceeded]
estan has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 256 seconds]
emmanuelux has joined #ruby
Banistergalaxy has joined #ruby
suporte85 has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
altivec has quit [Quit: Computer has gone to sleep.]
suporte85 has quit [Max SendQ exceeded]
blaxter has quit [Ping timeout: 276 seconds]
suporte85_ has joined #ruby
jnoob22 has joined #ruby
suporte85_ has quit [Read error: Connection reset by peer]
<nemesit|znc>
can i somehow use bundle gems with a ruby app so that users don't have to install them?
enriclluelles has joined #ruby
monkegjinni has joined #ruby
monkegji_ has quit [Ping timeout: 248 seconds]
tealmage has joined #ruby
paulcc has joined #ruby
lmf40 has joined #ruby
monkegji_ has joined #ruby
suporte85 has joined #ruby
<r0bgleeson>
nemesit|znc: yeah, you can, but i don't know of any tools to do it for you. once you have the gems it should be as simple as adding each gem to the $LOAD_PATH.
cek has joined #ruby
<r0bgleeson>
nemesit|znc: 'bundle install' is a dead simple way of managing installation of dependencies for the user.
breakingthings has joined #ruby
<cek>
hi. what ruby version management would you recommend? We've been with RVM, but it sucked a lot, especially during major upgrades, when they changed invocation interface. rbenv doesn't seem to be a good choice, mainly becuase installation procedure is missing enterprise customers (no automation).
a_a_g1 has quit [Quit: Leaving.]
<shevy>
cek I myself always compile from source, into versioned directories, and then use a single symlink to denote which version to use
<cek>
shevy, do you have 1k nodes?
<shevy>
no idea
tvw has quit []
<shevy>
I dont think RVM or rbenv were developed with enterprise in mind
<hoelzro>
my guess is no
mboers has quit [Quit: mboers]
tealmage has quit [Ping timeout: 245 seconds]
<shevy>
hoelzro how do you manage different ruby versions?
<hoelzro>
shevy: rvm, only because I haven't spent the effort to switch to something else =P
monkegjinni has quit [Ping timeout: 248 seconds]
<shevy>
see cek, RVM is like the frontier of ruby version management
<cek>
that sucks
khismetix has joined #ruby
<r0bgleeson>
cek: what do you mean it is 'missing enterprise customers' ?
<cek>
no rpm packages, no automation support
ZachBeta has quit [Quit: Computer has gone to sleep.]
<r0bgleeson>
what is automation support?
<cek>
only macos supported, which means its primarily targeted to home users
mattbl has quit [Quit: This computer has gone to sleep]
<mXr>
how can i get the netmask from that object? i dont see any method for that? the "to_s" will only give me the address itself, not the mask, which is strange++
dr_bob has quit [Quit: Leaving.]
heftig has joined #ruby
tagrudev has quit [Remote host closed the connection]
seoaqua has quit [Ping timeout: 264 seconds]
aganov has quit [Remote host closed the connection]
kristofers has quit [Read error: Connection reset by peer]
<RobW_>
Is there an easy way to test a gem's source without compiling it? I'm trying to make some local changes to the Sass gem and I'd like to test, edit, and test again without building a gem each time.
alexwh has joined #ruby
ffranz has joined #ruby
chinz has joined #ruby
chinz_ has joined #ruby
<apeiros>
RobW_: check the rake tasks
<apeiros>
(rake -T)
Progster has quit [Ping timeout: 276 seconds]
<RobW_>
apeiros: OK, done. What should I be looking for?
<RobW_>
apeiros: ah! nevermind.
<RobW_>
apeiros: Thanks.
Coolhand has quit [Remote host closed the connection]
pduin has quit [Remote host closed the connection]
wolcanus has joined #ruby
alex__c2022 has joined #ruby
robmuh has joined #ruby
arvindravi has joined #ruby
Progster has joined #ruby
nwertman_ has quit [Ping timeout: 256 seconds]
dmiller_ has joined #ruby
dmiller_ has quit [Remote host closed the connection]
pduin has joined #ruby
estan has quit [Read error: Connection reset by peer]
dmiller has joined #ruby
chinz_ has quit [Quit: Leaving]
chinz has quit [Quit: Leaving]
Coolhand has joined #ruby
newUser1234 has joined #ruby
b0oh has left #ruby [#ruby]
tspike has joined #ruby
dmiller has quit [Remote host closed the connection]
dmiller has joined #ruby
jtharris has joined #ruby
Zeev has quit [Disconnected by services]
Zeev has joined #ruby
juarlex has joined #ruby
taotetek has quit [Ping timeout: 276 seconds]
megha has quit [Ping timeout: 245 seconds]
taotetek has joined #ruby
taotetek is now known as Guest95653
_nitti has quit [Remote host closed the connection]
Guest95653 has quit [Client Quit]
RobW_ has left #ruby [#ruby]
_nitti has joined #ruby
gyre008 has joined #ruby
_nitti_ has joined #ruby
_nitti has quit [Read error: Connection reset by peer]
sandGorgon has quit [Ping timeout: 248 seconds]
megha has joined #ruby
gyre007 has quit [Ping timeout: 264 seconds]
ariedler has quit [Remote host closed the connection]
estan has joined #ruby
fmcgeough has joined #ruby
MattyM has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
<foofoobar>
how to deactivate output escaping for a template?
carloslopes has quit [Remote host closed the connection]
<wmoxam>
shevy: perl only ass kicks if you enjoy writing perl
lmf40 has joined #ruby
jeffmess has quit [Ping timeout: 248 seconds]
khismetix has joined #ruby
<injekt>
lol the tiobe is such rubbish
Bry8Star has joined #ruby
bradhe has joined #ruby
iMadper has joined #ruby
lmf40 has quit [Remote host closed the connection]
asym has joined #ruby
<arvindravi>
MrZYX, that worked! Thanks! :)
<shevy>
wmoxam but it's more popular according to TIOBE :(
<asym>
Anyone know how to get throw/catch to cross a Thread boundary? (ruby says throw without catch even through the catch block is in the stack trace, although from different thread. i'm using 1.8.7 unfortunately)
<wmoxam>
shevy: I really doubt that to be true
<wmoxam>
and even if it is, so what?
iMadper has left #ruby [#ruby]
tjbiddle has quit [Quit: tjbiddle]
cofin has quit [Quit: cofin]
* wmoxam
scratches his head trying to think of some good software written in Perl
<asym>
wmoxam: bugzilla
<wmoxam>
1) OpenBSD pkg tools
<wmoxam>
asym: I said *good* ;)
MattyMcB has quit [Ping timeout: 264 seconds]
<shevy>
haha
tyl has joined #ruby
<asym>
bugzilla is 'good' on most standards.. long lived, stable, widely-deployed
<shevy>
asym hmm catch/throw always confused me. I stopped using it some years ago, my poor brain can only use what it understands
newTech has joined #ruby
eliasp_ has joined #ruby
<shevy>
begin/rescue/end seems to flow much more naturally than catch/throw breaks
<asym>
shevy: yup, and it's easy to deal with threads too, but throw/catch is much lighter weight
hiroyuki has joined #ruby
eliasp has quit [Ping timeout: 256 seconds]
ckrailo has joined #ruby
chrisja has joined #ruby
apeiros has joined #ruby
tsan has joined #ruby
wolcanus has joined #ruby
slainer68 has quit [Remote host closed the connection]
mjs2600 has joined #ruby
estan has joined #ruby
Voodoofish430 has joined #ruby
b0oh has joined #ruby
Alamo777_ has joined #ruby
Alamo777 has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
Z_Mass has joined #ruby
machuga|brb is now known as machuga
<jcromartie>
Feedzirra…. grr....
carloslopes has joined #ruby
<jcromartie>
seems like it sucks at handling & in feeds
<jcromartie>
I get & out
<jcromartie>
i.e. in attributes
binaryplease has joined #ruby
Kricir has quit [Remote host closed the connection]
<apeiros>
& is correct for &
arvindravi has quit [Quit: arvindravi]
jmeling has quit [Read error: Connection reset by peer]
Vert has joined #ruby
wolcanus has quit [Ping timeout: 246 seconds]
jmeling has joined #ruby
arvindravi has joined #ruby
_nitti_ has joined #ruby
<jcromartie>
apeiros: but why encode it? when reading XML into strings, it should simply return a string with the decoded entities
newTech has quit [Quit: newTech]
wsterling has joined #ruby
<jcromartie>
i.e. if the XML contains an attribute value of "foo&bar" then the parsed string value should be "foo&bar", and not "foo&bar"
<apeiros>
depends on the context. since you gave none…
<jcromartie>
the context is parsing a feed
<jcromartie>
into Ruby objects
<jcromartie>
as is the purpose of Feedzirra
<apeiros>
yeah, there's parts in a feed where it should stay encoded :)
ephemerian has joined #ruby
<jcromartie>
that would just seem to lead to double encoding errors
<apeiros>
but yes, if you want to get the plaintext out of a tag, it should no longer be
<shevy>
swiss chocolate feed
<jcromartie>
I'm talking about attributes here
graydot has joined #ruby
whowantstolivef1 has joined #ruby
sayan has quit [Read error: Connection reset by peer]
_nitti has quit [Ping timeout: 245 seconds]
<dawkirst>
Hi, I'm trying to understand something fundamental: Heroku puts a 512Mb limit on its dynos, so is it correct to assume that your typical process should take less than 512Mb of memory?
<peta_>
swiss chocolate is overrated
girija has quit [Ping timeout: 252 seconds]
decentrality has quit [Quit: decentrality]
timonv has joined #ruby
paulcc has joined #ruby
<peta_>
dawkirst: without knowing heroku: i think so
brunoro has joined #ruby
<peta_>
a process can try to take more, but then it will probably terminate with some fatal error
thetristan has quit [Quit: thetristan]
khismetix has quit [Ping timeout: 256 seconds]
Raydiation has left #ruby [#ruby]
tylersmith has joined #ruby
oOze has joined #ruby
<jcromartie>
well this isn't a Feedzirra problem, it's either SAX Machine or Nokogiri
<apeiros>
jcromartie: instead of riddling you could try to setup a minimal reproducable example and gist it
oOze has left #ruby ["Leaving"]
joofsh has quit [Remote host closed the connection]
ephemerian has quit [Quit: Leaving.]
awarner_ is now known as awarner
estan has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
joofsh has joined #ruby
binaryplease has quit [Quit: WeeChat 0.4.0]
nomenkun has quit [Ping timeout: 248 seconds]
khismetix has joined #ruby
mark_locklear has quit [Ping timeout: 246 seconds]
<Hanmac>
jcromartie: Nokogiri can SAX too ... if you want ;P
mahmoudimus has quit [Quit: Computer has gone to sleep.]
nga4 has joined #ruby
paulcc has quit [Ping timeout: 255 seconds]
yann_ck has joined #ruby
dhruvasagar has joined #ruby
sambao21 has joined #ruby
<dawkirst>
peta_, I guess you can classify it as a process that process huge amounts - it goes through a table of 20, 000 rows, sums about 400 values for each, cuts of the top ten then does an external API call for each.
brtdv has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dawkirst>
peta_, could it be the external API call that takes up a lot of memory?
<dawkirst>
s/process/processes/
<MrZYX>
more likely you read all rows of the table at once and get an enourmous array
mklappstuhl has joined #ruby
brunoro has quit [Quit: WeeChat 0.3.8]
alexgandy has quit [Quit: alexgandy]
sambao21 has quit [Read error: Operation timed out]
slainer68 has quit [Remote host closed the connection]
assurbanipal has quit [Remote host closed the connection]
io_syl has joined #ruby
brunoro has joined #ruby
<MrZYX>
or fail to release the reference to the row
<peta_>
dawkirst: yeah, what MrZYX says sounds reasonable
brunoro has quit [Remote host closed the connection]
brunoro has joined #ruby
browndawg has quit [Ping timeout: 276 seconds]
arvindravi has quit [Ping timeout: 248 seconds]
brunoro has quit [Remote host closed the connection]
<dawkirst>
peta_, MrZYX, it's the former. It's exactly that. So how do I get around it, what is good design practice?
<peta_>
dawkirst: maybe you should setup a local test envirnoment/vm and do some test runs whereat you monitor memory consumption of the process
LennyLinux has quit [Remote host closed the connection]
<MrZYX>
that heavily depends on how you actually read the data
Hien has joined #ruby
<MrZYX>
like is it csv, a sqlite database, whatever
Simone- has quit [Remote host closed the connection]
bradhe has joined #ruby
adambeynon has joined #ruby
neku has joined #ruby
jduan1981 has joined #ruby
ddfreyne has quit [Excess Flood]
robmuh has quit [Ping timeout: 245 seconds]
shime has quit [Ping timeout: 245 seconds]
<dawkirst>
ah ok. It's DM with postgres. I guess I could usedderived properties in the database itself, then I don't have to compute at runtime4
banister`sleep has quit [Remote host closed the connection]
ddfreyne has joined #ruby
<MrZYX>
or for a quick workaround get the row count and fetch only like 1000 rows at a time
enriclluelles has quit [Remote host closed the connection]
zeade has joined #ruby
tealmage has joined #ruby
LennyLinux has joined #ruby
arvindravi has joined #ruby
seich is now known as Seich
estan has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
wolcanus has joined #ruby
[eDu] has quit [Quit: [eDu]]
timonv has joined #ruby
yann_ck has quit [Ping timeout: 264 seconds]
gvz has joined #ruby
tjbiddle has joined #ruby
freerobby has quit [Quit: Leaving.]
tjbiddle has quit [Read error: Connection reset by peer]
waxjar has quit [Ping timeout: 245 seconds]
darkapex has quit [Ping timeout: 245 seconds]
johnnyfuchs1 has joined #ruby
rupee has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
Alamo777_ has quit [Read error: Connection reset by peer]
Alamo777_ has joined #ruby
falood has quit [Remote host closed the connection]
zekefast has quit [Quit: Leaving.]
mmitchell has quit [Remote host closed the connection]
darkapex has joined #ruby
robscomputer has quit [Ping timeout: 252 seconds]
mmitchell has joined #ruby
<nemesit|znc>
can i add .gem files to the $LOAD_PATH somehow or do i have to extract/download the source?
waxjar has joined #ruby
johnnyfuchs has quit [Ping timeout: 276 seconds]
enebo has joined #ruby
ravster has joined #ruby
browndawg has joined #ruby
<Hanmac>
nemesit|znc: .gem are ust the package format, you need them extracted or/and installed
<MrZYX>
nemesit|znc: it sounds like you want bundlers --path and maybe package features
mmitchell has quit [Ping timeout: 257 seconds]
timonv has quit [Remote host closed the connection]
arvindravi has quit [Quit: arvindravi]
<nemesit|znc>
dunno i just want to have some gems in my project without cluttering other peoples computers^^
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
<nemesit|znc>
i'm really new to ruby and its a bit weird but not too weird
johnnyfuchs1 has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
<nemesit|znc>
MrZYX i'll look at that thx
Zeev has quit [Ping timeout: 248 seconds]
<nemesit|znc>
Hanmac i already have some source gems included but i thought there might be a way to avoid searching for the source and simply use gem fetch
Nautes has joined #ruby
pkrnj has joined #ruby
stu314 has joined #ruby
carlyle has quit [Remote host closed the connection]
bean__ has quit [Quit: Computer has gone to sleep.]
zeade1 has joined #ruby
zeade has quit [Ping timeout: 252 seconds]
stu314 has left #ruby [#ruby]
nga4 has quit [Ping timeout: 276 seconds]
thomaslee has quit [Remote host closed the connection]
thomasle_ has joined #ruby
monkegji_ has quit [Ping timeout: 248 seconds]
kreantos has quit [Remote host closed the connection]
richcollins has joined #ruby
JoeTheGuest_ has joined #ruby
lynaghk has joined #ruby
Nautes has quit [Quit: Leaving]
lynaghk has left #ruby [#ruby]
teclator has joined #ruby
sepp2k has joined #ruby
JoeTheGuest_ has quit [Changing host]
JoeTheGuest_ has joined #ruby
JoeTheGuest_ has joined #ruby
JoeTheGuest_ is now known as JoeTheGuest__
JoeTheGuest__ is now known as JoeTheGuest_
vetsin has quit [Quit: leaving]
suporte85 has quit [Quit: Saindo]
mr0wl has joined #ruby
b0oh has quit [Quit: Leaving.]
chrishough has quit [Quit: chrishough]
Mon_Ouie has quit [Ping timeout: 252 seconds]
buibex has joined #ruby
Al__ has quit [Quit: Al__]
<dawkirst>
peta_, MrZYX, thanks
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
phantasm66 has quit [Remote host closed the connection]
Liquid-- has joined #ruby
JoeTheGuest_ is now known as JoeTheGuest
ryanhirsch has joined #ruby
pinage404 has joined #ruby
estan has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
<nettoweb>
i'm using codebase exceptions to get the errors in my app, and I see a lot of request to URLs like: search?q=+ferramentas+u+u+ind%FAstria+e+com%E9rcio
mrsolo has joined #ruby
<nettoweb>
i've already seen that the problem is with html special characters
alexgandy has joined #ruby
browndawg has quit [Ping timeout: 252 seconds]
jezi22 has joined #ruby
<jezi22>
guys i cannot install ruby through rvm in ubuntu 12.04
MeatChicken has joined #ruby
<nettoweb>
these kind of access are came from googlebot and bingbot, but I cant see these links in my website neither in google serp
soukihei has joined #ruby
chessguy has joined #ruby
<MrZYX>
yeah, they seem to do random requests these days
<nettoweb>
is there a way to fix these special characters before? to remove accents..
monkegji_ has joined #ruby
<MrZYX>
guess you're using rails? -> #rubyonrails
mr0wl has quit [Read error: Connection reset by peer]
<MrZYX>
jezi22: it's because you're missing something
<nettoweb>
rails
<jezi22>
MrZYX: i installed the dependencies, but when i rvm install 1.9.3 it just updates
<MrZYX>
exactly
stkowski has joined #ruby
Nautes has joined #ruby
nwertman_ has joined #ruby
<jezi22>
MrZYX: what do you think am i missing?
<MrZYX>
something
pkrnj has quit [Quit: Computer has gone to sleep.]
Liquid-- has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 276 seconds]
headius has quit [Quit: headius]
marcdel has joined #ruby
malte_ has joined #ruby
cofin has quit [Quit: cofin]
mr0wl has joined #ruby
estan has joined #ruby
adambeynon has quit [Quit: Computer has gone to sleep.]
alvaro_o has joined #ruby
freakazoid0223 has joined #ruby
timmow has quit [Ping timeout: 252 seconds]
nga4 has joined #ruby
russfran1 is now known as russfrank
russfrank has quit [Changing host]
russfrank has joined #ruby
headius has joined #ruby
jezi22 has quit [Read error: Connection reset by peer]
Criztian has quit [Remote host closed the connection]
mark_locklear has joined #ruby
theSHOW has quit [Ping timeout: 248 seconds]
red5_ has joined #ruby
slainer68 has joined #ruby
linduxed has quit [Ping timeout: 246 seconds]
rezzack has joined #ruby
hamakn has joined #ruby
<red5_>
hi guys! i have a problem with command gem build. it's create my .gem file normally but doesn't copy the lib dir to gem. anyone could help me ?
Nautes has quit [Quit: Leaving]
moted has quit [Quit: moted]
ananthakumaran has quit [Quit: Leaving.]
moted has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
cloaked1 has quit [Ping timeout: 245 seconds]
<MrZYX>
red5_: gist your gemspec
joofsh has quit [Remote host closed the connection]
joofsh has joined #ruby
browndawg has joined #ruby
anonymuse has quit [Read error: Operation timed out]
<kwerle>
I have a really basic question about arrays. Is there an array method such that ary.really_at_index(-1) will return nil? That is, I don't want -number to wrap in this particular case...
<MrZYX>
people can read _everything_ you write
<otters>
people can read everything you write
<shevy>
kwerle not sure I understand, array = [1,2,3,4,5,6] now you want to have what exactly?
sayan has joined #ruby
<shevy>
hah cool
<canton7>
tharray[-1] == nil, I assume
<shevy>
array[-1] # => 6
<canton7>
instead of indexing from the end
<shevy>
aha, I see
cofin has joined #ruby
<shevy>
I think I read this for the first time now
johnnyfuchs has quit [Remote host closed the connection]
<ssvo>
couldnt you just create your own method to do it?
<shevy>
that someone wants nil when giving negative arguments to []
johnnyfuchs has joined #ruby
pinpin404 has joined #ruby
<shevy>
kwerle you could define your own method on arrays
<kwerle>
ary[0] => 1
<MrZYX>
yeah, just catch it on the caller side, arry[idx] unless idx < 0
<shevy>
class Array; def really_at_index(i); # fill code here end;end
<kwerle>
ary.really_at_index(0) => 1
<kwerle>
ary.really_at_index(-1) => nil
<shevy>
class Array; def really_at_index(i); self[i] unless i < 0; end;end
<kwerle>
Yeah, just wanting to avoid reinventing the wheel if it's already in there and I didn't notice.
shadoi has joined #ruby
<shevy>
let's improve on it until it works :P
<ssvo>
ah
<MrZYX>
a negative index doesn't make sense, your code shouldn't want the "real element at -1"
<kwerle>
Says you. I have a case where I would like to ask the array who my left neighbor is. How would you do that, MrZYX? Keep in mind that I also have a few parallel arrays and will want to ask them their neighbors, too.
<shevy>
does not seem to do what he wants to have
<MrZYX>
inside what? a method? a loop?
estan has joined #ruby
<shevy>
well, index-1 unless array.first == i
<kwerle>
The simple answer is that this is a table holding objects taht are location sensitive.
banister`sleep has joined #ruby
pasties has quit [Quit: Gone]
nomenkun has joined #ruby
<kwerle>
OK - thanks, all, for the sanity check!
<MrZYX>
index -= 1; return if index < 0; if inside a method, if in a loop incorporate index >= 0 into th condition or do break if indey < 0
xardas has joined #ruby
withnale has joined #ruby
joofsh has quit [Remote host closed the connection]
includex has quit [Quit: Leaving...]
<MrZYX>
or do a wrapper class that does that checks
nettoweb has joined #ruby
<MrZYX>
it's not the responsibility of the array to know that 0 can't have a left neighbour
roadt has quit [Ping timeout: 248 seconds]
codespectator has joined #ruby
chipotle has joined #ruby
suporte85 has joined #ruby
EvanR has joined #ruby
<EvanR>
how do i convert a string to an integer
<MrZYX>
.to_i
kwerle has quit [Ping timeout: 245 seconds]
<EvanR>
how do i get it to throw an error when the string cant be interpreted as an integer
wesside_ has joined #ruby
LennyLinux has quit [Remote host closed the connection]
<EvanR>
.to_i gives zero
pinpin404 has quit [Read error: Connection reset by peer]
pinpin404 has joined #ruby
<EvanR>
raise TypeError if !foo.match(/\d+/)
<MrZYX>
I'm unaware of a builtin method, you can validate the string first with raise ArgumentError unless str ~= /\d+/
amarraja has joined #ruby
pinpin404 has quit [Client Quit]
interactionjaxsn has joined #ruby
setient_ is now known as setient
<EvanR>
ok
pinpin404 has joined #ruby
<shevy>
MrZYX who are you on rubygems.org ?
<MrZYX>
same everywhere
kf8a has joined #ruby
jamesfung14 has quit [Quit: Leaving]
<Hanmac>
Evan & MrZYX use the Integer() method ;P
<MrZYX>
ah right, that ugly thing
<shevy>
hehe
arya has quit [Ping timeout: 248 seconds]
<shevy>
that's Hanmac's speciality
<shevy>
ugly code :D
<MrZYX>
srsly, a method with an uppercase letter in it
ephemerian has joined #ruby
* Hanmac
knows the dark side of Ruby ;P
<ericwood>
camelcase, brah
elaptics is now known as elaptics`away
<shevy>
def IntEger
<shevy>
we could get rid of class
<shevy>
def Array
<shevy>
^^^ that is like a class now
<shevy>
def array
<shevy>
^^^ and that is a method
<shevy>
Hanmac, go file a bug report
<shevy>
you have a "guten Draht" to matz
Mon_Ouie has joined #ruby
<MrZYX>
why not Fixnum.new :/
tealmage has quit [Remote host closed the connection]
<shevy>
MRuby::CrossBuild.new('Minimal') do |conf|
<shevy>
toolchain :gcc
<shevy>
hey
<shevy>
that could be used for a package manager
dmiller has joined #ruby
dustint_ has joined #ruby
dmiller has quit [Remote host closed the connection]
dmiller has joined #ruby
pandy has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
pandy has joined #ruby
<Quadlex>
Man, can you imagine moving to a language without a bundler?
<MrZYX>
the guys here hate bundler
pandy has quit [Read error: Connection reset by peer]
* Hanmac
can live without bundle
estan has quit [Read error: Connection reset by peer]
pandy has joined #ruby
<Quadlex>
I hated working in languages without decent package managers. Playing "Hunt the Dependency" with Java and C# sucked.
* MrZYX
gets popcorn
<Hanmac>
shevy: my current new ticket will me virtual global variables and hooked global variables ... you can define them in CApi but not in ruby itself
<Quadlex>
MrZYX: Oh, I couldn't be bothered arguing if they don't like Bundler.
lushious_ has joined #ruby
<Hanmac>
Quadlex: ruby has the *.gem files ... they are totaly indipend from bundle
<Quadlex>
Hanmac: I am aware.
dustint_ has quit [Quit: Leaving]
SeriousMatters has quit [Read error: Connection reset by peer]
dustint_ has joined #ruby
<Quadlex>
But in C# before Nuget you were dicking around finding DLLs yourself, then adding them using Visual Studio or XML wunkery to your project
<Quadlex>
And in Java it's either "However your container does it", "Class Path Madness" or "JAR file full of EVERYTHING!"
lushious has quit [Ping timeout: 252 seconds]
<Hanmac>
C# is shitty .. dont compare it with ruby
icole has quit [Remote host closed the connection]
emmanuelux has quit [Ping timeout: 246 seconds]
estan has joined #ruby
chessguy has quit [Remote host closed the connection]
amarraja has quit [Quit: Computer has gone to sleep.]
<aedorn>
I like Go's dependency management ... sometimes I wish Ruby had the same thing, but only sometimes. Like an hour ago, but not two hours.
invisime has joined #ruby
dustint_ has quit [Quit: Leaving]
<Hanmac>
shevy look at:
<Hanmac>
rb_define_virtual_variable #has getter and setter methods, but does not use Memory
<Hanmac>
rb_define_readonly_variable # uses Memory, but raise an Error when trying to write
<Hanmac>
rb_define_hooked_variable #has getter and setter methods but does also use Memory
chrishough has quit [Ping timeout: 268 seconds]
joofsh has quit [Remote host closed the connection]
<bricker>
What's a better way to do this? (the "load" method) - https://gist.github.com/bricker/5542801 I feel like defining "loader = nil" at the start and then defining it in that block is a bad pattern to use
chrishough has joined #ruby
danslo has joined #ruby
mattbl has quit [Quit: Leaving]
freerobby has joined #ruby
<lectrick>
Is there any event that fires when the end of a file that is required is reached? Sort of like an at_exit but like an at_end_of_file ?
<canton7>
just put a method call there?
arya has quit [Ping timeout: 248 seconds]
<lectrick>
canton7: i could... but that's ugly haha
<banister`sleep>
lectrick: you can fire your own event when you reach EOF
<lectrick>
banister`sleep: yeah I was considering that, but basically i want something to fire when the end of the file I'm in is reached
<lectrick>
without putting a method there, unless I have to
<aedorn>
bricker: loader = MODULES.find {|m| m.try_url(url)} will do the same thing since Array#find will return the result when it evals to true anyway
Seich is now known as seich
chipotle has quit [Quit: cya]
Nisstyre has joined #ruby
joofsh has joined #ruby
generalissimo is now known as generalpoopnap
ffranz has joined #ruby
<aedorn>
Hongkong Post to US Postal Service ... it's like a game! Who loses the package first?! It only needs to exchange carriers 5 times, and go through 4 systems to get here!
arya has joined #ruby
staafl has quit [Ping timeout: 252 seconds]
estan has quit [Read error: Connection reset by peer]
Faris9 has joined #ruby
arya has quit [Client Quit]
kiri has quit [Ping timeout: 252 seconds]
kiri has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
axl_ has joined #ruby
jdunck has joined #ruby
<kemist>
Is there any way to see the raw Mongo query created by Mongoid while insidean interactive session, for example, while using pry or irb? https://gist.github.com/kemist/5542927
emmanuelux has joined #ruby
jdunck has quit [Client Quit]
reset has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
<shevy>
aedorn hehe
<shevy>
aedorn Hong Kong is an awesome town though
joofsh has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
<bricker>
aedorn: Oh, it returns the result... I thought it returned the object that it was iterating over (i.e., it would return the module, not the result of try_url)
<bricker>
aedorn: wait, that doesn't seem to be the case
khismetix has quit [Quit: Computer has gone to sleep.]
arya has joined #ruby
khismetix has joined #ruby
estan has joined #ruby
joofsh has joined #ruby
Azulinho has joined #ruby
<Hanmac>
bricker: MODULES.inject(nil) {|ret,c| ret || c.try_url(url)}
blaxter has quit [Ping timeout: 252 seconds]
jdunck has joined #ruby
volte has quit [Read error: Connection reset by peer]
volte has joined #ruby
lethan has quit [Remote host closed the connection]
wallclockbuilder has joined #ruby
slainer68 has joined #ruby
JMcAfreak has joined #ruby
forlin has quit [Remote host closed the connection]
adambeynon has joined #ruby
newUser1_ has joined #ruby
newUser1234 has quit [Read error: Connection reset by peer]
<aedorn>
oh geeze, yeah, do what Hanmac said. Not sure why I went for value over object ...
<aedorn>
shevy: I'm sure Hong Kong is amazing .... I don't know about Hongkong Post
<shevy>
hehehe
<Hanmac>
"do what Hanmac said." ... i will print this and Frame it on my 4th-Wall ;P
<aedorn>
... wow, I'm just making all kinds of mistakes today. =p
estan has quit [Read error: Connection reset by peer]
jlast has quit [Remote host closed the connection]
<foxnewsnetwork>
does anyone know if 2.0.0 implemented tail-call optimization or not? I need to know so I can decide if I need to turn my tco-dependent code into a shitty while loop or not
vlad_starkov has joined #ruby
<Hanmac>
lectrick: on linux i also got errors like ""Report a problem ..." terminated unexpectedly" ;P
<MrZYX>
you mean on ubuntu?
<Hanmac>
MrZYX: more or less, do you have a problem with that? ;P
<shevy>
only noobs use ubuntu
<MrZYX>
ubuntu does that popups _a lot_ more ;)
<shevy>
Hanmac, do you use Unity?
Kelet has quit [Read error: Connection reset by peer]
<MrZYX>
over here only gnome shell refuses me to tell what went wrong when it crashes and displays a "Oh noes"
<Hanmac>
shevy: never, i prefered gnome-classic but now i have cinnamon
peta_ has joined #ruby
estan has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
Alamo777_ has quit [Read error: Connection reset by peer]
johnnyfuchs1 has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
wildcard0 has quit [Ping timeout: 252 seconds]
wildcard0 has joined #ruby
chandankumar has quit [Ping timeout: 252 seconds]
<shevy>
Hanmac you betray the ubuntu team!
<shevy>
they want you to use UNITY
jeebster has joined #ruby
johnnyfuchs has quit [Ping timeout: 245 seconds]
<banister`sleep>
Hanmac: james baxter?
<Hanmac>
i am sitting on a PC not a Touch system
Loaft has joined #ruby
marxarelli has joined #ruby
<jeebster>
are there any erubis options to not parse undefined variables?
kf8a has quit [Quit: Computer has gone to sleep.]
Hanmac1 has joined #ruby
<Hanmac1>
(22:05:04) Hanmac: banister not yet
kf8a has joined #ruby
mr0wl has quit [Quit: leaving]
<banister`sleep>
Hanmac1: hurry, i wanna talk about it with you
corehook has quit [Read error: Operation timed out]
Hanmac has quit [Ping timeout: 246 seconds]
banjara has joined #ruby
emmanuelux has quit [Ping timeout: 256 seconds]
cantonic has joined #ruby
s0ber_ has joined #ruby
Alamo777 has joined #ruby
pskosinski has quit [Ping timeout: 252 seconds]
Hanmac1 is now known as Hanmac
Alamo777 has quit [Read error: Connection reset by peer]
Alamo777_ has joined #ruby
s0ber has quit [Ping timeout: 260 seconds]
s0ber_ is now known as s0ber
<whowantstolivef1>
hi, im doing beginner examples in ruby and i have a file with name numbers.rb and i have some variables that asking and calculating to and etc.. in this file... as IDE i use Rubymine 4.5 i want ask when i run code in console, can i specify any local variable to make run ? because when i run all file, i again fill all questions and other variables.
stoic_squirrel has joined #ruby
ryanhirsch has quit [Quit: Computer has gone to sleep.]
richcollins has joined #ruby
krainboltgreene has joined #ruby
pskosinski has joined #ruby
<Hanmac>
banister`sleep: did you watch "Eerie, Indiana" ?
<banister`sleep>
Hanmac: Yes.
<banister`sleep>
Hanmac: it was good
<banister`sleep>
haven't watched it in about 10 years though
nomenkun has quit [Remote host closed the connection]
<Hanmac>
the veryvery best episode was "Reality Takes a Holiday" ;P
ppppaul has joined #ruby
<ppppaul>
how to ruby?
krawchyk has quit [Remote host closed the connection]
princebot_ has joined #ruby
<Sou|cutter>
ppppaul: first, use brain.
<ppppaul>
this is hard
sideshowcoder has quit [Read error: Operation timed out]
princebot_ has left #ruby [#ruby]
<ppppaul>
what do you rubies think of function ruby?
<Sou|cutter>
ppppaul: when smoke comes out, take a break
princebot has quit [Ping timeout: 252 seconds]
jdunck has joined #ruby
aedorn has quit [Quit: Leaving]
jrendell has joined #ruby
graydot has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
graydot has joined #ruby
wallclockbuilder has quit [Ping timeout: 245 seconds]
pcarrier has quit [Quit: Computer has gone to sleep.]
<Hanmac>
ppppaul: you can try functional programming, but on ruby its only object programming in disguising
Z_Mass has joined #ruby
<ppppaul>
um
richcollins has quit [Quit: richcollins]
sideshowcoder has joined #ruby
<ppppaul>
the only thing i think i need to worry about is that ruby isn't lazy
SecretAgent has quit [Remote host closed the connection]
monkegji_ has quit [Ping timeout: 245 seconds]
estan has quit [Read error: Connection reset by peer]
<Sou|cutter>
ppppaul: ruby 2 has lazy enumerators
haxrbyte has quit [Remote host closed the connection]
<ppppaul>
i don't know if i'm on ruby 2
<ppppaul>
that sounds nice, though
haxrbyte has joined #ruby
<ppppaul>
that would take a lot of pain out of fun FP
* Hanmac
wrote a ruby test game with 230 FPS ... so ruby can be fast if it wants
<ppppaul>
i have a graphics programming background
<ppppaul>
and FP background
<ppppaul>
i am good at figuring out how to make things fast when i want them to be
pipework has quit [Remote host closed the connection]
Eldariof-ru has quit [Read error: Operation timed out]
<ppppaul>
i'm also really good at breaking things
alanp_ is now known as alanp
<Sou|cutter>
Hanmac: What things did you have to optimize to get there? Or is it not rendering much?
<Hanmac>
Sou|cutter: i use an C++ GPU accelerated Rendering engine for that ... inside ruby ;P
richcollins has joined #ruby
<Sou|cutter>
ah, figures.
pandy_ has joined #ruby
wallclockbuilder has joined #ruby
<Hanmac>
... but its not finish yet and i didnt have the time recently :(
aedorn has joined #ruby
foxnewsnetwork has left #ruby [#ruby]
mikepack has quit [Remote host closed the connection]
dangerousdave has quit [Quit: Leaving...]
pandy has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
freerobby has quit [Quit: Leaving.]
wallcloc_ has joined #ruby
<krainboltgreene>
Would the world be a better place if Ruby tossed Classes, inheritance, and moved a prototype architecture?
wallclockbuilder has quit [Ping timeout: 245 seconds]
estan has joined #ruby
<marxarelli>
i'm not sure. has javascript's prototype architecture made the world a better place?
gvz has quit []
Ontolog_ has joined #ruby
wallcloc_ has quit [Remote host closed the connection]
mawueli has joined #ruby
kf8a has quit [Quit: Computer has gone to sleep.]
<krainboltgreene>
Prototyping hurts in Javascript, though.
mikepack has joined #ruby
dmiller has joined #ruby
Ontolog has quit [Read error: Operation timed out]
kristofers has quit []
<marxarelli>
krainboltgreene: i'm not sure about 'hurts', but it definitely confuses people. and many libraries tend to try and emulate classes which compounds the confusion
<krainboltgreene>
Io did it beautifully, and very performant.
nwertman_ has quit [Remote host closed the connection]
mneorr_ has joined #ruby
lufi has quit [Read error: Operation timed out]
emptymag00 has joined #ruby
mark_locklear has quit [Ping timeout: 260 seconds]
jlast has joined #ruby
Azulinho has quit [Ping timeout: 252 seconds]
obfuscate2 has joined #ruby
lkba has quit [Ping timeout: 248 seconds]
<shevy>
Io uses := for assignment
Marco__ has joined #ruby
<shevy>
Ruby should do away with the distinction between classes and modules
Marco__ is now known as Marco
decentrality has quit [Quit: decentrality]
ebobby has quit [Ping timeout: 260 seconds]
<shevy>
javascript prototype model is annoying, I find javascript in itself very annoying and only successful because it is the monopoly in the browser language
<shevy>
but no worries, dart will destroy javascript
<ppppaul>
js without prototype is simple
wolcanus has quit [Remote host closed the connection]
sepp2k has quit [Remote host closed the connection]
tv7497 has joined #ruby
Tricon has quit [Ping timeout: 248 seconds]
dangerousdave has joined #ruby
tv7497 has left #ruby [#ruby]
lufi has joined #ruby
<krainboltgreene>
I do dislike := for assignment, shevy.
<aedorn>
First you'd need all browsers to support Dart, and there's really no plans of it besides Chrome/Chromium with the embedded Dart VM. Mobile devices aren't where they need to be in order to not care about the performance difference - especially on devices where it makes a difference (Firefox OS would be the current example.)
wolcanus has joined #ruby
<krainboltgreene>
Embedded VM. There's no Dart VM plans.
crazymykl has quit [Read error: Connection reset by peer]
Tricon has joined #ruby
mawueli_ has quit [Ping timeout: 245 seconds]
chrishunt has joined #ruby
arya has quit [Ping timeout: 248 seconds]
crazymykl has joined #ruby
mawueli has joined #ruby
estan has quit [Read error: Connection reset by peer]
<aedorn>
Alternatively, which is more likely, we'll get better optimization to get 90% of the performance back from the compilation of Dart to JS, but even then it if you want to optimize further that means knowing and writing pure JS.
obfuscate2 has quit [Quit: Leaving]
arya has joined #ruby
marr has joined #ruby
tealmage has quit [Remote host closed the connection]
yalue has quit [Read error: Connection reset by peer]
<aedorn>
Then, of course, you have to get everyone writing Dart instead of JS. Which is going to be hard. It's going to open another language debate about what is better, and maybe 20 years down the line we'll have a change (or not!)
mawueli has quit [Ping timeout: 268 seconds]
lewix has joined #ruby
daniel_hinojosa has joined #ruby
iPhoneMRZ has joined #ruby
iPhoneMRZ has quit [Client Quit]
<shevy>
krainboltgreene what was cool in Io was introspection
<shevy>
ruby still isn't there :(
<aedorn>
And finally, you still have to compete with JavaScript, which over the years has definitely gotten better. A lot better. And let's not rule out device fragmentation as there will always be outliers. Nope... JS is here to stay for a long while still.
iPhoneMRZ has joined #ruby
joofsh has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
iPhoneMRZ has quit [Client Quit]
decentrality has joined #ruby
joofsh has joined #ruby
Lubinski has quit [Quit: Leaving]
xardas has quit [Changing host]
xardas has joined #ruby
freerobby has joined #ruby
emmanuelux has joined #ruby
<krainboltgreene>
shevy: Damn straight.
v0n has quit [Ping timeout: 245 seconds]
<krainboltgreene>
shevy: Also, how all of Io looked like all of Io. No surprises. No "Well it's something entirely different when used in this context"
<shevy>
hmm
robscomputer has quit [Read error: Connection reset by peer]
<shevy>
Ruby + Io + Erlang
<shevy>
that would be a mix
Ontolog has joined #ruby
geekbri has quit [Remote host closed the connection]
<shevy>
but it must retain beautiful syntax
<krainboltgreene>
Ruby + Io is just Ruby minus half.
robscomputer has joined #ruby
estan has joined #ruby
<krainboltgreene>
Which isn't a bad thing.
<shevy>
Io is a simpler language than Ruby right?
<shevy>
conceptually
<krainboltgreene>
Significantly.
<krainboltgreene>
Like no classes.
spalenza has quit [Remote host closed the connection]
<krainboltgreene>
In some ways bad, though. For instance no literals for common types ([], {}, etc)
johnnyfuchs1 has quit [Remote host closed the connection]
Ontolog_ has quit [Ping timeout: 268 seconds]
johnnyfuchs has joined #ruby
wsterling has quit [Read error: Connection reset by peer]
wsterling has joined #ruby
arya has quit [Ping timeout: 248 seconds]
robscomputer_ has joined #ruby
zastern_ has joined #ruby
robscomputer has quit [Ping timeout: 245 seconds]
ozzloy has joined #ruby
camt has quit [Changing host]
camt has joined #ruby
wedgex has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
<alex__c2022>
anyone in nyc looking for a full time ruby dev job?
Al__ has joined #ruby
aces23up has quit [Ping timeout: 252 seconds]
zastern_ has quit [Remote host closed the connection]
JMcAfreak has quit [Read error: Connection reset by peer]
zastern has joined #ruby
estan has quit [Read error: Connection reset by peer]
<pandy_>
This guide http://guides.rubyonrails.org/routing.html refers to the "Rails Router". In a simple Rails application, does this refer to the routes.rb file, found at root/config/routes.rb ?
<ericwood>
routes.rb defines the routes that the rails router uses
JMcAfreak has joined #ruby
<ericwood>
also, #rubyonrails
blacktulip has quit [Remote host closed the connection]
JMcAfreak has quit [Read error: Connection reset by peer]
carloslopes has quit [Remote host closed the connection]
evenix has quit [Remote host closed the connection]
<pandy_>
right!
<pandy_>
so what exactly is the rails router
<pandy_>
?
<pandy_>
and where?
evenix has joined #ruby
kleinerdrache has quit [Quit: Ex-Chat]
<Hanmac>
alex__c2022: with or without rails?
nettoweb has quit [Quit: nettoweb]
<ericwood>
pandy_: it is code that does routing
<ericwood>
it lives in rails
<ericwood>
it takes in HTTP requests for certain URLs and delegates them to the correct controllers/actions
nomenkun has joined #ruby
<pandy_>
I see..not them I'm going to do any poking around, but just so I get my head around it, does it live inside the gem?
crazymykl has quit [Read error: Connection reset by peer]
<pandy_>
*not that I'm
<ericwood>
it's part of the Rails library
* ericwood
can't remember which of the 100 Rails dependencies houses the router
crazymykl has joined #ruby
cantonic has quit [Quit: cantonic]
<pandy_>
yes :L
<ericwood>
but it's really not something you should care about for now if you're getting started
<pandy_>
I agree!
<pandy_>
thanks
<ericwood>
just know it exists and is an integral part of rails
<pandy_>
yep
crazymykl has quit [Remote host closed the connection]
<pandy_>
a blackbox
kobain has quit [Remote host closed the connection]
jcromartie has quit [Quit: Computer has gone to sleep.]
JMcAfreak has quit [Read error: Connection reset by peer]
wsterling has joined #ruby
wsterling has quit [Remote host closed the connection]
tsan has quit [Quit: Leaving.]
whowantstolivef1 has quit [Quit: quit]
arya has joined #ruby
kobain has quit [Remote host closed the connection]
kobain has joined #ruby
kf8a has joined #ruby
Tricon has quit [Quit: Leaving...]
Z_Mass has quit [Ping timeout: 256 seconds]
karancho has quit [Remote host closed the connection]
Macaveli has joined #ruby
machuga is now known as machuga|away
wgosling has left #ruby ["Konversation terminated!"]
blf has joined #ruby
monkegjinni has quit [Remote host closed the connection]
cek has quit [Ping timeout: 276 seconds]
Al__ has quit [Quit: Al__]
crazymykl has quit [Remote host closed the connection]
JMcAfreak has joined #ruby
kobain has quit [Remote host closed the connection]
crazymykl has joined #ruby
crazymykl has quit [Client Quit]
kobain has joined #ruby
failshell has quit [Remote host closed the connection]
Tricon has joined #ruby
neku has quit [Quit: Leaving...]
kofno has quit [Remote host closed the connection]
crazymykl has joined #ruby
LennyLinux has joined #ruby
Al__ has joined #ruby
jovy88 has joined #ruby
decentrality has quit [Quit: decentrality]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
akells` has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
SAUCYSALAMANDER has joined #ruby
interactionjaxsn has joined #ruby
slash_nick has quit [Ping timeout: 256 seconds]
joofsh has quit [Remote host closed the connection]
Macaveli has quit [Read error: Connection reset by peer]
slash_nick has joined #ruby
corehook has joined #ruby
estan has quit [Read error: Connection reset by peer]
jeebster1 has joined #ruby
Marco has quit [Ping timeout: 252 seconds]
Neomex has quit [Quit: Neomex]
Progster has quit [Ping timeout: 255 seconds]
jeebster has quit [Ping timeout: 252 seconds]
<blf>
Hey guys, I'm pretty new to unit testing. I'm wondering if something like test_constructor_with_valid_arguments_returns_valid_and_ready_reader would be representative of a decent test, or if it's better to create tests based upon each parameter?
neku has joined #ruby
mattbl has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
interactionjaxsn has quit [Ping timeout: 256 seconds]
<shadoi>
There are no rules, all tests are good to have.
thone has joined #ruby
<shadoi>
Unless they validate broken behavior of course :)
jerius has quit [Ping timeout: 245 seconds]
<aedorn>
blf: That depends on your view. Some will say don't test things that should inherently work by default. If you're doing something on the constructor other than just pure assignment, I would say test it for sure. If you aren't... it's subjective.
mmitchell has quit [Ping timeout: 245 seconds]
mattbl has quit [Quit: This computer has gone to sleep]
jnoob22 has quit [Remote host closed the connection]
mmitchel_ has quit [Ping timeout: 252 seconds]
idkazuma has joined #ruby
<blf>
aedorn: Well, I'd like to validate that an argument to the constructor is of an acceptable type (duck-typed that is). I figured that would probably dictate a test.
wolcanus has quit [Remote host closed the connection]
tspike has quit [Ping timeout: 252 seconds]
<aedorn>
blf: Yes, it would.
Al__ has quit [Quit: Al__]
<blf>
For instance, my reader will require methods similar to IO, so I want to validate that the object being passed responds to :readline, etc.
chrishough has quit [Quit: chrishough]
thone_ has quit [Ping timeout: 264 seconds]
johnnyfuchs has quit [Ping timeout: 268 seconds]
axl_ has quit [Quit: axl_]
mixel has joined #ruby
<blf>
So then maybe a better method would be test_constructor_with_io_like_argument_returns_valid_and_ready_reader
<blf>
BTW, do you guys know of any way to verify that an IO stream has been opened for reading (other than requesting stat from the operating system)?
<shadoi>
blf: I usually only test the results of methods, not their arguments or intermediate states.
estan has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
tspike has joined #ruby
<blf>
I didn't see anything, but it seems like that would be a property that IO should keep track of.
<shadoi>
blf: IO#closed?
wolcanus has joined #ruby
wolcanus has quit [Remote host closed the connection]
<blf>
shadoi: No. I don't think that would work. An IO can be opened for writing only, in which case reading fails.
<shadoi>
Yeah I suppose you'd just need to read a byte and rewind it… *shrug*
xardas has quit [Ping timeout: 276 seconds]
kofno has joined #ruby
spoonman has quit [Quit: WeeChat 0.4.0]
neku has quit [Quit: Leaving...]
solrize has joined #ruby
foofoobar has quit [Quit: Computer has gone to sleep.]
<MouseTheLuckyDog>
I can't find documentation for io/console.
<shadoi>
select will monitor for readable/ready state but I'm not sure you can make that work
<shadoi>
MouseTheLuckyDog: it's in 2.0.0
Ontolog_ has joined #ruby
<solrize>
@faq tutorial
<pandy_>
sorry to interupt..
<pandy_>
match "/patients/:id" => "patients#show"
<pandy_>
what does that # mean?
<pandy_>
thanks
kofno has quit [Remote host closed the connection]
wsterling has joined #ruby
<blf>
shadoi: How come you don't test method arguments? That seems like a prime candidate for unit testing to me. (verifying that the method properly accepts or rejects certain arguments)
<shadoi>
blf: I think it's overly pedantic
<blf>
pandy_: instance method
red5_ has quit [Quit: Page closed]
kfr2 has quit [Quit: leaving]
vaicine has quit [Ping timeout: 245 seconds]
<MouseTheLuckyDog>
shadoi, thye mention it and list the methods, but not what they do.
mikepack has quit [Remote host closed the connection]
headius has quit [Quit: headius]
<MouseTheLuckyDog>
and googling doesn't help
Ontolog has quit [Ping timeout: 245 seconds]
kirun has quit [Quit: Client exiting]
sailias has joined #ruby
<blf>
MouseTheLuckyDog: IO::console
splittingred has quit [Quit: splittingred]
<blf>
It's available through ri on my workstation.
jtharris has quit [Quit: WeeChat 0.4.0]
<blf>
Returns a File instance opened console. You must require 'io/console' to use this method.
d11wtq has quit [Ping timeout: 255 seconds]
<slash_nick>
blf: whatcha working on?
<blf>
IO.console -> #<File:/dev/tty>
<slash_nick>
is it open source?
solidoodlesuppor has quit [Remote host closed the connection]
<blf>
slash_nick: It will be eventually. I'm writing a Fasta reader.
<blf>
It's a pretty small project (the library will grow with time), but I figured it would be good to introduce myself to TDD.
* blf
39303 Fasta files to read in the near future :/
* slash_nick
googles Fasta
robscomputer has quit [Read error: Connection reset by peer]
<blf>
It's a bioinformatics sequencing format.
robscomputer has joined #ruby
backjlack has quit [Remote host closed the connection]
Z_Mass has joined #ruby
jeebster1 has quit [Quit: Leaving.]
tealmage has joined #ruby
<linduxed>
blf: funny, i was going to implement a Fasta writer/reader in haskell :-P
<MouseTheLuckyDog>
blf: It only describes the method not the other methods available in the module.
<blf>
o/ *whack*
kf8a has quit [Quit: Computer has gone to sleep.]
alex__c2022 has quit [Quit: alex__c2022]
<linduxed>
now dig the video :-D
banghouse2 has joined #ruby
arya has quit []
robottinosino has joined #ruby
SDr_ is now known as Sdr
Sdr is now known as SDr
carlyle has quit [Remote host closed the connection]
SDr has quit [Changing host]
SDr has joined #ruby
banghouse2 is now known as banghouse
Z_Mass has quit [Client Quit]
dangerousdave has quit [Quit: Leaving...]
kofno has joined #ruby
alexgordon has joined #ruby
mikepack has joined #ruby
<slash_nick>
blf: neat... i was playing with IO the other day, that's why i asked... (a more trivial use of io/console https://github.com/rthbound/konamio )
dmiller has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
twoism has joined #ruby
estan has quit [Read error: Connection reset by peer]
jovy88 has quit [Ping timeout: 245 seconds]
chessguy has joined #ruby
Mortchek has quit [Ping timeout: 252 seconds]
hotrine has joined #ruby
backjlack has joined #ruby
krainboltgreene has joined #ruby
rouss has quit [Quit: Computer has gone to sleep.]
kofno has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
jamie_ca_ has quit [Quit: Computer has gone to sleep.]
jlast has quit [Remote host closed the connection]
<MouseTheLuckyDog>
Any idea why the second system no longer takes it's input from the tty?
mmitchell has joined #ruby
kuzushi_ has quit [Read error: Connection reset by peer]
ipalaus has quit [Client Quit]
lkba has joined #ruby
kuzushi_ has joined #ruby
kemist has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac1 has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
KellyLSB has quit [Ping timeout: 246 seconds]
Hanmac has quit [Ping timeout: 245 seconds]
baba has joined #ruby
megha has quit [Ping timeout: 245 seconds]
`p has joined #ruby
Mortchek has joined #ruby
mmitchell has quit [Ping timeout: 264 seconds]
rmnuvg has quit [Ping timeout: 264 seconds]
KellyLSB has joined #ruby
ffranz has quit [Quit: Leaving]
Bry8Star has quit [Ping timeout: 276 seconds]
kuzushi__ has joined #ruby
asym has quit [Quit: Lost terminal]
Umren has quit [Remote host closed the connection]
thetristan has quit [Ping timeout: 252 seconds]
fermion has quit [Quit: Computer has gone to sleep.]
ariedler has joined #ruby
Guedes0 has joined #ruby
idkazuma has quit [Remote host closed the connection]
arthurstomp has joined #ruby
kuzushi_ has quit [Ping timeout: 256 seconds]
rton has left #ruby [#ruby]
gstamp has joined #ruby
nwertman_ has joined #ruby
zekefast has quit [Ping timeout: 256 seconds]
Bry8Star has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
robscomputer has quit [Remote host closed the connection]
estan has quit [Read error: Connection reset by peer]
scottmey has quit [Quit: scottmey]
matchaw_ has quit [Ping timeout: 248 seconds]
matchaw has joined #ruby
gyre007 has joined #ruby
Jedi_SCT1 has quit [Quit: See ya]
peta_ has quit [Quit: peta_]
matchaw has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
Jedi_SCT1 has joined #ruby
mixel has quit [Quit: mixel]
freerobby has quit [Quit: Leaving.]
ZachBeta has joined #ruby
Romeu has joined #ruby
blf has quit [Quit: Page closed]
robottinosino has quit [Quit: WeeChat 0.4.0]
matchaw has joined #ruby
rmnuvg has joined #ruby
wsterling has quit [Remote host closed the connection]
danslo has quit [Quit: danslo]
estan has joined #ruby
LennyLinux has quit [Remote host closed the connection]
Yakko_ has joined #ruby
scottmey has joined #ruby
scottmey has quit [Remote host closed the connection]
pinpin404 has quit [Read error: Connection reset by peer]
scottmey has joined #ruby
Ontolog has joined #ruby
malte_ has quit [Quit: malte_]
mattbl has quit [Quit: This computer has gone to sleep]
Yakko has quit [Ping timeout: 252 seconds]
ossareh has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
reactormonk has quit [Ping timeout: 264 seconds]
Ontolog_ has quit [Ping timeout: 245 seconds]
mrsolo has quit [Quit: Leaving]
spider-mario has quit [Remote host closed the connection]
headius has joined #ruby
freerobby has joined #ruby
pevjan has joined #ruby
undersc0re97 has quit [Quit: Leaving]
fail has joined #ruby
pevjan has quit [Read error: Connection reset by peer]
undersc0re97 has joined #ruby
fail is now known as Guest83841
pevjan has joined #ruby
enebo has joined #ruby
kobain has quit [Read error: Connection reset by peer]
dmiller has joined #ruby
kobain has joined #ruby
johnnyfuchs has joined #ruby
richcollins has quit [Quit: richcollins]
carlyle has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
emergion has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
dmiller has joined #ruby
emergion has quit [Max SendQ exceeded]
chrisja has quit [Quit: leaving]
mljsimone has joined #ruby
pandy has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
estan has quit [Read error: Connection reset by peer]
cofin has quit [Quit: cofin]
Marco has quit [Read error: Operation timed out]
hotrine has quit [Ping timeout: 260 seconds]
emergion has joined #ruby
westoque has joined #ruby
emergion has quit [Max SendQ exceeded]
<westoque>
Hey guys: I'm using "minitest" and making an external request to an test server I made using Sinatra and I get a Errno::ECONNREFUSED. I can't figure out why
nwertman has quit [Quit: Lost terminal]
nwertman has joined #ruby
icole has quit [Remote host closed the connection]
emergion has joined #ruby
Marco has joined #ruby
emergion has quit [Max SendQ exceeded]
emergion has joined #ruby
ephemerian has left #ruby [#ruby]
idkazuma has joined #ruby
threesome has quit [Ping timeout: 276 seconds]
AndChat| has joined #ruby
predator217 has joined #ruby
vlad_starkov has joined #ruby
Banistergalaxy has quit [Ping timeout: 248 seconds]
enebo has quit [Quit: enebo]
sayan has quit [Read error: Connection reset by peer]
d11wtq has joined #ruby
<r0bgleeson>
westoque: what port is the server running on, and what port are you trying to connect to? sinatra runs on a high port in development mode.
nwertman has quit [Quit: Lost terminal]
_Amaan has quit [Quit: _Amaan]
nwertman has joined #ruby
estan has joined #ruby
nwertman has quit [Client Quit]
nwertman has joined #ruby
predator117 has quit [Ping timeout: 260 seconds]
<westoque>
r0bgleeson: Sinatra is running on port 9000. I'm using minitest with selenium to make a request to that port