apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
lusory has quit [Ping timeout: 240 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
caju has quit [Remote host closed the connection]
mlpinit has joined #ruby
jlast has quit [Remote host closed the connection]
rburton- has quit [Quit: Linkinus - http://linkinus.com]
noname001 has quit [Ping timeout: 260 seconds]
cajueiro has joined #ruby
jblack has quit [Ping timeout: 264 seconds]
ravster has quit [Quit: Leaving.]
hiroyuki has quit [Read error: Connection reset by peer]
ryandeussing has quit [Remote host closed the connection]
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
devoldmx has joined #ruby
jblack has joined #ruby
ryandeussing has joined #ruby
speakingcode-wor has quit [Ping timeout: 264 seconds]
ryandeussing has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 246 seconds]
splittingred has joined #ruby
jefflyne has joined #ruby
IceyEC has quit [Quit: IceyEC]
cajueiro has quit [Remote host closed the connection]
caju has joined #ruby
rickmasta has quit [Quit: Leaving...]
mansi has joined #ruby
gstamp has quit [Quit: Textual IRC Client: www.textualapp.com]
gstamp has joined #ruby
rburton- has joined #ruby
rburton- has quit [Client Quit]
speakingcode-wor has joined #ruby
<shevy> hmmm
<shevy> cp: writing '/foo.mp3': No space left on device
<shevy> anyone has an idea how to check (from a pure ruby script) whether there is enough space left on a device, before trying to use fileutils to copy things to it?
ryandeussing has joined #ruby
ephemerian has quit [Quit: Leaving.]
lucazi has quit [Remote host closed the connection]
zets has joined #ruby
jblack has quit [Ping timeout: 276 seconds]
tabolario has joined #ruby
devoldmx has quit [Remote host closed the connection]
Astral_ has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
v0n has joined #ruby
snovak has joined #ruby
jaredlevitz has joined #ruby
jaredlevitz has left #ruby [#ruby]
jaredlevitz has joined #ruby
wmoxam has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
cloke_ has joined #ruby
Xaitec has quit [Remote host closed the connection]
kvirani has quit [Remote host closed the connection]
xcv_ has quit [Remote host closed the connection]
michaeldeol has joined #ruby
kvirani has joined #ruby
cloke has quit [Ping timeout: 256 seconds]
cloke_ is now known as cloke
nari has quit [Ping timeout: 248 seconds]
snovak has quit [Ping timeout: 276 seconds]
marr has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
chrisja has quit [Quit: leaving]
Targen has quit [Ping timeout: 264 seconds]
brain_shim has quit [Ping timeout: 248 seconds]
fuzzy has quit [Remote host closed the connection]
<gazarsgo> %x(`df -h`) ?
qhartman_ has quit [Quit: Ex-Chat]
<gazarsgo> so pure it hurts.
fuzzy has joined #ruby
<gazarsgo> oops, no ` inside
kvirani has quit [Ping timeout: 276 seconds]
graft has quit [Ping timeout: 256 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
Wildhoney has quit [Quit: Wildhoney]
<robonerd> heh anyone know how to generate 0 or 1 randomly and equally?
<shevy> robonerd rand[2] I think
<shevy> hmmm
<shevy> perhaps not ...
narcan has joined #ruby
<shevy> Random.rand(2)
<shevy> # => 1
<shevy> Random.rand(2) # => 1
<shevy> Random.rand(2) # => 0
<shevy> ok that seems to work
pitzips has quit [Ping timeout: 264 seconds]
<robonerd> so rand is passed max input - 1?
<robonerd> er max output
iliketur_ has quit [Quit: zzzzz…..]
enebo has quit [Quit: enebo]
tatsuya_o has joined #ruby
mlpinit has quit [Remote host closed the connection]
<shevy> I think it just starts at 0
hogeo has joined #ruby
<shevy> if you want a die with six sides, you could try: Random.rand(6) + 1
luckyruby has joined #ruby
ahawkins has quit [Ping timeout: 264 seconds]
<shevy> not sure why it starts at 0
<robonerd> any idea how to do it in c? generate either 0 or 1 evenly, and in 1 line of code
<robonerd> a single expression
sailias has joined #ruby
<shevy> hmm
<shevy> last time I tried to use C was years ago... isn't it with some way to seed?
Banistergalaxy has joined #ruby
jblack has joined #ruby
tatsuya_o has quit [Ping timeout: 256 seconds]
ColKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> srand(time(NULL));
<shevy> C++
<shevy> Random r = new Random(); int randomNumber = r.Next(1,100);
<shevy> C#
<robonerd> omg
<robonerd> rand() % 2 worked, why?
<shevy> well
<shevy> first, why are you doing that
<shevy> second
<shevy> it seems as if rand() returns a float
<shevy> rand() # => 0.47395287419444865
gazarsgo has quit [Quit: gazarsgo]
<robonerd> but it's working
<shevy> not for me
mmitchell has joined #ruby
<shevy> what ruby version do you use?
<robonerd> no i'm doing that in C
mklappstuhl has joined #ruby
mmitchell has quit [Remote host closed the connection]
<shevy> aha
<shevy> :P
<shevy> come back to ruby man
fenicks has quit [Remote host closed the connection]
<shevy> leave the painful world of C behind
michaeldeol has quit [Remote host closed the connection]
buenob has quit [Remote host closed the connection]
gazarsgo has joined #ruby
lethjakman has joined #ruby
<robonerd> yea i'm going to get back into ruby now actually. been away 7 years
michaeldeol has joined #ruby
<robonerd> my quiver will hold regular use of C, objC, and ruby
<robonerd> that's it
wallerdev has quit [Quit: wallerdev]
gazarsgo has quit [Client Quit]
seich- has quit [Ping timeout: 260 seconds]
michaeldeol has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
agjacome has quit [Quit: leaving]
cj3kim has joined #ruby
dodosan has joined #ruby
crazymykl has quit [Read error: Connection reset by peer]
<shevy> 7 years!
<shevy> did you use another scripting language?
mando has joined #ruby
randomautomator has quit [Ping timeout: 264 seconds]
crazymykl has joined #ruby
jblack has quit [Ping timeout: 264 seconds]
Senjai has joined #ruby
nopolitica has joined #ruby
jblack has joined #ruby
tkuchiki has joined #ruby
hollyw00d has joined #ruby
nignaztic has quit [Read error: Connection reset by peer]
cloke has quit [Quit: cloke]
buenob has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
nopolitica has quit [Client Quit]
oddalot has joined #ruby
sevenseacat has joined #ruby
wmoxam has quit [Ping timeout: 260 seconds]
sallybeckerman has joined #ruby
oddalot has left #ruby [#ruby]
mfridh has quit [Read error: Connection reset by peer]
sparq_ has quit [Remote host closed the connection]
mlpinit has joined #ruby
nari has joined #ruby
mando has quit [Remote host closed the connection]
kumarat9pm has joined #ruby
kumarat9pm has left #ruby [#ruby]
saarinen has quit [Quit: saarinen]
Strato has joined #ruby
Strato has quit [Max SendQ exceeded]
Kruppe has quit [Remote host closed the connection]
oddalot has joined #ruby
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
jblack has quit [Ping timeout: 264 seconds]
pwh has joined #ruby
ryandeussing has quit [Remote host closed the connection]
pwh has quit [Max SendQ exceeded]
saarinen has joined #ruby
luckyruby has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
hollyw00d has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pwh has joined #ruby
mlpinit has quit [Remote host closed the connection]
pwh has quit [Max SendQ exceeded]
ryandeussing has joined #ruby
ryandeussing has quit [Remote host closed the connection]
nazty has joined #ruby
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
crazymykl has quit [Remote host closed the connection]
crazymykl has joined #ruby
lusory has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
pwh has joined #ruby
unRealElite has joined #ruby
wallerdev has joined #ruby
pwh has quit [Max SendQ exceeded]
lewellyn has quit [Ping timeout: 240 seconds]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
mklappstuhl has quit [Remote host closed the connection]
wallerdev has quit [Client Quit]
pwh has joined #ruby
wallerdev has joined #ruby
pwh has quit [Max SendQ exceeded]
iliketur_ has joined #ruby
Deele has joined #ruby
pwh has joined #ruby
emergion has joined #ruby
pwh has quit [Max SendQ exceeded]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lewellyn has joined #ruby
pwh has joined #ruby
Vivekananda has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
snovak has joined #ruby
alekst has quit [Ping timeout: 248 seconds]
pwh has quit [Client Quit]
duracrisis_ has joined #ruby
freeayu has joined #ruby
hogeo has quit [Remote host closed the connection]
enebo has joined #ruby
hogeo has joined #ruby
enebo has quit [Client Quit]
Authenticator has quit [Quit: leaving]
mklappstuhl has joined #ruby
duracrisis_ has quit [Changing host]
duracrisis_ has joined #ruby
wesside has joined #ruby
cpruitt has quit [Ping timeout: 256 seconds]
kvirani has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
seich- has joined #ruby
fridim__ has joined #ruby
Myconix_ has joined #ruby
havenwood has quit [Remote host closed the connection]
Vivekananda has quit [Read error: Connection reset by peer]
Myconix has quit [Ping timeout: 264 seconds]
michaeldeol has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
jonathanwallace has joined #ruby
aknagi has quit [Quit: aknagi]
Spooner has quit [Remote host closed the connection]
amacgregor_ has joined #ruby
popl has joined #ruby
amacgregor__ has joined #ruby
rupee has quit [Ping timeout: 256 seconds]
jaimef has quit [Excess Flood]
dankest has quit [Quit: dankest]
amacgregor has quit [Ping timeout: 264 seconds]
ZenGuy311 has joined #ruby
amacgregor_ has quit [Ping timeout: 264 seconds]
<ZenGuy311> hi woudl it be possible to build a ruby webapp that can play aduiobooks and remember each track position ?
Deele has quit [Ping timeout: 240 seconds]
iliketur_ has quit [Quit: zzzzz…..]
jaimef has joined #ruby
ahawkins has joined #ruby
Kruppe has joined #ruby
saarinen has quit [Quit: saarinen]
havenwood has joined #ruby
<oddalot> Probably
twoism has quit [Remote host closed the connection]
twoism has joined #ruby
<robonerd> oddalot how would that work?
<ZenGuy311> thanks .. i just found mplayer-ruby while waiting for a reply
<shevy> what
<shevy> mplayer-ruby ??
mootpointer has joined #ruby
<ZenGuy311> ruby-mplayer .. it's a mplayer wrapper
<shevy> is it an active project
mklappstuhl has quit [Remote host closed the connection]
araujo has quit [Read error: Connection reset by peer]
<ZenGuy311> i just want to see if i can learn and make a app useful to me.. which is a audiobook/podcast player that can remember last position on each track and adjust playback speed
<ZenGuy311> no 3 years old
<shevy> well
<shevy> everything is possible
araujo has joined #ruby
ahawkins has quit [Ping timeout: 260 seconds]
araujo has joined #ruby
<shevy> but you will probably have to be spirited and motivated to finish it
araujo has quit [Changing host]
duracrisis_ has quit [Quit: Leaving]
Monie has joined #ruby
<ZenGuy311> i'm pretty certain all the main software is our there i just need to cobble it together.. to get the functionality i want
duracrisis has joined #ruby
twoism has quit [Ping timeout: 276 seconds]
DanKnox is now known as DanKnox_away
andr0m3da has quit [Read error: Connection reset by peer]
kvirani has quit [Remote host closed the connection]
kvirani has joined #ruby
<shevy> hmm
<shevy> I found that doing little projects is often enough much better
jaredlevitz has quit [Quit: Leaving.]
<shevy> I started a project, the ruby build tools, years ago... went through 3 rewrites already
Davey has quit [Quit: Computer has gone to sleep.]
<shevy> now, since perhaps a month or so, I am starting to instead write tiny little scripts to do like 70% of the things it can do
<shevy> it is much easier to maintain, change, add features too, compared to the big project
dodosan has quit [Remote host closed the connection]
yaymukund has quit [Ping timeout: 260 seconds]
chriskk has joined #ruby
huoxito has joined #ruby
<shevy> though what happens in a year, who knows. perhaps it will be as big as the other one
Xaitec_ has joined #ruby
oddalot has quit [Read error: Connection reset by peer]
kvirani has quit [Ping timeout: 276 seconds]
_whitelogger has joined #ruby
<ZenGuy311> you think it'll be a big project? i'm aiming for two features thats already there on the backend .i just want a want a web front end.
<shevy> well
<shevy> ok you said
<shevy> one app
<shevy> one basic feature in it
<shevy> ok, that is not a big project
<shevy> but I think it may still be quite a bit of code in it
<ZenGuy311> ok.. i can see that
<shevy> Podcast Player (must play audio files I think?) and must be able to remember the last position on each track and adjust playback speed (ok... 3 features?)
<zendeavor> better get started
<zendeavor> no time to lose
<shevy> ZenGuy311 you could cheat a bit
<shevy> for instance, ruby-gnome has some gstreamer bindings
<zendeavor> ;o
<ZenGuy311> which is easier, desktop or webapp?
<shevy> dunno
_whitelogger has joined #ruby
<shevy> if you can avoid both
<shevy> do so
<shevy> :D
<Jake232> If I happened to recieve the following in one of my background workers
<Jake232> (OBJ_FROZEN(shared)), function str_replace, file string.c, line 879.
<Jake232> and then ruby died
<shevy> ruby-gnome bindings are somewhat ok...
<Jake232> What could cause that?
rickmasta has joined #ruby
<ZenGuy311> all the best podcast audiobook apps are on mobile so i'm resorting to this
<shevy> cool error
<Jake232> Assertion failed: (OBJ_FROZEN(shared)), function str_replace, file string.c, line 879.
<shevy> I would assume it happens on a string object... that was .freeze
<Jake232> what the full error
yaymukund has joined #ruby
<shevy> ZenGuy311 ok but what means "mobile" exactly here... html and javascript?
<Jake232> was*
Xaitec_ has quit [Remote host closed the connection]
<Jake232> and, no .freeze in sight
<shevy> I don't know OBJ_FROZEN, but perhaps that is the C equivalent for .freeze ?
jblack has joined #ruby
mootpointer has quit [Quit: ENOCAFFEINE.]
dodosan has joined #ruby
<Jake232> Which would suggest str_replace, not sure how I could break that
philcrissman_ has joined #ruby
sparq_ has joined #ruby
<shevy> no idea sorry, we need a C guru
<shevy> like zendeavor
amacgregor has joined #ruby
Neomex has quit [Quit: Neomex]
<zendeavor> try ##c, don't let shevy troll you
<Jake232> Why do I get the feeling, people in ##c are gonna hate me just for using ruby
<popl> oh gosh no
<popl> people in ##C will hate you no matter what
yekta has quit [Quit: yekta]
<popl> I don't go there anymore.
thepumpkin has quit [Remote host closed the connection]
<Jake232> I mean, I guess I could just pretend the error never happened and hope it doesnt occur again
<Jake232> but
<Jake232> that seems like a bad idea
<popl> look up what it means yourself, on the Interwebs.
<popl> if you have to resort to reading a working draft of the standard, do that
amacgregor__ has quit [Ping timeout: 264 seconds]
<robonerd> yea zhivago in #c is such a prick
<popl> that's what I do rather than attempt communication in ##C :|
<shevy> Jake232 zendeavor tries to cleverly lead you into wrong channels
<robonerd> total piece of shit
<popl> robonerd: now now
<popl> robonerd: we know it but let's not dwell on it
<shevy> I spoke to some mono guys years ago
<shevy> they hated the ability to reopen classes
<shevy> so, they hated ruby as well, because it allows that
<shevy> "omg! in big projects this is gonna fail!!!"
russt has quit [Ping timeout: 248 seconds]
maktig has quit [Quit: Leaving]
<robonerd> was it a security problem to allow class code to change during operation?
<shevy> so, there. there will not be any big projects in ruby according to them ...
JDHankle has quit [Remote host closed the connection]
<shevy> nah robonerd they just hate the feature, stating that other devs could screw them over
<shevy> I guess it conflicts with a certain mindset
michaeldeol has quit [Remote host closed the connection]
jblack has quit [Ping timeout: 264 seconds]
<ZenGuy311> shevy: i meant mobile as in android ios apps
<shevy> ZenGuy311 I never tried to write an app ... can one use pure ruby for it?
<Jake232> shevy: RubyMotion
<ZenGuy311> shevy: i have no idea
<shevy> ZenGuy311 haha damn... I don't know either hmm...
hadees has joined #ruby
<ZenGuy311> my aim is to decide on a programmign langauage to work with and learn it, 'wing it' the rest of the way
<shevy> I see
<shevy> well I thought only HTML5+javascript would work
<ZenGuy311> i looked into that too
MrThePlague has joined #ruby
<ZenGuy311> couldn't find a html5 player that supported playback speed.. theres is a playbackrate element though
michaeldeol has joined #ruby
<shevy> well
Davey has joined #ruby
<shevy> perhaps you have to dive into ... html5 + javascript + css
<shevy> so no ruby language for you man, I am sorry :P
<ZenGuy311> ok ..i'm actually relieved
<shevy> hehehe
a7d7p has quit [Quit: a7d7p]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Kruppe has quit [Read error: Connection reset by peer]
anonymuse has joined #ruby
snovak has joined #ruby
MrThePlague has quit [Remote host closed the connection]
mlpinit has joined #ruby
mootpointer has joined #ruby
stkowski has joined #ruby
diegoviola has joined #ruby
cj3kim has joined #ruby
KellyLSB has joined #ruby
mootpointer has quit [Client Quit]
snovak has quit [Ping timeout: 264 seconds]
Myconix_ has quit [Quit: Server Error 482: The server has been shot by a 12-gauge, please contact an administrator]
mootpointer has joined #ruby
mlpinit has quit [Ping timeout: 248 seconds]
caju has quit [Remote host closed the connection]
mootpointer has quit [Client Quit]
cj3kim has quit [Ping timeout: 245 seconds]
devoldmx3 has joined #ruby
sevenseacat has quit [Ping timeout: 248 seconds]
narcan has joined #ruby
a7d7p has joined #ruby
mootpointer has joined #ruby
devoldmx3 has quit [Client Quit]
devoldmx has joined #ruby
JDHankle has joined #ruby
nfk has quit [Quit: yawn]
a7d7p has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
sevenseacat has joined #ruby
hiyosi has quit [Ping timeout: 248 seconds]
yaymukund has quit [Ping timeout: 276 seconds]
dkamioka has quit [Remote host closed the connection]
michaeldeol has quit [Remote host closed the connection]
KellyLSB has quit [Quit: Textual IRC Client: www.textualapp.com]
lambda has quit [Quit: lambda]
snath has joined #ruby
renderful has quit [Remote host closed the connection]
philcrissman_ has quit [Ping timeout: 256 seconds]
yacks has joined #ruby
love_color_text has joined #ruby
vlad_starkov has joined #ruby
mootpointer has quit [Quit: ENOCAFFEINE.]
mootpointer has joined #ruby
dodosan has quit [Remote host closed the connection]
zets has quit [Ping timeout: 246 seconds]
viszu has joined #ruby
sarkis has quit [Ping timeout: 260 seconds]
momomomomo has joined #ruby
radic_ has joined #ruby
a7d7p has joined #ruby
mootpointer has quit [Client Quit]
vlad_starkov has quit [Ping timeout: 264 seconds]
a7d7p has quit [Client Quit]
Kruppe has joined #ruby
a7d7p has joined #ruby
dodosan has joined #ruby
radic__ has quit [Ping timeout: 264 seconds]
baron_underscore has joined #ruby
mootpointer has joined #ruby
michaeldeol has joined #ruby
yaymukund has joined #ruby
unRealElite has quit [Quit: This computer has gone to sleep]
cavel has joined #ruby
ixti has quit [Quit: WeeChat 0.4.1]
mootpointer has quit [Client Quit]
viszu has quit [Quit: Leaving.]
marsLantern has joined #ruby
mansi has quit [Remote host closed the connection]
mootpointer has joined #ruby
banisterfiend has quit [Ping timeout: 245 seconds]
mansi has joined #ruby
Drakevr has quit [Ping timeout: 260 seconds]
rezzack has joined #ruby
banisterfiend has joined #ruby
Drakevr has joined #ruby
darkc0met has joined #ruby
yaymukund has quit [Ping timeout: 248 seconds]
diegoviola has quit [Ping timeout: 264 seconds]
mansi has quit [Ping timeout: 264 seconds]
chriskk has quit [Remote host closed the connection]
sam113101 is now known as sam113101_afk
zets has joined #ruby
sam113101_afk is now known as sam113101
Spami has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
heftig has quit [Quit: Quitting]
iliketur_ has joined #ruby
yaymukund has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
heftig has joined #ruby
sam113101 is now known as kline_afk
pen has joined #ruby
mrsolo has joined #ruby
ndngvr has joined #ruby
mootpointer has quit [Quit: ENOCAFFEINE.]
kline_afk is now known as sam113101
mary5030 has joined #ruby
io_syl has quit [Quit: io_syl]
dhruvasagar has joined #ruby
snovak has joined #ruby
aryaching has quit []
mansi has joined #ruby
dmiller has joined #ruby
brennanMKE has quit [Remote host closed the connection]
caju has joined #ruby
caju has quit [Remote host closed the connection]
r0bglees0n has quit [Read error: Operation timed out]
twoism has joined #ruby
mansi has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
twoism has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
twoism has joined #ruby
<pontiki> ZenGuy311: i was looking at jwplayer earlier. they have something on setting playback rates: http://www.longtailvideo.com/blog/33860/slow-motion-with-jw-player/
<ZenGuy311> pontiki: thanks , i checked it out earlier .. the speed up option is listen as wontfix in their big tracker
<pontiki> which issue#?
anonymuse has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 248 seconds]
<ZenGuy311> 907
Guest4857 has joined #ruby
Guest4857 is now known as diegoviola
narcan has joined #ruby
oddalot has joined #ruby
banisterfiend has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
splittingred has quit [Quit: splittingred]
<pontiki> interesting though the blog entry is june 2013
<pontiki> the issue closed 10 months ago...
Davey has quit [Quit: Computer has gone to sleep.]
<ZenGuy311> oh ok, ut it only slows it down..
<ZenGuy311> i rarely slow down playback
<ZenGuy311> i mostly speed it up 2x
<pontiki> oh i see
<pontiki> bummer
sayan has joined #ruby
<pontiki> good luck in finding something
<ZenGuy311> its a niche feature but i truely believe it's one of those features that could go mainstream, if people actually implented it
pen has quit [Ping timeout: 256 seconds]
<pontiki> like almost everything...
zeropx has quit [Quit: has left the room … Or did he?]
splittingred has joined #ruby
<ZenGuy311> speeding up a video or audiofile like a news clip by just 1.20x could make a great difference to many people
postmodern has quit [Quit: Leaving]
jonathanwallace has quit [Ping timeout: 276 seconds]
sallybeckerman has quit [Quit: sallybeckerman]
<shevy> perhaps they dont know how to do that
<ZenGuy311> doesn't seem to even be a big feature on the desktop.. mplayer and vlc is all i found
mary5030 has quit [Remote host closed the connection]
cj3kim has joined #ruby
dankest has joined #ruby
mary5030 has joined #ruby
sparq_ has quit [Quit: Leaving]
duracrisis has quit [Ping timeout: 245 seconds]
Kruppe has quit [Remote host closed the connection]
brennanMKE has joined #ruby
diego1 has joined #ruby
postmodern has joined #ruby
diegoviola is now known as Guest11049
diego1 is now known as diegoviola
havenwood has quit [Remote host closed the connection]
Akuma has quit [Ping timeout: 260 seconds]
Guest11049 has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby
Akuma has joined #ruby
<epitron> ZenGuy311: you know what i would like... an "um" removal tool :)
<epitron> some people's lectures are like 30% "um"
<epitron> or "uhhh"
zorg24 has quit [Ping timeout: 256 seconds]
postmodern has quit [Remote host closed the connection]
guns has quit [Quit: guns]
tchebb has quit [Quit: ZNC - http://znc.in]
brennanMKE has quit [Ping timeout: 248 seconds]
tabolario has joined #ruby
tchebb has joined #ruby
splittingred has quit [Quit: splittingred]
thesheff17 has quit [Ping timeout: 264 seconds]
yacks has quit [Quit: Leaving]
amacgregor_ has joined #ruby
postmodern has joined #ruby
lethjakman has quit [Ping timeout: 264 seconds]
dodosan has quit [Remote host closed the connection]
jhn has joined #ruby
sergicles has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
gdusnsa has joined #ruby
dsagsda has joined #ruby
gdusnsa has left #ruby [#ruby]
* dsagsda Welcom to Allinone.nix.vn Sexy Free!
dsagsda has quit [Killed (idoru (Spam is off topic on freenode.))]
iliketur_ has quit [Quit: zzzzz…..]
goganchic has joined #ruby
browndawg has joined #ruby
kevinykchan has joined #ruby
endash has quit [Quit: endash]
baron_underscore has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
snovak has joined #ruby
hackingoff has joined #ruby
Targen has joined #ruby
gazarsgo has joined #ruby
aryaching has joined #ruby
Deele has joined #ruby
gazarsgo has quit [Client Quit]
snovak has quit [Ping timeout: 256 seconds]
buenob has quit [Remote host closed the connection]
vince_prignano has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
buenob has joined #ruby
r0bglees0n has joined #ruby
io_syl has joined #ruby
buenob has quit [Ping timeout: 246 seconds]
hamakn has joined #ruby
jhn has quit [Ping timeout: 276 seconds]
aryaching has quit [Ping timeout: 246 seconds]
hackingoff has quit [Ping timeout: 245 seconds]
lukeholder has joined #ruby
mansi has joined #ruby
aryaching has joined #ruby
jonahR has joined #ruby
jonahR has quit [Client Quit]
mansi has quit [Ping timeout: 260 seconds]
ananthakumaran has joined #ruby
dodosan has joined #ruby
michaeldeol has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
buenob has joined #ruby
iliketur_ has joined #ruby
buenob has quit [Read error: Connection reset by peer]
buenob has joined #ruby
pranny has joined #ruby
aryaching has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
hackingoff has joined #ruby
love_color_text has joined #ruby
jonathanwallace has joined #ruby
lyanchih has joined #ruby
axeman- has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
fridim__ has quit [Ping timeout: 276 seconds]
dodosan has quit [Ping timeout: 256 seconds]
saarinen has joined #ruby
BlakeRG has joined #ruby
jonathanwallace has quit [Ping timeout: 245 seconds]
goganchic has quit []
pwh has joined #ruby
aryaching has joined #ruby
saarinen has quit [Quit: saarinen]
icco has quit [Ping timeout: 240 seconds]
v0n has quit [Ping timeout: 256 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
buenob has quit [Remote host closed the connection]
robert_ has quit [Read error: Connection reset by peer]
buenob has joined #ruby
robert_ has joined #ruby
robert_ has joined #ruby
robert_ has quit [Changing host]
mrsolo has joined #ruby
mrsolo has quit [Client Quit]
tomzx_mac_ has quit [Ping timeout: 246 seconds]
icco has joined #ruby
freakazoid0223 has quit [Read error: Operation timed out]
sayan has quit [Ping timeout: 264 seconds]
buenob has quit [Ping timeout: 264 seconds]
mrsolo has joined #ruby
bluOxigen has joined #ruby
aprilthemoo has quit [Read error: Connection reset by peer]
around_ has quit [Quit: around_]
nonamehero has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrShoggoth has joined #ruby
browndawg has quit [Ping timeout: 256 seconds]
lyanchih has quit [Quit: lyanchih]
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pen has joined #ruby
ananthakumaran has quit [Ping timeout: 264 seconds]
icco has quit [Ping timeout: 240 seconds]
DrShoggoth has quit [Quit: Leaving]
intuxicated has joined #ruby
tyfighter has joined #ruby
icco has joined #ruby
Monie has joined #ruby
Kelet has quit [Quit: Leaving]
baroquebobcat has joined #ruby
vlad_starkov has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
druonysus has joined #ruby
JDHankle has quit [Remote host closed the connection]
akells`` has quit [Remote host closed the connection]
snovak has joined #ruby
aryaching has joined #ruby
intuxicated has quit [Read error: Connection reset by peer]
stkowski has quit [Quit: stkowski]
ebobby has joined #ruby
intuxicated has joined #ruby
lambda has joined #ruby
tommyvyo has quit [Quit:]
wallerdev has quit [Quit: wallerdev]
snovak has quit [Ping timeout: 256 seconds]
JohnBat26 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
tagrudev has joined #ruby
lethjakman has joined #ruby
lyanchih has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
unRealElite has joined #ruby
timonv has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran1 has joined #ruby
lethjakm1 has joined #ruby
aryaching has joined #ruby
stefan_ has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
stefan_ has left #ruby [#ruby]
lethjakman has quit [Ping timeout: 260 seconds]
Es0teric has joined #ruby
adeponte has joined #ruby
ananthakumaran has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
sayan has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
druonysus has quit [Ping timeout: 264 seconds]
blz37 has joined #ruby
noopq has joined #ruby
unRealElite has quit [Ping timeout: 256 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has joined #ruby
michaeldeol has joined #ruby
codecop has joined #ruby
thebastl has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
michaeldeol has quit [Ping timeout: 256 seconds]
timonv has quit [Remote host closed the connection]
unRealElite has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
yfeldblum has quit [Ping timeout: 245 seconds]
DylanJ has quit [Ping timeout: 260 seconds]
replay has quit [Ping timeout: 245 seconds]
cucumbrman has quit [Quit: No Ping reply in 180 seconds.]
cucumbrman has joined #ruby
yaymukund has quit [Ping timeout: 276 seconds]
jblack has joined #ruby
thepumpkin has joined #ruby
baroquebobcat has joined #ruby
Kelet has joined #ruby
persand has joined #ruby
baroquebobcat has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
pen has quit [Read error: Connection reset by peer]
Tarential has quit [Excess Flood]
ayaz has joined #ruby
pen has joined #ruby
gstamp has quit [Read error: Connection reset by peer]
tonni has quit [Remote host closed the connection]
druonysus has joined #ruby
druonysus has joined #ruby
monkegjinni has joined #ruby
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
jblack has quit [Ping timeout: 264 seconds]
pen has quit [Remote host closed the connection]
arturaz has joined #ruby
pen has joined #ruby
replay has joined #ruby
gstamp has joined #ruby
relix has joined #ruby
freeayu__ has joined #ruby
Tarential has joined #ruby
druonysus has quit [Ping timeout: 248 seconds]
michaeldeol has joined #ruby
freeayu has quit [Ping timeout: 264 seconds]
Norrin has quit [Ping timeout: 260 seconds]
druonysus has joined #ruby
huoxito has quit [Ping timeout: 256 seconds]
snovak has joined #ruby
Norrin has joined #ruby
pwh has quit [Quit: pwh]
Bosox20051 has quit [Ping timeout: 248 seconds]
quazimodo has quit [Ping timeout: 240 seconds]
cj3kim has quit [Remote host closed the connection]
browndawg has joined #ruby
twoism_ has joined #ruby
ebobby has quit [Quit: Lost terminal]
justsee has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
twoism has quit [Ping timeout: 264 seconds]
twoism_ has quit [Read error: Operation timed out]
Dwarf_ has quit [Ping timeout: 260 seconds]
oddalot has quit [Quit: Leaving...]
druonysus has quit [Ping timeout: 256 seconds]
Dwarf has joined #ruby
yaymukund has joined #ruby
poga_ has joined #ruby
justsee has quit [Ping timeout: 264 seconds]
akells`` has joined #ruby
jan1337zZz is now known as jan1337z
jan1337z is now known as Jan
poga_ has quit [Remote host closed the connection]
Jan is now known as Guest85575
BlakeRG has quit [Remote host closed the connection]
tonni has joined #ruby
ebanoid has joined #ruby
dweeb has joined #ruby
poga has quit [Ping timeout: 246 seconds]
huoxito has joined #ruby
<dweeb> How do I write a good test for a method like this: http://pastie.org/private/gp161bg5pscsj8x4zwsug (I dont wanna test that deliver return true, I wanna make sure that a notification is created.)
<dweeb> Maybe I should separate it into two methods
monkegjinni has quit [Remote host closed the connection]
akells`` has quit [Ping timeout: 276 seconds]
SegFaultAX has quit [Read error: Connection timed out]
SegFaultAX has joined #ruby
dayepa has quit [Quit: dayepa]
yaymukund has quit [Ping timeout: 260 seconds]
threecreepio has joined #ruby
dayepa has joined #ruby
thepumpkin has quit [Remote host closed the connection]
dankest has quit [Quit: dankest]
vlad_starkov has joined #ruby
haxrbyte has joined #ruby
rburton- has joined #ruby
alfacard has joined #ruby
<alfacard> .__ .__ _______________ _______ ___
<alfacard> \ /| Y \ ___/| | \/\ ___/ | |\___ \ | | | | / / \
<alfacard> \ \/ \/ / | \_/ __ \_ __ \_/ __ \ | |/ ___/ | | | | /\ /
<alfacard> \/\_/ |___| /\___ >__| \___ > |__/____ > |____| |______/ /___/\ "
<alfacard> __ _ _| |__ ___________ ____ |__| ______ \__ ___/ | \ \/ /
<alfacard> \/ \/ \/ \/ \_/
justsee has joined #ruby
alfacard has quit [Read error: Connection reset by peer]
zoee has joined #ruby
justsee has quit [Client Quit]
justsee has joined #ruby
BizarreCake has joined #ruby
dash_ has joined #ruby
<epitron> ____ _ _ _ _ _ _ ___ _
<epitron> | _ \| | | | \ | | \ | |/ _ \| |
<epitron> |____/ \___/|_| \_|_| \_|\___/(_)
<epitron> | | | | | | | \| | \| | | | | |
<epitron> | |_| | |_| | |\ | |\ | |_| |_|
avril14th has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
Xeago has joined #ruby
codecop has quit [Remote host closed the connection]
filipe has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
<avril14th> Hello, is there a way to proper write such a logic https://gist.github.com/muichkine/024ce2566c8c44ee92d8 ?
haxrbyte has quit [Remote host closed the connection]
terlar has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
tyfighter has quit [Quit: tyfighter]
hamakn has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
iliketur_ has joined #ruby
banisterfiend has joined #ruby
<epitron> avril14th: so, the "class" definition only gets evaulated once
browndawg1 has joined #ruby
<epitron> if you want to evaluate that "if" statement more than once, you're going to have to add another function
<avril14th> indeed, only once
<epitron> maybe you should explain what you're actually making so that we can suggest a better way to do it
alfacard has joined #ruby
alfacard has quit [Read error: Connection reset by peer]
threecreepio has quit [Quit: threecreepio]
<avril14th> I have a class A with tons of children classes
michaeldeol has quit [Remote host closed the connection]
browndawg has quit [Read error: Connection timed out]
<avril14th> children can be split into two groups: with or without a set of methods
alfacard has joined #ruby
alfacard has quit [Read error: Connection reset by peer]
<avril14th> (which is determined by the self.func? )
jprovazn has joined #ruby
SteveBenner09 has joined #ruby
<avril14th> so I want to write in one place
sayan has quit [Ping timeout: 264 seconds]
<avril14th> a code that either adds methods / stuffs or not
<avril14th> depending on a "flag" which I wrote here self.finc?; true end
<epitron> maybe you want "include"
<epitron> class B < A
<epitron> include SomeMethods
<epitron> end
<epitron> :)
<avril14th> true :)
persand has quit [Quit: persand]
alfacard has joined #ruby
alfacard has quit [Write error: Connection reset by peer]
<epitron> what's also neat is that SomeMethods could have an "included" method, which gets called when you include the module into a class
<epitron> and its parameter is the class that it was included into
<epitron> so you could class_eval some stuff if you wanted too
alfacard has joined #ruby
<alfacard> a8888b.
<alfacard> d888888b.
<alfacard> 8|o||o|88
<alfacard> 8' .88
<alfacard> 8P*YP*Y88
<alfacard> 8`._.' Y8.
<alfacard> d/ `8b.
<alfacard> .dP . Y8b.
<alfacard> d8:' * `::88b.
<alfacard> d8Y88b
<alfacard> :8P ' :888
alfacard has quit [Read error: Connection reset by peer]
<popl> can someone please ban that guy?
bluenemo has joined #ruby
<Xeago> working on it in #freenode
<epitron> it looks like he's only pasted 2 things
<epitron> #freenode ban seems a bit extreme
alfacard has joined #ruby
<alfacard> a8888b.
<alfacard> d888888b.
<alfacard> 8|o||o|88
<alfacard> 8P*YP*Y88
<alfacard> 8' .88
<alfacard> 8`._.' Y8.
<alfacard> d/ `8b.
<alfacard> .dP . Y8b.
<alfacard> d8:' * `::88b.
<alfacard> d8Y88b
<alfacard> :8P ' :888
alfacard has quit [Read error: Connection reset by peer]
<avril14th> well thx epitron I'll go that way
<epitron> i stand corrected
lethjakm1 is now known as lethjakman
gr33n7007h has quit [Quit: Where's John Conner]
<Xeago> epitron: I personally have a 0-tolerance policy, to #freenode I go if apeiros is not here :)
<Xeago> just a k-line for a few days is usually sufficient
<epitron> i don't mind it
<epitron> i used to hang out in a channel where people would paste ascii art all day :)
<epitron> good thing during conversation lulls
<popl> was it called #ascii-art?
<epitron> #asciipr0n ;)
<popl> well this is #ruby :P
<epitron> and yet, i still don't mind it!
<epitron> so weird
Emmy has left #ruby [#ruby]
Emmy has joined #ruby
<popl> just more crap for me to sift through in my logs
gr33n7007h has joined #ruby
HavokOC has joined #ruby
<epitron> makes it hard to grep for __ \_ __ \_/ __ \
<Xeago> apeiros: do you know of a reason why *!*@freenode/staff/* is not on the ACL?
gr33n7007h has quit [Client Quit]
jaredlevitz has joined #ruby
<Xeago> I personally have a very low, if not 0, tolerance for this and I tend to go to #freenode a lot :)
oddalot has joined #ruby
<popl> Xeago: Are/Were you a hall monitor at school?
<popl> ;)
ahawkins has joined #ruby
<Xeago> hmm, define monitor
<Xeago> I was always observating
<Xeago> never had friends, so I always stood alone
andikr has joined #ruby
<popl> So you stood around and stared awkwardly at people?
<popl> :D
<Xeago> not sure if it was awkwardly, didn't stare tbh
io_syl has quit [Quit: io_syl]
arturaz has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
<popl> ah, you were filming?
<popl> hm
browndawg has joined #ruby
weeems is now known as pweems
iliketur_ has quit [Quit: zzzzz…..]
<zendeavor> you shouldn't make fun of people like that dude
SteveBenner09 has quit [Quit: Leaving]
<popl> I'm not making fun of anyone.
SteveBenner09 has joined #ruby
browndawg1 has quit [Ping timeout: 264 seconds]
shemerey has joined #ruby
lurch_ has joined #ruby
SteveBenner9 has joined #ruby
SteveBenner9 has quit [Client Quit]
shemerey has quit [Client Quit]
<SteveBenner09> Yo. How come, Ruby has poop for REST operation support?
<SteveBenner09> Checked out RestClient, better than net/http... But so little documentation and examples.. seriously
<SteveBenner09> O_o
timonv has joined #ruby
workmad3 has joined #ruby
<SteveBenner09> if anyone is working with SSL in Ruby, what library/gem are they looking at?
timonv has quit [Remote host closed the connection]
quazimodo has joined #ruby
pen has quit [Read error: Connection reset by peer]
<havenwood> SteveBenner09: Nahi put together a great list of HTTP clients: https://spreadsheets0.google.com/pub?hl=en&hl=en&key=0AiZsKd8d4hSJdHFFbjR5aWNjWjlzWlhiNGxQejdBWWc&output=html
razi has joined #ruby
amacgregor_ has quit [Ping timeout: 264 seconds]
pen has joined #ruby
persand has joined #ruby
threecreepio has joined #ruby
<havenwood> SteveBenner09: There are multiple good non-Net/HTTP options.
<havenwood> SteveBenner09: Guy who put the spreadsheet together is the author of HTTPClient, which is really nice.
gstamp has quit [Quit: Computer has gone to sleep.]
threesome has joined #ruby
<SteveBenner09> That is extremely encouraging. I was really hoping that it was my inexperience leading to a lack of finding good libs
<SteveBenner09> thank you for this resource (I'd love to contribute, incidentally...)
aganov has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
snovak has joined #ruby
dmiller has quit [Remote host closed the connection]
<havenwood> SteveBenner09: Mechanize and HTTPClient are two of my favorites. For quick one-off scripts, HTTParty has some handy built-in XML/HTML/JSON parsing. The curl wrappers are really, really fast especially for non-concurrent stuff.
cj3kim has joined #ruby
Senjai has quit [Read error: Operation timed out]
obs has joined #ruby
dash_ has quit [Ping timeout: 246 seconds]
snovak has quit [Ping timeout: 264 seconds]
<SteveBenner09> My current focus is on building a Rhodes app, so I admit that my needs are particular... It's for synchronizing user data using TouchDB and CouchDB, so the use cases are... interesting
danielglh has quit [Quit: leaving]
<SteveBenner09> I'll be taking a look at these, especially anything with good SSL support since thats a difficult area for me to dive into and necessary for my project
cookiemonsta has joined #ruby
<SteveBenner09> havenwood: thanks again!
maz-dev has joined #ruby
senayar has joined #ruby
dash_ has joined #ruby
ffio has joined #ruby
dangerousdave has joined #ruby
hamakn has quit [Remote host closed the connection]
<havenwood> SteveBenner09: No prob. From the sound of what you're doing I wonder if ZeroMQ or RabbitMQ might be nice, for asynchronous messaging. Also people forget about DRB.
Al_ has joined #ruby
hamakn has joined #ruby
browndawg has quit [Read error: Connection timed out]
<SteveBenner09> there already :) looks fascinating
clocKwize has joined #ruby
<havenwood> I haven't used DRB for real work, but I'd love to. Just played with it but seems neat.
cj3kim has quit [Ping timeout: 276 seconds]
<bnagy> I have used drb a lot for local-system rpc, it's fast
<havenwood> Seems to be a solid alternative to 0MQ and the others as long as Ruby can be on both ends.
<bnagy> never really had the guts to look at it for distributed work
<bnagy> and, as you say, it locks you into ruby
maxmanders has joined #ruby
browndawg has joined #ruby
<SteveBenner09> I'll have to compare DRB this with my current design (which not at implement phase yet), which is to use HTTPS at the start, and then to optimize, upgrade to MessagePack base64 raw packets over TCP sockets if possible
<bnagy> I tend to prefer the actor / message passing model to rpc for 'real' work, though
<SteveBenner09> the web server is Erlang so its connected to CouchDB and TouchDB nicely
<bnagy> especially async
devdazed has quit [Ping timeout: 245 seconds]
hamakn has quit [Read error: Connection reset by peer]
<SteveBenner09> I did look at ZeroMQ, but I'll have to see where that fits in... the mobile devices use the implementation of TouchDB to actually send the data
<bnagy> messagepack also has an rpc addon fwiw
<havenwood> SteveBenner09: Have you looked at DCell?: https://github.com/celluloid/dcell#readme
<SteveBenner09> but on the server I want to integrate ZeroMQ asap
<bnagy> zeromq from ruby is... a bit tricky tbh
<bnagy> getting clean exits etc can be a total pain in the ass
companion is now known as Companion
<bnagy> also afaik the core 0mq devs have moved on
<bnagy> to crossroads I think
<havenwood> bnagy: ooh, didn't know that
Coffers has joined #ruby
<SteveBenner09> right, I wasn't planning on using it in the app code, but rather for integrating the system components on the server, which are mostly Erlang. It (theoretically) sounds easy to glue Erlang and Ruby with 0mq but I haven't gotten to that phase yet :)
<bnagy> plus, the binary lib dependency is a huge pain in the butt
Wildhoney has joined #ruby
<SteveBenner09> yes I also heard that, makes me sad
<bnagy> if you are using erland why not go amqp?
<havenwood> yeah, DCell uses 0MQ
<SteveBenner09> just like the Apache guys are jumping to CouchBase hahaha
<SteveBenner09> ah commercialism... when will it bite
<havenwood> use any Elixir? seems quite nice.
<bnagy> I moved some moderately high traffic stuff from amqp to 0mq for 'speed' and turned out it didn't really help at all, and it was a shitload harder to code for
<bnagy> whereas there are really good libs for amqp
<SteveBenner09> bnagy: my associate who created the web server and erlang packages just left actually, so I'm not a real erlang programmer (yet)
hamakn has joined #ruby
<SteveBenner09> I come from a ruby/web background with systems stuff thrown in
<SteveBenner09> but ABSOLUTELY going to hit Elixir hard..
<SteveBenner09> excited for that
devdazed has joined #ruby
<SteveBenner09> bnagy: Hmm, thanks for that thought. I havent used 0mq as of yet, so my impressions are only of the attractive API and the cross-platform integration possibilities. Definitely keeping my eyes open for the best alternatives. Thanks for the info..
francisfish has quit [Ping timeout: 276 seconds]
<bnagy> fwiw my can't live without tools are messagepack, beanstalkd, amqp
<bnagy> and jruby
hogeo has quit [Remote host closed the connection]
obs has quit [Quit: Konversation terminated!]
<bnagy> also, the 0mq API is not attractive imho
<bnagy> I loved it, like.. a LOT
Xeago has joined #ruby
hogeo has joined #ruby
<bnagy> but you need to reinvent a lot of wheels to suit your usecase
francisfish has joined #ruby
<bnagy> whereas if you can shoehorn it into either 'queue' or 'pubsub' etc then it's trivial with other tools
<bnagy> I really think it's a bad choice for buffery stuff, imho
<bnagy> stuff just vanishes into magic C land where it starts bloating invisible buffers
sayan has joined #ruby
<SteveBenner09> full disclosure: I'm just out of College so I have some 'hard-coded' limits of how much I've worked with.. No clue how 0mq would compare in my project!
hamed_r has joined #ruby
<SteveBenner09> hmm no likey magic C land
rburton- has quit [Quit: Linkinus - http://linkinus.com]
<SteveBenner09> I'm definitely waiting to investigate that particlular problem until I dive into TouchDB's implementation, which will be where I find the optimizations for iOS, our main target platform...
<bnagy> it's good for a 'crazy magic distributed supercomputer' pattern if you know what you're doing
<bnagy> if you want a work queue, it's probably not an awesome choice
jim0thy_ has joined #ruby
cavel has quit [Ping timeout: 256 seconds]
lyanchih has quit [Quit: lyanchih]
<SteveBenner09> well, until we evaluate a replacement programmer for dedicated server needs, I'm the only one on the project, so I'm definitely going to be kicking it off with Ruby libraries first
<bnagy> messagepack is a good crossplatform serialisation choice, imho, unless you are forced to use shitty json for some bizarre reason
troessner has joined #ruby
<SteveBenner09> I looked into backburner but that is still down the road too.
vlad_starkov has quit [Remote host closed the connection]
<SteveBenner09> no yeah, I see messagepack as a great priority once I get the basic functionality polished
<SteveBenner09> the app isn't 'live streaming' oriented, so it can definitely offload the encoding process to the ruby thread (this is using Rhodes which has 3 threads, one for pure Ruby, one for the built-in web server, and one for the GUI) and keep net traffic optimized
<SteveBenner09> which is another reason I'm loving the idea of touchDB, because I will be moving DB operations in the background as a Rhodes extension asynchronously
timonv has joined #ruby
tonni has quit [Remote host closed the connection]
<havenwood> bnagy: I've gotta look more at beanstalkd.
<bnagy> it is my most favouritest evar
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
<bnagy> I think they're rewriting the native ruby client again though :/
Xeago_ has joined #ruby
persand has quit [Quit: persand]
<SteveBenner09> bnagy: have you any experience using backburner good sir? The other one on my list to investigate is Resque
ThePicard has joined #ruby
<bnagy> no, I never had a reason to move off beanstalkd. I hear good things about resque, sidekiq blah blah but I don't know
<bnagy> beanstalkd would not, by itself, have great integration with webby stuff, afaik
<popl> bnagy is old and set in his ways
Xeago__ has joined #ruby
Matriks has joined #ruby
<popl> Xeago__: I wasn't making fun of you, btw.
<popl> Xeago__: If you got that impression…
<bnagy> well, I moved off amqp to 0mq... but then I moved back :(
mikecmpbll has joined #ruby
persand has joined #ruby
oddalot has quit [Quit: Leaving...]
niceguyjames has joined #ruby
blaxter_ has joined #ruby
<SteveBenner09> Cool. I have the advantage of being raw and full of endless possibilities and opportunity. and totally ignorant.
<popl> SteveBenner09: usually goes hand in hand
Xeago has quit [Ping timeout: 248 seconds]
gyzmodo has joined #ruby
<popl> An unformed lump of clay is potentially a masterful sculpture, right?
<bnagy> or a giant dong
<popl> bnagy: equally possible
browndawg has quit [Read error: Connection timed out]
<bnagy> not equally
<popl> what is it with programmers and dongs?
<popl> for some definition of 'equally'
michaeldeol has joined #ruby
<SteveBenner09> not sitting around in college classes has already improved the composition of whichever makes up me
sergicles has quit [Quit: sergicles]
<bnagy> the one that means the opposite of the actual meaning?
<SteveBenner09> so either way I'm set
Xeago_ has quit [Ping timeout: 248 seconds]
<bnagy> cause, I have tried masterful sculpture, and I have tried giant dongs, and dongs are way easier
marr has joined #ruby
<popl> bnagy: Is negaverse-bnagy a nice guy?
DylanJ has joined #ruby
<bnagy> there is probably another programming metaphor at the other end of this somewhere...
browndawg has joined #ruby
<bnagy> or possibly just ascii dongs
<zets> dongs are the greatest programming metaphor
jim0thy_ has quit [Quit: jim0thy_]
<gyzmodo> hey guys
<popl> bnagy: I have a sneaking suspicion that early artifacts like the Venus of Willendorf are something like that
<gyzmodo> i am newbie in programming, please recommend me ruby book for beginners
<gyzmodo> thanks
<bnagy> zets: your eight totally equals uppercase 'd'
<havenwood> gyzmodo: I've heard `Learn to Program` by Chris Pine is good: http://pine.fm/LearnToProgram/
<zets> can't argue with that
blaxter_ has quit [Quit: foo]
<gyzmodo> havenwood, thank you man
<gyzmodo> btw, i've heard that ruby is not recommended for newbies in programming, is it true?
<zets> ruby is fine
<havenwood> gyzmodo: I haven't read it, but keep hearing people recommend it for new programmers. And its Ruby! Good list of general resources here: http://www.ruby-lang.org/en/documentation/
Guest51175 has joined #ruby
tonni has joined #ruby
<bnagy> hrm
<havenwood> gyzmodo: I think its fantastic for newbies.
Wildhoney has quit [Quit: Wildhoney]
Guest51175 has left #ruby [#ruby]
<mrsolo> i don't
<tobiasvl> i do
<gyzmodo> i saw some examles, it looks great!
<bnagy> I think it's a pretty good teaching language, apart from some of the functional stuff which can be kind of mindbending
<tobiasvl> LET'S FIGHT
<SteveBenner09> ruby is the best newby programming language
<SteveBenner09> it teaches you good paradigms
<tobiasvl> ruby makes programming seem as exciting and funny as it should be
<mrsolo> there are worst choices
<mrsolo> but
<bnagy> I think pairing it with a curly brace strongly typed language would be useful
<mrsolo> it can be a blow torch so there
<gyzmodo> i am agree with you guys
tatsuya_o has joined #ruby
<SteveBenner09> don't you learn C anyways though
<gyzmodo> i am also reading why's book
<mrsolo> no
YaNakilon has quit [*.net *.split]
marcgg has quit [*.net *.split]
guitsaru has quit [*.net *.split]
Tippler has quit [*.net *.split]
forced_request has quit [*.net *.split]
moted has quit [*.net *.split]
brjannc has quit [*.net *.split]
ichilton has quit [*.net *.split]
cosmin has quit [*.net *.split]
chuk has quit [*.net *.split]
octarine has quit [*.net *.split]
moeSeth has quit [*.net *.split]
ziyadb has quit [*.net *.split]
zero7 has quit [*.net *.split]
JoeTheGuest has quit [*.net *.split]
Villadelfia has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
felixjet_ has quit [*.net *.split]
erichmenge has quit [*.net *.split]
thelamest has quit [*.net *.split]
supki has quit [*.net *.split]
mburns has quit [*.net *.split]
mosez has quit [*.net *.split]
matled has quit [*.net *.split]
Schuy13r has quit [*.net *.split]
Elfix has quit [*.net *.split]
bmn has quit [*.net *.split]
BlueShark has quit [*.net *.split]
ninegrid has quit [*.net *.split]
FDj has quit [*.net *.split]
monomyth has quit [*.net *.split]
Columcille has quit [*.net *.split]
Guest58299 has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
Rix has quit [*.net *.split]
fcoury has quit [*.net *.split]
xefi_ has quit [*.net *.split]
petru has quit [*.net *.split]
vadviktor_ has quit [*.net *.split]
kenichi has quit [*.net *.split]
<mrsolo> i doubt you have to learn c nowdays
matled has joined #ruby
ichilton has joined #ruby
petru has joined #ruby
supki has joined #ruby
Columcille has joined #ruby
mksm has joined #ruby
mosez has joined #ruby
mburns has joined #ruby
ninegrid has joined #ruby
monomyth has joined #ruby
guitsaru has joined #ruby
JoeTheGuest has joined #ruby
Schuy13r has joined #ruby
thelamest has joined #ruby
kenichi has joined #ruby
chuk has joined #ruby
hellyeah has joined #ruby
BlueShark has joined #ruby
petru is now known as Guest25803
marcgg has joined #ruby
mksm is now known as Guest76282
yxhuvud has joined #ruby
<hellyeah> i just want to write html code in ruby sinatra is good for this
octarine has joined #ruby
moeSeth has joined #ruby
ziyadb has joined #ruby
moted has joined #ruby
zero7 has joined #ruby
<zets> I don't think it really matters too much what your first language is, though it helps for it to be popular and useful. Ruby and python are two languages I'd recommend for starting out with.
Tippler has joined #ruby
DrForr_ has quit [Ping timeout: 250 seconds]
SteveBenner009 has joined #ruby
SteveBenner09 has quit [Write error: Connection reset by peer]
Silent__ has joined #ruby
<SteveBenner009> :gyzmodo if you like a 'book' I recommend thsi http://ruby.learncodethehardway.org/book/
erichmenge has joined #ruby
kung has quit [Write error: Connection reset by peer]
FDj has joined #ruby
forced_request has joined #ruby
<gyzmodo> i've started with Ruby
kung has joined #ruby
nkts has joined #ruby
<gyzmodo> and i am happy
<gyzmodo> :)
<bnagy> a lot of the ruby code in that is .. well .. shitty
felixjet has joined #ruby
Astralum has joined #ruby
fcoury has joined #ruby
vadviktor_ has joined #ruby
<bnagy> zed's just basically writing python in ruby
<SteveBenner009> the hard way book?
michaeldeol has quit [Ping timeout: 264 seconds]
Villadelfia has joined #ruby
<havenwood> ^ yeah, interesting series but often not idiomatic Ruby
<bnagy> but it covers a lot of stuff
<mrsolo> what a split!
YaNakilon has joined #ruby
yacks has joined #ruby
DrForr has joined #ruby
bmn has joined #ruby
<SteveBenner009> hmm. the 'lot of stuff' point was what I was thinking, I actually havent gone back to that for about a year when I began ruby myself
<SteveBenner009> probably would agree
brjannc has joined #ruby
Killerkeksdose has joined #ruby
<zets> I really enjoyed The Well-Grounded Rubyist
k_man has joined #ruby
<SteveBenner009> I like the pragmatic ones now a days usually
<gyzmodo> guys huge thanks for books
<gyzmodo> you are awesome!
axsuul has quit [Ping timeout: 251 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
<k_man> LOL
<SteveBenner009> There is one called 'ruby phrasebook' that I enjoyed having, simply because I could memorize patterns and sytnax on a mobile device reading it
Hobogrammer_ has quit [Ping timeout: 274 seconds]
<SteveBenner009> was pretty useful for me
<SteveBenner009> but don't listen to me! I feel bad recommending that first one now. Heh.
<gyzmodo> SteveBenner009, do you mean Clinton's book?
<SteveBenner009> in the end my favorite learning has always been from BLOGS online, haha
Rix has joined #ruby
<SteveBenner009> gyzmodo: yes
<hellyeah> is there anyone here use debin
<hellyeah> debian
Elfix has joined #ruby
oddalot has joined #ruby
<k_man> I use osx
justsee has quit [Ping timeout: 256 seconds]
<k_man> do you have some problem?
noname001 has joined #ruby
<hellyeah> ye
ghr has joined #ruby
filipe has quit [Read error: Operation timed out]
ghr has quit [Client Quit]
<k_man> go head, maybe i could help you
pygospa has quit [Ping timeout: 246 seconds]
popl has quit [Quit: We must make an idol of our fear, and call it God.]
<hellyeah> i installed everything necessary but i took this error root@debian:/var/www/banabirsorgun# rails server -su: rails: command not found
<havenwood> hellyeah: Sinatra is great for light web apps. You can serve up HTML with Sinatra, but if that is the extent of what you're doing a static site generator like Jekyll might make more sense.
<havenwood> (previous question)
<havenwood> hellyeah: gem install rails
<havenwood> hellyeah: Rails channel is #RubyOnRails by the way.
lkba has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
pygospa has joined #ruby
camilasan has joined #ruby
mklappstuhl has joined #ruby
<havenwood> hellyeah: Are you using the apt Ruby? If so, `sudo gem install rails`, but make sure you're at least using ruby1.9.1-full.
snovak has joined #ruby
blueredturtle has joined #ruby
<havenwood> hellyeah: Or better yet, chruby (RVM or rbenv are alternatives): https://github.com/postmodern/chruby#readme
axeman- has quit [Remote host closed the connection]
<sevenseacat> +1 chruby
Xeago has joined #ruby
<hellyeah> afaik i use ruby 1.9.3
<havenwood> hellyeah: 2.0 would be better, but as long as it isn't 1.8!!
Xeago__ has quit [Ping timeout: 246 seconds]
<hellyeah> i got ruby 1.9.3 from debian sid repos i guess it is fair enough
<SteveBenner009> you can type 'which ruby' in the terminal to find out
browndawg has quit [Read error: Connection timed out]
elaptics`away is now known as elaptics
nari has quit [Ping timeout: 245 seconds]
<SteveBenner009> that will show you where the executable is loading from therefore which version will run in your apps by default
<mrsolo> hellyeah, you better off using rvm type solution and less depending on the o/s package
<SteveBenner009> (the system can be overriden by apps though)
<havenwood> hellyeah: 1.9.3 is fine. Just so a `sudo apt-get install -y 1.9.1-full` to make sure you got the whole thing. Then a `sudo gem install rails` should do the trick.
bluenemo has quit [Remote host closed the connection]
<mrsolo> they less to have less surpises dealing with rails
<zendeavor> 1.9.3.-full ?
<mrsolo> s/less/tend/
<SteveBenner009> mrsolo: you recommend rvm over rbenv?
<mrsolo> i only know rvm
<mrsolo> can't comment on others
<havenwood> zendeavor: Silly debian folk call the 1.9.3 package ruby1.9.1.
<SteveBenner009> I really like rbenv, way easier and more friendly to use
axeman- has joined #ruby
<zendeavor> well okay.
<SteveBenner009> depends on what you are doing though I guess.
<hellyeah> ruby-1.9.3-full?
browndawg has joined #ruby
snovak has quit [Ping timeout: 276 seconds]
<lurch_> SteveBenner009: +1 .. rvm is more intrusive imo, it overrides 'cd' and messes up signal traps
mklappstuhl has quit [Remote host closed the connection]
<mrsolo> right
<mrsolo> but it has that hack to work with multiple version of rails..
<mrsolo> ugly hack..but it works
Xeago_ has joined #ruby
cj3kim has joined #ruby
ephemerian has joined #ruby
blueredturtle has left #ruby [#ruby]
blueredturtle has joined #ruby
blueredturtle has quit [Client Quit]
tonni has quit [Remote host closed the connection]
blueredturtle has joined #ruby
<SteveBenner009> X)
elaptics is now known as elaptics`away
ebanoid has quit [Quit: brbomgwtfbbq]
tonni has joined #ruby
<maloik> SteveBenner009: what's so funny about that ?
elaptics`away is now known as elaptics
<SteveBenner009> lurch_ that is very in-depth but I really agree that the lower-level you go and the more you dig into the system, the better rbenv is to work with
timonv has quit [Remote host closed the connection]
blueredturtle has quit [Client Quit]
<SteveBenner009> it really has a better design I feel
tonni is now known as ta
blueredturtle has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
<SteveBenner009> well, in case someone had already just installed rvm and that's a tutorial to change to rbenv
<maloik> SteveBenner009: and to be clear that's an honest question, if you have anything to remark I do want to hear about it
<havenwood> well, i guess now ruby1.9.3 is an actual package with differences from ruby1.9.1 (which is also 1.9.3): http://packages.debian.org/sid/ruby1.9.3
<havenwood> uhg. >.>
<SteveBenner009> well my point was I would start with rbenv, but if you had already gone to a lot of trouble with RVM... it can be a pain to uninstall/remove
blueredturtle has quit [Client Quit]
<zendeavor> rvm implode
blackmesa has joined #ruby
<havenwood> SteveBenner009: Have you looked at chruby compared to rbenv? Might save a second move. :P
<SteveBenner009> I'm not superior when it comes to recommending either one, but like I say rbenv has struck me as better overall
<SteveBenner009> rbm implode has not always worked fo rme
<SteveBenner009> I have had to clean up (on mac osx) some things in the past
<SteveBenner009> but that might be local to my issues.
<zendeavor> well rvm is a disaster at this point
<SteveBenner009> I am still learning the bash/profile stuff of course
<sevenseacat> of course.
cj3kim has quit [Ping timeout: 256 seconds]
<workmad3> SteveBenner009: screw bash, https://github.com/robbyrussell/oh-my-zsh :D
<zendeavor> rvm still gets the job done, but good effing luck understanding it
<sevenseacat> most people i work with still swear by rvm
<zendeavor> screw oh-my-zsh in a hard way
<zendeavor> prezto
<SteveBenner009> maloik: I would say something reliable you can have from me is this: start with learning Bundler
<SteveBenner009> right!
<workmad3> I use chruby locally for dev stuff
<zendeavor> if you're going to use a zsh helper, use prezto
* sevenseacat uses plain zsh
<maloik> SteveBenner009: I'm talking about that gist you linked
<mrsolo> http://edapx.com/2013/05/23/switching-from-rvm-to-rbenv/ <- hmm another one moving from rvm to rbenv
<atmosx> rvm works great for me with zsh on osx
<workmad3> but then I use rvm on servers because I find it easier to integrate into my chef workflows
<havenwood> workmad3: <3 zsh but oh-my-zsh bleh
linux_noob_666 has joined #ruby
oddalot has quit [Quit: Leaving...]
<mrsolo> guess i need to catch up on recent ruby events
<atmosx> but discussing about rvm/chruby/rbenv is so boring
<atmosx> ..
<SteveBenner009> oh my zsh looks sweet but honestly I have been almost exclusively developing on unix right now
<havenwood> never tried prezto
<SteveBenner009> and not even that much hardcore CLI stuff
<zendeavor> prezto is the best helper
<zendeavor> (all helpers still suck infinitely)
<SteveBenner009> ive heard its good
<SteveBenner009> just haven't needed to dig into that yet
blueredturtle has joined #ruby
Wildhoney has joined #ruby
<sevenseacat> i dont get the whole idea of rbenv's shims
<havenwood> workmad3: I like the themes, so stole just that. Found the rest more error prone than helpful.
blueredturtle has quit [Client Quit]
<havenwood> (But added emoji to themes. Muhahahaa.)
<zendeavor> the oh-my-zsh themes are outdated too
<havenwood> Yeah, too little emoji! :P
blueredturtle has joined #ruby
<sevenseacat> i used to use oh my zsh, i ditched it after an upgrade completely broke the theme i had made
<workmad3> havenwood: hmm, I spent some time tweaking in my own theme with colours and emoji, found a set of useful plugins, and I'm now happy :)
<zendeavor> no, just stale
thillux has joined #ruby
<SteveBenner009> the shim is a custom term they use to represent their 'routing' to the ruby binary
<zendeavor> it's not a custom term
<SteveBenner009> I really like rbenv because its method is flexible and non-intrusive\
<zendeavor> shim is an old term
<zendeavor> and shims are by definition intrusive
<workmad3> havenwood: had a few foobars at times, but they were when I screwed up my zshrc in bad ways :)
<sevenseacat> it is an old term, i dont get why rbenv needs them
<SteveBenner009> RVM by comparison (again, I'm no expert) seems like a cat penetrating another female. Cats have barbed dicks. It's like that.
<sevenseacat> just means more maintenance work\
<zendeavor> SteveBenner009: you're a little misled
<SteveBenner009> about the cats?
<sevenseacat> 'im having problem xyz' 'did you rehash first?' 'whoops'
<zendeavor> about how intrusive rbenv is
<zendeavor> shims are, by definition, intrusive. on purpose. that's the point.
<SteveBenner009> oh. You've experienced problems with that system?
jibi has joined #ruby
<SteveBenner009> yes, point taken.
<workmad3> SteveBenner009: RVMs mechanism for shifting ruby versions is less intrusive (it does env-var manipulations, which is the correct, unixy way to do that sort of thing for multi-user support). The rest of it is supporting infrastructure to try and make extra things easy
blueredturtle has left #ruby [#ruby]
<mrsolo> oh man
<zendeavor> unfortunately rvm is so monstrous and bloated and complicated it failed to make anything else easy
wargasm has quit [Ping timeout: 276 seconds]
<workmad3> SteveBenner009: which is why I use chruby... I don't care about that supporting infrastructure locally, I just want the envvar stuff :)
<zendeavor> it's just a completely different system that you have to learn from the ground up
<mrsolo> this isn't one of those discussion eh?
<zendeavor> once you know it, sure it's easy.
<mrsolo> test/unit vs rspec?
<sevenseacat> i ditched rvm after i had to upgrade the entire system just to get a new list of rubies, and it exploded
<SteveBenner009> then I've overstepped my knowledge of both packages it appears
<havenwood> mrsolo: Use chruby or have rubies thrown at you!!
<sevenseacat> mrsolo: pfft, rspec all the way
<workmad3> mrsolo: Y U NO LIEK MINITEST?
<zendeavor> chruby is the best of the bunch, that's why i used it as a basis for my project
<sevenseacat> lol minitest
<mrsolo> ya yes we need time for coffee break eh?
mosez has quit [Quit: Switching back to real life]
<SteveBenner009> I don't actually consider shims 'intrusive' since my perspective is that the profile files are very accessible
<hellyeah> there is no ruby-1.9.3-full btw
<havenwood> Ooh, i did buy 3 glass Rubies from Amazon, interested to see how they look!
blaxter has joined #ruby
<sevenseacat> i'm not sure that sentence made much sense.
<lurch_> I agree with SteveBenner009.. I had scripts break (that didn't had anything to do with rvm) in weird ways because of the overrides that rvm did
<lurch_> never had issues like that with rbenv\
<zendeavor> SteveBenner009: well, shims want to be accessible. the intention is to wrap the existing infrastructure in a convenient package that automagically derives what you wanted to do
<bnagy> shims are fine
<bnagy> env vars are fine
<zendeavor> "now everyone shut up"
<SteveBenner009> rbenv uses ONE directory in your home path... since I'm a 'newb' still this will always be my preferred way of keeping things in context
<bnagy> rvm is a zombie abortion holding a fucking scalpel
<workmad3> SteveBenner009: rbenv shims have to get in the way of *every* ruby command
<sevenseacat> he says that like the others use more than one
<SteveBenner009> I am working with a dozen different languages/frameworks and I don't specialize system stuff as much as Id love to
<workmad3> SteveBenner009: and redo the work of looking up which ruby to use
<workmad3> SteveBenner009: while chruby just sets your env-vars and gets the hell out of your way
<SteveBenner009> welll honestly I use RubyMine almost *exclusively* at this point :0
<SteveBenner009> :)
<SteveBenner009> its fucking magical
<workmad3> meh
<SteveBenner009> I don't run into serious issues with 'which ruby'
<SteveBenner009> I know by this point all the places ruby can find itself into the system heh
heftig has quit [Ping timeout: 245 seconds]
<zendeavor> you mean, anywhere?
<zendeavor> because it's anywhere.
dodosan has joined #ruby
<SteveBenner009> my beef is that with RVM, I've had to uninsta//reinstall for specific programs, and it is a serious disruption
devdazed has quit [Ping timeout: 264 seconds]
<zendeavor> to be fair, you were probably doing it wrong
<SteveBenner009> because I have to switch contexts of my gems and stuff too.. not fully 'in gear' with gem management you could say.
<zendeavor> but to be extra fair, i don't blame you for the confusion
<sevenseacat> lol
<SteveBenner009> right. I'm fine with admitting that.
<sevenseacat> you dont need to do 'gem management'
<SteveBenner009> I'd love to learn more about all these systems, that is the point
Emmy is now known as EMMY
<SteveBenner009> What I mean by that is keeping track of which versions of Ruby have which gems installed, nothing more
cookiemonsta has quit [Quit: Leaving.]
<SteveBenner009> I'm trying to switch to using bundler for everything
<SteveBenner009> which is what I meant
<sevenseacat> yeah you dont need to do that
<havenwood> I wonder if Tokaido will succeed at becoming the defacto standard for OS X installations of Ruby.
<SteveBenner009> it seems like a good plan at this point
<havenwood> Tokaido just did first pre-release build: https://github.com/tokaido/tokaidoapp/releases/tag/v0.5-pre1
<zendeavor> pimp it havenwood
<sevenseacat> well yes, you should be using bundler
<sevenseacat> thats what its for :)
<SteveBenner009> right I think you feel me
flughafen has joined #ruby
<sevenseacat> oh wow, tokaido actually made it to a releaseish
DrForr has quit [Ping timeout: 260 seconds]
<havenwood> zendeavor: NOW STARE INTO MY SWIRLING EYES AND USE THIS SOFTWARE.
<SteveBenner009> I have been doing lots of installs since I am stuck with a mac laptop but WINDOWS fcking desktop until I can afford better hardware
<SteveBenner009> I tried making a dual-boot but ended up going with VM option
ndrei has joined #ruby
<zendeavor> havenwood: ahuh
DrForr has joined #ruby
<sevenseacat> lolwindows
<zendeavor> i think chrubylib is complete at this point
<havenwood> Jeesh, I don't think I've recommended Pry in hours... Use Pry!
<SteveBenner009> windows makes my eyes bleed
devdazed has joined #ruby
<SteveBenner009> Tokaido looks sweet. awesome, havenwood
<zendeavor> stuck with windows?
<zendeavor> there's always linux.
<zendeavor> come to the dark side.
<zendeavor> we have debug outputs.
<havenwood> SteveBenner009: Can you do some Vagrant boxes? Vagrant works on Windows, right?
* flughafen is windows free since almost 10 years
Wildhoney has quit [Quit: Wildhoney]
<zendeavor> 3 years windows free here =]
<zendeavor> feels good man
<SteveBenner009> this one is jealous of you all
<bnagy> lol desktop linux
<sebastianb> Nah, windows is good for games ;)
<SteveBenner009> I am broke and therefore in many kinds of pain :)
<sebastianb> (and only for that)
dodosan has quit [Ping timeout: 264 seconds]
<sevenseacat> i still keep windows for gaming
<zendeavor> bnagy: someday
<havenwood> zendeavor: almost missed that, chrubylib feature complete?
<sevenseacat> but apart from that, windows free since 2008! \o/
<flughafen> sebastianb: i gave up windows gaming and just bought a console, but now with steam/desura the gaming scene is quickly changing on linux
<workmad3> sebastianb: spacechem works on a mac... who cares about games :P
<havenwood> zendeavor: sick
<SteveBenner009> I am using Virtualbox with Ubuntu 12
<sevenseacat> workmad3: now you're speaking my language
<SteveBenner009> so far its nice but my motherboard is ... well.. 5 years old.. and can't do virtualization... *cries*
<sevenseacat> more people need to play spacechem
<SteveBenner009> CPU virtualization*
<zendeavor> havenwood: as far as i can tell. but it's not testable. there are no testing frameworks that i can leverage
<workmad3> SteveBenner009: install ubuntu!
<mrsolo> sevenseacat, i play spacechem!
<sevenseacat> \o/
vlad_starkov has joined #ruby
<sebastianb> flughafen: playing fps' on console is like shaving with a balloon
<zendeavor> havenwood: remember the problem with testing ksh-family, shunit2 can't figure out functions defined without trailing ()
<SteveBenner009> I play Warframe. Pretty amazing for F2P
<mrsolo> sevenseacat, fastest time or minimal node
<flughafen> sebastianb: you get used to it, but you're right, it does suck
<sebastianb> workmad3: I use macs as well. But I usually have windows on them via bootcamp
<sevenseacat> i always try to go least number of cycles.
<SteveBenner009> workmad3 I am, on VM. I tried on desktokp and guess what? No native dual monitor support =(
<havenwood> aye
<zendeavor> havenwood: and i still need to separate the lib part from the chruby user-facing part
<SteveBenner009> either that or I failed to understand how to effortlessly hack it
hakunin has quit [Read error: Connection reset by peer]
<mrsolo> sevenseacat, same here
<SteveBenner009> I needs my monitors.....
hakunin has joined #ruby
<sevenseacat> i need to go back to my desktop and copy over all my saved solutions to my laptop
ndrei has quit [Client Quit]
<mrsolo> sevenseacat, uploaded few on u tubte and of course nobody watch those
wookiehangover has quit [Ping timeout: 246 seconds]
<zendeavor> havenwood: other than that, it's uhm...yeah i can't think of anything else (except some of it may be...*too* generic)
<sevenseacat> y spacechem not support cloud syncing *shakes fist*
<flughafen> i have windows servers at work i have to test with(once a year) but using windows makes me appreciate linux more. then using oracle products makes me appreciate windows
<sebastianb> flughafen: btw, I would rather ditch gaming at all if I would have to play on console
jwang has quit [Ping timeout: 246 seconds]
__main__ has quit [Ping timeout: 246 seconds]
<workmad3> SteveBenner009: yeah, graphics card support can be a bit finickety at times... the decent drivers are distributed by the vendors and aren't always available directly from the ubuntu repos due to licencing issues
<sebastianb> consoles are only good for 'fighting' games. ie mortal kombat ;)
mary5030 has quit [Remote host closed the connection]
jealous-pated77 has quit [Ping timeout: 264 seconds]
<workmad3> sebastianb: and platformers
Wildhoney has joined #ruby
ndrei has joined #ruby
<workmad3> sebastianb: 2d ones anyway :)
lambda has quit [Read error: Connection reset by peer]
adrenaline_ has quit [Ping timeout: 264 seconds]
dr_ick has quit [Ping timeout: 264 seconds]
<zendeavor> havenwood: i hope to submit it to postmodern in near future, but i have doubts for it since it can't be tested. but i'm 99% certain it works on any shell/version that supports bash3+ featureset
lambda has joined #ruby
<sebastianb> workmad3: the last 'platform' game I played is mario bros on nes :D
<workmad3> sebastianb: and was it awesome? :P
marsLantern has quit [Read error: Connection reset by peer]
timonv has joined #ruby
<sebastianb> and it was called 'pegasus' btw
zacts has quit [Ping timeout: 264 seconds]
marsLantern has joined #ruby
<sebastianb> workmad3: sure thing. I spent HOURS playing mario bros
<sebastianb> and I never actually finished it
<sebastianb> ;D
nomenkun has joined #ruby
<workmad3> :)
<flughafen> i am terrible at gaming anyway
zacts has joined #ruby
<sebastianb> everything takes practice, young padawan
<sebastianb> ;P
<workmad3> flughafen: that's why I still prefer single-player games
<flughafen> i dont play enough to be good at anything... and I go through phases,
<zendeavor> havenwood: if you want to look over it again, it's the 040 branch of my chruby fork
Mon_Ouie has quit [Ping timeout: 276 seconds]
<sebastianb> If I have time for gaming I only play fps'
<workmad3> flughafen: so I can suck and it stays between me and the computer :)
<sebastianb> bf3 in particular
dr_ick has joined #ruby
<mrsolo> flughafen, then you will be great at spacechem
adrenaline_ has joined #ruby
<mrsolo> flughafen, that is one programming simulator
<flughafen> my computer beat me at chess, but it was no match for me in kickboxing
<havenwood> zendeavor: nice, i will - i gotta test it out in 3.2 too, but bout to crash so will do later
<zendeavor> well
<workmad3> mrsolo: it ain't no 'simulator'... it's a visual programming language wrapped up into a storyline :)
<zendeavor> i don't necessarily recommend you testing it so much yet
blackmesa has quit [Ping timeout: 240 seconds]
<zendeavor> i need to manually test it myself first more thoroughly
vlad_starkov has quit [Ping timeout: 264 seconds]
<mrsolo> hmm what storyline?
* mrsolo goes check
<flughafen> workmad3: yeah, i generally don't play online very much unless i have to, it just usually involves me being killed repeatedly
<havenwood> zendeavor: kk, fun to poke at it though - see what breaks :)
<sebastianb> You're a quitter
<sebastianb> ;)
<flughafen> pretty much
<zendeavor> havenwood: fair enough, you know where to find me
nkts has quit [Quit: -]
bricker_ has joined #ruby
<workmad3> mrsolo: the storyline where you work for spacechem and weird monsters keep on trying to destroy your current office
<havenwood> zendeavor: reminds me, i wanted to install mksh to try it out and can't get the darned thing to build - another for todo list
ndrei has quit [Client Quit]
klaut has joined #ruby
ndrei has joined #ruby
<sebastianb> sounds fun
<sebastianb> ...
<zendeavor> havenwood: the user-facing chruby part isn't even fully implemented yet iirc so you may not be able to do `chruby 1.x' yet. i can't remember.
__main__ has joined #ruby
<zendeavor> and there are hardcoded paths to /etc/profile.d blah blah blah
<mrsolo> workmad3, oh that.. the mind crack to keep the programmer working.. i mean people playing
jealous-pated77 has joined #ruby
adeponte has quit [Remote host closed the connection]
<sevenseacat> lol
<havenwood> zendeavor: last i looked it needed some niceties like --help too, i think
<zendeavor> nope
<havenwood> nice
wookiehangover has joined #ruby
bricker has quit [Ping timeout: 245 seconds]
<SteveBenner009> workmad3: yeah I have been learning there are many pros, and many cons to any solution.. all I know is I WANT MAH HACKINTOSH!!! haha\
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<zendeavor> that's been there since day 1
<sevenseacat> if only the steam spacechem could sync with the android spacechem
* flughafen just got spacechem
<mrsolo> wait
<zendeavor> havenwood: i just cheated on the option parsing
<mrsolo> there is a android spacechem
<SteveBenner009> I seriously have investd 80+ hours already but I'm pretty sure my hardware combo is just uniquely borked
<workmad3> mrsolo: suited for tablets
<SteveBenner009> I'm going to just try again witha new motherboard
<sevenseacat> there is
<mrsolo> flughafen, oh oh..see you in a month
<SteveBenner009> one with actual bios capabilities LOL.
<zendeavor> havenwood: instead of case foo in -h|--help) ...;; esac
<havenwood> zendeavor: ahhh, i probably just overlooked, i saw -v but i must be blind
browndawg has quit [Read error: Connection timed out]
<zendeavor> i should probably just go back to the longform
<zendeavor> but
<zendeavor> actually that's for you and postmodern to deal with ;]
camilasan has quit [Remote host closed the connection]
ndrei has quit [Client Quit]
<zendeavor> i'm not so fabulous at user-facing things. i do backends.
camilasan has joined #ruby
ndrei has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
lyanchih has joined #ruby
<zendeavor> is cool though, it's like a complete ruby-switcher api
browndawg has joined #ruby
vlad_starkov has joined #ruby
allanm has quit [Ping timeout: 248 seconds]
EMMY is now known as Emmy
<havenwood> sebastianb: you missed out on Super Mario Bros 2 then, that was the best!
<zendeavor> huh
<zendeavor> i have the first level theme of that in my head for 20 minutes now
devdazed has quit [Ping timeout: 248 seconds]
<havenwood> good game
<zendeavor> not even a mario game
<zendeavor> just slapped mario's face on it
allanm has joined #ruby
vlad_sta_ has joined #ruby
decoponio has joined #ruby
<bnagy> there is an ios space chem mobile.. is that the same?
jwang has joined #ruby
Xeago_ has quit [Read error: Operation timed out]
michaeldeol has joined #ruby
lotherk has joined #ruby
<sevenseacat> i think i bought it there too
Xeago has joined #ruby
devdazed has joined #ruby
fgo has joined #ruby
MrZYX|off is now known as MrZYX
vlad_starkov has quit [Ping timeout: 260 seconds]
lukeholder has quit [Quit: Computer has gone to sleep.]
heftig has joined #ruby
<bnagy> I do not want to buy the wrong "addictive, design-based puzzle game!"
<flughafen> i bought spacechem for android
<mrsolo> i think they the same
<mrsolo> i played it on pc though
<sevenseacat> yeah
<mrsolo> you should play it on pc! it is only proper
<mrsolo> since nobody programs on tablet!
michaeldeol has quit [Ping timeout: 264 seconds]
icco has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
Xeago_ has joined #ruby
b0oh has joined #ruby
<bnagy> I don't play games on my laptop
icco has joined #ruby
<bnagy> otherwise I'd never get any work done :/
Xeago has quit [Ping timeout: 245 seconds]
<jrobeson> zendeavor, i disagree.. it is a mario game.. it's just not in the normal mario universe..
<sevenseacat> haha
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
<jrobeson> the characters seem right to me..
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
<jrobeson> i enjoyed it a lot when it came out ..
<zendeavor> no, it really isn't a mario game. nintendo just slapped mario, luigi, peach(princess toadstool) and toad on it and called it smb2
<zendeavor> i can't recall the original title, but it's easy to google
<sevenseacat> SMB2 was lame
<sevenseacat> SMB3 was the shit
<zendeavor> smb in 4:57 is the shit
<sevenseacat> that i have not seen but will google
Zeeraw has joined #ruby
<zendeavor> andrewg holds the realtime WR
ndrei has quit [Ping timeout: 246 seconds]
obs has joined #ruby
<zets> doki doki panic
<zendeavor> that one
BRMatt has joined #ruby
sevenseacat has quit [Quit: Leaving.]
wuwy has joined #ruby
<jrobeson> mario 2 was better than the original imo..
amacgregor has joined #ruby
<jrobeson> luigi could jump higher, the princess could float, toad could pick up turnips faster
<zendeavor> it was alright
<zendeavor> i never finished it
<flughafen> oooh , i remember those sweet turnips
<jrobeson> i did.. probably twice..
<jrobeson> the only game from back then that i still play occasionally though is megaman2
mrsolo has quit [Quit: This computer has gone to sleep]
<jrobeson> i remember trying quite a few times to beat quickman as the very first level
ndrei has joined #ruby
JDHankle has joined #ruby
eka has joined #ruby
<zendeavor> some megaman speedruns are cool
sqd has joined #ruby
k_man has quit [Ping timeout: 260 seconds]
<jrobeson> last time i tried to beat it.. i got stuck on that freakin dragon in dr wiley's castle..
<YaNakilon> .inject :||
<YaNakilon> doesn't work
snovak has joined #ruby
<YaNakilon> how to be with ||?
<YaNakilon> >> [nil, "asd", nil].inject :||
<eval-in> YaNakilon => /tmp/execpad-635a4f9c6221/source-635a4f9c6221:2: syntax error, unexpected ||, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END (https://eval.in/44245)
gyre007 has joined #ruby
mklappstuhl has joined #ruby
<tobiasvl> i think you have to use :"||"
<tobiasvl> YaNakilon: ^
Criztian has joined #ruby
dangerousdave has quit [Quit: Leaving...]
<YaNakilon> >> [nil, "asd", nil].inject :"||"
<eval-in> YaNakilon => undefined method `||' for nil:NilClass (NoMethodError) ... (https://eval.in/44247)
icco has quit [Ping timeout: 256 seconds]
JDHankle has quit [Ping timeout: 256 seconds]
<YaNakilon> ah
<YaNakilon> thx
<tobiasvl> or maybe not
<tobiasvl> you'd better test it, i didn't ;)
icco has joined #ruby
snovak has quit [Ping timeout: 248 seconds]
sergicles has joined #ruby
cj3kim has joined #ruby
<bnagy> I thought || was an operator
<bnagy> ie that won't work
<bnagy> just write the long form
<tobiasvl> yeah probably
<bnagy> and also .. why
St_Marx has quit [Quit: Konversation terminated!]
YaNakilon has quit [Ping timeout: 260 seconds]
<bnagy> using inject for that is barfy
<bnagy> like.. a.all?
cj3kim has quit [Ping timeout: 276 seconds]
xcv has joined #ruby
browndawg has quit [Ping timeout: 246 seconds]
axeman- has quit [Read error: Connection reset by peer]
<bnagy> uh.. sorry a.any?
axeman- has joined #ruby
<bnagy> lil drunk :D
nari has joined #ruby
YaNakilon has joined #ruby
mbuf has joined #ruby
icco has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
dawkirst has quit [Remote host closed the connection]
aaronmcadam has quit [Quit: Linkinus - http://linkinus.com]
aaronmcadam has joined #ruby
icco has joined #ruby
zmike1234 has joined #ruby
jonkri has joined #ruby
jonkri has quit [Changing host]
jonkri has joined #ruby
amacgregor has quit [Ping timeout: 264 seconds]
pedda has joined #ruby
huevon has quit [Quit: huevon]
hamed_r has quit [Quit: Ex-Chat]
rezzack has quit [Ping timeout: 264 seconds]
zathras has joined #ruby
xcv has quit [Read error: Connection reset by peer]
xcv has joined #ruby
SteveBenner009 has quit [Quit: Leaving]
persand has quit [Quit: persand]
<zathras> I let "bundle update --verbose" run for 10 hours just to come to the conclusion that: Fetching source index from https://rubygems.org/ will never work although https://rubygems.org/api/v1/dependencies?gems=launchy,needle,jruby-pageant will resolve and redirect to https://bundler.rubygems.org
<zathras> how can I fix this pelase?
queequeg1 has quit [Ping timeout: 256 seconds]
<workmad3> zathras: try in #bundler
<workmad3> zathras: that seems to be a bundler issue
<zathras> ok. ty
krz has quit [Quit: krz]
freeayu__ has quit [Ping timeout: 264 seconds]
Astral_ has joined #ruby
k_man has joined #ruby
freeayu has joined #ruby
dangerousdave has joined #ruby
Astralum has quit [Ping timeout: 276 seconds]
queequeg1 has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
b0oh has left #ruby [#ruby]
hexbit_ has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
ZenGuy311 has quit [Ping timeout: 264 seconds]
mosez has joined #ruby
michaeldeol has joined #ruby
mikecmpbll has joined #ruby
AlSquire has joined #ruby
adeponte has joined #ruby
Guedes0 has left #ruby ["Saindo"]
Guedes has joined #ruby
Guedes has joined #ruby
Guedes has quit [Changing host]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
osvico has joined #ruby
thebastl has quit [Ping timeout: 264 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
Guedes has left #ruby [#ruby]
michaeldeol has quit [Ping timeout: 264 seconds]
nfk has joined #ruby
adeponte has quit [Ping timeout: 256 seconds]
ffio_ has joined #ruby
ffio has quit [Ping timeout: 248 seconds]
unRealElite has quit [Quit: This computer has gone to sleep]
jibi has quit [Quit: .]
m8 has joined #ruby
gildo has joined #ruby
ZenGuy311 has joined #ruby
browndawg has quit [Read error: Connection timed out]
* flughafen finds spacechem ridiculously small on my cell phone
<atmosx> I need to configure the prompr to blnik when I'm about to push changes on the master branch lol
slap_stick has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<slap_stick> hey, if a gem requires the use of something i.e. require 'module' but module isn't a gem itself, should it still be able to find it if the module is there but under the main site path?
browndawg has joined #ruby
<slap_stick> as i can require the modeul it requires under the same ruby version and same ruby_path, but the gem errors saying it can't find it , so i'm confued
mengu has joined #ruby
<atmosx> slap_stick: is this your gem?
<zets> where is the module located?
<MrZYX> "main site path" = something you did or stdlib?
<atmosx> too many questions
<atmosx> I bet that there's a software somewhere deep down the NSA infrastructure that could hand us all the answers about slap_stick's gem path(s).
<slap_stick> no, it's a gem i've installed, rspec-hiera-puppet gem to be precise, it is trying to require puppet, which is there, but it errors sayign it can't find it, it had a depdency on the puppet rubygem, which i removed, because puppet is natively installed
snovak has joined #ruby
<MrZYX> and let me guess, you're using bundler?
<slap_stick> nope i packaged it up as an rpm
ehc has joined #ruby
<atmosx> rpm
lyanchih has quit [Quit: lyanchih]
relix has joined #ruby
<atmosx> does people still use this package manager?
<slap_stick> ha
aryaching has joined #ruby
<slap_stick> they do indeed
<MrZYX> hm, isn't dpkg older actually?
<atmosx> slap_stick: awesome
hogeo_ has joined #ruby
<atmosx> MrZYX: yes and works way better, that's why projects like rpm didn't really had a meaning to begin with
crunch-choco has joined #ruby
<atmosx> MrZYX: but at the time every distribution had to had it's own package manager... and we ended up like this..
browndawg1 has joined #ruby
<MrZYX> I like the one my distribution has :P
<atmosx> MrZYX: which is..
<MrZYX> (my as in the one I use)
<atmosx> ?
<MrZYX> pacman
<atmosx> is that arch linux?
<zendeavor> paaaacmaaaaan
<MrZYX> yup
<zendeavor> is it really arch, or a bogus derivative
<zendeavor> shun the non-believers
<atmosx> MrZYX: does pacman support binaries?
snovak has quit [Ping timeout: 264 seconds]
<MrZYX> binary packages? yes
<atmosx> nice
<zendeavor> technically that's all it handles
<atmosx> the only package managers I like/use (or used to use) are portage and ports (*bsd) and apt-get which is supreme and rulling imho.
<atmosx> never used arch, i was using gentoo for many yeras though
<flughafen> there is nothing really wrong with rpm, it works fine
<atmosx> anywya
<atmosx> bb
cj3kim has joined #ruby
<bnagy> pacman has, hands down, the best progress bar though
<bnagy> which I think is important
browndawg has quit [Ping timeout: 264 seconds]
<bnagy> rpm is fucking insane crap bullshit
hogeo has quit [Ping timeout: 276 seconds]
<zendeavor> uhm
<bnagy> "it works fine" until it shits in its own binary DB and is impossible to recover
<MrZYX> I actually like pacman that much because writing packages for it is so easy
<MrZYX> no more tempted to sudo make install ever
<bnagy> but hey
<atmosx> hey
allanm has quit [Read error: Connection reset by peer]
<flughafen> but i've been using rpm based distros since 1997? never once had an issue with the database...(anectdotal) although, it doesn't make a lot of sense imho to use the berkeleydb that way
<flughafen> what does dpkg use anyway?
nkts has joined #ruby
wuwenyao has joined #ruby
dangerousdave has quit [Quit: Leaving...]
cj3kim has quit [Ping timeout: 264 seconds]
xcv has quit [Read error: Connection reset by peer]
<flughafen> i've used debian before, off and on, but never really got into dpkgs
xcv has joined #ruby
aryaching has quit [Quit: Bye]
<slap_stick> ok resolved it now, was all in the gemspec file
lurch_ has quit [Ping timeout: 246 seconds]
<slap_stick> i need food
wuwy has quit [Remote host closed the connection]
aryaching has joined #ruby
rickmasta has quit [Quit: Leaving...]
ndrei has quit [Ping timeout: 276 seconds]
wuwenyao has quit [Client Quit]
thebastl has joined #ruby
Xeago_ has quit [Remote host closed the connection]
lurch_ has joined #ruby
joshu has joined #ruby
sayan has quit [Remote host closed the connection]
xcv has quit [Read error: Connection reset by peer]
xcv has joined #ruby
joshu_ has quit [Ping timeout: 240 seconds]
huoxito has quit [Quit: Leaving]
<_br_> Coffee! :)
realDAB has joined #ruby
vlad_sta_ has quit [Read error: Connection reset by peer]
xcv has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
vlad_starkov has joined #ruby
xcv has joined #ruby
pweems has quit [Ping timeout: 256 seconds]
sevenseacat has joined #ruby
timonv has quit [Remote host closed the connection]
xefi_ has joined #ruby
nkts has quit [Quit: -]
postmodern has quit [Quit: Leaving]
cosmin has joined #ruby
cosmin has quit [Max SendQ exceeded]
cosmin has joined #ruby
maxmanders has joined #ruby
maxmanders has quit [Client Quit]
emergion has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dodosan has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
maxmanders has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xaitec has joined #ruby
mikecmpbll has quit [Ping timeout: 264 seconds]
Xaitec has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
timonv has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
shadoi1 has joined #ruby
Mon_Ouie has joined #ruby
jleishman has joined #ruby
joshu_ has joined #ruby
poga has joined #ruby
botspot87 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
cavel has joined #ruby
<botspot87> is there any way to guarantee a all-or-nothing atomic transaction in ruby (not necessarily involving databases or files (using the native move operation)) something link my_atomic_operation { get_file_a; do_something_useful; delete_file_a} . Can someone point me a direction
neo_ has joined #ruby
joshu has quit [Ping timeout: 276 seconds]
sqd has quit [Quit: sqd]
flughafen_ has joined #ruby
gildo has quit [Remote host closed the connection]
ehaliewicz has quit [Ping timeout: 264 seconds]
jefflyne has joined #ruby
gildo has joined #ruby
flughafe1_ has quit [Ping timeout: 248 seconds]
<bnagy> ensure I guess
<bnagy> or block form of file ops
<bnagy> but 'real' atomicity is something that DBs etc provide
starfox21 has joined #ruby
thebastl has quit [Remote host closed the connection]
thillux has quit [Remote host closed the connection]
jleishman has quit [Remote host closed the connection]
jleishman has joined #ruby
hogeo_ has quit [Remote host closed the connection]
persand has joined #ruby
mfridh has joined #ruby
neo_ has quit [Quit: Leaving]
joshu has joined #ruby
noopq has quit [Remote host closed the connection]
noop has joined #ruby
noop is now known as noopq
pranny has quit [Quit: Leaving.]
visof has quit [Ping timeout: 245 seconds]
lucazi has joined #ruby
joshu_ has quit [Ping timeout: 264 seconds]
sayan has joined #ruby
<_br_> botspot87: Mutex?
sqd has joined #ruby
mklappstuhl has quit [Read error: No route to host]
atno has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
atno has joined #ruby
<ZenGuy311> zeb
dash_ has quit [Ping timeout: 260 seconds]
<_br_> bnagy: Nonsense. Mutex, Critical Section, Semaphores all go into the direction of ensuring atomic behavior. Except if you mean ACID.
arturaz has joined #ruby
ndrei has joined #ruby
<bnagy> _br_: no.
Zeeraw has quit [Quit: Computer has gone to sleep.]
atno__ has joined #ruby
<bnagy> a mutex just protects the resource against concurrent access from threads in your process
<bnagy> that's not the usual concept of atomicity
arturaz has quit [Remote host closed the connection]
atno__ has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
atno has joined #ruby
<bnagy> and I'm not even sure that MRI mutex is 'properly' safe against cexts, but leaving that aside...
pinage404 has quit [Excess Flood]
thebastl has joined #ruby
dash_ has joined #ruby
<bnagy> the actual question is kind of vague
ehc has quit [Quit: ehc]
yfeldblum has joined #ruby
<_br_> I'm curious. What is the "usual concept of atomicity" ?
<bnagy> 'guarantee that nothing else touches this while I am messing with it'
a7d7p has quit [Quit: a7d7p]
<_br_> So why would a Mutex not do the job?
<bnagy> mutex doesn't do that
lkba has joined #ruby
<bnagy> cause it only applies to the ruby threads in that one process
Zeeraw has joined #ruby
<_br_> Well, nobody said we are dealing with multiple processes here.
<bnagy> uh huh
axeman- has quit [Remote host closed the connection]
<bnagy> I'll just leave for a while while you try and sound like you didn't actually say a stupid thing
<bnagy> then come back, ok?
<_br_> Nonsense.
zathras has quit [Write error: Broken pipe]
ewnd9 has quit [Ping timeout: 276 seconds]
<_br_> The way the question is phrased a Mutex is a valid solution. Atomicity does not mean ACID.
mklappstuhl has quit [Remote host closed the connection]
tk_ has joined #ruby
Guest85575 is now known as jan1337zZz
pinage404 has joined #ruby
cj3kim has joined #ruby
ldnunes has joined #ruby
wicketn00b has quit [Ping timeout: 256 seconds]
cj3kim has quit [Ping timeout: 245 seconds]
ewnd9 has joined #ruby
lyanchih has joined #ruby
philcrissman_ has joined #ruby
sevenseacat has quit [Quit: Leaving.]
mlpinit has joined #ruby
browndawg1 has quit [Quit: Leaving.]
axeman- has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
tomzx_mac has joined #ruby
ewnd9 has quit [Ping timeout: 260 seconds]
philcrissman_ has quit [Remote host closed the connection]
dodosan has joined #ruby
wicketn00b has joined #ruby
philcrissman_ has joined #ruby
poga has quit [Remote host closed the connection]
dash_ has quit [Ping timeout: 264 seconds]
braincra- has quit [Ping timeout: 260 seconds]
emogirlj2 has joined #ruby
zets has quit [Ping timeout: 256 seconds]
<botspot87> _br_: I don't mean to protecte against concurrency. Actually i have a single threaded routine running here. I was wondering if there was any existing library where i could wrap a bunch of operations and have it performed atomically for me
thebastl has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 256 seconds]
<botspot87> _br_: but now it seems to me that this is more like a pattern than something "ready from ruby"
b0oh has joined #ruby
dash_ has joined #ruby
<botspot87> _br_: Maybe I have to save all my objects states prior to change them, and after wrap then in a begin ...rescue block and rollback the state if an exception occurs
<botspot87> Does it make sense, or there is any better solution out there?
braincrash has joined #ruby
mbuf has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
visof has joined #ruby
pranny has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
ahawkins has quit [Quit: leaving]
<botspot87> bnagy: any good solution for the atomicity question ?
ahawkins has joined #ruby
Al_ has quit [Quit: Al_]
ArchBeOS has joined #ruby
<bnagy> what are you trying to protect from?
Wildhoney has quit [Quit: Wildhoney]
<bnagy> an exception while changing stuff?
snovak has joined #ruby
<botspot87> bnagy: Basically I want to read an information from a file, insert it as a row in a DB and delete that information inside the file
a7d7p has joined #ruby
<_br_> botspot87: If its single threaded anyway, why all the fuss?
<botspot87> bnagy: all that should succeed or fail together
b0oh has left #ruby [#ruby]
<_br_> ah
freeayu has quit [Ping timeout: 256 seconds]
<_br_> begin/rescue/ensure/end block...
<bnagy> ^ that
<botspot87> _br_: simple, if I read from a file, and the connection from the db is broken, I have an undesired state
Xeago has joined #ruby
k_man has quit [Ping timeout: 256 seconds]
snath has quit [Ping timeout: 264 seconds]
Criztian has quit [Remote host closed the connection]
IceyEC has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<bnagy> I guess maybe save cursor, db.insert(fh.readline) rescue #reset cursore
<bnagy> but it's kind of ugly :(
Al_ has joined #ruby
huevon has joined #ruby
<botspot87> _br_: yeah but that is more then using begin rescue end block it seams to me that i have to save the state of this objects anyway to have something to rescue afterwards
huevon has quit [Client Quit]
snovak has quit [Ping timeout: 245 seconds]
<botspot87> brb
cosmin is now known as hit
realDAB has quit [Quit: realDAB]
hit is now known as cosmin
Xeago_ has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<_br_> Well, Ruby operations are not Idempotent and this is not a single assignment or message based system, so certainly you need to put more effort on it to keep the system consistent.
Xeago has quit [Ping timeout: 246 seconds]
Spooner has joined #ruby
caju has joined #ruby
narcan has joined #ruby
caju has quit [Remote host closed the connection]
JDHankle has joined #ruby
pranny has quit [Quit: Leaving.]
michaeldeol has joined #ruby
osvico has quit [Ping timeout: 260 seconds]
hiyosi has joined #ruby
xeviox|afk is now known as xeviox
Xeago_ has quit [Ping timeout: 264 seconds]
<shevy> wat
<shevy> ruby operations are impotent?
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
<_br_> ;)
<lupine> well, some ruby operations are idempotent
<lupine> a = 1, for instance
Xeago has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
osvico has joined #ruby
michaeldeol has quit [Ping timeout: 245 seconds]
cosmin is now known as hit
JDHankle has quit [Ping timeout: 264 seconds]
andrew565 has joined #ruby
<_br_> Doesn't make the langauge less mutation based.
emogirlj2 is now known as zets
ExxKA has joined #ruby
geekbri has joined #ruby
<lupine> certainly
browndawg has joined #ruby
axeman- has quit [Remote host closed the connection]
jbpros has joined #ruby
osvico has quit [Ping timeout: 256 seconds]
<_br_> Would be interesting though. Are there any gems that enforce single assignment only?
fuzzy is now known as fuzai
xcv has quit [Remote host closed the connection]
ewnd9 has joined #ruby
codecop has joined #ruby
<lupine> hope not
<lupine> ;)
<_br_> hehe why not that together with celluloid and we can "fake" erlang :D
<_br_> at least until we have a true STM solution.
niceguyjames has joined #ruby
matled has quit [Remote host closed the connection]
<shevy> that would be kinda cool
<shevy> ruby 3.0 to become ruby-erlang
Xeago_ has joined #ruby
ExxKA has quit [Quit: This computer has gone to sleep]
yalue has joined #ruby
bklane has joined #ruby
timonv has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 251 seconds]
<botspot87> _br_: finally back! I was wondering if there was an easy way to perfom that all together, but for me is pointing in a direction of saving object state, using begin..rescue..ensure..block . Like a memento design pattern
<_br_> I wish. EVM and OTP can't really be that easily reproduced though. The hot-loading of code and crazy robustness is pretty awesome though in Erlang.
pinage404 has quit [Excess Flood]
<shevy> immortal and robust ruby objects!
andrew565 has left #ruby [#ruby]
<_br_> botspot87: Sounds about right, if you use a ruby only solution.
<lupine> don't forget, you can bypass ensure block if you're evil, or your libraries are
philcrissman_ has quit [Remote host closed the connection]
<_br_> good point
St_Marx has joined #ruby
<shevy> you can?
pinage404 has joined #ruby
<_br_> shevy: Did you try Reia or Elixir lang on EVM?
<shevy> shamefully I did not
mark_locklear has joined #ruby
<_br_> kind of ruby like, quite fun..
jaredlevitz has quit [Ping timeout: 248 seconds]
thebastl has joined #ruby
procrastinat0r has joined #ruby
procrastinat0r has quit [Read error: Connection reset by peer]
barratt has joined #ruby
jdenen has joined #ruby
trinode has joined #ruby
<trinode> c
devoldmx3 has joined #ruby
<shevy> hehe
<shevy> always C
jaredlevitz has joined #ruby
cj3kim has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
zmike1234 has quit [Ping timeout: 264 seconds]
<trinode> my irc client is messed up, white on white in the text window :/
<trinode> meh, I'll sort it later
<trinode> is this the right place to get help compiling / installing a difficult gem?
cody-- has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby
knigitz has joined #ruby
<_br_> white on white? how can you read anything?
dweeb has quit [Quit: Textual IRC Client: www.textualapp.com]
<_br_> trinode: just ask, don't ask to ask
<trinode> it's only the bit I type in
<trinode> (I can see it when I've hit enter)
cj3kim has quit [Ping timeout: 246 seconds]
mmitchell has joined #ruby
<trinode> ok, I'm trying to install mysql2 and I'm getting this: checking for main() in -llibmysql... no
bal has joined #ruby
<trinode> I'm using the following command:
<trinode> C:\Users\Anthony>gem install mysql2 -- --with-mysql-lib="C:\Program Files\MySQL\MySQL Server 5.6\lib" --with-mysql-include="C:\Program Files\MySQL\MySQL Server 5.6\include"
bal has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
browndawg has quit [Read error: Connection timed out]
<shevy> and libmysql.dll is in that lib/ subdir?
<trinode> it is
mklappstuhl has quit [Remote host closed the connection]
jprovazn has quit [Quit: Leaving]
browndawg has joined #ruby
Liothen has quit [Quit: System of a down……]
b0oh has joined #ruby
<trinode> is it something weird with quotes / spaces?
b0oh has left #ruby [#ruby]
<shevy> hmmm
<shevy> problem is, I lack experience compiling under windows ... could be all sorts of errors :\
anonymuse has joined #ruby
<shevy> but I would assume that "gem" would be more verbose if the path would not be correct or something
mklappstuhl has joined #ruby
<_br_> seems it didn't find the include path and dlls
devoldmx3 has quit [Read error: Connection reset by peer]
<zeroXten> is it possible to make changes to IRB config without touching .irbrc? None of my changes seem to be picked up
timonv has joined #ruby
<flughafen> does capybara ignore disabled but visible fields?
ExxKA has joined #ruby
<trinode> have I even got the right parameters?
zmike1234 has joined #ruby
<trinode> I can't seem to see the path being used in the log file
<trinode> http://pastebin.com/NFjZtU23 (if it helps)
breakingthings has joined #ruby
<shevy> zeroXten should be possible yes
<shevy> zeroXten, the variable to modify is IRB.conf
<shevy> IRB.conf[:INSPECT_MODE] = nil
<shevy> IRB.conf[:USE_READLINE] = true # not sure if that actually works while running... hmmm
<zeroXten> well, i'm actually trying to set it in a script that is calling IRB.start
<zeroXten> I wan't to surpress return value printing without touching the irbrc file
<shevy> yeah, in theory it should work
<shevy> but it is IRB, everyone is scared by it
<trinode> found it!
<trinode> in the log file
<trinode> -LC:\Program -L.
<trinode> it's not handling the spaces
<shevy> hmmm
<zeroXten> i tried ripl, but I can't get the return value supression working
<shevy> how do you know trinode?
<zeroXten> lambda in a prompt is nice though
<shevy> ah I see now
<shevy> because after "Program" it is chopped off
<trinode> yup
<shevy> good that there was a log file hehe
kpshek has joined #ruby
<trinode> yep, not a clue how to fix it, I thought the quotes would do that
kfr2 has joined #ruby
yaymukund has joined #ruby
atno__ has joined #ruby
ta has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tonni has joined #ruby
ryandeussing has joined #ruby
timonv has quit [Remote host closed the connection]
niceguyjames has quit [Quit: Computer has gone to sleep.]
trinode is now known as trinode_away
xue has joined #ruby
sjltaylor has joined #ruby
snovak has joined #ruby
Akuma has quit [Ping timeout: 276 seconds]
VTLob has joined #ruby
axeman- has joined #ruby
Akuma has joined #ruby
freeayu has joined #ruby
io_syl has joined #ruby
vince_prignano has quit [Remote host closed the connection]
marr has quit [Ping timeout: 264 seconds]
jerius has joined #ruby
baron_underscore has joined #ruby
trinode_away is now known as trinode
dagen has joined #ruby
dangerousdave has joined #ruby
baron_underscore is now known as endless_walrus
<trinode> right, reinstalled mysql
workmad3 has joined #ruby
snovak has quit [Ping timeout: 245 seconds]
endless_walrus has quit [Client Quit]
sambao21 has joined #ruby
baron_underscore has joined #ruby
baron_underscore has quit [Client Quit]
endless_walrus has joined #ruby
dagen has left #ruby [#ruby]
<trinode> OH FFS
<trinode> there's a space in the subfolders
vadelius has quit [Ping timeout: 246 seconds]
niceguyjames has joined #ruby
nonamehero has quit [Read error: Connection reset by peer]
jprovazn has joined #ruby
aprilthemoo has joined #ruby
thebastl has quit [Remote host closed the connection]
relix has joined #ruby
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has joined #ruby
michaeldeol has joined #ruby
<trinode> C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `require': 126: The specified module could not be found. - C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/mysql2-0.3.13/lib/mysql2/mysql2.so (LoadError)
<trinode> I'm looking at the file right now
<trinode> :/
BRMatt has quit [Ping timeout: 264 seconds]
<knigitz> paste your line 8 in mysql2.rb?
<trinode> require 'mysql2/mysql2'
browndawg has quit [Quit: Leaving.]
devoldmx has joined #ruby
<workmad3> trinode: you're looking at which file?
<trinode> C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/mysql2-0.3.13/lib/mysql2/mysql2.so
<knigitz> sounds like he's looking at the mysql2.so in explorer
<trinode> it's right there
vadelius has joined #ruby
<trinode> knigitz: that's what I meant, yeah
<workmad3> ok :) I see a lot of people say they're looking at the file and they mean the mysql2.rb file with the actual client lib missing :)
wallerdev has quit [Quit: wallerdev]
vlad_starkov has joined #ruby
michaeldeol has quit [Ping timeout: 240 seconds]
<trinode> ooh
<trinode> where should the libmysql.dll be?
<workmad3> dunno, I've not dealt with ruby and mysql on windows for years now
kaldrenon has joined #ruby
VTLob has quit [Quit: VTLob]
kvirani has joined #ruby
<trinode> heh copied the libmysql.dll to the ruby bin folder
<trinode> now I get an actual crash
<workmad3> weee :D
wmoxam has joined #ruby
tommyvyo has joined #ruby
<trinode> someone told me local dev against ruby was nice!
vlad_starkov has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Ping timeout: 248 seconds]
<workmad3> trinode: were they talking about windows?
kaldrenon has quit [Ping timeout: 264 seconds]
<workmad3> trinode: or were they talking about OSX or another unix or linux variant?
<trinode> if not then PHP is nice too :)
lessless has joined #ruby
mklappstuhl has quit [Ping timeout: 246 seconds]
<trinode> I have nightmares about passenger
buenob has joined #ruby
<workmad3> trinode: heh :)
VTLob has joined #ruby
Xsheller has joined #ruby
banisterfiend has joined #ruby
<workmad3> trinode: I gave up on trying to do things with sensible toolchains on windows years ago ;)
lurch__ has joined #ruby
<workmad3> trinode: what was the actual crash you got btw?
sahoal has joined #ruby
mklappstuhl has joined #ruby
zachrab has joined #ruby
tommyvyo has quit [Ping timeout: 264 seconds]
<workmad3> ok, I'll follow a pastebin link this once :P
<workmad3> gist.github.com > pastebin.com though ;)
xcv has joined #ruby
vlad_starkov has joined #ruby
<workmad3> ah, a segfault... could be the libmysql.dll was built against a different toolchain so it just causes weird shit to happen
clocKwize_ has joined #ruby
<workmad3> trinode: as a slight seque - how did you install rails?
lurch_ has quit [Ping timeout: 276 seconds]
lurch__ is now known as lurch_
<trinode> I used the 64 bit installrails installer
<trinode> sorry railsinstaller
<trinode> from there ^
<workmad3> trinode: ah, the one that comes with sqlite
Akuma has quit [Ping timeout: 240 seconds]
<workmad3> trinode: maybe consider using sqlite instead of mysql for now ;)
clocKwize has quit [Ping timeout: 246 seconds]
clocKwize_ is now known as clocKwize
Akuma has joined #ruby
<trinode> actually that's not the installer I used
<trinode> damn google :)
<workmad3> trinode: heh :) well maybe you should consider using it ;)
<trinode> I used that http://rubyinstaller.org/
<workmad3> trinode: ah, that one just gives you ruby
sailias has joined #ruby
<workmad3> trinode: if you want to do rails dev on windows, I'd suggest you use railsinstaller and use sqlite with it for now ;)
atno has quit [Remote host closed the connection]
atno__ has quit [Remote host closed the connection]
<clocKwize> moral of the story, use linux or osx, if you can't work out how to get linux in a vm, don't bother at all
suffix_ has joined #ruby
<trinode> VM sounds appealing, but my SSD may struggle (capacity)
atno has joined #ruby
atno__ has joined #ruby
<workmad3> clocKwize: I'd see the moral more as 'if you're going to work on windows, either be really comfortable with debugging weird toolchain issues, or make sure you only use stuff that has precompiled binaries'
atno__ has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
<workmad3> otherwise use a VM or dual boot :)
atno has joined #ruby
<trinode> I'm a little suprised mysql isn't precompiled
<clocKwize> workmad3: who's prepared to debug weird toolchain issues? not me thats for sure, I wanna get shit done!
adambeynon has joined #ruby
snovak has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
rcedillor has joined #ruby
<shevy> hehehe
slap_stick has quit [Remote host closed the connection]
<workmad3> trinode: rubygems don't tend to come with precompiled extensions... it makes them much harder to keep up to date compared to compiling the extension against dev headers on install
failshell has joined #ruby
<trinode> ALMOST, dammit :(
<trinode> no update for 2.0.0
brennanMKE has joined #ruby
snath has joined #ruby
vlad_starkov has joined #ruby
headius has joined #ruby
mrsolo has joined #ruby
tommyvyo has joined #ruby
pskosinski has joined #ruby
banisterfiend has quit [Ping timeout: 264 seconds]
ryannielson has joined #ruby
<shevy> trinode come to the dark side man
<shevy> come to linux!
fridim__ has joined #ruby
<shevy> wayland is progressing
<trinode> I play for all teams :)
<shevy> one day we may have overcome xorg
<trinode> (almost) got a hackintosh, win8, xp, ubuntu x 3 but I need to be on windows most of the time
baroquebobcat has joined #ruby
wallerdev has joined #ruby
bal has joined #ruby
endless_walrus has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
v0n has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
ehc has joined #ruby
splittingred has joined #ruby
threesome has quit [Ping timeout: 248 seconds]
yaymukund has quit [Ping timeout: 256 seconds]
zarubin has joined #ruby
pen has quit [Remote host closed the connection]
Banistergalaxy has quit [Read error: Connection reset by peer]
zph has joined #ruby
jleishman has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 260 seconds]
fridim__ has quit [Ping timeout: 264 seconds]
crunch-choco has left #ruby [#ruby]
<_br_> xorg is a convoluted mess, at least it works - somehow.
lyanchih has quit [Quit: lyanchih]
dash_ has quit [Quit: dash_]
<_br_> hasn't wayland project already split again into another new fork of wayland?
<workmad3> xorg > x11 :D
akells``_ has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
endless_walrus has joined #ruby
splittingred has quit [Quit: splittingred]
interactionjaxsn has joined #ruby
<shevy> _br_ dunno
<shevy> but gtk3 now requires wayland
<shevy> or wants it, not sure
fgo has quit [Remote host closed the connection]
caju has joined #ruby
hanmac has joined #ruby
ExxKA has quit [Quit: This computer has gone to sleep]
caju has quit [Remote host closed the connection]
aef has joined #ruby
caju has joined #ruby
crunch-choco has joined #ruby
bklane has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
_serial_ has joined #ruby
bal has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
Akuma has quit [Ping timeout: 248 seconds]
huoxito has joined #ruby
Targen_ has joined #ruby
_serial_ has quit [Client Quit]
Akuma has joined #ruby
clocKwize_ has joined #ruby
Targen has quit [Ping timeout: 276 seconds]
dangerousdave has quit [Quit: Leaving...]
Matriks has quit [Remote host closed the connection]
caju has quit [Ping timeout: 246 seconds]
dangerousdave has joined #ruby
clocKwize has quit [Ping timeout: 268 seconds]
clocKwize_ is now known as clocKwize
devoldmx3 has joined #ruby
io_syl has quit [Quit: io_syl]
devoldmx has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
ahawkins has quit [Ping timeout: 245 seconds]
<lessless> folks, how to pass argument to the lambda: a = -> { |y| y.split(',').each { |x| a << x.to_i } }
<lessless> ?
<workmad3> lessless: ->(y) {y.split...}
ravster has joined #ruby
<workmad3> lessless: and if you hate stabby lambdas because of that syntax... join the club :)
MrThePlague has joined #ruby
MrThePlague has joined #ruby
visof has quit [Ping timeout: 245 seconds]
ahawkins has joined #ruby
<shevy> I will join the club
<Xeago_> wait
jleishman has joined #ruby
<shevy> the syntax is so different from rest of ruby code
<workmad3> lessless: I only use 0-arg stabby lambdas because of that stupid syntax
<Xeago_> how does that work
<shevy> cool
<Xeago_> ->(input,output) {|splat|} ?
<shevy> no ||
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
threesome has joined #ruby
<workmad3> Xeago_: you can't use the || style params in the block
<workmad3> Xeago_: it's a frickin syntax error
tonni has quit [Remote host closed the connection]
<Xeago_> why wouldn't -> {|param| abc;} be ok?
<Xeago_> stupid syntax
ananthakumaran1 has quit [Quit: Leaving.]
<workmad3> Xeago_: so my fingers, which are wired for coffeescript and normal ruby blocks go '(foo,bar)-> {code}' 'oh wait, this is ruby' '-> {|foo,bar| code}' *boom* FY STABBY LAMBDA
brennanMKE has quit [Remote host closed the connection]
<shevy> hehe
<Xeago_> I don't understand why they didn't just replace lambda with -> ?
<workmad3> Xeago_: because FUCK YOU... that's why
<Xeago_> fook that
freeayu has quit [Remote host closed the connection]
<workmad3> btw, I may be somewhat annoyed at several of the ruby 1.9 syntax additions that make it just really frickin easy to completely mess up when you switch between ruby and coffeescript or javascript a lot :)
Davey has joined #ruby
yaymukund has joined #ruby
<workmad3> and my annoyance with them only increases over time :D
<shevy> haha
cj3kim has joined #ruby
enebo has joined #ruby
<shevy> I hated them always
<shevy> no
<shevy> not all of them
<wuest> I actually rather like them.
<wuest> symbol: and -> in particular
<shevy> but the -> I hate
jefflyne has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
lurch_ has left #ruby [#ruby]
<workmad3> wuest: {symbol: val} annoys me because {"string": val} isn't valid (which is a PITA because the first isn't valid JSON and the second is)
<ericwood> I avoid the JSON-style hash syntax, especially when symbols are the values
<workmad3> wuest: -> is annoying because they've gone a really deviant way for passing params to it
enebo has quit [Client Quit]
<ericwood> {foo: :val} is ugly
<shevy> ack
_JamieD_ has joined #ruby
<wuest> workmad3: That I absolutely agree with.
<workmad3> ericwood: I tend to find myself using it a fair bit... but yeah, it's not brilliant :)
Spooner has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 248 seconds]
<wuest> ericwood: I rarely (never?) end up having symbols point to symbols. I agree, that's ugly.
<ericwood> workmad3: my rule of thumb: if there's no symbols as values I use it
jlast has joined #ruby
thesheff17 has joined #ruby
<ericwood> wuest: it's a common pattern in rails for flags
<wuest> Ahhh
<wuest> I don't do rails, so that's why I haven't seen it
JDHankle has joined #ruby
jonathanwallace has joined #ruby
<ericwood> I never really see it outside of flags
crunch-choco has quit [Quit: leaving]
pipework has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
<ericwood> and I love the hashrocket
<ericwood> pew pew pew => => =>
lucazi has quit [Remote host closed the connection]
<shevy> lol
<ericwood> <=>
michaeldeol has joined #ruby
<shevy> matz added -> so he can remove something for ruby 3.0
mansi has joined #ruby
<wuest> I've never really considered the hashrocket brilliant. I didn't like it in perl either.
lucazi has joined #ruby
<wuest> shevy - wasn't that the point of the named arguments implementation?
Guest80612 has quit [Read error: Operation timed out]
<shevy> I really don't know
tk_ has quit [Quit: ばいばい]
<shevy> to me it feels a bit more like "let's try to make ruby more feature rich"
<wuest> I'd really like flexible -> syntax though. (foo,bar)-> is much better than ->{|foo,bar|} -- I think the latter is worse, and I don't ever code coffeescript
<ericwood> it's just new syntax for existing features
<ericwood> that's hardly feature creep
digifiv5e has joined #ruby
hasrb has joined #ruby
digifiv5e is now known as Guest11161
vlad_starkov has joined #ruby
ryannielson_ has joined #ruby
yaymukund has quit [Ping timeout: 245 seconds]
<waxjar> Lua's hash-like syntax is pretty neat: { key = value, key = value }
<ericwood> I, for one, welcome our new stabby lambda overlords
BillCriswell has joined #ruby
snovak has quit [Read error: Connection reset by peer]
<wuest> I admit, something which allows me to keep expressiveness while reducing charcount per line is something I consider a win--I also strictly limit lines to 79c
snovak has joined #ruby
mrsolo has joined #ruby
ryannielson has quit [Ping timeout: 256 seconds]
<ericwood> expressiveness is really important to me
<ericwood> it's why I love ruby
michaeldeol has quit [Ping timeout: 240 seconds]
<ericwood> and have a fucked up weird love for javascript
<waxjar> meh, javascript syntax i do not like
browndawg has joined #ruby
caju has joined #ruby
browndawg has quit [Max SendQ exceeded]
<wuest> I have a bad case of Stockholm Syndrome when it comes to ECMAScript
<ericwood> waxjar: it grew on me
<ericwood> mostly due to stockholm syndrome
tonni has joined #ruby
<ericwood> but I find the way it does some things to be super expressive
<wuest> I don't even DO web coding, but I like ES for some reason.
<ericwood> it's pretty minimal as a language, which I dig
browndawg has joined #ruby
__maes_ has joined #ruby
_maes_ has joined #ruby
<waxjar> i especially dislike how anonymous functions look when passed to another function
<waxjar> dat ending: });
<ericwood> lol
ryannielson_ has quit [Ping timeout: 245 seconds]
<wuest> waxjar: true
<ericwood> I got so upset at this little piece of code I grabbed the other day
lethjakman has quit [Ping timeout: 248 seconds]
<ericwood> the guy wrote it in coffeescript
<ericwood> and made the compiled version available
<waxjar> haha
<ericwood> but the way the compiler did it was like this:
<ericwood> !(function() { (function($) { // snip })($) })()
<wuest> On that note, I've posited that es is a gateway to lisps, once a coder starts getting into higher-order functions.
brunoro has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
a7d7p has quit [Quit: a7d7p]
ryannielson has joined #ruby
<wuest> I know a couple people who've gone from es into learning common lisp.
<ericwood> so he passed in the $ and completely ruined the whole point of the inner IIFE
<ericwood> I was like, dude, wtf, did you even read the code this generated
<hanmac> guys try to use ** at the block params in 2.1dev ;P
<ericwood> the whole point of the inner IIFE is to make sure $ points to window.jQuery
<ericwood> and you don't need the outer IIFE either
<ericwood> pissed me off!
<wuest> Ah, jquery. Another thing I haven't touched :p
<ericwood> I like it, but h8ers gonna h8
h8R has joined #ruby
<wuest> ...was that planned, ericwood?
<ericwood> was what planned?
razi has quit [Ping timeout: 264 seconds]
<ericwood> I don't plan things
<hanmac> wuest: "jquery - because javascript itself is shit" ;P
<wuest> hanmac: but it's heavy!
<ericwood> hanmac: jQuery: because the DOM APIs are shit
<wuest> It DOES smooth out a lot of interaction.
<ericwood> it's honestly not that bad heft-wise
<ericwood> there's a 99% chance the browser already has it cached
<ericwood> and it's not a huge file
threecreepio has quit [Quit: threecreepio]
<ericwood> gzip yo http requests, holmes
vlad_starkov has quit [Remote host closed the connection]
<hanmac> it often anoys me that i need to write extra functions for something where in ruby i need less then 20 chars for something
giarc has joined #ruby
<ericwood> man I sure wish there was a way to make my whole web stack pure javascript
<ericwood> wouldn't that be so cool
v0n has joined #ruby
sahoal has quit [Quit: sahoal]
<waxjar> callbacks everywhere!
sahoal has joined #ruby
atno has quit [Remote host closed the connection]
<_br_> the goto of our generation..
atno has joined #ruby
sahoal has quit [Client Quit]
krz has joined #ruby
<ericwood> mo callbacks mo problemz
<hanmac> _br_ you can enable goto in ruby too if you want ;P
* _br_ runs away
mephux has quit [Quit: w0ots...]
<ericwood> that's true
<ericwood> it's a compile flag >.>
kek has joined #ruby
Criztian has joined #ruby
<hanmac> yeah, even ruby has jokes ;D
Guest41784 has joined #ruby
<ericwood> ruby has lots of jokes
<ericwood> the ruby community values jokes
<ericwood> and puns
noopq has quit [Ping timeout: 264 seconds]
kaldrenon has joined #ruby
<hanmac> ericwood so do you know the difference between if(!obj) and unless(obj) ? both has pro an cons
<ericwood> ugh I actually don't
zoee has quit [Quit: zoee]
<ericwood> enlighten me!
humbolt has quit [Read error: Operation timed out]
atno has quit [Remote host closed the connection]
devoldmx has joined #ruby
<hanmac> do you know the "!" method?
atno has joined #ruby
<ericwood> it's a boolean inversion
humbolt has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
<hanmac> unless does not call the ! method with can be overwritten … so if(!obj) and unless(obj) may react different if someone plays with the ! method
mklappstuhl has quit [Remote host closed the connection]
<ericwood> aha
<ericwood> okay that makes sense
maz-dev has quit [Remote host closed the connection]
<ericwood> I always assumed it called it
<hanmac> but that is also the reason why unless is a little bit faster
wicketn00b has quit [Ping timeout: 260 seconds]
lyanchih has joined #ruby
hasrb has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 264 seconds]
tagrudev has quit [Remote host closed the connection]
<ericwood> any reduction in the number of calls is faster
<ericwood> but seems neglegible
burlyscudd has joined #ruby
m8 has quit [Ping timeout: 264 seconds]
<ericwood> then again, I don't really ROFLScale
grits has joined #ruby
hadees has quit [Quit: hadees]
freerobby has joined #ruby
freerobby has quit [Client Quit]
Rym has joined #ruby
freerobby has joined #ruby
thebastl has joined #ruby
tabolario has joined #ruby
davexunit has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
huoxito has quit [Quit: Leaving]
<apeiros> Xeago_: no, I don't know why *!*@freenode/staff/* is not on the ACL. I guess fflush just never set that up.
mrsolo has quit [Quit: This computer has gone to sleep]
brennanMKE has joined #ruby
<apeiros> sorry for the rather late reply. but was busy today.
vlad_starkov has joined #ruby
dodosan has joined #ruby
jonkri has quit [Quit: jonkri]
fjfish has joined #ruby
francisfish has quit [Read error: No route to host]
jblack has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
axl_ has joined #ruby
fjfish has quit [Read error: Connection reset by peer]
grits has quit [Quit: Textual IRC Client: www.textualapp.com]
persand has quit [Quit: persand]
francisfish has joined #ruby
grits has joined #ruby
Kelet has quit [Read error: Connection reset by peer]
Zolo has quit [Read error: Connection reset by peer]
wicketn00b has joined #ruby
Kelet has joined #ruby
Hobogrammer_ has joined #ruby
Zolo has joined #ruby
ananthakumaran has joined #ruby
Rym has quit [Quit: Rym]
Jake232 has joined #ruby
Rym has joined #ruby
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xk_id has quit [Quit:
xeviox is now known as xeviox|afk
splittingred has joined #ruby
francisfish has quit [Read error: No route to host]
hiroyuki has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
Matriks has joined #ruby
ryannielson has quit [Quit: ryannielson]
Silent__ has quit [Ping timeout: 256 seconds]
tonni has quit [Ping timeout: 264 seconds]
xk_id has joined #ruby
jbpros has quit [Quit: jbpros]
krz has quit [Quit: krz]
jonkri has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
persand has joined #ruby
rippa has joined #ruby
Xeago_ has quit [Ping timeout: 264 seconds]
huevon has joined #ruby
Rym has quit [Quit: Rym]
vlad_starkov has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
rmcafee has joined #ruby
mary5030 has joined #ruby
mikecmpbll has joined #ruby
ffranz has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
francisfish has joined #ruby
Rym has joined #ruby
JMcAfreak has quit [Quit: Dang it, Moon Moon!]
BizarreCake has quit [Ping timeout: 276 seconds]
Xeago_ has joined #ruby
andikr has quit [Remote host closed the connection]
tk_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
tonni has joined #ruby
zachrab has quit [Remote host closed the connection]
_veer has quit [Ping timeout: 256 seconds]
fjfish has joined #ruby
PaulePanter has quit [Remote host closed the connection]
tkuchiki has joined #ruby
yaymukund has joined #ruby
jerius has quit [Ping timeout: 246 seconds]
fjfish has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
fjfish has joined #ruby
pel_daniel has joined #ruby
francisfish has quit [Ping timeout: 245 seconds]
fjfish has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
francisfish has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
WPA3 has joined #ruby
BRMatt has joined #ruby
hadees has joined #ruby
Monie has joined #ruby
francisfish has quit [Read error: Connection reset by peer]
browndawg has quit [Quit: Leaving.]
baroquebobcat has quit [Quit: baroquebobcat]
tk_ has quit [Quit: ばいばい]
francisfish has joined #ruby
mrsolo has joined #ruby
cj3kim has joined #ruby
_veer has joined #ruby
enebo has joined #ruby
xue has quit [Read error: Connection reset by peer]
ddd_ has quit [Ping timeout: 246 seconds]
geggam has joined #ruby
sarkis has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Astral_ has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby
hadees has quit [Client Quit]
tonni has quit [Ping timeout: 245 seconds]
persand has quit [Quit: persand]
clocKwize has quit [Quit: clocKwize]
rhys has joined #ruby
cj3kim has quit [Ping timeout: 246 seconds]
persand has joined #ruby
mklappstuhl has quit [Ping timeout: 264 seconds]
r4nd0m1 has joined #ruby
michaeldeol has joined #ruby
kiri has quit [Quit: Leaving]
Akuma has quit [Ping timeout: 264 seconds]
lessless has quit [Remote host closed the connection]
Akuma has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
alex__c2022 has joined #ruby
musl has quit [Quit: WeeChat 0.4.1]
theRoUS has quit [Ping timeout: 245 seconds]
hadees has joined #ruby
thebastl has quit [Remote host closed the connection]
blaxter has quit [Ping timeout: 245 seconds]
PaulePanter has joined #ruby
cads has quit [Ping timeout: 276 seconds]
threecreepio has joined #ruby
michaeldeol has quit [Ping timeout: 255 seconds]
intuxicated has quit [Ping timeout: 246 seconds]
francisfish has quit [Read error: Connection reset by peer]
jprovazn has quit [Quit: Odcházím]
francisfish has joined #ruby
Quashie has joined #ruby
brbcoding has joined #ruby
Akuma has quit [Ping timeout: 246 seconds]
nari has quit [Ping timeout: 260 seconds]
xue has joined #ruby
Akuma has joined #ruby
tonni has joined #ruby
io_syl has joined #ruby
WPA3 has left #ruby [#ruby]
ananthakumaran has quit [Quit: Leaving.]
persand has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
aganov has quit [Read error: Operation timed out]
joshmyers has joined #ruby
<joshmyers> hey guys, anyone know if passenger 3 supports passenger_pre_start and not just in passenger 4?
Targen_ has quit [Ping timeout: 248 seconds]
huevon has quit [Quit: WeeChat 0.4.1]
pitzips has joined #ruby
zachrab has joined #ruby
threesome has quit [Ping timeout: 264 seconds]
avril14th has quit [Ping timeout: 264 seconds]
tonni has quit [Ping timeout: 245 seconds]
sqd has quit [Quit: sqd]
ninegrid has quit [Read error: Operation timed out]
bklane has joined #ruby
mklappstuhl has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
hamakn has quit [Remote host closed the connection]
xue has quit [Remote host closed the connection]
sqd has joined #ruby
bricker_ has quit [Read error: Connection reset by peer]
lethjakman has joined #ruby
hamakn has joined #ruby
St_Marx has quit [Quit: Konversation terminated!]
hellyeah has quit [Remote host closed the connection]
Neomex has joined #ruby
St_Marx has joined #ruby
m_3 has quit [Quit: leaving]
St_Marx has quit [Client Quit]
ninegrid has joined #ruby
zorg24 has joined #ruby
bricker has joined #ruby
russt has joined #ruby
St_Marx has joined #ruby
m_3 has joined #ruby
hamakn has quit [Ping timeout: 256 seconds]
Neomex has quit [Quit: Neomex]
burlyscudd has quit [Quit: Leaving.]
michaeldeol has joined #ruby
Akuma has quit [Ping timeout: 264 seconds]
Akuma has joined #ruby
buenob has quit [Remote host closed the connection]
Guest41784 is now known as mephux
buenob has joined #ruby
mephux has quit [Changing host]
mephux has joined #ruby
yaymukund has quit [Quit: leaving]
<zeroXten> i should probably be put in jail for the kind of monkey patching i've just done
burlyscudd has joined #ruby
Banistergalaxy has joined #ruby
m8 has joined #ruby
dankest has joined #ruby
graft has joined #ruby
michaeldeol has quit [Ping timeout: 276 seconds]
tylersmith has quit [Remote host closed the connection]
agatha has joined #ruby
tylersmith has joined #ruby
bklane has quit [Remote host closed the connection]
joshmyers has quit [Remote host closed the connection]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
buenob has quit [Ping timeout: 264 seconds]
Krajsnick has joined #ruby
hydrozen has joined #ruby
Krajsnick has quit [Remote host closed the connection]
agatha has quit [Client Quit]
<giarc> i've got a basic newb question: i am using rvm and i _think_ i want to use bundle when installing/using gems in order to keep specific gem versions tied to my project? ( in python, i would use virtualenv )
apeiros has quit [Remote host closed the connection]
christianrojas has joined #ruby
<giarc> i have seen a few different ways suggested, and i am not sure which to use
dankest has quit [Client Quit]
maz-dev has joined #ruby
endless_walrus has quit [Quit: Textual IRC Client: www.textualapp.com]
suffix_ is now known as HAPPYFUNBALL
havenwood has joined #ruby
ryandeussing has quit [Remote host closed the connection]
sergicles has quit [Quit: sergicles]
ahawkins has quit [Ping timeout: 264 seconds]
arietis has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
klaut has quit [Remote host closed the connection]
persand has joined #ruby
ryandeussing has joined #ruby
zachrab has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
St_Marx has quit [Remote host closed the connection]
dangerousdave has quit [Quit: Leaving...]
St_Marx has joined #ruby
lucazi has quit [Remote host closed the connection]
<giarc> wow, didn't expect silence…
burlyscudd has quit [Quit: Leaving.]
pinage404 has quit [Excess Flood]
lyanchih has quit [Quit: lyanchih]
bklane has joined #ruby
hydrozen has quit [Quit: Textual IRC Client: www.textualapp.com]
pinage404 has joined #ruby
pinage404 has quit [Excess Flood]
* giarc wonders if anyone even sees my posts
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
DrCode has quit [Remote host closed the connection]
maz-dev has quit [Remote host closed the connection]
hadees has quit [Quit: hadees]
Xsheller has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
micje has joined #ruby
Evixion has joined #ruby
dankest has joined #ruby
maz-dev has joined #ruby
DrCode has joined #ruby
Celelibi has left #ruby ["Quitte"]
<micje> anybody know something about openssl?
<micje> This error has me stumped for over a month: http://stackoverflow.com/q/18360121/136
klaut has joined #ruby
klaut has quit [Remote host closed the connection]
pinage404 has joined #ruby
blackmesa has joined #ruby
Neener54 has joined #ruby
snovak_ has joined #ruby
AlHafoudh has joined #ruby
hamakn has joined #ruby
AlHafoudh has quit [Max SendQ exceeded]
klaut has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 240 seconds]
Voodoofish430 has joined #ruby
camilasan has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
<ayonix> giarc: so far I've also only used rvm/bundler and haven't got much trouble yet
jbpros has joined #ruby
jbpros has quit [Client Quit]
cj3kim has joined #ruby
burlyscudd has joined #ruby
noname001 has quit [Ping timeout: 276 seconds]
Lewix has joined #ruby
Vivekananda has joined #ruby
<giarc> @ayonix: ok, thanks.
kek has quit [Quit: kek]
lotherk has quit [Quit: Leaving.]
devoldmx3 has joined #ruby
Tricon has joined #ruby
io_syl has quit [Quit: io_syl]
maz-dev has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 248 seconds]
hamakn has quit [Ping timeout: 264 seconds]
hadees has joined #ruby
<havenwood> giarc: What'd you ask, just curious? (Many of us are just waking up West coast.)
mansi has quit [Read error: Connection reset by peer]
<havenwood> West siiiiide.
llaskin has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<llaskin> is there a way to have minitest run tests in series, without running setup/teardown between each test?
<giarc> @havenwood: i've got a basic newb question: i am using rvm and i _think_ i want to use bundle when installing/using gems in order to keep specific gem versions tied to my project? ( in python, i would use virtualenv )
mansi has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
JDHankle has quit [Remote host closed the connection]
persand has quit [Ping timeout: 240 seconds]
<havenwood> giarc: Yeah, a Gemfile with Bundler is a canonical way. You put gem deps in your Gemfile, commit the Gemfile.lock that results, when you want to vendor local gems and deploy: bundle --deployment
nfk has quit [Quit: yawn]
Akuma has quit [Ping timeout: 264 seconds]
<giarc> @havenwood: thanks, i was just not sure if it was the "right" method or not, had seen revn and sandboox as suggestions also…it _seemed_ right, but...
Akuma has joined #ruby
hiroyuki has quit [Read error: Connection reset by peer]
<spike|spiegel> havenwood: one of the gazillion reasons I hate bundler is that, it expects you run that shit on production.
buenob has joined #ruby
aedorn has joined #ruby
<spike|spiegel> no, sorry, not happening
senayar has quit [Remote host closed the connection]
<giarc> @spike|spike|spiegel: what are any of the other gazillion reasons you hate bundler?
<giarc> and, do you use something in its place?
woolite64_ has joined #ruby
<spike|spiegel> where to start? that it molests RUBYOPT?
<spike|spiegel> no, I kind of half use it, only on dev.
micje has quit [Ping timeout: 250 seconds]
thesheff17 has quit [Read error: Connection reset by peer]
<giarc> on prod you just use system wide gems?
<spike|spiegel> gem files are checked into repo, checksum'd and matched on deploys
mikepack has joined #ruby
woolite64__ has joined #ruby
AntelopeSalad has quit []
<havenwood> giarc: Yes, the Bundler "way" has been widely adopted, but isn't universal. There is a bit of overlap between gemspecs and Gemfiles, but they are distinct: http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
jan1337zZz is now known as jan1337z
jan1337z is now known as Jan
<havenwood> giarc: There are other tools built around the issue as well, like chgems: https://github.com/postmodern/chgems#readme
<hanmac> my stuff are mostly gems and not "real apps" and even my real apps will be shipped as gems so i do not care about Bundler
Jan is now known as Guest84271
Kruppe has joined #ruby
<havenwood> hanmac: You just use a gemspec?
<hanmac> yeah
<havenwood> giarc: Yeah, also depends on how you deploy. Gem dependencies are in gemspec.
<giarc> ( current app deploys via capistrano )
Akuma has quit [Ping timeout: 276 seconds]
woolite64 has quit [Ping timeout: 268 seconds]
<havenwood> giarc: A dirty rule-of-thumb might be Gemfile for apps and gemspec for gems.
Akuma has joined #ruby
mengu has joined #ruby
michaeldeol has joined #ruby
AndChat| has joined #ruby
woolite64_ has quit [Ping timeout: 240 seconds]
twoism has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
<ravster> hey all , How do I check if a string includes "foo" or "bar" ? String.include? only takes in one arg, right?
cloke has joined #ruby
<wallerdev> ["foo", "bar"].any? { |thing| str.include? thing }
<havenwood> llaskin: ^ Check out the #i_suck_and_my_tests_are_order_dependent! method.
thesheff17 has joined #ruby
<jokke> whats the rails channel again?
<jokke> ruby_on_rails?
<wallerdev> #rubyonrails
<havenwood> jokke: #RubyOnRails
<jokke> ah
<jokke> thanks
Banistergalaxy has quit [Ping timeout: 264 seconds]
<hanmac> havenwood woot? the method realy exists? i thought it would be a joke ;D (okay minitest normaly is a joke)
<wallerdev> haha
ephemerian has left #ruby [#ruby]
<havenwood> hanmac: No joke. (Well a joke for sure, but really does exist.) >.>
zorg24 has quit [Ping timeout: 256 seconds]
<llaskin> havenwood: LMFAO really?
Alina-malina has quit [Read error: Connection reset by peer]
<havenwood> llaskin: Yeeup.
Alina-malina has joined #ruby
<hanmac> i only used the real test-unit stuff (gem) because its better then mini-test
bsaboia_ has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Akuma has quit [Ping timeout: 245 seconds]
ghr has quit [Quit: Computer has gone to sleep.]
<giarc> another sorta newb question: any ruby console with syntax hightlighting?
sayan has quit [Quit: Leaving]
<giarc> irb is nice and all, but...
Krajsnick has joined #ruby
timonv has joined #ruby
<spike|spiegel> hanmac: probably have to learn to use 'than' more often than 'then'
Akuma has joined #ruby
twoism has quit [Remote host closed the connection]
mengu has quit [Quit: This computer has gone to sleep]
<havenwood> giarc: Pry! http://pryrepl.org/
twoism has joined #ruby
<havenwood> giarc: Check out the pry-theme gem for extra colors.
<jokke> rubyonrails is dead... :(
<havenwood> giarc: Also worth on top of pretty colors.
<jokke> the channel that is
woolite64__ is now known as woolite64
<giarc> perfect! thanks
<havenwood> s/worth/worth using
timonv has quit [Read error: Connection reset by peer]
<shevy> jokke not a big loss, #ruby is where the real fun is ;)
timonv has joined #ruby
<hanmac> spike|spiegel: so i will use thæn and we both are happy ;P
Monie has joined #ruby
<jokke> hehe
<llaskin> havenwood: why does this not print anything out at all? http://pastie.org/8257107 just returns that there were 0 test/asserts/etc?
Es0teric has joined #ruby
huevon has joined #ruby
dangerousdave has joined #ruby
twoism has quit [Ping timeout: 248 seconds]
Akuma has quit [Excess Flood]
St_Marx has quit [Quit: Konversation terminated!]
Akuma has joined #ruby
<havenwood> llaskin: afaik, just put `i_suck_and_my_tests_are_order_dependent!` once at the top of the file.
luke has joined #ruby
flak has joined #ruby
luke is now known as Guest43723
thebastl has joined #ruby
timonv_ has joined #ruby
bklane has quit [Ping timeout: 245 seconds]
Guest43723 has quit [Read error: Connection reset by peer]
timonv has quit [Read error: Connection reset by peer]
St_Marx has joined #ruby
flak is now known as Guest10188
daniel_hinojosa has joined #ruby
afd__ has quit [Ping timeout: 256 seconds]
burlyscudd has quit [Quit: Leaving.]
cloke has quit [Quit: cloke]
AMcP has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
rippa has quit [Ping timeout: 248 seconds]
devoldmx has joined #ruby
Vicmaster has quit [Ping timeout: 248 seconds]
zathraz has quit [Ping timeout: 268 seconds]
Vicmaste_ has joined #ruby
<havenwood> llaskin: Also note, you've got to be using a new-ish version of Minitest for #i_suck_and_my_tests_are_order_dependent! to be available.
<llaskin> havenwood:
musl has joined #ruby
<llaskin> i have latest gem (5.0.6) installed
spider-mario has joined #ruby
tonni has joined #ruby
AlHafoudh has joined #ruby
<havenwood> llaskin: Get rid of everything before `i_suck` on that line. (Should work yeah? I haven't had coffee yet.)
mengu has joined #ruby
barratt has quit [Ping timeout: 276 seconds]
timonv_ has quit [Ping timeout: 245 seconds]
cody-- has quit [Quit: Computer has gone to sleep.]
<llaskin> still no output havenwood
<llaskin> just blank output that is...
Rix has quit [Ping timeout: 264 seconds]
chrisja has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
<havenwood> llaskin: I'm not used to test-style defs, but I don't see the issue right off. Works if you remove the #i_suck line?
<llaskin> no it doesn't
<llaskin> but...it should
endzyme has joined #ruby
Akuma has quit [Ping timeout: 268 seconds]
Akuma has joined #ruby
<llaskin> wtf am I doing wrong...<rage>
<havenwood> llaskin: I always see an underscore after test in the method name, wonder if that is related.
<havenwood> llaskin: Dunno though...
<llaskin> no change
tonni has quit [Ping timeout: 264 seconds]
<havenwood> llaskin: What are you expecting? #p is really fast
Krajsnick has quit [Remote host closed the connection]
<havenwood> llaskin: Put a sleep in the method if you want it slow? :P
<hanmac> llaskin try to look at test-unit … its better than minitest and can do more
pskosinski has quit [Quit: Til rivido Idisti!]
<havenwood> llaskin: Test runs on file exit.
<llaskin> havenwood: I want it to just print out the text...i am running in a terminal, so I figure I should see all the test output....
Krajsnick has joined #ruby
<Neener54> Anyone know why God would load an application up using it's own Gemfile instead of the apps Gemfile? Even though it's run with bundle exec?
philcrissman_ has joined #ruby
bklane has joined #ruby
<Neener54> My theory is that bundler looks for the GEMFILE_PATH and that is set by running God using bundle exec
sqd has quit [Quit: sqd]
rcosta has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
love_color_text has quit [Read error: Connection reset by peer]
love_color_text has joined #ruby
havenwood has quit [Remote host closed the connection]
tyfighter has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
kpshek has quit []
rcosta has quit [Read error: Connection reset by peer]
endzyme has quit [Read error: Connection reset by peer]
rupee has joined #ruby
Krajsnick has quit [Remote host closed the connection]
zarubin has quit [Ping timeout: 248 seconds]
endzyme has joined #ruby
ananthakumaran1 has joined #ruby
icco has left #ruby ["Textual IRC Client: www.textualapp.com"]
St_Marx has quit [Quit: Konversation terminated!]
ananthakumaran has quit [Read error: No route to host]
fsck3r has joined #ruby
timonv has joined #ruby
St_Marx has joined #ruby
endzyme has quit [Remote host closed the connection]
cloke has joined #ruby
ananthakumaran1 has quit [Read error: No route to host]
ananthakumaran has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
sjltaylo_ has joined #ruby
cody-- has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
dtcrshr has joined #ruby
dtcrshr has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
sayonarauniverse has joined #ruby
ananthakumaran has joined #ruby
robbyoconnor has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
nomenkun has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
timonv has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
philcrissman_ has joined #ruby
iliketur_ has joined #ruby
ebobby has joined #ruby
ananthakumaran has joined #ruby
AMcP has quit [Remote host closed the connection]
cloke has quit [Client Quit]
bklane has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
mansi has joined #ruby
klaut has quit [Remote host closed the connection]
kpshek has joined #ruby
allanm has joined #ruby
Matriks has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
cody-- has quit [Ping timeout: 264 seconds]
twoism has joined #ruby
mwmnj has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
Rym_ has joined #ruby
Guest84271 is now known as jan1337zZz
Targen has joined #ruby
Rym has quit [Ping timeout: 268 seconds]
Rym_ is now known as Rym
zeade has joined #ruby
cody-- has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
tylersmith has joined #ruby
endzyme has joined #ruby
fsck3r has quit [Quit: Linkinus - http://linkinus.com]
mariondaly has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
gyre007 has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
stkowski has joined #ruby
obs has quit [Quit: Konversation terminated!]
sambao21 has joined #ruby
fsck3r has joined #ruby
mariondaly has quit [Client Quit]
momomomomo has joined #ruby
timonv has joined #ruby
robbyoconnor has joined #ruby
St_Marx has quit [Quit: Konversation terminated!]
fsck3r has quit [Client Quit]
sahoal has joined #ruby
fsck3r has joined #ruby
jan1337zZz is now known as jan1337z
AntelopeSalad has joined #ruby
arkoriex has joined #ruby
cajueiro has joined #ruby
caju has quit [Read error: Connection reset by peer]
Zeeraw has quit [Quit: Computer has gone to sleep.]
visof has joined #ruby
Krajsnick has joined #ruby
jefflyne has joined #ruby
sambao21 has quit [Client Quit]
cody-- has quit [Ping timeout: 268 seconds]
DrCode has quit [Remote host closed the connection]
cloke has joined #ruby
qhartman has joined #ruby
BillCriswell has quit [Remote host closed the connection]
brennanMKE has quit [Read error: Connection reset by peer]
jefflyne has quit [Client Quit]
thebastl has quit [Remote host closed the connection]
threecreepio has quit [Ping timeout: 256 seconds]
snovak_ has quit [Remote host closed the connection]
hiroyuki has joined #ruby
pusewicz_ has quit [Ping timeout: 246 seconds]
cody-- has joined #ruby
elaptics is now known as elaptics`away
mwmnj has quit [Ping timeout: 264 seconds]
seich- has quit [Ping timeout: 264 seconds]
rogeruiz has joined #ruby
kidoz has joined #ruby
pitzips has quit [Ping timeout: 264 seconds]
geoffw8_ has quit [Ping timeout: 260 seconds]
zoee has joined #ruby
niftylettuce has quit [Ping timeout: 246 seconds]
NimeshNeema has quit [Ping timeout: 246 seconds]
devoldmx has quit [Read error: Connection reset by peer]
maddog_ has quit [Ping timeout: 240 seconds]
jefflyne has joined #ruby
xerxas has quit [Ping timeout: 260 seconds]
c0rn has joined #ruby
Zeeraw has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
maddog_ has joined #ruby
sjltaylo_ has quit [Ping timeout: 245 seconds]
godzirra has joined #ruby
cody-- has quit [Max SendQ exceeded]
io_syl has joined #ruby
endzyme has quit [Remote host closed the connection]
<banisterfiend> which is the best free alternative to microsoft office ? (for osx)
m8 has quit [Quit: Sto andando via]
JoeTheGuest has quit [Ping timeout: 264 seconds]
<apeiros> probably still openoffice/libreoffice
<godzirra> Hi guys. I'm trying to parse a json file with this code: http://pastebin.com/gRa7KVE9 and its reading the same json file both for the sinatra code and the command line code. For some reason the sinatra code dies with "Can't convert array into string" on the JSON.parse line. What am I doing wrong?
snovak has joined #ruby
[Neurotic] has quit [Ping timeout: 246 seconds]
fcoury has quit [Ping timeout: 264 seconds]
DrCode has joined #ruby
devoldmx has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
<hanmac> godzirra: hm look at the RUBY_VERSION inside of both, are they the same or different?
<llaskin> banisterfiend: openoffice probably
cody-- has joined #ruby
bi0xid has joined #ruby
fcoury has joined #ruby
<godzirra> hanmac: It should be the same. I'm running them both from the same command line as "ruby test_parking.rb" and "ruby sinatra_parking.rb"
<godzirra> From the same window and everything
hukl has joined #ruby
rcosta has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
adeponte has joined #ruby
michaeldeol has quit [Remote host closed the connection]
Akuma has quit [Ping timeout: 246 seconds]
<bi0xid> hello there. Can someone help me with an issue? [ERROR] cannot load such file -- typhoeus - tried everything on the net about it (MacosX)
Akuma has joined #ruby
pitzips has joined #ruby
<hanmac> godzirra did you have an json gem or something like that? is Json.method(:parse).source_location does that shows you the same?
flughafen_ is now known as tapioca
jan1337z is now known as jan1337zZz
Spami has joined #ruby
Spami has joined #ruby
jan1337zZz is now known as jan1337z
jan1337z is now known as Jan
Jan is now known as Guest62605
Guest10188 is now known as rippa
huoxito has joined #ruby
strgbrew has joined #ruby
<godzirra> hanmac: Let me try that.
seich- has joined #ruby
endash has joined #ruby
<godzirra> /home/godzirra/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/json/common.rb
St_Marx has joined #ruby
ferr has joined #ruby
<godzirra> /home/godzirra/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/json/common.rb
<godzirra> Yup. They're the same.
ehc has quit [Quit: ehc]
jp- has joined #ruby
smigg has joined #ruby
kylebt has joined #ruby
<hanmac> godzirra thm then the only idea i have is that you upgrade your ruby beause this one is a bit outdated ...
<godzirra> I can, but the fact that it works one place and not another doesn't seem right. :/
Al_ has quit [Quit: Al_]
zorg24 has joined #ruby
<godzirra> What version should I update to?
alvaro_o has joined #ruby
tvw has quit []
maz-dev has joined #ruby
stkowski has quit [Quit: stkowski]
<hanmac> godzirra … i think i found the problem … what happend when you add an "" before the rescue line ? (i mean in the line before)
freerobby has quit [Quit: Leaving.]
mattyohe has joined #ruby
momomomomo has quit [Quit: momomomomo]
stkowski has joined #ruby
<godzirra> Just a ""?
<godzirra> Let me try.
tylersmith has quit [Read error: Connection reset by peer]
kylebt has left #ruby [#ruby]
michaeldeol has joined #ruby
brtdv has joined #ruby
<godzirra> ...
<godzirra> why does that now work?
tylersmith has joined #ruby
<hanmac> godzirra because of the post … it wants an string inside the block
<godzirra> Huh.
<godzirra> Okay. Well thank you. :)
robbyoconnor has quit [Quit: Konversation terminated!]
AMcP has joined #ruby
love_color_text has quit [Ping timeout: 256 seconds]
burlyscudd has joined #ruby
mary5030 has joined #ruby
Akuma has quit [Ping timeout: 245 seconds]
ferr has quit [Read error: Connection reset by peer]
Akuma has joined #ruby
thepumpkin has joined #ruby
AMcP has quit [Remote host closed the connection]
Guest62605 is now known as jan1337zZz
Rix has joined #ruby
robbyoconnor has joined #ruby
Speed has joined #ruby
BRMatt has quit [Ping timeout: 268 seconds]
Xeago_ has quit [Remote host closed the connection]
Adawerk has quit [Read error: Connection reset by peer]
bsaboia_ has quit [Ping timeout: 264 seconds]
burlyscudd has quit [Ping timeout: 245 seconds]
<Monie> http://codepad.org/N60nKk4G Hi, I can not find the error here. What am I doing wrong?
axl_ has quit [Quit: axl_]
<shevy> Monie first, this is not good
<shevy> you give us only a bit code, but the error code be somewhere else
<shevy> syntax error, unexpected kWHEN
<shevy> so the first question Monie
<Monie> When I take this out, everything is working fine.
<shevy> - Where is "case"?
mostlybadfly has joined #ruby
<shevy> will you show the full file or will you not
cody-- has quit [Ping timeout: 240 seconds]
iliketur_ has quit [Quit: zzzzz…..]
<Monie> I can't show the other part as it contains code I am not allowed to show
<mostlybadfly> Hi all
<shevy> hey mostlybadfly
Neener54 has quit [Quit: Adios muchachos!!!]
<MrZYX> Monie: then write a minimal example reproducing your error
<Morrolan> Monie: Then replace the actual functionality with goop, the thing which'll help with fixing your error is seeing the various structures. (Conditions, loops, ...)
<mostlybadfly> I'm interested in learning. Any particular method or text you recommend?
rcosta_ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
<Morrolan> Best bet is that you didn't use a 'case' statement.
maz-dev has quit [Remote host closed the connection]
love_color_text has joined #ruby
cody-- has joined #ruby
Spami has quit [Read error: Connection reset by peer]
maz-dev has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
jaredlevitz has quit [Quit: Leaving.]
<mostlybadfly> Oh I see there is documentation on the site about getting started
<workmad3> mostlybadfly: learning to program by chris pine, programming ruby, ruby koans, I think there's some codeschool tutorials too...
<shevy> mostlybadfly yeah work through http://pine.fm/LearnToProgram/?Chapter=00
Astralum has joined #ruby
rcosta has quit [Ping timeout: 256 seconds]
<mostlybadfly> Cool I'll do that thanks guys :)
<Morrolan> https://www.bloc.io/ruby-warrior/ for the breaks in between chapters. :)
<shevy> it gives an overview over ruby... you understand string objects... you also know some keywords like "yield" ... you will also understand what a block is
<shevy> mostlybadfly, but never forget, the best way is to start writing scripts completely on your own, ideally do so for some days, then immediately start to make gems
jaredlevitz has joined #ruby
<shevy> gems will force you to have a solid structure for your projects/code
<mostlybadfly> Ah ok
Rym has quit [Quit: Rym]
<shevy> :)
Notte has joined #ruby
<mostlybadfly> I'm completely new to programming so all these concepts will be new to me
<shevy> yeah
<shevy> I started with perl, then php
* Morrolan waves the VB.NET pole
<shevy> now I need to decide for .. C or C++ or C# or Go or Java... and I hate them all
<mostlybadfly> My bf is working with Ruby in his new job so I thought I'd join him and start there
maz-dev has quit [Remote host closed the connection]
burlyscudd has joined #ruby
__maes_ has quit [Ping timeout: 240 seconds]
<Morrolan> shevy: Java's not too bad, just very verbose. :)
<shevy> :(
<shevy> ruby spoiled me
<shevy> I hate verbosity
<Morrolan> Hehe.
forrest has joined #ruby
iliketur_ has joined #ruby
<mostlybadfly> shevy: so you mean not relying on prebuit scripts. Write and save my own?
fmcgeough has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
<shevy> Morrolan I really think verbosity is a curse ... I am very much in favour of trying to express an idea, readable if possible, but at any rate, to be terse (unless it makes the code not understandable, or too complicated)
mengu has joined #ruby
<shevy> mostlybadfly yes
<Morrolan> Oh, I agree.
<shevy> mostlybadfly even if your code sucks at first, you will learn more that way
_maes_ has quit [Ping timeout: 256 seconds]
<mostlybadfly> All language has a tendency to drift towards less verbose models
saarinen has joined #ruby
<shevy> mostlybadfly lateron, a big trick is to know what ruby offers for you to use, for instance
<mostlybadfly> In general I mean spoken language
<shevy> .each .any? .all? .reject .scan .grep
<shevy> well, spoken languages are different
<shevy> if you write a poem
<mostlybadfly> Yeah that's going to be a big deal i take it
<shevy> or a roman... a thriller, novel ... you can be verbose and it can be beautiful
<shevy> but when you write for a computer to do things for you, I think being verbose is annoying
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> verbose boilerplate is annoying
mengu has quit [Client Quit]
<mostlybadfly> Right but I just mean language in daily usage tends to simplify as it progresses
<workmad3> unnecessary terseness can also be annoying
<shevy> java is indeed rather wide-spread ... but I don't know... I just can't overcome my inertia
ehc has joined #ruby
<hanmac> shevy that reminds me i need to collect more infos for a possible roman ;P
<shevy> omg
<mostlybadfly> I studied linguistics and I'm curious to see if anything applies
<shevy> in german hanmac ?
DanKnox_away is now known as DanKnox
sambao21 has joined #ruby
<huf> do you guys mean a "novel"?
<shevy> btw hanmac do you know Beliar from #parpg? he is also from germany and a coder (python mostly and C)
mrsolo has quit [Quit: This computer has gone to sleep]
<shevy> huf yeah
<hanmac> shevy yeah … or do you want that i write it in english too?
sayan has joined #ruby
kidoz has quit [Quit: Ухожу я от вас]
<shevy> hanmac no... german please :D
<workmad3> mostlybadfly: it might do... however, keep in mind that programming languages have a lot less drift in syntax and grammar than a spoken language
<hanmac> shevy no, i think there are more good coders then just two of us ;P
<workmad3> mostlybadfly: because if we get those things wrong, our code just doesn't work, while in spoken (and written) language, deviation from commonly used syntax and grammar can still lead to understanding :)
<shevy> yes... but that's it for games, folks ought to stay connected, loosely at least
maz-dev has joined #ruby
randomautomator has joined #ruby
<shevy> mostlybadfly well, pattern matching is part of how the human brain works
<yxhuvud> workmad3: they do? Have you looked at 1ed k&r style c?
<mostlybadfly> workmad3: good point
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kpshek has quit []
<shevy> I am sure if you are good at pattern matching languages, you can learn them faster or pick them up faster
<yxhuvud> stuff like variable definitions. yikes.
zmike1234 has quit [Quit: ~]
mansi has joined #ruby
Monie has joined #ruby
<workmad3> mostlybadfly: I'd also disagree a bit that language has a simplifying trend... we might be on a local downward trend atm (although that's probably not fully conclusive), however if you look at the broader range of human language and consider the complexity and sophistication of concepts that are in common usage now compared to historical use, I suspect you'll find a major upward trend ;)
Akuma has quit [Ping timeout: 264 seconds]
<shevy> ok, see
<shevy> yield if block_given?
<shevy> is ruby
Akuma has joined #ruby
cody-- has quit [Ping timeout: 264 seconds]
<shevy> but so is
<shevy> ->() {}
<shevy> # => #<Proc:0x9008760@(irb):1 (lambda)>
<shevy> mostlybadfly don't get confused! simply ignore all that confuses you in ruby
<shevy> you can use only 5% of ruby and it still is better than 100% of php
`MArceLL` has joined #ruby
hasrb has joined #ruby
<mostlybadfly> Monie: I'm thinking more of predominance of lax features in romance languages I've studied. Further simplification of phelonetic traits from Spanish to Portuguese are prevalent even though the vowel system is decidedly more complex
<Monie> ;o
maz-dev has quit [Remote host closed the connection]
michaeldeol has quit [Remote host closed the connection]
maz-dev has joined #ruby
ephemerian has joined #ruby
<mostlybadfly> The language in general has more simplified forms such as a weakening of roticity in certain phonemes or diphthongization
<mostlybadfly> This is my only background so i can't speak for all
<shevy> I like the portuguese language
<shevy> but not that famous singing part...
<workmad3> mostlybadfly: ah, at that level I don't really have any background knowledge to fall back on
<mostlybadfly> I also think of the great vowel shifts were various phonemes were eliminated
<hanmac> shevy i like the korean font … it looks so spaceic ;P … but it doesnt sound "right" for some reason ...
mansi has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
<visof> is there a convenient way to write a string with multiple " as example: ""hello","world","foo","bar""
mrsolo has joined #ruby
mary5030_ has joined #ruby
<visof> i need \ for inside "
<shevy> korean fonts are ok
<apeiros> visof: a) use single quotes
<apeiros> b) use %{} literal
<shevy> much easier to understand than chinese font
<shevy> hanmac yeah, I think latin alphabet beats them due to simplicity alone
<apeiros> >> %{"hello", "world"}
<visof> why single quotes?
<eval-in> apeiros => "\"hello\", \"world\"" (https://eval.in/44412)
dodosan has quit [Remote host closed the connection]
marsLantern has quit [Quit: marsLantern]
<workmad3> visof: "s don't need escaping inside a '' string
<apeiros> visof: because with single quotes you don't have to escape "
<mostlybadfly> shevy: I speak Portuguese :)
<workmad3> visof: bun you also can't use #{} interpolations
<apeiros> >> '"hello", "world"'
<eval-in> apeiros => "\"hello\", \"world\"" (https://eval.in/44413)
thepumpkin has quit [Remote host closed the connection]
<workmad3> *but
<apeiros> butt!
<shevy> mostlybadfly yeah, it's a cool language, when I was younger I wanted to go to Brazil for a while
<workmad3> apeiros: I like!
lambda has quit [Quit: lambda]
freerobby has joined #ruby
bluenemo has quit [Read error: Connection reset by peer]
kpshek has joined #ruby
mary5030 has quit [Ping timeout: 248 seconds]
Zeeraw has quit [Quit: Computer has gone to sleep.]
Matriks has joined #ruby
thepumpk_ has joined #ruby
cody-- has joined #ruby
cookiemonsta has joined #ruby
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<shevy> that could be a method call
<shevy> class Fat; def butt!
<shevy> hmm no
<shevy> class Fat; def self.butt!
<mostlybadfly> shevy: I still want to go. I grew up speaking Spanish so it was quick to pick up. Been wanting to visit ever since
jdenen has quit [Quit: Leaving.]
mansi has joined #ruby
AMcP has joined #ruby
Zeeraw has joined #ruby
theRoUS has quit [Ping timeout: 245 seconds]
dml_ has joined #ruby
jdenen has joined #ruby
mansi has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
mansi has joined #ruby
bklane has joined #ruby
ahawkins has joined #ruby
lkba has quit [Read error: Connection reset by peer]
AMcP has quit [Remote host closed the connection]
AMcP has joined #ruby
atyz has joined #ruby
jdenen has quit [Client Quit]
jonahR has joined #ruby
jdenen has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
dpatel has joined #ruby
tvw has joined #ruby
_ffio_ has joined #ruby
altamic has joined #ruby
ffio_ has quit [Ping timeout: 264 seconds]
_honning_ has joined #ruby
altamic has left #ruby [#ruby]
JZTech101 has quit [Ping timeout: 259 seconds]
sayan has quit [Ping timeout: 264 seconds]
gyzmodo has quit [Ping timeout: 248 seconds]
mengu has joined #ruby
JZTech101 has joined #ruby
mikepack has quit [Remote host closed the connection]
buenob has quit [Remote host closed the connection]
maz-dev has quit [Remote host closed the connection]
lambda has joined #ruby
hurrrtin has joined #ruby
Fire-Dragon-DoL has joined #ruby
blackmesa has joined #ruby
mengu has quit [Client Quit]
axl_ has joined #ruby
<hurrrtin> If I wanted a class to respond to any method (even one that isn't defined), how can I do that?
SegFaultAX has quit [Quit: ZNC - http://znc.in]
<banisterfiend> hurrrtin method_missing
<hurrrtin> banisterfiend: What would contain the attempted method? __method__?
<banisterfiend> hurrrtin the first argument
SegFaultAX has joined #ruby
<banisterfiend> >> o = Object.new; def o.method_missing(name, *args); "method name is #{name}"; end; o.hello
<eval-in> banisterfiend => "method name is hello" (https://eval.in/44423)
<banisterfiend> >> o = Object.new; def o.method_missing(name, *args); "method name is #{name}"; end; o.goobity_goobity_glug
<eval-in> banisterfiend => "method name is goobity_goobity_glug" (https://eval.in/44424)
m8 has joined #ruby
<banisterfiend> hurrrtin ^
<hurrrtin> and then *args would be a hash of whatever else was passed to the method?
devoldmx has quit [Read error: Connection reset by peer]
love_color_text has quit [Ping timeout: 264 seconds]
sebcioz has joined #ruby
xcv has quit [Remote host closed the connection]
barratt has joined #ruby
snath has quit [Ping timeout: 264 seconds]
m8 has quit [Read error: Connection reset by peer]
<hanmac> hurrrtin: look at respond_to_missing? for more fun and pun ;P
devoldmx has joined #ruby
<davidcelis> does anybody alive actually prefer """ over HEREDOCs
<banisterfiend> hurrrtin an array of args
Asher has quit [Ping timeout: 256 seconds]
<yxhuvud> do """ even work in ruby? I thought that was a pythonism
<banisterfiend> davidcelis """ is a cute joke :P
<hanmac> davidcelis """ does not work in ruby, i think you are in the wrong channel
<banisterfiend> yxhuvud it works but only as a joke
<banisterfiend> yxhuvud "hello" "baby" works in ruby as it does in C
<hanmac> banisterfiend: and he maybe should also look at **opts ;P
<yxhuvud> ah yes, true.
<banisterfiend> it concatenates those strings together
michaeldeol has joined #ruby
<davidcelis> i just caught some usage of """ this bullshit """ in our app
sparq_ has joined #ruby
<hanmac> davidcelis this part is valid ruby too: 5 . to_s
Criztian has quit [Remote host closed the connection]
sayan has joined #ruby
m8 has joined #ruby
Astralum has quit [Ping timeout: 246 seconds]
<banisterfiend> hanmac you been keeping up with AT ?
arkoriex has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<yxhuvud> hanmac: here is another string for you: % c .upcase
RubNoob has joined #ruby
llaskin has left #ruby [#ruby]
JoeTheGuest has joined #ruby
dodosan has joined #ruby
<hurrrtin> Even with using method_missing, it still throws undefined method error. Do I need to do something else?
<RubNoob> anyone have a suggestion for a gem that could do output to the console like the "top" command?
fenicks has joined #ruby
<hanmac> banisterfiend: last weekend i watched the last episodes i missed … imo its sad that finn and FP are not together anymore … i think if finn now comes together with PB .. it would get ugly … (and PB lost her shirt from MC … i dont know if she can forgive that)
oddalot has joined #ruby
<banisterfiend> hanmac do you notice finn's voice has broken? :)
grits has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
love_color_text has joined #ruby
<sebcioz> @RubNoob look for ncurses ruby
codecop has quit [Ping timeout: 248 seconds]
<RubNoob> sebcioz perfect, thank you!
eldariof has joined #ruby
<hanmac> banisterfiend: hm not so much … but the LemonTribe still creeps me out … (specialy the small one in the clock)
<hurrrtin> nvm- since its not instantiated, I had to do self.method_missing
St_Marx has quit [Quit: Leaving.]
<banisterfiend> hanmac Are you a fan The Earl ?
<banisterfiend> of
enebo has quit [Quit: enebo]
St_Marx has joined #ruby
sparq_ has quit [Ping timeout: 245 seconds]
<hanmac> no, they are creeepy … (spealy the small one that opens his head while screaming)
<hanmac> banisterfiend: did you notice that in the Povoy Episode that Adult!Finn was voiced by Riker from StarTrek? ;P
postmodern has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
<banisterfiend> hanmac no, good spotting
<banisterfiend> hanmac lemon grab is my role model
<hanmac> banisterfiend: i only read about but his voice was "ALPHANUMERIC" ;D
devoldmx has joined #ruby
michaeldeol has quit [Ping timeout: 264 seconds]
NimeshNeema has joined #ruby
itcharlie has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
St_Marx has quit [Client Quit]
antn has joined #ruby
strgbrew has quit [Ping timeout: 245 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
St_Marx has joined #ruby
workmad3 has joined #ruby
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby
sarkis has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
maz-dev has joined #ruby
devoldmx has joined #ruby
love_color_text has quit [Ping timeout: 268 seconds]
ahawkins has quit [Quit: leaving]
codecop has joined #ruby
Akuma has quit [Ping timeout: 264 seconds]
devoldmx has quit [Read error: Connection reset by peer]
Akuma has joined #ruby
Criztian has joined #ruby
Criztian has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
lethjakman has left #ruby ["WeeChat 0.4.0"]
AMcP has quit [Remote host closed the connection]
devoldmx has joined #ruby
ArchBeOS is now known as enroxorz
troessner has quit [Write error: Broken pipe]
hanmac has quit [Quit: Leaving.]
workmad3 has quit [Read error: Operation timed out]
love_color_text has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
devoldmx has joined #ruby
dash_ has joined #ruby
maz-dev has quit [Remote host closed the connection]
Matriks has quit [Remote host closed the connection]
fsck3r has quit [Quit: Leaving...]
cookiemonsta has left #ruby [#ruby]
arietis has joined #ruby
nopolitica has joined #ruby
_maes_ has joined #ruby
starfox21 has quit [Ping timeout: 248 seconds]
__maes_ has joined #ruby
ebouchut has joined #ruby
love_color_text has quit [Ping timeout: 264 seconds]
brianpWins has joined #ruby
ebouchut has quit [Client Quit]
love_color_text has joined #ruby
ebouchut has joined #ruby
kpshek has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
nopolitica has quit [Client Quit]
mengu has joined #ruby
davexunit has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
alex__c2022 has quit [Quit: alex__c2022]
nopolitica has joined #ruby
labrat__ has joined #ruby
Senjai has joined #ruby
sambao21 has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
sambao21 has quit [Client Quit]
weeb1e has joined #ruby
nopolitica has quit [Client Quit]
weems2 has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
jonkri has quit [Quit: jonkri]
hackingoff has quit [Read error: Operation timed out]
Evixion has quit [Read error: Connection reset by peer]
godzirra has quit [Quit: leaving]
philcrissman_ has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
kpshek has joined #ruby
<RubNoob> sebcioz do you know how to clear an entire line using the Curses lib for Ruby?
cj3kim_ has joined #ruby
Evixion has joined #ruby
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
spyderman4g63 has joined #ruby
timonv has joined #ruby
cj3kim has quit [Ping timeout: 256 seconds]
iliketur_ has quit [Quit: zzzzz…..]
devoldmx3 has joined #ruby
rogeruiz has quit [Remote host closed the connection]
sambao21 has joined #ruby
michaeldeol has joined #ruby
geoffw8_ has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
seich- has quit [Ping timeout: 260 seconds]
weems2 has quit [Ping timeout: 246 seconds]
Zolo has quit [Remote host closed the connection]
iliketur_ has joined #ruby
xerxas has joined #ruby
Bosox20051 has joined #ruby
mikepack has joined #ruby
Ripp___ has joined #ruby
weems2 has joined #ruby
Ripp___ is now known as Ripp__
platzhirsch has joined #ruby
ehaliewicz has joined #ruby
_honning_ has quit [Ping timeout: 240 seconds]
Zeeraw has joined #ruby
vlad_starkov has joined #ruby
nopolitica has joined #ruby
decoponio has quit [Quit: Leaving...]
sahoal has quit [Read error: No route to host]
DrCode has quit [Ping timeout: 240 seconds]
<platzhirsch> In the Set source code they use the statement "enum.nil? and return" in the initialize method.
_honning_ has joined #ruby
end_guy has quit [Ping timeout: 240 seconds]
weems2 is now known as pweems
<platzhirsch> Haven't see this way of writing a return if condition statement, is that very idiomatic? ;)
sahoal has joined #ruby
<Morrolan> I'd doubt that.
matled has joined #ruby
DanBoy has quit [Ping timeout: 240 seconds]
<canton7> if I'm understanding you properly, they're called "early exit" or "guard conditions"
hackingoff has joined #ruby
Evixion has quit [Read error: Connection reset by peer]
<canton7> they're pretty idiomatic in a lot of languages
<pipework> Isn't idiomatic a bit of a misnomer for that kind of thing?
pothibo has joined #ruby
pusewicz_ has joined #ruby
<canton7> common, then :P
devoldmx3 has quit [Ping timeout: 240 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
<Morrolan> canton7: Of course, but his question was why they were using 'enum.nil? and return' instead of 'return if enum.nil?' :)
sebcioz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
niftylettuce has joined #ruby
<canton7> aha I missed the quotes
<canton7> that makes more sense
zph has quit [Quit: Computer has gone to sleep.]
love_color_text has quit [Ping timeout: 256 seconds]
<canton7> that sounds like more of a perlism?
Evixion has joined #ruby
<Morrolan> Probably, yea. :P
ebouchut has joined #ruby
<pothibo> anyone installed rbenv in arch linux? I have a few issues. First it uses /usr/local/var which doesn't exist( I created it wiht 777 perm right now just to make it work) now, rbenv plugins aren't discovered( rbenv install does not exist even tho I installed it in rbenv/plugins/
<pipework> I typically just use chruby and ruby-install
labrat__ has quit [Ping timeout: 276 seconds]
<havenwood> pothibo: If you tire of the shims, chruby: https://github.com/postmodern/chruby#readme
<pothibo> well
<pipework> havenwood: can you shimmy shake it with the best of them? :)
<pothibo> that does sound good
love_color_text has joined #ruby
<platzhirsch> Morrolan: exactly, I think return if condition is a lot more common
Asher has joined #ruby
<havenwood> pipework: shimmy shimmy
<Morrolan> platzhirsch: And more readable. :)
<MrZYX> pothibo: btw there's an AUR package for both, rbenv and chruby
<pipework> havenwood: you're good.
seich- has joined #ruby
<platzhirsch> Morrolan: but I guess you cannot get our fancy pants on with this
<pothibo> MrZYX: don't like AUR package, I don't see value in them for the most part :(
amacgregor has joined #ruby
<Morrolan> platzhirsch: Haha. :)
<MrZYX> pothibo: feeding it through pacman lets you cleanly uninstall
DrCode has joined #ruby
<visof> hello
<visof> what is the best way to fetch file from remote machine in ruby?
<pothibo> MrZYX: Agreed
pskosinski has joined #ruby
<pothibo> well actually, rbenv issue was my fault damnit
<pothibo> but rbenv is not really maintained anymore so chruby it is
[Neurotic] has joined #ruby
ericmathison has joined #ruby
<havenwood> chruby 0.4.0 on the horizon \o/
<pipework> I'm not a fan of 37signalist software project propaganda. :p
<pothibo> pipework: That was free
<pipework> pothibo: What was?
cj3kim_ has quit [Remote host closed the connection]
<havenwood> visof: I'd usually use https or shell out to scp. You might look at DRb, hrm: http://www.ruby-doc.org/stdlib-2.0/libdoc/drb/rdoc/DRb.html
<Morrolan> visof: If I was in control of the target machine, I'd probably mount the remote folder locally, using SSHFS or the like.
hamakn has joined #ruby
<pothibo> you bitching about 37 signals?
<pothibo> I'm sure you have your reason, it was just out of context.
<Morrolan> havenwood: chruby 0.4? If that pace of development is kept up, it'll soon hit 200 LOC. :O
sahoal has quit [Quit: sahoal]
antn has quit [Remote host closed the connection]
rickmasta has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
JMcAfreak has joined #ruby
BRMatt has joined #ruby
michaeldeol has quit [Remote host closed the connection]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
bklane has quit [Ping timeout: 245 seconds]
jonathanwallace1 has joined #ruby
hamakn has quit [Ping timeout: 245 seconds]
jonathanwallace1 has quit [Read error: Connection reset by peer]
<mfilipe> I'm trying to create a monkey patch on ActionMailer but it doesn't work: https://gist.github.com/mfilipe/6299079 . If I coded correctly, the execution has to stop on debugger in the brazilian-rails_actionmailer_fix.rb file.
St_Marx has quit [Remote host closed the connection]
barratt has quit [Quit: Leaving...]
<postmodern> Morrolan, lol
jonathanwallace has quit [Ping timeout: 256 seconds]
alex__c2022 has joined #ruby
brianpWins has quit [Quit: brianpWins]
jonathanwallace1 has joined #ruby
<pothibo> why does AUR want me to edit pkgbuild of chruby
teddyp1cker has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
bi0xid has quit [Quit: bi0xid]
<Morrolan> pothibo: I don't think it does?
<Morrolan> postmodern: :)
<pothibo> I am sure it does
<Morrolan> I doubt it does.
<Morrolan> It never did with me!
marcgg has joined #ruby
C0deMaver1ck is now known as ace
<pothibo> dude. If I say it did, it's possible it's because I was just asked this?
brianpWins has joined #ruby
ace is now known as C0deMaver1ck
<pothibo> ok so chruby doesn't install ruby..
robustus has quit [Ping timeout: 264 seconds]
<postmodern> pothibo, correct for that you can use ruby-install or ruby-build
<pothibo> yeah
<postmodern> pothibo, or do it manually
robustus has joined #ruby
nopolitica has quit [Quit: WeeChat 0.4.0]
Hobogrammer_ has quit [Ping timeout: 264 seconds]
amacgregor has quit [Ping timeout: 245 seconds]
end_guy has joined #ruby
<mfilipe> I'm trying to create a monkey patch on ActionMailer but it doesn't work: https://gist.github.com/mfilipe/6299079 . If I coded correctly, the execution has to stop on debugger in the brazilian-rails_actionmailer_fix.rb file. Someone knows what is wrong?
<Morrolan> pothibo: Oh, there's a disclaimer somewhere that it might be a good idea to take a look at the PKGBUILD's contents, to make sure that it's nothing malicious. Did you mean that one? :)
dodosan has quit [Remote host closed the connection]
jan1337zZz is now known as jan1337z
<pothibo> well, installing ruby on a new box, not so quick...
dash_ has quit [Ping timeout: 245 seconds]
<Morrolan> Multiple cores? :)
HAPPYFUNBALL is now known as YOLO
YOLO is now known as Guest71733
Guest71733 is now known as HAPPYFUNBALL
<pothibo> I meant the step to have it installed
brbcoding has quit []
aryaching_ has joined #ruby
relix has joined #ruby
<pipework> wget -O chruby-0.3.7.tar.gz https://github.com/postmodern/chruby/archive/v0.3.7.tar.gz && tar -xzvf chruby-0.3.7.tar.gz && cd chruby-0.3.7/ && sudo make install # Pretty quick
Neomex has joined #ruby
<Morrolan> On a modern CPU, compiling Ruby is a breeze.
<pothibo> ahaha
<pipework> Could shorten into three commands.
<pothibo> ruby-install can't install 2.0.0?
<pothibo> nvm
<pipework> Sure it can.
dash_ has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
<pothibo> yeah my fault, forgot ruby|jruby|etc ;)
jblack has quit [Ping timeout: 240 seconds]
<pothibo> been 2 hours installing stuff, I'm a bit cranky haha
<pipework> When in doubt drink it out.
<pothibo> I'm lucky digital ocean is not EC2
nowthatsamatt has joined #ruby
<pothibo> pipework: the kool-aid or the 90-proof? :P
devinus has joined #ruby
<shevy> 2 hours installing
<pothibo> sorry 140-proof
<shevy> what are you doing man
<shevy> compiling?
<devinus> is there a way to store a reference to a method in a module at the module level?
hadees has quit [Quit: hadees]
<pipework> pothibo: 120-proof everclear, sir.
<pothibo> well.. ruby has to be compiled
<pipework> Or something stronger.
<shevy> yeah but 2 hours!!!
<devinus> e.g. `escape = CGI.escape`
<Morrolan> shevy: Oh, maybe on a small VPS or the like.
<pothibo> shevy: I meant installing stuff
<pothibo> not just ruby
<shevy> devinus hmm
<shevy> devinus why not use alias or alias_method() ?
<pipework> devinus: You won't want to use locals, but you can always use the method method.
aryaching_ has quit [Ping timeout: 245 seconds]
<devinus> shevy: because i'm a Ruby noob :)
<pipework> escape = CGI.method(:escape)
<pothibo> shevy: start a new droplet on digital ocean, see how long it takes you to get up to speed with your dotfiles configuration ;)
<shevy> ok
eldariof has quit [Ping timeout: 264 seconds]
<pipework> escape.call(args)
ananthakumaran has quit [Quit: Leaving.]
<shevy> then alias should be best... if you really must, you could also use method()... and perhaps a proc, and .call it...
<devinus> i'll look up alias method
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
<pipework> shevy: Too slow.
<shevy> hah
love_color_text has quit [Ping timeout: 245 seconds]
<pothibo> pipework: I'm about to get a corona I guess that will doo ;)
<shevy> ruby is too fast for me
<pothibo> doo <-- wth.
workmad3 has joined #ruby
<shevy> pothibo I dont use dotfiles
<pipework> devinus: You'll want something closer to this: `@escape = CGI.method(:escape); @escape.call(args)`
sarkis has joined #ruby
<shevy> but I use ruby to generate everything I need when I reinstall
love_color_text has joined #ruby
<pipework> pothibo: It should be a start
SHyx0rmZ has joined #ruby
<devinus> pipework: i'll look into that too
<shevy> hmm does that work?
<pothibo> shevy: Well..
<pipework> shevy: Does what work?
<shevy> pipecloud
<shevy> damn
<shevy> too many pipes
<pothibo> or Chef
mercwithamouth has joined #ruby
havenwood has quit [Remote host closed the connection]
<devinus> shevy: is there a way to alias_method a method from another module?
<pipework> A method object is like a proc.
<shevy> pipework, the reference to a method on CGI, I thought CGI.escape is a class method hmm
<pipework> Well, closer to a lambda.
aryaching has joined #ruby
Notte has quit [Remote host closed the connection]
stuartrexking has joined #ruby
jan1337z is now known as jan1337zZz
<shevy> devinus if the other module can see that method, sure
iliketur_ has quit [Quit: zzzzz…..]
<pipework> shevy: You just need to grab whatever method. He said CGI.escape
<shevy> cool
<shevy> works on class methods too
<shevy> #<Method: CGI.escape>
mansi has quit [Remote host closed the connection]
<pothibo> pipework: well, you just gave me one hell of an idea for my gem with CGI.method
mansi has joined #ruby
<pipework> Yeah, #method is an Object method, I believe. So it should work on everything.
<devinus> what's the syntax for alias_method with an external method?
mengu has quit [Quit: This computer has gone to sleep]
<pipework> Except for BasicObject and derivatives that aren't Object.
maz-dev has joined #ruby
zorg24 has quit [Ping timeout: 248 seconds]
timonv has quit [Remote host closed the connection]
lambda has quit [Quit: lambda]
kaldrenon has quit [Remote host closed the connection]
havenwood has joined #ruby
mansi has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 264 seconds]
jokke has quit [Quit: WeeChat 0.4.1]
mansi has joined #ruby
love_color_text has quit [Ping timeout: 256 seconds]
jokke has joined #ruby
<pipework> devinus: You can also use Forwardable.
dualbus has joined #ruby
splittingred has quit [Ping timeout: 256 seconds]
maxmanders has joined #ruby
love_color_text has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
fsck3r has joined #ruby
mando has joined #ruby
c0rn has joined #ruby
hadees has joined #ruby
love_color_text has quit [Ping timeout: 276 seconds]
aces1up has joined #ruby
<aces1up> can someone help me with this http://rubular.com/r/BRwmbdgOVt why isn't it selecting the whole pid : 16308 ???
yalue has quit [Quit: Leaving]
vlad_starkov has quit [Remote host closed the connection]
maxmanders has quit [Quit: Computer has gone to sleep.]
zeade has quit [Quit: Leaving.]
<apeiros> aces1up: because .* eats up your digits
zeade has joined #ruby
<aces1up> ok got it.
<aces1up> thanks.
freerobby has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
devinus has left #ruby ["devintorr.es"]
iliketur_ has joined #ruby
kirun has joined #ruby
michaeldeol has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
musl has quit [Quit: WeeChat 0.4.1]
codecop has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 248 seconds]
snath has joined #ruby
rcosta_ has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
love_color_text has joined #ruby
musl has joined #ruby
apeiros has joined #ruby
user78 has joined #ruby
dodosan has quit [Remote host closed the connection]
Neomex has quit [Quit: Neomex]
user78 has quit [Client Quit]
maz-dev has quit [Remote host closed the connection]
maz-dev has joined #ruby
cj3kim has joined #ruby
JDHankle has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Davey has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
ppppaul has joined #ruby
ppppaul has quit [Max SendQ exceeded]
devoldmx has quit [Client Quit]
devoldmx has joined #ruby
ppppaul has joined #ruby
love_color_text has quit [Ping timeout: 248 seconds]
sayonarauniverse has quit [Quit: Page closed]
sebcioz has joined #ruby
dodosan has joined #ruby
zeropx has joined #ruby
zeropx has left #ruby [#ruby]
maz-dev has quit [Remote host closed the connection]
zeropx has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
Monie has joined #ruby
maz-dev has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
love_color_text has joined #ruby
Kruppe has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 264 seconds]
Ripp__ has quit [Quit: Ripp__]
carraroj has joined #ruby
aryaching has joined #ruby
Neomex has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
Ripp__ has joined #ruby
carraroj has quit [Client Quit]
shredding has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
zenergi has joined #ruby
devoldmx has joined #ruby
kaldrenon has joined #ruby
verto has joined #ruby
vlad_starkov has joined #ruby
sheref has joined #ruby
havenwood has quit [Remote host closed the connection]
sheref has left #ruby [#ruby]
aprilthemoo has quit [Read error: Connection reset by peer]
DrCode has quit [Ping timeout: 240 seconds]
nonamehero has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
maz-dev has quit [Remote host closed the connection]
devoldmx has joined #ruby
rvedam has joined #ruby
Companion is now known as companion
cek has joined #ruby
<cek> how do I define a let! in rspec that would be evaluated each time it's referenced in specs?
DrCode has joined #ruby
<cek> except defining a simple method :)
<Mon_Ouie> Why would you not define a simple method?
<yxhuvud> simple is better than complicated!
<cek> truth said!
|PiP| has joined #ruby
rvedam has left #ruby [#ruby]
<pipework> cek: You'd probably pass a lambda in and call it?
<cek> yea, but that requires typing []
_JamieD_ has quit [Ping timeout: 276 seconds]
<pipework> Not sure what that is supposed to mean to me.
<apeiros> programming requires typing, news at eleven
<|PiP|> is there an easy day to merge a yaml file?
unxn3rd has joined #ruby
<|PiP|> with conflicting keys
unxn3rd has quit []
<cek> |PiP|, no!
<apeiros> |PiP|: you can't merge yaml *files*. you can merge the parsed data.
<apeiros> and there: Hash#merge accepts a block for conflicting keys.
vlad_starkov has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
cody-- has quit [Quit: Computer has gone to sleep.]
blueredturtle has joined #ruby
dkamioka has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
cody-- has joined #ruby
whowantstolivefo has joined #ruby
cek has quit [Quit: жопа диридай диридиридай]
maz-dev has joined #ruby
burlyscudd has quit [Quit: Leaving.]
geekbri has quit [Remote host closed the connection]
<|PiP|> i have a single yaml file that has conflicting keys
v0n has quit [Ping timeout: 248 seconds]
devoldmx has quit [Read error: Connection reset by peer]
<|PiP|> how would i convert that to another yaml file that has all the keys merged
ppppaul has quit [Ping timeout: 240 seconds]
<apeiros> not with yaml. you'd have to write a custom parser.
nowthatsamatt has quit [Quit: nowthatsamatt]
saarinen has joined #ruby
<apeiros> or dig in yaml innards, maybe it provides a way to stream keys. sax yaml, so to speak.
devoldmx has joined #ruby
<shevy> |PiP| load it into ruby, modify your yaml file in ruby, save the dump in ruby to a yaml file again
<dkamioka> hello!
huoxito has quit [Quit: Leaving]
shredding has quit [Quit: shredding]
sailias has quit [Ping timeout: 248 seconds]
mark_locklear has quit [Quit: Leaving]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> hello dkamioka
<shevy> are you new to ruby
<dkamioka> not sooo new.
Nisstyre-laptop has joined #ruby
<dkamioka> y?
<dkamioka> why?
jdenen1 has joined #ruby
zachrab has joined #ruby
<shevy> dkamioka because you wrote hello
blackmesa has quit [Ping timeout: 240 seconds]
pipework has left #ruby ["Leaving..."]
pipework has joined #ruby
<pipework> hello
<apeiros> seasoned developers use the newer protocol and say EHLO
<MrZYX> oh, I thought SYN?
love_color_text has quit [Ping timeout: 264 seconds]
<apeiros> NACK
<MrZYX> :(
allsystemsarego has quit [Quit: Leaving]
jdenen has quit [Ping timeout: 268 seconds]
xcv has joined #ruby
dtcrshr has quit [Quit: poff]
<shevy> cvs
<shevy> seasoned devs use cvs
<aedorn> not a YAML store?
Nisstyre-laptop is now known as Nisstyre
love_color_text has joined #ruby
<Nilium> Seasoned devs use darcs.
twoism has quit [Remote host closed the connection]
twoism has joined #ruby
* apeiros thinks only seasoned devs get the joke behind EHLO :-p
<shevy> nah
<shevy> a YAML store would force them into UTF
<dkamioka> lol
<dkamioka> I may not be a seasoned dev. then :)
randomau_ has joined #ruby
<dkamioka> next time will try PING
<dkamioka> maybe PONG.
kirun has quit [Quit: Client exiting]
amacgregor has joined #ruby
<dkamioka> Is a PepperDev a Seasoned dev?
Adawerk has joined #ruby
twoism has quit [Read error: Connection reset by peer]
twoism_ has joined #ruby
<shevy> what is a pepper dev
Adawerk has quit [Client Quit]
<shevy> is that like a salt dev but uses pepper?
<dkamioka> shevy: :)
alex__c2022 has quit [Quit: alex__c2022]
randomautomator has quit [Read error: Operation timed out]
sambao21 has quit [Quit: Computer has gone to sleep.]
dkamioka has left #ruby [#ruby]
dkamioka has joined #ruby
<dkamioka> SYN
<dkamioka> better? ;)
marcgg has quit [Read error: Connection reset by peer]
bugrum has joined #ruby
marcgg has joined #ruby
itcharlie has left #ruby [#ruby]
<shevy> no idea
sambao21 has joined #ruby
<shevy> I dont understand a word man
ppppaul has joined #ruby
randomau_ has quit [Ping timeout: 245 seconds]
zoee has quit [Ping timeout: 264 seconds]
pipework has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
<dkamioka> shevy: maybe im too old then.
randomautomator has joined #ruby
<dualbus> Hello, I found a rather counter-intuitive behavior when using the erb and ostruct modules like this: http://sprunge.us/XhXG I would expect that the environment created by the OpenStruct to be isolated from the global namespace, but it seems to be the contrary. Also, I wonder how a definition that occurs after can affect a statement.
<dkamioka> or maybe too low level. :)
starfox21 has joined #ruby
<dualbus> (I would expect the declaration of the outer 'a' not to affect running the template)
dodosan has quit [Remote host closed the connection]
cody-- has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby
<dualbus> And even more, even if it does collide, I would expect it to have effect only if the definition was before, not after running the template.
cody-- has joined #ruby
rezzack has joined #ruby
IceyEC has quit [Quit: IceyEC]
<apeiros> dualbus: blocks are closures
<apeiros> the binding within the instance_eval block still has access to all lvars from outside.
c0rn has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snath has quit [Ping timeout: 264 seconds]
<dualbus> apeiros: but, before I even assign to it?
bugrum has quit [Remote host closed the connection]
<apeiros> ?
_ffio_ has quit [Quit: WeeChat 0.4.1]
<dualbus> I mean, if I had something like: a = [1,2,3]; template.run(os.instance_eval {binding}) it should totally make sense to me, because 'a' exists before template.run
<dualbus> but since it's: template.run(os.instance_eval {binding}); a = [1,2,3]
<dualbus> I don't understand how that 'a' *after* template.run can affect it.
<apeiros> "before I assign to it" != before the parser knows it's there
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
maz-dev has quit [Remote host closed the connection]
<dualbus> apeiros: ah, ok, now it's clearer.
<apeiros> an lvar which may not even be assigned to at all can come to existence simply by the parser seeing an assignment to it
<apeiros> and "comes to existence" --> is set to nil
<dualbus> apeiros: and the parser first consumes the whole script and then executes it? in that case, it makes a lot of sense.
seich- has quit [Ping timeout: 245 seconds]
zets has quit [Ping timeout: 246 seconds]
<apeiros> I don't think so, no
zachrab has quit [Remote host closed the connection]
<apeiros> I don't know when the parser will know an lvar "ahead of time"
<apeiros> rule of thumb is simply: don't shadow stuff with lvars.
banisterfiend has joined #ruby
cloke_ has joined #ruby
cloke has quit [Ping timeout: 264 seconds]
cloke_ is now known as cloke
mrsolo has quit [Quit: This computer has gone to sleep]
smigg has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
<dualbus> apeiros: thanks, that's a good advice. But I still have a remaining issue, how would I then isolate the variables of the OpenStruct, or however it's called from the outer environment.
kaldrenon has quit [Remote host closed the connection]
pipework has joined #ruby
splittingred has joined #ruby
<dualbus> I don't want to be worrying about which variables I already defined outside vs the ones inside the openstruct.
mansi has quit [Remote host closed the connection]
kaldrenon has joined #ruby
mansi has joined #ruby
mansi has quit [Read error: Connection reset by peer]
<apeiros> dualbus: def os.b; binding; end; erb.run(os.b)
devoldmx has quit [Write error: Connection reset by peer]
tommyvyo has joined #ruby
mansi has joined #ruby
<dualbus> apeiros: ah, let me try that, thank you very much, BTW :) that's really helpful.
Megtastique has joined #ruby
tonni has joined #ruby
Deele has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
Thav has joined #ruby
kaldrenon has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby
IceyEC has joined #ruby
splittingred has quit [Quit: splittingred]
Megtastique has quit [Client Quit]
<platzhirsch> Do you think the Rails locomotive is fueled by ruby gems? Chooo, chooo~
IceyEC has left #ruby [#ruby]
tvw has quit [Ping timeout: 245 seconds]
tvw has joined #ruby
kvirani has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
mrsolo has joined #ruby
kvirani has joined #ruby
<dualbus> apeiros: wow, that's magical. Didn't know you could define methods on instances like that.
<apeiros> dualbus: ever created a class method?
staafl has joined #ruby
<dualbus> apeiros: you mean def self.method ?
<apeiros> yes
dodosan has joined #ruby
nmabry has joined #ruby
<dualbus> apeiros: yeah, although I must admit that I'm still a bit confused by that. Coming from Python.
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros> that's the same thing
twoism_ has quit [Read error: Connection reset by peer]
<apeiros> a class method is a method defined on the class object itself
<apeiros> a method for/on a single object
twoism has joined #ruby
kvirani has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
Monie has joined #ruby
<dualbus> So def self.method is defining a method, but for the class, since a class is still an object?
mansi has quit [Remote host closed the connection]
<apeiros> correct
kvirani has joined #ruby
<apeiros> and self within the class body is the class itself
<apeiros> >> class X; p X; end
<eval-in> apeiros => X ... (https://eval.in/44450)
<apeiros> errr, stupid
<apeiros> >> class X; p self; end
<eval-in> apeiros => X ... (https://eval.in/44451)
<apeiros> better :)
mansi has joined #ruby
tvw has quit [Ping timeout: 240 seconds]
jaimef has quit [Excess Flood]
<apeiros> which is why def X.method would work too (both inside and outside the class - def self.method obviously only works inside the class, since outside, self will no longer be the class)
pipework has quit [Remote host closed the connection]
seich- has joined #ruby
senayar has joined #ruby
dangerousdave has quit [Quit: Leaving...]
<dualbus> apeiros: that's nice.
<dualbus> I'm still amazed by the "everthing is an object thing". Well, thank you very much apeiros. I'll get back to code.
whowantstolivefo has quit [Quit: whowantstolivefo]
mansi has quit [Ping timeout: 264 seconds]
jaimef has joined #ruby
marr has joined #ruby
mengu has joined #ruby
atyz has quit [Quit: Linkinus - http://linkinus.com]
apeiros has quit [Remote host closed the connection]
sambao21 has joined #ruby
apeiros has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
<Thav> I've got a process that imports a data set into postgres. I've written it to use threads. I've noticed that as it runs, the times for database queries in the console are often much larger than how they run in postgres. Like a simple begin takes 0.15 ms on postgres but the ruby console shows over 500ms. What could be causing this?
<Thav> ruby 1.9.3 and pg 0.15
wmoxam has quit [Ping timeout: 264 seconds]
Evixion has quit [Read error: Connection reset by peer]
hadees has quit [Quit: hadees]
devoldmx has joined #ruby
randomau_ has joined #ruby
rcedillor has quit [Quit: leaving]
aryaching has quit [Ping timeout: 240 seconds]
failshell has quit [Ping timeout: 240 seconds]
Evixion has joined #ruby
randomau_ has quit [Read error: Connection reset by peer]
randomautomator has quit [Read error: Connection reset by peer]
randomau_ has joined #ruby
akells``_ has quit [Read error: Connection reset by peer]
akells`` has joined #ruby
mansi has joined #ruby
randomautomator has joined #ruby
another_eddie has joined #ruby
bklane has joined #ruby
tealmage has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
randomau_ has quit [Ping timeout: 264 seconds]
jlast has quit [Remote host closed the connection]
snovak has quit [Remote host closed the connection]
jokke has quit [Read error: Operation timed out]
burlyscudd has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
jokke has joined #ruby
itsdavem has joined #ruby
another_eddie has quit [Client Quit]
blackmesa has joined #ruby
<zeroXten> is there anyway of keeping a type when using map? So I've got a MyClass object, when I do obj.map { blah } I get an array. I'd really like it to stay as MyClass
mansi has quit [Remote host closed the connection]
<zeroXten> well, I'm actually doing a self.map inside the class's method
devoldmx has joined #ruby
itsdavem has quit [Remote host closed the connection]
akells`` has quit [Remote host closed the connection]
kpshek has quit []
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hukl has quit [Quit: Leaving...]
mlpinit has quit [Ping timeout: 260 seconds]
dash_ has quit [Quit: dash_]
<mostlybadfly> hey guys as i'm working through the Pine text do you recommend any particular text editor ?
havenwood has quit [Ping timeout: 264 seconds]
ppppaul has quit [Ping timeout: 246 seconds]
ravster has quit [Quit: Leaving.]
<xybre> mostlybadfly: what OS?
jokke1 has joined #ruby
<mostlybadfly> or would something like an IDE work best? just did my first install of ruby :P
Liothen has joined #ruby
<brisbin> i could never not use vim, most beginners go with textmate though
<mostlybadfly> Linux Mint
<brisbin> or sublime
<brisbin> zeroXten: i don't follow can you rephrase or paste sample code?
<mostlybadfly> would it be beneficial to learn vim? i've tried but never had to really work in it to get very far
<xybre> mostlybadfly: I use Vim on *nix systems mostly. Sublime also runs on Linux.
verto has joined #ruby
<brisbin> vim is a joy
<mostlybadfly> ah i see
Bry8Star{T2 has quit [Remote host closed the connection]
<mostlybadfly> maybe i should take the opportunity to learn how to navigate that as well
<xybre> When I need to do some editing on a non *nix system I use Sublime or sometimes KomodoEdit. But on Linux and OSx always vim.
<zeroXten> brisbin: if you've got a random class that acts like an enumerator, then any of the enumerator methods will always return Array, not the class that it was originally
<zeroXten> is there any way around that?
kpshek has joined #ruby
blackmesa has quit [Quit: WeeChat 0.4.1]
<brisbin> just define #map youself
<brisbin> yourself*
jokke has quit [Ping timeout: 240 seconds]
artemeff has joined #ruby
<xybre> zeroXten: it might have something to do with your each or map implementation.
<zeroXten> but I'd have to do that for each of the enumerator methods
<brisbin> what does your #each return?
Bry8Star{T2 has joined #ruby
<xybre> zeroXten: No, most of the Enumerable are implemented using #each.
spundun has joined #ruby
<zeroXten> its return Enumerator
ixti has joined #ruby
platzhirsch has left #ruby [#ruby]
<spundun> hi all, how do I use https://github.com/jamesotron/hamlbars without rails? It's a ruby gem without any commandline standalone script
cads has joined #ruby
sayan has quit [Ping timeout: 256 seconds]
forrest has quit [Quit: Leaving]
dodosan has quit [Remote host closed the connection]
<xybre> spundun: it appears to install itself into Haml directly, so use it through Haml
araujo has quit [Read error: Connection reset by peer]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
<spundun> ohhh, duh! thanks!
interactionjaxsn has quit [Remote host closed the connection]
Krajsnick has quit [Remote host closed the connection]
Wildhoney has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
dodosan has joined #ruby
JDHankle has quit [Remote host closed the connection]
ppppaul has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kabaka has quit [Remote host closed the connection]
peterhel1berg has quit [Read error: Operation timed out]
peterhellberg has joined #ruby
bklane has quit [Ping timeout: 246 seconds]
dodosan has quit [Remote host closed the connection]
michaeldeol has quit [Remote host closed the connection]
bklane has joined #ruby
d45h has joined #ruby
jdenen1 has quit [Read error: Connection reset by peer]
bklane has quit [Remote host closed the connection]
Senjai has quit [Remote host closed the connection]
Neomex has quit [Quit: Neomex]
ppppaul has quit [Ping timeout: 245 seconds]
Krajsnick has joined #ruby
Rager has joined #ruby
Megtastique has joined #ruby
Rym has joined #ruby
jeebster has joined #ruby
spider-mario has quit [Remote host closed the connection]
dankest has quit [Quit: dankest]
akells`` has joined #ruby
artemeff has quit [Remote host closed the connection]
snath has joined #ruby
<Mon_Ouie> zeroXten: There aren't many methods in Enumerable that return an array (and the reason they do that is simply that they don't know how to insert an element in an instance of your class and how to get an empty one; not to mention it is impossible for certain classes even though they do include Enumerable)
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Krajsnick has quit [Remote host closed the connection]
randomautomator has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
snovak has joined #ruby
randomau_ has joined #ruby
Quashie has quit [Ping timeout: 245 seconds]
Evixion has quit [Read error: Connection reset by peer]
kpshek has quit []
axl_ has quit [Quit: axl_]
sambao21 has quit [Quit: Computer has gone to sleep.]
rhys has quit [Quit: Leaving]
michaeldeol has joined #ruby
jeebster has quit [Read error: Connection reset by peer]
jeebster1 has joined #ruby
Evixion has joined #ruby
dkamioka has quit [Remote host closed the connection]
AlSquire has quit [Quit: This computer has gone to sleep]
zenergi has quit [Quit: zenergi]
|PiP|_ has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
pothibo has quit [Quit: pothibo]
Kabaka has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
kpshek has joined #ruby
_honning_ has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
blueredturtle has quit [Quit: blueredturtle]
_veer has quit [Ping timeout: 268 seconds]
zph has joined #ruby
Ripp__ has quit [Quit: Ripp__]
|PiP| has quit [Ping timeout: 268 seconds]
tylersmith has quit [Remote host closed the connection]
JimmyNeutron has joined #ruby
tylersmith has joined #ruby
snovak has quit [Ping timeout: 245 seconds]
|PiP|_ has quit [Ping timeout: 256 seconds]
Davey has joined #ruby
Megtastique has quit [Quit: Megtastique]
sebcioz has quit [Quit: Textual IRC Client: www.textualapp.com]
Ripp__ has joined #ruby
jeebster1 has quit [Read error: Connection reset by peer]
jeebster has joined #ruby
hukl has joined #ruby
_veer has joined #ruby
kpshek has quit []
hasrb has quit [Remote host closed the connection]
michalkozminski has joined #ruby
nkts has joined #ruby
hasrb has joined #ruby
cj3kim has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
aces1up has quit []
tylersmith has quit [Ping timeout: 245 seconds]
hukl has quit [Client Quit]
verto has joined #ruby
michaeldeol has quit [Remote host closed the connection]
hasrb has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 264 seconds]
jeebster has quit [Read error: Connection reset by peer]
jeebster has joined #ruby
Hobogrammer has joined #ruby
twoism has quit [Read error: Connection reset by peer]
Zeeraw has quit [Quit: Computer has gone to sleep.]
twoism has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
hadees has joined #ruby
<spundun> xybre: I tried putting "= hb 'App.widgetController.title'" in my haml file, but I'm getting error when I do that. It seems like haml is not picking up hamlbars gem
mercwithamouth has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
BRMatt has quit [Ping timeout: 256 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
clocKwize has joined #ruby
rcedillor has joined #ruby
jonathanwallace2 has joined #ruby
<xybre> spundun: did you "require" the hamlbars files?
Olipro has quit [Ping timeout: 246 seconds]
zeade has quit [Quit: Leaving.]
jeebster has quit [Ping timeout: 264 seconds]
<spundun> I have no RoR setup, I'm not writing any ruby code at the moment. I have a directory with a test.html.haml (I also tried test.html.hamlbars) I'm invoking "haml test.html.haml" command
jonathanwallace1 has quit [Ping timeout: 256 seconds]
<spundun> I'm not aware of any "require" statements within haml file, so I haven't put anything like that in there.
cj3kim has joined #ruby
Olipro has joined #ruby
devoldmx has joined #ruby
nmabry has quit [Quit: nmabry]
mercwithamouth has joined #ruby
burlyscudd has quit [Quit: Leaving.]
devoldmx3 has quit [Ping timeout: 264 seconds]
<xybre> spundun: I see. Then if the `haml` executable doesn't have a parameter for require libraries you'll have to write a wrapper script for it that does.
zorg24 has joined #ruby
<xybre> spundun: which I just checked and `haml` does indeed have a `--require` switch :)
Liquid-- has joined #ruby
vlad_starkov has joined #ruby
rcosta has joined #ruby
<spundun> yeah I just checked the same thing
<spundun> :)
<spundun> I still get the same error though :(
mrsolo has joined #ruby
mando has quit [Remote host closed the connection]
Tricon has quit [Quit: Bye!]
Tricon has joined #ruby
<xybre> spundun: Damn. Whats the error?
Rager has left #ruby [#ruby]
love_color_text has quit [Ping timeout: 264 seconds]
trinode is now known as trinode_away
vlad_starkov has quit [Ping timeout: 246 seconds]
<spundun> updated the gist to put the output in a separate file
<xybre> spundun: Okay, so hamlbars is being required, so thats good.
<xybre> Hmm, actually looking at the updated gist now I'm not sure
snovak has joined #ruby
zph has quit [Quit: Computer has gone to sleep.]
kvirani has quit [Remote host closed the connection]
<xybre> spundun: I ran your code on haml-converter.com and it crashed it :(
<spundun> did you get the same error?
* spundun checks
kvirani has joined #ruby
solrize_ has joined #ruby
<xybre> I couldn't see the error. I suggest asking in a gaml channel though, it seems to be something they might be more helpful with.
<xybre> I used to use haml, but I mostly use slim these days, so I'm not all up to date on the gotchas
<xybre> There is a #haml channel here on Freenode :)
<spundun> I don't expect it to compile with haml-converter, because it uses hamlbars specific tag
mercwithamouth has quit [Ping timeout: 245 seconds]
<spundun> I asked there, but it's silent
xcv has quit [Remote host closed the connection]
<spundun> I'll post the gist over there
<spundun> when you typed gaml, you meant #haml, right?
snovak has quit [Ping timeout: 245 seconds]
<xybre> Yes, indeed I did
sambao21 has joined #ruby
ebobby has left #ruby [#ruby]
mercwithamouth has joined #ruby
ixti has quit [Ping timeout: 240 seconds]
love_color_text has joined #ruby
<xybre> Slim also does a Mustache-like setup, it might be worth at least checking with if the hamlbars issue persists.
geggam has quit [Quit: Leaving]
hiroyuki has quit [Read error: Connection reset by peer]
brunoro has quit [Ping timeout: 264 seconds]
<spundun> there's a project emblem.js
<spundun> which uses slim-like syntax
<xybre> Nifty
kvirani has quit [Ping timeout: 276 seconds]
<spundun> I wonder if slim works with grails
burlyscudd has joined #ruby
Emmy has quit [Quit: ZNC - http://znc.in]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<spundun> I think I'll file an issue with the hamlbars project
mansi has joined #ruby
<spundun> even if its "not a bug", they will at least tell me how to use their sw
giarc has left #ruby [#ruby]
* xybre nods
michaeldeol has joined #ruby
mansi has quit [Read error: Connection reset by peer]
staafl has quit [Read error: Connection reset by peer]
mansi has joined #ruby
staafl has joined #ruby
Liquid-- has quit [Ping timeout: 264 seconds]
raij has joined #ruby
AndChat| has quit [Ping timeout: 276 seconds]
<spundun> I guess back to html tags for now :(
carlfardman has joined #ruby
<xybre> I hate HTML syntax :(
<spundun> me too
pel_daniel has left #ruby [#ruby]
<rcedillor> me too
starfox21 has quit [Quit: starfox21]
Megtastique has joined #ruby
<spundun> I'm new to web-dev , trying out rails, grails, haml, emberjs, angularjs, mongodb, compass
saarinen has quit [Quit: saarinen]
narcan has joined #ruby
jeebster has joined #ruby
<spundun> tomorrow there's an emberjs meetup in santa monica, so trying to get some basics before that
Megtastique has quit [Client Quit]
dml_ has quit [Quit: Computer has gone to sleep.]
ewnd9 has joined #ruby
<raij> hi I am trying to set up a development environment on Debian Wheezy for RoR using Apache2 + passenger. I am having an issue with the Apache configuration for passenger. Am I in the right place to find an answer for this type of an issue?
<spundun> thanks for the sanity check xybre
rmcafee has quit [Ping timeout: 245 seconds]
<spundun> there's #RubyOnRails but I'm new here so YMMV
bklane has joined #ruby
RedPunch has joined #ruby
<RedPunch> http://dpaste.com/1352466/ Why is others always false?
rburton- has joined #ruby
<raij> thanks spundun
michaeldeol has quit [Ping timeout: 268 seconds]
raij has left #ruby [#ruby]
__maes_ has quit [Quit: __maes_]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
devoldmx has quit [Ping timeout: 264 seconds]
threesome has joined #ruby
<spundun> RedPunch: I changed ./foo to /tmp and I got true
<xybre> RedPunch: because there's never a directory not named "tests" as the first entry in the directory list?
gr33n7007h has joined #ruby
<RedPunch> xybre: why does it have to be the first entry?
<spundun> ahhh! because you put break, not continue!
<spundun> right? right? :D
nari has joined #ruby
<RedPunch> No
<spundun> oh no never mind
baroquebobcat has quit [Quit: baroquebobcat]
<spundun> what's your whole o/p RedPunch
botspot87 has quit [Quit: Leaving]
<RedPunch> I want to find if directories other than 'tests' exist in my folder
carlfardman has left #ruby [#ruby]
<spundun> yes, give me the output of the script on your machine, that script works on my machine
xcv has joined #ruby
<xybre> Oh, the break is in the "if" block, my bad.
<shevy> RedPunch please call it directory, not folder
<RedPunch> shevy: okay
<shevy> RedPunch you can get a collection at any time via Dir['*']
<xybre> I'd start with "puts"ing before every line of code and seeing the output of each variable.
<shevy> through that collection, you can use .reject or .any?
<shevy> Dir['*'].reject {|entry| File.directory? entry }
ixti has joined #ruby
gstamp has joined #ruby
devoldmx has joined #ruby
<RedPunch> shevy: what does reject do?
<spundun> his script works just fine!
<shevy> ^^^ would give you all, but directories
burlyscudd has quit [Quit: Leaving.]
<shevy> RedPunch, it rejects all entries that match the condition you give it in the {} block
Vivekananda has quit [Remote host closed the connection]
<shevy> RedPunch, in the example above, it is true/false to the question "are you a directory, buddy!"
huevon has quit [Quit: WeeChat 0.4.1]
Vivekananda has joined #ruby
<xybre> spundun: Ah. Well then why does he have a problem? O_o
<shevy> RedPunch now you should be able to match it, once you have all directories, you formulate your query ... all_directories.any? {|directory| directory == 'tests' }
<spundun> xybre: I don't know! I tested his script on my mac and It works!
<spundun> xybre: RedPunch: http://dpaste.com/1352477/
peterhellberg has quit [Read error: Operation timed out]
Lewix has quit [Remote host closed the connection]
peterhellberg has joined #ruby
<RedPunch> spundun: that is weird, others is never set to true for me
Vivekananda has quit [Max SendQ exceeded]
<spundun> That's why I want to see your output!
<spundun> Did you notice that I asked for your output 3 times?
<shevy> someone wants some output here
<spundun> Also I want to see "ls -l ." output
<spundun> lol
<xybre> I think spundun wants to see your output.
<shevy> I think spundun wants some output
Vivekananda has joined #ruby
<shevy> ok can someone give him some output please
<spundun> I got a fever, and the only cure is more output!
<shevy> the fever of data processing
<RedPunch> ls output - "test1tests"
<spundun> ls -l
<shevy> we are biological machines manipulating silicium machines
<shevy> hey
devoldmx has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
<shevy> spundun, do you think you will ever get the right output? ;)
devoldmx has joined #ruby
threesome has quit [Read error: Operation timed out]
<spundun> well, taking a wife break, when I'm back, there better be some OUTPUT! :D
anonymuse has quit [Ping timeout: 248 seconds]
Vivekananda has quit [Max SendQ exceeded]
<xybre> RedPunch: what directory are you running your script from?
jeebster has quit [Read error: Connection reset by peer]
jeebster has joined #ruby
love_color_text has quit [Ping timeout: 264 seconds]
mary5030_ has quit [Ping timeout: 276 seconds]
<spundun> xybre: exactly! good luck, I think there is enough brain power to bring this ship home!
Vivekananda has joined #ruby
<spundun> laters
<RedPunch> xybre: that must be it
<RedPunch> yup that was it :)
<RedPunch> sorry and thanks
ninegrid has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
<shevy> ack
jeebster has quit [Read error: Connection reset by peer]
P1RATEZ has joined #ruby
jeebster has joined #ruby
<RedPunch> shevy: how would I replace my ugly ruby code with 'any?'
ninegrid has joined #ruby
gr33n7007h has quit [Quit: Where's John Conner]
jeebster has quit [Read error: Connection reset by peer]
jeebster1 has joined #ruby
<shevy> RedPunch no
<shevy> make small steps
<shevy> first, take an array and use .any? on it
<shevy> %w( abc def ghi ).any? {|entry| entry.include? 'h' } # => true
<RedPunch> any returns a boolean!
<shevy> what do you need
<RedPunch> damn I need to start reading more doc
devoldmx has quit [Ping timeout: 245 seconds]
<pontiki> what did you think?
mmitchell has quit [Ping timeout: 260 seconds]
dankest has joined #ruby
aprilthemoo has joined #ruby
aprilthemoo has quit [Client Quit]
nonamehero has quit [Read error: Connection reset by peer]
asobrasil has left #ruby [#ruby]
m8 has quit [Quit: Sto andando via]
love_color_text has joined #ruby
staafl_alt has joined #ruby
ravster has joined #ruby
devoldmx has joined #ruby
jeebster1 has quit [Read error: Connection reset by peer]
jeebster has joined #ruby
Mon_Ouie has quit [Ping timeout: 256 seconds]
jeebster has quit [Read error: Connection reset by peer]
<joshu> I could use some help with my stack overflow question if someone has time to look it over http://stackoverflow.com/questions/18302695/create-an-array-of-users-based-on-each-users-weekday-and-time-attributes
jeebster has joined #ruby
staafl has quit [Ping timeout: 276 seconds]
saarinen has joined #ruby
tylersmith has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<pontiki> i think you're doing the time stuff backwards
<pontiki> which isn't answer the question, specifically
brisbin has quit [Read error: Connection reset by peer]
<pontiki> instead of converting time to string, and comparing strings, convert strings (if necessary) to times and compare times
tealmage has quit [Remote host closed the connection]
brisbin has joined #ruby
sambao21 has joined #ruby
amacgregor_ has joined #ruby
RedPunch has quit [Remote host closed the connection]
amacgregor has quit [Read error: Connection reset by peer]
tylersmith has quit [Ping timeout: 264 seconds]
jeebster has quit [Read error: Connection reset by peer]
<joshu> pontiki hmm been stuck on this conceptually for a while...
<joshu> I'm probably making it more complicated than it needs to be
<pontiki> well, ok. what is the purpose of this array? how will it be used?
jeebster has joined #ruby
jaredlevitz has quit [Quit: Leaving.]
fsck3r has quit [Quit: Leaving...]
amacgregor_ has quit [Ping timeout: 264 seconds]
amacgregor has joined #ruby
michalkozminski has quit [Ping timeout: 245 seconds]
michalkozminski has joined #ruby
<joshu> the array is passed to a method called transfer_call which uses the array of users to transfer incoming calls to them.
idlemich1el has joined #ruby
axeman- has quit [Ping timeout: 276 seconds]
<joshu> if there are no users, there is no one to transfer calls to because the office is closed if that makes sense
<pontiki> ok
axeman- has joined #ruby
<pontiki> so you need to know who's the next person to route the call to, yes?
<joshu> so each user has his/her own office hours.
devoldmx has joined #ruby
mmitchell has joined #ruby
<pontiki> this has a few issues
tylersmith has joined #ruby
<pontiki> what happens when someone is sick, or has to be out of the office during a time they would normally have been in
baroquebobcat has quit [Quit: baroquebobcat]
<joshu> yes more or less. Every time the app is started, the app needs to check if the current time matches an user's office hours and create the array.
ehc has quit [Quit: ehc]
predator117 has joined #ruby
tomzx_mac has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
<pontiki> is this for a real setting, or is this like an assignment?
brennanMKE has quit [Remote host closed the connection]
<pontiki> if it's just an assignment, we can bounce along with this
<shevy> I have a module, let's call it module Foo; end ... in this module I want to set or unset a state, called "use_colours" ... is this possible? or must I use a class to toggle state
<joshu> pontiki very good point. So each user has a pre-defined office hours as I show in the stack overflow question. If however a user cannot be available, e.g. sick then the user can for that day only set a time period when he/she should be off duty. This wouldd be done via web interface.
axeman- has quit [Remote host closed the connection]
snovak has joined #ruby
<joshu> so a user has the ability to "override" his/her office hours for the current day only. Either "all-day" or "8:00 - 11:30" as examples.
<joshu> then the predefined values are back in effect.
<pontiki> so wouldn't your basic in-out board be better? user comes in to sit their shift, move marker to "in", end of shift, move marker to "out"
predator217 has quit [Ping timeout: 260 seconds]
osvico has joined #ruby
visof has quit [Remote host closed the connection]
<pontiki> what if they're in ER?
<pontiki> i know this is complicating things possibly from your view
pipework has joined #ruby
VTLob has quit [Quit: VTLob]
<joshu> pontiki I see what you mean…like typical "log in" "log out" system. Problem is the 5 users who are going to use this. They have repeatedly told me they find logging in/ out a pain and often forget. This is why I've opted for the reverse system in which they are by default "logged in" during their pre-defined office hours and instead need to override when not to receive calls.
<pontiki> but here's where i'm actually headed: if this is a real-world app that is supposed to be used to route calls to real people, it would seem to me to be better to have something that just says "who's in" rather than create a sort of static collection of office hours which might go up in smoke in an instant
<joshu> This is for 5 remote workers
<pontiki> i see
<pontiki> maybe present them with this scenario
<pontiki> and then perhaps think about a way for them to log-in and -out without them having to do anything in particular
snovak has quit [Ping timeout: 246 seconds]
tjbiddle has joined #ruby
<pontiki> we could perhaps talk about what these people do
<joshu> i'm open to suggestions as I've been through the pros on cons of the typical system and then my system as described above and the users have welcomed my default behaviour of being logged in as this way company incoming calls will be routed to people instead of the worse scenario when no one logs in because they forget. Me personally I wouldn't have this problem
<joshu> these people are office workers, bookkeeping, accountants
<tjbiddle> Hey guys - Is there anyway to see all of the methods being called on a ruby executable?
<pontiki> but they take calls?
<tjbiddle> Example: I'm calling librarian-puppet - I'm trying to figure out where a certain piece of logic lies so that I can patch it.
<pontiki> how much of their pay depends on them taking calls?