apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
sepp2k1 has joined #ruby
saarinen has quit [Quit: saarinen]
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
jfran_ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
momomomomo has quit [Read error: Connection reset by peer]
sepp2k has quit [Ping timeout: 255 seconds]
momomomomo has joined #ruby
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
Takle has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
terrellt has quit [Quit: Leaving...]
bubbajones has quit [Ping timeout: 264 seconds]
yetanotherdave has quit [Read error: Connection reset by peer]
thumpba has quit []
<nahtnam> Anyone?
testcore has quit [Quit: BitchX: it's everywhere you want to be]
mrmargolis has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
upsell5 has quit [Quit: upsell5]
<nahtnam> Got it!
<nahtnam> I just had to start cmd with node
<nahtnam> :D
Takle has quit [Ping timeout: 240 seconds]
bubbajones has joined #ruby
yetanotherdave has joined #ruby
enebo has quit [Quit: enebo]
kyb3r_ has quit [Read error: Connection reset by peer]
acconrad has quit [Quit: acconrad]
moritzs has joined #ruby
kyb3r_ has joined #ruby
casheew__ has quit [Read error: Connection reset by peer]
casheew_ has joined #ruby
ddv has quit [Ping timeout: 245 seconds]
bricker`work has quit [Read error: Connection reset by peer]
GriffinHeart has joined #ruby
thumpba has joined #ruby
bricker`work has joined #ruby
andrewlio has quit [Remote host closed the connection]
jhass is now known as jhass|off
vifino has joined #ruby
Arkaniad has joined #ruby
ddv has joined #ruby
mehlah has quit [Quit: Leaving...]
Aryasam has quit [Ping timeout: 240 seconds]
chuckc_ has quit [Quit: chuckc_]
freerobby has joined #ruby
chipotle has joined #ruby
blackmes1 has quit [Ping timeout: 256 seconds]
chipotle has quit [Client Quit]
GriffinHeart has quit [Ping timeout: 255 seconds]
momomomomo has quit [Quit: momomomomo]
alexju has joined #ruby
Guest80459 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jam_ has joined #ruby
pietr0 has quit [Quit: pietr0]
IceyEC has joined #ruby
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
dr0ff has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lectrick> shevy: (and perhaps apeiros if you're curious)- I GOT MY IDEA TO WORK. https://gist.github.com/pmarreck/64a2da188beca5d354df And you said it couldn't be done, shevy, haha
e4xit has quit [Ping timeout: 255 seconds]
<lectrick> Granted... there's only 1 test case so far lol
<lectrick> I'm sure it will break any test case now
vyorkin has quit [Ping timeout: 248 seconds]
e4xit has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
<lectrick> func = ((1.arg * 0.arg) + 0.arg - 1.arg) * 2.arg; func.call(3,4,5) #=> 55
dapz has joined #ruby
aspires has quit []
<lectrick> It only took, like, 6 hours. Even slow programmers can accomplish the impossible!
thumpba has quit [Ping timeout: 240 seconds]
<awc737> lolwut? not_if "npm list -g | grep '^├─┬ #{m}'"
<awc737> wut is that-> '^├─┬
northfurr has quit [Quit: northfurr]
SilkFox_ has joined #ruby
arrubin has joined #ruby
codezomb has quit []
SilkFox has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
zz_karupa is now known as karupa
awkwords has quit [Read error: No route to host]
djbkd has quit [Remote host closed the connection]
crudson has quit [Remote host closed the connection]
Vivekananda_y510 has joined #ruby
replay_ has joined #ruby
replay has quit [Read error: Connection reset by peer]
jack_rabbit has joined #ruby
jtiggo has quit [Remote host closed the connection]
reset has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
kaspergrubbe has joined #ruby
crudson has joined #ruby
aspires has joined #ruby
mr_snowf1ake has quit [Ping timeout: 240 seconds]
enebo has joined #ruby
CaptainJet has joined #ruby
timonv has joined #ruby
awkwords has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
narcan has quit [Read error: Connection reset by peer]
<wallerdev> does anyone else feel like refactoring is like the best part of programming
<wallerdev> so much joy from deleting duplicate code
kaspergrubbe has quit [Ping timeout: 256 seconds]
timonv has quit [Ping timeout: 240 seconds]
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<existensil> My favorite part is writing absurdly susscint and clever code... which sucks, because that's usually not maintainable
<existensil> so, yeah, refactoring is the fun I'm allowed to have
<existensil> and seeing massive amounts of data flowing through my software
<benzrf> wallerdev: maybe in languages that have compilers that know when youre wrong
<benzrf> in ruby, it feels like waiting for a bomb to go off
* benzrf sweats
saarinen has joined #ruby
<wallerdev> haha
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has quit [Quit: Leaving...]
srnty has quit [Quit: srnty]
iceyec_ has joined #ruby
IceyEC has quit [Ping timeout: 240 seconds]
iceyec_ is now known as iceyec
pencilcheck has quit [Remote host closed the connection]
pencilcheck has joined #ruby
dapz has joined #ruby
moritzs has quit [Ping timeout: 256 seconds]
nahtnam has quit [Ping timeout: 246 seconds]
dapz has quit [Client Quit]
upsell5 has joined #ruby
dapz has joined #ruby
aspires has quit []
freerobby has quit [Quit: Leaving.]
<lectrick> wallerdev: it totally is... especially if you have a test suite
maletor has quit [Quit: Computer has gone to sleep.]
oo_ has joined #ruby
pencilcheck has quit [Ping timeout: 240 seconds]
welthar has left #ruby ["Leaving"]
<wallerdev> who needs tests
<wallerdev> yolo
nanoyak has quit [Quit: Computer has gone to sleep.]
reset has joined #ruby
aspires has joined #ruby
francisfish has joined #ruby
kireevco has quit [Quit: Leaving.]
kkuno has quit [Quit: Konversation terminated!]
narcan has joined #ruby
thumpba has joined #ruby
sevenseacat has joined #ruby
acconrad has joined #ruby
jmbrown412 has quit [Remote host closed the connection]
ARCADIVS has joined #ruby
jmbrown412 has joined #ruby
nfk has quit [Ping timeout: 245 seconds]
aspires has quit []
PanPan has joined #ruby
thumpba has quit [Ping timeout: 245 seconds]
jmbrown4_ has joined #ruby
iceyec has quit [Ping timeout: 240 seconds]
jmbrown412 has quit [Read error: Connection reset by peer]
helpa has joined #ruby
mrmargolis has joined #ruby
upsell5 has quit [Quit: upsell5]
andrewjanssen has quit [Quit: Leaving...]
enebo has quit [Quit: enebo]
Channel6 has joined #ruby
jmbrown4_ has quit [Remote host closed the connection]
nateberkopec has joined #ruby
lewix has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
<benzrf> hmmm
<benzrf> does ruby have a <- token?
<benzrf> i dont remeber
<benzrf> *remember
<benzrf> >> foo <- bar
<eval-in_> benzrf => undefined local variable or method `foo' for main:Object (NameError) ... (https://eval.in/170734)
<benzrf> oh right it parses as foo < -bar
britneywright has joined #ruby
<benzrf> ruby should take a leaf from livescript's book and invent backcalls
<benzrf> err, implement
<mozzarella> what's that?
<benzrf> assuming <- as the backcall operator
<benzrf> it lets you do something like:
<benzrf> x <- some_method(3)
<benzrf> more_code
<benzrf> and it gets translated to
<benzrf> some_method(3) do |x|
<benzrf> more_code
tokik has joined #ruby
<sevenseacat> what is the purpose of that
<benzrf> it's nice sugar in some circumstances
<mozzarella> is more_code part of a block?
<benzrf> mozzarella: hmm
<benzrf> ?
<mozzarella> why did you indent it?
<benzrf> mozzarella: yes
<benzrf> i omitted the end
<benzrf> the idea is that it's a syntax for writing callbacks or continuations like assignment
<benzrf> haskell's do-notation works essentially that way, and ask any haskeller about its power as an abstraction
<benzrf> livescript has the version i just described
<benzrf> when you write code with a lot of callbacks (i.e. async stuff) it's handy for acting like you're doing a standard sync imperative thing
bricker`work has quit [Ping timeout: 255 seconds]
<benzrf> it also helps unindent your CodeLicker
<benzrf> *code
mikesplain has joined #ruby
troyready has quit [Ping timeout: 255 seconds]
<mozzarella> is it like |>?
<benzrf> sort of
<benzrf> wait, in what sense do you mean
mrmargolis has quit [Remote host closed the connection]
<mozzarella> well, instead of doing something like a(b(c())) you end up doing c |> b |> a
<benzrf> yeah
Wolland has quit [Remote host closed the connection]
<benzrf> or instead of
<benzrf> foo.each do |x|
<benzrf> bar.each do |y|
<benzrf> ......
<benzrf> end
<benzrf> end
<benzrf> you do
<benzrf> x <- foo.each
<benzrf> y <- bar .each
<benzrf> ......
mikesplain has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
<benzrf> the block is implicitly closed at the next end, usually
andrewhl has joined #ruby
<mozzarella> I see
<benzrf> or for async programming
<benzrf> contents <- get_page "http://google.com/"
<benzrf> code <- post_to "http://example.net", contents
<benzrf> log "got response code #{code}"
<benzrf> ^looks like sync but is actually async
Wolland has quit [Ping timeout: 245 seconds]
awkwords has quit [Ping timeout: 264 seconds]
<theharshest> one noob question here - I want to change a gem so that it uses application.yml of the project which is using the gem instead of its own application.yml. how to achieve that?
Deele has quit [Ping timeout: 255 seconds]
neiled has joined #ruby
neiled has quit [Max SendQ exceeded]
benlieb has quit [Quit: benlieb]
sailias has joined #ruby
sailias has quit [Read error: Connection reset by peer]
sailias has joined #ruby
sailias has quit [Remote host closed the connection]
Shidash has joined #ruby
awc737 has joined #ruby
<wallerdev> theharshest: monkeypatch the place where it loads application.yml
Wolland has joined #ruby
sailias has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
pasties has quit [Read error: Connection reset by peer]
<theharshest> wallerdev: any example or link please? I'm absolutely new to ruby.
<wallerdev> whats the gem?
earthquake has quit [Quit: earthquake]
robustus has quit [Ping timeout: 252 seconds]
mgberlin has joined #ruby
neiled has joined #ruby
neiled has quit [Max SendQ exceeded]
<theharshest> wallerdev: It is a local gem, I'm using it in another project by giving its path in Gemfile
<wallerdev> well you could just replace the application.yml then if youre the only one using that gem
robustus has joined #ruby
<theharshest> wallerdev, ok
foo-bar- has quit [Remote host closed the connection]
K3dare has quit [Ping timeout: 240 seconds]
hgl has joined #ruby
thecoolguy has joined #ruby
<thecoolguy> Is there a way to auto document a ruby script in windows ?
bmurt has joined #ruby
<wallerdev> auto document?
<wallerdev> usually the important part of documentation is that you say what isnt obvious
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
K3dare has joined #ruby
freerobby has joined #ruby
mrmargolis has joined #ruby
icarus has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
<agent_white> Herro
maestrojed has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
sent-hil has quit [Quit: Connection closed for inactivity]
sdrew has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<thecoolguy> well i mean it does the basics and i just have to fill in what the method does
maloik_ has quit [Ping timeout: 264 seconds]
maloik has joined #ruby
djbkd has quit [Remote host closed the connection]
edgarjs is now known as edgarjs_afk
Pulpie has left #ruby [#ruby]
<thecoolguy> also
oo_ has joined #ruby
<thecoolguy> how do a licence my code
cpjk_ has joined #ruby
<thecoolguy> its suppose to be a tutorial code
cpjk_ has left #ruby [#ruby]
moted has quit [Quit: moted]
northfurr has joined #ruby
alexju has quit [Remote host closed the connection]
j_mcnally has joined #ruby
awkwords has joined #ruby
adelcampo has quit [Quit: adelcampo]
freerobby has joined #ruby
francisfish has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
hamakn has quit [Remote host closed the connection]
<thecoolguy> Anyone here ?
thumpba has joined #ruby
tus has quit []
freerobby has quit [Client Quit]
codezomb has joined #ruby
edgarjs_afk is now known as edgarjs
dapz has joined #ruby
Hanmac1 has joined #ruby
reset has quit [Ping timeout: 240 seconds]
frankjpinto has quit [Ping timeout: 240 seconds]
Spami has quit [Quit: This computer has gone to sleep]
dapz has quit [Client Quit]
GriffinHeart has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
yetanotherdave has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
kireevco has joined #ruby
SilkFox_ has joined #ruby
_2_panda3 has joined #ruby
<_2_panda3> hi
edgarjs is now known as edgarjs_afk
Ankhers has quit [Remote host closed the connection]
_2_panda3 has quit [Client Quit]
strelok has joined #ruby
chrishough has quit [Quit: chrishough]
<thecoolguy> I need to post a tutorial on how to use a certain api. What are some good blogs i could post it in ?
johnrover has quit [Quit: johnrover]
<strelok> for(int x = xstart; x < xend + 2; x++) {
<strelok> for(int y = ystart; y < yend + 2; y++) {
<strelok> }
<strelok> Array[y][x] = 1
<strelok> }
<strelok> how would one do this in ruby ^
SilkFox_ has quit [Ping timeout: 252 seconds]
kireevco has quit [Ping timeout: 256 seconds]
hamakn has joined #ruby
pencilcheck has joined #ruby
snath has joined #ruby
alexju has joined #ruby
arya_ has joined #ruby
<ericwood> okay first of all,
<ericwood> !paste
mrmargolis has quit [Remote host closed the connection]
<thecoolguy> ericwood any ideas ?
<ericwood> no
foo-bar- has joined #ruby
<strelok> i only know how to use the each method to loop through arrays of arrays
<strelok> but i dont know how to use that to draw a rectangle in the array
stytown has joined #ruby
<strelok> like i can with a c style for loop
<ericwood> strelok: you can but you can do things like step() in ruby
<ericwood> that's a good starting point
<strelok> each_with_index does increments
<strelok> but i dont know how to make it start at an offset
nateberkopec has joined #ruby
<ericwood> ah okay
neiled has joined #ruby
neiled has quit [Max SendQ exceeded]
<ericwood> strelok: you can say array.drop(2)
mconnolly has joined #ruby
<ericwood> >> a = [1,2,3,4]; a.drop(2).each { |i| puts i }
<eval-in_> ericwood => 3 ... (https://eval.in/170735)
<ericwood> heh that's what I read to get that solution
acconrad has quit [Quit: acconrad]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thecoolguy> Anyone know a blog i can post a ruby Tutorial
<ericwood> thecoolguy: /dev/null
benlieb has joined #ruby
dideler has joined #ruby
havenwood has joined #ruby
pencilcheck has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
banjara has quit [Quit: Leaving.]
benzrf|offline is now known as benzrf
timonv has joined #ruby
sdrew has quit [Quit: *poof*]
<strelok> thanks, the advice helped
benlieb has quit [Quit: benlieb]
andrewhl has quit [Quit: andrewhl]
Cache_Money has joined #ruby
dr0ff has quit []
timonv has quit [Ping timeout: 240 seconds]
lyuzashi has joined #ruby
x1337807x has joined #ruby
chrishough has joined #ruby
kireevco has joined #ruby
kalusn has joined #ruby
<thecoolguy> ericwood what do i mean /dev/null ?
<thecoolguy> you*
pencilcheck has joined #ruby
<sevenseacat> lol
replay_ has quit []
britneywright has joined #ruby
nateberkopec has quit [Quit: Leaving...]
<thecoolguy> or should i just make my own site
x1337807x has quit [Ping timeout: 264 seconds]
mikemac has joined #ruby
kalusn has quit [Ping timeout: 240 seconds]
mgberlin has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
Hobogrammer has joined #ruby
mgberlin has joined #ruby
brunops has quit [Ping timeout: 240 seconds]
brunops has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
GriffinHeart has quit [Remote host closed the connection]
mgberlin has quit [Ping timeout: 256 seconds]
alvaro_o has quit [Quit: Ex-Chat]
Hobogrammer has quit [Quit: WeeChat 0.4.3]
radic has quit [Ping timeout: 240 seconds]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
gr33n7007h has quit [Quit: Leaving]
vifino has quit [Quit: Ze Cat now leaves...]
quazimodo has joined #ruby
radic has joined #ruby
upsell5 has joined #ruby
yetanotherdave has joined #ruby
yetanotherdave has quit [Client Quit]
spastorino has joined #ruby
<thecoolguy> so if i am starting a programming blog would i just make the domain whatever or should it be my name ?
upsell5 has quit [Ping timeout: 240 seconds]
britneywright has quit [Quit: Textual IRC Client: www.textualapp.com]
gr33n7007h has joined #ruby
darkxploit has quit [Ping timeout: 256 seconds]
mgberlin has joined #ruby
Arkaniad has quit [Ping timeout: 264 seconds]
dapz has joined #ruby
dgaffney has joined #ruby
crazymykl has joined #ruby
sdwrage has joined #ruby
mrmargolis has joined #ruby
BalkM_____ has quit [Quit: Computer has gone to sleep.]
kireevco has quit [Quit: Leaving.]
bmurt has quit []
BalkM_____ has joined #ruby
Noob101 has joined #ruby
mikemac has quit [Ping timeout: 245 seconds]
thomasxie has joined #ruby
SilkFox_ has joined #ruby
theharshest has quit [Quit: This computer has gone to sleep]
jzigmund has quit [Ping timeout: 240 seconds]
theharshest has joined #ruby
BalkM_____ has quit [Ping timeout: 248 seconds]
<CodeLicker> benzrf: you summoned me, but I was unavailable.
theharshest has quit [Read error: Connection reset by peer]
<benzrf> CodeLicker: it was a mistake
theharshest has joined #ruby
theharshest has quit [Read error: Connection reset by peer]
SilkFox_ has quit [Ping timeout: 240 seconds]
theharshest has joined #ruby
Vivekananda_y510 has quit [Quit: Leaving]
braincrash has quit [Quit: bye bye]
sailias has quit [Ping timeout: 255 seconds]
stytown has quit [Quit: stytown]
theharshest has quit [Client Quit]
llovelock has joined #ruby
havenwood has quit [Remote host closed the connection]
<llovelock> is fog the best gem for managing ec2 resources?
braincrash has joined #ruby
<j_mcnally> llovelock: i like the aws-sdk gem
dgaffney_ has joined #ruby
dgaffney has quit [Ping timeout: 240 seconds]
mr_snowf1ake has joined #ruby
penzur has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thomasxie has quit [Quit: Leaving.]
GriffinHeart has joined #ruby
mconnolly has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
washtubs has joined #ruby
baweaver is now known as Lemur
<washtubs> yo does anybody know good ruby tuts?
<CodeLicker> benzrf: I know. It was funny none the less.
<CodeLicker> washtubs: I'll warn you, politely, that your question is too vague and you might get attacked for a person or two.
stytown has joined #ruby
<CodeLicker> washtubs: to be less vague, try being specific over the subject you are asking. Tutorial? Tutorial for...?
* katlogic rabidly attacks washtubs
yacks has quit [Remote host closed the connection]
<washtubs> *a wild washtubs appears*
<washtubs> *washtubs flees*
<CodeLicker> washtubs: if you have no idea of what you want, try asking for a book.
llovelock has left #ruby [#ruby]
<washtubs> Well, I just wanted a quick starter tutorial
<CodeLicker> washtubs, katlogic: oh yeah? Try doing that question in ##c and see how long you'll last.
<washtubs> was thinking code academy but wasnt sure. maybe ppl here had some experience
<katlogic> CodeLicker: It throws me into ##c-unregistered. What is this, some secret fascist freenode area?
yacks has joined #ruby
<CodeLicker> katlogic: aren't you registered at freenode?
ixti has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
<CodeLicker> katlogic: only requirement is to have a passworded account, such as mine. No fee is required regardless.
<katlogic> CodeLicker: registered? since when IRC became AOL messanger :(
<washtubs> so are you guys vim users? I hear a lot of rubyists use vim
_maes_ has joined #ruby
<katlogic> I run identd if thats what you're asking. The RFC does not specify I need anything else to identify my account.
foo-bar- has quit [Remote host closed the connection]
<CodeLicker> katlogic: /msg NickServ identify <password>.
foo-bar- has joined #ruby
<washtubs> but replace password with your actual password and remove the first slash >:)
<katlogic> CodeLicker: Yeah, I'm familiar with services from dalnet days.
<CodeLicker> washtubs: Why removing first slash? At least here, I don't need it.
<katlogic> Not quite fond of the idea of giving email address to someone, just to help incompetent opers deal with abuse.
<CodeLicker> katlogic: create a @fakemail.com?
<katlogic> CodeLicker: Tried. They filter out mailinator too.
robbyoconnor has quit [Ping timeout: 248 seconds]
<CodeLicker> katlogic: make a @hotmail.com exclusively for it.
<CodeLicker> like "katlogic123321@hotmail.com"
havenwood has joined #ruby
<CodeLicker> I bet this one does not exists.
foo-bar- has quit [Ping timeout: 245 seconds]
<CodeLicker> And then you can join ##c. #c is only through invite.
nickenchuggets has quit [Quit: nickenchuggets]
<katlogic> Or simply ignore channels relying on +r :)
robbyoconnor has joined #ruby
johnrover has joined #ruby
arup_r has joined #ruby
SilkFox_ has joined #ruby
<CodeLicker> katlogic: as you wish. Perhaps you do not even like C in first place... I did not ask, how can I know that?
ferr has quit [Ping timeout: 240 seconds]
nickenchuggets has joined #ruby
northfurr has quit [Quit: northfurr]
frankjpinto has joined #ruby
stytown has quit [Quit: stytown]
ARCADIVS has quit [Quit: WeeChat 0.4.3]
d4nk has joined #ruby
SilkFox_ has quit [Ping timeout: 256 seconds]
oo_ has quit [Remote host closed the connection]
edmellum has quit [Quit: Connection closed for inactivity]
GriffinHeart has quit [Remote host closed the connection]
<koyd> CodeLicker: could you elaborate on #c being by invite only? Is this a common practice for double-# channels here on freenode?
mrmargolis has quit [Remote host closed the connection]
<CodeLicker> I am not sure... Probably not... But if you HAVE an account and ATTEMPT join #c you'll receive...
tectonic has joined #ruby
<koyd> nah, it's not like that: https://freenode.net/policy.shtml#channelnaming
t3i has joined #ruby
<koyd> single hash is for project channels, double hash for discussion/topic channels
francisfish has joined #ruby
northfurr has joined #ruby
grieg_ has quit [Ping timeout: 264 seconds]
GriffinHeart has joined #ruby
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
frankjpinto_ has joined #ruby
bluOxigen has joined #ruby
<t3i> I'm confused by threads, I'm on OSX 10.8 running ruby 2.0.0-p481. I'm running a script that benchmarks running code with 1,2,3 and then 4 threads. As I understand it, the threads will use my cpus so as the threads increase the benchmark time should decrease. I tested it with rbx-2.2.7 and it works as expected, but not with ruby-2.0.0. I thought ruby >= 1.9 would do this too?
francisfish has quit [Ping timeout: 264 seconds]
frankjpinto has quit [Ping timeout: 240 seconds]
maestrojed has joined #ruby
Spami has joined #ruby
foo-bar- has joined #ruby
mikepack has joined #ruby
mmorsi has joined #ruby
foo-bar- has quit [Read error: Connection reset by peer]
dapz has joined #ruby
foo-bar- has joined #ruby
Photism has quit [Quit: Leaving]
hgl has quit [Remote host closed the connection]
foo-bar-_ has joined #ruby
hgl has joined #ruby
anaeem1 has joined #ruby
adantj has joined #ruby
CaptainJet has quit []
bradhe has joined #ruby
johnrover has quit [Ping timeout: 240 seconds]
johnrover_ has joined #ruby
<adantj> which feels more standard, to have a controller action like new render the edit view, or to have a _form partial and two views as new and edit?
foo-bar- has quit [Ping timeout: 248 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
dapz has quit [Client Quit]
<adantj> on the edit view there would be checks to see if the current object is a new record or not
dapz has joined #ruby
johnrover_ has quit [Client Quit]
dc_ has quit []
<t3i> to answer my own question MRI does not use more than 1 core
foo-bar-_ has quit [Ping timeout: 264 seconds]
Soliah has quit [Read error: Connection reset by peer]
<t3i> adantj: that should probably be a rails question, but if you have too many checks you should probably split them out
<t3i> into their own partials
<t3i> which way will there be less duplication?
anaeem1 has quit [Ping timeout: 248 seconds]
mocchi_ has quit [Ping timeout: 255 seconds]
<t3i> how big is the form partial?
dapz has quit [Client Quit]
<sevenseacat> depends on the level of duplication, yes - some forms might be one way, some forms might be the other
<t3i> i was going to add the "It depends ™" message
<adantj> the form is huge, and I like the later, having separate new/edit views and having a _form partial
sdwrage has quit [Ping timeout: 240 seconds]
<adantj> sorry, I thought I was on the rails channel, mb
tmcgoo has joined #ruby
johnrover has joined #ruby
Soliah has joined #ruby
dapz has joined #ruby
<t3i> adantj: can you break the for partial out so the new stuff is it's own partials and the edit stuff is in edit partials?
<t3i> is in*
mocchi has joined #ruby
<adantj> Yeah that can be done, I'm on a team and trying to build a case against doing it all in a single view
sdwrage has joined #ruby
<adantj> but wanted to see if the way the other members of the team have written it was reasonable
<t3i> the _form partial is the normal starting point, but if it's getting to messy you would normally move to something else
<adantj> gotcha
timonv has joined #ruby
<t3i> :-)
thesheff17_ has joined #ruby
thesheff17 has quit [Disconnected by services]
thesheff17_ is now known as thesheff17
GriffinHeart has quit [Remote host closed the connection]
<adantj> I think it's suprising to use the new action with the edit view. Like it's not thinking of the Principle of least surprise.
oo_ has joined #ruby
Soliah has quit [Read error: Connection reset by peer]
Soliah has joined #ruby
mr_foobar_baz has joined #ruby
godd2 has quit [Remote host closed the connection]
mr_foobar_baz has quit [Client Quit]
bradhe has quit [Remote host closed the connection]
Royalb15 has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
CorpusCallosum has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
oo_ has quit [Ping timeout: 240 seconds]
Dr3amc0d3r|away has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
<t3i> adantj: you could still use the form partial but have other partials nested inside it.
Atrumx has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
<t3i> is there any stuff in the form partial that is identical in both new and edit?
<adantj> yes
chrishough has quit [Quit: chrishough]
JoshGlzBrk has joined #ruby
<t3i> adantj: so that could stay in the form partial and then you unique stuff can be extracted to other partials
yfeldblu_ has joined #ruby
gr33n7007h has quit [Remote host closed the connection]
CorpusCallosum has quit [Ping timeout: 248 seconds]
adantj has quit [Ping timeout: 255 seconds]
nanodano has joined #ruby
GriffinHeart has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
arup_r has left #ruby [#ruby]
djbkd has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
FLeiXiuS`` has joined #ruby
x1337807x has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
aspires has joined #ruby
timgauthier has joined #ruby
Kricir has joined #ruby
thomasxie has joined #ruby
crus has joined #ruby
ascarter has joined #ruby
johnrover has quit [Quit: johnrover]
SilkFox_ has joined #ruby
stytown has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
dapz has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
CorpusCallosum has joined #ruby
Rakko has joined #ruby
mgberlin_ has joined #ruby
benzrf is now known as benzrf|offline
frankjpinto__ has joined #ruby
benzrf|offline is now known as benzrf
stytown has quit [Quit: stytown]
theharshest has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
mgberlin has quit [Ping timeout: 264 seconds]
chrishough has joined #ruby
chrishough has quit [Client Quit]
chrishough has joined #ruby
aspires has quit []
frankjpinto_ has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
northfurr has quit [Quit: northfurr]
anarang has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
Cache_Money has quit [Quit: Cache_Money]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brunops has quit [Quit: leaving]
thejamespinto has quit []
relix has joined #ruby
yohanobs_ has joined #ruby
Hanmac has joined #ruby
zkay11 has quit [Quit: Leaving.]
Hanmac1 has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sputnik1_ has joined #ruby
aganov has joined #ruby
dideler has quit [Ping timeout: 255 seconds]
northfurr has joined #ruby
Soda has quit [Remote host closed the connection]
frankjpinto_ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
poindontcare has quit [Remote host closed the connection]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
poindontcare has joined #ruby
x1337807x has joined #ruby
frankjpinto__ has quit [Ping timeout: 240 seconds]
t3i has quit [Quit: t3i]
charliesome has joined #ruby
dc_ has joined #ruby
FLeiXiuS`` has quit [Ping timeout: 255 seconds]
lewix has quit [Remote host closed the connection]
theharshest has quit [Quit: This computer has gone to sleep]
tobago has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
lewix has joined #ruby
lnoskhen has joined #ruby
dapz has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Doppp has quit [Ping timeout: 245 seconds]
dapz has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
mike24 has joined #ruby
FLeiXiuS`` has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
dapz has joined #ruby
dapz has quit [Client Quit]
dapz has joined #ruby
Morkel has joined #ruby
mikepack has quit [Remote host closed the connection]
yfeldblum has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
timonv has joined #ruby
kalusn has joined #ruby
mikepack has joined #ruby
kyb3r_ has joined #ruby
arup_r has joined #ruby
kalusn has quit [Ping timeout: 240 seconds]
GriffinHeart has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
gimpygoo has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
arya_ has quit [Ping timeout: 240 seconds]
noopq has joined #ruby
SilkFox_ has quit [Ping timeout: 256 seconds]
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dagobert has joined #ruby
noopq has quit [Ping timeout: 240 seconds]
fluve has joined #ruby
Apocalypse has quit [Ping timeout: 240 seconds]
mrmargolis has joined #ruby
starkhalo has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
washtubs has quit [Ping timeout: 255 seconds]
francisfish has joined #ruby
Dagobert has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
mrmargolis has quit [Ping timeout: 264 seconds]
Gooder has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
Macaveli has joined #ruby
francisfish has quit [Ping timeout: 245 seconds]
wildroman2 has quit [Remote host closed the connection]
FLeiXiuS has joined #ruby
Dr3amc0d3r|away has joined #ruby
<FLeiXiuS> Anyone know if event machine will allow multithreaded queuing?
ta has quit [Ping timeout: 240 seconds]
frankjpinto__ has joined #ruby
anarang has quit [Ping timeout: 248 seconds]
apeiros has quit [Remote host closed the connection]
Photism has joined #ruby
james2395 has joined #ruby
foo-bar- has joined #ruby
frankjpinto_ has quit [Ping timeout: 240 seconds]
dapz has joined #ruby
<mozzarella> why can't I see the doc of Digest::MD5?
<j_mcnally> FLeiXiuS: not sure, but maybe take a look at https://github.com/celluloid/celluloid
Kricir has joined #ruby
krz has joined #ruby
<FLeiXiuS> j_mcnally, Yeah I have seen it. Not sure if it has everything I need.
foo-bar- has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
<FLeiXiuS> I'm writing a socket server for a usb serial device. I want the socket server to accept multiple connections but queue the messages being sent to the serial device
dik_dak has quit [Quit: Leaving]
kireevco has quit [Quit: Leaving.]
Deele has joined #ruby
fluve has quit [Ping timeout: 248 seconds]
carraroj has joined #ruby
mehlah has joined #ruby
<Macaveli> If you make something like this in console how do you execute it? https://gist.github.com/YOUConsulting/6f31200b8d58cbe3411b
thesheff17 has quit [Ping timeout: 256 seconds]
wildroman2 has joined #ruby
tessi_zz has quit [Ping timeout: 272 seconds]
hgl has quit [Remote host closed the connection]
hgl has joined #ruby
zly has quit [Ping timeout: 272 seconds]
supermat has quit [Ping timeout: 272 seconds]
Fusl has quit [Ping timeout: 272 seconds]
<arup_r> I woke up.. :-)
zly has joined #ruby
ndrei has joined #ruby
l3kn has quit [Ping timeout: 272 seconds]
wasamasa has quit [Ping timeout: 272 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
stytown has joined #ruby
l3kn has joined #ruby
wasamasa has joined #ruby
tessi_zz has joined #ruby
<Rakko> Macaveli: is it in a file yet?
<Macaveli> Rakko, just in console
<Rakko> in irb?
supermat has joined #ruby
vyorkin has joined #ruby
kireevco has joined #ruby
buub has joined #ruby
buub has quit [Client Quit]
pencilcheck has quit [Remote host closed the connection]
<Rakko> you would then use Math.square(2) or whatever number you want to square
bazy has left #ruby [#ruby]
<shevy> Macaveli you extended Math with a method called square()
Fusl has joined #ruby
<shevy> so def-ing it is the same as invoking it
<Macaveli> alright cool
<Macaveli> let me check that
<shevy> >> class Foo; end; def Foo.yo; puts 'YO MAN'; end; Foo.yo
<eval-in_> shevy => YO MAN ... (https://eval.in/170750)
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> >> def Math.square(x); x*x; end; Math.square 5
<eval-in_> shevy => 25 (https://eval.in/170751)
wallerdev has joined #ruby
Rakko has quit [Quit: Bye]
wildroman2 has quit [Remote host closed the connection]
ta has joined #ruby
bal has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
doev has joined #ruby
mikepack has quit [Remote host closed the connection]
agent_white has joined #ruby
<Macaveli> maybe dumb question
wildroman2 has joined #ruby
<Macaveli> but how do you execute ruby files on mac ?
<Macaveli> I normally write ruby on rails
<Macaveli> but now I'm reading a book about ruby :)
x1337807x has joined #ruby
mikepack_ has joined #ruby
<agent_white> Macaveli: `ruby filename.rb` or if you `chmod u+x` then you can `./filename.rb`
mehlah has quit [Quit: Leaving...]
<agent_white> ^^ `chmod u+x filename.rb`
<Macaveli> awesome :D
<Macaveli> thank you agent_white
<Macaveli> brb
Macaveli has quit [Quit: Leaving]
awkwords has quit [Ping timeout: 240 seconds]
x1337807x has quit [Ping timeout: 240 seconds]
arya_ has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<Hanmac> agent_white: hm you might did forget to tell him about the shebang ... (#!) hm imo the name still sounds pervert
<agent_white> Hanmac: Ah! Good idea!
<agent_white> Hanmac: Well... seems as though he is gone. Oh well!
pencilcheck has joined #ruby
tectonic has quit []
agent_white has quit [Quit: brb]
agent_white has joined #ruby
Kricir has quit [Remote host closed the connection]
frankjpinto__ has quit [Ping timeout: 240 seconds]
stytown has quit [Quit: stytown]
gr33n7007h has joined #ruby
penzur has quit [Ping timeout: 264 seconds]
<shevy> cool
<shevy> I read up on shebang
<shevy> it seems to have originated from "sharp bang"
arya_ has quit [Ping timeout: 240 seconds]
<agent_white> Or hash-bang!
<miah> octothorpe bang doesnt sound good i guess
<agent_white> miah: No, but is sounds badass!!
TestingAcc has joined #ruby
<agent_white> Maybe change the "bang" to "pow"...
* agent_white throws pokeball
<shevy> octowhat?
<TestingAcc> hello
<agent_white> "OCTOTHORPE POW!"
<shevy> octopr0n bang!!!
northfurr has quit [Quit: northfurr]
<shevy> agent_white what is pow? prisoner of war?
<miah> "Used by Bell Labs engineers by 1968.[5]"
<shevy> cool
<shevy> I wasn't even born then
<agent_white> shevy: Nah like "BANG" but with more sparkles... "BOOM BANG POW!"
TestingAcc has left #ruby [#ruby]
<miah> me either, but 10 years later =)
<agent_white> I just couldn't imagine my voicemail saying "If you would like to forward this message, press OCTOTHORPE five now!"
<miah> ya
vyorkin has quit [Ping timeout: 256 seconds]
SilkFox_ has joined #ruby
Xeago has joined #ruby
<shevy> lol
yfeldblum has quit [Remote host closed the connection]
<agent_white> miah: More... YA!! \o/
<shevy> octo... octo ...
<agent_white> D: !
<agent_white> OCTO-NOH!
yfeldblum has joined #ruby
apeiros has joined #ruby
penzur has joined #ruby
SilkFox_ has quit [Ping timeout: 255 seconds]
gil has quit [Ping timeout: 264 seconds]
northfurr has joined #ruby
benzrf is now known as benzrf|offline
netf has quit [Ping timeout: 255 seconds]
JasmeetQA has joined #ruby
alexju has quit [Remote host closed the connection]
suffice has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
Wolland has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
Wolland has joined #ruby
robbyoconnor has joined #ruby
nisstyre has quit [Ping timeout: 272 seconds]
quazimodo has quit [Ping timeout: 264 seconds]
eval-in__ has joined #ruby
eval-in_ has quit [Ping timeout: 255 seconds]
klaut has joined #ruby
wildroman2 has joined #ruby
JBreit has joined #ruby
netf has joined #ruby
mehlah has joined #ruby
mehlah has quit [Client Quit]
anaeem1 has joined #ruby
suffice has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
vyorkin has joined #ruby
penzur has quit [Ping timeout: 245 seconds]
gil has joined #ruby
_ has joined #ruby
anaeem1 has quit [Client Quit]
wildroman3 has joined #ruby
wildroman2 has quit [Read error: No route to host]
wildroman3 has quit [Remote host closed the connection]
_ is now known as Guest11873
JBreit has left #ruby [#ruby]
wildroman2 has joined #ruby
poppingtonic has joined #ruby
x1337807x has joined #ruby
claymore has joined #ruby
penzur has joined #ruby
francisfish has joined #ruby
GriffinHeart has joined #ruby
poppingt` has joined #ruby
jprovazn has joined #ruby
kireevco has quit [Quit: Leaving.]
poppingt` has left #ruby [#ruby]
Guest11873 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 264 seconds]
francisfish has quit [Ping timeout: 240 seconds]
anaeem1 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
poppingtonic has quit [Ping timeout: 248 seconds]
anaeem1_ has joined #ruby
Dagobert has joined #ruby
lukebyrne has joined #ruby
NinoScript has quit [Ping timeout: 245 seconds]
Royalb15 has quit [Quit: Leaving]
penzur has quit [Ping timeout: 248 seconds]
NinoScript has joined #ruby
scotty45 has joined #ruby
<scotty45> is ruby gud
<Dagobert> yep
<shevy> scotty45 YES
yohanobs_ has quit [Read error: Connection reset by peer]
james2395 has quit [Ping timeout: 256 seconds]
<shevy> scotty45 did you start to learn it?
<scotty45> no
senayar has joined #ruby
rdark has quit [Quit: leaving]
ndrei has quit [Ping timeout: 264 seconds]
<agent_white> scotty45: Ruby is like opening a pack of "baseball chewing gum" instead of those "blocks of gum".
<agent_white> You could use your fingers to make it into a block, or you could eat it upside-down, or sideways, or with each strand.
ndrei has joined #ruby
<agent_white> scotty45: -- don't ask if "it's good" until you try it.
<shevy> man
<scotty45> baseball gum is grows
<shevy> I hate chewing gum
<scotty45> ruby must be bad
<shevy> scotty45 ruby is like poetry
<scotty45> soz
<scotty45> just joking
<agent_white> scotty45: Then use your fingers and make it into a block. Or be like shevy and eat your fingers instead.
<shevy> where you communicate with the computer in elegance
<scotty45> uhm
<shevy> my fingers are only on the keyboard, nowhere else
<shevy> don't listen to what he does with his fingers scotty45
<shevy> in the future we'll even get rid of the keyboard altogether
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
penzur has joined #ruby
<shevy> then we code just by issuing thoughts
* agent_white waves his hands until his arms are numb
<agent_white> Nah... then when Mr.Bossman comes up we'll accidentally google "wtf is this goon doing hovering over me"
<scotty45> can i check how many meters i've scrolled with my mouse wheel somewhere on my operating system
<scotty45> i bet its like miles
Macaveli has joined #ruby
<scotty45> im running windows 7
doev has quit [Ping timeout: 240 seconds]
Jam_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doev has joined #ruby
dangerousdave has joined #ruby
coderhs has joined #ruby
ta has quit [Ping timeout: 240 seconds]
nanodano has quit [Quit: Leaving.]
northfurr has quit [Quit: northfurr]
<shevy> scotty45 you'd have to intercept the event
<shevy> in xorg you can probably do so by wrapping around the xev functionality
ephemerian has joined #ruby
wildroman2 has quit [Remote host closed the connection]
jeaye has joined #ruby
carraroj has quit [Ping timeout: 240 seconds]
<jeaye> Hitting an odd error with the simplest of extensions. On OSX, I cloned and built ruby with no problems, then set up a one-liner ruby extension and it just segfaults. All details should be included: https://gist.github.com/jeaye/ea3c96ad9e4c74bfacf3
FLeiXiuS has quit [Changing host]
FLeiXiuS has joined #ruby
<jeaye> Ideas?
<scotty45> im running NetBSD
<scotty45> on a toaster
nisstyre has joined #ruby
<scotty45> i can only build toastt
wildroman2 has joined #ruby
p0sixpscl has joined #ruby
wildroman2 has quit [Remote host closed the connection]
mikepack_ has quit [Remote host closed the connection]
wildroman2 has joined #ruby
penzur has quit [Ping timeout: 240 seconds]
vyorkin has quit [Ping timeout: 255 seconds]
<shevy> netbsd died years ago
<shevy> (void)c;
<shevy> is this valid jeaye?
<jeaye> Sure it is.
<shevy> I thought that if you define as int main, you'd have to return an int?
Audace has joined #ruby
<jeaye> main implicitly returns an int, and that cast is a nop expression to remove the unused variable warning.
ta has joined #ruby
<scotty45> how do i check what users are banned in a given channel
<jeaye> /ban
kalusn has joined #ruby
<sevenseacat> "am i still banned?"
<scotty45> uhm who would i be asking that if im banned tho
<scotty45> i want to see all the users that are banned
IceDragon has quit [Quit: Space~~~]
penzur has joined #ruby
<jeaye> shevy: I've updated the gist with less ambiguous code; the problem remains.
vinian has joined #ruby
vinian has quit [Max SendQ exceeded]
vinian has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
<gr33n7007h> Say I have a method like: def hello(*person, &say)... blah blah does the ampersand make the say a proc object ?
qwyeth has quit [Ping timeout: 240 seconds]
dumdedum has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
lewix has quit [Remote host closed the connection]
Alina-malina has joined #ruby
hgl_ has joined #ruby
theRoUS has quit [Quit: Coyote finally caught me]
bigkevmcd has joined #ruby
kaspergrubbe has joined #ruby
sk87 has joined #ruby
Jon` has quit [Read error: Connection reset by peer]
adelcampo has joined #ruby
jgt has quit []
hgl has quit [Ping timeout: 248 seconds]
<shevy> well that C code just looks weird
<shevy> did you try on your own or did you follow a tutorial jeaye?
<shevy> for instance, I dont see where you use any Init_* functions
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> there are not many C gurus here. apeiros is one ... havenwood ... and bnagy but he is not here
Guest38441 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 248 seconds]
<jeaye> Ah, yes.
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jeaye> shevy: So, that's perfectly valid C (well, C++ in my case). But you hit the nail on the head with the Init_*
<jeaye> I either need to provide an Init_* and call into my shared object from ruby, or I need to initialize my own ruby interpreter.
<jeaye> (using ruby_init(); ruby_run(); et cetera)
<shevy> \o/
<jeaye> cheers
<shevy> all I remember is that years ago I followed a jukebox tutorial
havenwood has quit [Remote host closed the connection]
<shevy> and it had the weird Init stuff
<shevy> but it actually worked for me
average has quit [Quit: leaving]
<jeaye> Right, right.
<shevy> I never learned C properly though, it still bites me today :(
<jeaye> My entry point is C++ though, not Ruby. So I'll need to spawn a Ruby interpreter and call into that.
<jeaye> shevy: Never too late.
Lingo has joined #ruby
jackneill has joined #ruby
oo_ has quit [Remote host closed the connection]
bato has quit [Ping timeout: 240 seconds]
SilkFox_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> oh wait that is good
<shevy> if you know C++ then you will find a man for your job here
<shevy> Hanmac is his name
<shevy> he maintains the new wxruby bindings
abuzze has joined #ruby
hgl_ has quit [Remote host closed the connection]
hgl_ has joined #ruby
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 248 seconds]
Morkel_ is now known as Morkel
penzur has quit [Ping timeout: 240 seconds]
joonty has joined #ruby
scotty45 has quit [Quit: Page closed]
SilkFox_ has quit [Ping timeout: 245 seconds]
francisfish has joined #ruby
ferr has joined #ruby
redlegion has quit [Ping timeout: 264 seconds]
Dagobert has left #ruby [#ruby]
Lingo has quit [Quit: Lingo - http://www.lingoirc.com]
vyorkin has joined #ruby
diegovio1 has joined #ruby
diegovio1 is now known as diegovio1a
lxsameer has joined #ruby
oo_ has joined #ruby
adelcampo has quit [Quit: adelcampo]
mrmargolis has joined #ruby
obs has joined #ruby
chipotle has joined #ruby
alex88 has joined #ruby
x1337807x has joined #ruby
redlegion has joined #ruby
knutmithut has joined #ruby
knutmithut has quit [Client Quit]
mrmargolis has quit [Ping timeout: 240 seconds]
mijicd has joined #ruby
penzur has joined #ruby
nickenchuggets has quit [Ping timeout: 240 seconds]
dapz has quit [Quit: Textual IRC Client: www.textualapp.com]
chipotle has quit [Quit: cya]
chipotle has joined #ruby
diegovio1a has quit [Remote host closed the connection]
Joulse has joined #ruby
x1337807x has quit [Ping timeout: 248 seconds]
abuzze has quit [Remote host closed the connection]
elizarpepino has joined #ruby
<apeiros> shevy: I'm far from being a C guru :(
hgl_ has quit [Remote host closed the connection]
<apeiros> I occasionally write *trivial* C code
hgl_ has joined #ruby
hgl_ has quit [Client Quit]
chipotle has quit [Client Quit]
penzur has quit [Ping timeout: 248 seconds]
wildroman2 has joined #ruby
ta has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
diegovio1a has joined #ruby
olivier_bK has joined #ruby
wildroman2 has joined #ruby
ta has joined #ruby
pencilcheck has quit []
foo-bar- has joined #ruby
lukebyrne has quit [Remote host closed the connection]
Poky has joined #ruby
elaptics`away is now known as elaptics
kaspergrubbe has joined #ruby
lukebyrne has joined #ruby
Takle has joined #ruby
mikecmpbll has joined #ruby
elizarpepino has quit [Ping timeout: 240 seconds]
elizarpepino1 has joined #ruby
ta has quit [Ping timeout: 264 seconds]
foo-bar- has quit [Ping timeout: 245 seconds]
andrewlio has joined #ruby
dgaffney has joined #ruby
oo_ has quit [Remote host closed the connection]
lukebyrne has quit [Ping timeout: 240 seconds]
p0sixpscl has quit [Quit: p0sixpscl]
Guest38441 has quit [Ping timeout: 256 seconds]
dgaffney_ has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
Heskie has joined #ruby
elizarpepino1 has quit [Ping timeout: 240 seconds]
p0sixpscl has joined #ruby
<shevy> jeaye see how modest he is?
roolo has joined #ruby
timonv has joined #ruby
alem0lars has quit [Quit: Going AFK...]
oo_ has joined #ruby
elizarpepino1 has joined #ruby
p0sixpscl has quit [Ping timeout: 252 seconds]
alem0lars has joined #ruby
blackmes1 has joined #ruby
tmcgoo has quit [Ping timeout: 240 seconds]
ta has joined #ruby
Audace has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Read error: No route to host]
Takle has joined #ruby
arup_r has quit [Remote host closed the connection]
james2395 has joined #ruby
virtualize has quit []
klaut has quit [Remote host closed the connection]
marr has joined #ruby
razum2um has joined #ruby
relix has quit [Read error: Connection reset by peer]
redlegion has quit [Ping timeout: 255 seconds]
relix has joined #ruby
gr33n7007h has quit [Quit: Leaving]
einarj has joined #ruby
adelcampo has joined #ruby
gr33n7007h has joined #ruby
_whitelogger has joined #ruby
arup_r has joined #ruby
tesuji has joined #ruby
elizarpepino2 has joined #ruby
elizarpepino1 has quit [Ping timeout: 240 seconds]
echevemaster has quit [Quit: Leaving]
BadQuanta has quit [Ping timeout: 240 seconds]
gr33n7007h has quit [Quit: leaving]
qba73 has joined #ruby
lukebyrne has joined #ruby
lyuzashi has quit [Ping timeout: 272 seconds]
d33d33 has quit [Quit: -]
workmad3 has joined #ruby
rdark has joined #ruby
LadyRainicorn has joined #ruby
banister has joined #ruby
relix has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has joined #ruby
relix has joined #ruby
lukebyrne has quit [Ping timeout: 264 seconds]
elizarpepino2 has quit [Ping timeout: 264 seconds]
atmosx has quit [Ping timeout: 264 seconds]
SilkFox_ has joined #ruby
mehlah has joined #ruby
atmosx has joined #ruby
<agent_white> I am a C guru
toretore has quit [Read error: Connection reset by peer]
<agent_white> Noone understands my C code, and neither do I.
mg^ has quit [Read error: Connection reset by peer]
dc_ has quit [Read error: Connection reset by peer]
toretore has joined #ruby
mg^ has joined #ruby
dc_ has joined #ruby
mijicd has quit [Remote host closed the connection]
thomasxie has quit [Read error: Connection reset by peer]
Alina-malina has quit [Read error: Connection reset by peer]
arup_r has quit [Remote host closed the connection]
diegovio1a has quit [Quit: WeeChat 0.4.3]
Alina-malina has joined #ruby
SilkFox_ has quit [Ping timeout: 248 seconds]
System123 has joined #ruby
agent_white has quit [Quit: goodnight]
timonv has quit [Remote host closed the connection]
davedev24_ has quit [Remote host closed the connection]
davedev24_ has joined #ruby
redlegion has joined #ruby
Takle has quit [Remote host closed the connection]
jheg has joined #ruby
mr-foobar has joined #ruby
x1337807x has joined #ruby
davedev24_ has quit [Ping timeout: 255 seconds]
x1337807x has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
x1337807x has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
klaut has joined #ruby
Takle has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
blueOxigen has joined #ruby
klaut has quit [Remote host closed the connection]
<jheg> morning
<jheg> (location dependent)
<jheg> what is the different between .each and .map
<jheg> ?
<sevenseacat> map returns the value from the block
naw has quit [Ping timeout: 260 seconds]
<Robbo`> each is just a loop and only a loop
x1337807x has quit [Ping timeout: 245 seconds]
gr33n7007h has joined #ruby
<workmad3> >> [1,2,3].each{|i| i + 1}
<eval-in__> workmad3 => [1, 2, 3] (https://eval.in/170790)
<workmad3> >> [1,2,3].map{|i| i + 1}
<eval-in__> workmad3 => [2, 3, 4] (https://eval.in/170791)
<workmad3> ^^ there's your difference ;)
arup_r has joined #ruby
<sevenseacat> yep
bluOxigen has quit [Ping timeout: 255 seconds]
klaut has joined #ruby
<jheg> great stuff got it thanks guys
<workmad3> jheg: irb is a great place to try stuff out btw
bergelmir has joined #ruby
<bergelmir> i've created my own gem, executed 'rake build' and 'rake install', i can find the gem by running 'gem list | grep <gemname>' but if i run irb and require it, i get "cannot load such file"
lukebyrne has joined #ruby
sk87 has joined #ruby
timonv has joined #ruby
razum2um has quit [Quit: Leaving.]
razum2um has joined #ruby
Joulse has quit [Quit: Joulse]
<jheg> workmad3: thanks
lukebyrne has quit [Read error: Connection timed out]
sevenseacat has quit [Quit: Leaving.]
Atttwww has quit [Ping timeout: 240 seconds]
lukebyrne has joined #ruby
<bergelmir> are there any restrictions on how to name a gem?
<bergelmir> "dummy" works fine, "dummy_foo" works fine, "dummy-foo" doesn't work
<bergelmir> but if i check 'gem list' there are gems with dashes
grieg_ has joined #ruby
dgaffney has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
dgaffney has joined #ruby
n3byt3 has joined #ruby
<Hanmac> hm no, "dummy-foo" should work too ... except that you might need to escape it in the bash ... thats why it should be avoided
ferr has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 264 seconds]
Guest9344 has joined #ruby
Hanmac1 has joined #ruby
Joulse has joined #ruby
james2395 has quit [Ping timeout: 240 seconds]
Hanmac has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: chrishough]
oo_ has quit [Remote host closed the connection]
<bergelmir> Hanmac1: require "rspec-expectations" works fine
oo_ has joined #ruby
jottr has joined #ruby
<bergelmir> i can't find the difference :(
<shevy> bergelmir this depends on the name of the file
<Hanmac1> wait a minute ... do you have problems with gem install or require of the gem?
<shevy> require 'foo-bar' should look for a file called foo-bar.rb
<shevy> require 'foobar' should look for foobar.rb
<shevy> require 'foo/bar' should look for foo/bar.rb
carraroj has joined #ruby
<bergelmir> ahahahahaha
<bergelmir> require "dummy/foo" :)
<shevy> bergelmir in the case of gem authors, if they were not lazy bastards, they will tell you how to use their gem
<shevy> good!
* Hanmac1 Hanmac
Hanmac1 is now known as Hanmac
lkba has joined #ruby
* Hanmac is now known as "YetAnotherLazyBastard"
oo_ has quit [Remote host closed the connection]
<shevy> yeah
<bergelmir> thanks guys!
oo_ has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spider-mario has joined #ruby
funktor has joined #ruby
karupa is now known as zz_karupa
<Cork> is it possible to replace a module method by overriding it with a module redefinition?
<Hanmac> yes
<Cork> i'm trying to do module Shellwords; def shelljoin(array); end; end
<Cork> but the original method is still used
alem0lars has quit [Quit: Going AFK...]
<Cork> what am i missing?
<DefV> maybe Shellwords module isn't loaded yet when you define your module?
<Cork> no i do it in irb
<Cork> and i run and actually use Shellwords before
<Cork> opps run == require
ARaza has joined #ruby
professor_soap has joined #ruby
<professor_soap> hello
<shevy> Cork how do you call it?
ARaza has left #ruby [#ruby]
<Cork> shevy: Shellwords.joinarray(["123", "456"])
<Cork> opps
<shevy> ok that is a class method
<shevy> so how can it work
<Cork> shevy: Shellwords.shelljoin(["123", "456"])
<shevy> still a class method
workmad3 has quit [Read error: Connection reset by peer]
<Cork> class??
<shevy> btw can you use a better pastie?
<shevy> yeah
<Cork> but it isn't instanciated
workmad3 has joined #ruby
<shevy> you don't have to instantiate a class method
<Cork> hmm
<Cork> so that would be the class << self; end part in the source file?
<shevy> a Module is a class
<shevy> >> Module.class
<eval-in__> shevy => Class (https://eval.in/170792)
<shevy> that would be one way yeah
<shevy> another way is:
<shevy> module Foo
<Cork> ah
<shevy> def self.bla
<Cork> so how would one fix that?
<shevy> I am not sure what you need; but in your example, if you use Shellwords.shelljoin
<shevy> then of course you need to define it
<shevy> and you defined an instance method, not a class method
<shevy> def shelljoin
<shevy> this is what you did :)
<shevy> def self.shelljoin
LadyRainicorn has quit [Quit: Bye]
<shevy> somehow I want to append ' screw' to your nick hahaha
yfeldblum has quit [Remote host closed the connection]
krz has quit [Read error: Connection reset by peer]
mrmargolis has joined #ruby
nfk has joined #ruby
<professor_soap> I have been unable to install nokogiri 1.6.1 for two days now on osx 10.9.3, does anyone know how to fix that f*ing thing??
<professor_soap> I have tried a couple of things
<Cork> shevy: changing Shellwords.shelljoin(["123", "456"]) to Shellwords::shelljoin(["123", "456"]) doesn't help
<Cork> so it really doesn't look like you can override module methods...
<professor_soap> installing --with-system-libraries
<professor_soap> uninstalling libxml2 and nokogiri and reinstalling, doesnt work either
<Hanmac> professor_soap: ruby version?
<professor_soap> Hanmac: ruby 2.0.0p451
<Hanmac> "--with-system-libraries" might not what you wanted, you should not use it, what is the error you got while installing nokogiri?
mrmargolis has quit [Ping timeout: 245 seconds]
wildroman2 has quit [Remote host closed the connection]
<professor_soap> Hanmac: let me paste in the whole message in pastebin..
<shevy> Cork ok and where did you get :: from?
mengu__ has joined #ruby
<Cork> shevy: to use the module method
<shevy> that still does not explain from where you got it from
<Cork> i don't follow
<shevy> did you read that somewhere on the intarwebz?
<shevy> because I sure enough did not mention ::
<shevy> yet you present it as a solution, and then state that one can not override module methods
hgl has joined #ruby
<shevy> >> module Foo; def self.test; puts 'hi from test'; end; end; def Foo.test; puts 'oki'; end; Foo.test
<eval-in__> shevy => oki ... (https://eval.in/170796)
bergelmir has quit [Quit: leaving]
<shevy> looks as if overriding works just fine
<professor_soap> Hanmac: http://pastebin.com/wKHM5N2W
goganchic has joined #ruby
<shevy> Shellwords.shelljoin and Shellwords::shelljoin are synonymous in this context, so you basically did the same thing
chipotle has joined #ruby
<Cork> sigh.. ok, i'll hove to skip this it looks like
<shevy> as written before, if you wish to modify it, you need to tap into the scope of the module
<shevy> :: is more annoying because it is one extra character; the . dot notation is much nicer, shorter and cleaner
maoko has joined #ruby
BalkM has joined #ruby
<Hanmac> professor_soap: just as i said, do it without " --use-system-libraries"
<shevy> you need :: usually only for top level scoping, like inside of a class, ::Foo
<maoko> Could someone please remind me how can I embed console code within ruby script?
<shevy> Hanmac hey... I just found out that if I hit alt-gr + ., I can do this: ?????
<shevy> awesome, isn't it Hanmac? :D
anarang has joined #ruby
<maoko> Something like %[bundle exec rake assets:clobber] with array-like syntax
<shevy> maoko what is "console code"?
<shevy> I think you forgot w
<shevy> >> %w( bundle exec rake assets:clobber )
<eval-in__> shevy => ["bundle", "exec", "rake", "assets:clobber"] (https://eval.in/170798)
chipotle has quit [Client Quit]
<Hanmac> shevy: you mean like that? "…"
<shevy> I can't read that Hanmac
<maoko> %w will make a word array
<Hanmac> shevy: hm than maybe your encoding in the irc client is wrong
<shevy> maoko you mean you need system() ?
chipotle has joined #ruby
<shevy> Hanmac what encoding is that?
<professor_soap> Hanmac: I did this, do you know how to 'undo' it? bundle config build.nokogiri --use-system-libraries
<Hanmac> shevy in my irc client i use UTF-8 as encoding
<maoko> shevy, yep, that's it. Thanks!
<workmad3> maoko: or were you thinking of %x?
<shevy> %x{ uname }
AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
chipotle has quit [Client Quit]
<Hanmac> professor_soap: never used bundler but what happen if you do: "bundle config build.nokogiri" ?
<professor_soap> Hanmac: Settings for `build.nokogiri` in order of priority. The top value will be used
adelcampo has quit [Quit: adelcampo]
chipotle has joined #ruby
<maoko> workmad3, aren't they both execute the code? except for the system uses additional quotes
<professor_soap> Hanmac: Set for the current user (/Users/professor_soap/.bundle/config): "--use-system-libraries"
eka has joined #ruby
AlexRussia has joined #ruby
lnoskhen has quit [Quit: Page closed]
mengu__ has quit [Ping timeout: 248 seconds]
<workmad3> maoko: %x returns stdout as the return result
chipotle has quit [Client Quit]
<maoko> workamd3, aha, that's what I needed then. :)
<shevy> maoko you could also use ``
<workmad3> maoko: but you also can't use the multi-param form of passing arguments with system()
chipotle has joined #ruby
<maoko> thanks for pointing
Joulse has quit [Ping timeout: 245 seconds]
chipotle has quit [Client Quit]
chipotle has joined #ruby
Joulse has joined #ruby
mengu has joined #ruby
Takle has quit [Remote host closed the connection]
chipotle has quit [Client Quit]
AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
jottr has quit [Ping timeout: 264 seconds]
chipotle has joined #ruby
AlexRussia has joined #ruby
jack_rabbit has quit [Ping timeout: 264 seconds]
Hanmac1 has joined #ruby
chipotle has quit [Client Quit]
wildroman2 has joined #ruby
chipotle has joined #ruby
Joulse has quit [Quit: Joulse]
Hanmac has quit [Ping timeout: 240 seconds]
Joulse has joined #ruby
lukebyrne has quit []
chipotle has quit [Client Quit]
chipotle has joined #ruby
* shevy points at Hanmac1
chipotle has quit [Client Quit]
<shevy> beat him!
mg^ has quit [Read error: Connection reset by peer]
Hanmac1 is now known as Hanmac
Guest9344 has quit [Ping timeout: 256 seconds]
chipotle has joined #ruby
tvw has joined #ruby
chipotle has quit [Client Quit]
yfeldblum has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
malditogeek has joined #ruby
Takle has joined #ruby
davedev24_ has joined #ruby
mijicd has joined #ruby
charlied3 has joined #ruby
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
Xeago has joined #ruby
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
JohnBat26 has joined #ruby
Joulse has quit [Quit: Joulse]
tokik has quit [Ping timeout: 256 seconds]
roolo has quit [Quit: Leaving...]
hgl has quit [Quit: Computer has gone to sleep.]
kalusn has quit [Read error: Connection reset by peer]
kalusn has joined #ruby
funktor has quit [Remote host closed the connection]
zarul has joined #ruby
machete has quit [Ping timeout: 264 seconds]
manlio has joined #ruby
funktor has joined #ruby
ferr has joined #ruby
AndChat| has joined #ruby
Neomex has joined #ruby
lkba has quit [Ping timeout: 248 seconds]
SilkFox_ has joined #ruby
<arup_r> Can this code be written in more Ruby way ? https://gist.github.com/aruprakshit/f3001d92d940098a77a5
einarj has quit []
machete has joined #ruby
professor_soap has quit []
maximski has joined #ruby
hgl has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
jeaye has left #ruby ["WeeChat 0.4.3"]
Takle has quit [Remote host closed the connection]
relix has quit [Remote host closed the connection]
relix has joined #ruby
phinfonet has joined #ruby
ferr has quit [Ping timeout: 240 seconds]
hgl has quit [Remote host closed the connection]
Takle has joined #ruby
hgl has joined #ruby
tvw has quit [Remote host closed the connection]
Soda has joined #ruby
<wasamasa> >> %w(a b a d t r).count('a')
<eval-in__> wasamasa => 2 (https://eval.in/170829)
<banister> arup_r don't monkeypatch Array?
<wasamasa> how many internets do I win?
seppuku has joined #ruby
<shevy> wasamasa one and a half
codecop has joined #ruby
<arup_r> wasamasa: That's cool. But I want to delete it too.. So you meant, first count, then delete and then return the count .. right ?
roolo has joined #ruby
<wasamasa> arup_r: well, say that beforehand
goganchic has quit []
<wasamasa> arup_r: also, sounds like you're mixing up your concerns
<wasamasa> arup_r: give us moar context what this thing is supposed to do as it sounds like a xy-problem
<shevy> I am concerned about you wasamasa
<arup_r> wasamasa: bad method name I see...
<arup_r> The method will delete the items and return the count of items deleted.. That's it
krz has joined #ruby
<AlexRussia> shevy: how i could understand, how to generate documentation without diaspora sources? :)
jhass|off is now known as jhass
<AlexRussia> jhass: good morning
<shevy> AlexRussia wat?
schaary|afk is now known as schaary
<ddv> you have to read the documentation on how to generate the documentation
codecop_ has joined #ruby
<shevy> lol
funktor has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
codecop has quit [Quit: Išeinu]
codecop_ has quit [Read error: Connection reset by peer]
codecop has joined #ruby
<arup_r> wasamasa: Am I clear now ?
jottr has joined #ruby
<wasamasa> arup_r: I just wanted to know why you'd want to have both at the same time
gruz0[russia] has joined #ruby
<arup_r> Well. I have a need, where I want remove some unwanted things from the collection. But If I use Array#delete it will delete, but not give me the count at the same time. Thus I thought I will write my own , which will delete first and give me the count. But the code I
<arup_r> wrote, not looks good
<apeiros> >> ary = %w[a b a d t r]; before = ary.size; ary.delete('a'); before - ary.size
<eval-in__> apeiros => 2 (https://eval.in/170847)
<apeiros> arup_r: ^
<apeiros> no tap
phoo1234567 has joined #ruby
<apeiros> just plain statements.
<apeiros> there are no internets to win for single line methods
agjacome has quit [Quit: leaving]
<arup_r> apeiros: thanks for the reply... I thought, I will not create local vars... So :-)
<AlexRussia> LOL
phoo1234567 has quit [Max SendQ exceeded]
<AlexRussia> ddv: i have not docs how to generate fucking docs
<apeiros> you created one in the tap too
<AlexRussia> ddv: i guess, i need generate docs about generate docs :D
phoo1234567 has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
timfoo has left #ruby ["WeeChat 0.3.8"]
St_Marx has quit [Ping timeout: 264 seconds]
<shevy> ..
<shevy> who needs docs anyway
<shevy> aside from pipework
Guest80982 has joined #ruby
n3byt3_ has joined #ruby
n3byt3 has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
JasmeetQA1 has joined #ruby
Soda has quit [Remote host closed the connection]
FLeiXiuS has quit [Read error: Connection reset by peer]
claymore has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
JasmeetQA has quit [Ping timeout: 264 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krz has quit [Quit: WeeChat 0.4.3]
bubbajones has quit [Ping timeout: 240 seconds]
n3byt3_ has quit [Quit: Leaving]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
User458764 has joined #ruby
banister has joined #ruby
johnrover has joined #ruby
<jheg> is there a method that returns each letter of a string in an array?
<jheg> I'm sure there is but can't find it in the array class
<arup_r> >> "abcsss".chars
<arup_r> jheg: see above
<jheg> perfect thank you!
wildroman2 has quit [Remote host closed the connection]
Takle has joined #ruby
<arup_r> >> 'abcb'.scan(/./)
<eval-in__> arup_r => ["a", "b", "c", "b"] (https://eval.in/170853)
<arup_r> jheg: see another one.
diegoviola has quit [Quit: WeeChat 0.4.3]
<apeiros> jheg: really *letter*? not character?
<apeiros> (not all characters are letters)
St_Marx has joined #ruby
yfeldblum has joined #ruby
<jheg> yeah I need to take the letters of all the strings in an array sort them and then compare against other strings to see if they contain the same letters
codecop has quit [Quit: Išeinu]
<apeiros> I'm not sure you understood my question :)
<arup_r> if only letter use
codecop has joined #ruby
<apeiros> the above methods give you all *characters*. if you only need *letters*, you need a different solution.
wildroman2 has joined #ruby
<arup_r> >> 'ae1234'.scan(/a-z/i)
<eval-in__> arup_r => [] (https://eval.in/170854)
<apeiros> the solution then depends on what you consider to be a letter (e.g. different scripts)
Takle has quit [Remote host closed the connection]
<jheg> oh right well I guess I do need chars in case of hyphens and the like
<arup_r> sorry 'ae1234'.scan(/[a-z]/i)
codecop has quit [Client Quit]
codecop has joined #ruby
<apeiros> e.g. scan(/\p{L}/) uses unicode's definition of letter
anarang has quit [Ping timeout: 264 seconds]
foo-bar- has joined #ruby
jonathan_alban has joined #ruby
yfeldblum has quit [Ping timeout: 248 seconds]
codecop has quit [Client Quit]
claymore has joined #ruby
phoo1234567 has quit [Quit: Leaving]
codecop has joined #ruby
User458764 is now known as User458764_NotHe
<AlexRussia> jhass: how to generate docs for diaspora code?
<Hanmac> my letters does have character ;P
foo-bar- has quit [Ping timeout: 240 seconds]
SilkFox_ has joined #ruby
<shevy> my letters got attitude
workmad3 has quit [Ping timeout: 256 seconds]
<arup_r> If I write class Foo; include Enumerable; end This code include all methods from Enumerable. But suppose I want to include #all?, #any? .. What's the way to include only required methods ?
ldnunes has joined #ruby
moritzs has joined #ruby
<arup_r> But not all
alem0lars has joined #ruby
phoo1234567 has joined #ruby
phoo1234567 has quit [Read error: Connection reset by peer]
User458764_NotHe has quit [Ping timeout: 255 seconds]
Neomex has quit [Quit: Leaving]
Shidash has joined #ruby
<shevy> not sure this is possible
<shevy> include works in an all-or-nothing manner as far as I know
<shevy> would be interesting to support :: notation ... like: include Enumerable::all?
phoo1234567 has joined #ruby
<shevy> arup_r did you suggest this to ruby-core yet?
SilkFox_ has quit [Ping timeout: 240 seconds]
phoo1234567 has quit [Max SendQ exceeded]
<arup_r> No.. This is the need I just faced.. I think I should first ask in Ruby-talk.. Does it sound good ?
phoo1234567 has joined #ruby
bubbajones has joined #ruby
<shevy> dunno
<shevy> let's ask apeiros
<arup_r> apeiros: What's your opinion ?
<apeiros> on?
JasmeetQA1 has quit [Read error: Connection reset by peer]
<apeiros> ah, partial include
<arup_r> Yes.. :-)
<apeiros> you can do it hackishly via instance_method + define_method. but IMO if you have .each, just include all of Enumerable. what's the point of not including all?
iceyec has joined #ruby
<shevy> oh
<shevy> that name already exists? partial include?
iceyec has quit [Client Quit]
<arup_r> apeiros: problem is I don't want my class object to have idea about all methods, but I also want to take advantage of #all? and #any? but not the others..
<arup_r> shevy: No this is his understanding our point..
<apeiros> arup_r: that does not answer the question *why* you don't want it to have all the methods
iceyec has joined #ruby
<apeiros> you only repeated *that* you don't want it
sk87 has joined #ruby
ndrei has joined #ruby
alem0lars has quit [Quit: Going AFK...]
<jhass> arup_r: ^ I can't think of a reason to do partial includes. If you have the need for your own modules to do that, the should be more than one module.
<arup_r> Right now I am thinking to implement a class... which needs only those 2 methods.. But I am not aware of.. if the object sometimes calls those other, what would happen. To answer you I need to think broadly
Noob101 has quit [Ping timeout: 246 seconds]
<jhass> it's tricky anyway, how'd you know which other methods of the module the method you want depends on?
<apeiros> the point is: *you* only need those 2 methods
<apeiros> and if you include Enumerable, users of the class expect all methods. and *you* can't possibly anticipate all of *their* use cases.
<apeiros> and if you don't use the other methods - well, they don't hurt being around unused.
<apeiros> it doesn't have any impact on performance or memory requirement
<arup_r> An Account class, how will be benefited having reduce method.. It is out of my usecase.. :-)
<apeiros> and it doesn't have any impact on documentation either, because you don't document inherited methods
anaeem1_ has quit [Remote host closed the connection]
klaut has quit [Remote host closed the connection]
moritzs has quit [Ping timeout: 240 seconds]
<apeiros> arup_r: you are saying you can anticipate *everybodys* use-case for all times?
<apeiros> you must be a prophet
decoponio has joined #ruby
<apeiros> anyway, you asked me for my opinion. I've given my opinion along with the rationales.
maximski has quit []
iamjarvo has joined #ruby
<arup_r> Okay.. In Rails they do the same with method :resources It takes an argument like :only, :except
<jhass> that's not even remotely comparable
<arup_r> apeiros: Thanks
sailias has joined #ruby
alem0lars has joined #ruby
<apeiros> a) rails is not a role model for good code in *so* many areas
<apeiros> b) that case might differ wildly from yours
<apeiros> (note to a) - there are places where rails code very good, or sometimes even excellent)
<arup_r> apeiros: Correct.
anarang has joined #ruby
System123 has quit [Remote host closed the connection]
Takle has joined #ruby
<arup_r> The things is suppose If I allow sort_by from Enumerable, I need to implement #<=>, for #grep I need to implement #=== .... But this all I don't need.. That's why I thought I will put restrictions... May be thinking is vague.. But That's how I thought.
AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
deric_skibotn has quit [Ping timeout: 260 seconds]
<Hanmac> arup_r: for Enumerable you need each on the Container, but <=> on the elements, (just think that the elements need to be Comparable)
pewp3w has joined #ruby
<apeiros> arup_r: nonsense
AlexRussia has joined #ruby
<arup_r> Me? I accept..
<pewp3w> hi all getting this error when i run the brew command
<pewp3w> anyone can help fix?
oo_ has quit [Remote host closed the connection]
<Mon_Ouie> And not all collections to have sortable element. Also for sort_by, only what the block the user passes to sort_by needs <=>.
<Mon_Ouie> Same for grep, only the object the user passes to it needs #===
oo_ has joined #ruby
kalusn has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<apeiros> s/the block/the value returned by the block/
<apeiros> also, #=== is inherited from Object.
<apeiros> i.e. no need to implement it
arya_ has joined #ruby
s3r3n1ty has joined #ruby
sk87 has joined #ruby
mconnolly has joined #ruby
jhass is now known as jhass|off
<arup_r> apeiros: My class Inherits BasicObject. But any way.. I would include all... If anything breaks latter I will think of to handle ...
<Mon_Ouie> Why are you subclassing BasicObject?
<apeiros> pewp3w: I don't think this is #brew ;-)
arya_ has quit [Client Quit]
<pewp3w> apeiros: hahha yeh thought i try my luck since there is no one in that chat
<apeiros> pewp3w: let me guess, when windows breaks you go to ##c or ##cpp? :p
<arup_r> Mon_Ouie: There are lots of things involved. Leave it. Nonsense design I am doing.
maximski has joined #ruby
<pewp3w> well my prob semi related to ruby. the ruby on my osx is not loading
<DefV> pewpew
DaniG2k has joined #ruby
bubbajones has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby
workmad3 has joined #ruby
Takle has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
vinian has left #ruby [#ruby]
gilesw has quit [Ping timeout: 240 seconds]
gilesw has joined #ruby
wildroman2 has quit [Remote host closed the connection]
mr_foobar_baz has joined #ruby
bubbajones has joined #ruby
<apeiros> btw. pewp3w - you should choose plaintext on codepad. trying to execute a ruby exception as C code…
<jheg> once I've used .chars.sort to split a string into a new variable is there a way to collapse the letters back into a single string again?
<apeiros> jheg: see Array#join
<jheg> for example "Hello".chars.sort => ["e", "H", "l", "l", "o"]
Takle has joined #ruby
<pewp3w> there you go
<jheg> ah thats what keeps tripping me up looking in the wrong place in docs ha
<jheg> thanks apeiros
diegoviola has joined #ruby
<Hanmac> jheg: #join ?
peret has joined #ruby
<apeiros> pwepwe: my nick isn't aperios
<apeiros> jheg: yw
wildroman2 has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
<pewp3w> lol chill apeiros: just a typo
carraroj has quit [Ping timeout: 240 seconds]
<apeiros> pewp3w: you know, telling me to chill pisses me off.
AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
<pewp3w> apeiros: alright thanks for the fyi
Joulse has joined #ruby
AlexRussia has joined #ruby
kalusn has joined #ruby
<banister> apeiros how do i show the last N migrations i ran?
<apeiros> banister: no idea. iirc there's a table 'schema_migrations' or somesuch. might contain the date.
<banister> darn no rake task?
malditogeek has quit [Quit: Leaving.]
banister is now known as banisterfiend
<apeiros> as said, no idea. try `rake -T db:migrate`
spyderman4g63 has joined #ruby
<apeiros> fun, our app already has >300 migrations
<apeiros> and schema_migrations was correct. but there's no date in it.
claymore has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
<Pro|_> is there a simple way to keep ruby array size as x? first in first, or should i write my own method for that?
lewix has joined #ruby
SilkFox_ has joined #ruby
sputnik1_ has joined #ruby
claymore has joined #ruby
nateberkopec has joined #ruby
<nemesit|znc> can anyone tell me how the request for this should look like? https://gist.github.com/nemesit/d2646db16d21d50b8665 i don't have much ruby experience^^
DaniG2k has quit [Quit: leaving]
hamakn has quit [Remote host closed the connection]
edmellum has joined #ruby
bennrock has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
bennrock has left #ruby [#ruby]
malditogeek has joined #ruby
johnrover has quit [Quit: johnrover]
sputnik1_ has quit [Ping timeout: 240 seconds]
SilkFox_ has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
DivineEntity has quit [Quit: Lost terminal]
gruz0[russia] has quit [Quit: Leaving]
nateberkopec has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
nateberkopec has joined #ruby
foo-bar- has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
tjr9898 has joined #ruby
arrubin has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
puppeh has joined #ruby
britneywright has joined #ruby
<puppeh> any ideas why I can't install the patched 1.9.3 (falcon patch) with ruby-install on my Mavericks? https://gist.github.com/burke/1688857#comment-1260293
havenwood has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 248 seconds]
chipotle has joined #ruby
mattstratton has joined #ruby
arrubin has quit [Client Quit]
<Hanmac> puppeh: try to call autoconf again
<Hanmac> and then configure
johnrover has joined #ruby
Takle has quit [Remote host closed the connection]
pewp3w has quit [Quit: pewp3w]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<puppeh> Hanmac: where/how to do this exactly?
<puppeh> I'm just running something like $ ruby-install -p https://raw.github.com/gist/4136373/falcon-gc.diff ruby 1.9.3-p429
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<puppeh> actually: $ ruby-install -p https://github.com/funny-falcon/ruby/compare/p385...p385_falcon_gc.diff ruby 1.9.3-p385
dblessing has joined #ruby
<puppeh> I have autoconf and automake install via homebrew (latest versions)
banister has joined #ruby
charlied3 has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
bmurt has joined #ruby
nateberkopec has joined #ruby
Takle has joined #ruby
AlexRussia has joined #ruby
lewix has quit [Remote host closed the connection]
<Hanmac> maybe the patch does not work for your version?? ...
jerius has joined #ruby
blackmes1 has quit [Ping timeout: 248 seconds]
anaeem1 has joined #ruby
acconrad has joined #ruby
CorpusCallosum has quit [Ping timeout: 264 seconds]
mconnolly has quit [Quit: mconnolly]
<puppeh> for my autoconf version?
<puppeh> or ruby version?
mikesplain has joined #ruby
chipotle has quit [Quit: cya]
ringarin has joined #ruby
iceyec has quit [Quit: iceyec]
ferr has joined #ruby
blackmes1 has joined #ruby
<jheg> I'm struggling to understand the logic of a piece of code ... https://github.com/jheg/courseproject/blob/master/hashes.ex.mk2.rb
<jheg> on line 81
snath has quit [Ping timeout: 255 seconds]
<jheg> basically the code is sorting letters from strings in an array and then putting the into a hash k,v pair based on if the anagram of its letters already exists in the hash
mikespla_ has joined #ruby
<jheg> I get the first part. Its testing if the key already exists and if so append the word to the value of that key which is an array
pasties has joined #ruby
exgf has joined #ruby
<jheg> but I don't understand how the new key is created if it doesn't which is what line 81 and 82 does
iceyec has joined #ruby
mikesplain has quit [Ping timeout: 255 seconds]
<jheg> I'm struggling to see how result[key] creates a new key just from result[key]
alem0lars has quit [Quit: Going AFK...]
Doppp has joined #ruby
<DefV> jheg: what?
<jheg> ha
<DefV> >> result = {}; result['f'] = ['foo']; result
<eval-in__> DefV => {"f"=>["foo"]} (https://eval.in/170908)
<workmad3> jheg: err... because that's what Hash#[]= is *for*? :)
<DefV> but the code is bad
<DefV> it should just be
<DefV> result = Hash.new {|h,k| h[k] = []}; words.each {|word| key = ...; result[key] << word }
<jheg> I understand that result[key] = value adds value to the key (i think)
<DefV> allthough that probably blows your mind
<jheg> but I didn't understand how the key is created from that
<DefV> you're approaching this wrong
<DefV> result[key] sets the value of key to whatever you assign it
<DefV> but the code assigns it an array with 1 vallue
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<jheg> I get the second part
<DefV> and the if checks "if there's already an array in there, just append this word to that array"
<DefV> if there's not
<jheg> and I get that
<DefV> just create an array with 1 word
<DefV> and assign it to that key in the hash
lxsameer has quit [Quit: Leaving]
<jheg> thats the bit thats confusing me
<DefV> I can see that
<jheg> 'and assign it to that key in the hash
<jheg> '
<jheg> ha
britneywright has quit [Ping timeout: 240 seconds]
johnrover has quit [Quit: johnrover]
<DefV> do you know what a hash is?
<DefV> it's key-value association
<DefV> a = {'mykey' => 'yourvalue'}
<workmad3> jheg: 'some_hash["foo"]' <-- that accesses the key "foo" in the hash... 'some_hash["foo"] = "bar"' <-- that assigns the value "bar" to the key "foo" inside the hash (and inserts the key into the hash if it's not already present)
<DefV> a['mykey'] => 'yourvalue'
puppeh has left #ruby ["Leaving..."]
<DefV> a['newkey'] => 'value'
<jheg> ah thats helped workmad3
<jheg> it was the assigning that was confusing me
<jheg> so if I am referencing a key that doesn't exist it will auto assign it to the hash?
<workmad3> jheg: drop that 'auto assign' and change it to just 'assign'
<jheg> yep ok
mbwe has quit [Quit: WeeChat 0.4.2]
<workmad3> jheg: and yes... and if you assign to a key that *does* exist, you'll overwrite the value there
johnrover has joined #ruby
qwyeth has joined #ruby
<workmad3> jheg: e.g. 'some_hash["foo"] = "fizz"; some_hash["foo"] = "buzz"' <-- that will end up with {"foo" => "buzz"} in the hash
<jheg> yep makes sense phew
sdwrage has joined #ruby
alem0lars has joined #ruby
<jheg> DefV: result = Hash.new {|h,k| h[k] = []}; words.each {|word| key = ...; result[key] << word }
<jheg> blew my mind :)
<jheg> thanks for explaining it though
johnrover has quit [Ping timeout: 240 seconds]
Morkel has quit [Quit: Morkel]
Snarkz has joined #ruby
mrmargolis has joined #ruby
codecop has quit [Quit: Išeinu]
tmtwd has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zly has quit [Changing host]
zly has joined #ruby
jheg has quit [Quit: jheg]
Zenigor has joined #ruby
oo_ has quit [Remote host closed the connection]
K3dare has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby
K3dare has joined #ruby
johnrover has joined #ruby
iceyec has quit [Quit: iceyec]
ta has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 264 seconds]
ta has joined #ruby
diegoviola has quit [Read error: Connection reset by peer]
mattstratton has quit [Remote host closed the connection]
diegoviola has joined #ruby
northfurr has joined #ruby
Channel6 has joined #ruby
britneywright has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
CorpusCallosum has joined #ruby
ta has quit [Ping timeout: 245 seconds]
mijicd has quit [Remote host closed the connection]
johnrover has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
tokik has joined #ruby
adantj has joined #ruby
ffranz has joined #ruby
djcp has joined #ruby
djcp has left #ruby [#ruby]
klaut has joined #ruby
tmtwd has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Remote host closed the connection]
vifino has joined #ruby
apeiros has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
apeiros has joined #ruby
alexju has joined #ruby
manlio has quit [Remote host closed the connection]
lectrick has quit [Changing host]
lectrick has joined #ruby
apeiros has quit [Remote host closed the connection]
mark_locklear has joined #ruby
apeiros has joined #ruby
iceyec has joined #ruby
hamakn has joined #ruby
sailias has joined #ruby
<lectrick> Anyone else still annoyed by the lack of consistency in "bang" methods vs. not? I think it's serious enough that all mutating or outside-state-effecting methods should be bang methods... which is why I originally whipped this up: https://gist.github.com/pmarreck/7919142
addisaden has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
tmtwd has joined #ruby
manlio has joined #ruby
mikespla_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mon_Ouie> That's never what it was meant to be. foo! indicates that foo is a more "dangerous" variant of foo
<Mon_Ouie> It makes no sense if there is no foo in the first place
alexju has quit [Remote host closed the connection]
kith_ has joined #ruby
ylluminate_ has joined #ruby
hakunin_ has joined #ruby
timonv_ has joined #ruby
CingulateCortex has joined #ruby
voodoofish4301 has joined #ruby
<Mon_Ouie> I don't think it helps make things more readable anyway, it just helps to use the same method name for the mutating and non-mutating variants of the same method
james2395 has joined #ruby
tjr9898 has joined #ruby
patronus_ has joined #ruby
uxp_ has joined #ruby
SilverKey has joined #ruby
addisaden has quit [Client Quit]
musl_ has joined #ruby
mattp_ has joined #ruby
freerobby has quit [Quit: Leaving.]
alexju has joined #ruby
<lectrick> Mon_Ouie: And that's what I think is wrong. There is in fact an entire class of bugs that is based on mutability issues. This is exactly why certain programmers are fleeing to the functional, immutable languages right now.
BombAw has joined #ruby
SJrX has joined #ruby
wmoxam_ has joined #ruby
_688as_ has joined #ruby
saltsa has joined #ruby
okinomo_ has joined #ruby
nwkr has joined #ruby
Snickers_ has joined #ruby
ejnahc_ has joined #ruby
<lectrick> Mon_Ouie: Have you seen Rich Hickey's talk about how mutable variables introduce a hidden "time argument" (since the value of that location in memory is dependent on the time you read it) which is what blows up concurrency?
n88 has joined #ruby
drager_ has joined #ruby
Elfix_113 has joined #ruby
kloeri_ has joined #ruby
Hamled has joined #ruby
zaargy_ has joined #ruby
Ankhers has joined #ruby
jpic has joined #ruby
d3scala has joined #ruby
micah` has joined #ruby
connor_g1odwolf has joined #ruby
jamooo_ has joined #ruby
ixx has joined #ruby
LiquidInsect has joined #ruby
haroldwu_ has joined #ruby
Darkchaos2 has joined #ruby
<lectrick> http://www.infoq.com/presentations/Are-We-There-Yet-Rich-Hickey It's from 2009, but this talk he did was literally mind-blowing for me.
ixx is now known as Guest86015
<Mon_Ouie> That's not the point, it's not like the problem is people don't realize Hash#clear modifies the hash…
<wasamasa> lectrick: so, clear! and clear do the same thing
<wasamasa> lectrick: bravo
<wasamasa> lectrick: moar aliases
matti_ has joined #ruby
<lectrick> Well, when the verb is named correctly, of course. In my case there would be no "clear" just a "clear!"
Takle has quit [Remote host closed the connection]
CingulateCortex has quit [Ping timeout: 240 seconds]
<lectrick> I'd rather know that I'm modifying the receiver right away
Derander_ has joined #ruby
<wasamasa> !g rouge clojure
iceyec_ has joined #ruby
<lectrick> You won't really understand why until you've seen a bug where an argument is passed to a method and then that method performs a mutating operation on that argument which modifies it back in the sender
<lectrick> (a mutating operation with a method that doesn't end in a bang, I mean)
funktor has joined #ruby
pipecloud has joined #ruby
pipecloud has joined #ruby
pipecloud has quit [Changing host]
Kilo`byte has joined #ruby
mocchi_ has joined #ruby
moshee has joined #ruby
<wasamasa> no, it's just inconsistent if you don't remove the methods without a bang that still mutate
teejar_ has joined #ruby
aep_ has joined #ruby
Rickmast- has joined #ruby
wiscasss has joined #ruby
mgorbach_ has joined #ruby
Kov|kasumi has joined #ruby
quantsini_ has joined #ruby
ViperChi- has joined #ruby
<lectrick> helpa: the github repo was taken down? lol
JZTech102 has joined #ruby
Sigma00_ has joined #ruby
kayloos has joined #ruby
Prawnzy_ has joined #ruby
NuckingFuts has joined #ruby
<lectrick> wasamasa: I agree
C0deMaver1ck_ has joined #ruby
<wasamasa> which you can't do unless you start a new language
blackjid has joined #ruby
iamjarvo has joined #ruby
<wasamasa> or something dsl-like so it's just block-specific
<olivier_bK> how to add newline in yaml file ?
<lectrick> wasamasa: But then you'd break all your gem code. So you could use refinements. I think. And start arguments over it lol
<wasamasa> lectrick: anyways, I can't find this clojure-like for ruby anymore
iceyec has quit [*.net *.split]
CorpusCallosum has quit [*.net *.split]
ffranz has quit [*.net *.split]
foo-bar- has quit [*.net *.split]
kalusn has quit [*.net *.split]
peret has quit [*.net *.split]
spyderman4g63 has quit [*.net *.split]
Shidash has quit [*.net *.split]
s3r3n1ty has quit [*.net *.split]
Guest80982 has quit [*.net *.split]
nfk has quit [*.net *.split]
mengu has quit [*.net *.split]
Xeago has quit [*.net *.split]
tesuji has quit [*.net *.split]
timonv has quit [*.net *.split]
dumdedum has quit [*.net *.split]
NinoScript has quit [*.net *.split]
jprovazn has quit [*.net *.split]
thecoolguy has quit [*.net *.split]
mocchi has quit [*.net *.split]
crazymykl has quit [*.net *.split]
_maes_ has quit [*.net *.split]
d4nk has quit [*.net *.split]
maloik has quit [*.net *.split]
aganov has quit [*.net *.split]
fold has quit [*.net *.split]
preller has quit [*.net *.split]
zorak has quit [*.net *.split]
narcan has quit [*.net *.split]
kiri has quit [*.net *.split]
ylluminate has quit [*.net *.split]
VooDooNOFX has quit [*.net *.split]
duper has quit [*.net *.split]
wldcordeiro has quit [*.net *.split]
yalue has quit [*.net *.split]
FDj has quit [*.net *.split]
haroldwu has quit [*.net *.split]
pipework has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
drager has quit [*.net *.split]
casheew has quit [*.net *.split]
nw has quit [*.net *.split]
mattp__ has quit [*.net *.split]
Derander has quit [*.net *.split]
uxp has quit [*.net *.split]
callumacrae has quit [*.net *.split]
kaihara has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
Nowaker has quit [*.net *.split]
musl has quit [*.net *.split]
iamayam has quit [*.net *.split]
malcolmva has quit [*.net *.split]
aep has quit [*.net *.split]
jle` has quit [*.net *.split]
zastern has quit [*.net *.split]
Mongey has quit [*.net *.split]
wmoxam has quit [*.net *.split]
toordog has quit [*.net *.split]
towbes has quit [*.net *.split]
zaiste_ has quit [*.net *.split]
flori_ has quit [*.net *.split]
quantsini has quit [*.net *.split]
saltsa_ has quit [*.net *.split]
cescalante has quit [*.net *.split]
kloeri has quit [*.net *.split]
SirFunk has quit [*.net *.split]
matti has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
droptone_ has quit [*.net *.split]
jpic_ has quit [*.net *.split]
mjuszcza1 has quit [*.net *.split]
n88_ has quit [*.net *.split]
LiquidIn1ect has quit [*.net *.split]
guardian has quit [*.net *.split]
daed has quit [*.net *.split]
_blackjid has quit [*.net *.split]
Jelco has quit [*.net *.split]
JZTech101 has quit [*.net *.split]
Guest58962 has quit [*.net *.split]
frankS2 has quit [*.net *.split]
hackeron has quit [*.net *.split]
chridal has quit [*.net *.split]
wiscas has quit [*.net *.split]
ponyfleisch has quit [*.net *.split]
catepillar has quit [*.net *.split]
WormDrink has quit [*.net *.split]
danshultz has quit [*.net *.split]
micah`_ has quit [*.net *.split]
kith has quit [*.net *.split]
kaichanvong has quit [*.net *.split]
nuck has quit [*.net *.split]
Kovensky has quit [*.net *.split]
devdazed has quit [*.net *.split]
fwaokda has quit [*.net *.split]
descala has quit [*.net *.split]
papercode has quit [*.net *.split]
ejnahc has quit [*.net *.split]
faulkner has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
kies has quit [*.net *.split]
Drakevr has quit [*.net *.split]
michael_imac has quit [*.net *.split]
Kilobyte|StupidC has quit [*.net *.split]
MindfulMonk has quit [*.net *.split]
elico has quit [*.net *.split]
hakunin has quit [*.net *.split]
b1nd has quit [*.net *.split]
redondos has quit [*.net *.split]
mosez_ has quit [*.net *.split]
certainty has quit [*.net *.split]
ozzloy has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
SJr has quit [*.net *.split]
Elfix has quit [*.net *.split]
GGMethos has quit [*.net *.split]
qpok has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
ahuman has quit [*.net *.split]
s_e has quit [*.net *.split]
nopc0de has quit [*.net *.split]
TheNumb has quit [*.net *.split]
ltd has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
germanstudent has quit [*.net *.split]
zaargy has quit [*.net *.split]
crazysim has quit [*.net *.split]
mgorbach has quit [*.net *.split]
AlyssaDaemon has quit [*.net *.split]
Hamled|Erp has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
davidcelis has quit [*.net *.split]
cout has quit [*.net *.split]
Muz has quit [*.net *.split]
davzie has quit [*.net *.split]
patronus has quit [*.net *.split]
edgarjs_afk has quit [*.net *.split]
sweeper_ has quit [*.net *.split]
billy_ran_away has quit [*.net *.split]
okinomo has quit [*.net *.split]
Edelwin has quit [*.net *.split]
gkra has quit [*.net *.split]
headius has quit [*.net *.split]
ji0n has quit [*.net *.split]
Snickers has quit [*.net *.split]
three18ti has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
sivoais has quit [*.net *.split]
Rickmasta has quit [*.net *.split]
mosheee has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
ged has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
BombStrike has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
ViperChief has quit [*.net *.split]
aboudreault has quit [*.net *.split]
Scient has quit [*.net *.split]
Guest49103 has quit [*.net *.split]
shaman42 has quit [*.net *.split]
voodoofish430 has quit [*.net *.split]
terlar has quit [*.net *.split]
pgmcgee has quit [*.net *.split]
ehlovader has quit [*.net *.split]
_688as has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
nomadic has quit [*.net *.split]
sawtooth has quit [*.net *.split]
everett has quit [*.net *.split]
Prawnzy has quit [*.net *.split]
Davedo has quit [*.net *.split]
Kabaka has quit [*.net *.split]
jamooo has quit [*.net *.split]
spacebug has quit [*.net *.split]
verto has quit [*.net *.split]
teejar has quit [*.net *.split]
pipecloud is now known as pipework
BombAw is now known as BombStrike
matti_ is now known as matti
iceyec_ is now known as iceyec
mgorbach_ is now known as mgorbach
Kov|kasumi is now known as Kovensky
<olivier_bK> ohhh
ViperChi- is now known as ViperChief
ViperChief has quit [Changing host]
ViperChief has joined #ruby
wiscasss is now known as wiscas
Sigma00_ is now known as Sigma00
SJrX is now known as SJr
Guest85414______ has joined #ruby
mconnolly has joined #ruby
C0deMaver1ck_ is now known as C0deMaver1ck
<olivier_bK> how to add newline in yaml file ?
JZTech102 is now known as JZTech101
Mongey has joined #ruby
<wasamasa> only this: https://github.com/vic/rouge
<wasamasa> which is pretty outdated
JZTech101 has quit [Changing host]
JZTech101 has joined #ruby
<wasamasa> because its author apparently decided to boycott github
<lectrick> it's ok, funny tho
<wasamasa> so the latest version is found at: https://git.k6.io/old/rouge/tree/master
<wasamasa> whatever
workmad3 has quit [Ping timeout: 256 seconds]
callumacrae has joined #ruby
snath has joined #ruby
Takle has joined #ruby
tjr9898 has quit [Remote host closed the connection]
freerobby has joined #ruby
mikespla_ has joined #ruby
Kabaka has joined #ruby
workmad3 has joined #ruby
casheew has joined #ruby
<arup_r> I how to select files which has word *test* but not start with *test* or end with *test* ?
<arup_r> Dir[spec/**/test*_spec.rb] is giving me only files having start with *test*
Xeago has joined #ruby
spyderman4g63 has joined #ruby
<arup_r> But I want which has word *test* in middle any where
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
terlar has joined #ruby
tjr9898 has joined #ruby
Mission-Critical has joined #ruby
tjr9898 has quit [Remote host closed the connection]
mjuszczak has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
failshell has joined #ruby
WormDrink has joined #ruby
kiri has joined #ruby
d4nk has joined #ruby
elico has joined #ruby
jprovazn has joined #ruby
foo-bar- has joined #ruby
djcp has joined #ruby
kloeri_ is now known as kloeri
spacebug has joined #ruby
kies has joined #ruby
FDj has joined #ruby
ged has joined #ruby
avelldiroll has joined #ruby
malcolmva has joined #ruby
Channel6 has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
thecoolguy has joined #ruby
tesuji has joined #ruby
toordog has joined #ruby
webguynow has joined #ruby
treehug88 has joined #ruby
duper has joined #ruby
crazymykl has joined #ruby
nfk has joined #ruby
andrewjanssen has joined #ruby
michael_mbp has joined #ruby
fold has joined #ruby
ahuman has joined #ruby
spastorino has joined #ruby
Muz has joined #ruby
droptone has joined #ruby
jheg has joined #ruby
shaman42 has joined #ruby
mosez has joined #ruby
gkra has joined #ruby
jamespw has joined #ruby
ltd has joined #ruby
sweeper has joined #ruby
starkhalo has joined #ruby
ponyfleisch has joined #ruby
qpok has joined #ruby
cout has joined #ruby
sawtooth has joined #ruby
NinoScript has joined #ruby
sivoais has joined #ruby
certainty has joined #ruby
flori has joined #ruby
frankS2 has joined #ruby
hackeron has joined #ruby
maloik has joined #ruby
daed has joined #ruby
AlyssaDaemon has joined #ruby
CingulateCortex has joined #ruby
krz has joined #ruby
alem0lars has quit [Quit: Going AFK...]
tjr9898 has joined #ruby
edgarjs_afk has joined #ruby
ehlovader has joined #ruby
mr_rich101 has joined #ruby
mr_foobar_baz has quit [Remote host closed the connection]
headius has joined #ruby
edgarjs_afk is now known as edgarjs
chridal has joined #ruby
kevind has joined #ruby
Scient has joined #ruby
iamayam has joined #ruby
guardian has joined #ruby
faulkner has joined #ruby
davidcelis has joined #ruby
danshultz has joined #ruby
SirFunk has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
ji0n has joined #ruby
xMopxShell has joined #ruby
cephalostrum has joined #ruby
crazysim has joined #ruby
billy_ran_away has joined #ruby
nomadic has joined #ruby
SirCmpwn has joined #ruby
MindfulMonk has joined #ruby
northfurr has quit [Quit: northfurr]
nopc0de has joined #ruby
pgmcgee has joined #ruby
cescalante has joined #ruby
mhenrixon has joined #ruby
wookiehangover has joined #ruby
germanstudent has joined #ruby
enebo has joined #ruby
s_e has joined #ruby
kaichanvong has joined #ruby
mr_foobar_baz has joined #ruby
three18ti has joined #ruby
yeltzooo has joined #ruby
preller has joined #ruby
preller has joined #ruby
xaxisx has joined #ruby
Sp4rKy has joined #ruby
Drakevr has joined #ruby
Drakevr has joined #ruby
Drakevr has quit [Changing host]
ozzloy has joined #ruby
TheNumb has joined #ruby
joonty has quit [Ping timeout: 240 seconds]
vyorkin has quit [Ping timeout: 240 seconds]
<olivier_bK> how can i add newline in yaml file ?
b1nd has joined #ruby
Jelco has joined #ruby
Jelco has joined #ruby
aboudreault has joined #ruby
<apeiros> olivier_bK: you hit the return/enter key?
hakunin_ is now known as hakunin
stytown has joined #ruby
stytown has quit [Client Quit]
chuckc_ has joined #ruby
<olivier_bK> ?
verto has joined #ruby
<olivier_bK> what i do is that
phutchins has joined #ruby
Davedo has joined #ruby
puppeh has joined #ruby
coderhs has quit [Ping timeout: 256 seconds]
Mission-Critical is now known as MissionCritical
zkay11 has joined #ruby
kith_ has quit [Read error: Connection reset by peer]
hgl has quit [Quit: Computer has gone to sleep.]
ringarin has quit [Read error: Connection reset by peer]
ringaroses2 has joined #ruby
havenwood has joined #ruby
zorak has joined #ruby
davzie has joined #ruby
TheMoonMaster has joined #ruby
kith has joined #ruby
fabrice31 has quit [Remote host closed the connection]
St_Marx has quit [Quit: Ex-Chat]
blackmes1 has joined #ruby
zaiste_ has joined #ruby
nw has joined #ruby
aganov has joined #ruby
yalue has joined #ruby
yfeldblum has joined #ruby
dumdedum has joined #ruby
GGMethos has joined #ruby
redondos has joined #ruby
arup_r has quit []
everett has joined #ruby
zastern has joined #ruby
freerobby has quit [Quit: Leaving.]
fwaokda has joined #ruby
jle` has joined #ruby
CingulateCortex has quit [Ping timeout: 240 seconds]
papercode has joined #ruby
djcp has left #ruby ["WeeChat 0.4.3"]
dblessing_ has joined #ruby
jespada has joined #ruby
ffranz has joined #ruby
Shidash has joined #ruby
yfeldblu_ has joined #ruby
baweaver has joined #ruby
tokik has quit [Ping timeout: 240 seconds]
chuckc_ has quit [Quit: chuckc_]
<apeiros> olivier_bK: aaaand your problem is?
towbes has joined #ruby
catepillar has joined #ruby
<Cork> apeiros: he wants to pretty_print the dump
<olivier_bK> in my file i have
<olivier_bK> ---lign 1
<olivier_bK> and i want to add
dblessing has quit [Ping timeout: 240 seconds]
dblessing_ is now known as dblessing
<olivier_bK> --lign 2
mark_locklear has quit [Remote host closed the connection]
Doppp has quit [Ping timeout: 264 seconds]
baweaver has quit [Read error: Connection reset by peer]
maoko has quit [Read error: Connection reset by peer]
<olivier_bK> i try to add a new string in my file whithout erase the string in the file
orionstein_away is now known as orionstein
moritzs has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
<apeiros> somehow I don't believe that you have "---lign 1". at least it doesn't match the pasted code at all.
elikem has joined #ruby
<apeiros> anyway, if you want additional data in your yaml file, you modify the datastructure which you then dump
Shidash has quit [Read error: Connection reset by peer]
<olivier_bK> what i have exactly is --- ! 'tit-2014-07-09-16.yml
<apeiros> >> ["line 1", "line "].to_yaml
<eval-in__> apeiros => undefined method `to_yaml' for ["line 1", "line "]:Array (NoMethodError) ... (https://eval.in/170920)
puppeh has left #ruby ["Leaving..."]
eka has joined #ruby
<apeiros> gah, and require 'yaml' of course won't work…
<olivier_bK> ok
<apeiros> Cork: doesn't sound like pretty printing to me
<Cork> apeiros: ya, the comment directly after contradicted that quite a bit
CorpusCallosum has joined #ruby
<apeiros> rule no. 17 in irc: people don't have a f'ing clue how to phrase problems
yfeldblu_ has quit [Ping timeout: 255 seconds]
<apeiros> (yes, that includes me)
ringaroses2 has quit [Read error: Connection reset by peer]
Audace has joined #ruby
Audace has quit [Max SendQ exceeded]
xaxisx has quit [Quit: xaxisx]
CingulateCortex has joined #ruby
joonty has joined #ruby
<apeiros> olivier_bK: note for the future: when nobody replies to your question, don't just repeat it. chance is your original question was not understandable.
havenwood has quit [Remote host closed the connection]
jonathanwallace has quit [Quit: ZNC - http://znc.in]
<Hanmac> >> require "yaml"
CorpusCallosum has quit [Ping timeout: 240 seconds]
fabrice31 has joined #ruby
havenwood has joined #ruby
jobewan has joined #ruby
tobago has quit [Remote host closed the connection]
Doppp has joined #ruby
moritzs has quit [Ping timeout: 255 seconds]
devdazed has joined #ruby
LadyRainicorn has joined #ruby
aganov has quit [Quit: Leaving]
alem0lars has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
rayners has joined #ruby
machete has quit [Ping timeout: 256 seconds]
jeaye has joined #ruby
machete has joined #ruby
arya_ has joined #ruby
xaxisx has joined #ruby
Rainicorn has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
<olivier_bK> apeiros, i know but a lot of people have been disconnected
<olivier_bK> apeiros, :)
<olivier_bK> thanks i've solved my problem
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mikesplain has joined #ruby
machete has quit [Ping timeout: 240 seconds]
Takle has quit [Remote host closed the connection]
mengu has quit []
tmtwd has quit [Ping timeout: 240 seconds]
machete has joined #ruby
saarinen has joined #ruby
mikespla_ has quit [Ping timeout: 264 seconds]
pskrz has quit [Ping timeout: 240 seconds]
whowantstolivefo has joined #ruby
nfk has quit [Ping timeout: 240 seconds]
tesuji has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
Doppp has quit [Ping timeout: 256 seconds]
awkwords has joined #ruby
blueOxigen has quit [Read error: Connection reset by peer]
Alina-malina has quit [Read error: Connection reset by peer]
peret has joined #ruby
coderhs has joined #ruby
Alina-malina has joined #ruby
tmtwd has joined #ruby
Takle has quit [Remote host closed the connection]
Shidash has joined #ruby
maoko has joined #ruby
DivineEntity has joined #ruby
bluOxigen has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
thesheff17 has joined #ruby
ylluminate_ has quit [Quit: Lingo - http://www.lingoirc.com]
amargherio has joined #ruby
ylluminate has joined #ruby
iceyec has quit [Quit: iceyec]
JohnBat26 has quit [Ping timeout: 240 seconds]
elikem has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
mikesplain has joined #ruby
jeaye has quit [Quit: movie]
Jam___ has joined #ruby
drawingthesun has quit [Read error: Connection reset by peer]
Rainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
BadQuanta has joined #ruby
tjr9898 has quit [Remote host closed the connection]
ascarter has joined #ruby
iceyec has joined #ruby
elikem has joined #ruby
tjr9898 has joined #ruby
jheg has quit [Quit: jheg]
pskrz has joined #ruby
ringarin has joined #ruby
saarinen has quit [Quit: saarinen]
iceden has quit [Ping timeout: 240 seconds]
sunya7a has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
Rainicorn has joined #ruby
arup_r has joined #ruby
iceden has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Read error: No route to host]
iamjarvo has joined #ruby
bal has quit [Quit: bal]
jprovazn has quit [Quit: Leaving]
sunya7a has quit [Ping timeout: 256 seconds]
einarj has joined #ruby
oo_ has joined #ruby
mark_locklear has joined #ruby
xaxisx has quit [Quit: xaxisx]
mmorsi has quit [Quit: Leaving.]
bluOxigen has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
xaxisx has joined #ruby
xaxisx has quit [Client Quit]
alem0lars has quit [Quit: alem0lars]
xaxisx has joined #ruby
lmickh has joined #ruby
anarang has quit [Quit: Leaving]
Rainicorn has quit [Ping timeout: 240 seconds]
CingulateCortex has quit [Ping timeout: 240 seconds]
adelcampo has joined #ruby
yfeldblum has joined #ruby
LadyRainicorn has joined #ruby
adelcampo is now known as doritostains
jottr_ has joined #ruby
Xeago has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
maestrojed has joined #ruby
<arup_r> Hi..
<arup_r> Can you tell me how to select all files from a directory, which has a word like 'test' but not the stating or ending word ?
yfeldblum has quit [Ping timeout: 272 seconds]
jgt has joined #ruby
<pontiki> arup_r: do you know regular expressions?
fabrice31 has quit [Remote host closed the connection]
<elaptics> arup_r: take a look at Dir.glob
yfeldblum has joined #ruby
ringarin has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
ndrei has quit [Ping timeout: 245 seconds]
Hien has quit [Quit: leaving]
Hien has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 240 seconds]
ndrei has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
geggam has joined #ruby
maoko has quit [Ping timeout: 240 seconds]
dideler has joined #ruby
CaptainJet has joined #ruby
wildroman2 has quit [Remote host closed the connection]
dik_dak has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
ferr has quit [Ping timeout: 256 seconds]
BadQuanta has quit [Remote host closed the connection]
charliesome has joined #ruby
Heskie has quit []
fumk has quit [Remote host closed the connection]
stytown has joined #ruby
iceyec has quit [Quit: iceyec]
Takle has quit [Remote host closed the connection]
alex88 has quit [Quit: Leaving...]
macaveli_ has joined #ruby
stytown has quit [Client Quit]
<macaveli_> Can anyone explain the differences please global variables are prefixed with $, instance variables are prefixed with @, and class variables are prefixed with @@
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
tmtwd has quit [Ping timeout: 245 seconds]
fumk has joined #ruby
wildroman2 has joined #ruby
ta has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<pontiki> global variables are available everywhere, instance variables are available anywhere in the instance, class variables are availalbe to all instances of a class
Jam___ has quit [Ping timeout: 256 seconds]
wildroman2 has joined #ruby
relix has joined #ruby
rippa has joined #ruby
<macaveli_> So in ruby on rails env @@ is used in enheritated classes?
<macaveli_> @ is used in views for example
<pontiki> you've just introduced yet another concept of inheritance
aspires has joined #ruby
<macaveli_> What do you mean pontiki?
iamjarvo has quit [Read error: Connection reset by peer]
codeurge has joined #ruby
ntz has joined #ruby
<ntz> hello
<pontiki> the first question you asked had nothing to do with inheritance
iamjarvo has joined #ruby
oo_ has quit [Remote host closed the connection]
frellnet has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
<macaveli_> I dont really understand what you mean with instances of a class :)
<Mon_Ouie> Foo.new is an instance of Foo
iamjarvo has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
<Mon_Ouie> "foo" is an instance of String
maximski has quit []
tmtwd has joined #ruby
iamjarvo has joined #ruby
<ntz> can anybody tell me howto tell to File::Stat to not transform what it reads and print it raw like this: # perl -e 'my $file = "/etc/hosts"; print join(";", $file, stat("$file")), "\n"'
yfeldblum has joined #ruby
<ntz> /etc/hosts;64770;1051332;33188;1;0;0;0;1004;1404856621;1404461482;1404461482;4096;8
<Mon_Ouie> There's a relation with subclasses and the answer to your question though, since class variables are the same for a class, its intances, its subclasses, and all instances of those
<ntz> File::Stat in this (retarded) language just does postprocessing of times, modes, ....
coderhs has quit [Ping timeout: 240 seconds]
<pontiki> leave if you don't like ruby, it's as simple as that
anaeem1 has quit [Remote host closed the connection]
<pontiki> otherwise, stop being abusive
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
jfran_ has joined #ruby
jfran has joined #ruby
anaeem1_ has joined #ruby
<macaveli_> In my head i have a class with method index and create if I create variable $foo i can use it in the whole class correct?
<ntz> pontiki: okay, please don't take it personally, it's irc and my opinion about ruby is not meant to harm you
dideler has quit [Ping timeout: 240 seconds]
<Mon_Ouie> Global variables are the same throughout the *entire* program
<pontiki> ntz: don't take it personally, but i have no wish to help you
|337 has joined #ruby
<macaveli_> Alright so variables in a class only should be defined witgmhmmm
<macaveli_> With @
moted has joined #ruby
<ntz> pontiki: I'm fine with that because I don't believe that you could do it .. otherwise you did it already :D\
<macaveli_> Or @@
<|337> Does anyone fancy writing me an irc bot in ruby for free?
<pontiki> no, i was about to actually go find out
oo_ has joined #ruby
_maes_ has joined #ruby
dideler has joined #ruby
foo-bar- has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
<macaveli_> Anyone have an use case example of usage for $ @ @@ on gist?
mikepack has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
<macaveli_> Would appreciate that a lot!..
Wolland has joined #ruby
<pontiki> there already are a few out there, 337
anaeem1_ has quit [Ping timeout: 260 seconds]
roshanavand has joined #ruby
Snarkz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
darkxploit has joined #ruby
<macaveli_> Link please? Lol I develop ruby on rails all the time and I just use things without knowing what they mean i feel like such a cowboy lol
<Mon_Ouie> It depends on what you want still. If you want the variable to be the same for each instance of your class, you'd use @foo; if you wan the variable to be the same for every instance (etc.) you'd use @@foo.
Wolland has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
jmbrown412 has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<Mon_Ouie> Another thing (probably more commonly used than class variables) is an instance variable when self is a Class (that way it won't be shared with subclasses)
<ntz> anyway, thanks for help, tyme for plan B
<ntz> **time
|337 has left #ruby [#ruby]
Takle has joined #ruby
banister has joined #ruby
dideler has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
Zenigor has joined #ruby
<pontiki> macaveli_: the pickaxe book explains this pretty well
jottr_ has quit [Ping timeout: 245 seconds]
ntz has left #ruby [#ruby]
ixti has joined #ruby
omosoj has joined #ruby
Wolland has quit [Remote host closed the connection]
Kricir has joined #ruby
macaveli_ has quit [Ping timeout: 246 seconds]
Wolland has joined #ruby
mr_foobar_baz has quit [Quit: WeeChat 0.4.3]
tungd has joined #ruby
Joulse has quit [Ping timeout: 245 seconds]
Wolland has quit [Read error: Connection reset by peer]
Joulse has joined #ruby
<havenwood> macaveli_: Practically, use instance variables.
Wolland has joined #ruby
Takle has joined #ruby
coderhs has joined #ruby
VTLob has joined #ruby
wildroman2 has quit []
Takle has quit [Remote host closed the connection]
klaas has quit [Remote host closed the connection]
foo-bar- has joined #ruby
Takle has joined #ruby
Xeago has joined #ruby
kireevco has joined #ruby
dgaffney has quit [Remote host closed the connection]
dgaffney has joined #ruby
awc737 has joined #ruby
IceDragon has joined #ruby
awc737 has quit [Max SendQ exceeded]
ta has quit [Ping timeout: 255 seconds]
User458764 has joined #ruby
User458764 is now known as User458764_NotHe
brunops has joined #ruby
<arup_r> pontiki: I know Regex. But Dir::[] don't support all Regex.. as far as I know...
Joulse has quit [Quit: Joulse]
Shidash has quit [Quit: Leaving.]
maestrojed has quit [Quit: Computer has gone to sleep.]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dgaffney has quit [Ping timeout: 240 seconds]
User458764_NotHe is now known as User458764
maestrojed has joined #ruby
User458764 is now known as User458764_NotHe
foo-bar- has quit [Read error: Connection reset by peer]
<pontiki> arup_r: that's correct, it uses the typical shell glob chars, so you'd have to use .select with a regexp to get the ones you actually want
Xeago has quit [Ping timeout: 245 seconds]
foo-bar- has joined #ruby
User458764_NotHe is now known as User458764
AndChat| has quit [Ping timeout: 240 seconds]
dn0v has joined #ruby
oo_ has quit [Remote host closed the connection]
theharshest has joined #ruby
<arup_r> pontiki: Yes.. I was confirming the same, if it can be done using Dir::[] directly or not.. So it is not.
User458764 is now known as User458764_NotHe
<pontiki> arup_r: as soon as i say "no", someone will come up with a way to do it :)
theharshest has quit [Client Quit]
sdelmore has quit [Quit: Leaving.]
j_mcnally has joined #ruby
NinoScript has quit [Quit: NinoScript]
theharshest has joined #ruby
doritostains has quit [Quit: doritostains]
mconnolly has quit [Ping timeout: 240 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
theharshest has quit [Read error: Connection reset by peer]
malditogeek has quit [Quit: Leaving.]
NinoScript has joined #ruby
<shevy> they wouldn't dare to
xaxisx has quit [Quit: xaxisx]
theharshest has joined #ruby
bricker`work has joined #ruby
Zenigor has quit [Remote host closed the connection]
theharshest has quit [Read error: Connection reset by peer]
ta has joined #ruby
mike24 has quit [Remote host closed the connection]
theharshest has joined #ruby
stytown has joined #ruby
<arup_r> pontiki: Hehehe :-) Really it is not possible :-(
<arup_r> ?
<pontiki> not that i'm aware of
aspires has quit []
sandelius has joined #ruby
theharshest has quit [Read error: Connection reset by peer]
theharshest has joined #ruby
lkba has joined #ruby
malditogeek has joined #ruby
adelcampo has joined #ruby
aspires has joined #ruby
iceyec has joined #ruby
banjara has joined #ruby
senayar has quit [Remote host closed the connection]
User458764_NotHe has quit [Ping timeout: 260 seconds]
stytown has quit [Quit: stytown]
senayar has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
senayar has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 260 seconds]
replay has joined #ruby
senayar has joined #ruby
acrussell has joined #ruby
Kricir has quit [Remote host closed the connection]
icarus_ has joined #ruby
stytown has joined #ruby
b00stfr3ak has joined #ruby
timonv_ has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
kayloos has quit [Remote host closed the connection]
francisfish has joined #ruby
Robbo` has quit [Ping timeout: 252 seconds]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
ta has joined #ruby
wallerdev has joined #ruby
Soda has joined #ruby
blackmes1 has joined #ruby
ferr has joined #ruby
deric_skibotn has joined #ruby
baroquebobcat has joined #ruby
Robbo` has joined #ruby
francisfish has quit [Ping timeout: 240 seconds]
Zenigor has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
dgaffney has joined #ruby
<havenwood> arup_r: word = "not_at_end_or_start"; Dir["*?#{word}?*"]
<havenwood> arup_r: globbing
qba73 has quit []
User458764 has joined #ruby
mijicd has joined #ruby
tmtwd has quit [Ping timeout: 260 seconds]
jespada has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Ping timeout: 240 seconds]
jdj_dk has joined #ruby
ta has quit [Ping timeout: 264 seconds]
vyorkin has joined #ruby
Notte has joined #ruby
Audace has joined #ruby
edmellum has quit [Quit: Connection closed for inactivity]
sailias has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
icarus_ is now known as icarus
doev has quit [Quit: Verlassend]
elico has quit [Quit: Leaving.]
<pontiki> haha, see what i mean?
elico has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
jdj_dk has quit [Remote host closed the connection]
<pontiki> i had no idea ? would fence * like that
charlied3 has joined #ruby
tmtwd has joined #ruby
maletor has joined #ruby
Asher has quit [Quit: Leaving.]
wmoxam_ is now known as wmoxam
Notte has quit [Remote host closed the connection]
wmoxam has joined #ruby
wmoxam has quit [Changing host]
jarto has joined #ruby
Jam___ has joined #ruby
xaxisx has joined #ruby
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baroquebobcat has quit [Quit: baroquebobcat]
_688as_ has left #ruby [#ruby]
chipotle has joined #ruby
Alayde has joined #ruby
oo_ has quit [Ping timeout: 260 seconds]
maestrojed has joined #ruby
wallerdev has quit [Quit: wallerdev]
duper has quit [Ping timeout: 240 seconds]
sailias has joined #ruby
User458764 is now known as User458764_NotHe
ta has joined #ruby
yfeldblum has quit [Remote host closed the connection]
vyorkin has quit [Ping timeout: 260 seconds]
Soda has quit [Remote host closed the connection]
larsam has quit [Read error: Connection reset by peer]
edgarjs is now known as edgarjs_afk
edgarjs_afk is now known as edgarjs
klaut has quit [Remote host closed the connection]
duper has joined #ruby
chipotle has quit [Ping timeout: 255 seconds]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
User458764_NotHe has quit [Ping timeout: 272 seconds]
<ceej> afternoon, when using Gem::Specification.find_by_name is there anyway to specify the source? it looks like the only way is to add the source first then search
timonv has joined #ruby
timonv_ has joined #ruby
Hobogrammer has joined #ruby
ta has quit [Ping timeout: 256 seconds]
benzrf|offline is now known as benzrf
Soda has joined #ruby
senayar has quit [Ping timeout: 256 seconds]
funktor has quit [Remote host closed the connection]
Alayde has left #ruby ["WeeChat 0.3.8"]
timonv has quit [Ping timeout: 240 seconds]
xaxisx has quit [Quit: xaxisx]
baroquebobcat has joined #ruby
elikem has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
kaspergrubbe has joined #ruby
manlio has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
Takle has quit [Remote host closed the connection]
xaxisx has joined #ruby
tectonic has joined #ruby
rdark has quit [Quit: leaving]
vyorkin has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
jimbauds has joined #ruby
djbkd has joined #ruby
roolo has quit [Ping timeout: 240 seconds]
kireevco has joined #ruby
ta has joined #ruby
wallerdev has joined #ruby
elikem has joined #ruby
olivier_bK has quit [Ping timeout: 240 seconds]
yetanotherdave has joined #ruby
oo_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikespla_ has joined #ruby
terrellt has joined #ruby
kalusn has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
xaxisx has quit [Quit: xaxisx]
chipotle has joined #ruby
orionstein is now known as orionstein_away
oo_ has quit [Ping timeout: 256 seconds]
einarj has quit [Remote host closed the connection]
orionstein_away is now known as orionstein
Morkel has joined #ruby
dumdedum has quit [Ping timeout: 240 seconds]
nanoyak_ has joined #ruby
Snarkz has joined #ruby
iceyec has quit [Quit: iceyec]
djbkd has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
Takle has joined #ruby
iamjarvo has joined #ruby
ta has joined #ruby
mikecmpbll has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
mconnolly has joined #ruby
IceDragon has joined #ruby
Killerkeksdose_ has quit [Ping timeout: 240 seconds]
ta has quit [Read error: Connection reset by peer]
Killerkeksdose has joined #ruby
certainty has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Remote host closed the connection]
frankjpinto has joined #ruby
tungd has quit [Ping timeout: 256 seconds]
certainty has joined #ruby
elikem has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xaxisx has joined #ruby
vt102 has joined #ruby
tjr9898 has joined #ruby
joelroa has joined #ruby
iceyec has joined #ruby
djbkd has joined #ruby
Spami has joined #ruby
CodeLicker is now known as CodeLicker|artic
omosoj has quit [Ping timeout: 245 seconds]
elikem has joined #ruby
CodeLicker|artic is now known as Code|articling
xaxisx has quit [Client Quit]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
CorpusCallosum has joined #ruby
tectonic has quit [Quit: Textual IRC Client: www.textualapp.com]
AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
xaxisx has joined #ruby
Fire-Dragon-DoL has joined #ruby
echevemaster has joined #ruby
AlexRussia has joined #ruby
<wallerdev> good morning rubyists
<Pro|_> good evening rubyists
xaxisx has quit [Client Quit]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
ameech has joined #ruby
<ameech> Hello
testcore has joined #ruby
<arup_r> Ohh! Dir::[] why not you telling me, how can I use it.. :(
sheperson has joined #ruby
kirun has joined #ruby
havenwood has quit [Remote host closed the connection]
charliesome has joined #ruby
xaxisx has joined #ruby
ameech has quit []
havenwood has joined #ruby
elikem has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
omosoj has joined #ruby
timonv_ has quit [Remote host closed the connection]
St_Marx has joined #ruby
tmtwd has quit [Ping timeout: 240 seconds]
bradleyprice has quit [Remote host closed the connection]
<shevy> arup_r Dir['*.porn'].size
djbkd has quit [Remote host closed the connection]
<shevy> if you have to do something more complicated than that
<shevy> then you are doing it wrong
<shevy> :P
bradleyprice has joined #ruby
apeiros has joined #ruby
<arup_r> shevy: Lollz
krz has quit [Read error: Connection reset by peer]
CorpusCallosum has quit [Ping timeout: 240 seconds]
Phonetiki has joined #ruby
<Phonetiki> hey
dblessing has quit [Quit: dblessing]
bradleyprice has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
tmtwd has joined #ruby
djbkd has joined #ruby
mark_locklear has quit [Ping timeout: 240 seconds]
sdwrage_ has joined #ruby
sdwrage has quit [Ping timeout: 240 seconds]
Phonetiki has quit [Client Quit]
LadyRainicorn has quit [Quit: Bye]
jottr_ has quit [Ping timeout: 260 seconds]
<theharshest> how can I access a variable defined in a module, in class defined in the same module?
saarinen has quit [Quit: saarinen]
dangerousdave has quit [Read error: Connection reset by peer]
mg^ has joined #ruby
<havenwood> theharshest: like you would if the class wasn't in the module
dangerousdave has joined #ruby
<theharshest> havenwood: So I would define it as @var1 or var1? then use "attr_accessor :var1" and then use Module1.var1 in classes?
benzrf is now known as benzrf|offline
blackmes1 has quit [Ping timeout: 255 seconds]
sdwrage_ has quit [Client Quit]
User458764 has joined #ruby
moritzs has joined #ruby
malditogeek has quit [Quit: Leaving.]
mosoj has joined #ruby
xaxisx has quit [Quit: xaxisx]
jackneill has quit [Ping timeout: 255 seconds]
ascarter has joined #ruby
<havenwood> theharshest: Is that how you're currently using the module? An `attr_accessor` in `class << self`?
CorpusCallosum has joined #ruby
<theharshest> havenwood: Now I have changed it to setter and getter in module and then classes use them to get the variable value.
<havenwood> theharshest: Hard to say how it makes sense to put it together, but just being in a namespace doesn't give special access to instance variables.
francisfish has joined #ruby
<theharshest> havenwood: I see
nobitanobi has joined #ruby
chipotle has quit [Quit: cya]
<nobitanobi> morning
senayar has joined #ruby
omosoj has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
endash has joined #ruby
mconnolly has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
<havenwood> theharshest: make it flat and simple if you can :)
<havenwood> nobitanobi: g'morning
<nobitanobi> Any RESTful advocate in this room? :D
<arup_r> Did any one ever use module_function ? A bit confusing it is...
x1337807x has joined #ruby
<theharshest> havenwood: I'm absolutely new to ruby and making changes in an existing repo. Nothing is easy as of now :P
<havenwood> theharshest: aha!
User458764 is now known as User458764_NotHe
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 240 seconds]
kalusn has quit [Remote host closed the connection]
mconnolly has joined #ruby
xaxisx has joined #ruby
<havenwood> nobitanobi: lets just say we don't use SOAP :P
<apeiros> CORBA ftw!
elikem has joined #ruby
Takle has quit [Remote host closed the connection]
<nobitanobi> havenwood: great! I have been breaking my head over an architecture problem
jgt has quit []
workmad3 has quit [Ping timeout: 245 seconds]
jackneill has joined #ruby
Ankhers has joined #ruby
<nobitanobi> I have an application that let's user create Ads - They can do a POST to /ads with a JSON with ads attributes and I respond with a Created and the ID of this new resource. However, the actual building of the Ad is done in a background process (image processing, uploading of the image, etc...)
User458764_NotHe has quit [Ping timeout: 256 seconds]
CodeBunny has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<apeiros> time to explore forces based algorithm for my battleship AI :D
razum2um has quit [Quit: Leaving.]
djcp has joined #ruby
xaxisx has quit [Client Quit]
volk_ has joined #ruby
AlSquire has joined #ruby
<volk_> hey guys im wondering how to stub a variable in a module with rspec.
<volk_> i cant figure it out
baroquebobcat has joined #ruby
<nobitanobi> Now, we also have the concept of an Order. The user should be able to say, hey, I want to create an Order with these Ads. So, I let the user do a POST to /orders and within the JSON they can put all the Ads. So with a single POST, there are actually N+1 resources created (The order itself, and all the Ads)
djcp has left #ruby [#ruby]
User458764 has joined #ruby
jdj_dk has joined #ruby
jdj_dk has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
<CodeBunny> Does anyone know how to clear local storage in webdriver?
mconnolly has quit [Ping timeout: 240 seconds]
<nobitanobi> So, the problem comes with scaling this approach. Since a single POST request can create several resources (inserting into DB), it is slow when we grow that number (I am using Rails ActiveRecord) of contained Ads. I would like to know what is a RESTful way of dealing with this kind of problem.
<nobitanobi> CodeBunny: what do you mean by local storage/
treehug88 has quit [Ping timeout: 240 seconds]
<CodeBunny> local storage, as opposed to cookies
<nobitanobi> you don't mean HTML5 concept of local storage right?
xaxisx has joined #ruby
<CodeBunny> I do
vyorkin has quit [Ping timeout: 245 seconds]
sheperson has quit [Quit: sheperson]
<nobitanobi> window.localStorage.clear(); ?
iceyec has quit [Quit: iceyec]
DrCode has quit [Ping timeout: 264 seconds]
<CodeBunny> MM hmm.. yep.. google tells me so
vyorkin has joined #ruby
<CodeBunny> @browser.execute_script("localStorage.clear();")
<CodeBunny> and my specs all error
<nobitanobi> huhm
<nobitanobi> set the window
razum2um has joined #ruby
<nobitanobi> before localStorage
<nobitanobi> window.localStorage
iceyec has joined #ruby
<CodeBunny> do the what to the who?
<nobitanobi> @browser.execute_script("window.localStorage.clear();")
jaequery has joined #ruby
<CodeBunny> I'm using phantom.. there is no window
mconnolly has joined #ruby
<nobitanobi> Yes there is
<CodeBunny> nope. still EEE
<nobitanobi> hum
mark_locklear has joined #ruby
DrCode has joined #ruby
<CodeBunny> DOM Exception
<CodeBunny> caused my the JS
<arup_r> volk_: allow_any_instance_of(Model).stub(:method_name)
<nobitanobi> CodeBunny: I am not sure then. Try to run that from within the Phantom itself?
<volk_> arup_r: is the model a module
<arup_r> yes.. :p
garethrees has quit [Ping timeout: 240 seconds]
<volk_> thanks let me try this out
obs has quit [Quit: Konversation terminated!]
stytown has quit [Quit: stytown]
Notte has joined #ruby
heftig has joined #ruby
<arup_r> volk_ it should work.
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
gruz0[russia] has joined #ruby
User458764 is now known as User458764_NotHe
chrishough has joined #ruby
<havenwood> nobitanobi: so your resource is a collection of other resources, which is a valid resource.
<nobitanobi> yep havenwood
<havenwood> nobitanobi: i think more of a db question
<nobitanobi> is that right?
<nobitanobi> I thought that from a RESTful point of view, when you do a POST to a resource, you are just creating that resource
<nobitanobi> not 'sub resources'
<nobitanobi> because at the end of the day, with just one POST, you will be returning several Ids, for everything that has been created.
<havenwood> nobitanobi: well, you're in this case creating a resource that is a collection of other resources
<havenwood> which is sound
<nobitanobi> and that is 'correct'? From a restful point of view?
francisfish has quit [Remote host closed the connection]
<nobitanobi> I mean, you need to really optimize the DB to let it deal with creating N resources in just one single HTTP request
cearls has joined #ruby
<havenwood> nobitanobi: here, i'll quote the sacred thesis..
<nobitanobi> oh, I stopped at chapter 4
edmellum has joined #ruby
jheg has joined #ruby
djbkd has quit [Remote host closed the connection]
<havenwood> 'Any information that can be named can be a resource: a document or image, a temporal service (e.g. "today's weather in Los Angeles"), a collection of other resources, a non-virtual object (e.g. a person), and so on.'
<havenwood> nobitanobi: in your case, "a collection of other resources"
<nobitanobi> interesting
<nobitanobi> really interesting
User458764_NotHe has quit [Ping timeout: 256 seconds]
<nobitanobi> but that means that you need to deal with limits
<havenwood> whether you decide to persist it flatly or relationally is a db question
mikepack has quit [Remote host closed the connection]
kirun has quit [Ping timeout: 240 seconds]
<nobitanobi> havenwood: right
stytown has joined #ruby
sandelius has joined #ruby
codecop has joined #ruby
Aryasam has joined #ruby
<nobitanobi> havenwood: Right now I do an insert for each resource of that collection of resources, and obviously when there are 10.000 of those, the HTTP request takes more than 1 second.
<jheg> A few of you guys helped me out this afternoon. I'm writing a personal blog to chart for learning (for personal reference as much as anything) I plan to thank anyone that helps me along the way so workmad3 DefV apeiros if you have any sites you want me to link to lemme know - and thanks again :)
graydot has joined #ruby
afhammad has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
vyorkin has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
stytown has quit [Client Quit]
<havenwood> nobitanobi: hem, maybe consider a 202 response
<nobitanobi> havenwood: so an idea that I had is, let the User create an Order (without any Ads on it), and then they can create each Ad separately referencing that Order
afhammad has quit [Client Quit]
<nobitanobi> and then they can do a PUT to Order, telling it that the order is completed, so I know I can process it.
afhammad has joined #ruby
<havenwood> nobitanobi: i mean is the issue that the POST response is taking too long?
<nobitanobi> yes havenwood that is the issue
<nobitanobi> that an Order conceptually can have thousands of Ads
arya_ has quit [Ping timeout: 240 seconds]
anaeem1 has joined #ruby
<nobitanobi> basically they will give me the information from their adwords account
<nobitanobi> so they will get a campaign with all the ads and boom
<nobitanobi> havenwood: even now, I respond with a 202
<nobitanobi> because the Ads are created but not finished building
<havenwood> nobitanobi: ah
<nobitanobi> but I need to give them the Ids of those ads
<nobitanobi> so they can do the mapping of secuentally saying
<havenwood> nobitanobi: so respond with a 202 when the order is created, then create all those ads
<nobitanobi> ok, the first ad I posted was this, this is the ID I got back
<nobitanobi> but then how will the User know, which ad is which
ReBoRN- has joined #ruby
Heskie has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> oh, i see - the response contains the sub-resource ids?
<nobitanobi> yes
<nobitanobi> because there is no other way for them to map...
<nobitanobi> unless they provide an ID
<nobitanobi> it's a really complex problem from my point of view :/
x1337807x has joined #ruby
xaxisx has quit [Quit: xaxisx]
<theharshest> havenwood: I want to pass the configs from my project (i.e. config/application.yml) to a gem that is project is using. Some of the files in gem would be using that config. Can you suggest me something here?
ghr has joined #ruby
<havenwood> nobitanobi: what about those newly created resources is in the response? the name or id?
sigurding has joined #ruby
<havenwood> nobitanobi: trying to think how you might get just the minimum necessary for the 202? dunno if there's a rails specific solution.
pwk has joined #ruby
<nobitanobi> havenwood: Right now I return the representation of the Order, and nested each representation of the Ad (basically just the ID and the status)
stytown has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nobitanobi> havenwood: what do you mean by the minimum necessary?
<havenwood> and the ID and status are needed right away?
graydot has quit [Read error: Connection reset by peer]
gruz0[russia] has quit [Quit: Leaving]
<nobitanobi> havenwood: the ID yes.
<nobitanobi> I mean, that is the way they can identify the Ad
<nobitanobi> because they will say, ok, the first Ad I put in my Order has this ID
x1337807x has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
<nobitanobi> the second one has this other ID
<nobitanobi> so they know they can do /orders/:id/ad/:id
<havenwood> so i guess what i mean is is there any way to create the order and IDs then return the 202 before actually populating the IDs
<nobitanobi> and check whats going on
<havenwood> i really don't know, just spit balling
<nobitanobi> oh I see
Wolland has quit [Remote host closed the connection]
<nobitanobi> havenwood: that's interesting...
tmtwd has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
<nobitanobi> since I am using the DB ids as the representations of the resources, I return that as the IDs
<nobitanobi> they must be unique obviously.
adelcampo has quit [Quit: adelcampo]
zorak has quit [Ping timeout: 256 seconds]
kbarry has joined #ruby
<havenwood> theharshest: I don't follow. I got that you have a YAML file but not what you're trying to do with it.
<havenwood> and a gem is involved?
<arup_r> Guys.. This is working. Dir["#{__dir__}/*test*.rb"] - Dir["#{__dir__}/{test*,*test}.rb"] # can it be combined, so that in one iteration I can get the result
nfk has joined #ruby
<kbarry> Looking for a little ruby-foo. I am trying to put "-- --use-system-libraries" in the form is a hash
<kbarry> and apparenlt ' :-- :--use-system-libraries ' is incorrect
<havenwood> arup_r: yes, do you understand what `{test*,*test}` means?
<theharshest> havenwood: So I have a yaml file and I can access it CONFIGs in the project files, but now I want a gem (that is project is using) to use these CONFIGs
jonathan_alban has joined #ruby
emptyflask has joined #ruby
<arup_r> havenwood: That's why I wrote it.. But now I am not able to move ahead.
Wolland has quit [Ping timeout: 255 seconds]
<havenwood> theharshest: when you say `CONFIG` do you mean `ENV['CONFIG']` or a namespaced constant like `Project::CONFIG`?
tmtwd has joined #ruby
<theharshest> havenwood: namespaced constant
<havenwood> arup_r: look at the `{p,q}` example ("More than two literals may be specified.")
<havenwood> theharshest: so require the file where that constant is declared and use it thusly
xaxisx has joined #ruby
iceyec has quit [Quit: iceyec]
Snarkz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<theharshest> havenwood: but gem won't know the location of that file because the config file is project specific and its location can vary depending on the project which is using the gem
<arup_r> Haha.. I I want... al those files, which has *test* word in middle but not start/end with *test*. I can't put it inside {,}.. then it will give all matches.
sigurding has quit [Ping timeout: 260 seconds]
iceyec has joined #ruby
<havenwood> arup_r: *?test?*
<havenwood> arup_r: i linked the glob docs earlier, read them carefully!
<havenwood> arup_r: google up on globbing
Snarkz has joined #ruby
grieg_ has quit [Quit: Leaving]
mconnolly has quit [Quit: mconnolly]
bedouin is now known as delyan
carraroj has joined #ruby
<banister> apeiros ping
<apeiros> plemp
<banister> apeiros i need your help, can i PM you?
<havenwood> arup_r: `*` glob is like regexp `.*` and `?` glob is like regexp `.{1}`
<apeiros> sure. slightly busy, though
<arup_r> havenwood: I am screaming here.. Can you here me?
<havenwood> arup_r: so zero or more of any character with exactly one character minimum
<havenwood> arup_r: learn globs
sigurding has joined #ruby
<havenwood> go forth and prosper with your globs
<arup_r> havenwood: It works... I am reading http://mywiki.wooledge.org/glob ... Couldn't think of the one you gave me.. Amazing..!!! :-)
Asher has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
adelcampo has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nobitanobi> havenwood: just so I can do more research, do you say this is called collection of resources?
<arup_r> havenwood: Could you help me to understand the solution you gave *?test means .. what ?
<havenwood> arup_r: i explained above
kirun has joined #ruby
sandelius has joined #ruby
mrmargolis has quit [Remote host closed the connection]
_maes_ has joined #ruby
mehlah has quit [Quit: Leaving...]
carraroj has quit [Quit: Konversation terminated!]
n_blownapart has joined #ruby
<arup_r> Not getting how it eliminates test* pattern...
graft has quit [Ping timeout: 240 seconds]
Kricir has joined #ruby
jdj_dk has quit [Remote host closed the connection]
iceyec has quit [Quit: iceyec]
atmosx has quit [Remote host closed the connection]
mikespla_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jdj_dk has joined #ruby
Aryasam has quit [Ping timeout: 260 seconds]
atmosx has joined #ruby
<havenwood> nobitanobi: or maybe a resource composed of a resource and collection of sub-resources
endash has quit [Quit: endash]
Aryasam has joined #ruby
ascarter has joined #ruby
chrishough has quit [Quit: chrishough]
ylluminarious has joined #ruby
<havenwood> nobitanobi: here's parse's stab at POST batch operations: https://parse.com/docs/rest#objects-batch
iceyec has joined #ruby
afhammad has quit []
Xeago has joined #ruby
vyorkin has joined #ruby
Wolland has joined #ruby
<havenwood> multipart/mixed
<havenwood> hem
marksoo has joined #ruby
tus has joined #ruby
francisfish has joined #ruby
Kricir has quit [Remote host closed the connection]
aspires has quit []
mikesplain has joined #ruby
<marksoo> Hey guys I have this small script https://gist.github.com/iheartkode/b845589f050ee239a72b how can i make it so it takes more arguments with out having a method(arg,arg,arg,arg) etc.. thanks
<nobitanobi> havenwood: I don't think batch would help in this problem though. I would need to have created an Order first, and then launch a batch of Ads referencing that Order.
<havenwood> nobitanobi: aye
<nobitanobi> havenwood: anyway, I really appreciate your help. I have been suggested to somehow get the request, return a URL where they can see the status
<nobitanobi> and do everything in a background.
xaxisx has quit [Quit: xaxisx]
mikespla_ has joined #ruby
<nobitanobi> My concern with that approach is that they won't know the Ids of the 'sub resources'.
<nobitanobi> so they won't know which one is which
qwyeth has quit [Remote host closed the connection]
xaxisx has joined #ruby
dblessing has joined #ruby
iceyec has quit [Client Quit]
<Wolland> marksoo: why don't you just take an array as an arg?
iceyec has joined #ruby
<marksoo> umm how would i do that
<marksoo> add(allergens)
marr has joined #ruby
<nobitanobi> havenwood: btw, thanks a lot for your help. You and shevy have helped me to grow as a programmer :)
adelcampo has quit [Quit: adelcampo]
oo_ has joined #ruby
<marksoo> right now the app takes two numbers but there are multiple allergens
mikesplain has quit [Ping timeout: 252 seconds]
adelcampo has joined #ruby
djbkd has quit [Remote host closed the connection]
<marksoo> i want them to insert as many numbers they can
<marksoo> its limited to two :/
banister is now known as banisterfiend
adelcampo has quit [Client Quit]
KensoDev has joined #ruby
<Wolland> puts "Enter two allergen numbers"
<Wolland> puts "First number"
<Wolland> allergens = []
<Wolland> allergens << gets.chomp
<Wolland> puts "Second number"
<Wolland> allergens << gets.chomp
<Wolland>
<Wolland> add(allergens)
<arup_r> havenwood: Understood now.. Very easy.. hehe :)
<marksoo> what if they have more than 2 allergens lol
<Wolland> you can add this to a while loop and wait for them to hit enter without providing a number
Audace has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Wolland> so just ask them 1 question, loop it, and add it to allergens array that is outside of the loop
<marksoo> i already have allergen hash
<marksoo> populated with allergens
sdwrage has joined #ruby
<Wolland> call it whatever makes sense
<Wolland> user_allergens = [] ... whatever
ta has joined #ruby
<marksoo> i need the user to type in any amount of numbers then add it up
oo_ has quit [Ping timeout: 252 seconds]
<marksoo> did you look at my code?
johnrover has joined #ruby
<Wolland> yep
Xeago has quit [Remote host closed the connection]
senayar has joined #ruby
<marksoo> im confuse lol
vyorkin has quit [Ping timeout: 260 seconds]
orionstein is now known as orionstein_away
<marksoo> how does an array and loop get multiple numbers then use the add method
KensoDev has quit []
KensoDev has joined #ruby
havenwood has quit [Remote host closed the connection]
ziyadb has joined #ruby
<Wolland> one sec
<shevy> marksoo wat
timonv has joined #ruby
<marksoo> not you shevy
mrmargolis has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
saarinen has quit [Quit: saarinen]
mikepack has joined #ruby
chrishough has joined #ruby
Notte has quit []
sailias has quit [Quit: Leaving.]
ta has quit [Remote host closed the connection]
<marksoo> Wolland: I need to run.. thanks
<Wolland> wait
ta has joined #ruby
<marksoo> okay lol
xaxisx has quit [Quit: xaxisx]
Asher has quit [Quit: Leaving.]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
blackmes1 has joined #ruby
isthisreallife has joined #ruby
isthisreallife has left #ruby [#ruby]
mikepack has quit [Remote host closed the connection]
xaxisx has joined #ruby
marksoo has quit [Quit: Page closed]
mikepack has joined #ruby
DrShoggoth has joined #ruby
ylluminarious is now known as ylluminarious|aw
Hanmac has joined #ruby
ringarin has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
tmtwd has quit [Ping timeout: 252 seconds]
endash has joined #ruby
x1337807x has joined #ruby
orionstein_away is now known as orionstein
andrewhl has joined #ruby
ascarter has joined #ruby
kalusn has joined #ruby
charlied3 has quit [Quit: WeeChat 0.4.2]
djbkd has joined #ruby
phinfonet has quit []
connor_g1odwolf is now known as connor_goodwolf
charlied3 has joined #ruby
chrishough has quit [Ping timeout: 245 seconds]
tmtwd has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
xaxisx has quit [Quit: xaxisx]
codecop has quit [Ping timeout: 264 seconds]
kalusn has quit [Ping timeout: 256 seconds]
mbwe has joined #ruby
xaxisx has joined #ruby
jrhe has joined #ruby
xaxisx has quit [Client Quit]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
xaxisx has joined #ruby
xaxisx has quit [Client Quit]
Jam___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maximski has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mauromorales has joined #ruby
xaxisx has joined #ruby
eka has joined #ruby
Wolland has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
Wolland has joined #ruby
treehug88 has joined #ruby
elikem has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alvaro_o has joined #ruby
mconnolly has joined #ruby
elaptics is now known as elaptics`away
m8 has joined #ruby
larsam has joined #ruby
Takle has joined #ruby
tjr9898 has quit [Remote host closed the connection]
Takle_ has quit [Read error: Connection reset by peer]
KensoDev has quit []
roshanavand has quit [Ping timeout: 245 seconds]
Wolland has quit [Ping timeout: 264 seconds]
tjr9898 has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
codecop has joined #ruby
stytown has quit [Quit: stytown]
echevemaster has quit [Remote host closed the connection]
timgauthier has joined #ruby
jaimef has quit [Excess Flood]
ferr has quit [Ping timeout: 255 seconds]
jaimef has joined #ruby
<arup_r> Hashes allow an alternate syntax form when your keys are always symbols. Instead of options = { :font_size => 10, :font_family => "Arial" } You could write it as:options = { font_size: 10, font_family: "Arial" }
Xeago has quit [Remote host closed the connection]
<arup_r> Is this not a lack of a documentation http://www.ruby-doc.org/core-2.1.0/Hash.html ?
agjacome has joined #ruby
<arup_r> What you guys will say ?
terrell_t has joined #ruby
mijicd has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
fold has quit [Quit: WeeChat 0.4.3]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
charliesome has joined #ruby
<terrell_t> Hash rockets ftw.
<Mon_Ouie> What do you mean?
<arup_r> >> { :$foo => 12 }
<eval-in__> arup_r => {:$foo=>12} (https://eval.in/171134)
Morkel has quit [Quit: Morkel]
<arup_r> >> { $foo: 12 }
<eval-in__> arup_r => /tmp/execpad-2fb92adb2a8a/source-2fb92adb2a8a:2: syntax error, unexpected ':', expecting => ... (https://eval.in/171135)
claw has joined #ruby
<arup_r> Doco is gone...
<arup_r> So *old is Gold*...
bradleyprice has joined #ruby
ghr has joined #ruby
<apeiros> misses a "only [A-Za-z_]\w*: are eligible for this syntax"
<claw> hey i have the function server.start which never ends. How to call it async as subprocess ?
Asher has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terrellt has quit [Ping timeout: 240 seconds]
james2395 has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Client Quit]
oo_ has joined #ruby
User458764 has joined #ruby
kyb3r_ has joined #ruby
<apeiros> claw: I *think* you use that term "async" wrong
sigurding has quit [Quit: sigurding]
ferr has joined #ruby
<apeiros> but well, lets see - Kernel#fork creates a subprocess without blocking the parent. so technically that's an answer fitting your question.
djbkd has quit [Remote host closed the connection]
<pontiki> spawn would probably be the better substitute, however
Neomex has joined #ruby
<apeiros> if he wants to run ruby code, then I'd argue that
arup_r1 has joined #ruby
Eyes has quit [Remote host closed the connection]
<apeiros> and since he says he wants to run that method (not function, ruby doesn't have functions), it pretty much seems like he wants to run ruby code
<eam> not entirely without blocking the parent
<eam> fork() has to pause the parent while the second process is constructed
arup_r has quit [Ping timeout: 240 seconds]
<arup_r1> Am I wrong ?
pygospa has joined #ruby
<apeiros> eam: pause is not block
<apeiros> eam: block in this context means "waits until child is done"
<eam> ok, but it does block until the child is constructed
ghr has quit [Ping timeout: 252 seconds]
kalusn has joined #ruby
<eam> on systems with slow tlb implementations (VMs) that can take quite a while
<apeiros> yes. just as File.read_nonblock takes time to actually read stuff etc.
<arup_r1> This is one of the most confusing doco, like Proc#arity
djbkd has joined #ruby
<eam> like half a second
ringarin has quit [Ping timeout: 252 seconds]
yetanotherdave has quit [Ping timeout: 255 seconds]
oo_ has quit [Ping timeout: 245 seconds]
Eyes has joined #ruby
testcore has quit [Ping timeout: 264 seconds]
arup_r1 has left #ruby [#ruby]
chrishough has joined #ruby
sunya7a has joined #ruby
arup_r1 has joined #ruby
roshanavand has joined #ruby
cearls has quit [Remote host closed the connection]
johnrover has quit [Quit: johnrover]
cearls has joined #ruby
hgl has joined #ruby
kalusn has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby
saarinen has joined #ruby
<apeiros> eam: it sounds more impressive if you say: for over 1'500'000'000 ticks!
x1337807x has joined #ruby
JoshGlzBrk has joined #ruby
tjr9898 has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
timonv has quit [Remote host closed the connection]
johnrover has joined #ruby
hgl has quit [Ping timeout: 240 seconds]
sdwrage has quit [Ping timeout: 240 seconds]
sdwrage_ has joined #ruby
cearls has quit [Ping timeout: 264 seconds]
roshanavand has quit [Read error: No route to host]
User458764 has quit [Ping timeout: 264 seconds]
Wolland has joined #ruby
roshanavand has joined #ruby
wallerdev has quit [Quit: wallerdev]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vifino has quit [Quit: Ze Cat now leaves...]
moritzs has quit [Ping timeout: 240 seconds]
pc_ has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
tjr9898 has joined #ruby
cearls has joined #ruby
tjr9898 has quit [Read error: Connection reset by peer]
charlied3 has quit [Ping timeout: 272 seconds]
tjr9898 has joined #ruby
dwayhs has joined #ruby
testcore has joined #ruby
<claw> apeiros, fork does not work for me
<claw> i tried Thread.new but is not handling ctrl+c
<claw> application is still running even if i hit ctrl+c
<apeiros> claw: you're aware that "doesn't work" is as useless a problem description as possible, yes?
arup_r1 has left #ruby [#ruby]
xaxisx has quit [Quit: xaxisx]
benzrf|offline is now known as benzrf
aspires has quit []
<claw> apeiros, it executes the things inside fork but the not beyond
Aryasam has quit [Read error: No route to host]
sdwrage has joined #ruby
DivineEntity has quit [Quit: Lost terminal]
sdwrage_ has quit [Ping timeout: 240 seconds]
pc_ has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
<apeiros> and that'd be the text of the documentation of fork when used in block-form. better, but still not really a description of your problem.
Audace has joined #ruby
Audace has quit [Max SendQ exceeded]
sunya7a has quit [Ping timeout: 264 seconds]
iceyec has quit [Quit: iceyec]
sdwrage_ has joined #ruby
n_blownapart has quit [Remote host closed the connection]
iceyec has joined #ruby
aspires has joined #ruby
awc737 has joined #ruby
Audace has joined #ruby
james2395 has joined #ruby
Audace has quit [Max SendQ exceeded]
sdwrage has quit [Ping timeout: 245 seconds]
spearen has joined #ruby
tmtwd has quit [Ping timeout: 245 seconds]
testcore has quit [Ping timeout: 264 seconds]
<spearen> can somebody tell me what => means in this context ? {"ValidValues"=>"5|4|3|2|1|0"}
<pontiki> HASHROCKET
<spearen> ok, that gives me enough to work with. thx pontiki
yetanotherdave has joined #ruby
<pontiki> you betcha :D
<wasamasa> >> {:name => 'game'} == {name: 'game'}
<eval-in__> wasamasa => true (https://eval.in/171145)
<wasamasa> so these are equivalent in newer ruby versions, huh?
<pontiki> since 1.9 i think?
<gzl> yeah.
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
<wasamasa> I'm just having a hard time seeing people use both variants
<pontiki> they usually pick one or the other
testcore has joined #ruby
<pontiki> github ruby style prefers the hash rocket form
<gzl> there might be some legacy code that was written pre-1.9 and then the newer stuff uses the new style.
dangerousdave has quit [Read error: Connection reset by peer]
baweaver has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
baweaver has joined #ruby
mark_locklear has quit [Ping timeout: 260 seconds]
Audace has joined #ruby
Audace has quit [Max SendQ exceeded]
maximski has quit []
Audace has joined #ruby
Audace has quit [Max SendQ exceeded]
tmtwd has joined #ruby
<existensil> well all use hashrockets when our keys are strings instead of symbols, like in spearen's example
<pontiki> the group i'm working with has adopted the GH ruby style guide on all their projects, buts also all p.much private repos, so very unlikely to be seen
<pontiki> for my personal stuff, i preferred the new style, but working on their code so much, i've dropped back
testcore has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
elikem has joined #ruby
<existensil> We use the GH style guide at work, but I deviate there and pick whichever looks more beautiful in the context
<existensil> subjective, but it's always looked clean enough to survive a code review
Ankhers has quit [Remote host closed the connection]
<existensil> :-P
<pontiki> if i slip up and put one in, it always gets dinged
<spearen> so in my example I have an object vv whose content = {"ValidValues"=>"5|4|3|2|1|0"} and the .class = Array how do I extract the values 5|4|3|2|1|0 ?
_maes_ has quit [Ping timeout: 272 seconds]
<pontiki> wait
<pontiki> it should be class Hash
djbkd has joined #ruby
<existensil> >> "5|4|3|2|1|0".split("|")
<eval-in__> existensil => ["5", "4", "3", "2", "1", "0"] (https://eval.in/171152)
<pontiki> >> {"ValidValues"=>"5|4|3|2|1|0"}.class
<eval-in__> pontiki => Hash (https://eval.in/171153)
_Blizzy has joined #ruby
<pontiki> >> vv = {"ValidValues"=>"5|4|3|2|1|0"}; vv["ValidValues"]
<eval-in__> pontiki => "5|4|3|2|1|0" (https://eval.in/171154)
<spearen> hmmmmm
<spearen> vv=client.execute(sql).to_a # valid values puts vv puts vv.class
<spearen> returns
<spearen> {"ValidValues"=>"5|4|3|2|1|0"} Array
gruz0[russia] has joined #ruby
<pontiki> ah
mconnolly has quit [Quit: mconnolly]
<pontiki> you've got something else going on there
<Hanmac> spearen: try vv= client.execute(sql).first
<pontiki> instead of 'puts vv' use 'p vv'
<pontiki> and Hanmac has probably anticipated the next move
<spearen> beautiful. ok, that works {"ValidValues"=>"5|4|3|2|1|0"} Hash
<spearen> .first works I mean
<ericwood> p == puts foo.inspect
mehlah has joined #ruby
mikepack has quit [Remote host closed the connection]
<pontiki> nod
<pontiki> except instead of returning a nil, it returns it's argument
<Hanmac> there is also the #display method
mikepack has joined #ruby
havenwood has joined #ruby
sdwrage has joined #ruby
yetanotherdave has quit [Ping timeout: 264 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sdwrage_ has quit [Ping timeout: 260 seconds]
postmodern has joined #ruby
wallerdev has joined #ruby
<pontiki> which is something i've never found to useful
<pontiki> too*
Jam___ has joined #ruby
Zenigor has quit [Remote host closed the connection]
Oxelist has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
nmokru has joined #ruby
edgarjs is now known as edgarjs_afk
mr_foobar_baz has joined #ruby
iamjarvo has joined #ruby
Snarkz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has quit [Ping timeout: 240 seconds]
charlied3 has joined #ruby
<NinoScript> pontiki, it's nice in cases you want to print some intermediate value of an expression
havenwood has quit [Ping timeout: 264 seconds]
<NinoScript> >> puts 2*(p 2+5)
<eval-in__> NinoScript => 7 ... (https://eval.in/171155)
Atttwww has joined #ruby
<pontiki> how is that calling .display?
vyorkin has joined #ruby
xaxisx has joined #ruby
_BlizzyBot has joined #ruby
eka has joined #ruby
decoponio has quit [Quit: Leaving...]
paulfm has quit []
e4xit has quit [Remote host closed the connection]
e4xit has joined #ruby
e4xit has quit [Client Quit]
thesheff17 has quit [Ping timeout: 256 seconds]
e4xit has joined #ruby
_BlizzyBot has quit [Read error: Connection reset by peer]
chrishough has quit [Quit: chrishough]
roshanavand has quit [Read error: No route to host]
stytown has joined #ruby
roshanavand has joined #ruby
<benzrf> hey
<pontiki> hay
<benzrf> does ruby have any good libraries for abstracting over p2p network publishing and discovery
Shidash has joined #ruby
iceyec has quit [Ping timeout: 240 seconds]
volk_ has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
Audace has joined #ruby
Evi has joined #ruby
Oxelist has quit [Ping timeout: 240 seconds]
volk_ has joined #ruby
edgarjs_afk is now known as edgarjs
vifino has joined #ruby
graft has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
graft has joined #ruby
ghr has joined #ruby
Xeago has joined #ruby
ndrei has joined #ruby
edmellum has quit [Quit: Connection closed for inactivity]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thumpba has quit [Ping timeout: 240 seconds]
Evi has left #ruby [#ruby]
pskrz has quit [Ping timeout: 260 seconds]
nanoyak_ has quit [Quit: Computer has gone to sleep.]
ghr has quit [Ping timeout: 264 seconds]
oo_ has quit [Ping timeout: 255 seconds]
kalusn has joined #ruby
frellnet has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Quit: Leaving.]
foo-bar- has quit [Remote host closed the connection]
tmtwd has quit [Remote host closed the connection]
RandyT has quit [Quit: ZNC - http://znc.in]
Fire-Dragon-DoL has joined #ruby
kalusn has quit [Ping timeout: 240 seconds]
spearen has left #ruby [#ruby]
acrussell has quit [Quit: Leaving.]
RandyT has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ericwood> what kind of P2P?
<ericwood> bittorrent stuffs?
jackneill has quit [Remote host closed the connection]
baweaver has joined #ruby
chrishough has joined #ruby
orionstein is now known as orionstein_away
ldnunes has quit [Quit: Leaving]
baweaver has quit [Read error: Connection reset by peer]
keystonelemur has joined #ruby
frankjpinto has quit [Ping timeout: 240 seconds]
<frankS2> http://pastie.org/private/4mlayrgeycnc9oisgb0mxa here.. how can i access getcontent on line 21, from line 16? does it needs to be global or something?
roshanavand has quit [Read error: No route to host]
djbkd has quit [Remote host closed the connection]
roshanavand has joined #ruby
<pontiki> um
frankjpinto has joined #ruby
<pontiki> you want that getcontent thing to be a class method?
<pontiki> i'm not familiar at all with QT, so...
<frankS2> pontiki: neither am i :)
djbkd has joined #ruby
wookiehangover has quit [Ping timeout: 240 seconds]
johnrover has quit [Quit: johnrover]
<pontiki> maybe read up on what is supposed to be in that SLOT thing, then
zorak has joined #ruby
mikepack has joined #ruby
<pontiki> right now, getcontent is an instance method, so needs an instance for it to be sent to
Neomex has quit [Quit: Leaving]
<pontiki> i'm not at all sure what that SLOT thing is doing with it
<benzrf> ericwood: i was trying to make a barebones implementation of the basic ideas in the btc protocol
bmurt has quit []
codeurge has quit [Quit: Sleep.]
johnrover has joined #ruby
Heskie has quit []
johnrover has quit [Client Quit]
thumpba has joined #ruby
Heskie has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
mr_foobar_baz has quit [Quit: WeeChat 0.4.3]
xaxisx has left #ruby [#ruby]
m8 has quit [Quit: Sto andando via]
elikem has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mijicd has joined #ruby
mikespla_ has quit [Ping timeout: 240 seconds]
dblessing has quit [Quit: dblessing]
yetanotherdave has joined #ruby
wookiehangover has joined #ruby
jerius has quit []
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
tjr9898 has quit [Remote host closed the connection]
roshanavand has quit [Read error: No route to host]
roshanavand has joined #ruby
ta has quit [Quit: Leaving...]
sgen has joined #ruby
failshel_ has joined #ruby
francisfish has quit [Remote host closed the connection]
james2395 has quit [Ping timeout: 255 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shredding has joined #ruby
dgaffney has quit [Read error: Connection reset by peer]
dgaffney has joined #ruby
sgen has quit [Client Quit]
nanoyak has joined #ruby
dgaffney has quit [Client Quit]
Audace has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
failshell has quit [Ping timeout: 255 seconds]
wookiehangover has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
failshel_ has quit [Ping timeout: 260 seconds]
kirun has quit [Quit: Client exiting]
ahuman has quit [Quit: No Ping reply in 180 seconds.]
<ericwood> benzrf: I'm sure there's some stuff for it somewhere idk
<ericwood> if not it's up to you to write it :D
<benzrf> :[
mosoj has quit [Quit: Leaving]
ahuman has joined #ruby
<benzrf> i dont know much about network topology hto
<benzrf> *tho
omosoj has joined #ruby
benzrf is now known as benzrf|offline
sdwrage_ has joined #ruby
sdwrage has quit [Ping timeout: 240 seconds]
edmellum has joined #ruby
diegoviola has quit [Client Quit]
<j_mcnally> benzrf|offline: like https://github.com/lian/bitcoin-ruby ?
crazymykl has quit [Remote host closed the connection]
crazymykl has joined #ruby
Martxel has joined #ruby
bradleyprice has quit [Ping timeout: 240 seconds]
rayners has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
Heskie has quit []
<benzrf> j_mcnally: probably
<benzrf> the point wasnt to be useful
<benzrf> the point was to be amusing to make
terrell_t has quit [Remote host closed the connection]
mrmargolis has quit [Remote host closed the connection]
wookiehangover has joined #ruby
bradleyprice has joined #ruby
terrellt has joined #ruby
baroquebobcat has joined #ruby
benzrf is now known as benzrf|offline
keystonelemur has quit [Remote host closed the connection]
codecop has quit [Quit: Išeinu]
teedd has joined #ruby
reset has joined #ruby
moted has quit [Quit: moted]
ghr has joined #ruby
edgarjs is now known as edgarjs_afk
nowthatsamatt has quit [Quit: nowthatsamatt]
terrellt has quit [Ping timeout: 256 seconds]
<teedd> Hey guys, a TDD-in-Ruby question - I find that my first tests would normally require too much production code to make it pass. As an outside-in discipline, when using abstraction, it seems inevitable for me
<teedd> How might I avoid this / you guys go about it?
andrewjanssen has quit [Quit: Leaving...]
DivineEntity has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
kalusn has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
terrellt has joined #ruby
workmad3 has joined #ruby
edgarjs_afk is now known as edgarjs
andrewlio has quit [Quit: Leaving.]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
snath has quit [Ping timeout: 256 seconds]
Audace has joined #ruby
Audace has quit [Max SendQ exceeded]
hgl has joined #ruby
edgarjs is now known as edgarjs_afk
kalusn has quit [Ping timeout: 240 seconds]
Audace has joined #ruby
kireevco has quit [Quit: Leaving.]
tjr9898 has joined #ruby
Martxel has quit [Ping timeout: 240 seconds]
klaas has joined #ruby
dangerousdave has quit [Ping timeout: 255 seconds]
hgl has quit [Ping timeout: 245 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
nanoyak has quit [Quit: Computer has gone to sleep.]
x1337807x has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
jaimef has quit [Excess Flood]
jaimef has joined #ruby
gruz0[russia] has quit [Quit: Leaving]
riotjones has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
tomblomfield has joined #ruby
riotjones has joined #ruby
Code|articling has quit [Ping timeout: 256 seconds]
edgarjs_afk is now known as edgarjs
Code|articling has joined #ruby
saarinen has quit [Quit: saarinen]
tjr9898 has quit [Remote host closed the connection]
treehug88 has quit [Ping timeout: 272 seconds]
ephemerian has quit [Quit: Leaving.]
mikepack has quit [Ping timeout: 264 seconds]
bluOxigen has quit [Ping timeout: 255 seconds]
tjr9898 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
testcore has joined #ruby
anaeem1 has quit [Remote host closed the connection]
x1337807x has joined #ruby
tmcgoo has joined #ruby
DrShoggoth has quit [Quit: Leaving]
mauromorales has quit [Quit: WeeChat 0.4.3]
awkwords has quit [Ping timeout: 240 seconds]
geggam has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
chipotle has joined #ruby
mauromorales has joined #ruby
wallerdev has quit [Quit: wallerdev]
mauromorales has quit [Client Quit]
jheg has quit [Quit: jheg]
johnrover has joined #ruby
x1337807x has quit [Ping timeout: 240 seconds]
claymore has quit [Quit: Leaving]
Dreamer3 has joined #ruby
funburn has joined #ruby
Code|articling has quit [Read error: Connection reset by peer]
mconnolly has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
aspires has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
aspires has joined #ruby
andrewjanssen has joined #ruby
Code|articling has joined #ruby
CaptainJet has quit [Ping timeout: 264 seconds]
mauromorales has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
bato has joined #ruby
Atrumx has quit [Quit: exit]
Deele has quit [Ping timeout: 255 seconds]
freerobby has quit [Quit: Leaving.]
jonathan_alban has quit [Ping timeout: 252 seconds]
jobewan has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
omosoj has quit [Ping timeout: 252 seconds]
<xybre> teedd: I write a few high level tests to tell me when I'm done, and then I either spike out a prototype or I sketch out a plan for what I'm building, going back to tweak my expectations as necessary. Then once I have my head around the problem domain its much easier to write tightly focused tests that don't rely on anything else.
blackmes1 has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Remote host closed the connection]
Aryasam has joined #ruby
tjr9898 has joined #ruby
moted has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
wallerdev has joined #ruby
davedev24_ has quit []
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
britneywright has joined #ruby
ffranz has quit [Quit: Leaving]
volk_ has quit [Quit: volk_]
djbkd has quit [Remote host closed the connection]
tomblomfield has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has joined #ruby
SilverKey has quit [Quit: Halted.]
<bato> morning
<bato> is there a way to tell what is returned by a function?
nateberkopec has joined #ruby
<bato> for instance I instantiate foo, and then run foo.bar
<bato> how can I tell if foo.bar returns an array, or a string etc
<workmad3> bato: well, you could look at the class of the returned object
nateberkopec has quit [Client Quit]
amargherio has quit [Read error: Connection reset by peer]
<workmad3> >> def foo; []; end; foo.class
<eval-in__> workmad3 => Array (https://eval.in/171199)
<bato> ...that would be a good start, yes <<;
sdwrage_ has quit [Quit: Leaving]
jay__ has joined #ruby
<workmad3> bato: time to get a cup of coffee? :)
<bato> maybe a jug :P
<Audace> \join #rubyonrails
<Audace> my bad
ringarin has joined #ruby
<jay__> So i'm going to be working with ruby 1.8 and rails 2.3, do you think using vagrant is the best way to do some sort of version control, or rvm? I currently use brew to install ruby
ringarin has quit [Client Quit]
charlied3 has quit [Ping timeout: 252 seconds]
kireevco1 has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
alexju has quit [Remote host closed the connection]
jdj_dk has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
mauromorales has quit [Quit: WeeChat 0.4.3]
<koyd> jay__: rvm should work fine, no need to go further. But maybe your question is more suited to #rubyonrails
tjr9898 has quit [Remote host closed the connection]
mr_snowf1ake has joined #ruby
Darkchaos2 has quit [Ping timeout: 240 seconds]
CaptainJet has joined #ruby
vyorkin has quit [Ping timeout: 240 seconds]
andrewhl has quit [Quit: andrewhl]
stytown has quit [Quit: stytown]
qsun has quit [Ping timeout: 260 seconds]
senayar has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
benzrf|offline is now known as benzrf
qsun has joined #ruby
<benzrf> vagrant sounds like overkill
oo_ has joined #ruby
<benzrf> jay__: i like chruby myself
tjr9898 has joined #ruby
stytown has joined #ruby
<postmodern> benzrf, plus there's docker.io now
<jay__> cool, i'll check them out
<postmodern> and foreman
<workmad3> jay__: I'd suggest that you start off by digging out old blog articles on setting up bundler with rails 2.3 and create a Gemfile for the project that consists of a known, working set of all gems required by the project
havenwood has joined #ruby
<workmad3> jay__: with explicit versions
ghr has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
tjr9898 has quit [Remote host closed the connection]
<jay__> ok, thanks
earthquake has joined #ruby
<bato> well look at that
<bato> tacking on ".to_json" at the end does make wonders.
<bato> i kinda feel like i found the konami code for that lib
binaryhat has quit [Remote host closed the connection]
<pontiki> i'd use vagrant just to keep that stuff off my own system...
<pontiki> ^^vv<><>BA(start)
binaryhat has joined #ruby
Hanmac1 has joined #ruby
charlied3 has joined #ruby
e4xit_ has joined #ruby
<workmad3> I wonder if there are unicode code-points of those characters that ruby can use in method names...
mikecmpbll has quit [Ping timeout: 256 seconds]
oo_ has quit [Ping timeout: 272 seconds]
e4xit has quit [Ping timeout: 255 seconds]
e4xit_ is now known as e4xit
<workmad3> would love to have a Konami module with a ^^vv<><>AB(start) method
emptyflask has quit [Ping timeout: 256 seconds]
Hanmac has quit [Ping timeout: 255 seconds]
<bato> ↑↑↓↓←→←→BA
ghr has quit [Ping timeout: 260 seconds]
<bato> you're welcome to try with those
Takle has quit [Remote host closed the connection]
<workmad3> bato: works :D
mikecmpbll has joined #ruby
<workmad3> with that, bed
djbkd has quit [Remote host closed the connection]
washtubs has joined #ruby
dc_ has quit [Remote host closed the connection]
baweaver has joined #ruby
VTLob has quit [Quit: VTLob]
nateberkopec has joined #ruby
bmurt has joined #ruby
echevemaster has joined #ruby
djbkd has joined #ruby
earthquake has quit [Ping timeout: 252 seconds]
Guest86015 is now known as ixx
kevind has quit [Quit: kevind]
baweaver has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
chrishough has quit [Quit: chrishough]
reset has quit [Quit: Linkinus - http://linkinus.com]
St_Marx has joined #ruby
charlied3 has quit [Ping timeout: 240 seconds]
tjr9898 has joined #ruby
charlied3 has joined #ruby
moritzs has joined #ruby
saarinen has joined #ruby
tcurdt has joined #ruby
lewix has joined #ruby
tcurdt has quit [Client Quit]
earthquake has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
ylluminate has quit [Read error: Connection reset by peer]
ylluminate has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jam___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Poky has quit [Ping timeout: 255 seconds]
tcurdt has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tcurdt has quit [Client Quit]
saarinen has quit [Quit: saarinen]
reset has joined #ruby
funktor has joined #ruby
tjr9898 has joined #ruby
jmeeuwen has quit [Ping timeout: 240 seconds]
arya_ has joined #ruby
IceDragon has quit [Ping timeout: 264 seconds]
Code|articling has quit [Quit: Nettalk6 - www.ntalk.de]
IceDragon has joined #ruby
saarinen has joined #ruby
Code|articling has joined #ruby
Aryasam has quit [Quit: Bye]
teedd has quit [Read error: Connection reset by peer]
chipotle has quit [Quit: cya]
alexju has joined #ruby
Code|articling has quit [Client Quit]
nateberkopec has quit [Ping timeout: 240 seconds]
xcv has joined #ruby
Code|articling has joined #ruby
cheemobile has joined #ruby
cheemobile has quit [Client Quit]
cheemobile has joined #ruby
nateberkopec has joined #ruby
Code|articling is now known as CodeLicker
mijicd has quit [Remote host closed the connection]
CodeLicker has quit [Client Quit]
CodeLicker has joined #ruby
JJMalina has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
britneywright has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
charlied3 has quit [Ping timeout: 240 seconds]
blackmes1 has joined #ruby
funktor has quit [Remote host closed the connection]
cheemobile has quit [Quit: cheemobile]
cearls has quit []
maestrojed has quit [Quit: Computer has gone to sleep.]
JJMalina has quit [Ping timeout: 240 seconds]
febuiles has joined #ruby
mehlah has quit [Quit: Leaving...]
moritzs has quit [Read error: Connection timed out]
IceDragon has quit [Ping timeout: 256 seconds]
moritzs has joined #ruby
francisfish has joined #ruby
IceDragon has joined #ruby
funburn has quit [Quit: funburn]
lewix has quit []
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
stytown has quit [Quit: stytown]
omosoj has joined #ruby
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
mconnolly has quit [Ping timeout: 245 seconds]
jaequery has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
francisfish has quit [Ping timeout: 272 seconds]
IceDragon has joined #ruby
chipotle has joined #ruby
mikepack_ has joined #ruby
ARCADIVS has joined #ruby
deric_skibotn has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #ruby
testcore has quit [Quit: [BX] "I did not have sexual relations with that client, BitchX."]
Lemur has quit [Ping timeout: 255 seconds]
davispuh has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
kalz has quit [Quit: exit]
mikepack_ has quit [Ping timeout: 240 seconds]
chrishough has joined #ruby
nateberkopec has joined #ruby
JoshGlzBrk has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
IceDragon has quit [Ping timeout: 240 seconds]
earthquake has quit [Quit: earthquake]
nmokru has quit [Quit: nmokru]
deric_skibotn has joined #ruby
phoo1234567 has quit [Quit: Leaving]
Lemur has joined #ruby
britneywright has joined #ruby
omosoj has quit [Quit: Leaving]
nateberkopec has quit [Ping timeout: 240 seconds]
awkwords has joined #ruby
lmickh has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]