reppardRubyIRC has quit [Remote host closed the connection]
sandGorgon has quit [Ping timeout: 245 seconds]
<reppard>
awww, it died
<reppard>
haha
thorncp has joined #ruby
d_roge has joined #ruby
thomasfedb has joined #ruby
lele has joined #ruby
tekacs has joined #ruby
kzrl has joined #ruby
sebastianb has joined #ruby
<bean>
reppard, okay. And you're sure that command has text in it?
techlife has quit [Ping timeout: 256 seconds]
* bean
suggests looking at "command" right before you send it
<reppard>
i threw some debug puts statments and the command returns my input
ericmathison has joined #ruby
<reppard>
puts "::::DEBUG::: COMMAND: #{command}" returns just what i would expect
Drakevr has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
<bean>
hmm, well, you could always build the string before you use it `str_to_send = "PRIVMSG #{@current_channel} :#{command}\r\n" ` and make sure that looks right too
ph^ has quit [Ping timeout: 246 seconds]
NiteRain has joined #ruby
<reppard>
bean: good point
agarie has joined #ruby
<reppard>
i will try this
kofno has quit [Remote host closed the connection]
testUserDude has joined #ruby
<reppard>
no go =\
testUserDude has quit [Client Quit]
hakunin has joined #ruby
techlife has joined #ruby
Hanmac has quit [Ping timeout: 256 seconds]
jjbohn has quit [Quit: Leaving...]
<reppard>
im spiking this out and its a mess right now
testUserDude has joined #ruby
justinmcp_ has quit [Quit: No Ping reply in 180 seconds.]
<reppard>
i wanted to figure out somethings before i go test driving it
WanderingGlitch has quit [Ping timeout: 258 seconds]
arusso has quit [Ping timeout: 258 seconds]
sayd has joined #ruby
drago777 has joined #ruby
wormwood has joined #ruby
<testUserDude>
haha awesome i got it working
<testUserDude>
its working
wrench has joined #ruby
arusso has joined #ruby
seich- has joined #ruby
<testUserDude>
but very slowly
pkrnj has joined #ruby
tcopp has quit [Ping timeout: 276 seconds]
gianlucadv has quit [*.net *.split]
xrq has quit [*.net *.split]
diego_k has quit [Ping timeout: 256 seconds]
WanderingGlitch has joined #ruby
<testUserDude>
still...its usable
v__ has quit [Ping timeout: 256 seconds]
shammancer has joined #ruby
rcs_ has joined #ruby
nari has quit [Ping timeout: 264 seconds]
sixtenei1hty has joined #ruby
nari has joined #ruby
passbe1 has joined #ruby
wormwood has quit [Ping timeout: 264 seconds]
Opettaja has joined #ruby
pkrnj has quit [Ping timeout: 256 seconds]
testUserDude has quit [Ping timeout: 264 seconds]
mahmoudimus has joined #ruby
Tarential has quit [Excess Flood]
ericmathison has joined #ruby
caveat- has joined #ruby
WanderingGlitch has quit [Ping timeout: 256 seconds]
techlife has quit [*.net *.split]
Davey has quit [*.net *.split]
rcs has quit [*.net *.split]
JoeHazzers has quit [*.net *.split]
Demux_ has quit [*.net *.split]
hamakn_ has quit [*.net *.split]
aytch_ has quit [*.net *.split]
beilabs has quit [*.net *.split]
alex__c2022 has quit [*.net *.split]
Roa has quit [*.net *.split]
passbe has quit [*.net *.split]
drfreeze_ has quit [*.net *.split]
mikekelly has quit [*.net *.split]
Guest13330 has quit [*.net *.split]
d2dchat has quit [*.net *.split]
rcs_ is now known as rcs
shevy2 has joined #ruby
pasties has quit [Ping timeout: 256 seconds]
coaster has quit [Read error: Connection reset by peer]
coaster has joined #ruby
WanderingGlitch has joined #ruby
coaster has joined #ruby
coaster has quit [Changing host]
kkh has joined #ruby
diegok has joined #ruby
indigenous has quit [Read error: Connection reset by peer]
hesco has quit [Excess Flood]
pasties has joined #ruby
techlife has joined #ruby
matchaw_ has joined #ruby
v__ has joined #ruby
Davey has joined #ruby
wrench has joined #ruby
arusso has quit [Changing host]
arusso has joined #ruby
sayd has quit [Ping timeout: 258 seconds]
drago777 has quit [Ping timeout: 258 seconds]
seich- has quit [Ping timeout: 258 seconds]
sayd has joined #ruby
drago777 has joined #ruby
psyprus has joined #ruby
hesco1 has joined #ruby
bjeanes has joined #ruby
seich- has joined #ruby
arusso has quit [Ping timeout: 258 seconds]
NiteRain has joined #ruby
NiteRain has quit [Client Quit]
Guest61788 has quit [Ping timeout: 252 seconds]
alexwh has quit [Ping timeout: 252 seconds]
Vert has quit [Ping timeout: 252 seconds]
kofno has quit [Ping timeout: 252 seconds]
Bish has quit [Ping timeout: 252 seconds]
alexwh has joined #ruby
Hanmac has joined #ruby
altivec has joined #ruby
Vert has joined #ruby
<XxBlakeFailxX>
Anyone have the patience to try to help out someone new?
Roa has joined #ruby
Bish_ has joined #ruby
mikekelly has joined #ruby
Demux_ has joined #ruby
wormwood has joined #ruby
alex__c2022 has joined #ruby
d2dchat has joined #ruby
Guest13330 has joined #ruby
aytch_ has joined #ruby
drfreeze_ has joined #ruby
hamakn_ has joined #ruby
mikekelly has quit [Changing host]
mikekelly has joined #ruby
JoeHazzers_ has joined #ruby
xrq has joined #ruby
arusso has joined #ruby
JoeHazzers_ is now known as JoeHazzers
sleetdrop has joined #ruby
gianlucadv has joined #ruby
pkrnj has joined #ruby
sixteneighty has quit [*.net *.split]
thorncp has quit [*.net *.split]
d_roge has quit [*.net *.split]
kzrl has quit [*.net *.split]
lele has quit [*.net *.split]
tekacs has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
stnly has quit [Ping timeout: 264 seconds]
sebastianb has quit [*.net *.split]
Davey has quit [Max SendQ exceeded]
thorncp has joined #ruby
d_roge has joined #ruby
lele has joined #ruby
kzrl has joined #ruby
tekacs has joined #ruby
thomasfedb has joined #ruby
sebastianb has joined #ruby
v__ has quit [Max SendQ exceeded]
Drakevr has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
danslo has quit [Quit: danslo]
matchaw has quit [Ping timeout: 245 seconds]
Tarential has joined #ruby
v__ has joined #ruby
Davey has joined #ruby
Sp4rKy has joined #ruby
v__ has quit [Max SendQ exceeded]
<bnagy>
best just to ask your question
indigenous has joined #ruby
katherinem13 has joined #ruby
<XxBlakeFailxX>
So I have a test project I set up where you can enter in a code block, and it should evaluate it for you. First attempt to make it better was to make a ThreadPool, I have run into an issue where sometimes the thread doesn't run at proper time. http://stackoverflow.com/questions/15603202/issue-with-ruby-thread-pools
xerxas has quit [Read error: Operation timed out]
strax_ has joined #ruby
WorkerBee has quit [Ping timeout: 252 seconds]
felixjet_ has joined #ruby
erichmenge_ has joined #ruby
pkrnj has quit [Ping timeout: 256 seconds]
soukihei has quit [Ping timeout: 256 seconds]
17WABC1UP has quit [Ping timeout: 256 seconds]
calmyournerves_ has quit [Ping timeout: 256 seconds]
jaimef has quit [Ping timeout: 256 seconds]
Davey has quit [Max SendQ exceeded]
techlife has quit [Ping timeout: 264 seconds]
caveat- has quit [Ping timeout: 256 seconds]
shammancer has quit [Ping timeout: 256 seconds]
huoxito has quit [Ping timeout: 256 seconds]
ericmathison has quit [Ping timeout: 264 seconds]
nari has quit [Ping timeout: 264 seconds]
WanderingGlitch has quit [Changing host]
WanderingGlitch has joined #ruby
<bnagy>
ick
hesco has joined #ruby
gf3 has quit [Read error: Operation timed out]
shammancer_ has joined #ruby
Mchl has quit [Ping timeout: 256 seconds]
felixjet has quit [Ping timeout: 256 seconds]
caveat-_ has joined #ruby
chendo has quit [Ping timeout: 256 seconds]
ssvo_ has quit [Ping timeout: 256 seconds]
RebelBunny has quit [Ping timeout: 256 seconds]
vandemar has quit [Ping timeout: 256 seconds]
cronus_ has quit [Ping timeout: 256 seconds]
geggam has quit [Ping timeout: 256 seconds]
breadtk has quit [Quit: leaving]
Sp4rKy has quit [Ping timeout: 264 seconds]
swounding60 has quit [Ping timeout: 256 seconds]
bjeanes has quit [Ping timeout: 258 seconds]
hesco1 has quit [Ping timeout: 258 seconds]
seich- has quit [Ping timeout: 258 seconds]
sayd has quit [Ping timeout: 258 seconds]
drago777 has quit [Ping timeout: 258 seconds]
wrench has quit [Ping timeout: 258 seconds]
arusso has quit [Ping timeout: 258 seconds]
jimeh has quit [Quit: Computer has gone to sleep.]
katherinem13 has quit [Ping timeout: 256 seconds]
pkrnj has joined #ruby
Mchl has joined #ruby
calmyournerves has joined #ruby
huoxito has joined #ruby
felixjet_ has quit [Ping timeout: 256 seconds]
rcs has quit [Ping timeout: 256 seconds]
chessguy has joined #ruby
nari has joined #ruby
v__ has joined #ruby
erichmenge has quit [Quit: Arrivederci!]
Tarential has quit [Excess Flood]
erichmenge_ is now known as erichmenge
epta has quit [Ping timeout: 256 seconds]
coaster has quit [Ping timeout: 256 seconds]
pasties has quit [Ping timeout: 256 seconds]
Tarential has joined #ruby
katherinem13 has joined #ruby
ndngvr has joined #ruby
ndngvr has quit [Excess Flood]
epta has joined #ruby
matchaw has joined #ruby
pasties has joined #ruby
AllStruck has quit [Ping timeout: 256 seconds]
soukihei_ has joined #ruby
sixtenei1hty has quit [Ping timeout: 264 seconds]
coaster has joined #ruby
xerxas has joined #ruby
ocher has quit [Ping timeout: 264 seconds]
chendo has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
alexwh has quit [Ping timeout: 252 seconds]
Vert has quit [Ping timeout: 252 seconds]
altivec has quit [Ping timeout: 252 seconds]
felixjet_ has joined #ruby
alexwh has joined #ruby
vandemar_ has joined #ruby
rcs_ has joined #ruby
Vert has joined #ruby
rcs_ is now known as rcs
ocher has joined #ruby
geggam has joined #ruby
shammancer_ has quit [Ping timeout: 256 seconds]
averiso has joined #ruby
Davey has joined #ruby
breadtk has joined #ruby
vandemar_ is now known as vandemar
AllStruck has joined #ruby
yourmysin has quit [Read error: Connection reset by peer]
shammancer_ has joined #ruby
vandemar has quit [Changing host]
vandemar has joined #ruby
tmiller has joined #ruby
v__ has quit [Ping timeout: 292 seconds]
soukihei_ is now known as soukihei
matchaw_ has quit [Ping timeout: 292 seconds]
sixteneighty has joined #ruby
Sp4rKy has joined #ruby
Hanmac has joined #ruby
techlife has joined #ruby
gf3 has joined #ruby
passbe1 is now known as passbe
altivec has joined #ruby
passbe has quit [Changing host]
passbe has joined #ruby
jaimef has joined #ruby
bubblehead has quit []
ssvo has joined #ruby
ericmathison has joined #ruby
NiteRain has joined #ruby
idkazuma has joined #ruby
averiso has quit [Client Quit]
dnyy has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
beilabs has joined #ruby
jurassic_ has quit [Quit: jurassic_]
cronus_ has joined #ruby
BadQuanta has joined #ruby
freerobby has quit [Quit: Leaving.]
swounding60 has joined #ruby
jamie_ca_ has joined #ruby
<BadQuanta>
I've got a project that needs me to interface with a Windows DLL. Any suggestions? My first attempt was with MRI 2.0, but ran into different issues. Could possibly have been because I was on a 64-bit OS with 64-bit ruby trying to integrate with a 32-bit DLL.. not sure. I'm installing a 32-bit Win7 test client now, but was wondering if I should start out with a different ruby? Older? 1.9? 1.8? Or perhaps should I give JR
<BadQuanta>
uby a spin? If I understand correctly, FFI grew up there and it might be best?
quazimodo has joined #ruby
JoeHazzers_ has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
sayan has joined #ruby
* waxjar
is listening to The Telephone Song by Charles Bradley (2:42/3:48)
<BadQuanta>
I've never used a DLL with ruby before, but have loaded Linux sharable modules before so I do understand the basics.
<waxjar>
whoops, wrong chan
brianpWins has joined #ruby
JoeHazzers has quit [*.net *.split]
psyprus has quit [*.net *.split]
JoeHazzers_ is now known as JoeHazzers
pkh has joined #ruby
hamakn_ has quit [Remote host closed the connection]
RebelBunny has joined #ruby
jamie_ca has joined #ruby
hemanth has quit [Quit: This computer has gone to sleep]
<reppardIRCTest>
lets see if i can get a stack to deep fault
beilabs has joined #ruby
<reppard>
reppardIRCTest: shuttup
<reppard>
reppardIRCTest: you are a dumb a-hole
reppard has quit [Quit: leaving]
reppardIRCTest is now known as reppard
ph^ has quit [Ping timeout: 245 seconds]
gabrielrotbart has quit [Remote host closed the connection]
reppard has quit [Quit: reppard]
zph has quit []
xpen has joined #ruby
katherin1m13 is now known as katherinem13
hamakn has quit [Remote host closed the connection]
<BadQuanta>
bnagy: Thanks. Have you tried FFI under Ruby 2.0?
<bnagy>
nope, cause I use jruby now
mootpointer has joined #ruby
<BadQuanta>
Ahh, that was my next step.. About to install and test.
<bnagy>
it has 2.0 syntax support, but I don't really need it
<BadQuanta>
While I've just tried JRuby under RVM/linux before, this will be my first project using it.
mikewintermute has joined #ruby
tgunr has joined #ruby
ryanf has quit [Ping timeout: 256 seconds]
<bnagy>
only real downside is that stuff with c extensions is best effort
<bnagy>
but I have found that pretty much everything either has an FFI wrapper or a native Java implementation
<BadQuanta>
bnagy, I see.. The only external GEM I plan on using is Instagr.am's which I think is pure ruby.
tish has joined #ruby
<BadQuanta>
So, since I'm so new to JRuby on Windows, any suggested reading?
<BadQuanta>
I'm looking through it's Wiki now.
mootpointer has quit [Ping timeout: 256 seconds]
<bnagy>
tbh the documentation is not super amazing
guns has joined #ruby
<bnagy>
the wiki is OK. You can read the code for the gems that it references, which will help
tcopp has joined #ruby
<BadQuanta>
I'm used to that. I'll power through whatever my brain is willing to soak up.
<BadQuanta>
Hopefully it'll mean less time wasted later fixing something the Wiki might have mentioned.
<bnagy>
simple wrappers are.. simple
mootpointer has joined #ruby
<bnagy>
there's some screwing about with types sometimes
pkrnj has quit [Quit: Computer has gone to sleep.]
thejefflarson_ has joined #ruby
im0b has joined #ruby
cool has joined #ruby
rcsheets has joined #ruby
hiyakashi has joined #ruby
beilabs has quit [Ping timeout: 245 seconds]
Nimsical has joined #ruby
tcopp has quit [Ping timeout: 255 seconds]
sleetdrop has joined #ruby
pkrnj has joined #ruby
ndngvr has joined #ruby
ndngvr has quit [Client Quit]
chendo has quit [Ping timeout: 256 seconds]
ndngvr has joined #ruby
zero7 has joined #ruby
chendo has joined #ruby
idkazuma_ has quit [Remote host closed the connection]
gabrielrotbart has joined #ruby
toekutr has joined #ruby
beilabs has joined #ruby
mlue_ is now known as mlue
mlue has quit [Changing host]
mlue has joined #ruby
bradleyprice has joined #ruby
hiyakashi has quit [Quit: お前は知りすぎた]
Nimsical has quit [Quit: Computer has gone to sleep.]
rking has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
tay1 has joined #ruby
ndngvr` has joined #ruby
ananthakumaran has joined #ruby
randym has joined #ruby
nveselinov has joined #ruby
hiyakashi has joined #ruby
tish1 has joined #ruby
[0x1a] has joined #ruby
pkh has quit [Ping timeout: 245 seconds]
ryanf has joined #ruby
Sp4rKy has quit [Remote host closed the connection]
stillEPIK has quit []
bricker has joined #ruby
dhruvasagar has joined #ruby
beilabs has quit [Ping timeout: 256 seconds]
yshh has joined #ruby
ritek has joined #ruby
aces1up has quit []
tay1 has quit [Remote host closed the connection]
tay1 has joined #ruby
ndngvr has quit [*.net *.split]
tish has quit [*.net *.split]
Vert has quit [*.net *.split]
swounding60 has quit [*.net *.split]
alexwh has quit [*.net *.split]
Sp4rKy has joined #ruby
mootpointer has quit [Ping timeout: 256 seconds]
ThePicard_ has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
swounding60 has joined #ruby
love_color_text has joined #ruby
mootpointer has joined #ruby
tmiller has quit [Remote host closed the connection]
Vert has joined #ruby
alexwh has joined #ruby
kofno has quit [Remote host closed the connection]
pen has joined #ruby
love_color_text has quit [Remote host closed the connection]
gabrielrotbart has quit [Remote host closed the connection]
hamakn has joined #ruby
beilabs has joined #ruby
aeontech has quit [Quit: aeontech]
mootpointer has quit [Quit: Computer has gone to sleep.]
love_color_text has joined #ruby
sayan has joined #ruby
ph^ has joined #ruby
nveselinov has quit [Quit: Nettalk6 - www.ntalk.de]
justsee has quit [Quit: Leaving...]
ezkl has joined #ruby
hadees has quit [Quit: hadees]
gabrielrotbart has joined #ruby
RJ3__ has joined #ruby
chendo has quit [Ping timeout: 264 seconds]
ph^ has quit [Ping timeout: 256 seconds]
s4muel_ is now known as s4muel
beilabs has quit [Ping timeout: 255 seconds]
yeban has joined #ruby
keanehsiao has joined #ruby
chendo has joined #ruby
<keanehsiao>
hi. anybody can help me on this? I want to use string "a/b/c" to access the params hash, something like params[:a][:b][:c], how do I do that? thanks
Inside has quit [Ping timeout: 245 seconds]
<bnagy>
it's probably going to be ugly
<keanehsiao>
I can image that...
sebastorama has joined #ruby
<bnagy>
something like params.inject( str.split('/').map(&:to_sym) ) {|memo,param| memo[param]} might work
<bnagy>
without testing :/
<keanehsiao>
:p
jamie_ca has joined #ruby
jamie_ca has left #ruby [#ruby]
jamie_ca_ has joined #ruby
jamie_ca_ has quit [Client Quit]
jamie_ca_ has joined #ruby
freeayu has quit [Ping timeout: 245 seconds]
<BadQuanta>
A recursive block/alg does seem like the way to go to me.
pitzips_ has quit [Remote host closed the connection]
<BadQuanta>
You want to be able to go from the raw string directly to a value?
mattbl has quit [Quit: This computer has gone to sleep]
hadees has joined #ruby
<BadQuanta>
bnagy, FFI is included with JRuby, yet I'm being told to install the gem anyways by a couple of things I'm reading. Is this something you do?
<BadQuanta>
I ask because it refuses to install properly.
<BadQuanta>
I don't have a build chain setup for native compiles. Did not think I'd need one for JRuby.
<bnagy>
jruby has ffi
<bnagy>
you don't need to install anything
<bnagy>
you absolutely do not need to compile anything :P
<BadQuanta>
Ok.
<BadQuanta>
Gonna skip that then.
<bnagy>
did you install jruby with the installer from the website?
mootpointer has joined #ruby
<bnagy>
should be 1.7.3 or something, now?
<BadQuanta>
Yup. Simple.
<bnagy>
cool
<BadQuanta>
I've been running through a couple of tutorials to A) Familiarize and B) test.
hemanth has joined #ruby
<BadQuanta>
Do you recommend NetBeans? How well does the Ruby code completion work with Java?
<BadQuanta>
It'd be nice to have while learning.
<bnagy>
I do everything in ST2 or vim
<BadQuanta>
k.
<bnagy>
you don't need to interact with any java to use jeurby
<bnagy>
fingers, go home you are drunk
jekotia has quit [Quit: goodnight]
<BadQuanta>
No, but I may just implement the GUI portion of the project with SWING.
<bnagy>
you can use stuff like the java profilers etc though, which can be pretty handy
fivetwentysix has joined #ruby
<BadQuanta>
I already know the tool kit.
<tay1>
is ruby commonly used for processing big data?
<bnagy>
yeah in which case it's just require 'java' etc
<BadQuanta>
I've already tested the DLL part, and it seems to be working.
<bnagy>
tay1: don't know about commonly, but I've done a bit
<tay1>
oh ok
<BadQuanta>
Unsure if it was the switch to JRuby or Win32, but one of those two things did the trick.
<tay1>
do you need some powerful servers to process the data?
<fivetwentysix>
ezkl: yeah I see, it's possibly related
icole has joined #ruby
<fivetwentysix>
can't wait for Rails 4 to be stable, it's almost there :)
mootpointer has quit [Ping timeout: 276 seconds]
<ezkl>
Aside from performance regressions, security issues, and a few hours spent digging into the Queue implementation, I haven't paid enough attention to get excited
beilabs has joined #ruby
mootpointer has joined #ruby
dmiller has quit [Ping timeout: 246 seconds]
sayan has quit [Ping timeout: 245 seconds]
germanstudent has quit [Ping timeout: 248 seconds]
<epochwolf>
ezkl: strong parameters is pretty call
<epochwolf>
cool*
quazimod1 has quit [Ping timeout: 245 seconds]
thinkclay has quit [Quit: Leaving.]
quazimodo has joined #ruby
vagmi has joined #ruby
jurassic_ has quit [Quit: jurassic_]
wudofyr has quit [Remote host closed the connection]
sebastorama has quit [Ping timeout: 256 seconds]
love_color_text has quit [Read error: Connection reset by peer]
beilabs has quit [Ping timeout: 256 seconds]
sebastorama has joined #ruby
vitaluha_ has quit [Ping timeout: 256 seconds]
xpen has quit [Remote host closed the connection]
hadees has quit [Quit: hadees]
shevy2 is now known as shevy
browndawg has joined #ruby
ananthakumaran has joined #ruby
<shevy>
guys
<shevy>
T = true
<shevy>
F = false
<shevy>
are those good constants? :\ :/
tgunr has quit [Quit: Nity nite]
keanehsiao has quit [Quit: keanehsiao]
mootpointer has quit [Ping timeout: 256 seconds]
gstudent2 has joined #ruby
pkondzior___ has joined #ruby
cout_ has joined #ruby
maxmanders has joined #ruby
setient_ is now known as setient
Derander_ has joined #ruby
A124 has joined #ruby
swistak35_ has joined #ruby
drizz_ has joined #ruby
phwd_ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
mootpointer has joined #ruby
jani has joined #ruby
elliottc1ble has joined #ruby
mnaser_ has joined #ruby
jacky- has joined #ruby
BeanDip_ has joined #ruby
jani is now known as Guest51063
welandB has joined #ruby
klipeto has joined #ruby
strtok_ has joined #ruby
fasta has joined #ruby
txdv_ has joined #ruby
ccooke_ has joined #ruby
FunkySayu has joined #ruby
Bracki_ has joined #ruby
alex88_ has joined #ruby
Zoup has joined #ruby
hyperbor1ean has joined #ruby
leh has joined #ruby
prime- has joined #ruby
ninegrid_ has joined #ruby
<Zoup>
whats the difference between < and << when creating a new class?
Y_Ichiro_ has joined #ruby
Y_Ichiro_ has quit [Changing host]
Y_Ichiro_ has joined #ruby
jblack has joined #ruby
SegFaultAX_ has joined #ruby
rgoodwin_ has joined #ruby
babinho_ has joined #ruby
cjk101010_ has joined #ruby
jetblack has quit [Ping timeout: 260 seconds]
deavid has joined #ruby
<yfeldblum>
Zoup, < means `inherits`
crazed_ has joined #ruby
<Zoup>
i guess << inherits, right?
e-dard_ has joined #ruby
beilabs has joined #ruby
LBRapid_ has joined #ruby
xxi has joined #ruby
hadees has joined #ruby
wargasm has quit [Ping timeout: 245 seconds]
<Zoup>
yfeldblum: i see, so, << creates new class , < inherits, right ? (much unlike shell in sense of appending stuff)
vaicine_ has joined #ruby
Armand has joined #ruby
Armand is now known as Guest73658
<yfeldblum>
Zoup, no; you can mostly ignore <<
maetthew- has joined #ruby
lahwran- has joined #ruby
wargasm has joined #ruby
Dreamer3__ has joined #ruby
swarley-freenode has joined #ruby
<yfeldblum>
Zoup, `class ABC` makes the class; `<` means `inherits`
<Zoup>
yfeldblum: i'm curious, what does << do then?
mnaser has quit [Ping timeout: 245 seconds]
Derander has quit [Ping timeout: 245 seconds]
pkondzior__ has quit [Ping timeout: 245 seconds]
maxmande_ has quit [Ping timeout: 245 seconds]
jacky has quit [Ping timeout: 245 seconds]
swistak35 has quit [Ping timeout: 245 seconds]
cout has quit [Ping timeout: 245 seconds]
wyan has quit [Ping timeout: 245 seconds]
phwd has quit [Ping timeout: 245 seconds]
crazedpsyc has quit [Ping timeout: 245 seconds]
jwang has quit [Ping timeout: 245 seconds]
strtok has quit [Ping timeout: 245 seconds]
Guest1143 has quit [Ping timeout: 245 seconds]
alex88 has quit [Ping timeout: 245 seconds]
prime has quit [Ping timeout: 245 seconds]
drizz has quit [Ping timeout: 245 seconds]
klip has quit [Ping timeout: 245 seconds]
Kovensky has quit [Ping timeout: 245 seconds]
FunkySay1 has quit [Ping timeout: 245 seconds]
fasta_ has quit [Ping timeout: 245 seconds]
swistak35_ is now known as swistak35
lahwran has quit [Ping timeout: 245 seconds]
alex88_ is now known as alex88
Bracki has quit [Ping timeout: 245 seconds]
deavidsedice has quit [Ping timeout: 245 seconds]
ninegrid has quit [Ping timeout: 245 seconds]
jonahR has quit [Ping timeout: 245 seconds]
sam113101 has quit [Ping timeout: 245 seconds]
yeltzooo has quit [Ping timeout: 245 seconds]
jblack_ has quit [Ping timeout: 245 seconds]
txdv has quit [Ping timeout: 245 seconds]
LBRapid has quit [Ping timeout: 245 seconds]
e-dard has quit [Ping timeout: 245 seconds]
elliottcable has quit [Ping timeout: 245 seconds]
Apocalypse has quit [Ping timeout: 245 seconds]
Shrink has quit [Ping timeout: 245 seconds]
rgoodwin has quit [Ping timeout: 245 seconds]
G has quit [Ping timeout: 245 seconds]
hyperboreean has quit [Ping timeout: 245 seconds]
BeanDip__ has quit [Ping timeout: 245 seconds]
leh_ has quit [Ping timeout: 245 seconds]
cjk101010 has quit [Ping timeout: 245 seconds]
e-dard_ is now known as e-dard
Jelco_ has quit [Ping timeout: 245 seconds]
rgoodwin_ is now known as rgoodwin
SegFaultAX has quit [Ping timeout: 245 seconds]
Dreamer3 has quit [Ping timeout: 245 seconds]
Y_Ichiro has quit [Ping timeout: 245 seconds]
vaicine has quit [Ping timeout: 245 seconds]
ixx has quit [Ping timeout: 245 seconds]
goraxe has quit [Ping timeout: 245 seconds]
babinho has quit [Ping timeout: 245 seconds]
crazed has quit [Ping timeout: 245 seconds]
adam12 has quit [Ping timeout: 245 seconds]
welandC has quit [Ping timeout: 245 seconds]
brad[] has quit [Ping timeout: 245 seconds]
swarley has quit [Ping timeout: 245 seconds]
jtcoon has quit [Ping timeout: 245 seconds]
ccooke has quit [Ping timeout: 245 seconds]
maetthew has quit [Ping timeout: 245 seconds]
jcrawford has quit [Ping timeout: 245 seconds]
SegFaultAX_ is now known as SegFaultAX
kaichanvong has quit [Ping timeout: 245 seconds]
dross has quit [Ping timeout: 245 seconds]
mnaser_ is now known as mnaser
yeltzooo6 has joined #ruby
crazedpsyc has joined #ruby
Kovensky has joined #ruby
jonahR has joined #ruby
<Zoup>
wow, apocalypse
Shrink has joined #ruby
adam12 has joined #ruby
Dreamer3__ is now known as Dreamer3
jwang has joined #ruby
dross has joined #ruby
<yfeldblum>
Zoup, << opens a module context for the singleton-class of the thing to the right of `<<`
Jelco_ has joined #ruby
wyan has joined #ruby
<Zoup>
yfeldblum: thanks yfeldblum :)
jtcoon has joined #ruby
brad[] has joined #ruby
<yfeldblum>
Zoup, you will not usually need <<
<A124>
Is it same as "module Class"?
jurassic_ has joined #ruby
jcrawford has joined #ruby
tommyvyo has joined #ruby
etcetera has quit []
techlife has quit [Ping timeout: 255 seconds]
<yfeldblum>
A124, no
G has joined #ruby
<yfeldblum>
`class << some_object ; ... end` is similar to `some_object.singleton_class.module_exec do ; ... end` except that the first is a syntactic class context with no closure and the second is a closure with no syntactic class context
sayan has joined #ruby
etcetera has joined #ruby
tommyvyo has quit [Client Quit]
<yfeldblum>
i know this must sound a little jargony ...
ckrailo has quit [Quit: Computer has gone to sleep.]
<A124>
yfeldblum: Oh.. Interesting. thank you wery much
ARCADIVS has joined #ruby
<A124>
Nah. I get you, the logical part. The concrete "sugar" could be googled ;)
<A124>
But I guess I don't even need that. As I realized it. Thanks
meme has joined #ruby
jonahR has quit [Quit: jonahR]
ThePicard_ is now known as ThePicard
jamie_ca has joined #ruby
rippa has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
__main__ has quit [Remote host closed the connection]
sam113101 has joined #ruby
xpen has joined #ruby
__main__ has joined #ruby
mhn23 has joined #ruby
techlife has joined #ruby
kofno has joined #ruby
girija has quit [Ping timeout: 248 seconds]
wargasm1 has joined #ruby
mhn23 has quit [Read error: Connection reset by peer]
girija has joined #ruby
cha1tanya has joined #ruby
wargasm has quit [Ping timeout: 276 seconds]
sailias has quit [Quit: Leaving.]
spinagon has joined #ruby
chessguy has quit [Remote host closed the connection]
sailias has joined #ruby
rippa has quit [Read error: Connection reset by peer]
sailias has quit [Client Quit]
kofno has quit [Ping timeout: 276 seconds]
pyrac has joined #ruby
sailias has joined #ruby
sailias has quit [Client Quit]
love_color_text has joined #ruby
timonv has joined #ruby
sailias has joined #ruby
sailias1 has joined #ruby
sailias1 has quit [Client Quit]
keyvan has joined #ruby
keyvan has quit [Read error: Connection reset by peer]
sailias1 has joined #ruby
sailias1 has quit [Read error: Connection reset by peer]
sailias1 has joined #ruby
sailias1 has joined #ruby
sailias has quit [Ping timeout: 252 seconds]
love_color_text has quit [Ping timeout: 256 seconds]
backjlack has joined #ruby
decoponio has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
yacks has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
sailias1 has quit [Ping timeout: 246 seconds]
love_color_text has joined #ruby
goganchic has quit [Quit: Leaving.]
goganchic has joined #ruby
pavilionXP has quit [Remote host closed the connection]
<jcrawford>
wtf it is chewing hard disk space for some odd reason
<jcrawford>
ruby use the hdd as swap or something?
<jcrawford>
i have plenty of ram 8gb and 5gb free on my primary drive but when i run this it runs out of disk space lmao
<framling>
You're going up to the 4000000th fibonacci number. Your upper bound should be the highest fibonacci number whose value is 4000000
<Hanmac1>
jcrawford only if your ram is full
kiwnix has quit [Ping timeout: 245 seconds]
<jcrawford>
framling: i dont quite understand what you are saying
<jcrawford>
the problem says up to 4 million
<framling>
You end up calculating the 4000000th number in the fibonacci sequence
<jcrawford>
ah i see what you mean
<jcrawford>
i think..
eka has joined #ruby
<jcrawford>
no i actually dont
shevy has quit [Ping timeout: 264 seconds]
<framling>
If you calculate the highest fibonacci term whose value is less than 4000000, you only end up calculating 30 terms in the sequence, instead of 4000000
<jcrawford>
the for loop loops 4 million times, it only adds the fib numbers up to 4 million, not 4 million fib numbers total
emergion has joined #ruby
<jcrawford>
hmmm
<framling>
Actually it looks like you're doing 4 million total
<framling>
You're looping on 2..4000000
<framling>
It should be until fibArr[x] >= 4000000
<jcrawford>
ahh i see what you are saying
<jcrawford>
so instead of 4M loops it only has to do a handful of loops.. refactoring that now
<jcrawford>
thanks
<framling>
No problemo :]
<framling>
That may be the first time I've ever actually helped someone on IRC...
<framling>
...and I'm drunk
<jcrawford>
haha oh boy
<framling>
Just happened to have done your problem a few days ago :P
xcv has quit [Remote host closed the connection]
jgrau has joined #ruby
RebelBunny has quit [Quit: Leaving.]
nomenkun_ has quit [Read error: Connection reset by peer]
telling_ is now known as telling
RebelBunny has joined #ruby
telling has quit [Changing host]
telling has joined #ruby
nomenkun has joined #ruby
<framling>
jcrawford: By the way, an IRC bot is what I'm working on now, right after doing a handful of euler problems.
<jcrawford>
nice i figured i would either write my own or write plugins for an existing one ;)
eval-in has quit [Remote host closed the connection]
<jcrawford>
probably the easiest way to start
eval-in has joined #ruby
<framling>
It's pretty fun
<v2px_>
you could write plugins for my bot lib I did for a start :p
<framling>
Somewhat complex without being overwhelming
<framling>
FWIW I'm using Cinch and I like it so far
ph^_ has joined #ruby
<charliesome>
good old eval-in uses cinch
<jcrawford>
yea i was looking at cinch
<framling>
Sweet
<framling>
I'm glad it's not written in Perl :P
<jcrawford>
lol i started with irc back in the days of eggdrop and tcl :)
<jcrawford>
if that shows my age haha
<dominikh>
well be glad CInch isn't like eggdrop.
<jcrawford>
yeh
<jcrawford>
it was a pain writing tcl but fun for learning :)
<jcrawford>
and the internals of eggdrop forget about it i was not ready for c back then lol
coder_neo has joined #ruby
<jcrawford>
wish i had gotten into it now though
pi3r has joined #ruby
<framling>
I'm still not ready for c :x
<framling>
I feel like ruby was written just for me though
<framling>
It's awesome
lewix_ has quit [Remote host closed the connection]
braoru has joined #ruby
ph^ has quit [Ping timeout: 256 seconds]
<jcrawford>
thanks again framling for that tip, just got it refactored and got the correct answer ran in under a few seconds :)
<jcrawford>
not quite sure why I was thinking like that, I blame the time and the fact that I was up this time yesterday morning and have yet to sleep since then :)
slainer68 has joined #ruby
<jcrawford>
interview in a few hours so I can't let myself sleep now haha
<jcrawford>
here's to hopiung the interview goes better than problem 2 and my thinking :)
dmiller has joined #ruby
<framling>
Good luck!
Nisstyre-laptop has quit [Ping timeout: 252 seconds]
shevy has joined #ruby
mootpointer has joined #ruby
kuzushi has quit [Read error: Connection reset by peer]
arturaz has joined #ruby
kuzushi has joined #ruby
Mattx has quit [Read error: Connection reset by peer]
kiwnix has joined #ruby
Mattx has joined #ruby
<jcrawford>
thanks it's a php job should be fine :)
<framling>
I'd kill for a programming job
<dominikh>
framling: that's what Hans Reiser said.
dmiller has quit [Ping timeout: 245 seconds]
stnly has joined #ruby
noop_ has joined #ruby
<Hanmac1>
framling depends what programming language
<framling>
I'd (figuratively) kill for a ruby programming job ;]
g4mm4 has quit [Ping timeout: 256 seconds]
<framling>
I never knew that about the creator of ReiserFS though
baz_ has joined #ruby
<Hanmac1>
so ReiserFS was a "killer application"? :P
girija_ has quit [Ping timeout: 264 seconds]
elaptics`away is now known as elaptics
<dominikh>
let's put it this way: his wife wasn't the only thing he killed, ReiserFS got the better of some of my data, too :P
<framling>
I never knew computer science had such stories of intrigue
<jcrawford>
hmm wait i don't know this story either, link so i can read ?\
<framling>
Are there ruby jobs that don't involve rails?
noop has quit [Ping timeout: 264 seconds]
dekroning has quit [Quit: leaving]
girija_ has joined #ruby
<dominikh>
hardly any
<framling>
Damn
<framling>
So should I concentrate on rails to try to get a job or focus on something else?
Shrink has quit [Ping timeout: 255 seconds]
<dominikh>
if you dislike Rails, look for a new language :P
<framling>
I don't dislike it, I just don't have skills with it that it warrant hiring me :P
<dominikh>
well then learn it.
g4mm4 has joined #ruby
<benallard>
What is the site_ruby directory under /usr/local/lib/ruby for ?
<jcrawford>
On January 10, 2009, it was reported that Reiser was recovering after having been beaten by several prisoners.
<jcrawford>
yea they don't take well to wife murderers in jail :)
<jcrawford>
i want to know where the 60M that was awarded to the kids came from
<shevy>
hehe
<shevy>
benallard no
<jcrawford>
apparently not from dad as he couldn't pay his attorney fee's so where did it come from??? tax payers?
<shevy>
benallard it depends. usually it is --prefix
hemanth has quit [Read error: Connection reset by peer]
<shevy>
benallard if your ruby binary is at /usr/bin/ruby then the site dir should be at /usr/lib/ruby* but distributions like debian are idiots and change that to /var/ something, try "gem env" perhaps
hemanth has joined #ruby
<shevy>
cd /usr/lib/ruby/site_ruby/1.9.1/
<dominikh>
jcrawford: it doesn't mean that they actually got the money. just that if Reiser should ever have money that it'll go to them :)
<benallard>
I have an old openssl there. while ruby installed a new one under /usr/local/lib/ruby/1.9.1 ...
<benallard>
And it looks like he finds the old one first
k610 has joined #ruby
<benallard>
But who the hell did installed openssl there ?
ExxKA has joined #ruby
<jcrawford>
dominikh: ah ok so it's like an IOU haha that guy will never make 60M in his lifetime, wonder why the judge would order so much knowing thae fact they will never get it
nari has quit [Ping timeout: 264 seconds]
<benallard>
shevy: the gem site is under /usr/local/lib/ruby/gems/1.9.1, not site_ruby
<framling>
The judge: "According to wikipedia, he's a famous computer scientist. He's destined for great wealth after prison!"
timonv has joined #ruby
<jcrawford>
lol maybe a book/movie deal so who knows :)
Proshot has quit [Quit: Leaving]
<jcrawford>
and he is talented when it comes to programming so I guess you never know, he may start his own company and make billions upon release
* hemanth
got very lazy with ruby koans and type assert_equal array.to_s,array.to_s; rather than typing the values :D
<jcrawford>
hell he may have the ability to start something from prison haha
<framling>
Wouldn't be too farfetched
mootpointer has quit [Quit: Computer has gone to sleep.]
snearch has joined #ruby
tomzx_mac has joined #ruby
<Gadgetoid>
Is it possible to pass a block argument into a new class instance that calls a method within that class?
<Gadgetoid>
Or, alternatively- what context to block arguments run in when you call them with "yield" in a classes initialize method
jurassic_ has quit [Quit: jurassic_]
Shrink has joined #ruby
piotr_ has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
piotr has quit [Ping timeout: 245 seconds]
<Hanmac1>
Gadgetoid: i think yes
marr has joined #ruby
skattyadz has joined #ruby
osvico has quit [Ping timeout: 252 seconds]
gyre007 has joined #ruby
tevio has joined #ruby
platzhirsch1 has joined #ruby
<Gadgetoid>
Cheers Hanmac1, I'll bash at it until it works!
freeayu has joined #ruby
<platzhirsch1>
I am iterating a set of elements using .each. Sometimes this block can fail, in this case I would like to retry. I would simply use a stack and repush it into the stack, or is there a mechanism to reset the each iterator?
<platzhirsch1>
ah there is retry, magic
<blaxter>
begin rescue retry end block
<Hanmac1>
ruby has many forms of magic :P white one, blue one, green one, red one, black one and many other colours too :P
callenb has joined #ruby
lele has quit [Ping timeout: 246 seconds]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
kiwnix has quit [Remote host closed the connection]
duosrx has joined #ruby
Proshot has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
ephemerian has joined #ruby
josefrichter has joined #ruby
willob has joined #ruby
sepp2k has joined #ruby
hmarr has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
willob has quit [Client Quit]
pac1 has joined #ruby
hmarr has quit [Client Quit]
wedgeV has quit [Ping timeout: 255 seconds]
wedgeV has joined #ruby
lele has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
crimezone20xx has quit [Ping timeout: 245 seconds]
decoponyo is now known as decoponio
amaya_the has joined #ruby
amaya_the has quit [Client Quit]
chichou has joined #ruby
timmow has joined #ruby
timmow has quit [Remote host closed the connection]
joschi_ is now known as joschi
snearch has quit [Quit: Verlassend]
ToApolytoXaos has joined #ruby
timmow has joined #ruby
<Gadgetoid>
Aha: instance_eval &block
davorb_laptop has joined #ruby
hashmal has quit [Quit: Computer has gone to sleep.]
mulinux has left #ruby [#ruby]
[eDu] has joined #ruby
hmarr has joined #ruby
Gooder has quit [Remote host closed the connection]
icole_ has quit [Remote host closed the connection]
[0x1a] has joined #ruby
fermion has joined #ruby
coder_neo has quit [Ping timeout: 240 seconds]
zero7 is now known as mtlatif
im0b has joined #ruby
ThePicard has joined #ruby
kaichanvong has joined #ruby
[eDu] has quit [Quit: [eDu]]
sam113102 has joined #ruby
tomzx_mac has quit [Ping timeout: 264 seconds]
mjolk has joined #ruby
guiguidoc has quit [Quit: Quitte]
mjolk is now known as Guest98663
maxmanders has quit [Quit: Computer has gone to sleep.]
jgrau has quit [Remote host closed the connection]
elaptics`away is now known as elaptics
jgrau has joined #ruby
grn has joined #ruby
cjk101010_ is now known as cjk101010
atyz has joined #ruby
callenb has joined #ruby
lele has quit [Ping timeout: 245 seconds]
bakingbread has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
Michael__ has joined #ruby
Guedes has joined #ruby
skattyadz has quit [Quit: skattyadz]
jgrau has quit [Remote host closed the connection]
jgrau has joined #ruby
postmodern has quit [Quit: Leaving]
hmarr has quit []
atyz has quit [Ping timeout: 252 seconds]
akhet has joined #ruby
jgrau has quit [Remote host closed the connection]
jgrau has joined #ruby
icole has joined #ruby
hogeo has quit [Remote host closed the connection]
nobitanobi has joined #ruby
realDAB has joined #ruby
<nobitanobi>
Hi there. Not exactly a Ruby question but I was wondering if you know of any site/app that have a compilation of resources (books, videos, tutorials...) to learn a specific language?
ArchBeOS has joined #ruby
Michael__ has quit [Remote host closed the connection]
peteyg_ has quit [Read error: Operation timed out]
emergion has quit [Quit: Computer has gone to sleep.]
<rob_>
bakingbread: hi
xpen has joined #ruby
hmarr has joined #ruby
Giorgio has joined #ruby
BizarreCake has quit [Ping timeout: 258 seconds]
luizk has joined #ruby
luizk has left #ruby [#ruby]
Spooner_ has joined #ruby
DrCode has quit [Ping timeout: 276 seconds]
khismetix has joined #ruby
BizarreCake has joined #ruby
kop_ has quit [Ping timeout: 276 seconds]
RebelBunny has quit [Quit: Leaving.]
dylan has joined #ruby
akashj87 has joined #ruby
RebelBunny has joined #ruby
tonini has joined #ruby
justinmcp has joined #ruby
chussenot has joined #ruby
jetblack has joined #ruby
zetaspartan2552 has joined #ruby
tish1 has left #ruby [#ruby]
dhs227 has joined #ruby
skattyadz has joined #ruby
caveat-_ is now known as caveat-
XxBlakeFailxX has quit [Read error: Connection reset by peer]
tonini has quit [Ping timeout: 248 seconds]
<khismetix>
In strict FP is the forbidding of loops just a corollary of no "varying variables" or do loops by themselves cause issues with concurrency ?
XxBlakeFailxX has joined #ruby
theRoUS has joined #ruby
caveat- has quit [Quit: leaving]
gstudent2 is now known as germanstudent
<hoelzro>
khismetix: well, how do you do a loop without allowing variable modification?
lele has joined #ruby
<hoelzro>
(well, a non-infinite loop that runs at least once)
<khismetix>
hoelzro : I understand that bit
caveat- has joined #ruby
<khismetix>
hoelzro : what I am asking is.. I guess.. if you aren't in a strict FP environment and you use loops are you risking issues with consistency of data and concurrency
dross has quit [Quit: leaving]
platzhirsch has quit [Quit: Leaving.]
dross has joined #ruby
<khismetix>
or is the elimination of loops more to do with code clarity
matayam has quit [Remote host closed the connection]
platzhirsch has joined #ruby
catphish has joined #ruby
atyz has joined #ruby
<hoelzro>
a loop in a non-strict FP environment makes concurrency no harder than any other language statement
<khismetix>
ok
<waxjar>
i think its because they're simply not necessary in FP, why add an extra construct to the language?
atyz has quit [Read error: Connection reset by peer]
<hoelzro>
a = 1 has no concurrency problems as long as a is not global
<khismetix>
makes sense
<khismetix>
that was my own hunch
<catphish>
i seem to be running into a situation where Net::IMAP occasionally hangs forever :(
<khismetix>
I am very early in the journey into looking at dynamic languages
<khismetix>
came from imperative background.. I like the look of ruby
<khismetix>
started to stray into reading about strict fp and haskell, erlang, etc
tonini has joined #ruby
hemanth has joined #ruby
smt has joined #ruby
NiteRain|2 has quit [Ping timeout: 260 seconds]
<hoelzro>
catphish: what server are you talking to?
<catphish>
hoelzro: google tls
<hoelzro>
ah
<catphish>
i have timeout blocks around most of the code
tommyvyo has joined #ruby
<catphish>
so either the hang occurs during "imap.search(['UNSEEN']).each"
<hoelzro>
fun =/
<catphish>
or it's uninterruptable by a Timeout
snearch has joined #ruby
BizarreCake has quit [Read error: Connection timed out]
skattyadz_ has joined #ruby
includex has quit [Quit: Computer has gone to sleep.]
BizarreCake has joined #ruby
<reactormonk>
great, ruby doesn't find the gems anymore
skattyadz has quit [Ping timeout: 256 seconds]
skattyadz_ is now known as skattyadz
platzhirsch has left #ruby [#ruby]
<Hanmac>
reactormonk what gems? and whats your rubygem version?
<reactormonk>
gem env points to a different location that it's actually pointing to
idkazuma has quit [Remote host closed the connection]
<_bart>
uri.domain returns 'cc' and uri.tld returns ''
<_bart>
This is a ruby bug!
kiwnix has quit [Quit: Leaving]
<ToApolytoXaos>
hahahahaha :D allsystemsarego thanks a lot buddy. i was trying to remember the name of the file i had initially installed on my system and forgot its name. you just reminded me of that :D
mikewintermute has quit [Ping timeout: 260 seconds]
mikewintermute_ is now known as mikewintermute
sayan has quit [Ping timeout: 245 seconds]
browndawg has joined #ruby
jekotia has joined #ruby
rboyd has joined #ruby
kiwnix has joined #ruby
aganov has quit [Quit: aganov]
_dv_ is now known as dv_
punchfacechamp has joined #ruby
hmarr has quit []
punchfac_ has quit [Ping timeout: 264 seconds]
kevinfagan has quit [Ping timeout: 260 seconds]
huoxito has quit [Quit: Leaving]
osvico has quit [Ping timeout: 252 seconds]
awarner has joined #ruby
punchfac_ has joined #ruby
hmarr has joined #ruby
davetherat has quit [Remote host closed the connection]
adkron_ has quit [Ping timeout: 264 seconds]
davetherat has joined #ruby
Davey has joined #ruby
pioz has joined #ruby
<pioz>
Hi someone can tell me how to convert a VALUE symbol in const char*?
yfeldblum has quit [Ping timeout: 245 seconds]
averiso has quit [Quit: Computer has gone to sleep.]
kevinfagan has joined #ruby
<pioz>
For instance if I have a ruby object VALUE string, I can convert it in const char* using the function StringValuePtr
ner0x has quit [Ping timeout: 245 seconds]
<hoelzro>
pioz: RSTRING_PTR, iirc
punchfacechamp has quit [Ping timeout: 264 seconds]
<Hanmac>
pioz: StringValuePtr & StringValueCStr are fine too
<hoelzro>
oh, for a symbol
<pioz>
yeah, for a symbol...
<Hanmac>
i tihnk StringValueCStr does it for you because it should call to_s .. ?
<Hanmac>
if you check for symbol before you can do: rb_id2name(SYM2ID(val))
<pioz>
ok, ty
<shevy>
popapusha I feel ruby and python are quite similar when it comes to strings, basically what one language can do, the other language can also do, just sometimes with different syntax
sleetdrop has joined #ruby
punchfac_ has quit [Read error: Connection reset by peer]
<pioz>
ok work!
<tobiasvl>
that's true for pretty much everything in ruby & python
Michael__ has quit [Remote host closed the connection]
<ninjanoise>
the set_row code appears to do nothing to the values in the array
tonini has quit [Remote host closed the connection]
punchfac_ has quit [Read error: Connection reset by peer]
punchfacechamp has joined #ruby
Michael__ has joined #ruby
axl_ has joined #ruby
djdb_ has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<hoelzro>
ninjanoise: that's because on line 14 you're modifying x
<hoelzro>
x is a local variable
rippa has joined #ruby
geggam_wk has joined #ruby
Floydzy has joined #ruby
<vandemar>
ninjanoise: you have to do @rows[i][x] = num
<hoelzro>
that's like doing def do_stuff(x) ; x = 5 end ; a = 1 ; do_stuff(a)
<ninjanoise>
so would I need to modify rows[num][x[
<ninjanoise>
haha gotcha
mljsimone has quit [Remote host closed the connection]
<ninjanoise>
head cold and trying to learn about hashes.. not a good combo
<ninjanoise>
thank you both
carloslopes has quit [Remote host closed the connection]
hesco has left #ruby [#ruby]
wolcanus has quit [Remote host closed the connection]
dylan has quit [Ping timeout: 245 seconds]
fourq has joined #ruby
punchfacechamp has quit [Read error: Operation timed out]
dhruvasagar has joined #ruby
adambeynon has joined #ruby
punchfacechamp has joined #ruby
dylan has joined #ruby
<vandemar>
ninjanoise: why are you using a hash for one dimension and an array for the other dimension, if it's a board (2d game board?)
jcrawford has quit [Ping timeout: 246 seconds]
jcrawford has joined #ruby
jcrawford has quit [Changing host]
jcrawford has joined #ruby
jcrawford has joined #ruby
maletor has joined #ruby
<julian-delphiki>
i'd use arrays all the way through
<julian-delphiki>
especially since I'm not sure that the order of a hash can be guaranteed.
<julian-delphiki>
vandemar:
tekacs has quit [Ping timeout: 246 seconds]
<ninjanoise>
so just an array of arrays then, that makes sense ..
e-dard has quit [Ping timeout: 246 seconds]
speaking1ode-wor is now known as speakingcode-wor
idkazuma has quit [Remote host closed the connection]
<vandemar>
ninjanoise: all you'd have to change is the @rows = Hash.new line, since you're already using 0-indexed numbers as hash keys
e-dard has joined #ruby
<ninjanoise>
and a quick change haha, julian-delphiki: hash order is not always the same order? interesting
<tobiasvl>
the order of a hash is specifically NOT ordered by definition
Michael__ has quit [Remote host closed the connection]
josefrichter_ has quit [Quit: josefrichter_]
<julian-delphiki>
ninjanoise: since it's just going off of keys, theres no reason to guarantee the order.
<ninjanoise>
vandemar, yup, changed it thanks
sebastianb has quit [Ping timeout: 246 seconds]
hadees has quit [Quit: hadees]
tekacs has joined #ruby
<ninjanoise>
julian-delphiki: ahh that makes sense as well :) pardon my ruby-n00bness
<ninjanoise>
and thanks
<julian-delphiki>
np
* julian-delphiki
is just a lowly sysadmin, writing ruby for what I can
mfridh_ has joined #ruby
mfridh_ is now known as mfridh
danslo has joined #ruby
elux has joined #ruby
punchfac_ has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
threesome has joined #ruby
<xibalba>
julian-delphiki, being a sysadmin is not lowly
dmiller has joined #ruby
<julian-delphiki>
oh I know
<julian-delphiki>
mostly trolling
punchfacechamp has quit [Ping timeout: 264 seconds]
<julian-delphiki>
I am the keeper of the keys, the creator of servers, the pusher and creator of chef cookbooks
Guest79235 is now known as z
<xibalba>
self deprecating troller
z has quit [Changing host]
z has joined #ruby
* xibalba
is just a lowly vmware sysadmin :|
tagrudev has quit [Quit: quiter]
haxrbyte_ has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
stkowski has joined #ruby
Banistergalaxy has joined #ruby
punchfac_ has quit [Read error: Connection reset by peer]
punchfacechamp has joined #ruby
* julian-delphiki
uses vmware as well, as well as proxmox, and some AWS
Beoran_ has joined #ruby
<xibalba>
what's your opinion on proxmox? i've read about it but haven't used it
<julian-delphiki>
I love it.
<julian-delphiki>
containers are awesome
noop_ has quit [Quit: Leaving]
<julian-delphiki>
have 2 nodes in a cluster, w/ 32 GB of ram each, and a decent amount of disk, throw up a little container, for this, a little container for that, add ram, cpu, disk, on the fly
<xibalba>
is it as resilient as vmware?
chussenot has joined #ruby
Neomex has joined #ruby
<ninjanoise>
julian-delphiki: do your cookbooks start with puts "Hello there children"
<julian-delphiki>
ninjanoise: they should.
<julian-delphiki>
ninjanoise: but only I would ever see them :(
<ninjanoise>
lol
<xibalba>
mine start w/curry
Neomex has quit [Client Quit]
Neomex has joined #ruby
Neomex has quit [Client Quit]
kn330 has joined #ruby
razibog has quit [Ping timeout: 256 seconds]
wolcanus has joined #ruby
gift has joined #ruby
kpshek has joined #ruby
<julian-delphiki>
xibalba: i don't know if its as resilient, it is open source software, but the whole point of the things I store on proxmox is that they're easily re-doable without much effort. We use Chef for all of our config management, and it makes deploying new servers so easy.
Banistergalaxy has quit [Ping timeout: 256 seconds]
<julian-delphiki>
I really love using chef with EC2 though, so simple
<julian-delphiki>
this is getting a bit offtopic, sorry folks
xpen has joined #ruby
yannis has quit [Read error: Connection timed out]
Vainoharhainen has quit [Ping timeout: 276 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
wolcanus has quit [Read error: Connection reset by peer]
wolcanus has joined #ruby
Morkel has joined #ruby
realDAB has joined #ruby
sambao21 has joined #ruby
girija_ has joined #ruby
Voodoofish430 has joined #ruby
pduin has quit [Remote host closed the connection]
danslo has quit [Quit: danslo]
banister`sleep has joined #ruby
carloslopes has joined #ruby
robscomputer has joined #ruby
axl_ has quit [Quit: axl_]
zigomir has quit [Quit: zigomir]
tjbiddle has joined #ruby
jamie_ca_ has joined #ruby
tjbiddle has quit [Remote host closed the connection]
maxmanders has joined #ruby
axl_ has joined #ruby
maxmanders has quit [Max SendQ exceeded]
jbueza has joined #ruby
jgrau has quit [Remote host closed the connection]
robscomputer has quit [Remote host closed the connection]
i_s has joined #ruby
maxmanders has joined #ruby
josefrichter has joined #ruby
includex has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
drakythe has joined #ruby
haxrbyte has joined #ruby
apeiros_ has quit [Remote host closed the connection]
moos3 has joined #ruby
brianpWins has joined #ruby
mvangala_ has quit [Remote host closed the connection]
<drakythe>
is there a suggested troubleshooting method for when a gem has successfully been installed but doesn't seem to function?
wobblini has joined #ruby
dhruvasagar has joined #ruby
ttt has joined #ruby
j^2 has joined #ruby
mvangala has joined #ruby
jdunck has joined #ruby
<banister`sleep>
drakythe: you need to give more information than that
<banister`sleep>
what error are you getting?
xpen has quit [Remote host closed the connection]
<drakythe>
banister`sleep: sorry, Its a chef related error. I'm trying to get the knife-xenserver to function. My system reports that it has been installed, but when I call it I get a knife error telling me that sub command cannot be found
jurassic_ has joined #ruby
<banister`sleep>
drakythe: sounds like something specific to chef, did u try #chef ?
<banister`sleep>
(or whatever their chan is )
* drakythe
decides it might be time for caffeine
bigoldrock has joined #ruby
<drakythe>
banister`sleep: nope, hadn't even thought to try. I'll wander over that direction now, thanks :)
<Hanmac>
drakythe you could try to make an inside require, and if that fails you could raise an NotImplementedError
ttt has quit [Ping timeout: 256 seconds]
<Hanmac>
with inside require i mean an require inside an function
<banister`sleep>
Hanmac: you need me to explain when to use 'a' and 'an' in english
<Hanmac>
i have dislexia ... and when i type something fast it may happen that i type something wrong
<lupine>
hrm. I need to deploy a windows/ruby + mac/ruby application that uses qtbindings
<lupine>
anyone done this, and have advice? :)
mikepack has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
fermion has joined #ruby
arturaz has quit [Ping timeout: 245 seconds]
<banister`sleep>
Hanmac: dyslexia? i thought you were just messed up in english :P
<Hanmac>
yeah, thats too
yshh_ has quit [Remote host closed the connection]
adkron has quit [Ping timeout: 255 seconds]
<banister`sleep>
Hanmac: have you done much javascript?
<Hanmac>
i have only a problem with writing and maybe typing ... reading is okay ... (i can read for sample an Book like HarryPotter in less than 1/2 day)
<Hanmac>
i didnt do much Javascript yet.. i try to avoid it
chrishough has quit [Quit: chrishough]
s00pcan has quit [Quit: Lost terminal]
sayd has joined #ruby
s00pcan has joined #ruby
s00pcan has quit [Client Quit]
threesome has quit [Ping timeout: 264 seconds]
axl_ has quit [Quit: axl_]
s00pcan has joined #ruby
mikepack has joined #ruby
markalanevans has joined #ruby
love_color_text has joined #ruby
sayd has left #ruby [#ruby]
theRoUS has quit [Read error: Connection reset by peer]
Aiur has joined #ruby
alvaro_o has joined #ruby
alvaro_o has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
uris has joined #ruby
nga4 has joined #ruby
freerobby has joined #ruby
yellow5 has quit [Quit: time to go!]
yellow5 has joined #ruby
Tricon has joined #ruby
zetaspartan2552 has quit [Quit: zetaspartan2552]
realDAB has quit [Quit: realDAB]
shock_one has joined #ruby
chrishough has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
Spooner_ has quit [Remote host closed the connection]
skattyadz has joined #ruby
Nomadicoder has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
thinkclay has joined #ruby
lewix has joined #ruby
emanon_ has joined #ruby
pyrac has quit [Ping timeout: 245 seconds]
brhelwig has joined #ruby
love_color_text has quit [Remote host closed the connection]
NihilistDandy has joined #ruby
LennyLin_ has quit [Remote host closed the connection]
<Hanmac>
shevy new GCC is out :P
crimezone20xx has joined #ruby
<emanon_>
hello guys, I'm a little bit frustrating with rspec mocks, when I try to require 'rspec/mocks' in my spec_helper i'm getting "method no found error" with stubbing
interact_ has quit [Remote host closed the connection]
<emanon_>
but when i require 'rspec/mocks/standalone' it works
tylersmith has joined #ruby
<emanon_>
but i think requiring in such way it's kinda dirty hack
agarie has quit [Read error: Connection reset by peer]
akemrir has joined #ruby
xbob has joined #ruby
includex has quit [Read error: Connection reset by peer]
agarie has joined #ruby
pcarrier_ has joined #ruby
pcarrier_ has quit [Client Quit]
jdunck has quit [Quit: Computer has gone to sleep.]
cpruitt has joined #ruby
Eiam has joined #ruby
Eiam has quit [Changing host]
Eiam has joined #ruby
dayepa1 has quit [Quit: dayepa1]
pcarrier_ has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
maletor has quit [Read error: Connection reset by peer]
twoism has joined #ruby
kl4m has joined #ruby
ocher has quit [Ping timeout: 264 seconds]
marr has joined #ruby
Tricon has quit [Quit: Leaving...]
Tricon has joined #ruby
<kl4m>
Hi, I'm wondering about how to do a "lazy ternary", such as: ( return obj.nil? ? default_value : obj.method ). obj.method seems to be always evaluated What is the elegant shorthand for this?
<banister`sleep>
kl4m: objc.method iwll only be evaluated if obj is not nil
marcdel has joined #ruby
pietr0_ is now known as pietr0
uris has quit [Quit: Leaving]
razibog has joined #ruby
carloslopes has quit [Remote host closed the connection]
uris has joined #ruby
Tricon has quit [Ping timeout: 245 seconds]
yshh has joined #ruby
<Eiam>
so my boss wants some sort of "inline" tests, that don't require some sort of CI or outside process to validate that code is still good. Something like an inline test that ensures a methods return signature didn't change and if it does, generate some kind of warning.. but it all happens on shipping live code..
<Eiam>
my only thought was you'd have to extend every class you wrote from a base class that captured every return, validated it, then passed it on?
<MrZYX>
that sounds... slow
sebastianb has joined #ruby
<Corey>
The problem is also how actionable it is.
<Corey>
"Welp our logs are now filled with 50000 warnings..."
tmiller has quit []
<Eiam>
well from his standpoint, unit tests are worthless because he'd never run them
fermion has quit [Quit: Computer has gone to sleep.]
<Eiam>
they are "outside" the code
tmiller has joined #ruby
<Corey>
The value of CI / automated testing is that the slow part happens once, prior to deploy. Not every time while the application is running.
<julian-delphiki>
^
<Eiam>
yeah, so I told him lets setup CI
<Eiam>
so he can just get an email when the tests are done
maletor has joined #ruby
<Eiam>
he wasn't keen
marcdel has quit []
<breakingthings>
tell him I told him he's an idiot
<julian-delphiki>
who needs an email when the tests are done, just have Jenkins or some other CI build your project on push
banjara has joined #ruby
<Eiam>
julian-delphiki: isn't that the same thing
<Corey>
julian-delphiki: Right, the email happens as "hey jackhole, your broke the build, I'm not merging your branch."
<Corey>
you*
<julian-delphiki>
valid
includex has joined #ruby
<Eiam>
well, I figured I'd ask around to see if maybe something like what he was asking for already existed
<Corey>
Release engineering is a skill, one your boss apparently lacks.
<Corey>
You may wish to frame the conversation in a slightly more positive light.
<breakingthings>
No, don't give in.
<breakingthings>
Tell him no that's dumb. But with more tact than that.
<breakingthings>
Like, eloquence and stuff.
<Eiam>
well, if such a thing doesn't already exist there is probably a reason
jtharris has quit [Quit: WeeChat 0.4.0]
<MrZYX>
tell him to come here and present his idea, then we tell him he's dumb ;)
momomomomo has quit [Quit: momomomomo]
<Eiam>
well, behind his back I've already been writing unit tests for all his code
<Eiam>
I just have to setup a CI env to actually run them for hi
<Eiam>
him
<breakingthings>
tell him you asked brilliant particle physicists in irc and told him no ur dum
krandi has quit [Read error: Connection reset by peer]
shock_one has quit [Ping timeout: 255 seconds]
<breakingthings>
everybody respects physicists
<breakingthings>
But really you just need to show him the actual benefit of unit testing
<breakingthings>
otherwise it's just going to be a constant fight
<MrZYX>
i.e. break something and ship it
hamakn_ has quit [Remote host closed the connection]
<Eiam>
breakingthings: well, I did try that. "We have too many projects deployed on various gems and I don't have time to go qualify all 5 of them every time I tweak a single gem. unless you want to hire a QA, this won't scale"
agarie has quit [Read error: Connection reset by peer]
<MrZYX>
and then show him your broken tests you already have
bradleyprice has joined #ruby
<Eiam>
MrZYX: shit breaks all the time, I just deploy a fix
<Corey>
Eiam: The problem is this. If you have code that self-tests, what value does that add after the first time it completes successfully?
<breakingthings>
Eiam: needs to be a more finegrained explanation of why it's good
<Eiam>
thankfully I'm not shipping stuff to paying customers, I'm shipping it to a captive audience
<Eiam>
breakingthings: every break I've fixed in the past 5 months could have been avoided with unit tests? ;)
<breakingthings>
Not just an overview of why you should particularly do it because likely to him he's never written a test and just doesn't get it
agarie has joined #ruby
<breakingthings>
You have to explain how the unit tests will provide extreme stability that cannot ever be matched by F5-development
<breakingthings>
or whatever more appropriate term based on your application
rupee has joined #ruby
<Eiam>
I have no idea what f5 development is
<Eiam>
=p
banister`sleep has quit [Ping timeout: 256 seconds]
haxrbyte has quit [Read error: Connection reset by peer]
<breakingthings>
F5 being the browser refresh key
<breakingthings>
referring to web development there
<Eiam>
oh, that
<Eiam>
yeah
chongyu123 has joined #ruby
<Eiam>
ha, how very apropo
includex has quit [Read error: Connection reset by peer]
<breakingthings>
But really, it's hard for someone who's never understood how unit testing works to simply accept that it should be done
g4mm4 has quit [Remote host closed the connection]
<Eiam>
breakingthings: I think the equation is more "I could have this guy spending his time doing ABC or XYZ"
<breakingthings>
It's something that you should explain on a granular level "you write a test, it breaks, you know it broke, you don't even have to run the application"
<Eiam>
and XYZ doesn't hold a lot of value
<Eiam>
in their mind anyway. thats my take
<breakingthings>
probably
<breakingthings>
that's how it is
rippa has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
<breakingthings>
but if you convey the meaning that it means there will be less time spent fixing bugs...
rippa has joined #ruby
<Eiam>
yep, i know these things ;p
invisime has quit [Quit: Leaving.]
<Eiam>
just figured i'd look & see if his suggestion already existed
wudofyr has quit [Ping timeout: 256 seconds]
<Eiam>
I'm not going to implement what he asked for however, I'm not crazy
<breakingthings>
:)
Gowie has joined #ruby
<Eiam>
would have been easier with his blessing to do the CI & unit tests but oh well
jbueza has quit [Quit: Leaving.]
<Eiam>
guess I get to play sysadmin a bit longer
<breakingthings>
Build a man a lazy device and he survives for a week
<breakingthings>
Teach a man to test and he'll actually know how to engineer an application properly.
carloslopes has joined #ruby
havenwood has joined #ruby
pioz has left #ruby [#ruby]
<Eiam>
breakingthings: well, I'm not trying to kid anyone, I'm hardly an engineer
banister`sleep has joined #ruby
herbnerder has quit [Ping timeout: 245 seconds]
<Eiam>
< project manager
<Eiam>
i just happen to write code & tools to support projects
<breakingthings>
Who said anything about you needing to be an engineer :)
LennyLinux has joined #ruby
LennyLinux has quit [Read error: Connection reset by peer]
<Gowie>
Is there something speacial I have to do to have instance variables by synchronized across processes? I am forking one process and changing instance variables and those changes aren't passing over to the initial process.
<breakingthings>
But without tests your little developer friend will never really be an engineer
LennyLinux has joined #ruby
<breakingthings>
anyway
kpshek has quit []
<breakingthings>
Off to lunchingtons
<Eiam>
see ya
herbnerder has joined #ruby
<JonnieCache>
Eiam: the people who write the code need to write the tests for that code as well
<breakingthings>
Good luck with convincing if you try
robscomputer has joined #ruby
<JonnieCache>
to really get the full benefit
breakingthings has quit []
sambao21 has joined #ruby
<Eiam>
I'm not going to broach the subject with him again
<Eiam>
jus going to do the work and ignore him
c0rn has joined #ruby
<JonnieCache>
yeah fair enough
fermion has joined #ruby
<Eiam>
JonnieCache: sure, and in an ideal world the person who broke it would fix it too
<Eiam>
the entire app is his top to bottom, but I maintain it, add features, and fix bugs
<Eiam>
so
<Eiam>
doesn't bother me, prett sure thats why he hired me anyway ;)
<JonnieCache>
Eiam: i meant it more from the point of view that writing the tests makes you understand the code better
<Eiam>
yeah, well thats helpful for me then, I don't think like he codes
<JonnieCache>
so you derive more benefit if the test code and the app code are written by the same person
<Eiam>
so I have to read his code anyway ;p
jbueza has joined #ruby
stef_204 has joined #ruby
includex has joined #ruby
pi3r has quit [Quit: Leaving]
<JonnieCache>
but obviously your specifc and circumstances needs take precedence :)
<Eiam>
e.g. he will write a proc, then call it inside each or something, and I'd just write a function and call it on the data
rakun has quit [Quit: Saliendo]
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby
timonv has quit [Remote host closed the connection]
ckrailo has joined #ruby
fermion has quit [Client Quit]
wolcanus has quit [Remote host closed the connection]
Spooner has joined #ruby
ephemerian has quit [Quit: Leaving.]
mafolz has quit [Ping timeout: 276 seconds]
queequeg1 has quit [Read error: Operation timed out]
dr_bob has left #ruby [#ruby]
queequeg1 has joined #ruby
ninjanoise has quit [Remote host closed the connection]
tevio has quit [Remote host closed the connection]
mrsolo has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
dayepa1 has joined #ruby
wudofyr has joined #ruby
spinagon has joined #ruby
ananthakumaran has joined #ruby
rippa has quit [Read error: Connection reset by peer]
toekutr has joined #ruby
marcdel has joined #ruby
mahmoudimus has joined #ruby
carloslopes has quit [Remote host closed the connection]
Targen_ has quit [Ping timeout: 256 seconds]
crazysim has quit [Ping timeout: 245 seconds]
xibalba has left #ruby ["Leaving"]
wolcanus has joined #ruby
andersbr has joined #ruby
Tricon has joined #ruby
haxrbyte has joined #ruby
spinagon has quit [Read error: Connection reset by peer]
LennyLinux has quit [Remote host closed the connection]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
rippa has joined #ruby
buscon has quit [Quit: Leaving]
Aiur has quit [Quit: Computer has gone to sleep.]
dzhulk has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
marcgg_ has joined #ruby
anderse has joined #ruby
woolite64 has quit [Quit: Leaving]
chussenot has quit [Quit: chussenot]
callenb has left #ruby [#ruby]
Aiur has joined #ruby
m8 has joined #ruby
virtuose has quit [Read error: Connection reset by peer]
dmerrick has joined #ruby
xardas has joined #ruby
mrsolo has quit [Quit: Leaving]
tevio has joined #ruby
mrsolo has joined #ruby
swex has quit [Read error: Connection reset by peer]
Chryson has joined #ruby
kpshek has joined #ruby
jdunck has joined #ruby
v0n has joined #ruby
includex has quit [Read error: Connection reset by peer]
crazysim has joined #ruby
jpcamara_ has quit [Quit: jpcamara_]
flayer has quit []
swex has joined #ruby
virtuose has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
skattyadz has quit [Quit: skattyadz]
lele has quit [Ping timeout: 245 seconds]
spider-mario has joined #ruby
swex has quit [Read error: Operation timed out]
fmcgeough has joined #ruby
huoxito has joined #ruby
Tricon has quit [Read error: Connection reset by peer]
etcetera has quit []
dayepa1 has quit [Quit: dayepa1]
swex has joined #ruby
jtharris has joined #ruby
lele has joined #ruby
carloslopes has joined #ruby
_bart has quit [Ping timeout: 264 seconds]
Tricon has joined #ruby
skattyadz has joined #ruby
love_color_text has joined #ruby
bricker has quit [Ping timeout: 256 seconds]
etcetera has joined #ruby
chrisramon has joined #ruby
chrisramon has quit [Client Quit]
lewix has quit [Remote host closed the connection]
emanon_ has quit [Ping timeout: 260 seconds]
momomomomo has joined #ruby
kpshek has quit []
Chryson has quit [Ping timeout: 245 seconds]
Ontolog has joined #ruby
love_color_text has quit [Remote host closed the connection]
kristofers has quit []
whitedawg has joined #ruby
whitedawg has quit [Max SendQ exceeded]
kenyabob has joined #ruby
skattyadz has quit [Ping timeout: 256 seconds]
yashshah has joined #ruby
averiso has quit [Ping timeout: 255 seconds]
lewix has joined #ruby
yannis has joined #ruby
skattyadz has joined #ruby
skattyadz has quit [Read error: Connection reset by peer]
Hanmac has quit [Read error: Operation timed out]
akashj87 has quit [Ping timeout: 245 seconds]
mikewintermute has quit [Ping timeout: 252 seconds]
mhn23 has joined #ruby
mikewintermute has joined #ruby
<Eiam>
whats it mean when I do a bundle install and it gets installed into ./newfolder ?
<Eiam>
I now have 11,257 changes in my git repo
<Eiam>
basically it was all dumped right into my working directory instead of… I dunno, somewhere ELSE. wherever it normally magically goes?
<MrZYX>
cat .bundle/config, guess path is set
QKO has quit [Ping timeout: 255 seconds]
Nomadicoder has quit [Quit: This computer has gone to sleep]
<Eiam>
yeah it has bundle_path: newfolder
<Eiam>
wtf how did that get set
<Eiam>
can i just delete it and it'll go back to behaving properly?
<MrZYX>
yeah
ferdev has quit [Quit: ferdev]
haxrbyte_ has joined #ruby
averiso has joined #ruby
<Eiam>
okay that looks like it fixed it..
<Eiam>
weird, wonder how that got set..
<Eiam>
I didn't even know about the file so.. not it!
<MrZYX>
bundler uses it to memorize options like --path or --without
br4ndon has joined #ruby
girija_ has quit [Read error: Connection reset by peer]
<julian-delphiki>
Eiam: could check the history if its in version control?
<Eiam>
a quick check says its not
haxrbyte has quit [Ping timeout: 264 seconds]
dylan has quit [Read error: Connection reset by peer]
polfilm has joined #ruby
Ontolog has quit [Read error: Connection reset by peer]
Tricon has quit [Quit: Leaving...]
Ontolog has joined #ruby
PragCypher has joined #ruby
<Eiam>
weird
Hanmac has joined #ruby
elaptics is now known as elaptics`away
whitedawg has joined #ruby
thecreators has joined #ruby
obs has quit [Quit: Konversation terminated!]
haxrbyte_ has quit [Read error: Connection reset by peer]
jaygen has quit [Read error: Operation timed out]
jaygen has joined #ruby
gyre007 has quit [Read error: Operation timed out]
k610 has quit [Quit: Leaving]
Tricon has joined #ruby
vlad_starkov has joined #ruby
sdavis has joined #ruby
andersbr has left #ruby [#ruby]
slainer68 has quit [Remote host closed the connection]
geggam__wk has joined #ruby
geggam_wk has quit [Remote host closed the connection]
kpshek has joined #ruby
<JonnieCache>
Eiam: maybe you ran bundle --deployment at some point
julian-delphiki has quit [Quit: Computer has gone to sleep.]
<JonnieCache>
or something like that. some of the options can cause that kind of behaviour
ananthakumaran has quit [Quit: Leaving.]
jekotia has quit [Ping timeout: 245 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
Tricon has quit [Read error: Connection reset by peer]
tricon_ has joined #ruby
reset has joined #ruby
mhn23 has quit [Quit: Goodbye.]
bajeczka has joined #ruby
tevio has quit [Remote host closed the connection]
fermion has joined #ruby
ryanf has joined #ruby
Amnesthesia has quit [Read error: Connection reset by peer]
polfilm has quit [Quit: ChatZilla 0.9.90 [Firefox 12.0/20120420145725]]
polfilm has joined #ruby
jurassic_ has quit [Quit: jurassic_]
Spooner has quit [Remote host closed the connection]
jaygen has quit [Remote host closed the connection]
yashshah has quit [Ping timeout: 252 seconds]
bajeczka has left #ruby [#ruby]
polfilm has quit [Client Quit]
Ontolog has quit [Remote host closed the connection]
Ontolog has joined #ruby
Neomex has joined #ruby
jbueza has quit [Quit: Leaving.]
cyro has joined #ruby
Spooner has joined #ruby
cyro has left #ruby [#ruby]
duosrx has quit [Remote host closed the connection]
bsaboia_ has joined #ruby
crimezone20xx has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 245 seconds]
BSaboia has quit [Ping timeout: 256 seconds]
jbueza has joined #ruby
cascalheira has joined #ruby
Neomex has quit [Quit: Neomex]
Banistergalaxy has quit [Ping timeout: 256 seconds]
<stantona_>
I'm getting an issue when doing a bundle install on an ubuntu instance. It's when trying to build the ruby extensions for bcrypt-ruby. here's a gist of the errors: https://gist.github.com/stantona/57e9aec5d6db0b0a8275. Any ideas?
ferdev has joined #ruby
chrishough has joined #ruby
newUser1234 has joined #ruby
newUser1_ has quit [Read error: Connection reset by peer]
Guest74727 is now known as ixx
girija has joined #ruby
realDAB has joined #ruby
krawchyk has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
kenyabob has quit [Quit: kenyabob]
goganchic has quit [Quit: Leaving.]
ffranz has quit [Excess Flood]
ffranz has joined #ruby
Uranio has joined #ruby
rezzack has joined #ruby
doc_brown has joined #ruby
sepp2k has quit [Quit: Leaving.]
tay1 has quit [Ping timeout: 256 seconds]
reset has joined #ruby
timmow has quit [Ping timeout: 252 seconds]
xibalba has joined #ruby
worstadmin has joined #ruby
<JonnieCache>
stantona_: it looks like youre lacking some build tools maybe?
marcdel has joined #ruby
<worstadmin>
I have 'gem install carrier-pigeon' and it reports success but when I require 'carrier-pigeon' it fails to load
<stantona_>
well I install build_essential, and when I do which make it's in usr/bin
maxmanders has quit [Quit: Computer has gone to sleep.]
apeiros_ has joined #ruby
rasbonics has quit [Client Quit]
rasbonics has joined #ruby
erc-nick has joined #ruby
dsferreira has quit [Quit: This computer has gone to sleep]
Banistergalaxy has joined #ruby
colonolGron has joined #ruby
<Eiam>
or some_hash.each {|k,v| puts "#{k,v}"} ?
Elhu has joined #ruby
<lectrick_>
I want a method that, when I give it a block, it tells me the amount of memory (and new class instances/new objects) running that block once consumed
toekutr has quit [Read error: Connection reset by peer]
<lectrick_>
And I want that method to be available everywhere
Elhu has quit [Client Quit]
<C0deMaver1ck>
no you don't
<C0deMaver1ck>
;p
<lectrick_>
the GC time is too damn high! :)
Kemist has joined #ruby
* C0deMaver1ck
raises fist
<apeiros_>
Eiam: "#{k,v}" is not valid
<Alaude>
.class?
Kemist has quit [Client Quit]
<C0deMaver1ck>
"#{k} #{v}" then
Kemist has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 0.4.0]
pioz has quit [Quit: pioz]
jpcamara has joined #ruby
c0rn has joined #ruby
raddazong has quit [Changing host]
raddazong has joined #ruby
jpcamara_ has quit [Ping timeout: 245 seconds]
jbam has quit [Ping timeout: 256 seconds]
raddazong is now known as madhatter
josefrichter has joined #ruby
<apeiros_>
lectrick_: afaik in 1.9 there are a couple of GC profiling tools built in
Elhu has joined #ruby
`p has quit [Ping timeout: 245 seconds]
rippa has quit [Ping timeout: 240 seconds]
<Xeago>
apeiros_: current zerg zergling poke style is 14p15h followed by 16-18gas
MehLaptop has joined #ruby
<Xeago>
earlier pool due to increased amount of proxies and stuff
realDAB has joined #ruby
erc-nick has quit [Remote host closed the connection]
mahmoudimus is now known as reduce
<apeiros_>
howdy Xeago :)
<Hanmac>
Xeago do you remember the brutlings that the flying zerg queen could shot? ... in the old starcraft it makes me lose a campain ...
toekutr has joined #ruby
erc-nick has joined #ruby
BadDesign has joined #ruby
reduce is now known as mahmoudimus
<Hanmac>
apeiros_ and before you wonder : with this "inmortal" creatures could be killed ...
erc-nick has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
<apeiros_>
Hanmac: yes, I remember SC BW quite well
<apeiros_>
I used to defend against terran cpu with lurkers + queens
<Xeago>
im good, just recovered from yesterday, gf's bd party
<Xeago>
cleaned till the early morning
<Xeago>
spent the whole today shopping with the giftcards she good
<Xeago>
got*
<Hanmac>
once, i loose a mission because my hero unit dies, dammit queen
ryanf has quit [Ping timeout: 256 seconds]
<Xeago>
Hanmac: no, never played SC/BW campaign
<apeiros_>
Xeago: don't know whether you've read it, but I finally got my new PC :)
<Xeago>
cool, didn't know yet!
pkrnj has joined #ruby
bradleyprice has quit [Remote host closed the connection]
<apeiros_>
max graphic settings and still 80-120 fps :
<apeiros_>
:D
Goles has quit [Quit: Out.]
<wmoxam>
apeiros_: what did you get?
<Hanmac>
hm the campaign was nice ... it had more story than other recent games
<Xeago>
tsss
<apeiros_>
wmoxam: built my own. Sabertooth X79 (LGA2011), i7 3820 @ 3.6ghz, GTX 660 Ti
<wmoxam>
apeiros_: nice
huoxito has joined #ruby
ryanf has joined #ruby
bricker_ has joined #ruby
neku has joined #ruby
<apeiros_>
and with a huge heat sink, the cpu fan runs so slowly that the mainboard at first considered it to be an error :D
Targen has quit [Ping timeout: 256 seconds]
<Xeago>
rofl
<apeiros_>
very quiet even under load
Nahra has joined #ruby
<Xeago>
you running english sc2 now?
<apeiros_>
yes
<Xeago>
good :)
<apeiros_>
almost downloaded the german client. canceled it and got me the english one :)
<apeiros_>
which accidentally placed me on the US server :-S
<Xeago>
you can change localization afterwards..
<apeiros_>
(I'm back on the european now)
jgrevich_ has joined #ruby
jgrevich has quit [Ping timeout: 256 seconds]
jgrevich_ is now known as jgrevich
<apeiros_>
riiight, I keep forgetting that :-/
<Xeago>
I tried changing region to korean, got placed in bronze
<apeiros_>
:)
hattusili_III_ has quit [Read error: Connection reset by peer]
<apeiros_>
surprised there isn't an additional copper league :D
<wmoxam>
Korean's are OP
bricker has quit [Ping timeout: 256 seconds]
<apeiros_>
wmoxam: totally
<wmoxam>
need to be nerfed
<Xeago>
wmoxam: you play sc2?
<wmoxam>
Xeago: yes
<Xeago>
:OOOOO
<apeiros_>
another player!
Aiur has joined #ruby
<Xeago>
another practice partner!!!
codezombie has joined #ruby
<apeiros_>
I smell [ruby] clan tag :D
<Xeago>
!!
<wmoxam>
I'm just a lowly Gold level player
<apeiros_>
wmoxam: silver here
yshh has joined #ruby
tevio has quit [Remote host closed the connection]
<wmoxam>
race?
<Xeago>
i'm gold atm
<apeiros_>
and probably soon bronce since I'll switch from zerg to toss
<wmoxam>
I'm protoss
<Xeago>
used to be platinum the last 3 weeks of WoL
<Xeago>
toss, tho not sure if Iw ant to stay toss
<wmoxam>
I was Terran for a long time
i_s has quit [Quit: i_s]
<apeiros_>
if you've got the micro, I think terran is *very* nice in HOTS
Targen has joined #ruby
<wmoxam>
terran is kinda boring though
<Xeago>
don't like terrans way of production
<Xeago>
feels too slow
<apeiros_>
hm, na, seen flash's play?
<Xeago>
so I can't get my macro going decent
<apeiros_>
widow mine bait & retreat
<wmoxam>
Xeago: same here
jurassic_ has quit [Quit: jurassic_]
<Xeago>
e.g. it is too busy in the 'lousy periods'
<wmoxam>
apeiros_: yeah, prolly different in HOTS
i_s has joined #ruby
<wmoxam>
I haven't gotten it yet
<Xeago>
:O
<Xeago>
who is up for some monobattle?
<apeiros_>
you're missing out :)
<apeiros_>
Xeago: ordinary battle yes, monobattle no
<apeiros_>
I need ~10-15min first, though
<Xeago>
can't play as good as I want on my macbook
xbob has quit [Quit: Leaving]
angusiguess has quit [Ping timeout: 245 seconds]
<Xeago>
stupid fn key..
<apeiros_>
Xeago: hm, widow mine monobattle? :D
* apeiros_
wonders whether that works at all
<Xeago>
monobattle is still WoL :<
<apeiros_>
oh
huoxito has quit [Quit: Leaving]
<Hanmac>
Xeago & apeiros_ you should also try 40k DawnofWar , the first one was cool with addons
yfeldblum has joined #ruby
<apeiros_>
Hanmac: I already bought 4 other games… too busy :)
<mljsimone>
Xeago: fn key bother you for F* keys?
kl4m has quit [Quit: Ex-Chat]
wolcanus has quit [Remote host closed the connection]
<Xeago>
mljsimone: fn key bothers me because I want control to be there when gaming
Morkel_ has joined #ruby
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
<apeiros_>
Xeago: you can switch that
<Hanmac>
apeiros_ they make an rebuild of AgeOfEmpiresII ... but without LocalLan :'(
<apeiros_>
annoyed me having to switch before/after gaming, though. same with time machine. also my SSD on the MBP is no longer occupied by ~40gb of game data :D
<Xeago>
apeiros_: without kernel hack?
doc_brown has quit [Read error: Connection reset by peer]
<apeiros_>
Xeago: plain system settings
<Xeago>
where?
<apeiros_>
keyboard
<apeiros_>
wait, checking english text
<Xeago>
can't modify fn key, you can turn capslock into control f.ex
<apeiros_>
Keyboard, tab keyboard, top checkbox
<Xeago>
"tab keyboard"?
<apeiros_>
"Use all F1, F2, etc. keys as standard function keys"
<Xeago>
that's not it, I want fn to function as control
<apeiros_>
yes, keyboard system prefs has 2 tabs, keyboard and shortcuts
Morkel has quit [Ping timeout: 255 seconds]
Morkel_ is now known as Morkel
<apeiros_>
Xeago: ah, oh, I thought you wanted the fn keys to act as actual fn keys. sorry, misunderstood
<Xeago>
my pinky can't bend to the control key when playing sc2
<apeiros_>
you mean because fn is leftmost key
<Xeago>
yea
<Xeago>
that sucks :<
<apeiros_>
I guess there might be a keyboard layout for that
<Xeago>
loading dvorak or any others leave fn unaffected
mercwithamouth has quit [Ping timeout: 245 seconds]
<pskosinski>
Ruby, sqlite3… how to do something like: 'select * from users where user = ? and pass = ?', user, pass … If it matches any record then it is just returning my query. If it doesn't match anything, same. So… meh.
willob has joined #ruby
willob has quit [Max SendQ exceeded]
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
jurassic_ has joined #ruby
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
tilgog has joined #ruby
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
tilgog has quit [Client Quit]
<lectrick_>
Is there any way to get the number of bytes something occupies in Ruby VM?
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
<lectrick_>
like if I have a hash or an array, how to determine its memory size (not the size of anything it points to)
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
<banister`sleep>
lectrick_: well the size of an array is just sizeof(VALUE) * array.size
jbueza has quit [Quit: Leaving.]
kpshek has quit []
jbueza has joined #ruby
<lectrick_>
banister`sleep: what about an arbitrary class instance?
<banister`sleep>
lectrick_: sizeof(RObject) i guess
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
neku has quit [Quit: Leaving...]
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
picca has joined #ruby
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
picca has quit [Remote host closed the connection]
<lectrick_>
banister`sleep: How would I get a list of symbols in memory?
<banister`sleep>
lectrick_: Symbol.all i think
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
<banister`sleep>
all_symbols
<lectrick_>
oh wow
pac1 has joined #ruby
<lectrick_>
ty
etcetera has quit []
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
noxoc has quit [Quit: noxoc]
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
mercwithamouth has joined #ruby
gyre007 has joined #ruby
gyre007 has quit [Max SendQ exceeded]
PragCypher has quit [Quit: Leaving]
g4mm4 has quit [Read error: Connection reset by peer]
<Quadlex>
But I know that "seems too complicated" is programmer shorthand for "I don't understand this so fuck it"
sailias has quit [Quit: Leaving.]
mosez has joined #ruby
<Sicp>
I have 2 elements in the sections_names array and I am trying to match them against 26 total elements
mikepack has quit [Remote host closed the connection]
entr0py__ has joined #ruby
<Sicp>
the elements in the array make up titles for the 26 elements, 1 title for each; I get 17 matches for the first title but when it hits the second title it stops
<Sicp>
I totally don't understand the syntax!
thone has joined #ruby
<Sicp>
that break on 46 is obviously causing the thing to stop when I want it to go on, but I thought it was just prompting the loop to the next iteration!
<bean>
Sicp can you show code?
<Sicp>
I did
<Sicp>
it's up there
<bean>
ah ok
thufir_ has joined #ruby
Floydzy has joined #ruby
gabrielrotbart has joined #ruby
jgrevich has quit [Ping timeout: 256 seconds]
tomsthumb has quit [Quit: Leaving.]
<Sicp>
been at this same problem for hours
mockra has joined #ruby
<bean>
can you show more complete code?
mrsolo has quit [Quit: Leaving]
sebastianb has quit [Ping timeout: 246 seconds]
<bean>
like, something actually runable
<Sicp>
you'd need to have the excel sheet to run that
<Sicp>
but ok
<bean>
lol
<Sicp>
seriously, try
<bean>
imo first thing i'd do is get rid of that sheet