drago777 has quit [Read error: Connection reset by peer]
<apeiros>
why'd you install ruby 1.9.1? that was a development release.
drago777- has joined #ruby
<withnale>
it's not my choice. it's embedded with recent versions of vagrant
<apeiros>
you should install 1.9.3, or at the very least 1.9.2 (assuming you must use one from the 1.9 series)
nari has joined #ruby
SJr has joined #ruby
<apeiros>
do you know it is 1.9.1 or are you guessing from that error? because 1.9.3 still is on 1.9.1 ABI (or whatever it is called) and uses the same paths for some things…
<withnale>
actually. my mistake. it's version 1.9.3p448 - the directory just says 1.9.1
aknagi has quit [Quit: aknagi]
juo has joined #ruby
Guest19952 has quit [Remote host closed the connection]
<apeiros>
ah, ok
Michael has joined #ruby
<apeiros>
with the other, I can't help. bed time anyway (0200 here). gn8
<withnale>
ok. gn
apeiros has quit [Remote host closed the connection]
Michael is now known as Guest66790
nazty has joined #ruby
agjacome has quit [Ping timeout: 264 seconds]
cj3kim_ has quit [Remote host closed the connection]
butblack has quit [Quit: butblack]
Soda has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
mrsolo has joined #ruby
zastern has quit [Remote host closed the connection]
huoxito has joined #ruby
butblack has joined #ruby
nanoxd_ has joined #ruby
zarubin has quit [Ping timeout: 260 seconds]
MrZYX is now known as MrZYX|off
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Popple has quit [Quit: Computer has gone to sleep.]
toretore has quit [Quit: Leaving]
nanoxd has quit [Read error: Operation timed out]
Monie has joined #ruby
nanoxd_ has quit [Client Quit]
BSaboia has quit [Ping timeout: 256 seconds]
zarubin has joined #ruby
nanoxd has joined #ruby
brianpWins has quit [Quit: brianpWins]
adeponte has joined #ruby
Bosox20051 has joined #ruby
Aryasam has joined #ruby
TheSpect1e has joined #ruby
butblack has quit [Quit: butblack]
TheSpectre has quit [Ping timeout: 245 seconds]
schaerli has joined #ruby
awarner has joined #ruby
adeponte has quit [Ping timeout: 248 seconds]
lfox has joined #ruby
zarubin has quit [Ping timeout: 248 seconds]
schaerli has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
Notte has quit [Remote host closed the connection]
Aryasam_ has joined #ruby
awarner has quit [Ping timeout: 248 seconds]
Aryasam has quit [Ping timeout: 252 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
<orangerobot>
i'm requiring a file that is in the same directory and the 'from' file but I'm getting `require': cannot load such file --edge (LoadError). what could be wrong?
vlad_starkov has quit [Ping timeout: 240 seconds]
<orangerobot>
the file is called edge.rb and i've required it using require 'edge'. isn't this the way it's meant to be?
<Morrolan>
Since Ruby 1.9.x, the current directory isn't part of Ruby's load path anymore.
<Morrolan>
Use require_relative instead.
<orangerobot>
oh i see
<orangerobot>
thanks Morrolan
sepp2k1 has joined #ruby
<orangerobot>
that's quite a change, isn't it? it must have broken many a codebase
Aryasam_ has quit [Ping timeout: 252 seconds]
<Morrolan>
I assume so, yea.
<Morrolan>
Though it's something which is quite easy to fix.
sepp2k has quit [Ping timeout: 256 seconds]
tgraham|away is now known as tgraham
emergion has joined #ruby
cj3kim_ has joined #ruby
mrsolo has joined #ruby
lfox has quit [Quit: ZZZzzz…]
Targen has quit [Ping timeout: 256 seconds]
Faris has joined #ruby
kofno has quit [Ping timeout: 264 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
heidi has joined #ruby
cj3kim_ has quit [Read error: Connection reset by peer]
cj3kim_ has joined #ruby
DonRichie has quit [Ping timeout: 256 seconds]
DonRichie has joined #ruby
Aryasam has joined #ruby
Elinos has joined #ruby
Hanmac has joined #ruby
bg_ has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
Aryasam has joined #ruby
heidi has quit [Quit: Leaving.]
sepp2k1 has quit [Read error: Connection reset by peer]
Hanmac has quit [Ping timeout: 264 seconds]
polaco_zZz is now known as polaco
butblack has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
mrsolo has quit [Quit: This computer has gone to sleep]
Faris has quit [Ping timeout: 256 seconds]
Faris has joined #ruby
tgraham is now known as tgraham|away
Beoran__ has joined #ruby
julweber has quit [Ping timeout: 248 seconds]
Aryasam has quit [Read error: Connection reset by peer]
rahulkmr has quit [Ping timeout: 256 seconds]
Elinos has quit [Remote host closed the connection]
Beoran_ has quit [Ping timeout: 245 seconds]
Faris has quit [Ping timeout: 240 seconds]
Aryasam has joined #ruby
tgraham|away is now known as tgraham
brennanMKE has joined #ruby
apeiros has joined #ruby
mary5030 has joined #ruby
ru has joined #ruby
Faris has joined #ruby
xk_id has quit [Quit:
Lewix has quit [Remote host closed the connection]
Aryasam has quit [Read error: Connection reset by peer]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<ru>
Quick question, I often see in Ruby classes, an inner class that is anonymous and extends self. Like: class Blah \n class << self .... I am curious what this actually does, and why people do it?
apeiros has quit [Ping timeout: 260 seconds]
<r0bgl33s0n>
ru: it opens the singleton class of Blah.
Aryasam_ has joined #ruby
butblack has quit [Quit: butblack]
<ru>
r0bgl33s0n: huh, so by just class << self, you get a singleton instance of Blah and everything that Blah contains?
zets has joined #ruby
<banisterfiend>
ru: depends on what u think a singleton instance is, u should probably google 'ruby eigen class' or sth
kazuuu has quit [Remote host closed the connection]
kofno has joined #ruby
m8 has quit [Quit: Sto andando via]
kvirani has joined #ruby
sectionme has joined #ruby
Aryasam has joined #ruby
Aryasam_ has quit [Read error: Connection reset by peer]
rahulkmr has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
heidi has joined #ruby
vlad_starkov has joined #ruby
elepfontius has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
Aryasam has joined #ruby
dankest has quit [Quit: Peace]
sectionme has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 245 seconds]
kvirani has quit [Ping timeout: 248 seconds]
Faris has quit [Ping timeout: 256 seconds]
jonr22 has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
<ru>
so does "singleton methods" map (in a basic way) to declared "static" methods in other languages?
Lewix has joined #ruby
julweber has joined #ruby
Aryasam has quit [Ping timeout: 248 seconds]
<r0bgl33s0n>
for now, yeah, when you understand them, no
leehambley has quit [Ping timeout: 245 seconds]
rahulkmr has quit [Ping timeout: 248 seconds]
leehambley has joined #ruby
KobraKao has joined #ruby
<orangerobot>
does anybody know why Ruby isn't recognizing the name RuntimeError as a class name? http://pastie.org/8363601
dcunit3d has quit [Ping timeout: 240 seconds]
<orangerobot>
(this is inside a method for a subclass of Test::Unit::TestCase by the way)
<ru>
interesting, so both classes and modules have eigenclasses, correct?
<Kelet>
eigenclasses?
* Kelet
runs
kil0byte has joined #ruby
<ru>
Kelet: is that not right? The behaviour seems identical in a basic usage between modules with a "class << self" inside of it and classes with the same.
DEA7TH has quit []
DanKnox is now known as DanKnox_away
hanmac1 has joined #ruby
rahulkmr has joined #ruby
geoffw8__ has quit [Ping timeout: 260 seconds]
cool has quit [Ping timeout: 260 seconds]
jamesaanderson has joined #ruby
cj3kim__ has quit [Read error: Connection reset by peer]
polaco is now known as polaco_zZz
cj3kim_ has joined #ruby
schaerli has joined #ruby
hanmac1 has quit [Ping timeout: 256 seconds]
kil0byte_ has joined #ruby
lunarjar has joined #ruby
<banisterfiend>
Kelet yeah
<banisterfiend>
Kelet nearly every object potentially has an eigen class
freerobby has quit [Quit: Leaving.]
eka has joined #ruby
<banisterfiend>
Kelet an eigenclass is just a special class that holds methods specific to that object
Xiti` has joined #ruby
kil0byte_ has quit [Remote host closed the connection]
kil0byte has quit [Ping timeout: 245 seconds]
failshell has joined #ruby
Xiti has quit [Ping timeout: 256 seconds]
rahulkmr1 has joined #ruby
Heero has joined #ruby
hayleybarker has joined #ruby
rahulkmr has quit [Ping timeout: 240 seconds]
schaerli has quit [Ping timeout: 260 seconds]
rahulkmr1 has quit [Client Quit]
bg_ has quit [Remote host closed the connection]
<hayleybarker>
If I have two Arrays and I wanted to check if array #1 had a value that array #2 had and if it did remove that value for array #1, could I do that with a set?
funkster has joined #ruby
freerobby has joined #ruby
larissa has quit [Quit: Leaving]
larissa has joined #ruby
larissa has quit [Remote host closed the connection]
larissa has joined #ruby
larissa has quit [Client Quit]
|jemc| has joined #ruby
agent_white has joined #ruby
jonr22 has quit [Ping timeout: 240 seconds]
heidi has quit [Quit: Leaving.]
failshell has quit [Remote host closed the connection]
dodosan has joined #ruby
IceDragon has quit [Ping timeout: 248 seconds]
kitak has quit [Remote host closed the connection]
IceDragon has joined #ruby
Kabaka has joined #ruby
butblack has quit [Quit: butblack]
Ox6abe has quit [Remote host closed the connection]
<popl>
sorry about that. duckduckgo got away from me
<Matix>
I want something like this: def method_missing(m, *a, &b) something.send(m, a, b) end
<kaushal1>
is ruby a interpreted or compiled language?
saarinen has joined #ruby
zz_scottstamp is now known as scottstamp
<bnagy>
Matix: depends what you want to call the method on
SkuliOskarsson has joined #ruby
<bnagy>
like, it can't be self, otherwise method_missing wouldn't have fired :)
<Matix>
I want to forward the same method, with the same args with the same block
<bnagy>
to what?
<Matix>
let's say to @foo
<Matix>
which is an object of another class
<bnagy>
so do that :)
<Matix>
but how?
<Matix>
.send is not supposed to do that
<Matix>
is it?
<Matix>
hmn, wait a sec
<bnagy>
@foo.send meth, *args
<Matix>
ah, ok, you put *args, as the argument
<Matix>
@foo.send method, *args, block
browndawg has joined #ruby
<Matix>
I suppose
<Matix>
or &block
<Matix>
well, I'll try
<kaushal1>
is ruby a interpreted or compiled language?
<bnagy>
never done it with a block, but I suspect &blk
<bnagy>
kaushal1: both, neither, it's not a useful question
fgo has joined #ruby
Davey_ is now known as Davey
kaushal1 has left #ruby [#ruby]
geoffw8__ has joined #ruby
<Matix>
yep, it seems it works
<Matix>
with &block
<zets>
kaushal1: typically interpreted
hanmac1 has joined #ruby
cool has joined #ruby
saarinen has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 264 seconds]
Guest66790 has quit [Remote host closed the connection]
dodosan has joined #ruby
hanmac1 has quit [Ping timeout: 256 seconds]
schaerli has joined #ruby
Michael__ has joined #ruby
quoin has quit [Remote host closed the connection]
saarinen has joined #ruby
thehodapp has joined #ruby
schaerli has quit [Ping timeout: 256 seconds]
lessless has joined #ruby
DanKnox_away is now known as DanKnox
thehodapp has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby
Alina-malina has joined #ruby
huoxito has quit [Quit: Leaving]
m00nligh_ has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josiah14 has joined #ruby
brennanMKE has quit [Remote host closed the connection]
m00nlight has joined #ruby
quoin has joined #ruby
SkuliOskarsson has quit [Read error: Connection reset by peer]
SkuliOskarsson has joined #ruby
saarinen has quit [Quit: saarinen]
thehodapp has joined #ruby
vlad_starkov has joined #ruby
saarinen has joined #ruby
jamesaanderson has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
thehodapp has quit [Ping timeout: 256 seconds]
iliketurtles has quit [Quit: zzzzz…..]
Michael__ has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 252 seconds]
SkuliOskarsson has quit [Quit: SkuliOskarsson]
leehambley has quit [Ping timeout: 245 seconds]
SkuliOskarsson has joined #ruby
leehambley has joined #ruby
vxxr has quit [Quit: leaving]
iliketurtles has joined #ruby
SkuliOskarsson has quit [Client Quit]
agent_white has quit [Ping timeout: 245 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bosox20051 has quit [Ping timeout: 248 seconds]
cj3kim_ has joined #ruby
kvirani has quit [Remote host closed the connection]
browndawg has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
kvirani has joined #ruby
Targen has joined #ruby
kvirani has quit [Ping timeout: 248 seconds]
GeissT has joined #ruby
osvico has joined #ruby
brennanMKE has joined #ruby
xcv_ has quit [Remote host closed the connection]
quazimodo has joined #ruby
Matix has quit [Remote host closed the connection]
hanmac1 has joined #ruby
SkuliOskarsson has joined #ruby
6JTAACVD4 is now known as polaco_zZz
polaco_zZz has joined #ruby
polaco_zZz has quit [Changing host]
sevenseacat has joined #ruby
brennanMKE has quit [Ping timeout: 240 seconds]
SkuliOskarsson has quit [Client Quit]
hanmac1 has quit [Ping timeout: 252 seconds]
sectionme has joined #ruby
jamesaanderson has joined #ruby
sectionme has quit [Ping timeout: 240 seconds]
julweber has joined #ruby
Fire-Dragon-DoL has left #ruby [#ruby]
brandon has joined #ruby
sayan has joined #ruby
brandon has quit [Client Quit]
brandon has joined #ruby
Faris has quit [Ping timeout: 240 seconds]
Faris has joined #ruby
julweber has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby
adkron has quit [Ping timeout: 248 seconds]
mm__ has quit [Read error: Connection reset by peer]
quoin has quit [Remote host closed the connection]
quoin has joined #ruby
mm__ has joined #ruby
ewnd9 has quit [Ping timeout: 245 seconds]
quoin has quit [Ping timeout: 245 seconds]
eliasp has quit [Read error: No route to host]
rippa has joined #ruby
Emmanuel_Chanel has joined #ruby
eliasp has joined #ruby
adeponte has joined #ruby
ckrailo has joined #ruby
karnowski has joined #ruby
brupeb_ has quit [Remote host closed the connection]
elepfontius has quit [Remote host closed the connection]
adeponte has quit [Ping timeout: 260 seconds]
quoin has joined #ruby
vlad_starkov has joined #ruby
Ox6abe_ has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 256 seconds]
Tearan has quit [Quit: Sleepy Badger....]
io_syl_ has quit []
araujo has quit [Ping timeout: 264 seconds]
<davidcelis>
bnagy: ? it's interpreted
kil0byte has joined #ruby
io_syl has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aryasam has joined #ruby
keen_ has quit [Ping timeout: 260 seconds]
marsLantern has quit [Quit: marsLantern]
Monie has joined #ruby
ryanuber has joined #ruby
helloworld has joined #ruby
araujo has joined #ruby
vpretzel has quit [Quit: vpretzel]
Aryasam_ has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
jamesaanderson has joined #ruby
butblack has joined #ruby
wallerdev has quit [Quit: wallerdev]
kiri has quit [Read error: Operation timed out]
aryaching has joined #ruby
Aryasam_ has quit [Client Quit]
<Mon_Ouie>
davidcelis: interpreted/compiled are properties of an implementation, not of the language itself
<davidcelis>
ah
<davidcelis>
i just assume people mean MRI by default
<Mon_Ouie>
And take an implementation like Rubinius, which generates byte code, runs it, and eventually uses a JIT to generate native code. It's hard to call that "interpreting".
jamesaanderson has quit [Client Quit]
hanmac1 has joined #ruby
pairup has quit [Quit: I'm asleep.]
senayar has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
hanmac1 has quit [Ping timeout: 240 seconds]
rippa has quit [Read error: Connection reset by peer]
pairup has joined #ruby
tchebb has quit [Ping timeout: 256 seconds]
bg__ has joined #ruby
lukec has quit [Quit: lukec]
freerobby1 has quit [Quit: Leaving.]
quazimodo has quit [Ping timeout: 260 seconds]
tchebb has joined #ruby
rippa has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
browndawg has joined #ruby
dcunit3d has joined #ruby
ananthakumaran has joined #ruby
kiri has joined #ruby
pairup has quit [Quit: I'm asleep.]
cj3kim_ has quit [Remote host closed the connection]
<IcyDragon>
gn
<bnagy>
not even MRI is really just an interpreter any more
IcyDragon has quit [Quit: Space~~~]
<coderhs>
bnagy: what do you mean?
<bnagy>
mainly though I just feel like people asking that question aren't really asking the question they want to ask
<bnagy>
well MRI runs bytecode now
<bnagy>
not to mention that all of core is C these days
<coderhs>
bnagy: ya true, after MRI + rubinous was merged in 1.9
<bnagy>
probably the most that can reliably be said is that 'ruby requires a runtime'
dhruvasagar has quit [Ping timeout: 264 seconds]
<coderhs>
i believe even python is like that, compiled to bye code
quazimodo has joined #ruby
<bnagy>
it definitely is
cj3kim_ has quit [Remote host closed the connection]
_adeponte has joined #ruby
<coderhs>
bnagy: thats a good thing right? though we can't say ruby is purely interpreter style language.
<coderhs>
a lot of such languages follows this format python, lisp, etc
<bnagy>
well what Mon_Ouie said is important. The language doesn't mandate how it is run.
fgo has joined #ruby
butblack has quit [Quit: butblack]
<bnagy>
just like you can have multiple C compilers that all output different machine code
<coderhs>
bnagy: +1 for that.
<coderhs>
language should be like a standard. so people will know what to expect from using it by default.
<coderhs>
one can implement them in anyway, one finds fit.
<jrobeson>
i think what they really want to know.. is do you have to manually compile it or not.?
<bnagy>
who can say?
<bnagy>
that's one possible 'real question'
<jrobeson>
depends on how much effort it is to find out
<jrobeson>
err how much is worth the effort to find out..
<bnagy>
another might be 'is it fast?'
<jrobeson>
if it's worth a lot.. i'm sure a reasonable survey could be done :)
nari has joined #ruby
ryanuber has quit [Quit: leaving]
<coderhs>
jrobeson: +1
<coderhs>
or one could point to options, to compile ur code use this
browndawg has quit [Quit: Leaving.]
<coderhs>
to just interpret use this
<jrobeson>
for ruby?
<coderhs>
and for a system like byecode compile followed by interpreter using that
freerobby has joined #ruby
<coderhs>
no in general
<jrobeson>
i'm just talking about figuring out what people mean
<jrobeson>
i think bnagy is right.. people just care that it's fast, or flexible , or has a repl
<jrobeson>
those kinda things
<coderhs>
true.
<jrobeson>
nobody wants to compile.. they just do it because that's how it works.. computesr are too slow to just sit there and compile a c program over and over again for any codebase of a significant size
<jrobeson>
so it is manually triggered
<jrobeson>
otherwise.. C would give you the behaviour people except out of interpreted language via some inotify magic (minus the repl)
<jrobeson>
expect*
kreeves has quit [Ping timeout: 240 seconds]
<jrobeson>
although i have heard of C based interpreted languages.
ner0x has quit [Quit: Leaving]
freerobby has quit [Ping timeout: 245 seconds]
zipace has joined #ruby
Kneferilis has quit [Ping timeout: 260 seconds]
zets2 has joined #ruby
kiri has quit [Ping timeout: 248 seconds]
zets has quit [Ping timeout: 260 seconds]
aryaching_ has joined #ruby
dzhulk has joined #ruby
cj3kim_ has joined #ruby
lkba has joined #ruby
Dwarf has quit [Ping timeout: 245 seconds]
sophomorical has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
sophomorical has joined #ruby
kiri has joined #ruby
erichmenge has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 248 seconds]
m00nlight has quit [Remote host closed the connection]
Dwarf has joined #ruby
erichmenge has joined #ruby
hanmac1 has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
cj3kim_ has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
cj3kim_ has quit [Remote host closed the connection]
hanmac1 has quit [Ping timeout: 260 seconds]
maZtah has joined #ruby
cj3kim_ has joined #ruby
maZtah has quit [Changing host]
maZtah has joined #ruby
dhruvasagar has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
senayar has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ehaliewicz has quit [Ping timeout: 264 seconds]
kx has quit [Read error: Connection reset by peer]
senayar has quit [Ping timeout: 245 seconds]
decoponio has joined #ruby
interlude has joined #ruby
mrsolo_ has quit [Quit: Leaving]
<interlude>
Hi, could someone explain what the $? variable does? Thx
quazimodo has quit [Remote host closed the connection]
conner has joined #ruby
r0bgl33s0n has quit [Ping timeout: 240 seconds]
T_T has joined #ruby
interlude has quit [Remote host closed the connection]
quoin has quit [Remote host closed the connection]
tvw has quit []
helloworld has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
Jetchisel has joined #ruby
pyrac has quit [Quit: pyrac]
|jemc| has quit [Quit: WeeChat 0.4.1]
k610 has quit [Read error: Connection timed out]
Elhu has joined #ruby
pyrac has joined #ruby
schaerli has quit [Remote host closed the connection]
quoin has joined #ruby
Notte has joined #ruby
siwica has quit [Quit: siwica]
gf3 is now known as ghetto-princess-
ghetto-princess- is now known as sukyodick4dolla
sukyodick4dolla is now known as gf3
josiah14 has quit [Ping timeout: 250 seconds]
Matriks has joined #ruby
mmozuras has joined #ruby
mmozuras has quit [Ping timeout: 240 seconds]
r0bgl33s0n has joined #ruby
freerobby has joined #ruby
lkba has quit [Ping timeout: 248 seconds]
Heero has quit [Ping timeout: 252 seconds]
freerobby has quit [Ping timeout: 240 seconds]
vim_shim has quit [Ping timeout: 245 seconds]
pyrac has quit [Quit: pyrac]
MrZYX|off is now known as MrZYX
noop has joined #ruby
chairabanta has joined #ruby
eldariof has joined #ruby
leonidlm has quit [Read error: Operation timed out]
skaflem has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
julweber has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
arietis has joined #ruby
adambeynon has joined #ruby
adeponte has joined #ruby
zz_scottstamp is now known as scottstamp
pyrac has joined #ruby
zarubin has joined #ruby
nfk has joined #ruby
emergion has joined #ruby
ghr has joined #ruby
emergion has quit [Client Quit]
martin_work has joined #ruby
dodosan has quit [Read error: Connection reset by peer]
dodosan_ has joined #ruby
adeponte has quit [Ping timeout: 256 seconds]
leonidlm has joined #ruby
scottstamp is now known as zz_scottstamp
dodosan_ has quit [Remote host closed the connection]
jbpros has joined #ruby
dzhulk1 has joined #ruby
dzhulk has quit [Ping timeout: 248 seconds]
leonidlm has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
jbpros has quit [Quit: jbpros]
dsferreira has joined #ruby
martin_work has quit [Quit: martin_work]
martin_work has joined #ruby
martin_work has quit [Client Quit]
sevenseacat has quit [Quit: Leaving.]
Jetchisel has quit [Ping timeout: 260 seconds]
JumpMast3r has quit [Ping timeout: 268 seconds]
chairabanta has quit [Quit: Leaving...]
Xtek has joined #ruby
Xtek has quit [Client Quit]
mercwithamouth has joined #ruby
hanmac1 has joined #ruby
mengu has joined #ruby
hanmac1 has quit [Ping timeout: 240 seconds]
Elinos has joined #ruby
<shevy>
wow
<shevy>
am I the only one to find .erb files ugly?
<popl>
shevy: shh, we're idling.
<jrobeson>
unlikely. since lots of people use haml or slim
<popl>
:)
<jrobeson>
honestly i'm in the camp of whichever one is sandboxed
<jrobeson>
and i haven't seen ones that both have logic and are sandboxed in ruby
<shevy>
I am working through a rails tutorial, but that syntax used in erb is totally killing ruby's beauty
<jrobeson>
i like twig a lot
<jrobeson>
it's basically jinja from django but better
<jrobeson>
atm i'm using haml
<apeiros>
I find .erb quite ok. but for dense things like html, I indeed prefer haml
<shevy>
ninja?
Advocation has quit [Quit: Advocation]
<jrobeson>
jinja..
<jrobeson>
i said what i meant :)
Jdubs has joined #ruby
<shevy>
the ninja in jinja has some ganja
<jrobeson>
it'd be so easy to do twig in ruby compared to php
Elinos has quit [Client Quit]
<jrobeson>
it's got the same {{}} as mustache
<jrobeson>
{{ "something" }} or {{ "something"|somefilter|andoranotherone }}
freerobby has joined #ruby
mengu has quit [Ping timeout: 240 seconds]
<jrobeson>
it works pretty well the same as how rails (and others do ) with the yield for the innner template and then content_tag and such for blocks
<apeiros>
jrobeson: why |
<jrobeson>
because it works just like a pipe
<apeiros>
jrobeson: why not .
<jrobeson>
because it's not a method it's a standalone filter
<apeiros>
I didn't get that back in php with smarty templates…
<jrobeson>
you can use it everywhere
<apeiros>
it works the same as a method as far as I can see
<jrobeson>
except you don't have to add it to every single object
<apeiros>
so?
<apeiros>
invent a new less powerful syntax for what reason?
helloworld has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
<jrobeson>
it's sandboxed
<apeiros>
still not a good reason for inventing a new syntax
<jrobeson>
it's a feature imo.. that people can't write actual ruby code
<apeiros>
I didn't say they should allow ruby code in there
<jrobeson>
or python .. as it is with jinja
<apeiros>
I said it's stupid to invent a new syntax
<jrobeson>
how would you handle this thiing
<jrobeson>
then*
<apeiros>
use . instead of |
<jrobeson>
object.method.another.method.filter.filter .. in a less ugly way?
<jrobeson>
code wise
<apeiros>
no, just "something".somefilter.anotherone
<jrobeson>
or object.method.filter.object.method
<jrobeson>
becuse it's not always a string, it's usualy a variable
<jrobeson>
or an object
<jrobeson>
object.method is standard there
<apeiros>
jrobeson: so you're saying they let you write ruby code in there now?
<jrobeson>
you can reference ruby code.. obviously you need to pass variables to your template
<jrobeson>
the templates get filled by controllres or whatnot
<apeiros>
jrobeson: I don't get how you come from "use . instead of |" + {{ "something"|somefilter|andoranotherone }} to "object.method.filter.object.method"
<apeiros>
are you purposely misinterpreting what I say?
<jrobeson>
no.. i think you're not understanding what i'm saying :)
<apeiros>
jrobeson: a) I doubt that more than say 3% of all those template writers ever worked with pipes in a shell b) it has as much in common with actual pipes as methods have in common with actual pipes, I find that argument moot.
<jrobeson>
i've done just that thing with a sed pipe before..
<jrobeson>
so that's ridiculous
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<jrobeson>
or awk for that matter
<jrobeson>
it is truly funkified banisterfiend :)
xerxas has quit [Ping timeout: 260 seconds]
aetaric has quit [Ping timeout: 260 seconds]
blo has quit [Ping timeout: 260 seconds]
<apeiros>
jrobeson: sed/awk is a reply to my "3% of template writers"?
<jrobeson>
showterm.io.. that's super cool
<jrobeson>
they don't know the difference, it doesn't matter to them.. the . would be just the same difficulty
<jrobeson>
or non difficulyt
<apeiros>
showterm.io is indeed very nice
<jrobeson>
i'm the one who always writes the templates first
<jrobeson>
and you still don't solve the disambiguation problem without some sort of meta programming
<apeiros>
so the "well known concept" is indeed moot. thanks.
tris has quit [Excess Flood]
<jrobeson>
it's not moot to me
<jrobeson>
or other devs
chuk_ has quit [Ping timeout: 260 seconds]
dnyy has quit [Ping timeout: 260 seconds]
davidboy has quit [Ping timeout: 260 seconds]
mattyohe has quit [Ping timeout: 260 seconds]
<jrobeson>
like all the people who use django
<jrobeson>
or twig itself
lkba has joined #ruby
emergion has joined #ruby
<apeiros>
the former I don't doubt and didn't before either if you actually read what I wrote.
<apeiros>
the latter I do doubt.
lkba has quit [Client Quit]
lkba has joined #ruby
<jrobeson>
if you say so
aetaric has joined #ruby
<jrobeson>
if you come across liek that.. it's understandable
<apeiros>
I don't think that "all the people who use django" is equivalent to "all the people who know what a pipe is", by far not.
kapowaz has quit [Ping timeout: 260 seconds]
<jrobeson>
i wasn't attempting to make a concrete logical statement for yo uto tear apart
blo has joined #ruby
schaerli has joined #ruby
<r0bgl33s0n>
yeah I think ERB is fine.
emergion has quit [Read error: Connection reset by peer]
<jrobeson>
you personally don't like it.. that's fine..
<apeiros>
you say "pipes are a well known concept", I say: "yes, they are, but majority of *template users/writers* are NOT the audience to whom that concept is well known - therefore that point is moot"
vlad_starkov has quit [Read error: Connection reset by peer]
<jrobeson>
obviously we have different defintions of who these template writers are
<jrobeson>
in my world.. the devs always write the templates first
<jrobeson>
i don't work at some big company
<apeiros>
yeah, maybe python devs are different
vlad_starkov has joined #ruby
<jrobeson>
i'm not a django dev either..
tris has joined #ruby
chairabanta has quit [Ping timeout: 260 seconds]
<jrobeson>
freelancers don't generally have front end devs to rely on
<jrobeson>
and there are a ton of those
julweber has joined #ruby
<apeiros>
IMO you say "I'm a dev, I know pipes, therefore every dev knows pipes". I think that's a fallacy. IME, far too many devs have no clue about how to use a shell, much less pipes in a shell.
Notte has quit [Remote host closed the connection]
<jrobeson>
that does'nt make it not ell known
<jrobeson>
just because there are bunch who don't
<jrobeson>
that is the fallacy
<jrobeson>
i didn't attach any % of devs
<apeiros>
"well known" alone is not the point
<apeiros>
the point is whether the intersection of "pipe is well known" and "use that template language" is large or not.
vlad_starkov has quit [Remote host closed the connection]
<jrobeson>
well i guess yo ucan poll django devs if you really wanna know
<jrobeson>
they came up with it afterall
emergion has joined #ruby
<apeiros>
eh, you're mistaken. they didn't. smarty is a tad older than django.
<jrobeson>
from casual observation django devs tend to have a higher level of knowledge of such things compare to folks who got into rails for example
<jrobeson>
i'm not sure that the intersection of django devs and smart users is that high either
pyrac has quit [Quit: pyrac]
<apeiros>
and smarty being php, I'd say the guys using that know even less than people getting into rails.
senayar has joined #ruby
<jrobeson>
to know if that is where the idea came from
<jrobeson>
or if the yjust choose it because it makes sense for filters..
<jrobeson>
this one is more readable tho pass(3) >= mult(5) | add(1) | negate #=> -16
<jrobeson>
banisterfiend, what's your opinion on elixir then?
mklappstuhl has joined #ruby
platzhirsch has joined #ruby
<jrobeson>
autocurry magic..
<banisterfiend>
jrobeson nothing other than someone told me elixir has something similar :)
<platzhirsch>
Any idea how to delete certain characters from a string only from the left and right side? like .lstrip and .rstrip? For instance: "(mushr.ooms.)".magic(".)(;,') => "mushrooms
<apeiros>
>> 13:09 jrobeson: i'm not sure that the intersection of django devs and smart users is that high either
<banisterfiend>
jrobeson i got the idea from haskell
<jrobeson>
banisterfiend, well i'm sure haskell was some sort of inspiration as well
<apeiros>
doesn't need to be large. unless you imply that it needed lots of django devs to come up with that template language
<jrobeson>
you must be great fun at parties
dzhulk1 has quit [Quit: Leaving.]
<apeiros>
jrobeson: sure. at parties people don't try to apply utterly broken logic, so I can be fun :-p
<platzhirsch>
Either I write a state machine or just throw a regular expression at it
narcan has joined #ruby
<bnagy>
platzhirsch: I don't really understand your example
<jrobeson>
i wasn't trying to do a formal logical debate at 6am.. on no sleep
<jrobeson>
so we learned somethign today
xk_id has joined #ruby
<popl>
apeiros: what sort of parties have you been going to? ;P
<jrobeson>
you think i' mi an idiot and i think you're an asshole. what a great day
jibi has quit [Ping timeout: 245 seconds]
<popl>
wow
<popl>
dude, take a nap
<apeiros>
that escalated quickly
<popl>
have a snickers
<apeiros>
and yeah, what pop said
<platzhirsch>
bnagy: There are characters like brackets, dots. etc. Which I only want to remove if they are on the right oder left side of a string. So if in the middle there are letters or numbers with a dot, that should stay
<apeiros>
*popl
<bnagy>
platzhirsch: what defines the 'sides'?
intuxicated has joined #ruby
<bnagy>
maybe just split on that, process, rejoin
<platzhirsch>
bnagy: The sides? It's just left and right. Strip away all the messy characters until you meet a letter of digit on the left and right side if not, well guess we have an empty string
aryaching_ has quit []
<platzhirsch>
bnagy: but that would lead to a chain of many split method calls for all the different characters, wouldn't it?
<bnagy>
this looks like it's going to be a regexp :/
<bnagy>
on the plus side, probably a trivial one
<apeiros>
jrobeson: I don't think you're an idiot. But I do think that your arguments didn't make a lot of sense and/or where self-contradicting. sad that you think I'm an asshole for pointing it out. but that's your business.
arietis has quit [Quit: Computer has gone to sleep.]
<jrobeson>
i wasn't trying to have a formal argument with bullet proof points. i didn't make any specific citations about anything..
<bnagy>
platzhirsch: can you come up with an example dirty string and its clean equivalent?
<platzhirsch>
bnagy: I was starting with something like this here [^.|,|;]\w[^.|,|;]
<platzhirsch>
yes, let's see
<apeiros>
jrobeson: why are you then so pissed if I point out that your non-formal arguments don't hold water?
<apeiros>
anyway, I think it's better we stop that. get some sleep :-)
<platzhirsch>
bnagy: ";(Cow)-5.6.,)(" should become Cow)-5.6
k610 has joined #ruby
dodosan has joined #ruby
<apeiros>
platzhirsch: if I understand you correctly, I'd indeed use a regex with either 2 subs or 1 gsub
<bnagy>
wait I'm pretty tired, but don't you need to group for the subs?
<shevy>
you try to expand the poor cow :(
<apeiros>
bnagy: group?
<apeiros>
in the gsub?
<jrobeson>
nostly because you had 0 proof on your side either.. you made your own assumptions about it (except aobut the smarty bit, i know nothing about that)
fourq__ has quit [Read error: Operation timed out]
rndstr has quit [Ping timeout: 240 seconds]
<jrobeson>
so i can only assume that you're right about that.. it's not really worth looking up.. i don't see why i shouldn't take it at face value
<apeiros>
jrobeson: I didn't claim to have proof. yes, I made assumptions and worked from that. but you didn't attack my assumptions.
<bnagy>
how about a variation of that? use the power of greedy
karlfreeman has quit [Ping timeout: 260 seconds]
Guest85414__ has quit [Read error: Operation timed out]
ziyadb has quit [Ping timeout: 248 seconds]
<jrobeson>
apeiros, because i'm not that kinda person
<apeiros>
huh?
lectrick has quit [Ping timeout: 240 seconds]
Scorchin has quit [Ping timeout: 248 seconds]
<jrobeson>
i assume you're a smart guy who might know what they are talking about ..
<jrobeson>
s/guy/person/
dodosan has quit [Ping timeout: 264 seconds]
<platzhirsch>
bnagy: very nice
<apeiros>
jrobeson: also I clearly declared my assumptions. see scrollback: "I think XXX"
<apeiros>
clearly labels assumptions.
hanmac1 has joined #ruby
<bnagy>
platzhirsch: you might need to tweak those fenceposts around the .* depending, but you get the idea I guess
xcv has quit [Remote host closed the connection]
sayan has quit [Read error: Connection reset by peer]
sayan has joined #ruby
<platzhirsch>
bnagy: it's actually an extension to my first regular expression. I need to tokenize a sentence into words. Apparently, there are no word tokenizer, since everyone seemed fine with /\w+/. The problem with w+ is it splits umlauts ä ö ü and numbers 7.4 into 7 and 4. So I use S+. Which is feasible if you just want to count the words, but for comparison you need to strip off special characters which are still attached to some words
hanmac1 has quit [Read error: Operation timed out]
Advocation has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
<apeiros>
platzhirsch: \p{Letter}
<apeiros>
instead of \w
<bnagy>
man I must be asleep, I don't know how I misead apeiros sub approach, that's fine as well
<apeiros>
\w worked in 1.8 with //u
<bnagy>
ok I need to sleep :)
<jrobeson>
apeiros, i never think about "think" that way ..
<apeiros>
>> "Hägar störte sich sehr am Benehmen des Lokomotivführers".scan(/\p{Letter}{2,}/)
<jrobeson>
i "think" that's usually just people being polite
<bnagy>
don't tokenise utf8 'words' with regex is my advice :<
<jrobeson>
or attempting to be..
<platzhirsch>
apeiros: nice
<platzhirsch>
it removes numbers though, mh
<apeiros>
might want to throw in word-connectors too.
<apeiros>
platzhirsch: ah, ok. well, adapt it then to your specific needs :)
<bnagy>
isn't there a string scanner, or is it bad?
<apeiros>
jrobeson: ok
<apeiros>
jrobeson: lets call it a misunderstanding then
Faris1 has quit [Ping timeout: 264 seconds]
<platzhirsch>
well, I am actually not sure if I want to keep the numbers, count them, etc.. Thanks in any way, that's really helpful
<apeiros>
jrobeson: and us having different opinions on how good a choice | is for filters
Aryasam has quit [Ping timeout: 240 seconds]
<bnagy>
bed. srsly. Night ruby.
<apeiros>
n8 bnagy
<platzhirsch>
gn8
coderhs has quit [Ping timeout: 240 seconds]
<popl>
goodnate?
<jrobeson>
apeiros, it is likely that i live in far more passive-aggressive world than you do
<popl>
:)
<apeiros>
jrobeson: heh, so misunderstanding + cultural differences? :)
Faris has joined #ruby
<apeiros>
jrobeson: look, I don't hold any grudge against you, neither do I think that you having a different opinion on something makes you stupid or something
noname001 has quit [Ping timeout: 252 seconds]
<jrobeson>
"I think" is usually code for "i know , but i'm too modest to say so"
<apeiros>
I might also be too naive to notice passive-aggressive behaviors ;-)
Elinos has joined #ruby
evelyette_ has quit [Remote host closed the connection]
zz_scottstamp is now known as scottstamp
<popl>
I think that depends on the circumstances. :P
vipjun has joined #ruby
Aryasam has joined #ruby
<jrobeson>
popl, among friends is certainly different
<jrobeson>
at work tho..
<apeiros>
hm
<platzhirsch>
jrobeson: Where are you from if I may ask
<popl>
I am not sure that's the right delineation. Some people are honest and straightforward while others try to be tactful (which may be considered deceitful).
<jrobeson>
from.. mostly a resort town in virginia
<apeiros>
yeah, it's sometimes difficult to distinguish
<jrobeson>
and this is work to me mostly..
noname001 has joined #ruby
Chuffy is now known as g0th
<jrobeson>
a part of it
<apeiros>
when tact becomes dishonest. and when honesty becomes rude.
<popl>
My work will be unloading trucks at Wal-Mart soon. \o/
<jrobeson>
that is it it right there..
freerobby has joined #ruby
aknagi has joined #ruby
<popl>
apeiros: who knows?
<jrobeson>
it wasn't a question it wa a statement
lessless has left #ruby ["system needs to be rebooted"]
<popl>
hey, updatedb is running. am I really up that late? :P
<apeiros>
lol
<jrobeson>
my updatedb runs at 4am.. and i was for sure there..
<jrobeson>
and prelink..
<apeiros>
13:40 here, I'm definitively not up late :o)
<popl>
04:41
<popl>
you're a minute off apeiros
<apeiros>
why are you still up? o0
<jrobeson>
7:401
<jrobeson>
err 7:41
<MrZYX>
popl: I think you're off by > 30 secs
<apeiros>
sure? this laptop should synchronize with an atomic clock somewhere…
<platzhirsch>
13.40 but was up till 6am, refactoring frenzy \o/
<platzhirsch>
apeiros: you are off the grid
<popl>
MrZYX: maybe
* popl
checks his ntp daemon
<apeiros>
maybe I'm just moving too close to light speed…
<gcds_>
Hey guys how to debug why the functions get stack level too deep? like to get who calls it is possible?
<jrobeson>
the funny part of banisterfiend's auto currying.. is that it ends up feeling the same as any other OO stuff except the Proc
<popl>
MrZYX: what time do you have?
<MrZYX>
(13:42:27) popl: MrZYX: what time do you have?
<banisterfiend>
jrobeson ? :)
<apeiros>
gcds_: usually you should get it by inspecting the backtrace of the exception
<gcds_>
it doesnt throw
<gcds_>
just stack level to deep
<apeiros>
how do you know it's "stack level too deep" then? o0
<gcds_>
and function which gets to deep
<apeiros>
are you in pry?
<popl>
MrZYX: 29 Sep 04:43:16 ntpdate[12077]: step time server 128.10.19.24 offset -63.627523 sec # a few seconds ago
<popl>
MrZYX: are you sure it's not you? :)
freerobby has quit [Ping timeout: 260 seconds]
<popl>
oh wait
<platzhirsch>
dudumm
<gcds_>
ah shit..... :DDDDDD
<gcds_>
How dump I am
<gcds_>
I called a class Redis and calling redis inside that class
<gcds_>
**** two days trying to find wtf happens...
<jrobeson>
banisterfiend, perhaps you might be the guy who makes everybody grok functional programming.. but i was quite suprised you ahdn't looked into elixir yet.. i did .. but i idn't understand as much as you would
Elhu has joined #ruby
<jrobeson>
the article i read spend a lot of time talking about how it was in relatino to erlang
<jrobeson>
and my erlang skills are .. poor to the say the least
<banisterfiend>
jrobeson just that if i want to learn functional programming i'd rather learn it via a pure language like haskell :) i'm by no means an expert at haskell, but i really like the ideas there
<jrobeson>
i wrote a patch to ejabberd once.. that's about it..
<popl>
bah, now it's ok
<gcds_>
RubyMine should something like checking if created class exists...
<jrobeson>
banisterfiend, but.. last time i looked .. haskell's standard library was quite limited t compared to ruby.. ecosystem generally as well
xk_id has quit [Quit:
<jrobeson>
so, i think more introductions to techniques would serve people well to want to go out and make stuff
<jrobeson>
training wheels basically..
Elhu has quit [Client Quit]
<banisterfiend>
jrobeson not anymore i think, haskell is doing really well atm, their irc channel is a lot larger than #ruby :)
banisterfiend is now known as ban
<jrobeson>
hmm? i guess that's changed really quickly then
ban is now known as banisterfiend
<banisterfiend>
jrobeson yeah, they even have some pretty nice 2D game programming libs
Notte has joined #ruby
<jrobeson>
banisterfiend, can one write any program that one could write in ruby in haskell now? (library wise)
Liothen has quit [Quit: System of a down……]
<jrobeson>
even node.. which is seemingly more popular than haskell still can't say that yet
<banisterfiend>
jrobeson i'd say so. Clearly the web frameworks aren't as well developed yet though
vlad_starkov has joined #ruby
<spider-mario>
Yesod
AndChat| has joined #ruby
<jrobeson>
i remember db stuff still being quote poor in node relatively
<jrobeson>
banisterfiend, that's interesting to hear ..
lkba has quit [Ping timeout: 245 seconds]
<banisterfiend>
jrobeson i'd like to use haskell in a situation where other people use Go, and see which one performs better
<jrobeson>
about the same topic.. that's why i bring it up.
<jrobeson>
banisterfiend, hmm.. Go vs haskell vs rust then..
<jrobeson>
i wonder who would win
vlad_sta_ has joined #ruby
toah has quit [Ping timeout: 264 seconds]
<spider-mario>
I wouldn’t bet on Go
<jrobeson>
i wonder if somebody could implement something like the beam vm for haskell..
<jrobeson>
spider-mario, performance wise? or generally?
<spider-mario>
mainly performance-wise
<spider-mario>
but I don’t think it’s a good language either
AndChat| has quit [Ping timeout: 256 seconds]
<jrobeson>
well performance is certainly not the only metric.. otherwise nobody would code ruby
<spider-mario>
(I think I’d even go as far as calling it a terrible language)
<jrobeson>
spider-mario, well i haven't seen a good language ever tho.. soo..
<jrobeson>
only less bad ones..
<spider-mario>
there are many better languages, at least
<jrobeson>
spider-mario, like?
<jrobeson>
in your opinion only obviously..
<spider-mario>
ruby, rust, python, haskell, perl
<spider-mario>
maybe even C++
<jrobeson>
ah.. so rust and ruby over Go got it
<jrobeson>
hmm.. i looked at go.. and it looked like a better C
<spider-mario>
Nimrod looks interesting, too
<jrobeson>
and that's ok ..
Faris has quit [Ping timeout: 240 seconds]
<spider-mario>
too bad it doesn’t want tabs in source code :(
<spider-mario>
I like tabs
<jrobeson>
ah i hate tabs
fgo has joined #ruby
<spider-mario>
they’re semantically superior
<jrobeson>
that's not weighing heavily in your decision is it?
vlad_starkov has quit [Ping timeout: 245 seconds]
<spider-mario>
I wish it weren’t
dzhulk has joined #ruby
<jrobeson>
lots of things are semantically superior.. :)
<jrobeson>
i still have to markup my html with crapola because flexbox barely exists ;(
<spider-mario>
oh, how could I forget Scala.
<spider-mario>
Scala’s nice, too
<jrobeson>
ok.. so how about lispy stuff?
<spider-mario>
I miss syntax
<spider-mario>
I like syntax, I want some
<jrobeson>
i never actually coded in smalltalk myself, but that was the 2nd/3rd thing i read about OO stuffs.. after C++/java
arietis has joined #ruby
<jrobeson>
and that is when i really thought.. ah this makes sense
<jrobeson>
when iwas really n00b
Faris has joined #ruby
<jrobeson>
spider-mario, () are enough for everyone!
crazymykl has quit [Remote host closed the connection]
<jrobeson>
that' all you need
<jrobeson>
everybody get some..
crazymykl has joined #ruby
<spider-mario>
it makes structure less obvious
<gcds_>
could someone help me how to do such thing... I have gem named beefeater-redis which has module redis.rb and I am using gem Redis somehow Redis module name and Redis class name intercepts and used only module not redis :(
tatsuya_o has joined #ruby
carraroj has joined #ruby
julweber has quit [Remote host closed the connection]
pyrac has quit [Quit: pyrac]
Xeago has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
<gcds_>
Yes :: before redis worked out :)
Jdubs has quit [Remote host closed the connection]
<Mon_Ouie>
The initial value of memo is an empty string "", and you never modify it
roflmaus has joined #ruby
Advocation has quit [Quit: Advocation]
Aryasam has quit [Read error: Connection reset by peer]
Aryasam has joined #ruby
freerobby has joined #ruby
cj3kim has joined #ruby
Lewix has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
tgraham is now known as tgraham|away
ciziar has joined #ruby
fixl has quit [Remote host closed the connection]
xcv has joined #ruby
forced_request has joined #ruby
freerobby has quit [Ping timeout: 256 seconds]
<banisterfiend>
Mon_Ouie s'lut
<Mon_Ouie>
'alut
<Mon_Ouie>
lessless: Oh and now that I understand your first question (I think, I believe you're talking about argument order), yes, it's normal. inject/reduce always behave like that.
carraroj has joined #ruby
leonidlm has quit [Read error: Connection reset by peer]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
dhruvasagar has quit [Ping timeout: 256 seconds]
<Mon_Ouie>
(with arguments in reverse order compared to each_with_object if you will, keeping in mind that the two methods do very different things)
Monie has joined #ruby
<apeiros>
but they both iterate over stuff!
* apeiros
hides
AlSquire has joined #ruby
browndawg has joined #ruby
julweber has quit [Remote host closed the connection]
Jetchisel has joined #ruby
adkron has joined #ruby
Aryasam has quit [Ping timeout: 260 seconds]
quoin has quit [Remote host closed the connection]
boxmein has joined #ruby
joast has joined #ruby
quoin has joined #ruby
volty has joined #ruby
sectionme has joined #ruby
tgraham|away is now known as tgraham
KobraKao has quit [Ping timeout: 240 seconds]
quoin has quit [Ping timeout: 240 seconds]
DrCode has quit [Ping timeout: 240 seconds]
ciziar has quit [Quit: Computer has gone to sleep.]
Elinos has quit [Quit: Leaving]
sectionme has quit [Ping timeout: 264 seconds]
Elinos has joined #ruby
leonidlm has joined #ruby
browndawg has quit [Ping timeout: 256 seconds]
jbw has joined #ruby
dzhulk has quit [Quit: Leaving.]
DrCode has joined #ruby
leonidlm has quit [Read error: Operation timed out]
gcds_ has quit [Ping timeout: 252 seconds]
gcds__ has joined #ruby
lfox has quit [Quit: ZZZzzz…]
pellenation has joined #ruby
browndawg has joined #ruby
intuxicated has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
osvico has joined #ruby
threesome has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
Aryasam has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
TheRealPygo is now known as pygospa
io_syl has joined #ruby
bluOxigen has joined #ruby
Vivekananda has joined #ruby
gcds__ has quit [Ping timeout: 245 seconds]
gcds_ has joined #ruby
boxmein has quit [Ping timeout: 245 seconds]
leonidlm has joined #ruby
Bry8Star{T2 has quit [Remote host closed the connection]
noop has quit [Ping timeout: 256 seconds]
jamesaanderson has joined #ruby
noop has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
xk_id has quit [Quit:
intuxicated has joined #ruby
joast has quit [Quit: Leaving.]
fgo has quit [Remote host closed the connection]
Hanmac has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bry8Star{T2 has joined #ruby
agjacome has joined #ruby
julweber has joined #ruby
relix has joined #ruby
dhruvasagar has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
Davey has quit [Quit: Computer has gone to sleep.]
nari has quit [Ping timeout: 252 seconds]
tewmten has quit [Ping timeout: 240 seconds]
leonidlm has quit [Ping timeout: 240 seconds]
tewmten has joined #ruby
freerobby has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
svector has joined #ruby
svector has quit [Max SendQ exceeded]
svector has joined #ruby
io_syl has quit []
leehambley has quit [Ping timeout: 245 seconds]
svector has quit [Max SendQ exceeded]
freerobby has quit [Ping timeout: 248 seconds]
jamesaanderson has joined #ruby
Davey has joined #ruby
svector has joined #ruby
svector has quit [Max SendQ exceeded]
svector has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
spider-mario has quit [Remote host closed the connection]
svector has quit [Max SendQ exceeded]
mneorr_ has quit [Remote host closed the connection]
svector has joined #ruby
svector has quit [Max SendQ exceeded]
Cheos has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
johnkary has joined #ruby
svector has joined #ruby
svector has quit [Max SendQ exceeded]
blackmesa has joined #ruby
carraroj has quit [Remote host closed the connection]
svector has joined #ruby
svector has quit [Max SendQ exceeded]
leehambley has joined #ruby
Faris has joined #ruby
svector has joined #ruby
freerobby has joined #ruby
johnkary has quit [Client Quit]
svector has quit [Max SendQ exceeded]
otherj has joined #ruby
otherj has quit [Max SendQ exceeded]
svector has joined #ruby
otherj has joined #ruby
svector has quit [Max SendQ exceeded]
lfox has joined #ruby
mneorr has quit [Ping timeout: 256 seconds]
carraroj has joined #ruby
fgo has joined #ruby
svector has joined #ruby
svector has quit [Max SendQ exceeded]
maletor has joined #ruby
svector has joined #ruby
svector has quit [Max SendQ exceeded]
leonidlm has joined #ruby
svector has joined #ruby
svector has quit [Max SendQ exceeded]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
svector has joined #ruby
svector has quit [Max SendQ exceeded]
lkba has joined #ruby
svector has joined #ruby
boxmein_ has joined #ruby
quoin has joined #ruby
svector has quit [Max SendQ exceeded]
boxmein_ is now known as boxmein
brupeb has joined #ruby
carraroj has quit [Ping timeout: 256 seconds]
taptapdan has joined #ruby
svector has joined #ruby
svector has quit [Max SendQ exceeded]
pellenation has quit [Quit: Leaving.]
svector has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
svector has quit [Max SendQ exceeded]
Notte has quit [Remote host closed the connection]
svector has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
T_T has joined #ruby
dzhulk has joined #ruby
ciziar has joined #ruby
aknagi has left #ruby [#ruby]
Clooth has joined #ruby
Popple has quit [Quit: Computer has gone to sleep.]
codecop has joined #ruby
svector has quit [Max SendQ exceeded]
svector has joined #ruby
GeissT has quit [Read error: Connection reset by peer]
svector has quit [Max SendQ exceeded]
wallerdev has joined #ruby
svector has joined #ruby
leonidlm has quit [Ping timeout: 248 seconds]
svector has quit [Max SendQ exceeded]
quoin has quit [Ping timeout: 264 seconds]
svector has joined #ruby
Vivekananda has quit [Remote host closed the connection]
<Muhammad_>
What does 'chomp' stands for?(I know that it removes the black line which is added by ruby but I wanna know it's driver from which vocabulary)
jwicked has joined #ruby
<Muhammad_>
*blank
<Muhammad_>
*drived
<Muhammad_>
*derived
Muhammad_ has left #ruby ["Ch0c0late"]
Advocation has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
<volty>
chomp = chew off
<volty>
cut the extreme
mtfOO has quit [Ping timeout: 256 seconds]
Popple has joined #ruby
Jdubs has joined #ruby
<Mon_Ouie>
He left though
<volty>
was not interested enough :)
<volty>
thx
julweber has quit [Remote host closed the connection]
dash_ has quit [Ping timeout: 252 seconds]
<apeiros>
I don't get such people
<apeiros>
but well, I guess there's always the possibility of technical issues
julweber has joined #ruby
<shevy>
I dont think he was using ruby
<shevy>
he is still on freenode, so he cant be a total IRC noob
<volty>
so i enabled (on hide join/leave) 'except for the nicks active within last our' - nice feature (konversation)
<shevy>
I never see any join or leave events
daidoji has quit [Ping timeout: 240 seconds]
<shevy>
and no timestamps either, IRC is one big fat perma-idling scroll here
<shevy>
but there can be only one winning, the king of the idlers!
<volty>
too many idlers
<volty>
do they count as counters ? :)
<Monie>
:o
<shevy>
yeah they all count
arietis has joined #ruby
<shevy>
811 people here. how many in % have never written anything here?
leonidlm has quit [Ping timeout: 248 seconds]
Hanmac has joined #ruby
ravster has joined #ruby
mtfOO_ has joined #ruby
pairup has joined #ruby
<Monie>
we could easily calculate that
<Monie>
using logs
boxmein has quit [Ping timeout: 248 seconds]
coderhs has quit [Ping timeout: 245 seconds]
failshell has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
ru has quit [Quit: leaving]
<Elinos>
are we all allowed to talk in here?
<Elinos>
well i guess yes ;)
julweber has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
failshell has quit [Remote host closed the connection]
Aryasam has quit [Ping timeout: 256 seconds]
tgraham|away is now known as tgraham
Macaveli has joined #ruby
xk_id has joined #ruby
Speed has joined #ruby
xcv has quit [Remote host closed the connection]
Elinos has quit [Quit: Leaving]
SkuliOskarsson has quit [Quit: SkuliOskarsson]
jwicked has quit [Ping timeout: 240 seconds]
Elinos has joined #ruby
Faris1 has joined #ruby
Faris has quit [Ping timeout: 240 seconds]
mrsolo has joined #ruby
SkuliOskarsson has joined #ruby
brupeb_ has joined #ruby
peregrine81 has joined #ruby
leonidlm has joined #ruby
KobraKao has joined #ruby
brupeb_ has quit [Remote host closed the connection]
dowlf has joined #ruby
Macaveli has quit [Remote host closed the connection]
sectionme has joined #ruby
brupeb has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby
zets2 is now known as zets
<shevy>
I estimate at max 300 people here said something the last 12 months
<heftig>
for me it's "mprotect failed" instead of an allocation error
bluOxigen has joined #ruby
<heftig>
goes up to about 20G virt and 400MB rss, then fails
platzhirsch has joined #ruby
<heftig>
MRI 2.0, that is. rubinius manages
pushpak has joined #ruby
sayan has joined #ruby
<heftig>
jruby goes OOM after eating up about 70G virt and 1G rss
<volty>
it is all the same, mprotect doesn't allow for more stack memory
pyrac has joined #ruby
chairabanta has quit [Quit: Leaving...]
<heftig>
actually, jruby fails because it creates a kernel thread for each fiber
<heftig>
so it creates 20000 threads and then fails
<heftig>
volty: nonsense; fibers create more stacks, they don't eat a single stack's memory
Ox6abe has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Tearan has joined #ruby
<volty>
heftig: i just meant that stack needs memory and the os finished feeding it with memory
hamakn has quit [Ping timeout: 260 seconds]
Rollabunna has quit [Remote host closed the connection]
<heftig>
volty: no, it didn't
butblack has joined #ruby
<heftig>
neither RSS nor VIRT was anywhere near the limits
<volty>
in response to your «for me it's "mprotect failed" instead of an allocation error» - that is a nonsense since mprotect does not allow for more allocation
pyrac has quit [Client Quit]
julweber has quit [Ping timeout: 256 seconds]
<heftig>
volty: i assume ruby has a bug, which is why the mprotect call fails
<volty>
you can change the limits but the specific error (of course after "eating" more memory) will be the same - and pertinent!
<heftig>
no no no
<heftig>
the issue is not a OOM
<r0bgl33s0n>
jruby is quite the memory muncher
Xaitec has joined #ruby
julweber has joined #ruby
adkron has joined #ruby
mercwithamouth has joined #ruby
<volty>
heftig: I agree if you are saying that the ruby interpreter should check if it can allocate that memory for its stack
<heftig>
volty: as I said it's not a OOM issue
<heftig>
something else goes wrong, and mprotect is called with bad parameters
quoin has joined #ruby
taptapdan has quit [Quit: taptapdan]
Macaveli has quit [Quit: Computer has gone to sleep.]
<volty>
mah! for me, our discussion depends too much on the exact meaning of our words
Macaveli has joined #ruby
SkuliOskarsson has quit [Quit: SkuliOskarsson]
Targen_ has joined #ruby
Targen has quit [Ping timeout: 264 seconds]
<volty>
the best way is to look at the source
Macaveli has quit [Client Quit]
Xaitec has quit [Remote host closed the connection]
Tearan has quit [Quit: Sleepy Badger....]
vlad_starkov has joined #ruby
quoin has quit [Ping timeout: 245 seconds]
mtfOO_ is now known as trewm
trewm is now known as trewms
Macaveli has joined #ruby
<volty>
i see that there is a specific message, from fiber, that says it cannot alloc stack // if you say that your machine can give much more memory to ruby it means 1) ruby does not calculate well how much it should allocate for the stack OR 2) gone beyond physical addressing limits
ciziar has quit [Ping timeout: 245 seconds]
xcv has joined #ruby
xcv has quit [Remote host closed the connection]
Aryasam has joined #ruby
kaldrenon has joined #ruby
adkron has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: No route to host]
<volty>
OR 3) ruby intentionally limited the size of the stack
Michael_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
butblack has quit [Quit: butblack]
Michael_ has joined #ruby
pyrac has joined #ruby
tethra has quit [Disconnected by services]
gyre008 has joined #ruby
aryaching has joined #ruby
tethra__ has joined #ruby
Aryasam has quit [Client Quit]
gyre007 has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
mengu has joined #ruby
_tomask_ has joined #ruby
_tomask_ has left #ruby ["Konversation terminated!"]
kaldrenon has quit [Ping timeout: 252 seconds]
thehodapp has joined #ruby
haxrbyte has joined #ruby
hamakn has quit [Remote host closed the connection]
jibi has quit [Ping timeout: 248 seconds]
SkuliOskarsson has joined #ruby
butblack has joined #ruby
ziprar has joined #ruby
ziprar has quit [Changing host]
ziprar has joined #ruby
zipace has quit [Ping timeout: 248 seconds]
Vivekananda has joined #ruby
SkuliOskarsson has quit [Client Quit]
Monie has joined #ruby
lfox has joined #ruby
julweber has quit [Remote host closed the connection]
Faris has quit [Ping timeout: 248 seconds]
thehodapp has quit [Ping timeout: 248 seconds]
leonidlm has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vince_prignano has joined #ruby
chairabanta has joined #ruby
<platzhirsch>
Wafer papers are a create way to consume Guarana powder
trewms has quit [Quit: leaving]
<apeiros>
s/create/great/?
pellenation has joined #ruby
Hanmac has joined #ruby
<platzhirsch>
apeiros: err, yes. A great way
Richdark has joined #ruby
Hanmac has quit [Read error: Operation timed out]
Richdark has left #ruby [#ruby]
vince_pr_ has joined #ruby
vince_pr_ has quit [Client Quit]
hamakn has joined #ruby
vince_prignano has quit [Remote host closed the connection]
haxrbyte_ has joined #ruby
pushpak has quit [Read error: Connection reset by peer]
duggiefresh has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
Advocation has joined #ruby
haxrbyte has quit [Ping timeout: 248 seconds]
thehodapp has joined #ruby
malkomalko has joined #ruby
pyrac has quit [Quit: pyrac]
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
malkomalko has quit [Ping timeout: 245 seconds]
sevenseacat has left #ruby [#ruby]
vlad_sta_ has joined #ruby
mengu has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
KobraKao has quit [Ping timeout: 240 seconds]
vlad_sta_ has quit [Remote host closed the connection]
Xeago has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 264 seconds]
pairup has joined #ruby
pairup has left #ruby [#ruby]
lfox has quit [Quit: ZZZzzz…]
Vivekananda has quit [Ping timeout: 248 seconds]
staafl has joined #ruby
peregrine81 has quit []
kvirani has quit [Read error: Connection reset by peer]
kvirani has joined #ruby
Vivekananda has joined #ruby
Tearan has joined #ruby
chairabanta has quit [Quit: Leaving...]
obiwahn has quit [Ping timeout: 245 seconds]
<shevy>
waffles papers?
pyrac has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
<Morrolan>
I read that as 'Guano', and was slightly confused. :/
randomnick_ has joined #ruby
<platzhirsch>
shevy: no wafer paper
razi has joined #ruby
<shevy>
Morrolan hehehe
volty has quit [Ping timeout: 260 seconds]
Ahti333 has joined #ruby
<platzhirsch>
I make it a bit wet with water and then form a medicine package out of it
<shevy>
who would want guano on his papers wrapped around waffles anyway
<shevy>
a medicine package?
peregrine81 has joined #ruby
<platzhirsch>
lol
einarj has quit [Remote host closed the connection]
<platzhirsch>
dung of sea bird
<shevy>
you can smoke that stuff?
duggiefresh has quit [Ping timeout: 248 seconds]
PragCypher has joined #ruby
<platzhirsch>
no Guarana, it's like a caffeine pill
<platzhirsch>
Tastes awful, it's advertised to be used in yogurt, etc. but it contaminates everything and tastes very sandy. This way the taste is neutralized
<platzhirsch>
What's state of the art to define an alias class method? class << self; alias.. ; end or self.singleton_class.alias_method.. ?
Notte has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
Ripp__ has joined #ruby
butblack has left #ruby [#ruby]
DanKnox_away is now known as DanKnox
sniffingcats has joined #ruby
Advocation has quit [Quit: Advocation]
tgraham|away is now known as tgraham
rickmasta has quit [Ping timeout: 260 seconds]
tkuchiki has joined #ruby
pellenation has quit [Quit: Leaving.]
martin_work has joined #ruby
sniffingcats has quit [Client Quit]
<waxjar>
alias_method is private i think
hayleybarker has joined #ruby
kstephens has quit [Read error: Connection reset by peer]
Vivekananda has quit [Remote host closed the connection]
kvirani has quit [Remote host closed the connection]
moli has joined #ruby
tkuchiki has quit [Remote host closed the connection]
k610 has quit [Ping timeout: 260 seconds]
kvirani has joined #ruby
martin_work has quit [Quit: martin_work]
jwicked has joined #ruby
quoin has joined #ruby
cj3kim has joined #ruby
havenwood has quit [Remote host closed the connection]
Nenor has quit [Remote host closed the connection]
Nenor has joined #ruby
havenwood has joined #ruby
carraroj has joined #ruby
peregrine81 has quit []
kvirani has quit [Ping timeout: 248 seconds]
peregrine81 has joined #ruby
Hanmac has joined #ruby
quoin has quit [Ping timeout: 240 seconds]
k610 has joined #ruby
havenwood has quit [Ping timeout: 245 seconds]
SkuliOskarsson has joined #ruby
martin_work has joined #ruby
T_T has quit [Remote host closed the connection]
dash_ has joined #ruby
Nenor has quit [Remote host closed the connection]
kstephens has joined #ruby
Nenor has joined #ruby
jwicked has quit [Ping timeout: 256 seconds]
tatsuya_o has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
ehaliewicz has joined #ruby
peregrine81 has quit []
d45h has joined #ruby
peregrine81 has joined #ruby
peregrine81 has quit [Client Quit]
rippa has quit [Read error: Connection reset by peer]
dash_ has quit [Ping timeout: 252 seconds]
einarj has quit [Remote host closed the connection]
tgraham is now known as tgraham|away
altivec has joined #ruby
altivec has quit [Client Quit]
hayleybarker has quit [Quit: hayleybarker]
tgraham|away is now known as tgraham
jamesaanderson has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
ehaliewicz has quit [Remote host closed the connection]
ehaliewicz has joined #ruby
BraddPitt has quit [Quit: Leaving]
Kabaka has quit [Ping timeout: 240 seconds]
thehodapp has quit [Ping timeout: 256 seconds]
brennanMKE has joined #ruby
Elhu has joined #ruby
k610 has quit [Read error: Connection timed out]
brennanMKE has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
ksh has joined #ruby
pyrac has quit [Quit: pyrac]
mrsolo has joined #ruby
SHyx0rmZ has quit [Read error: Connection reset by peer]
noop has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
SHyx0rmZ has joined #ruby
SkuliOskarsson has quit [Quit: SkuliOskarsson]
vim_shim has joined #ruby
tkuchiki has quit [Remote host closed the connection]
pyrac has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
thehodapp has joined #ruby
Apocalypse has quit [Ping timeout: 245 seconds]
obanta has joined #ruby
gyre008 has quit [Remote host closed the connection]
DaZ has quit [Ping timeout: 240 seconds]
zerun0 has quit [Ping timeout: 240 seconds]
thehodapp has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
arietis has joined #ruby
zerun0 has joined #ruby
rippa has joined #ruby
cody-- has joined #ruby
arietis has quit [Client Quit]
Michael_ has quit [Remote host closed the connection]
DaZ has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
tatsuya_o has joined #ruby
AlSquire has quit [Ping timeout: 248 seconds]
cj3kim has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
aeontech has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
carraroj has joined #ruby
ksh has quit [Remote host closed the connection]
sarkis_ has joined #ruby
KobraKao has joined #ruby
thehodapp has joined #ruby
Cyrus has quit [Quit: Cyrus.sleep()]
Muhammad_ has joined #ruby
Muhammad_ has left #ruby [#ruby]
brupeb has joined #ruby
skaflem has quit [Quit: Leaving]
SkuliOskarsson has joined #ruby
sectionme has joined #ruby
maZtah is now known as maZtah
BizarreCake has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
Xanderby has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Notte has joined #ruby
vpretzel_ has joined #ruby
row248 has quit [Remote host closed the connection]
thehodapp has quit [Quit: Leaving.]
vpretzel has quit [Ping timeout: 245 seconds]
vpretzel_ is now known as vpretzel
thehodapp has joined #ruby
Elhu has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sectionme has quit [Ping timeout: 245 seconds]
byprdct has joined #ruby
quoin has joined #ruby
byprdct has quit [Client Quit]
sayan has quit [Ping timeout: 245 seconds]
brennanMKE has joined #ruby
petey has joined #ruby
<shevy>
platzhirsch dunno... does that work what you tried?
<platzhirsch>
shevy: yeah
<shevy>
cool
<platzhirsch>
well both works, I use class << self, find it still idiomatic
<platzhirsch>
with singleton_class you have to use alias_method though
<platzhirsch>
as opposed to alias
pellenation has joined #ruby
jamesaanderson has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
popl has joined #ruby
ravster has quit [Quit: Leaving.]
schaerli has quit [Remote host closed the connection]
Hanmac has joined #ruby
nisstyre has quit [Quit: Leaving]
Heero has joined #ruby
Heero has joined #ruby
quoin has quit [Ping timeout: 245 seconds]
pyrac has quit [Quit: pyrac]
coderhs has quit [Ping timeout: 240 seconds]
duggiefresh has quit [Remote host closed the connection]
obs has quit [Quit: Konversation terminated!]
carraroj has quit [Quit: Konversation terminated!]
Hanmac has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Ox6abe has quit [Remote host closed the connection]
aeontech has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
coderhs has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
robustus|Off has joined #ruby
cody-- has quit [Quit: derp]
Davey has quit [Quit: Computer has gone to sleep.]
thehodapp has quit [Ping timeout: 264 seconds]
aeontech has joined #ruby
pyrac has joined #ruby
aeontech has quit [Client Quit]
pushpak has joined #ruby
end_guy has quit [Remote host closed the connection]
endash has joined #ruby
end_guy has joined #ruby
Bosox20051 has joined #ruby
idoru has quit [Quit: Working as programmed]
didlix has quit [Ping timeout: 264 seconds]
ekarlso has quit [Ping timeout: 246 seconds]
zets has quit [Ping timeout: 248 seconds]
dzhulk has joined #ruby
nisstyre has joined #ruby
coderhs has quit [Ping timeout: 240 seconds]
pyrac has quit [Quit: pyrac]
hayleybarker has joined #ruby
thehodapp has joined #ruby
hayleybarker has quit [Client Quit]
bradhe has quit [Remote host closed the connection]
hayleybarker has joined #ruby
Ripp__ has quit []
hayleybarker has quit [Client Quit]
Notte has quit [Remote host closed the connection]
ekarlso has joined #ruby
Ox6abe has joined #ruby
aep has joined #ruby
<platzhirsch>
mh, maybe I should have compiled my regexp before applying it over and over again to each word in each text of each record...
xk_id has quit [Quit:
zarubin has joined #ruby
Xanderby has quit [Quit: Xanderby]
Elhu has quit [Quit: Computer has gone to sleep.]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
roadt has quit [Ping timeout: 264 seconds]
Ripp__ has joined #ruby
adambeynon has joined #ruby
atno_ has joined #ruby
roadt has joined #ruby
Advocation has joined #ruby
maroloccio has joined #ruby
SkuliOskarsson has quit [Quit: SkuliOskarsson]
pellenation has quit [Quit: Leaving.]
martin_work has quit [Quit: martin_work]
bluOxigen has quit [Ping timeout: 260 seconds]
thehodapp has quit [Ping timeout: 264 seconds]
carraroj has quit [Quit: Konversation terminated!]
Michael_ has joined #ruby
nwertman has joined #ruby
brennanMKE has quit [Remote host closed the connection]
tgraham has quit [Quit: Leaving...]
Matriks has quit [Remote host closed the connection]
obanta has quit []
Michael_ has quit [Ping timeout: 248 seconds]
ekarlso has quit [Changing host]
ekarlso has joined #ruby
<platzhirsch>
does not seem to make a difference, hmpf
xcv has joined #ruby
gyzmodo has quit []
KobraKao has quit [Ping timeout: 245 seconds]
quoin has joined #ruby
<lessless>
how to remove element in the embedded document in the mongo db? ie, an element in the scores array in the data structure like this https://gist.github.com/dirty-hippie/6756261 ?
cody-- has joined #ruby
hayleybarker has joined #ruby
hayleybarker has quit [Client Quit]
<platzhirsch>
lessless: not sure, but don't you load your entity, change the content of the embedded document and make a call to save, respectively update_attributes?
kofno has quit [Ping timeout: 245 seconds]
<lessless>
that can work
Popple has quit [Quit: Computer has gone to sleep.]
Hanmac has joined #ruby
freerobby has quit [Quit: Leaving.]
<lessless>
but updating the whole document looks like an expensive way
quoin has quit [Ping timeout: 240 seconds]
Popple has joined #ruby
Michael_ has joined #ruby
ekarlso has quit [Read error: Connection reset by peer]
<xcv>
hey guys, I'm getting a hard-to-fix bug while trying to install mime-types 1.25: http://pastie.org/8364610
codecop has quit [Remote host closed the connection]
idoru has joined #ruby
cody-- has quit [Quit: derp]
<xcv>
I put a puts statement in the code that's raising the error, and it's to do with psych trying to parse the gemspec for the mime-types gem and running into a syntax error
<xcv>
but that's surprising, since surely the gem wouldn't be pushed like that with an invalid gemspec?
d45h has quit [Quit: d45h]
Advocation has quit [Quit: Advocation]
<xcv>
I'm quite baffled
<r0bgl33s0n>
xcv: did you have the same problem on MRI?
<xcv>
not sure
<xcv>
should it matter?
<r0bgl33s0n>
it might
<r0bgl33s0n>
it could be something unique to jruby
<xcv>
ah, maybe jruby has a different YAML parser there
<apeiros>
Successfully installed mime-types-1.25
<xcv>
mm
<apeiros>
just tried to reproduce your problem. will try with jruby too.
volty has joined #ruby
<xcv>
thanks
<xcv>
:)
<apeiros>
maybe you need to delete your local copy/cache
polaco_zZz is now known as polaco
<xcv>
I thought I did (used 'gem sources -c', and removed the cache dir under the gemset I'm using) but the bundler output still looked like it was trying to use the cached version
<xcv>
which is rather baffling
<xcv>
alternatively, I could be a gibbering fool who doesn't know how to clear his cache.
<apeiros>
Successfully installed mime-types-1.25 - that's with current jruby
<xcv>
hmm
<xcv>
yeah, wouldn't make sense either
<apeiros>
I suggest you update your ruby and rubygems installation
<xcv>
they'd test it for jruby as well on their travis setup
<xcv>
the mime-types guys, that is
<xcv>
ok
KobraKao has joined #ruby
nerdy has quit [Quit: Computer has gone to sleep.]
<xcv>
I'm using jruby-1.7.3 and the newest version of rubygems
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xcv>
tried doing it with jruby-1.7.4 but it made no difference
<apeiros>
I don't remember how to delete the local copy rubygems creates when downloading, though
<xcv>
yeah
<xcv>
l
jamesaanderson has joined #ruby
atno_ has quit [Quit: Lost terminal]
<xcv>
ok, I'll try uninstalling jruby along with all the gems and doing a fresh install of the gemset
<xcv>
these bundler/gem/rvm issues always feel so arcane and arbitrary
<xcv>
luckily they haven't bitten me often and it's a lovely system 360 days a year!
<xcv>
:)
freezey has joined #ruby
Tearan has quit [Quit: Sleepy Badger....]
brennanMKE has joined #ruby
Elhu has joined #ruby
thehodapp has quit [Ping timeout: 256 seconds]
jbpros has joined #ruby
Advocation has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
<xcv>
ok, works now - uninstalled and installed jruby, updated gem and then ran bundle install without a hiccup
<xcv>
thanks for the help!
jbpros has quit [Client Quit]
nwertman_ has joined #ruby
<r0bgl33s0n>
xcv: success
vpretzel_ has joined #ruby
ciziar has joined #ruby
bradhe has joined #ruby
brupeb has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ is now known as vpretzel
brennanMKE has quit [Ping timeout: 252 seconds]
<bnagy>
yawn
Popple has quit [Quit: Computer has gone to sleep.]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
visof has joined #ruby
maletor has joined #ruby
<popl>
bnagy: cover your mouth
dsferreira has quit [Quit: This computer has gone to sleep]
Es0teric has joined #ruby
xcv has quit [Remote host closed the connection]
SkuliOskarsson has joined #ruby
bradhe has quit [Ping timeout: 256 seconds]
Michael_ has quit [Remote host closed the connection]
Michael_ has joined #ruby
Michael__ has joined #ruby
visof has quit [Client Quit]
Michael_ has quit [Read error: Connection reset by peer]
jamesaanderson has joined #ruby
ccooke_ is now known as ccooke
sectionme has joined #ruby
<bnagy>
OmO
vlad_starkov has joined #ruby
Kamil__ has joined #ruby
Kamil__ has left #ruby [#ruby]
Kamil__ has joined #ruby
sectionme has quit [Ping timeout: 256 seconds]
Kamil__ has left #ruby [#ruby]
eloquent_mute has quit [Quit: Leaving]
sarkis_ has quit [Quit: leaving]
kreeves has joined #ruby
schaerli has joined #ruby
toastynerd has joined #ruby
Soda has quit [Ping timeout: 248 seconds]
Monie has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
aryaching has quit [Ping timeout: 252 seconds]
schaerli has quit [Remote host closed the connection]
Soda has joined #ruby
ekarlso has joined #ruby
Advocation has quit [Quit: Advocation]
tatsuya_o has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DaZ has quit [Ping timeout: 248 seconds]
jamesaanderson has joined #ruby
peregrine81 has joined #ruby
quoin has joined #ruby
postmodern has joined #ruby
hanmac1 has joined #ruby
DaZ has joined #ruby
quoin has quit [Ping timeout: 245 seconds]
Advocation has joined #ruby
Advocation has quit [Client Quit]
peregrine81 has quit []
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Es0teric has quit [Quit: Computer has gone to sleep.]
julweber has joined #ruby
hanmac1 has quit [Ping timeout: 264 seconds]
dowlf has left #ruby [#ruby]
DaZ has quit [Ping timeout: 260 seconds]
Xanderby has joined #ruby
Jdubs_ has joined #ruby
platzhirsch has left #ruby [#ruby]
Jdubs has quit [Ping timeout: 248 seconds]
julweber has quit [Remote host closed the connection]
DaZ has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
claymore has quit [Quit: Leaving]
ciziar has quit [Ping timeout: 252 seconds]
kay_ has quit [Remote host closed the connection]
sniffingcats has joined #ruby
didlix has joined #ruby
kay_ has joined #ruby
kay_ has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
Nenor has quit [Quit: Nenor]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
jaimef has quit [Ping timeout: 264 seconds]
vpretzel has quit [Quit: vpretzel]
KobraKao has quit [Ping timeout: 248 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
MrZYX is now known as MrZYX|off
tatsuya_o has joined #ruby
k610 has quit [Ping timeout: 245 seconds]
Elinos has quit [Quit: Leaving]
jpinnix has quit [Ping timeout: 264 seconds]
senayar has quit [Remote host closed the connection]
bradhe has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
spudurman has quit [Read error: Connection reset by peer]
exu has joined #ruby
jaimef has joined #ruby
SqREL has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
kay_ has joined #ruby
tatsuya_o has quit [Ping timeout: 260 seconds]
exu has left #ruby [#ruby]
polaco is now known as polaco_zZz
saarinen has joined #ruby
anotherwise has quit [Quit: anotherwise]
VTLob has quit [Quit: VTLob]
leonidlm has quit [Ping timeout: 256 seconds]
Davey has joined #ruby
nouitfvf has quit [Ping timeout: 260 seconds]
nisstyre has quit [Ping timeout: 256 seconds]
Xeago has quit [Remote host closed the connection]
Lewix has joined #ruby
ekarlso has quit [Changing host]
ekarlso has joined #ruby
brupeb has joined #ruby
mercwithamouth has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
petey has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
einarj has quit [Remote host closed the connection]
dcunit3d has joined #ruby
eka has joined #ruby
peterhellberg has quit [Ping timeout: 256 seconds]
peterhellberg has joined #ruby
m8 has quit [Quit: Sto andando via]
threesome has joined #ruby
nisstyre has joined #ruby
rickmasta has joined #ruby
atno has quit [Read error: Connection reset by peer]
jaimef has quit [Ping timeout: 248 seconds]
Ox6abe has quit [Remote host closed the connection]
quoin has joined #ruby
Bira has joined #ruby
Ox6abe has joined #ruby
julweber has joined #ruby
T_T has joined #ruby
Ripp__ has quit []
Cooler_ has joined #ruby
hanmac1 has joined #ruby
quoin has quit [Ping timeout: 248 seconds]
Ox6abe has quit [Ping timeout: 240 seconds]
gyre007 has joined #ruby
ewnd9 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
hanmac1 has quit [Ping timeout: 245 seconds]
ZoanthusR has joined #ruby
saarinen has quit [Quit: saarinen]
zarubin has quit [Ping timeout: 240 seconds]
nwertman has quit [Ping timeout: 248 seconds]
ewnd9 has quit [Remote host closed the connection]
Kricir has joined #ruby
zarubin has joined #ruby
brennanMKE has joined #ruby
ewnd9 has joined #ruby
ewnd9 has quit [Remote host closed the connection]
byprdct has joined #ruby
ewnd9 has joined #ruby
ewnd9 has quit [Remote host closed the connection]
sectionme has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
SqREL has quit [Remote host closed the connection]
hamakn has joined #ruby
hamakn has quit [Remote host closed the connection]
sectionme has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
jaimef has joined #ruby
staafl has quit [Ping timeout: 256 seconds]
maletor has joined #ruby
Popple has joined #ruby
kitak has joined #ruby
ziyadb has quit [Ping timeout: 260 seconds]
snearch has joined #ruby
KobraKao has joined #ruby
sniffingcats has quit [Quit: Til rivido Idisti!]
<byprdct>
does anyone know of a gem or something the like that would enable me to compile filter feeds based on many feeds that meet specific guidelines? e.g. If this feed has x amount of likes or x amount of plus or retweets etc?
Zai00 has quit [Quit: Zai00]
threesome has quit [Ping timeout: 248 seconds]
SkuliOskarsson has quit [Quit: SkuliOskarsson]
Guest33827 is now known as raar
raar has quit [Changing host]
raar has joined #ruby
Andrevan has joined #ruby
tgraham has joined #ruby
Popple has quit [Quit: Computer has gone to sleep.]
Liothen has joined #ruby
Kricir has quit [Remote host closed the connection]