hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
zomgbie has joined #ruby
_HolyCow has joined #ruby
smathieu has joined #ruby
ambushsabre has joined #ruby
araujo has joined #ruby
iliketurtles has joined #ruby
thejoecarroll has joined #ruby
nari has joined #ruby
<RubyRonin>
?
pen has quit [Remote host closed the connection]
* jrobeson
waves to pontiki
pen has joined #ruby
<pontiki>
hihi jrobeson
michael_lee has joined #ruby
araujo has quit [Read error: Connection reset by peer]
<pontiki>
RubyRonin: we all been told
<pontiki>
ruby is shit
<RubyRonin>
and who told you this?
dr0ff has joined #ruby
araujo has joined #ruby
<RubyRonin>
ruby is "the shit"! :-D
<JBlazeCo_>
so how do you check what current version of ruby you have installed
<jrobeson>
Guest42302
<RubyRonin>
lol
wallerdev has joined #ruby
<JBlazeCo_>
within terminal
<jrobeson>
JBlazeCo_, ruby --version will tell you which ruby you're using
<RubyRonin>
ruby -v
<JBlazeCo_>
ok
<JBlazeCo_>
thanks
<jrobeson>
installed... depends on what you're using to manage ruby versions
zomgbie has quit [Ping timeout: 272 seconds]
<pontiki>
and ruby -h will tell you the command line switches and parameters
<pontiki>
which ruby will tell you where the executable lives
<jrobeson>
pontiki, what have you been doing today?
iliketurtles has quit [Quit: zzzzz…..]
Deciphered is now known as DecipheredAFK
zz_michael_mbp is now known as michael_mbp
<pontiki>
[:cleaning, :cooking] * 10
<jrobeson>
i stayed home.. didn't wanna go to the big family thing hosted at my racist uncles house
ewnd9 has joined #ruby
<pontiki>
everything tasted wonderful
<jrobeson>
i'm not able to keep my mouth shut very well
Lewix has quit [Remote host closed the connection]
<pontiki>
hehe
smathieu has quit []
<pontiki>
well you shouldn't!
<jrobeson>
pontiki, what did you make?
pencilcheck has joined #ruby
<jrobeson>
i just ate hamburgers ..
<pontiki>
apricot-glazed turkey, cornbread/sagebread dressing, roasted brussels sprouts with shallots and bacon, steamed rutabaga, cranberry sauce, onion gravy
<jrobeson>
well thing is.. usually topics just don't come up .. so it's never been a problem.. but ever since the last two presidental elections.. he's gone way overboard ..
<JBlazeCo_>
what is the latest version of Ruby?
<jrobeson>
wow
<jrobeson>
latest stable.. it's on ruby-lang.org
<pontiki>
2.0.0 but i can't remember the build number off hand
<jrobeson>
you should always look there JBlazeCo_
<pontiki>
yes, i cooked all that
<jrobeson>
353 now pontiki iirc
<JBlazeCo_>
I have version 2.0.0p247
<jrobeson>
there's a slightly newer one with various fixes.. take a llook
N00D is now known as CripperZ
<pontiki>
i'm running 247
<jrobeson>
pontiki, i wanna eat that stuffing!
<JBlazeCo_>
yea
<pontiki>
it's nommy
<JBlazeCo_>
I know
<jrobeson>
i'll have to think about the apricot turkey tho
<emocakes>
im still on 247
zombiebit has joined #ruby
<JBlazeCo_>
for some reason I could not instal last time
<pontiki>
with onions, celery, raisins, turkey broth
<emocakes>
for development
<JBlazeCo_>
I think there was a patch
<JBlazeCo_>
?
gstamp has joined #ruby
iliketurtles has joined #ruby
<jrobeson>
JBlazeCo_, is this on fedora or rhel?
iliketurtles has quit [Max SendQ exceeded]
pen has quit [Ping timeout: 252 seconds]
<pontiki>
the hardest part of cooking turkey is the basting, which i can't do bent over, and it's hard to lift it out of the oben
michael_lee has quit [Remote host closed the connection]
<JBlazeCo_>
@jrobeson not sure
michael_mbp is now known as zz_michael_mbp
<pontiki>
i mean, seriously, roasting a turkey is p.easy
iliketurtles has joined #ruby
<jrobeson>
you don't bend?
<JBlazeCo_>
I did run rub -h like @pontiki suggested
<pontiki>
bad back
pencilcheck has quit [Client Quit]
gstamp has quit [Read error: Connection reset by peer]
<jrobeson>
guess you need a little stool to sit on
pen has joined #ruby
<pontiki>
JBlazeCo_: 247 should be fine for most things
<jrobeson>
sit down and paste :)
estebistec has joined #ruby
<jrobeson>
baste*
<jrobeson>
perhaps you need one of those ovens higher up
<JBlazeCo_>
So can anyone tell me if there is a major difference
<JBlazeCo_>
between what I have and the latest version?
heidi has quit [Ping timeout: 252 seconds]
Hanmac has quit [Ping timeout: 246 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
gstamp has quit [Read error: Connection reset by peer]
giardina has quit [Remote host closed the connection]
<jrobeson>
JBlazeCo_, it says the changelong right on ruby-lang.org
<JBlazeCo_>
thanks for the link @pontiki is there a reason you have not downloaded the latest version?
<pontiki>
i just started installing it
<pontiki>
so, i suppose sheer cussed laziness?
RubyRonin has quit [Ping timeout: 240 seconds]
<JBlazeCo_>
lol
capicue has joined #ruby
zz_tsykoduk is now known as tsykoduk
vayner has joined #ruby
<JBlazeCo_>
speaking of, any thoughts on the site redesign on ruby-lang.org
<JBlazeCo_>
that @jrobeson looking there right now
danshultz has joined #ruby
julweber has quit [Remote host closed the connection]
gstamp has joined #ruby
<JBlazeCo_>
hey @jrobeson the changelong is just on the main page
<jrobeson>
ok?
<jrobeson>
this isn't twitter, no need for @
maroloccio has joined #ruby
spike|spiegel has joined #ruby
<JBlazeCo_>
lol
<JBlazeCo_>
ok my man
<ddd>
hehe i had my client set like that for awhile too
jhamm has joined #ruby
fedesilva has quit [Remote host closed the connection]
gstamp has quit [Ping timeout: 256 seconds]
capicue has quit [Ping timeout: 240 seconds]
michael_lee has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
myappleguy has joined #ruby
jhamm has quit [Client Quit]
Aryasam has joined #ruby
nhhagen has joined #ruby
DecipheredAFK has quit [Ping timeout: 252 seconds]
forced_request has joined #ruby
timonv has joined #ruby
gstamp has joined #ruby
dhruvasagar has joined #ruby
timonv has quit [Read error: Operation timed out]
nhhagen has quit [Ping timeout: 252 seconds]
tedstriker has quit [Quit: Anti-Fraping status set.]
gstamp has quit [Ping timeout: 256 seconds]
michael_lee has quit [Quit: Ex-Chat]
michael_lee has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
akhet has joined #ruby
vlad_starkov has joined #ruby
psyl0n has quit [Remote host closed the connection]
endash has quit [Read error: No route to host]
browndawg has joined #ruby
amacgregor has joined #ruby
endash has joined #ruby
madb055 has quit [Read error: Connection reset by peer]
petey has joined #ruby
ewnd9 has quit [Remote host closed the connection]
timonv has joined #ruby
julweber has joined #ruby
amacgregor__ has quit [Ping timeout: 246 seconds]
capicue has joined #ruby
madb055 has joined #ruby
<emocakes>
hey @JBlazeCo_
<emocakes>
#tgif what are you doing @JBlazeCo_
gstamp has joined #ruby
petey has quit [Ping timeout: 246 seconds]
<JBlazeCo_>
lol
<JBlazeCo_>
funny
timonv has quit [Ping timeout: 248 seconds]
jonathanwallace has joined #ruby
<JBlazeCo_>
I want to try to upgrade my version of Ruby
zomgbie has joined #ruby
CripperZ is now known as N00D
<ambushsabre>
use rvm
myappleguy has quit [Ping timeout: 252 seconds]
<JBlazeCo_>
does it matter if I do this in the terminal or download through Ruby-lang
<ambushsabre>
you should do it through the terminal through rvm
<sevenseacat>
how did you install it originally?
pskosinski has quit [Quit: Til rivido Idisti!]
<JBlazeCo_>
already installed I beleive
nisstyre has joined #ruby
moneydouble1 has joined #ruby
<JBlazeCo_>
using a Mac
<JBlazeCo_>
yet did get some help
hiyosi has joined #ruby
<pontiki>
JBlazeCo_: running mavericks?
<JBlazeCo_>
and upgraded in the terminal
<JBlazeCo_>
for the current version I have now. I had 1.9 something b4
hogeo has quit [Remote host closed the connection]
gstamp has quit [Ping timeout: 256 seconds]
julweber has quit [Ping timeout: 246 seconds]
<ambushsabre>
do you have homebrew installed?
zombiebit has joined #ruby
moneydouble has quit [Ping timeout: 272 seconds]
gstamp has joined #ruby
hogeo has joined #ruby
<JBlazeCo_>
maybe
<ambushsabre>
type brew doctor and see what happens
<JBlazeCo_>
whats the command to find out homebrew -v
<ambushsabre>
just do brew
zomgbie has quit [Ping timeout: 245 seconds]
<ambushsabre>
'brew'
<JBlazeCo_>
I typed brew doctor
amacgregor_ has joined #ruby
<JBlazeCo_>
I got a few warning messages
<ambushsabre>
ok, but that means it's installed
<ambushsabre>
fix those warning messages first off, that will make things easier down the road, ruby or not
<JBlazeCo_>
ok
<JBlazeCo_>
someone helped me with that too
amacgregor has quit [Ping timeout: 246 seconds]
<JBlazeCo_>
first one says broken symlinks
zombiebit has quit [Ping timeout: 252 seconds]
<JBlazeCo_>
2nd msg /usr/bin occurs before /usr/local/bin
<JBlazeCo_>
3rd msg Your Homebrew is outdated
moneydouble has joined #ruby
mercwithamouth has joined #ruby
<JBlazeCo_>
it says to run 'brew update'
eka has quit [Quit: Computer has gone to sleep.]
asteros has quit [Quit: asteros]
moneydouble1 has quit [Ping timeout: 272 seconds]
_maes_ has joined #ruby
dhruvasa1ar has joined #ruby
caesura has quit [Quit: i'm no simpleton]
heidi has joined #ruby
Aryasam has quit [Ping timeout: 240 seconds]
<JBlazeCo_>
just have one warning now
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 272 seconds]
gstamp has quit [Ping timeout: 256 seconds]
Hanmac has joined #ruby
<JBlazeCo_>
it looks like brew is using a different path
gstamp has joined #ruby
dypsilon has joined #ruby
<dypsilon>
Hi, I'm new to the ruby stack and just trying to install Jekyll but getting this error: "(NoMethodError) undefined method `name' for #<RDoc::RubyToken::TkLPAREN:0x000000078f7eb8>"
soba has joined #ruby
estebistec has quit [Remote host closed the connection]
<dypsilon>
I've installed ruby 1.9.3 with rvm so far and nothing else.
Hanmac1 has quit [Ping timeout: 272 seconds]
madb055 has quit [Read error: Connection reset by peer]
Aryasam has joined #ruby
tharindu has joined #ruby
<Lewix>
what's Class.new - end.new; I came accross end.new today
<sevenseacat>
just tacks new onto the return value of the block
<Lewix>
ahh
<Lewix>
stupid I
heidi has quit [Ping timeout: 246 seconds]
polaco is now known as polaco_zZz
matheuscaceres has quit [Quit: matheuscaceres]
Guest80789 has quit [Quit: Leaving]
<dypsilon>
Could you at least point me to some direction? Can't find anything usefull through Google. I just want to install a standard gem in a standard environment.
madb055 has joined #ruby
radic has joined #ruby
subbyyy has quit [Ping timeout: 246 seconds]
<dypsilon>
Ok, it worked after running " rvm docs generate-ri", nevermind.
closures999 has joined #ruby
closures999 has quit [Remote host closed the connection]
radic_ has quit [Ping timeout: 246 seconds]
DecipheredAFK has joined #ruby
kobain has quit []
funburn has joined #ruby
dypsilon has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
_maes_ has quit [Ping timeout: 245 seconds]
nhhagen has joined #ruby
dhruvasa1ar has quit [Ping timeout: 245 seconds]
JBlazeCo_ has quit [Remote host closed the connection]
tharindu has quit [Ping timeout: 240 seconds]
Aryasam has quit [Ping timeout: 252 seconds]
kevinykchan has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
fedesilva has joined #ruby
hogeo has quit [Remote host closed the connection]
euclides has quit [Remote host closed the connection]
euclides has joined #ruby
myappleguy has joined #ruby
vlad_starkov has joined #ruby
danshultz has quit [Remote host closed the connection]
fedesilva has quit [Ping timeout: 272 seconds]
tsykoduk is now known as zz_tsykoduk
danshultz has joined #ruby
varfoo has joined #ruby
euclides has quit [Ping timeout: 264 seconds]
funburn has quit [Quit: funburn]
<Lewix>
anyone know about nil_or?
Arzaga has joined #ruby
cascalheira has quit [Quit: Leaving...]
<Lewix>
nil_or vs :try
<banister>
they're all just poor man's Maybe monad
danshultz has quit [Ping timeout: 264 seconds]
<Lewix>
banister: I see
kofno has quit [Ping timeout: 246 seconds]
jamesaanderson has joined #ruby
kure_ has quit [Ping timeout: 246 seconds]
ewnd9 has joined #ruby
zz_michael_mbp is now known as michael_mbp
sheap has joined #ruby
jamesaanderson has quit [Ping timeout: 245 seconds]
s2013 has joined #ruby
zombiebit has joined #ruby
Aryasam has joined #ruby
michael_mbp is now known as zz_michael_mbp
zomgbie has joined #ruby
zombiebit has quit [Ping timeout: 264 seconds]
ewnd9 has quit [Ping timeout: 245 seconds]
iliketurtles has quit [Quit: zzzzz…..]
cads has quit [Ping timeout: 252 seconds]
jhamm has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zomgbie has quit [Ping timeout: 248 seconds]
jhamm has quit [Client Quit]
timonv has joined #ruby
mercwithamouth has quit [Ping timeout: 265 seconds]
iliketurtles has joined #ruby
akhet is now known as bender183
bender183 has quit [Changing host]
bender183 has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
timonv has quit [Ping timeout: 260 seconds]
hogeo has joined #ruby
lyanchih has quit [Quit: lyanchih]
bender183 is now known as akhet
dhruvasagar has joined #ruby
akhet has quit [Changing host]
akhet has joined #ruby
dhruvasagar has quit [Client Quit]
mercwithamouth has joined #ruby
Snaury1 has quit [Read error: Connection reset by peer]
hogeo has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
sayan has joined #ruby
ananthakumaran has joined #ruby
Snaury has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
kitak has quit [Remote host closed the connection]
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
vlad_starkov has quit [Read error: Connection reset by peer]
timonv has joined #ruby
ananthakumaran has joined #ruby
braincra- has quit [Quit: bye bye]
galef0rce has quit []
mikestok has joined #ruby
heidi has joined #ruby
kizzx2 has joined #ruby
braincrash has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
hogeo has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
heidi has quit [Ping timeout: 265 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
sayan has quit [Read error: Operation timed out]
osvico has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
sayan has joined #ruby
GoodTimes has quit [Ping timeout: 246 seconds]
Skylab has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Reach has quit [Remote host closed the connection]
ewnd9 has joined #ruby
funburn has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
funburn has quit [Client Quit]
fschuindt has joined #ruby
JohnBat26 has joined #ruby
akhet has quit [Quit: leaving]
dekz has joined #ruby
OdNairy has joined #ruby
nhhagen has joined #ruby
Jetchisel has quit [Ping timeout: 260 seconds]
RubyRonin has joined #ruby
funburn has joined #ruby
wpaulson has joined #ruby
DecipheredAFK is now known as Deciphered
mikestok has quit [Quit: Computer has gone to sleep.]
dwgill has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
browndawg has quit [Quit: Leaving.]
ananthakumaran has quit [Quit: Leaving.]
marcgg has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
wpaulson has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
dr0ff has quit []
fridim__ has quit [Ping timeout: 260 seconds]
ananthakumaran has joined #ruby
Jetchisel has joined #ruby
Deciphered is now known as DecipheredAFK
kofno has joined #ruby
zombiebit has joined #ruby
myappleguy has quit [Ping timeout: 272 seconds]
dwgill has quit [Quit: Leaving]
ewnd9 has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 245 seconds]
ewnd9 has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
varfoo has quit [Quit: WeeChat 0.4.0]
varfoo has joined #ruby
petey has joined #ruby
zombiebit has quit [Ping timeout: 252 seconds]
euclides has joined #ruby
euclides has quit [Remote host closed the connection]
kofno has joined #ruby
timonv has joined #ruby
endash has quit [Quit: endash]
petey has quit [Ping timeout: 272 seconds]
justsee has quit [Ping timeout: 248 seconds]
zomgbie has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
timonv has quit [Ping timeout: 240 seconds]
jonahR has joined #ruby
justsee has joined #ruby
iliketurtles has joined #ruby
zomgbie has quit [Ping timeout: 246 seconds]
pen has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
iliketurtles has quit [Client Quit]
vlad_starkov has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Quit: Leaving.]
lyanchih has joined #ruby
rainbyte has quit [Quit: Leaving]
kitak has joined #ruby
timonv has joined #ruby
rainbyte has joined #ruby
noyb has joined #ruby
jkhwan has quit [Remote host closed the connection]
osvico has joined #ruby
browndawg has joined #ruby
jkhwan has joined #ruby
heidi has joined #ruby
capicue has quit [Read error: Connection reset by peer]
Paradox has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
madb055 has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 264 seconds]
rainbyte has left #ruby ["Leaving"]
nhhagen has joined #ruby
yacks has quit [Quit: Leaving]
Monie has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
heidi has quit [Ping timeout: 252 seconds]
tjad has joined #ruby
iliketurtles has joined #ruby
nhhagen_ has quit [Read error: Operation timed out]
madb055 has joined #ruby
ewnd9 has quit [Ping timeout: 260 seconds]
ewnd9 has joined #ruby
iliketurtles has quit [Client Quit]
funburn has quit [Ping timeout: 265 seconds]
blaskovicz has joined #ruby
gverri_ has joined #ruby
sheap has quit [Quit: Lost terminal]
petey has joined #ruby
Paradox has joined #ruby
meddle has joined #ruby
meddle is now known as akhet
akhet has quit [Changing host]
akhet has joined #ruby
osvico has quit [Ping timeout: 252 seconds]
jeffdb has joined #ruby
blaskovicz has quit [Quit: Leaving.]
DecipheredAFK is now known as Deciphered
rjhunter has joined #ruby
bigmac has joined #ruby
jeffdb has quit [Ping timeout: 252 seconds]
nhhagen_ has joined #ruby
bigmac is now known as i8igmac
havenwood has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
fixl has joined #ruby
rje4242 has joined #ruby
<RubyRonin>
good morning/evening...the .call method? and lamba's...just a little confusing
<rjhunter>
RubyRonin: when you tell a lambda to 'call', that actually executes the code inside the lambda
Lewix has joined #ruby
<RubyRonin>
thanks rjhunter
<RubyRonin>
these tutorials are great, but sometimes assume certain understandings
justsee has quit [Ping timeout: 265 seconds]
<havenwood>
RubyRonin: Like for example `example = puts 'hi'` the first time will print 'hi' but after than you type `example` and `nil` is returned (since #puts returns nil), but `example = ->{ puts 'hi' }` will print 'hi' every time you call `example.call` because the block is actually executed not just the return value returned.
asteros has joined #ruby
mothball has quit [Ping timeout: 272 seconds]
zombiebit has joined #ruby
moneydouble1 has joined #ruby
sheap has joined #ruby
OdNairy has joined #ruby
<havenwood>
>> example = ->{ puts 'hi' }; example.call
<havenwood>
RubyRonin: No, just the block isn't re-run, its return value is saved in the variable.
michael_mbp is now known as zz_michael_mbp
justsee has joined #ruby
<havenwood>
RubyRonin: So like every time you call the #call method on a lambda or proc, the code is run. A variable saves the result of the code that is run, doesn't actually run the code again,
<RubyRonin>
smh...so the second time I type example I'm going to get nil...because the result is now saved? but the result should be the string that was run
moneydouble has quit [Ping timeout: 264 seconds]
<havenwood>
RubyRonin: I prolly chose a bad example, because the return value of #puts isn't intuitive.
<havenwood>
RubyRonin: #puts always returns `nil`
ewnd9 has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
zombiebit has quit [Ping timeout: 241 seconds]
<RubyRonin>
hmm...using the xample I posted, if I place puts d several times I'll get the string inside the variable d. However if I just type the variable name d, I get nothing after the first invocation
<RubyRonin>
is that what you mean?
asteros has quit [Quit: asteros]
<havenwood>
RubyRonin: yeah, when you run code and assign its value to a variable that is the only time that code will be run, even if you call the variable over and over
<RubyRonin>
now lamba's make since
ewnd9 has quit [Max SendQ exceeded]
<RubyRonin>
y only one and done?
<havenwood>
RubyRonin: A proc or lamba called runs the whole block of code, not just fetching the result of the first run where the variable was assigned.
ewnd9 has joined #ruby
<havenwood>
RubyRonin: Often you want to run a thing once and point to the return value. It is quite useful.
justsee has quit [Ping timeout: 265 seconds]
amacgregor has joined #ruby
<havenwood>
RubyRonin: A proc and lambda are quite similar, they vary in arity and locality of return value but you could just pretend one or the other exists and be just fine.
ewnd9 has quit [Max SendQ exceeded]
amacgregor__ has joined #ruby
amacgregor_ has quit [Ping timeout: 246 seconds]
amoli has joined #ruby
kizzx2 has quit [Ping timeout: 246 seconds]
matchaw has joined #ruby
<RubyRonin>
thanks havenwood, now I see why lamba's are useful and realize a limitation of variables
<havenwood>
RubyRonin: Both local variables and instance variables are quite common. Running a thing once and saving the result is a common use case. In some cases though, yeah, lambdas let you have a closure that runs a block of code on call.
kizzx2 has joined #ruby
matchaw_ has quit [Ping timeout: 252 seconds]
amacgregor has quit [Ping timeout: 245 seconds]
<RubyRonin>
I'm running through the rubymonk course now
<havenwood>
RubyRonin: nice
dhruvasagar has joined #ruby
ewnd9 has joined #ruby
<havenwood>
i haven't gone through it, but did take a look and it seemed engaging
<RubyRonin>
got into this to get a better understanding of the code in the ruby.railstutorial.orgh
ewnd9 has quit [Max SendQ exceeded]
schaary has joined #ruby
<RubyRonin>
haenwood what tools did you use to obtain your mastery of ruby?
<havenwood>
RubyRonin: I like Pry (a alternative REPL to irb): http://pryrepl.org/
Aryasam has quit [Ping timeout: 240 seconds]
<havenwood>
RubyRonin: It makes it easy to explore Ruby code.
<havenwood>
RubyRonin: Worth learning right away.
<havenwood>
RubyRonin: Also get a nice text editor.
<havenwood>
RubyRonin: What operating system are you on?
Aryasam has joined #ruby
<RubyRonin>
windows at the moment
timonv has joined #ruby
<RubyRonin>
back to mac in two weeks
<RubyRonin>
running sublime text 2
<havenwood>
RubyRonin: I think that is a good cross platform option.
<havenwood>
RubyRonin: Get Ruby 2.0 installed and working with Pry and Sublime and you're in good shape.
<havenwood>
RubyRonin: Nice because you can still use it on OS X or Linux. I use and like Textmate 2, which is open source but OS X only - but similar to Sublime Text.
popl has quit [Ping timeout: 264 seconds]
kizzx21 has joined #ruby
<RubyRonin>
nice
<havenwood>
RubyRonin: Read lots of code on Github, learn to use Pry to explore code, and get familiar with common tasks in Sublime.
Aryasam has quit [Ping timeout: 246 seconds]
zomgbie has joined #ruby
jonahR has quit [Quit: jonahR]
pen has joined #ruby
Aryasam has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
BizarreCake has joined #ruby
kizzx2 has quit [Ping timeout: 264 seconds]
<havenwood>
RubyRonin: ^ I think that'd be a good start. :)
<RubyRonin>
much appreciated, looking at pry right now
ananthakumaran has joined #ruby
pwh has joined #ruby
kcombs has joined #ruby
nisstyre has quit [Quit: Leaving]
dhruvasagar has quit [Read error: Connection reset by peer]
phansch has joined #ruby
sheap has quit [Quit: Lost terminal]
dhruvasagar has joined #ruby
FL1SK has quit [Ping timeout: 248 seconds]
Snaury1 has joined #ruby
amoli has quit [Ping timeout: 246 seconds]
lemonsparrow has joined #ruby
zz_michael_mbp is now known as michael_mbp
FL1SK has joined #ruby
julweber has joined #ruby
phansch has quit [Quit: Leaving]
Snaury has quit [Ping timeout: 272 seconds]
shime has joined #ruby
DecipheredAFK is now known as Deciphered
zz_tsykoduk is now known as tsykoduk
sayan has quit [Ping timeout: 246 seconds]
julweber has quit [Ping timeout: 252 seconds]
jonahR has joined #ruby
rjhunter has quit [Remote host closed the connection]
<lupine>
lmmx, your first issue is that you can't use regexps to parse html in the general case
moneydouble has joined #ruby
<lupine>
if your input is sufficiently restricted that you know that's not an issue, great, otherwise pull out nokogiri or something similar instead
<lmmx>
it's not parsing, I'm just trying to delete a bunch of elements in a list separated by <hr />
<lmmx>
lupine: so I don't need to read it for info just very simply if it doesn't contain a certain value I want to delete it from the list (as delimited by hr tags), that's a fair use of regex, right?
sergicles has joined #ruby
<lmmx>
lupine: yeah my input was generated from a perl script and is regular enough to check like this
<lupine>
then the other thing that comes to mind is that you need to escape your interpolations
<lupine>
like %r{#{Regexp::escape tag}#{Regexp::escape searchstr}#{Regexp::escape tag}}
xk_id has joined #ruby
<lmmx>
?
<lmmx>
is that the actual way to write it or pseudocode?
hogeo has quit [Remote host closed the connection]
Deciphered is now known as DecipheredAFK
Dwarf has quit [Ping timeout: 240 seconds]
einarj has quit [Ping timeout: 260 seconds]
<lupine>
that's valid ruby
<lmmx>
cool, thanks :)
tvw has joined #ruby
moneydouble has quit [Ping timeout: 252 seconds]
zipper has quit [Remote host closed the connection]
zipper has joined #ruby
Heskie has quit [Ping timeout: 252 seconds]
moneydouble has joined #ruby
F1skr has joined #ruby
pen has joined #ruby
Dwarf has joined #ruby
nhhagen has quit [Remote host closed the connection]
zeeraw has joined #ruby
einarj has joined #ruby
emocakes has joined #ruby
moneydouble has quit [Ping timeout: 246 seconds]
hogeo has joined #ruby
kaspergrubbe has joined #ruby
jibi has quit [Quit: .]
rhunter has joined #ruby
buscon has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
einarj has quit [Read error: No route to host]
kaspergrubbe has joined #ruby
codelette has joined #ruby
mengu has quit [Remote host closed the connection]
Aryasam has quit [Ping timeout: 260 seconds]
<Hanmac>
lupine & lmmx should be the second tag the closing?
<wald0>
and when using % it will remove from the last, using 2 %% will remove from the longest match (so, file.jpg.jpg -> file)
<canton7>
in general, we'd use #sub or #gsub and some regex
danshultz has joined #ruby
cek has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
<wald0>
im moving from bash and im asking that because is one of my most useful things on it :)
<wald0>
sub/gsub is used for that ? mmh
<avril14th>
dagobah: it's pretty explicit already I think
pac1 has joined #ruby
<wald0>
canton7: how you will do for example for this string "/usr/bin/file-foo.rb" to get the filename (basename) + remove extension + change foo to bar ? (in a single line?)
<wald0>
im checking for short examples to do the same thing
mercwithamouth has joined #ruby
nhhagen has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 260 seconds]
zipper has joined #ruby
F1skr has quit [Quit: WeeChat 0.4.2]
someish has quit [Quit: someish]
<wald0>
in bash i will have do something like this:
<canton7>
yeah pretty much the same series of operations
AlSquirikou has joined #ruby
cek has quit [Ping timeout: 245 seconds]
mikee has joined #ruby
GoodTimes has quit []
<wald0>
concatenating results is very nice :)
<canton7>
s/user/usr oops, but anyway
jrhe has quit [Quit: jrhe]
danshultz has quit [Ping timeout: 272 seconds]
codelette has joined #ruby
einarj has quit [Read error: Connection reset by peer]
<wald0>
canton7: how in ruby we can say "the longest" or "the shortest" match ? i dont know if i explain correctly, but is the difference between get "file" from "file.jpg-foo.jpg" or "file.jpg-foo"
<shevy>
olivier_bK you pass nil. pass a real value man
s2013 has joined #ruby
<hoelzro>
mhmm
browndawg has quit [Quit: Leaving.]
pleal has quit [Remote host closed the connection]
<shevy>
olivier_bK also use uid_instance.nil? instead, it looks nicer, and look for consistent indent, in the pastie you show you do not indent consistently
<atmosx>
olivier_bK: try if uid_instance.nil?
<olivier_bK>
shevy, BackupMysql.rb:17:in `gets': No such file or directory - ddd (Errno::ENOENT)
<shevy>
olivier_bK, BackupMysql.new(@uid_instance) is not known
mpereira has left #ruby [#ruby]
<shevy>
do this to test:
A124 has quit [Read error: Connection reset by peer]
<shevy>
BackupMysql.new(nil)
<shevy>
commandline information is stored in ARGV so you could also do: BackupMysql.new(ARGV[0])
RaCx has joined #ruby
nhhagen has joined #ruby
nari has quit [Quit: Ex-Chat]
Heskie has quit []
justsee has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
hamakn has quit [Remote host closed the connection]
mpereira has joined #ruby
hamakn has joined #ruby
xiphias has joined #ruby
<wald0>
so just put a ? after .+, mmh... sounds simple
<wald0>
whats the difference between .* and .+ ?
liamkeily has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
tedstriker has quit [Quit: Anti-Fraping status set.]
xk_id has quit [Quit:
vlad_starkov has joined #ruby
joonty_ has joined #ruby
nbrosnahan has quit [Ping timeout: 260 seconds]
xk_id has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
soba has quit [Ping timeout: 245 seconds]
<wald0>
if im not wrong, seems like the site/pages are generated dynamically from a ruby source code, creating plain html pages... this sounds really nice! (and simple)
coca_rails has joined #ruby
joonty has quit [Ping timeout: 252 seconds]
gulledge has quit [Remote host closed the connection]
<shevy>
"There is effectively only one Fixnum object instance for any given integer value, so, for example, you cannot add a singleton method to a Fixnum."
Guest16922 has joined #ruby
<shevy>
hmm
<shevy>
>> class Float; def self.foo; puts 'ok';end;end; Float.foo
<Hanmac>
olivier_bK: both pages have the same content, but when you really READ it then you would have seen this: Net::SSH.start('host', 'user', :password => "password") do |ssh|
nebula has quit [Read error: Connection reset by peer]
brtdv has quit [Ping timeout: 246 seconds]
nebula has joined #ruby
Ch4rAss has quit [Ping timeout: 252 seconds]
<wald0>
when developing a good application in bash i was used to do things like "queues", so "add-file-to-remove-when-finish" functions, to save the things meant to be saved only when the full process finishes correctly in the end, etc
mikepack has joined #ruby
<wald0>
i see ruby as a big and powerful "framework of development", what can be a way in ruby to do these queue tasks ?
petey has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Ping timeout: 246 seconds]
tagrudev has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 252 seconds]
ananthakumaran has joined #ruby
kaspergrubbe has joined #ruby
<pontiki>
morning, folks
spike|spiegel has joined #ruby
mengu has quit [Remote host closed the connection]
<sh1ken>
Hi, I know that this isn't ruby related but any of you guys can know the answer. How many applications can I create in the Twitter API with one account?
kaspergrubbe has quit [Remote host closed the connection]
kaldrenon has joined #ruby
halfie has quit [Ping timeout: 272 seconds]
includex has joined #ruby
amritanshu_RnD has quit [Quit: Leaving]
mklappstuhl has joined #ruby
mengu has joined #ruby
dhruvasagar has joined #ruby
preller has quit [Ping timeout: 252 seconds]
zz_N00D is now known as CripperZ
ldnunes has quit [Quit: Leaving]
CripperZ is now known as N00D
kaldrenon has quit [Ping timeout: 272 seconds]
Bosox20051 has joined #ruby
pleal has joined #ruby
SirFunk has quit [Ping timeout: 246 seconds]
codelette has quit [Remote host closed the connection]
matti has quit [Quit: Oh dear...]
g0bl1n has quit [Ping timeout: 245 seconds]
psyl0n has quit [Remote host closed the connection]
<ravster>
I'm using sidekiq and need to loop through part of an array, save things to a database if they are not there already, and then reschedule the whole thing for 24 hours in the future. How do I do it?
<apeiros>
with code!
banghouse2 has joined #ruby
matti has joined #ruby
<apeiros>
ravster: seriously - this is a "please solve it for me" type of question. please ask specific questions.
<Hanmac>
yasu: i telled him 3+times how to use it, but it seems he only listen to you ,P
<olivier_bK>
okai know i need to know why he doesn't work with 'host', :user=>'user'
<olivier_bK>
Hanmac, i listen to you to
<olivier_bK>
:)
aspires has quit []
CaptainJet has joined #ruby
<Hanmac>
olivier_bK: because the method is not designed like that??? as you can see in the github page that YOU linked to us, and as yasu says its "host, user, options={}" that means host and user are seperated for a reason
<von__>
would like to ask, how should I close the single connection with sequel.rb ?
kaspergrubbe has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
A124 has joined #ruby
brandonhilkert has quit [Quit: Leaving.]
<shevy>
olivier_bK in ruby you can pass a hash either with {} or also by omitting the above
<shevy>
so Net::SSH.start('192.168.10.199', 'root', :port =>"22", :password=>'password') is the same as Net::SSH.start('192.168.10.199', 'root', { :port =>"22", :password=>'password'})
<shevy>
olivier_bK, your eyes must be able to spot those little differences :)
Arzaga has quit [Quit: Computer has gone to sleep.]
nobitanobi has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
Xeago has quit [Remote host closed the connection]
failshell has joined #ruby
rubyracer has joined #ruby
Xeago has joined #ruby
sr78ger has joined #ruby
sumark has quit [Remote host closed the connection]
<_br_>
lessless: Interesting question. My first choice would be some proxy like Squid maybe.
chuk has joined #ruby
mikepack has quit [Remote host closed the connection]
jrhe has quit [Quit: jrhe]
sumark has joined #ruby
dangerousdave has joined #ruby
weems has joined #ruby
weems has quit [Changing host]
weems has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<lessless>
_br_, I'll stick with global variable ;)
noyb has joined #ruby
nateberkopec has joined #ruby
Lewix has joined #ruby
<canton7>
lessless, go with singleton cache class. still effectively a global variable, but nicer to work with
jcromart_ has joined #ruby
<canton7>
or make it non-singleton, and just pass the same instance to everything ;)
<canton7>
^^ easier to test
<lessless>
canton7, do u have any articles regards this technique implementation nearby?
<canton7>
the singleton, or the concept in general?
roadt has joined #ruby
obs has quit [Remote host closed the connection]
jbpros has quit [Quit: jbpros]
<lessless>
specifically about cacher, but I found article about implementing Logger, what is almost the same
<wald0>
when developing a good application in bash i was used to do things like "queues", so "add-file-to-remove-when-finish" functions, to save the things meant to be saved only when the full process finishes correctly in the end, etc
<wald0>
i see ruby as a big and powerful "framework of development", what can be a way in ruby to do these queue tasks ?
DecipheredAFK is now known as Deciphered
someish has quit [Quit: someish]
CaptainJet has quit []
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cek has quit [Ping timeout: 246 seconds]
blackmes1 has joined #ruby
jonathanwallace has joined #ruby
<canton7>
wald0, if I'm understanding you correctly, you could have an array of procs to execute when the application completes successfully
mklappstuhl has quit [Remote host closed the connection]
spider-mario has joined #ruby
Lewix has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
Xeago_ has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
binaryplease has quit [Ping timeout: 245 seconds]
myappleguy has quit [Ping timeout: 245 seconds]
MrZYX|off is now known as MrZYX
julweber has quit [Remote host closed the connection]
Deciphered is now known as DecipheredAFK
hamakn has quit [Remote host closed the connection]
<wald0>
canton7: yes, for example, so i know that in ruby is easier to create arrays and these things, but i just wonder if there's some "more ruby" way to do it, let's say already-made/thinked
zz_CripperZ is now known as CripperZ
myappleguy has joined #ruby
<wald0>
for example ruby contains initializers, or "begin"
hamakn has joined #ruby
CripperZ is now known as zz_CripperZ
hamakn has quit [Read error: Connection reset by peer]
<canton7>
I doubt there's anything build in for solving that precise, specialised ask
<canton7>
*task
<canton7>
*built
CaptainJet has joined #ruby
hamakn has joined #ruby
<canton7>
hmm, friday afternoon isn't good for my typing ability
<waxjar>
too bad the block doesn't receive the exit code as a parameter
lewiz has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Xeago has joined #ruby
coder_neo has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
<shevy>
canton7 you are better on the weekends? :>
aganov has quit [Quit: aganov]
linduxed has quit [Ping timeout: 272 seconds]
OdNairy has joined #ruby
spider-mario has joined #ruby
dhruvasagar has joined #ruby
rasta-man has quit [Quit: rasta-man]
ghr has quit [Quit: Computer has gone to sleep.]
<waxjar>
or takes an exit code as an argument and only executes the block if it matches the actual code
ghr has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
yacks has quit [Quit: Leaving]
cek has joined #ruby
mzdravkov has joined #ruby
vongrippen has quit [Ping timeout: 272 seconds]
Xeago has quit [Ping timeout: 246 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ghr has quit [Read error: Operation timed out]
Spami has joined #ruby
adkron has joined #ruby
euclides has joined #ruby
mzdravkov has left #ruby [#ruby]
mzdravkov has joined #ruby
haukur has joined #ruby
rhunter has joined #ruby
zeeraw has joined #ruby
includex has quit [Ping timeout: 246 seconds]
ananthakumaran has quit [Quit: Leaving.]
pskosinski has joined #ruby
<mzdravkov>
I am trying to define a variable in one file, then require the file in other file, but the variable is not set in the second file (the requirer). It's set only if it's $
petey has joined #ruby
ambushsabre has joined #ruby
<shevy>
mzdravkov yeah, default behaviour
asteros has joined #ruby
<shevy>
mzdravkov some workarounds. use a $global var. or a CONSTANT
<mzdravkov>
oh, it works if it's @ too
<shevy>
yeah
apeiros has quit [Remote host closed the connection]
rhunter has quit [Ping timeout: 264 seconds]
Lewix has joined #ruby
shime has joined #ruby
Lewix has quit [Remote host closed the connection]
<wald0>
havenwood: nice, so "at_exit" is like a "jobs to run when finish", is there other "jobs" related things nice to know ?
<wald0>
for example the ones to be run when something has failed
<wald0>
mmh, signals/trap for ruby ?
petey has quit [Ping timeout: 245 seconds]
Skylab has quit [Quit: Skylab]
lkba has quit [Ping timeout: 264 seconds]
user258467 has quit [Quit: Quitte]
myappleguy has quit [Ping timeout: 272 seconds]
avril14th has quit [Remote host closed the connection]
lemonsparrow_ has quit [Quit: Page closed]
g0bl1n has joined #ruby
Lewix has joined #ruby
aspiers has quit [Ping timeout: 252 seconds]
danshultz has joined #ruby
joonty has quit [Quit: WeeChat 0.4.2]
drumusician has quit [Ping timeout: 252 seconds]
Al__ has joined #ruby
dagobah has quit [Remote host closed the connection]
echevemaster has joined #ruby
otherj has quit []
mojjojo has quit [Read error: Connection reset by peer]
Al_ has quit [Ping timeout: 252 seconds]
sleetdrop has joined #ruby
pel_daniel has joined #ruby
Deejay has quit [Ping timeout: 272 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lkba has joined #ruby
<wald0>
just played/tried jekyll, its very nice :)
diegoviola has joined #ruby
mojjojo has joined #ruby
<mzdravkov>
how can I get some variable if i have the string name of it. If I want to do the same with method there is send(), but how it is done with vars?
<mzdravkov>
I know I can use eval, but I am not desperate enough for it :D
<diegoviola>
hi
RaCx has joined #ruby
<diegoviola>
do you guys recommend writing tests first and then functional code to make it pass or the other way around? i'm a bit new with testing
paul_k_ is now known as paul_k
jlebrech has quit [Quit: Konversation terminated!]
<nobitanobi>
diegoviola, I like that approach. Writting tests first and then writting code.
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
s2013 has joined #ruby
shime has quit [Ping timeout: 272 seconds]
yjmsf20 has quit [Quit: Lost terminal]
psyl0n has quit [Remote host closed the connection]
wallerdev has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
timonv has quit [Remote host closed the connection]
<diegoviola>
nobitanobi: right, i like that approach, but what if you are uncertain of the objects/variables/methods that you will create in the actual code? wouldn't it be then more difficult to write the tests first?
roolo has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
<diegoviola>
in that case
timonv has joined #ruby
zombiebit has joined #ruby
rkrdo has joined #ruby
jbpros has joined #ruby
jbpros has quit [Client Quit]
hamakn has quit [Ping timeout: 265 seconds]
dnyy has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
jbpros has joined #ruby
randomnick_ has joined #ruby
Yan__ has joined #ruby
RaCx has joined #ruby
shaunbaker has quit [Remote host closed the connection]
pwh has joined #ruby
nobitanobi has quit [Read error: Operation timed out]
BizarreCake has quit [Read error: Connection reset by peer]
Linux_Extremist has joined #ruby
dangerousdave has joined #ruby
brtdv has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
kofno has joined #ruby
haukur_ has joined #ruby
xk_id has quit [Quit:
Spami has quit [Quit: This computer has gone to sleep]
diegoviola has joined #ruby
haukur_ has quit [Client Quit]
haukur_ has joined #ruby
vlad_starkov has joined #ruby
wald0 has left #ruby [#ruby]
noop has joined #ruby
wald0 has joined #ruby
haukur has quit [Ping timeout: 260 seconds]
robert_ has joined #ruby
adkron has quit [Ping timeout: 246 seconds]
barratt has quit [Read error: Operation timed out]
asteros has joined #ruby
Gonzih has quit [Ping timeout: 260 seconds]
Gonzih has joined #ruby
obs has quit [Quit: Saliendo]
chuk has quit [Quit: Leaving]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kofno has quit [Ping timeout: 246 seconds]
hiall has quit [Quit: hiall]
camilasan has quit []
coder_neo has quit [Ping timeout: 272 seconds]
hiyosi has quit [Ping timeout: 272 seconds]
xk_id has joined #ruby
brianpWins has quit [Quit: brianpWins]
MetaCosm_ is now known as MetaCosm
nobitanobi has joined #ruby
myappleguy has quit [Ping timeout: 260 seconds]
zombiebit has quit [Remote host closed the connection]
TMM has quit [Quit: Ex-Chat]
Fire-Dragon-DoL has joined #ruby
<_br_>
Anyone have an idea how I can force headless gem or watir-webdriver into different resolutions?
zombiebit has joined #ruby
zombiebit has quit [Read error: Connection reset by peer]
zombiebit has joined #ruby
rhunter has joined #ruby
kidoz has quit [Quit: Ухожу я от вас]
rhunter has quit [Ping timeout: 246 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
coder_neo has joined #ruby
zombiebit has quit [Remote host closed the connection]
aspiers has joined #ruby
zombiebit has joined #ruby
Beoran has joined #ruby
rdark has quit [Quit: leaving]
Megtastique has joined #ruby
relix has joined #ruby
zhbfvuvabar87r has joined #ruby
zhbfvuvabar87r has quit [Excess Flood]
<havenwood>
diegoviola: Sometimes REPL driven development or hammock driven development are a better fit than test driven development.
<havenwood>
diegoviola: it depends
adkron has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
g0bl1n has quit [Ping timeout: 246 seconds]
Tamal has joined #ruby
Tamal has quit [Client Quit]
matheuscaceres has quit [Quit: matheuscaceres]
<canton7>
shevy, fair point...
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zombiebit has quit [Ping timeout: 264 seconds]
<diegoviola>
havenwood: thanks
<diegoviola>
i see
matheuscaceres has joined #ruby
troessner has quit [Quit: Leaving]
RaCx has joined #ruby
CaptainJet has quit []
asteros has quit [Quit: asteros]
Linux_Extremist has quit [Quit: Leaving]
michael_lee has quit [Remote host closed the connection]
wald0 has quit [Quit: Lost terminal]
jragon has joined #ruby
apeiros has joined #ruby
jragon has quit [Changing host]
jragon has joined #ruby
noop has quit [Ping timeout: 252 seconds]
noop has joined #ruby
fomatin has joined #ruby
zombiebit has joined #ruby
cek has quit [Ping timeout: 245 seconds]
brtdv has quit []
DecipheredAFK is now known as Deciphered
brtdv has joined #ruby
CaptainJet has joined #ruby
GoodTimes has joined #ruby
Princip has quit [Read error: Connection reset by peer]
JoeTheGuest has joined #ruby
agjacome has joined #ruby
JoeTheGuest has quit [Changing host]
JoeTheGuest has joined #ruby
JoeTheGuest has quit [Changing host]
JoeTheGuest has joined #ruby
watermel0n has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
ephemerian has quit [Quit: Leaving.]
dtcrshr has joined #ruby
dtcrshr has joined #ruby
dtcrshr has quit [Changing host]
jeffdb has joined #ruby
Deciphered is now known as DecipheredAFK
xk_id has quit [Quit:
cek has joined #ruby
Linux_Extremist has joined #ruby
inad922 has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
RaCx has joined #ruby
brianpWins has joined #ruby
DaZ has quit [Ping timeout: 252 seconds]
asteros has joined #ruby
jeffdb has quit [Ping timeout: 245 seconds]
khoury has quit [Remote host closed the connection]
Guest16922 has quit [Remote host closed the connection]
asteros has quit [Client Quit]
michael_mbp has quit [Remote host closed the connection]
zombiebit has quit [Remote host closed the connection]
michael_mbp has joined #ruby
IceDragon has joined #ruby
nebula has quit [Quit: Konversation terminated!]
zombiebit has joined #ruby
noyb has quit [Ping timeout: 252 seconds]
pleal has quit [Read error: Connection reset by peer]
myappleguy has joined #ruby
Monie has joined #ruby
pleal has joined #ruby
mikestok has joined #ruby
roolo has joined #ruby
Yan___ has joined #ruby
hiyosi has joined #ruby
DaZ has joined #ruby
Yan__ has quit [Ping timeout: 252 seconds]
danshultz has quit [Remote host closed the connection]
Old_dev has joined #ruby
danshultz has joined #ruby
JohnBat26 has quit [Ping timeout: 246 seconds]
Linux_Extremist has quit [Quit: Leaving]
brtdv has quit []
kirun has joined #ruby
Flawless has joined #ruby
hamakn has joined #ruby
bluOxigen has joined #ruby
sambao21 has joined #ruby
brtdv has joined #ruby
<shevy>
it's always so boring to think about tests first rather than features
osvico has quit [Ping timeout: 246 seconds]
Yan__ has joined #ruby
duggiefresh has joined #ruby
<Flawless>
hey guys. I installed ruby 2.0.0p353 with bundle 1.3.5, to install some packages (for using gitlab)
Yan___ has quit [Ping timeout: 246 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jdubs has joined #ruby
<Jdubs>
Hello o/
danshultz has quit [Ping timeout: 260 seconds]
mojjojo has quit [Quit: mojjojo]
<Jdubs>
I have a problem: I have an object loading that hasMany of something. How can I load those if they aren't included in the initial API call for the parent item?
<shevy>
huh
tenjack has joined #ruby
<shevy>
what is hasMany
<shevy>
is that a rails thing
freerobby has joined #ruby
osvico has joined #ruby
iz has quit [Remote host closed the connection]
pskosinski has quit [Quit: Til rivido Idisti!]
jalcine- has joined #ruby
<Hanmac>
shevy is "its a rails thing" the new "its a jersey thing" ? ;P
banghouse has quit [Remote host closed the connection]
nisstyre has joined #ruby
<shevy>
I was thinking of lolcats
<shevy>
mouse.hasCheese?
AndChat| has joined #ruby
Megtastique has quit []
wallerdev has quit [Quit: wallerdev]
_bart has joined #ruby
Megtastique has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Yan__ has quit [Quit: No Ping reply in 180 seconds.]
Yan__ has joined #ruby
iliketurtles has joined #ruby
iliketurtles has quit [Max SendQ exceeded]
zigomir has joined #ruby
<shevy>
Hanmac what are you coding lately
iliketurtles has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<Hanmac>
shevy i am working on my wxwidgets binding again ... try to make as much classes as possible mashal_dump'able ...
hamakn has quit [Remote host closed the connection]
<Jdubs>
oops sorry guys, I typed into my wrong chatroom :P
<Jdubs>
Meant to ask that in my emberjs window!
hamakn has joined #ruby
<shevy>
yay
<shevy>
I mean yay to Hanmac
<shevy>
I will have an alternative to ruby-gtk
Speed has joined #ruby
<shevy>
Hanmac can we install it as a gem?
<shevy>
gem install hanmac_widgets
<Hanmac>
i didnt packaged as a gem ... i mean it has a Rakefile and also a gemspec but i didnt pushed it yet to rubygems
rhunter has joined #ruby
<AndChat|>
Hanmac Sup hans
<Hanmac>
hm i need to test if the Rakefile is sitll working
adkron has quit [Quit: WeeChat 0.4.2]
petey has joined #ruby
pleal has quit [Read error: Connection reset by peer]
heftig has quit [Ping timeout: 265 seconds]
pleal has joined #ruby
DecipheredAFK is now known as Deciphered
xk_id has joined #ruby
ravster has quit [Quit: Leaving.]
<cek>
how do I make a nodeset of several attributes with xpath?
<Hanmac>
cek i get it working, but i dont like it: Nokogiri::XML('<a attr1="value1" attr2="value2" attr3="value3" />').xpath("./a/@attr1|./a/@attr2") #=> [#<Nokogiri::XML::Attr:0x1557854 name="attr1" value="value1">, #<Nokogiri::XML::Attr:0x1557638 name="attr2" value="value2">]
<cek>
yeah, that shit looks good. except that i use rexml
OdNairy has joined #ruby
<Hanmac>
cek the xpath should work too, if not throw rexml away
timonv has joined #ruby
Elhu has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
duggiefresh has quit [Remote host closed the connection]
drumusician has joined #ruby
jamesaanderson has quit [Client Quit]
iajrz_ has joined #ruby
vlad_starkov has joined #ruby
iajrz_ is now known as iajrz
<cek>
<Ankh> that might require XPath 2, I don't remember, but if it doesn't work, //sock/@*[name() = 'colour' or name() = 'size']
BizarreCake has joined #ruby
shredding has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
cek has quit [Quit: thanks, all worked!]
tsykoduk is now known as zz_tsykoduk
jhamm has joined #ruby
decoponio has quit [Quit: Leaving...]
myappleguy has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
duggiefresh has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
mojjojo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Jdubs has quit [Read error: Connection reset by peer]
jetblack has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agjacome has quit [Ping timeout: 265 seconds]
Briareos1 has quit [Remote host closed the connection]
shime has quit [Ping timeout: 265 seconds]
kofno has quit [Ping timeout: 246 seconds]
julweber has joined #ruby
Lewis has joined #ruby
falood has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
duggiefresh has quit [Remote host closed the connection]
kitak has joined #ruby
estebistec has quit [Remote host closed the connection]
charliesome has joined #ruby
duggiefresh has joined #ruby
Jake has joined #ruby
__eka__ is now known as eka
Jake has quit [Client Quit]
yfeldblu_ has quit [Remote host closed the connection]
MrZYX is now known as MrZYX|off
maroloccio has joined #ruby
Lewix has quit [Remote host closed the connection]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has quit []
Jdubs has joined #ruby
havenwood has joined #ruby
fridim__ has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
sheap has joined #ruby
havenwood has joined #ruby
stevenhaddox has joined #ruby
culturelabs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac>
hey charliesome!
relix has joined #ruby
<charliesome>
Hanmac: yo
sheap has quit [Client Quit]
timonv has joined #ruby
ambushsabre has joined #ruby
<Hanmac>
i have seen that you was the guy how added ""f ... why is ""b added but not enabled?
<Hanmac>
and yes i read all ruby/ruby commits ;P
jetblack has quit [Read error: Operation timed out]
morenoh159 has joined #ruby
RaCx has quit [Ping timeout: 272 seconds]
<Hanmac>
charliesome: and wasnt you the guy to made the evain bot/website? maybe its a good idea to update the ruby versions (some new patch versions are out) ... and it would be interesting if 64bit versions can be added ;P
<apeiros>
but tbh, I think string literals miss the ability to specify the encoding
<apeiros>
I'd like something like "foo"(binary)
timonv has quit [Ping timeout: 272 seconds]
<apeiros>
benzrf: experimental feature in 2.1 head. eval-in defaults to 2.0
CaptainJet has joined #ruby
Megtastique has joined #ruby
<Hanmac>
charliesome: i found a Segfault in ruby code again which seems only affects 64bit arch, (its the third of this kind i found) but i think nobu wll fix it until tomorrow
<charliesome>
Hanmac: oh cool
DecipheredAFK is now known as Deciphered
<charliesome>
which is it?
kaspergrubbe has quit [Remote host closed the connection]
<charliesome>
apeiros: as in fix gems that leave a lot of string literals on the heap
<charliesome>
this opto is also useful in generated code like erb
<charliesome>
apeiros: i like to think i am ;)
<apeiros>
charliesome: I hope I may poke you in a about month to do a code review :)
<charliesome>
sure!
<charliesome>
how big is the patch going to be
<apeiros>
not a patch. a gem.
<apeiros>
I want to replace CSV
<Hanmac>
i am still currious how it happens that some bugs crash in all ruby versions on my mashine but works on all versions on evalin ... where only the Architecture is different but it should not affect at some function
iliketurtles has quit [Ping timeout: 260 seconds]
<apeiros>
and as of dec. 7th, I have holidays, so I can finally devote some time to this.
<charliesome>
apeiros: ah cool
<apeiros>
I want to use this as my language journey project too. i.e. I want to implement it in C, Java and Python at least. Other languages as I get to it.
tedstrik_ has quit [Remote host closed the connection]
CaptainJet has quit [Read error: Connection reset by peer]
<apeiros>
charliesome: https://github.com/apeiros/ept - that's the project btw. - the github version is a bit outdated, though.
<apeiros>
but it shows the aim quite well
rickruby has joined #ruby
<charliesome>
apeiros: that's a neat idea for learning a whole bunch of different languages
<apeiros>
the C parser I'm writing is a stream-capable parser. able to stop and resume at any time, without the need for any lookahead.
<apeiros>
that part already works. and it beats fastercsv by ~4x iirc with parsing to arrays of arrays of raw strings
CaptainJet has joined #ruby
timonv has joined #ruby
marr has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
Deciphered is now known as DecipheredAFK
fixl has joined #ruby
rickruby has quit [Ping timeout: 261 seconds]
pel_daniel has left #ruby [#ruby]
<charliesome>
apeiros: nice
<charliesome>
streaming parsers are pretty nifty
<charliesome>
are you using something like ragel or a hand rolled state machine?
<apeiros>
hand rolled, goto based state machine
<charliesome>
cool
<apeiros>
wrote a generator to parse iso8601 a few years ago. I intend to use a similar approach here.
benzrf has left #ruby [#ruby]
<apeiros>
the current one is hand-crafted, though. to figure what I need.
<apeiros>
I want a parser which is able to preserve all information and only discards if asked. i.e. you could parse a file and rewrite it from the parsed data 1:1
euclides has joined #ruby
iliketurtles has joined #ruby
Lewis has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 260 seconds]
fgo has joined #ruby
Atrophius has joined #ruby
akhet has quit [Ping timeout: 252 seconds]
amoli has quit [Ping timeout: 260 seconds]
akhet has joined #ruby
jetblack has joined #ruby
wallerdev has quit [Read error: Connection reset by peer]