adaedra changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
Rodya_ has quit [Remote host closed the connection]
speaking1ode has quit [Ping timeout: 244 seconds]
johnmilton has joined #ruby
Rodya_ has joined #ruby
ur5us has joined #ruby
speaking1ode has joined #ruby
bronson has joined #ruby
casadei has joined #ruby
aryaching has quit [Ping timeout: 250 seconds]
casadei has quit [Client Quit]
firstdayonthejob has quit [Ping timeout: 255 seconds]
aryaching has joined #ruby
rehat_ has quit [Ping timeout: 276 seconds]
_djbkd has quit [Read error: Connection reset by peer]
william3 has joined #ruby
DanKnox_ has joined #ruby
DanKnox has joined #ruby
_djbkd has joined #ruby
ur5us has quit [Ping timeout: 276 seconds]
TomyLobo has quit [Ping timeout: 255 seconds]
loc22 has quit [Quit: Be back later ...]
dopamean1 has joined #ruby
aryaching has quit [Ping timeout: 250 seconds]
<shevy> does anyone of you happen to have a standalone ruby script that shows a bit how to use fibers? I remember I sorta understood what threads were doing after an example from the pickaxe, batch-downloading several remote webpages concurrently. I have not yet found a similar good example for fibers
william3 has quit [Ping timeout: 250 seconds]
DanKnox_ has quit [Ping timeout: 250 seconds]
DanKnox has quit [Ping timeout: 250 seconds]
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ebok has joined #ruby
askhat has joined #ruby
duckpuppy has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
yfeldblum has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
theery has joined #ruby
ManUtd27 has joined #ruby
ManUtd27 has quit [Client Quit]
ohaibbq has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 250 seconds]
_djbkd has quit [Remote host closed the connection]
zackzorman has joined #ruby
kies^ has joined #ruby
_djbkd has joined #ruby
cpup has quit [Ping timeout: 244 seconds]
cpup has joined #ruby
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
gregf has quit [Quit: WeeChat 1.4]
marxarelli has joined #ruby
DLSteve has joined #ruby
s2013 has joined #ruby
tulak has quit [Read error: Connection reset by peer]
kugelis has joined #ruby
tulak has joined #ruby
kugelis has quit [Remote host closed the connection]
gheegh has joined #ruby
cjbottaro has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
aegis312_ has quit [Ping timeout: 250 seconds]
whippythellama has quit [Ping timeout: 268 seconds]
roshanavand has joined #ruby
juanpablo__ has joined #ruby
loc22 has joined #ruby
_djbkd has quit [Remote host closed the connection]
tulak has quit [Ping timeout: 244 seconds]
tulak has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
_djbkd has joined #ruby
juanpablo__ has quit [Ping timeout: 240 seconds]
Guest13559 is now known as BLuEGoD
BLuEGoD is now known as Guest40383
loc22 has quit [Ping timeout: 248 seconds]
idefine has joined #ruby
aupadhye has joined #ruby
mg^ is now known as mg_
eam_ is now known as eam
johnmilton has quit [Ping timeout: 248 seconds]
mg_ is now known as mg^
dfockler has quit [Quit: Leaving]
lemur has joined #ruby
whippythellama has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
<pizzaops> shevy: it seems like there are a lot of blog posts/explanations/etc from just googling `ruby fibers`
sneakerhax has joined #ruby
lemur has quit [Ping timeout: 244 seconds]
Deck` has joined #ruby
potsmoker3 is now known as potsmoker
ur5us has joined #ruby
patrick99e99 has joined #ruby
<patrick99e99> is there a way to do {:foo => 'lol'}.slice(:foo, :bar) and get { :foo => 'lol', :bar => nil } ?
mg^ has quit [Quit: Leaving]
<Radar> >> {:foo => 'lol'}.reverse_merge(bar: nil, foo: nil)
<ruby[bot]> Radar: # => undefined method `reverse_merge' for {:foo=>"lol"}:Hash ...check link for more (https://eval.in/521467)
<Radar> Oh right.
intrigueD has quit [Remote host closed the connection]
mg^ has joined #ruby
<Radar> It's a Rails thing.
weemsledeux has joined #ruby
Deck` has quit [Ping timeout: 240 seconds]
tvw has quit [Remote host closed the connection]
* pizzaops imagines that IRC had emoji and imagines that :trollface: rendered into the appropriate image and directs the imaginary trollface image at Radar
DanKnox has joined #ruby
DanKnox_ has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<patrick99e99> hmm.. ok well whats the easiest way to turn an array of keys into a hash with nil values?
<patrick99e99> x = [:foo, :bar]... x.each_with_object({}) { |key, hash| hash[key] = nil } ?
theery has quit [Remote host closed the connection]
<Papierkorb> >> [:foo, :bar].zip([]).to_h # patrick99e99
<ruby[bot]> Papierkorb: # => {:foo=>nil, :bar=>nil} (https://eval.in/521472)
babblebre has quit [Quit: Connection closed for inactivity]
<patrick99e99> ooo i like it.
<Papierkorb> patrick99e99: while shorter, your solution is a bit more obvious
nogic has quit [Ping timeout: 248 seconds]
<volty> patrick99e99:
<patrick99e99> volty: I like that even better.. no code!
<volty> >> { foo: 'blah' }.values_at(:foo, :bar)
<ruby[bot]> volty: # => ["blah", nil] (https://eval.in/521473)
* Papierkorb wonders if there's a channel dedicated to the Whitespace language
<mg^> There probably is, but you can't see much.
<volty> >> { :foo => 'blah' }.values_at(:foo, :bar)
<ruby[bot]> volty: # => ["blah", nil] (https://eval.in/521474)
eregi_ has quit [Ping timeout: 240 seconds]
tulak has quit [Read error: Connection reset by peer]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x77686d has quit [Quit: x77686d]
tulak has joined #ruby
AndyBotwin has quit [Quit: Leaving]
zackzorman has quit [Ping timeout: 244 seconds]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Excess Flood]
<volty> >> class Hash; def slice(*keys); keys.zip(values_at(*keys)).to_h; end; end; { foo: 'lol' }.slice(:foo, :bar)
<ruby[bot]> volty: # => {:foo=>"lol", :bar=>nil} (https://eval.in/521476)
B1n4r10 has joined #ruby
rakm has joined #ruby
Rodya_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
Rodya_ has joined #ruby
william3 has joined #ruby
dexter_ has quit [Ping timeout: 240 seconds]
tulak has quit [Ping timeout: 248 seconds]
marxarelli is now known as marxarelli|afk
dstarh has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
<volty> bah!
volty has quit [Quit: Konversation terminated!]
william3 has quit [Ping timeout: 276 seconds]
Chau has joined #ruby
robbyoconnor has joined #ruby
johnmilton has joined #ruby
duckpuppy has joined #ruby
theery has joined #ruby
finisherr has quit [Quit: finisherr]
duckpuppy has quit [Ping timeout: 255 seconds]
Dreamer3_ has joined #ruby
kirillzh has joined #ruby
william3 has joined #ruby
roshanavand has quit [Remote host closed the connection]
guacamole has quit [Quit: leaving]
guacamole has joined #ruby
guacamole has quit [Client Quit]
Sucks has joined #ruby
guacamole has joined #ruby
JoshGlzBrk has joined #ruby
BlkDynmt has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
eregi has joined #ruby
gustavohmsilva has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
ohaibbq has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 250 seconds]
juanpablo__ has joined #ruby
Jardayn has quit [Quit: Leaving]
ReK2 has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
azure32 has joined #ruby
william3 has joined #ruby
decaff has joined #ruby
<decaff> #rubyonrails
juanpablo__ has quit [Ping timeout: 240 seconds]
<shevy> #all-the-good-things
Guest40383 is now known as BLuEGoD
BLuEGoD is now known as Guest87201
KnownSyntax has quit [Ping timeout: 240 seconds]
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
chipotle has quit [Quit: cheerio]
cdg has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 276 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
allcentury has quit [Ping timeout: 240 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrofog has joined #ruby
whippythellama has quit [Quit: WeeChat 1.4]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dmolina has quit [Quit: Leaving.]
sankaber has joined #ruby
Deck` has joined #ruby
jcdesimp has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allcentury has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
theery has quit [Remote host closed the connection]
nettoweb has joined #ruby
Deck` has quit [Ping timeout: 276 seconds]
sankaber has quit [Remote host closed the connection]
sankaber has joined #ruby
weemsledeux has joined #ruby
s2013 has joined #ruby
s2013 has quit [Client Quit]
zeroDivisible has quit [Quit: WeeChat 1.3]
bb010g has joined #ruby
loc22 has joined #ruby
darkf has quit [Ping timeout: 240 seconds]
loc22 has quit [Client Quit]
blackgoat has quit [Quit: WeeChat 1.3]
rcvalle has quit [Quit: rcvalle]
theery has joined #ruby
astrofog has quit [Quit: Quite]
_djbkd has quit [Remote host closed the connection]
j2k has quit [Quit: bai]
darkf has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hellschreiber has quit []
bronson has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 244 seconds]
j2k has joined #ruby
blackmesa has quit [Quit: WeeChat 1.4]
hxegon has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
theery has quit [Read error: Connection reset by peer]
theery_ has joined #ruby
theery_ has quit [Client Quit]
<Terens> <%= f.text_field :partial_starting, value: params[:request][:partial_starting] %>
<Terens> how can I check params for non nil?
norc__ has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
allcentury has joined #ruby
Vingador has joined #ruby
norc_ has quit [Ping timeout: 240 seconds]
northfurr has joined #ruby
Abrin has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
rbennacer has joined #ruby
robbyoconnor has joined #ruby
duckpuppy has joined #ruby
nfk has quit [Remote host closed the connection]
nfk has joined #ruby
eregi has quit [Ping timeout: 255 seconds]
Spami has quit [Quit: This computer has gone to sleep]
azure32 has quit [Ping timeout: 255 seconds]
duckpuppy has quit [Ping timeout: 244 seconds]
shazaum_ has joined #ruby
devbug has quit [Ping timeout: 250 seconds]
johnmilton has quit [Ping timeout: 240 seconds]
arlek has quit [Ping timeout: 244 seconds]
konr has quit [Quit: Connection closed for inactivity]
triangles has joined #ruby
baweaver has quit [Remote host closed the connection]
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
<pizzaops> I mean... you can do != nil
karapetyan has joined #ruby
bronson has joined #ruby
robbyoconnor has quit [Ping timeout: 250 seconds]
waka has quit [Read error: No route to host]
dexter_ has joined #ruby
dlitvak has joined #ruby
<drbrain> params.dig :request, :partial_starting
<drbrain> (Ruby 2.3+)
hxegon has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
montyboy has quit [Ping timeout: 240 seconds]
frudo has joined #ruby
juanpablo__ has joined #ruby
Abrin has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest87201 is now known as BLuEGoD
chouhoul_ has quit [Remote host closed the connection]
BLuEGoD is now known as Guest78684
juanpablo__ has quit [Ping timeout: 240 seconds]
marxarelli|afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
dopamean_ has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sucks has quit [Quit: No Ping reply in 180 seconds.]
william3 has joined #ruby
dopamean1 has quit [Ping timeout: 240 seconds]
devbug has joined #ruby
northfurr has quit [Quit: northfurr]
Sucks has joined #ruby
Flakes has joined #ruby
dlitvak has quit [Remote host closed the connection]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 250 seconds]
Vingador has quit [Ping timeout: 255 seconds]
Vingador has joined #ruby
arthurl has quit [Ping timeout: 240 seconds]
Deck` has joined #ruby
shazaum_ has quit [Quit: Leaving]
william3 has quit [Ping timeout: 276 seconds]
yqt has quit [Ping timeout: 240 seconds]
FooMunki has quit [Quit: FooMunki]
vdamewood has quit [Quit: Life beckons.]
sneakerhax has quit [Quit: back later]
Deck` has quit [Ping timeout: 244 seconds]
solocshaw has joined #ruby
JDiPierro has joined #ruby
babblebre has joined #ruby
kiki_lam1 is now known as kiki_lamb
akem has joined #ruby
<postmodern> if you trust a JSON API, would it be wise to use JSON.parse(data, symbolize_names: true) ?
UtkarshRay has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<havenwood> postmodern: seems kosher to me Ruby 2.2+
<toretore> gotta have those symbols
rbennacer has quit [Remote host closed the connection]
p1k has joined #ruby
<eam> the difference is symbolic at best
<havenwood> as long as they get GCed, why not?!
<toretore> the name "symbolize" makes me think they start out as strings anyway
<havenwood> toretore: well, json
eregi has joined #ruby
<toretore> i'm just taking the opportunity to rant about symbolitis again
<havenwood> >> require 'json'; JSON.parse({aim: true}.to_json)
<ruby[bot]> havenwood: # => {"aim"=>true} (https://eval.in/521484)
zacstewart has joined #ruby
A124 has quit [Read error: Connection reset by peer]
montyboy has joined #ruby
<havenwood> max_nesting maybe to prevent something absurd?
frudo has quit [Ping timeout: 240 seconds]
<havenwood> default 100, nvm
allcentury has quit [Ping timeout: 240 seconds]
sankaber has joined #ruby
A124 has joined #ruby
frudo has joined #ruby
<shevy> to raise my own errors, I must subclass a new name for e. g. StandardError, and then raise that?
bronson has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
<toretore> yes
<shevy> ok
frudo has quit [Ping timeout: 250 seconds]
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
c355e3b has quit [Quit: Connection closed for inactivity]
<havenwood> shevy: TroubleWithTribbles = Class.new StandardError
<shevy> hmm
<shevy> yeah
<shevy> the weird thing is, the oldschool < sorta looks nicer :)
ziyadb has quit [Quit: Connection closed for inactivity]
<havenwood> shevy: think of your ancestry chain!
godzillaenlacasa has quit [Quit: ZZZZZ....]
duckpuppy has joined #ruby
<havenwood> >> TroubleWithTribbles = Class.new StandardError; TroubleWithTribbles.ancestors
<ruby[bot]> havenwood: # => [TroubleWithTribbles, StandardError, Exception, Object, Kernel, BasicObject] (https://eval.in/521487)
DLSteve has joined #ruby
<havenwood> >> class PopplesCarWash < StandardError; end; PopplesCarWash.ancestors
<ruby[bot]> havenwood: # => [PopplesCarWash, StandardError, Exception, Object, Kernel, BasicObject] (https://eval.in/521489)
<havenwood> I was actually not expecting that to be the same, hence posting.
rbennacer has joined #ruby
<havenwood> My memory failed me.
<havenwood> Struct was what I was thinking.
<shevy> did you have your coffee yet!
jam_ has joined #ruby
yonatankoren has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
<havenwood> many, many shots - alas it wore off
Grays0n has joined #ruby
x0f has quit [Ping timeout: 268 seconds]
x0f has joined #ruby
maletor has joined #ruby
<havenwood> oops, MT
jam_ has quit [Ping timeout: 244 seconds]
Guest6991 has quit [Changing host]
Guest6991 has joined #ruby
Guest6991 is now known as nitrix
bronson has joined #ruby
JoshGlzBrk has joined #ruby
eregi has quit [Ping timeout: 255 seconds]
DmitryBochkarev has joined #ruby
kies^ has quit [Remote host closed the connection]
eregi has joined #ruby
techietrash_ has quit [Changing host]
techietrash_ has joined #ruby
techietrash_ is now known as techietrash
Guest72653 has quit [Changing host]
Guest72653 has joined #ruby
Guest72653 is now known as paultreny
<shevy> do the elixir folks have something that ruby can incorporate?
Jokkk has quit [Remote host closed the connection]
<havenwood> shevy: I jest, but yeah!
<shevy> hehe
Guest78684 is now known as BLuEGoD
BLuEGoD is now known as Guest450
DEA7TH has joined #ruby
peterevjan has joined #ruby
Chau has quit [Ping timeout: 255 seconds]
<havenwood> shevy: One thing Ruby 3 is contemplating is the pipeline operator |>
<havenwood> shevy: Elixir has implement multiple things proposed for Ruby
<toretore> what would |> do?
<havenwood> toretore: Somewhat similar to the | in Streem: https://github.com/havenwood/elixir.rb
<havenwood> toretore: gah - key fail, anyways - that link ^
baweaver has joined #ruby
ferr has quit [Ping timeout: 276 seconds]
<shevy> aha
<shevy> and elixir has had a pipeline operator?
kies^ has joined #ruby
<havenwood> shevy: ya
<toretore> how would work under the hood though?
<havenwood> toretore: fancy things
<toretore> right
Vingador has quit [Quit: Leaving]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<shevy> lol
rbennacer has quit [Remote host closed the connection]
<toretore> i'd prefer more lower level primitives tbh
<shevy> low level primitives?
baweaver has quit [Ping timeout: 244 seconds]
Deck` has joined #ruby
<toretore> |> would hide a large amount of decisions and complexity that i wouldn't have any control over
bronson has quit [Remote host closed the connection]
<toretore> is it an event loop, threads, fibers, an interface contract like #call is, etc
<havenwood> toretore: threads are pain
UtkarshRay has quit [Remote host closed the connection]
<havenwood> toretore: the plan is warning don't do this when one insists
UtkarshRay has joined #ruby
<toretore> threads have their place
Sucks has quit [Read error: Connection reset by peer]
<havenwood> toretore: purgatory is a place indeed!
<toretore> no parallelism without threads!
BlkDynmt has quit [Quit: BlkDynmt]
<toretore> but yes, for everyday use, there should be abstractions on top
<toretore> that's the difficult part
Deck` has quit [Ping timeout: 240 seconds]
Sucks has joined #ruby
Don_John_ has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
Don_John has joined #ruby
Eiam has quit [Read error: Connection reset by peer]
Grays0n has quit [Read error: Connection reset by peer]
ferr has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has joined #ruby
peterevjan has quit [Remote host closed the connection]
JDiPierro has quit [Remote host closed the connection]
shtirlic has joined #ruby
peterevjan has joined #ruby
s2013 has joined #ruby
hxegon has quit [Quit: BRB]
shakes has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
william3 has quit [Ping timeout: 276 seconds]
braincra- has quit [Quit: bye bye]
chouhoulis has joined #ruby
fourq is now known as fourq|away
fourq|away is now known as fourq
darkf has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
darkf has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jcdesimp_ has joined #ruby
juanpablo__ has joined #ruby
wprice has quit [Quit: wprice]
arthurl has joined #ruby
krz has joined #ruby
jcdesimp has quit [Ping timeout: 248 seconds]
tildes has joined #ruby
duckpuppy has joined #ruby
jcdesimp_ has quit [Client Quit]
juanpablo__ has quit [Ping timeout: 240 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
wedgwood has joined #ruby
UtkarshRay has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 255 seconds]
peterevjan has quit []
zast has joined #ruby
UtkarshRay has joined #ruby
jackjackdripper has joined #ruby
gix has quit [Ping timeout: 250 seconds]
zeepickler has joined #ruby
zeepickler has left #ruby [#ruby]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
krz has quit [Ping timeout: 240 seconds]
saneax_AFK is now known as saneax
postmodern has quit [Quit: Leaving]
gix has joined #ruby
freerobby has quit [Quit: Leaving.]
yfeldblum has quit [Remote host closed the connection]
hxegon has joined #ruby
bluOxigen has joined #ruby
Guest71168 is now known as Cyrus
Cyrus has quit [Changing host]
Cyrus has joined #ruby
krz has joined #ruby
DanKnox has quit [Quit: leaving]
DanKnox_ has quit [Quit: leaving]
DanKnox has joined #ruby
sami has quit [Ping timeout: 244 seconds]
sami has joined #ruby
arthurl has quit [Read error: Connection reset by peer]
DmitryBochkarev has joined #ruby
Guest450 is now known as BLuEGoD
kirillzh has joined #ruby
BLuEGoD is now known as Guest83553
kirillzh has quit [Max SendQ exceeded]
robbyoconnor has quit [Quit: Konversation terminated!]
kirillzh has joined #ruby
Helheim has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby
Dreamer3_ has quit [Quit: Computer has gone to sleep.]
Dreamer3_ has joined #ruby
Deck` has joined #ruby
shakes has quit [Quit: Leaving]
sami has quit [Ping timeout: 250 seconds]
Deck` has quit [Ping timeout: 276 seconds]
p1k has quit [Ping timeout: 244 seconds]
sami has joined #ruby
LoneHermit has joined #ruby
hxegon has quit [Ping timeout: 244 seconds]
weemsledeux has joined #ruby
sami has quit [Ping timeout: 240 seconds]
hxegon has joined #ruby
perrier has joined #ruby
perrier is now known as Guest58776
Sucks has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
charlemagne has joined #ruby
B1n4r10 has quit [Ping timeout: 240 seconds]
weemsledeux has quit [Ping timeout: 276 seconds]
dubek has joined #ruby
stevemackinnon has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 276 seconds]
sami has joined #ruby
davedev24 has quit []
nfk has quit [Remote host closed the connection]
stevemackinnon has joined #ruby
attractiveape has quit [Ping timeout: 250 seconds]
duckpuppy has joined #ruby
sneakerhax has joined #ruby
jam_ has joined #ruby
duckpuppy has quit [Ping timeout: 255 seconds]
darkf has quit [Ping timeout: 244 seconds]
darkf has joined #ruby
jam_ has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
darkf_ has joined #ruby
darkf has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
LoneHermit has quit [Remote host closed the connection]
blackgoat has joined #ruby
darkf_ is now known as darkf
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
Abrin has quit [Ping timeout: 276 seconds]
teej has joined #ruby
ur5us has quit [Remote host closed the connection]
stevemackinnon has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
infra-red has joined #ruby
mack25 has joined #ruby
zast has quit [Remote host closed the connection]
chipotle has joined #ruby
minimalism has quit [Quit: minimalism]
Guest83553 is now known as BLuEGoD
BLuEGoD is now known as Guest89388
ZerGabriel has joined #ruby
chipotle has quit [Ping timeout: 276 seconds]
jackjackdripper has quit [Quit: Leaving.]
robbyoconnor has joined #ruby
bronson has joined #ruby
frudo has joined #ruby
Deck` has joined #ruby
UtkarshRay has quit [Remote host closed the connection]
jam_ has joined #ruby
UtkarshRay has joined #ruby
chipotle has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
Deck` has quit [Ping timeout: 240 seconds]
ptierno has joined #ruby
<kegster> well then
<kegster> if i have ng-model="" on a textarea, how can i prevent the line breaks from being removed?
darkf_ has joined #ruby
darkf has quit [Disconnected by services]
darkf_ is now known as darkf
ptierno has quit [Client Quit]
ptierno has joined #ruby
chipotle has quit [Ping timeout: 276 seconds]
elifoster has quit [Ping timeout: 244 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mattp__ has quit [Read error: Connection reset by peer]
fullofcaffeine has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
yardenbar has quit [Ping timeout: 240 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
<mack25> I keep getting Stripe SSL Cert errors in my Ruby app. Here's the error message - https://gist.github.com/tcope25/d93887f45cfd5e3da679 - any help would be greatly appreciated
chipotle has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
<kegster> oh wow
<kegster> wrong channel :P
ZerGabriel has left #ruby [#ruby]
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
robbyoconnor has quit [Quit: Konversation terminated!]
Diaoer has joined #ruby
AnoHito_ has quit [Ping timeout: 264 seconds]
yardenbar has joined #ruby
duckpuppy has joined #ruby
pandaant has joined #ruby
bronson has joined #ruby
mattp__ has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
william3 has joined #ruby
pdoherty has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
smplx has joined #ruby
mwlang has joined #ruby
vdamewood has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
infra-red has quit [Remote host closed the connection]
p1k has joined #ruby
AlphaAtom has joined #ruby
sandstrom has joined #ruby
crdpink has joined #ruby
solocshaw1 has joined #ruby
sandstrom has quit [Client Quit]
crdpink2 has quit [Ping timeout: 250 seconds]
mhoungbo has quit [Ping timeout: 240 seconds]
solocshaw has quit [Read error: Connection reset by peer]
solocshaw1 is now known as solocshaw
marxarelli has joined #ruby
Don_John has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
smplx has left #ruby [#ruby]
jetpack_joe has joined #ruby
AnoHito has joined #ruby
baweaver has quit [Remote host closed the connection]
Deck` has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
Guest89388 is now known as BLuEGoD
BLuEGoD is now known as Guest20556
vdamewood has quit [Quit: Life beckons.]
elaptics`away is now known as elaptics
steffkes has joined #ruby
steffkes has joined #ruby
oliver__ has joined #ruby
aufi has joined #ruby
joonty has joined #ruby
ur5us has joined #ruby
Jet4Fire has quit [Read error: Connection reset by peer]
Jet4Fire has joined #ruby
joonty has quit [Ping timeout: 244 seconds]
akem has quit [Remote host closed the connection]
Xeago has joined #ruby
htmldrum has joined #ruby
hxegon has quit [Quit: BRB]
srenatus has joined #ruby
roshanavand has joined #ruby
solars has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
hightower3 has quit [Ping timeout: 248 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
ohaibbq has quit [Quit: Leaving...]
lurch_ has joined #ruby
codecop has joined #ruby
roshanavand has joined #ruby
potsmoker has quit [Quit: Leaving]
elifoster has joined #ruby
kmckelvi1 has quit [Ping timeout: 276 seconds]
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amclain has quit [Quit: Leaving]
pdoherty has quit [Ping timeout: 276 seconds]
infra-red has joined #ruby
andikr has joined #ruby
siaw has joined #ruby
woo has joined #ruby
duckpuppy has joined #ruby
TomyLobo has joined #ruby
SkepBrain has joined #ruby
mhoungbo has joined #ruby
nephos has joined #ruby
teej has quit [Ping timeout: 240 seconds]
nephos is now known as Guest74086
eregi has quit [Ping timeout: 248 seconds]
last_staff has joined #ruby
azure32 has joined #ruby
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duckpuppy has quit [Ping timeout: 240 seconds]
ptierno has quit [Quit: leaving]
william3 has joined #ruby
terlar has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
bluOxigen_ has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firstdayonthejob has joined #ruby
mark1 has joined #ruby
xu has joined #ruby
<xu> what
einarj has joined #ruby
Dreamer3_ has quit [Quit: Computer has gone to sleep.]
lubekpl has joined #ruby
TomyLobo has quit [Ping timeout: 240 seconds]
[dmp] has quit [Quit: WeeChat 1.3]
[dmp] has joined #ruby
Guest20556 is now known as BLuEGoD
BLuEGoD is now known as Guest85667
xu has quit [Client Quit]
bronson has quit [Remote host closed the connection]
xuex has joined #ruby
last_staff has quit [Quit: last_staff]
fullofca_ has joined #ruby
srenatus has left #ruby [#ruby]
ptierno has joined #ruby
ptierno has joined #ruby
ptierno has quit [Client Quit]
<xuex> hello
ta_ has quit [Remote host closed the connection]
fullofcaffeine has quit [Ping timeout: 244 seconds]
ptierno has joined #ruby
ptierno has left #ruby [#ruby]
mangle has joined #ruby
<mangle> but why
sandstrom has joined #ruby
ptierno has joined #ruby
xuex has left #ruby [#ruby]
ptierno has quit [Client Quit]
ptierno has joined #ruby
ptierno has quit [Client Quit]
ptierno has joined #ruby
ptierno has quit [Changing host]
ptierno has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
symm- has joined #ruby
juanpablo__ has joined #ruby
skade has joined #ruby
tvw has joined #ruby
<Ox0dea> >> Is evidence admissible if tainted?
<ruby[bot]> Ox0dea: # => nil (https://eval.in/521631)
<Ox0dea> Thanks, ruby[bot].
fullofca_ has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 276 seconds]
roshanavand has quit [Remote host closed the connection]
_Diaoer has joined #ruby
Diaoer has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
william3 has joined #ruby
aganov has joined #ruby
mack25 has quit [Ping timeout: 255 seconds]
YaknotiS has quit [Ping timeout: 264 seconds]
Rodya_ has quit [Remote host closed the connection]
fullofca_ has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
Ebok has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tildes has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
eregi has joined #ruby
SCHAAP137 has joined #ruby
duckpuppy has joined #ruby
s2013 has joined #ruby
YaknotiS has joined #ruby
chipotle has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 255 seconds]
duckpuppy has quit [Ping timeout: 248 seconds]
htmldrum has quit [Ping timeout: 240 seconds]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago has joined #ruby
blackgoat has quit [Quit: WeeChat 1.3]
eyeh8nigg3rz has joined #ruby
eyeh8nigg3rz was kicked from #ruby by ChanServ [Banned: Unacceptable nick - http://ruby-community.com/pages/user_rules#rule_2_10]
htmldrum has joined #ruby
patchedmonkey has joined #ruby
ta has joined #ruby
mangle has quit [Quit: Lost terminal]
Gadgetoid has quit [Read error: Connection reset by peer]
Gadgetoid has joined #ruby
chipotle has joined #ruby
patchedmonkey has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
htmldrum has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Ping timeout: 244 seconds]
ljames has quit []
patchedmonkey has joined #ruby
jaiks has joined #ruby
_Diaoer has quit [Remote host closed the connection]
baweaver has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
ferr has quit [Ping timeout: 240 seconds]
kmckelvi1 has joined #ruby
lsmola has joined #ruby
Guest85667 is now known as BLuEGoD
fontain has joined #ruby
BLuEGoD is now known as Guest76989
norc_ has joined #ruby
shredding has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dimik has quit [Ping timeout: 276 seconds]
steffkes_ has joined #ruby
Guest32113 has joined #ruby
azure32_ has joined #ruby
steffkes has quit [Read error: Connection reset by peer]
baweaver has quit [Ping timeout: 240 seconds]
SCHAAP137 has quit [Read error: Connection reset by peer]
azure32 has quit [Ping timeout: 240 seconds]
norc__ has quit [Ping timeout: 240 seconds]
xuex has joined #ruby
<xuex> sdid
skade has joined #ruby
htmldrum has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
DEA7TH_ has joined #ruby
DEA7TH has quit [Ping timeout: 240 seconds]
DEA7TH_ is now known as DEA7TH
xuex has quit [Quit: leaving]
woo has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
chouhoulis has quit [Remote host closed the connection]
devbug has joined #ruby
last_staff has joined #ruby
dmolina has joined #ruby
atmosx has joined #ruby
zz_denym_ is now known as denym_
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ptierno has quit [Quit: leaving]
Guest74086 has quit [Remote host closed the connection]
Flipez has joined #ruby
<timmyBsd> has anybody an idea why loop{} is such slower than other conditional instructions
zeroDivisible has joined #ruby
Guest32113 has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
karapetyan has joined #ruby
azure32_ has quit [Ping timeout: 276 seconds]
joonty has joined #ruby
ur5us has joined #ruby
fullofca_ has quit [Remote host closed the connection]
zeroDivisible has quit [Quit: WeeChat 1.3]
charlemagne has quit [Ping timeout: 248 seconds]
zeroDivisible has joined #ruby
<Ox0dea> timmyBsd: https://eval.in/521657
<Ox0dea> Kernel#loop is actually a method that takes a block; there's just much more "machinery" involved.
fullofcaffeine has joined #ruby
patchedmonkey has quit [Quit: Textual IRC Client: www.textualapp.com]
fullofca_ has joined #ruby
patchedmonkey has joined #ruby
<gregf_> oh its a method
william3 has joined #ruby
patchedmonkey has quit [Client Quit]
<Ox0dea> Of course it's a method. :)
<gregf_> no wonder
<gregf_> theres a repeat {#code} until (<condition>) <== which is as quick as a while/for
ljames has joined #ruby
fullofca_ has quit [Ping timeout: 244 seconds]
fullofcaffeine has quit [Ping timeout: 276 seconds]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
solocshaw has quit [Ping timeout: 248 seconds]
duckpuppy has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
eregi has joined #ruby
zeroDivisible has joined #ruby
oliver__ has quit []
<gregf_> well, my bad. There is no repeat until :|
<gregf_> it just compiles ;)
<Ox0dea> Hm? `foo until bar` is totally kosher.
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has quit [Ping timeout: 240 seconds]
<gregf_> sure
<Ox0dea> What'd you mean by there being no "repeat until"?
<gregf_> ive never ever felt the need to use these other constructs :/. just an each, map, select
duckpuppy has quit [Ping timeout: 240 seconds]
woo has joined #ruby
eregi has quit [Ping timeout: 240 seconds]
<gregf_> >> x = 0; repeat { x +=1 } until ( x <= 1000000 );[ x ]
<ruby[bot]> gregf_: # => [0] (https://eval.in/521660)
<gregf_> Ox0dea: ^^ that 'compiles' tho' does not do whats expected
<gregf_> though
<gregf_> >> x = 0; repeat { x +=1 } until ( x == 1000000 );[ x ]
<ruby[bot]> gregf_: # => undefined method `repeat' for main:Object (NoMethodError) ...check link for more (https://eval.in/521661)
<gregf_> ^^ fails
<Ox0dea> gregf_: Your condition is met immediately.
<Ox0dea> >> x = 0; x <= 10000000
<ruby[bot]> Ox0dea: # => true (https://eval.in/521662)
<gregf_> ah - fair enough ;). *ignore me*
jackjackdripper has joined #ruby
<Ox0dea> >> x = 0; x += 1 until x > 100; x
<ruby[bot]> Ox0dea: # => 101 (https://eval.in/521663)
<Ox0dea> And the left-hand side can really be any expression, with sequencing provided either by parentheses or an explicit `begin`.
jimcroft has joined #ruby
chipotle has quit [Quit: cheerio]
ruby-lang655 has joined #ruby
<gregf_> i thought it was like a do {} while(<condition>) <== where the condition is executed at the end
<Ox0dea> Right, you only get that semantics with an explicit `begin`.
Snowy has joined #ruby
<Ox0dea> Ruby's "do while" is spelt `begin; end while`. :/
<gregf_> yeah
jackjackdripper has quit [Client Quit]
<gregf_> >> x = 0; begin; x+=1;end while x > 10;[x]
<ruby[bot]> gregf_: # => [1] (https://eval.in/521666)
<gregf_> ^^ there. x is incremented first and then the condition
<gregf_> but anyways. prolly what you'd learn the first month in uni ;)
fumk has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Timberwo|f has joined #ruby
dionysus69 has joined #ruby
neanderslob has quit [Ping timeout: 265 seconds]
FooMunki has joined #ruby
neanderslob has joined #ruby
CloCkWeRX has quit [Ping timeout: 240 seconds]
evidex has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
elifoster has quit [Ping timeout: 255 seconds]
Burgestrand has joined #ruby
ruby-lang655 has quit [Quit: Page closed]
bronson has joined #ruby
Guest76989 is now known as BLuEGoD
BLuEGoD is now known as Guest92775
marr has joined #ruby
rikkipitt has joined #ruby
CloCkWeRX has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
tulak has joined #ruby
rdark has joined #ruby
<EdwardIII> not in our unis heh
Spami has joined #ruby
william3 has quit [Remote host closed the connection]
<Xeago> gregf_: there's nothing preventing you from making a `repeat` though
askhat has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
bruce__lee has joined #ruby
tulak has quit [Ping timeout: 248 seconds]
william3 has joined #ruby
andrewvos has joined #ruby
askhat has quit [Client Quit]
patrick99e99 has quit [Quit: Page closed]
bruce_lee has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
<Ox0dea> Xeago: How would you make it work with a modifier conditional?
jackjackdripper has joined #ruby
f4cl3y has joined #ruby
jackjackdripper has quit [Client Quit]
chthon has joined #ruby
<Ox0dea> Derp. `def repeat; yield; end`
<Ox0dea> Kinda silly, though.
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tulak has joined #ruby
william3 has quit [Ping timeout: 248 seconds]
lubekpl has joined #ruby
awe_ has joined #ruby
Timberwo|f has quit [Ping timeout: 240 seconds]
<Ox0dea> I complicated it by assuming that you might want `repeat { foo }` to loop forever.
chouhoulis has quit [Ping timeout: 250 seconds]
ziyadb has joined #ruby
trinaldi has joined #ruby
nettoweb has joined #ruby
awe_ has quit [Quit: Leaving]
<apeiros> gregf_: do {} while() in ruby is `begin … end while ()` (and matz dislikes the construct due to its conflicting nature wrt postfix while)
william3 has joined #ruby
joonty has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has quit [Remote host closed the connection]
duckpuppy has joined #ruby
eregi has joined #ruby
tulak has quit [Remote host closed the connection]
tulak has joined #ruby
siaw has left #ruby [#ruby]
lxsameer has joined #ruby
nimbu has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
eregi has quit [Ping timeout: 255 seconds]
<gregf_> apeiros: sure. i faintly remember ever using a while/for :). much less in prod code
<EdwardIII> wrt?
<apeiros> with regards to
<gregf_> with regards to... presumably
<nimbu> hey guys, I'd like to ask a quick question. How might RUBY_ENGINE become undefined in a Rails App? Also I have ruby version 1.9.3 installed but at runtime in my app RUBY_VERSION is set to 1.8.7
<EdwardIII> ah
<ddv> nimbu: 1.9.3 is EOL don't use it
<ddv> same goes for 1.8.7
<apeiros> nimbu: RUBY_ENGINE is not defined in 1.8
woo has joined #ruby
<nimbu> ddv: I'm afraid I really need to get some older code to run
<apeiros> 18>> [RUBY_VERSION, Object.const_defined?(:RUBY_ENGINE)]
<ruby[bot]> apeiros: # => ["1.8.7", false] (https://eval.in/521693)
<apeiros> 19>> [RUBY_VERSION, Object.const_defined?(:RUBY_ENGINE)]
<ruby[bot]> apeiros: # => ["1.9.3", true] (https://eval.in/521694)
yardenbar has quit [Ping timeout: 248 seconds]
<nimbu> apeiros: So if RUBY_ENGINE isn't defined using ruby 1.8.7, where could that version number be coming from. I have 1.9.3 installed with RVM
<apeiros> I think you're confusing things?
<apeiros> RUBY_ENGINE does not give you the version number
<apeiros> RUBY_VERSION does
<nimbu> yep that what I mean
<apeiros> and I think the question you really want to ask is why your rails app runs in 1.8 instead of 1.9
<nimbu> RUBY_VERSION gets set to 1.8.7 somehow even though I have 1.9.3 installed
<apeiros> yeah, no. RUBY_VERSION doesn't "get set to"
<apeiros> but to get to your actual question - does your project have a file named '.ruby-version' or '.rvm'?
ur5us has quit [Remote host closed the connection]
<nimbu> apeiros: If i run 'ruby -e RUBY_VERSION' at a shell prompt it spits out 1.9.3 . However at runtime in my app RUBY_VERSION is set to 1.8.7
pandaant has quit [Remote host closed the connection]
<apeiros> yeah, you can shorten that to "if I run my app, it uses ruby 1.8.7"
<nimbu> apeiros: it has a .rvmrc
<apeiros> and what does that file contain?
<nimbu> it contains "rvm use 1.9.3@global"
<apeiros> hm, interesting. yet your app is still run by 1.8.7.
Flakes has quit [Ping timeout: 240 seconds]
<apeiros> how do you run/start rails?
<nimbu> apeiros: its very strange
<nimbu> using mongrel_rails
<apeiros> ok. I have no memory anymore about how mongrel_rails worked.
chipotle has joined #ruby
<apeiros> if you run `rails c`, do you get 1.8.7 too? or 1.9.3?
Xeago has quit [Remote host closed the connection]
jam_ has quit [Remote host closed the connection]
<nimbu> apeiros: not sure what that command was supposed to do??
<nimbu> it just created a bunch of files
hayden_ has joined #ruby
Xeago has joined #ruby
<nimbu> it seemed to use version 1.9.3
rodfersou has joined #ruby
<nimbu> I'm trying to get a legacy application working on a virtualbox vm
<apeiros> `rails c` should start the rails console
<apeiros> and I don't remember how old a version it'd have to be for that not to be present
<apeiros> at least iirc rails 2 already had that
yfeldblum has quit [Remote host closed the connection]
futilegames has joined #ruby
aryaching has joined #ruby
<nimbu> when running mongrel_rails, it crashes and finishes with this output "ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]"
<nimbu> but I don't understand why its outputting this version seeing as in the .rvmrc I am using 1.9.3
<hanmac> maybe user problem?
<hanmac> maybe the 1.9.3 is only installed for your user, and the user that does run rails has only 1.8.7?
Youngmathimus0 has quit [Ping timeout: 240 seconds]
<nimbu> hanmac: Do you know of any way to check this?
<hanmac> hm i dont know how your rails is configured, nor did i know mongrel
baweaver has joined #ruby
rikkipitt has quit [Quit: Leaving...]
<nimbu> I execute mongrel_rails as my current user if that helps
Youngmathimus0 has joined #ruby
yardenbar has joined #ruby
<nimbu> username@my-server:~/dev/myserver$ which ruby
<nimbu> /home/username/.rvm/rubies/ruby-1.9.3-p551/bin/ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nimbu> ^ output from which ruby
pawnbox has joined #ruby
Guest92775 is now known as BLuEGoD
BLuEGoD is now known as Guest56985
futilegames has quit [Quit: futilegames]
baweaver has quit [Ping timeout: 250 seconds]
Youngmathimus0 has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
Xeago_ has joined #ruby
ldnunes has joined #ruby
aryaching has quit []
chipotle has quit [Quit: cheerio]
ocbtec has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago_ has quit [Remote host closed the connection]
Youngmathimus0 has joined #ruby
andrewvos has quit [Ping timeout: 248 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
jaiks has quit [Ping timeout: 250 seconds]
dstarh has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
krz has quit [Ping timeout: 240 seconds]
Snowy has quit [Read error: Connection reset by peer]
Snowy_ has joined #ruby
slackbotgz has joined #ruby
aryaching has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
toretore has quit [Ping timeout: 255 seconds]
matsutomo has joined #ruby
charlemagne has joined #ruby
karapetyan has joined #ruby
araujo_ has joined #ruby
araujo_ has quit [Max SendQ exceeded]
araujo_ has joined #ruby
araujo has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
eregi has joined #ruby
Snowy_ has quit [Ping timeout: 248 seconds]
jeanlinux has joined #ruby
dlitvak has joined #ruby
araujo_ has quit [Max SendQ exceeded]
c355e3b has joined #ruby
frudo has quit [Ping timeout: 250 seconds]
araujo_ has joined #ruby
araujo_ has quit [Max SendQ exceeded]
Timberwo|f has joined #ruby
mhoungbo has quit [Remote host closed the connection]
Snowy has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
eregi has quit [Ping timeout: 244 seconds]
Timberwo|f has quit [Remote host closed the connection]
Abrin has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.4]
alexherbo2 has joined #ruby
mhoungbo has joined #ruby
Abrin has quit [Ping timeout: 250 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has quit [Remote host closed the connection]
e4xit has quit [Ping timeout: 248 seconds]
<nimbu> apeiros: thanks for the help it seems I had libruby1.8 installed and also apparently mongrel_rails requires version 1.8
slackbotgz has quit [Remote host closed the connection]
charlemagne has quit [Remote host closed the connection]
slackbotgz has joined #ruby
charlemagne has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.4]
<manveru> mongrel, now that's something you don't hear every day
Insti has quit [Remote host closed the connection]
bronson has joined #ruby
mprelude_ has quit [Quit: WeeChat 1.3]
Guest56985 is now known as BLuEGoD
e4xit has joined #ruby
Cohedrin has joined #ruby
jaiks has joined #ruby
BLuEGoD is now known as Guest70540
nimbu has left #ruby [#ruby]
charlemagne has quit [Ping timeout: 240 seconds]
charlemagne has joined #ruby
<darix> blast from the past
myntcake has joined #ruby
charlemagne has quit [Remote host closed the connection]
<darix> manveru: but tbh ... parts of mongrel still live in many of the other ruby web server
<manveru> back when zed was still into ruby :)
<manveru> yeah
<manveru> it was really a big step up from webrick
charlemagne has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<manveru> and it was the first server i used to implement ramaze before rack was a thing
alexherbo2 has joined #ruby
jeanlinux has quit [Remote host closed the connection]
Shaboum has joined #ruby
<manveru> but still, nobody should be using mongrel now...
anisha has joined #ruby
lxsameer has joined #ruby
charlemagne has quit [Ping timeout: 255 seconds]
tildes has quit [Remote host closed the connection]
e4xit has quit [Ping timeout: 244 seconds]
darkf has quit [Quit: Leaving]
chouhoulis has joined #ruby
dlitvak has quit [Remote host closed the connection]
charlemagne has joined #ruby
dlitvak has joined #ruby
speaking1ode has quit [Ping timeout: 250 seconds]
e4xit has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
speaking1ode has joined #ruby
Xeago has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
charlemagne has quit [Remote host closed the connection]
charlemagne has joined #ruby
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
UtkarshRay has quit [Ping timeout: 240 seconds]
jeanlinux has joined #ruby
charlemagne has quit [Ping timeout: 244 seconds]
william3 has quit [Remote host closed the connection]
slackbotgz has quit [Remote host closed the connection]
william3 has joined #ruby
<apeiros> hm, how'd you call the "opposite" operation of padding? cutting? i.e. ensuring a string has a max length (even if that means losing part of the string)
<Papierkorb> apeiros: truncating?
<apeiros> hah! I knew there was a better word
<apeiros> yeah, truncating sounds about right
chipotle has joined #ruby
s2013 has joined #ruby
s2013 has quit [Client Quit]
eregi has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
Ebok has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
Guest70540 is now known as BLuEGoD
Bilge has quit [Ping timeout: 260 seconds]
eregi has quit [Ping timeout: 240 seconds]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
jeanlinu_ has joined #ruby
Bilge has joined #ruby
woo has joined #ruby
godzillaenlacasa has joined #ruby
jeanlinux has quit [Ping timeout: 250 seconds]
Asher has quit [Quit: Leaving.]
htmldrum has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
skade has quit [Ping timeout: 276 seconds]
sondr3 has joined #ruby
jam_ has joined #ruby
phredus has joined #ruby
charlemagne has joined #ruby
Burgestrand has joined #ruby
jam_ has quit [Ping timeout: 255 seconds]
Snowy has quit [Ping timeout: 240 seconds]
william3 has quit [Remote host closed the connection]
roshanavand has joined #ruby
jeanlinu_ has quit [Read error: No route to host]
htmldrum has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
jeanlinux has joined #ruby
johnmilton has joined #ruby
Icey has quit [Remote host closed the connection]
Icey has joined #ruby
jottr has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
hamed_r has joined #ruby
Snowy has joined #ruby
bkxd has joined #ruby
s2013 has quit [Client Quit]
htmldrum has joined #ruby
trinaldi has quit [Quit: reboot]
UtkarshRay has joined #ruby
chipotle has quit [Quit: cheerio]
momo-reina has joined #ruby
trinaldi has joined #ruby
Snowy_ has joined #ruby
matsutomo has quit [Quit: matsutomo]
s2013 has joined #ruby
sgambino has joined #ruby
chouhoulis has joined #ruby
Snowy has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
Icey has quit [Remote host closed the connection]
Xeago has joined #ruby
jokester has quit [Quit: boot and reboot]
chouhoulis has quit [Ping timeout: 248 seconds]
charlemagne has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
trinaldi has quit [Quit: brb]
duckpuppy has joined #ruby
f4cl3y has quit [Ping timeout: 240 seconds]
charlemagne has joined #ruby
trinaldi has joined #ruby
jokester has joined #ruby
dubek has quit [Ping timeout: 248 seconds]
synthroid has joined #ruby
f4cl3y has joined #ruby
gokulnath has joined #ruby
charlemagne has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has joined #ruby
william3 has joined #ruby
skade has joined #ruby
andrewvos has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has quit [Remote host closed the connection]
openstruct has joined #ruby
charlemagne has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
openstruct has quit [Read error: Connection reset by peer]
william3 has joined #ruby
openstruct has joined #ruby
openstruct has quit [Changing host]
openstruct has joined #ruby
skade has quit [Ping timeout: 240 seconds]
woo has joined #ruby
terlar has quit [Quit: WeeChat 1.4]
terlar has joined #ruby
charlemagne has quit [Remote host closed the connection]
Kang00 has joined #ruby
charlemagne has joined #ruby
dexter_ has quit [Ping timeout: 240 seconds]
eregi has joined #ruby
<darix> apeiros: "fit" would also be a good term, if you want to cover truncating and padding
rippa has joined #ruby
rdark_ has joined #ruby
veloutin_ has quit [Quit: ZNC - http://znc.in]
andrewvos has quit [Ping timeout: 255 seconds]
william3 has quit [Remote host closed the connection]
veloutin has joined #ruby
swills has quit [Ping timeout: 255 seconds]
charlemagne has quit [Ping timeout: 250 seconds]
rdark has quit [Ping timeout: 276 seconds]
mary5030 has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 240 seconds]
volty has joined #ruby
JDiPierro has joined #ruby
mdw has joined #ruby
Ebok has joined #ruby
krz has joined #ruby
steffkes_ has quit [Ping timeout: 276 seconds]
rizenine has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
niko has joined #ruby
jottr_ has joined #ruby
ElFerna has joined #ruby
askhat has joined #ruby
ElFerna has quit [Client Quit]
jottr has quit [Ping timeout: 250 seconds]
JDiPierro has quit [Remote host closed the connection]
askhat has quit [Client Quit]
SkepBrain has quit [Quit: bye bye]
andrewvos has joined #ruby
ElFerna has joined #ruby
Guest27 has joined #ruby
hxegon has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
william3 has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
niko has quit [Quit: leaving]
ramortegui has joined #ruby
niko has joined #ruby
niko has quit [Changing host]
niko has joined #ruby
niko has quit [Changing host]
niko has joined #ruby
hnagamin has joined #ruby
bronson has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
dstarh has joined #ruby
juanpablo__ has joined #ruby
dionysus69 has joined #ruby
floatingpoint has joined #ruby
Ebok has joined #ruby
gokulnath has quit [Ping timeout: 244 seconds]
B1n4r10 has joined #ruby
dexter_ has joined #ruby
Ebok has quit [Client Quit]
Ebok has joined #ruby
Ebok has quit [Client Quit]
LoneHerm_ has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
last_staff has quit [Quit: last_staff]
haylon has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
juanpablo__ has quit [Ping timeout: 240 seconds]
Ebok has joined #ruby
Snowy_ is now known as Sn0wy
momo-reina has quit [Ping timeout: 240 seconds]
<Bish> is it okay to have complex objects as constants?
timwis has joined #ruby
timwis has left #ruby [#ruby]
andrewvos has quit [Ping timeout: 255 seconds]
last_staff has joined #ruby
UtkarshRay has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
ZerGabriel has joined #ruby
<shevy> sounds unusual
<shevy> typical constant would be HAS_CHEEZE = true
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
Xeago has joined #ruby
araujo has joined #ruby
Emmanuel_Chanel_ has joined #ruby
Emmanuel_Chanel_ has quit [Read error: Connection reset by peer]
codecop has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
araujo has quit [Max SendQ exceeded]
Emmanuel_Chanel_ has joined #ruby
Emmanuel_Chanel_ has quit [Max SendQ exceeded]
ZerGabriel has left #ruby [#ruby]
Emmanuel_Chanel_ has joined #ruby
araujo has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
araujo has quit [Max SendQ exceeded]
Jardayn has joined #ruby
araujo has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
f4cl3y has quit [Ping timeout: 255 seconds]
<apeiros> Bish: perfectly fine
ta has quit [Remote host closed the connection]
araujo has quit [Max SendQ exceeded]
LoneHerm_ has quit [Remote host closed the connection]
skade has joined #ruby
<apeiros> Bish: and to contradict shevy - we have such complex objects like classes and modules commonly as constants ;-)
andrewvos has joined #ruby
araujo has joined #ruby
hnagamin has quit [Quit: さようなら]
<ljarvis> Bish: class X #=> X is a constant that's an instance of Class, which I'd say is quite complex
<ljarvis> basically what apeiros said
ciconia has joined #ruby
araujo has quit [Max SendQ exceeded]
last_staff1 has joined #ruby
araujo has joined #ruby
<Ox0dea> I imagine Bish meant lexically complex.
skade has quit [Client Quit]
dexter_ has quit [Ping timeout: 248 seconds]
allcentury has joined #ruby
juanpablo__ has joined #ruby
malconis has joined #ruby
last_staff has quit [Ping timeout: 240 seconds]
last_staff1 is now known as last_staff
mois3x has joined #ruby
<shevy> nobody uses simple constants anymore :(
araujo has quit [Max SendQ exceeded]
<volty> sure? :)
<shevy> yeah volty look above!
<Ox0dea> >> Complex::I
<ruby[bot]> Ox0dea: # => (0+1i) (https://eval.in/521824)
Abrin has joined #ruby
araujo has joined #ruby
<Ox0dea> There's a super-simple Complex constant.
krz has quit [Read error: Connection reset by peer]
ciconia has quit [Client Quit]
hnagamin has joined #ruby
Emmanuel_Chanel_ is now known as Emmanuel_Chanel
<n1colas> Hello
araujo has quit [Max SendQ exceeded]
malconis has quit [Read error: Connection reset by peer]
malconis has joined #ruby
sgambino has joined #ruby
hxegon is now known as hxegon_AFK
idefine has joined #ruby
f4cl3y has joined #ruby
platzhirsch has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
<platzhirsch> What do you use these day for a JSON-Ruby object mapping?
<platzhirsch> I want: Request.from('request.json') to return an instance of class Request :)
jottr_ has joined #ruby
nettoweb has joined #ruby
<shevy> hmm if I have: x = 'abc', what ways would I have to convert this into an array? x = [x] only ?
n1colas has quit [Quit: WeeChat 1.4]
n1colas has joined #ruby
dn5 has joined #ruby
TomPeed has joined #ruby
<manveru> shevy: many ways... but what's wrong with [x]?
<adaedra> Array.new(1, x)
<adaedra> (jk, use [x])
<ddv> %w(abc)
<shevy> manveru not sure yet, nothing probably but I have a file specification for ensuring that some entries are always in a specific format; e. g. integer string array etc.., now I wonder how to automatically apply/enforce it (and also offer a way to automatically convert it)
hnagamin has quit [Ping timeout: 244 seconds]
<adaedra> automatic parameter type conversion is yuck.
last_staff has quit [Quit: last_staff]
<manveru> like json schema?
jottr_ is now known as jottr
<manveru> anw, i'd be very strict about it, and call #to_ary just to be an ass
eregi has joined #ruby
JDiPierro has joined #ruby
fontain has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
<Bish> apeiros: you got a point there
william3 has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 248 seconds]
fullofcaffeine has joined #ruby
<dn5> Whats the reason this code result in error: no implicit conversion of string into integer: https://gist.github.com/dn5/03354cd7ede087754e90
<dn5> the API returns JSON
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
B3rg3lm1r has joined #ruby
kies^ has quit [Ping timeout: 240 seconds]
B3rg3lm1r has quit [Max SendQ exceeded]
<Ox0dea> &ri abort @dn5
william3 has joined #ruby
<Bish> Ox0dea: hi, i missed you
<Ox0dea> I missed you too, Bish. <3
william3 has quit [Remote host closed the connection]
<Bish> really? how comes, i literally never helped you
william3 has joined #ruby
skade has joined #ruby
<Ox0dea> I bet you did.
<Bish> unlike you, who helped me atleast 1miox times
<dn5> Ox0dea: I understand what abort method does, but it should output the value from returned json
<dn5> and not throwing me an error
<Ox0dea> dn5: And what kind of value is that?
<dn5> string
<Ox0dea> For a certainty?
<Ox0dea> Oh, right, I know what's happening.
chouhoulis has joined #ruby
<Ox0dea> You're indexing into an Array with a String.
<Bish> dn5: (guess) maybe one thingy inside the json might become an array, while you're trying to access it with a string as a key
<Ox0dea> ^_^
<manveru> thx for the api key :)
<manveru> i'm gonna use that everywhere now
rdark_ has quit [Quit: leaving]
rdark has joined #ruby
<dn5> Ox0dea: whats the catch? Bish: Possibly
<Ox0dea> dn5: Bish and I gave the same prognosis.
hnagamin has joined #ruby
maikowblue has joined #ruby
<Bish> atleast once i am as clever as you Ox0dea
<Bish> what do you do for work Ox0dea ?
charlemagne has joined #ruby
<Ox0dea> In a nutshell, I process insurance claims.
<dn5> Ox0dea: Yeah, I get it, but how do I access that value then?
<Ox0dea> dn5: It'll depend on what the API is actually giving you.
<Bish> Ox0dea: like by hard? or you write computer programs who do that
<Ox0dea> Bish: A mix of the two, of course.
<Bish> sounds boring, hope they pay you well, well what job isn't boring, right?
skade has quit [Ping timeout: 255 seconds]
<Ox0dea> So much of the human component has gone out of it in recent years, but the robots aren't generally intelligent just yet. :)
akem has joined #ruby
jam_ has joined #ruby
<Ox0dea> dn5: "weatherDesc" is an Array.
<Ox0dea> You'll have to say `...['weatherDesc'][0]['value']`. :/
saneax is now known as saneax_AFK
JDiPierro has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 244 seconds]
charlemagne has quit [Ping timeout: 240 seconds]
<dn5> Ox0dea: Ahhhh, I see. The current_condition is also an array, so I missed [0] there too
<dn5> Thank you.
<Ox0dea> dn5: Happy to help.
<Ox0dea> Do consider Hash#dig if you're on 2.3.
hxegon_AFK has quit [Quit: BRB]
jam_ has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
hxegon has joined #ruby
polishdub has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
jaiks has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 244 seconds]
Kang00 has quit [Ping timeout: 244 seconds]
Renich has joined #ruby
treehug88 has joined #ruby
JDiPierro has joined #ruby
justbleed has joined #ruby
askhat has joined #ruby
codecop has joined #ruby
mark1 has quit [Read error: Connection reset by peer]
Kang00 has joined #ruby
rodfersou is now known as rodfersou|lunch
babblebre has joined #ruby
chipotle has joined #ruby
TomPeed has quit [Ping timeout: 240 seconds]
tvon has quit [Quit: tvon]
zotherstupidguy has joined #ruby
<zotherstupidguy> what you use for testing REST api?
awe__ has joined #ruby
awe__ has quit [K-Lined]
freerobby has joined #ruby
chthon has quit [Quit: Ex-Chat]
Kang00 has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
<ddv> zotherstupidguy: rspec
s2013 has joined #ruby
<havenwood> zotherstupidguy: minitest
skade has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
awe__ has joined #ruby
fullofcaffeine has joined #ruby
kmckelvin has joined #ruby
zacstewart has joined #ruby
malcolmva has quit [Ping timeout: 268 seconds]
lxsameer has quit [Quit: Leaving]
justbleed has quit [Ping timeout: 240 seconds]
kmckelvi1 has quit [Read error: Connection reset by peer]
arthurl has joined #ruby
karapetyan has quit [Remote host closed the connection]
f4cl3y has quit [Ping timeout: 244 seconds]
karapetyan has joined #ruby
akem has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
<manveru> rack-test
akem has joined #ruby
duckpupp1 has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
chthon has joined #ruby
akem has quit [Remote host closed the connection]
whippythellama has joined #ruby
chthon has left #ruby [#ruby]
<manveru> that's the one, i use it with bacon :)
<havenwood> i've used it with Minitest!
<havenwood> mmm bacon
nofacade has joined #ruby
<manveru> way tastier than minitestt
<manveru> though sometimes i feel i'm the only one still using it
B3rg3lm1r has joined #ruby
<havenwood> I use neither vegetables nor meats when testing.
x77686d has joined #ruby
<havenwood> Yeah, bacon seemed nice.
akem has joined #ruby
B3rg3lm1r has quit [Client Quit]
<manveru> "minitest is 98% more popular than bacon"...
<manveru> oh well
<havenwood> ships with Ruby!
<havenwood> and spec mode
<manveru> and it's _not_ Test::Unit
<havenwood> I tend to use the spec style of Minitest except with the unit style asserts. :O
<havenwood> ljarvis style ;)
<havenwood> (if i recall)
<havenwood> I've been surprised a few times seeing others do just that.
melter has joined #ruby
<hanmac> havenwood: had you time to checkout my game_data stuff yet?
<havenwood> hanmac: I still have the tab open!
<havenwood> hanmac: But no, yesterday was crazy and my brain hasn't woken up yet today.
B1n4r10 has quit [Ping timeout: 240 seconds]
<ljarvis> :)
dangeranger has joined #ruby
VeryBewitching has joined #ruby
malcolmva has joined #ruby
<ljarvis> minitest/spec blocks with assert_* methods = winning
<havenwood> ayup!
<VeryBewitching> G'day folks.
<havenwood> VeryBewitching: g'morn'n
<VeryBewitching> TGIF
akem has quit [Read error: Connection reset by peer]
<manveru> VeryBewitching: g'm'n
pawnbox has quit [Remote host closed the connection]
<ljarvis> g'
<havenwood> hanmac: looking now over coffee
Macaveli has joined #ruby
akem has joined #ruby
sankaber has joined #ruby
<havenwood> the tabs, they burn my eyes!
<havenwood> githubs need a two-space tab mode
* havenwood resigns to clone the repo
<hanmac> yeah ... i prefer tabs for my files, but it does look shitty on github
tvon has joined #ruby
mdw has joined #ruby
<ljarvis> yeah that's so hard to read
mdw has quit [Client Quit]
tekk has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
sankaber has quit [Remote host closed the connection]
<ljarvis> nice
sankaber has joined #ruby
<manveru> well, wtf
<manveru> github actually _sets_ tab-size: 8
<adaedra> there are userstyles that allow to change that
<manveru> yeah
<manveru> but they have a tab-size class in their CSS... so you have to target their tags specifically
dlitvak has quit [Remote host closed the connection]
fullofcaffeine has quit [Remote host closed the connection]
* adaedra whistles "!important"
<manveru> :D
<havenwood> manveru: nice
<adaedra> srsly
<ljarvis> aha
infra-red has quit [Remote host closed the connection]
<adaedra> TIL
<hanmac> wtf i didnt know about that ts=2 parameter oO XD
karapetyan has quit [Remote host closed the connection]
eregi has joined #ruby
B3rg3lm1r has joined #ruby
<darix> hanmac: # vim: set sw=2 sts=2 et tw=80 :
B3rg3lm1r has quit [Max SendQ exceeded]
* hanmac is not using vim
<ljarvis> ENJOY
KensoDev has joined #ruby
<darix> ts=28 doesnt work
<darix> 20 neither
<adaedra> 666 neither
<ljarvis> yeah I picked the highest it would go
<ljarvis> I should have pointed that out
<ljarvis> so ya'll couldn't 1-up me
f4cl3y has joined #ruby
IanMalcolm has quit [Max SendQ exceeded]
karapetyan has joined #ruby
decoponio has joined #ruby
zacstewart has quit [Quit: leaving]
IanMalcolm has joined #ruby
IanMalcolm has quit [Max SendQ exceeded]
zast has joined #ruby
IanMalcolm has joined #ruby
eregi has quit [Ping timeout: 255 seconds]
<manveru> wonder if tmm1 is still on irc
<havenwood> no ts=0 support, what hte heck?
polishdub has quit [Quit: Leaving]
IanMalcolm has quit [Max SendQ exceeded]
einarj has quit [Remote host closed the connection]
<adaedra> negative ts.
IanMalcolm has joined #ruby
<havenwood> ts=3 in honor of lua
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TomPeed has joined #ruby
cdg has joined #ruby
dlitvak has joined #ruby
speaking1ode has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
j2k has quit [Quit: bai]
s2013 has joined #ruby
j2k has joined #ruby
yardenbar has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Remote host closed the connection]
dopamean_ has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Remote host closed the connection]
zackzorman has joined #ruby
futilegames has joined #ruby
chouhoulis has joined #ruby
IanMalcolm has quit [Quit: ZNC 1.6.1 - http://znc.in]
ElFerna has quit [Ping timeout: 244 seconds]
IanMalcolm has joined #ruby
jayne has quit [Changing host]
jayne has joined #ruby
gokulnath has joined #ruby
anisha has quit [Quit: Leaving]
mois3x has quit [Quit: mois3x]
eregi has joined #ruby
arthurl has left #ruby ["Textual IRC Client: www.textualapp.com"]
futilegames has quit [Quit: futilegames]
j2k has quit [Quit: bai]
arlek has joined #ruby
<EdwardIII> am i going nuts, or do i recall seeing error classes nested inside the classes that throw them sometimes?
<EdwardIII> maybe in rails?
MindfulMonk has joined #ruby
thomas has joined #ruby
eregi has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
yardenbar has joined #ruby
j2k has joined #ruby
TomPeed has quit [Read error: Connection reset by peer]
jimcroft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
futilegames has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
r4z3r has quit [Max SendQ exceeded]
dopamean_ has joined #ruby
r4z3r has joined #ruby
TomPeed has joined #ruby
<EdwardIII> hrm the website says "The current stable version is 2.3.0" but rbenv says it's gotta be 2.3.0-dev or rbx-2.3.0
andrewvos has quit [Ping timeout: 244 seconds]
futilegames has quit [Client Quit]
athemeus has joined #ruby
<EdwardIII> what's rbx?
<havenwood> EdwardIII: Rubinius.
<EdwardIII> so there's no 2.3.x support in cruby yet?
<havenwood> EdwardIII: Huh?
<EdwardIII> ruby mri rather?
nogic has joined #ruby
<adaedra> o_O
<EdwardIII> just trying to figure out what i should to do get 2.3
<adaedra> ruby 2.3.0 has been out for a long time now
<EdwardIII> so i can use .dig
<havenwood> EdwardIII: The latest stable version of Ruby is 2.3.0. CRuby (MRI now called YARV) is the reference implementation.
<athemeus> Has anyone ever seen ArgumentError specify that it was given a *negative* number of arguments?
ixti has quit [Quit: WeeChat 1.4]
<athemeus> specifically of the form "ArgumentError: wrong number of arguments (-2 for 2)"
nogic has quit [Max SendQ exceeded]
<adaedra> Maybe you want to update your rbenv, EdwardIII.
<EdwardIII> so... just go for rbx-2.3.0 and be happy?
<EdwardIII> ok, lemme try that
<havenwood> EdwardIII: Nope!
aganov has quit [Remote host closed the connection]
Sucks has joined #ruby
nogic has joined #ruby
<havenwood> EdwardIII: The latest Rubinius is rbx-3.1.4, but sounds like you want ruby-2.3.0.
polishdub has joined #ruby
nogic has quit [Max SendQ exceeded]
dexter_ has joined #ruby
nogic has joined #ruby
albedoa has joined #ruby
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
vbatts|work has left #ruby ["found the other side of the rainbow"]
<EdwardIII> hrm this is odd
<havenwood> 3.14*
nogic has quit [Max SendQ exceeded]
<adaedra> pi*
ixti has joined #ruby
<havenwood> adaedra: or the latest version 2 is: 2.71828182
nogic has joined #ruby
<EdwardIII> i did cd ~/.rbenv && git pull, all is well, but rbenv install 2.3.0 still only shows that same output
<havenwood> EdwardIII: rbenv uses its tool ruby-build to install Rubies
nogic has quit [Max SendQ exceeded]
<albedoa> experiencing a weird problem. if i `puts line.count('\t')` it puts the number of tabs, but if i `if line.count('\t') == 0` it acts on every line. anyone know what i could be doing wrong?
<EdwardIII> so i need to upgrade ruby-build?
<havenwood> adaedra: actually is ^
nogic has joined #ruby
mondok has joined #ruby
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> albedoa: '\t' != "\t"
nogic has quit [Max SendQ exceeded]
<adaedra> EdwardIII: some people would tell you you need to ditch rbenv and switch to chruby + ruby-install :p
<albedoa> havenwood weeeeeird okay thanks
<havenwood> EdwardIII: You can always: ruby-install --latest ruby
nogic has joined #ruby
<albedoa> havenwood why is it put'ing the tab count when i `puts line.count('\t')` ?
nogic has quit [Max SendQ exceeded]
<havenwood> EdwardIII: But if you wanted to stick with rbenv you could use ruby-install to install for it or update the ruby-build tool which rbenv is entangled with
eregi has joined #ruby
nogic has joined #ruby
<EdwardIII> find ~/.rbenv/ -name ruby-install # -bash: ruby-install: command not found
<EdwardIII> i don't seem to have it?
nogic has quit [Max SendQ exceeded]
william3 has quit [Remote host closed the connection]
<EdwardIII> something fishy going on?
<havenwood> EdwardIII: Yeah, rbenv ships ruby-build not ruby-intall.
<havenwood> EdwardIII: Nothing fishy.
<ljarvis> albedoa: count('\t') counts the total occurences of the letter t
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
<ljarvis> albedoa: so, it doesn't count tabs as you want. As havenwood mentioned, you want "\t" for that
<EdwardIII> ruby-build: definition not found: install ?
nogic has joined #ruby
<albedoa> ljarvis ha! i'm an idiot, thanks
<havenwood> EdwardIII: To reiterate, if you want to use rbenv's tool for installing Rubies you'll want to update ruby-build. You can use a different tool, ruby-install, by the author of chruby to install for rbenv but it's not what rbenv ships. In case you wonder: ruby-install > ruby-build
<albedoa> ljarvis i had just assumed the numbers i was seeing were tab counts
<EdwardIII> ok screw it, i'll switch to chruby
<albedoa> thanks havenwood too
nogic has quit [Max SendQ exceeded]
<ljarvis> albedoa: :)
fullofcaffeine has joined #ruby
nogic has joined #ruby
frem has joined #ruby
nogic has quit [Max SendQ exceeded]
<EdwardIII> hrm chruby requires global installation?
<havenwood> EdwardIII: you can put it where you please
* EdwardIII brews away
pdoherty has joined #ruby
nogic has joined #ruby
<EdwardIII> rbenv seemed nice, like perls' local::lib
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
akem has quit [Remote host closed the connection]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
kies^ has joined #ruby
bruce__lee has quit [Changing host]
bruce__lee has joined #ruby
maikowblue has quit [Quit: .]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
<manveru> nix ftw :)
<manveru> and hi again
SCHAAP137 has quit [Remote host closed the connection]
Rodya_ has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
x77686d has quit [Quit: x77686d]
nogic has quit [Max SendQ exceeded]
tildes has joined #ruby
Rodya_ has quit [Remote host closed the connection]
volty has quit [Quit: Konversation terminated!]
htmldrum has quit [Ping timeout: 250 seconds]
dangeranger has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<EdwardIII> manveru: hey
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
<EdwardIII> chruby makes noises about maglev
nogic has quit [Max SendQ exceeded]
william3 has joined #ruby
<EdwardIII> maglev looks cool, probably not very practical for real-life webapps i guess heh
trinaldi has quit [Quit: restarting]
athemeus has left #ruby [#ruby]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
KensoDev has quit [Quit: Textual IRC Client: www.textualapp.com]
trinaldi has joined #ruby
<manveru> do they still charge for maglev?
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
htmldrum has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
<EdwardIII> "MagLev itself (the Ruby & Smalltalk source released on Github) is free and open source."
<EdwardIII> i'd love to know what david west makes of ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
yardenbar has quit [Ping timeout: 240 seconds]
<manveru> maglev needs gemstone/s
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
<EdwardIII> ah ok
<manveru> 8 cores for $120k
mois3x has joined #ruby
<manveru> that's why smalltalk is dead :P
nogic has joined #ruby
<EdwardIII> heh old-school licensing
nogic has quit [Max SendQ exceeded]
<EdwardIII> per-core, very enterprise
nogic has joined #ruby
codecop has quit [Remote host closed the connection]
<manveru> yeah
nogic has quit [Max SendQ exceeded]
<manveru> i guess it's nice for playing around, but really nothing i'd want to build my business on
<EdwardIII> one thing, the idea of everything being completed integrated, your ide, your toolchain, your interpreter everything doesn't seem very "do one thing well"
nogic has joined #ruby
<bougyman> zup manveru
<manveru> bougyman: hoi
nogic has quit [K-Lined]
william3 has quit [Ping timeout: 276 seconds]
symm- has joined #ruby
<manveru> EdwardIII: smalltalk was invented before "do one thing well" was a thing
fullofcaffeine has quit [Remote host closed the connection]
htmldrum has quit [Ping timeout: 255 seconds]
lubekpl has joined #ruby
nogic has joined #ruby
<manveru> and it does one thing well: message passing
nogic has quit [Max SendQ exceeded]
<EdwardIII> manveru: wasn't "do one thing" a unix thing?
nogic has joined #ruby
devbug has joined #ruby
nogic has quit [Max SendQ exceeded]
davedev24 has joined #ruby
nogic has joined #ruby
openstruct has quit []
nogic has quit [Max SendQ exceeded]
<manveru> not sure how prevalent unix was at xerox
openstruct has joined #ruby
openstruct has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
rodfersou|lunch is now known as rodfersou
<EdwardIII> but doesn't unix predate smalltalk?
nogic has joined #ruby
KensoDev has joined #ruby
nogic has quit [K-Lined]
wprice has joined #ruby
ss_much has joined #ruby
sneakerhax has quit [Quit: back later]
denym_ is now known as zz_denym_
nogic has joined #ruby
terminalrecluse has joined #ruby
nogic has quit [Max SendQ exceeded]
<EdwardIII> chruby and 2.3.0 working well, thanks guys!
crowell has quit [Ping timeout: 240 seconds]
<manveru> wonder what year that phrase was coined
nogic has joined #ruby
nogic has quit [K-Lined]
<havenwood> manveru: guy fawkes?
<EdwardIII> hrm, now i need to get bundler going heh
<havenwood> manveru: oh, "do one thing," gotcha
devbug has quit [Ping timeout: 240 seconds]
<manveru> :P
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
<havenwood> EdwardIII: gem install bundler
crankharder has quit [Remote host closed the connection]
<EdwardIII> tbh, when ever this comes up in discussion usually people point to unix pipes and the conversion ends there
nogic has joined #ruby
nogic has quit [K-Lined]
<EdwardIII> the conversation never seems to be about real stuff you use every day
crowell has joined #ruby
<EdwardIII> like irssi
charlemagne has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
<EdwardIII> ok, i use unix pipes every day too, but i wouldn't say it's got the same amount of work to do as an actual program
<manveru> quote seems to be from a book from mc ilroy from 1978
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
<manveru> and smalltalk was first released 1972
<manveru> so i think my timeline is kinda right
nogic has joined #ruby
nogic has quit [K-Lined]
<manveru> not to mention that such publications would've taken quite some time to be widely known back then
gizmore has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
awe__ has quit [Quit: awe__]
<EdwardIII> funny, i didn't think that would be the case
nogic has joined #ruby
<manveru> anyway, >> The first version, known as Smalltalk-71, was created by Kay in a few mornings on a bet that a programming language based on the idea of message passing inspired by Simula could be implemented in "a page of code."<<
kmckelvin has quit [Ping timeout: 276 seconds]
<EdwardIII> would it be very stupid to say there are some similarities between unix pipes & message passing?
dangeranger has joined #ruby
<manveru> from far away... they're not that different
<manveru> both are used for communcation and late binding
<EdwardIII> i guess pipes are about sending data, whereas message passing is about sending a message
nogic has quit [K-Lined]
htmldrum has joined #ruby
stannard_ has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
nofacade has quit [Ping timeout: 240 seconds]
platzhirsch has quit [Quit: Leaving.]
Shaboum has quit [Ping timeout: 250 seconds]
<manveru> bougyman: how's life at the big bookstore?
<bougyman> moving fast.
<bougyman> I like fast.
<manveru> :)
<bougyman> I wish I could hire some people, that's my only blocker now.
yardenbar has joined #ruby
beanHolez has joined #ruby
nogic has joined #ruby
<bougyman> I need people in singapore, dublin, virginia, and seattle
krz has joined #ruby
stannard has quit [Ping timeout: 240 seconds]
<daxroc> Hey all how do I test the output of a puts in a raise .. I've tried expect{parser.set_uri(invalid_uri)}.to output("Error").to_stdout
<slash_nick> virginia?
nogic has quit [Max SendQ exceeded]
<EdwardIII> dublin?
<EdwardIII> are you working for THAT big bookstore?
idefine has quit [Remote host closed the connection]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
dionysus69 has joined #ruby
haylon has quit [Read error: Connection reset by peer]
nogic has joined #ruby
nogic has quit [K-Lined]
htmldrum has quit [Ping timeout: 244 seconds]
Burgestrand has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
pdoherty has quit [Ping timeout: 240 seconds]
aufi has quit [Quit: Konversation terminated!]
<manveru> daxroc: why would you do that?
bb010g has quit [Quit: Connection closed for inactivity]
<manveru> just rescue the error and check its message
nogic has joined #ruby
jam_ has joined #ruby
aryaching has joined #ruby
nogic has quit [Max SendQ exceeded]
<manveru> also raises won't go to stdout, they are stderr afaicr
FilipeChagas has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
FilipeChagas has quit [Client Quit]
maletor has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
beanHolez has quit [Remote host closed the connection]
<Papierkorb> daxroc: Why don't you use expect{ ... }.to raise_error MyError, /roughly the expected error message/
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
rdark has quit [Ping timeout: 255 seconds]
nogic has joined #ruby
blandflakes has joined #ruby
Rodya_ has joined #ruby
nogic has quit [K-Lined]
haylon has joined #ruby
jam_ has quit [Ping timeout: 250 seconds]
kies^ has quit [Ping timeout: 255 seconds]
MindfulMonk has quit [Ping timeout: 255 seconds]
jhill__ is now known as jhill
<EdwardIII> hrm, am i being dumb? i'm just trying to search for a key that could occur at any level in a nested datastructure for of all kinds of stuff
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<EdwardIII> dig doesn't DWIM
nfk has joined #ruby
<daxroc> Papierkorb: Doesn't seem to get raised but does when I execute it
<EdwardIII> .find { |h| h.has_key?... chokes if it stumbles on an array
troulouliou_div2 has joined #ruby
<daxroc> *testing with expect{parser.set_uri(invalid_uri)}.to raise_error URI::InvalidURIError
william3 has joined #ruby
nogic has joined #ruby
htmldrum has joined #ruby
nogic has quit [K-Lined]
gokulnath has quit [Ping timeout: 255 seconds]
<Papierkorb> daxroc: Then it's not being raised. (And set_X isn't really ruby-ish. That'd be 'X=')
MindfulMonk has joined #ruby
nogic has joined #ruby
karapetyan has quit [Ping timeout: 248 seconds]
nogic has quit [Max SendQ exceeded]
baweaver has joined #ruby
kies^ has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
gokulnath has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
Rodya_ has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
nogic has joined #ruby
woo has joined #ruby
nogic has quit [K-Lined]
idefine has quit [Remote host closed the connection]
<EdwardIII> kinda thought there might be something like this builtin? https://gist.github.com/EdwardIII/b09fd10ca441d224adce
<daxroc> Papierkorb: thanks ... was an issue with the input data ... pfft pebcak !
Xeago has quit [Remote host closed the connection]
pdoherty has joined #ruby
<Papierkorb> daxroc: Meaning your code works as expected. Excellent. :)
baweaver has quit [Ping timeout: 276 seconds]
* daxroc call self.pat_self_on_back
rdark has joined #ruby
rdark has joined #ruby
zotherstupidguy has quit [Ping timeout: 240 seconds]
<bougyman> slash_nick EdwardIII: yes and yes.
<slash_nick> bougyman: might be interested in the dublin position... think you'll still need folks after the US presidential elections?
<bougyman> slash_nick: sure.
davedev24 has quit [Remote host closed the connection]
<EdwardIII> hehe
einarj has joined #ruby
<EdwardIII> that question raises yet more questions for me
<EdwardIII> is it because slash_nick can't jobhunt until the elections are finished? or that aws will be firing all their staff after the elections?
<manveru> his job is probably helping in the election
<manveru> or sabotaging it
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
marxarelli has joined #ruby
<EdwardIII> works in tech, must be liberal, can't be hillary, must be working for bernie mev
<manveru> either way he'll have to commit seppku if trump wins
<EdwardIII> hahaha
marxarelli is now known as marxarelli|afk
karapetyan has joined #ruby
<slash_nick> manveru: or run off to dublin :)
htmldrum has quit [Ping timeout: 244 seconds]
mostlybadfly has joined #ruby
<manveru> there's always that :)
idefine has joined #ruby
<slash_nick> where the h's are haches
Sn0wy has quit [Remote host closed the connection]
htmldrum has joined #ruby
<adaedra> go to dublin to drink to death, right?
dhollinger has joined #ruby
beanHolez has joined #ruby
idefine has quit [Remote host closed the connection]
<EdwardIII> i'm in england, but i've never been to dublin
<EdwardIII> used to live just across the water
<EdwardIII> and the h's are aiches!
marxarelli|afk has quit [Remote host closed the connection]
marxarelli has joined #ruby
<adaedra> there's water all around England, so this is not really giving useful info.
<slash_nick> adaedra: dublin my alcohol intake, y'mean?
beanHolez has quit [Remote host closed the connection]
<adaedra> :D
shredding has quit [Ping timeout: 250 seconds]
s2013 has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
[Butch] has joined #ruby
william3 has quit [Remote host closed the connection]
s2013 has quit [Client Quit]
krz has quit [Ping timeout: 240 seconds]
B1n4r10 has joined #ruby
<EdwardIII> well i lived in wales
<EdwardIII> near the fishguard ferryport
<EdwardIII> but none of that is useful anyway
beanHolez has joined #ruby
kies^ has quit [Ping timeout: 276 seconds]
blackms has quit [Quit: Leaving]
Rodya_ has joined #ruby
dexter_ has quit [Quit: WeeChat 1.3]
bkxd has joined #ruby
beanHolez has quit [Remote host closed the connection]
B1n4r10 has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
pawnbox has joined #ruby
amclain has joined #ruby
DEA7TH has joined #ruby
tjohnson has joined #ruby
5EXAAE7KY has quit [Quit: Textual IRC Client: www.textualapp.com]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 255 seconds]
atmosx has quit [Quit: This is aparting message!]
nettoweb has joined #ruby
solars has quit [Ping timeout: 240 seconds]
Keltia has quit [Changing host]
Keltia has joined #ruby
symm- has joined #ruby
f4cl3y has quit [Ping timeout: 240 seconds]
stannard_ has quit [Remote host closed the connection]
sgambino has joined #ruby
einarj has quit [Remote host closed the connection]
pglombardo has joined #ruby
BTRE has quit [Ping timeout: 248 seconds]
sneakerhax has joined #ruby
ESpiney has quit [Ping timeout: 248 seconds]
finisherr has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
HalcyonicStorm has joined #ruby
Sucks has quit [Quit: No Ping reply in 180 seconds.]
Xeago has joined #ruby
Marsupermammal has joined #ruby
Marsupermammal has quit [Client Quit]
Sucks has joined #ruby
kies^ has joined #ruby
JDiPierro has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
htmldrum has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
eregi has quit [Ping timeout: 248 seconds]
htmldrum has joined #ruby
<EdwardIII> heh ok this is kinda funny: https://gist.github.com/EdwardIII/56d2883e419f4f633239
joonty has quit [Ping timeout: 276 seconds]
<EdwardIII> is it a hash, ruby? "no". ok, what is it then, ruby? "it's a hash, boss"
maletor has quit [Quit: Computer has gone to sleep.]
<EdwardIII> ahhhhh
<EdwardIII> i broke it with my module naming
<EdwardIII> Hash is Api::CoreExtensions::Hash, not ::Hash
gokul_ has joined #ruby
<EdwardIII> is the lesson here "don't name things after things that already exist"?
joonty has joined #ruby
_ht has joined #ruby
stannard has joined #ruby
mois3x has quit [Quit: mois3x]
BTRE has joined #ruby
gokulnath has quit [Ping timeout: 248 seconds]
william3 has quit [Remote host closed the connection]
eregi has joined #ruby
<shevy> EdwardIII you guard fish??
<EdwardIII> shevy: not any more
<shevy> yeah same names can be confusing
<shevy> module Foo; class Foo
* EdwardIII (congratulations, you doxed yourself)
william3 has joined #ruby
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
<EdwardIII> i guess this is a risk of autoloading rather than having to be explicit
<shevy> you mean autoload?
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
<EdwardIII> well whatever rails does at startup that means all constants/class names are accessible everywhere
fullofcaffeine has joined #ruby
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
B1n4r10 has joined #ruby
<yxhuvud> almost everywhere. At least in previous versions it has been possble to get circular dependencies that make the autoloader crap out or not load everything.
william3 has quit [Ping timeout: 276 seconds]
asprillia has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
htmldrum has quit [Ping timeout: 244 seconds]
<yxhuvud> the latter case was the most fun. half a file simply didn't load.
pdoherty has quit [Ping timeout: 240 seconds]
MindfulM_ has joined #ruby
<shevy> huh
<shevy> half a file? hehehe
malconis has joined #ruby
joonty has quit [Ping timeout: 276 seconds]
<yxhuvud> Yes. I have no idea how that happened.
htmldrum has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
<yxhuvud> except it disappeared when I removed the circular dependency.
pandaant has joined #ruby
myntcake has quit [Ping timeout: 240 seconds]
MindfulMonk has quit [Ping timeout: 240 seconds]
scottrobarts has joined #ruby
askhat has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030 has joined #ruby
idefine has quit [Remote host closed the connection]
Dakota-choad has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
mary5030 has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
askhat has joined #ruby
idefine has joined #ruby
mary5030 has joined #ruby
sepp2k has quit [Quit: Leaving.]
idefine has quit [Remote host closed the connection]
<shevy> lol
scottrobarts has quit [Quit: ChatZilla 0.9.92 [Firefox 44.0.1/20160205155049]]
sgambino has joined #ruby
PaulCapestany has quit [Quit: .]
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
htmldrum has quit [Ping timeout: 244 seconds]
pglombardo has quit []
pglombardo has joined #ruby
htmldrum has joined #ruby
PaulCapestany has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
Alayde has joined #ruby
lubekpl has quit [Ping timeout: 255 seconds]
Alayde has left #ruby [#ruby]
idefine has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
htmldrum has quit [Ping timeout: 244 seconds]
myntcake has joined #ruby
ricer2 has quit [Remote host closed the connection]
bronson has joined #ruby
htmldrum has joined #ruby
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
woo has joined #ruby
baweaver has joined #ruby
beanHolez has joined #ruby
DmitryBochkarev has joined #ruby
idefine has quit [Remote host closed the connection]
beanHolez has quit [Remote host closed the connection]
beanHolez has joined #ruby
ElFerna has joined #ruby
ricer2 has joined #ruby
speaking1ode has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
sgambino has joined #ruby
davedev24 has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
baweaver has quit [Ping timeout: 250 seconds]
htmldrum has joined #ruby
Tref has joined #ruby
davedev24 has quit [Ping timeout: 240 seconds]
evidex has quit [Quit: Lost terminal]
<Tref> hey guys, given an array of any size is there a way to find the first record matching a particular attribute in O(1) notation
<Tref> for example an array of users with attributes [first_name, last_name, phone, email]
<Tref> technically, an array of ruby objects
<Tref> or an array of arrays, which should have the same answer I believe
xrlabs has joined #ruby
<Papierkorb> tref: Without any guarantees and other things you'll end up with O(n)
beanHolez has quit [Remote host closed the connection]
Eiam has joined #ruby
beanHolez has joined #ruby
<Tref> Papierkorb: thanks, can you be more specific about what you mean by “guarantees and other things"
<Tref> Im being asked to do this as an assignment but I dont think there is a way to do it
<Papierkorb> tref: if possible, sorting it and doing a binary search would yield O(log n) which should usually be good enough.
<yxhuvud> tref: not with only an array. You can create an index for the attribute in question but that requires setup and more memory.
<Papierkorb> tref: as yxhuvud said, you can always trade memory load for cpu load. There's no free lunch to get when it comes to optimizations :)
dlitvak has quit [Remote host closed the connection]
minimalism has joined #ruby
<Tref> yxhuvud: are you referring to a database index?
<Papierkorb> tref: Another method could involve using bloom filters. But not to speed up searching, but rather to /guess/ if searching is even worth it. Also quite complex to set up.
pglombardo has quit [Remote host closed the connection]
<Tref> these records are coming from a csv file so there can’t be any indexing
dlitvak has joined #ruby
<Papierkorb> tref: How many rows are you faced with?
<yxhuvud> well, in this case the simplest way would be to have a hash with the attribute values matched to the objects.
<Tref> im beginning to think theres an issue with the wording of the question
JDiPierro has joined #ruby
<yxhuvud> but it gets complicated really fast
<Papierkorb> ^
<shevy> keep things simple!
<Papierkorb> yxhuvud: how boring to use language features :P
<Tref> Papierkorb: there are a variable amount of rows
Xeago has quit [Remote host closed the connection]
welovfree has joined #ruby
<Papierkorb> tref: How many? a million? Ten million? Beyond that?
<Tref> that’s the purpose of the exercise
<welovfree> Hello guys
<yxhuvud> tref: do you need to look up arbitrary attributes or the same every time?
<Tref> heres the original question
stannard has quit [Remote host closed the connection]
Deck` has quit [Ping timeout: 276 seconds]
<Tref> specifically: there should be a method that allows # finding a single contact by email address in O(1) time.
mhoungbo has quit [Ping timeout: 240 seconds]
<Papierkorb> tref: Hash lookups have AFAIK take armotized O(1) time to do their job
beanHolez has quit [Remote host closed the connection]
<Tref> Papierkorb: let me post my entire code
juanpablo__ has quit [Quit: (null)]
<Papierkorb> tref: So, as yxhuvud mentioned, use a Hash with the e-mail as key and the record as value.
stannard has joined #ruby
<Papierkorb> tref: please also answer [19:08] <yxhuvud> tref: do you need to look up arbitrary attributes or the same every time?
<Tref> Papierkorb: arbitrary
beanHolez has joined #ruby
<welovfree> After reading "Eloquent Ruby" do I have what's required to start "Ruby on Rails by Michael Hartl"?
<Papierkorb> tref: Looks like the client only is interested in doing quick e-mail lookups, not in "everything" fast lookups.
<Tref> there’s my entire code thus far
<Tref> welovfree: that’s a pretty arbitrary question
<Tref> welovfree: if you can read technically you have whats required
<Tref> welovfree: required to what?
<welovfree> tref, what do you mean?
troulouliou_div2 has quit [Ping timeout: 265 seconds]
<Papierkorb> tref: build a poor-mans index using a Hash, mapping from the e-mail address to the Contact record. When looking up by e-mail, use that hash.
Guest44880 is now known as olspookishmagus
kirillzh has joined #ruby
Dimik has joined #ruby
x77686d has joined #ruby
<Papierkorb> tref: @email_index = @contacts.group_by(&:email)
<Tref> Papierkorb: that means I would have to create some kind of “primary key” for the original records and use that as the reference to the original?
<welovfree> tref, did you understand my question?
Rasi has quit [Quit: WeeChat 1.4]
<Tref> welovfree: yeah Im asking you the same thing though. What do you mean by “have whats required”
<welovfree> tref, because someone here on this channel recommended Eloquent Ruby if I don't have any experience whit Ruby
Rasi has joined #ruby
<welovfree> tref, before reading that other book by Michael Hartl
<Tref> ok, well there are a number of books you can read before diving into rails
<Tref> Papierkorb: let me try this out
tomaw has quit [Quit: Quitting]
<welovfree> tref, I can or I should read
davedev24 has joined #ruby
beanHolez has quit [Remote host closed the connection]
pglombardo has joined #ruby
<Papierkorb> tref: I can't guarantee you that Hash#[] is (amortized) O(1) though. I just know that's really fast based on benchmarks I did some months ago when I faced similar (albeit real-world) problems
rakm has joined #ruby
jeanlinux has quit [Remote host closed the connection]
tomaw has joined #ruby
pglombar_ has joined #ruby
<Tref> welovfree: Im saying there really is no benchmark on level of ruby proficiency that you need to read a book man. Start reading it and if its over your head go back and read the pickaxe book
<Tref> Papierkorb: Im checking it out
<Tref> Im trying to come up with a good way to benchmark it
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Papierkorb> tref: Generate a bigger CSV file. 10k contacts at least or so. And then run against that.
cdg has quit [Remote host closed the connection]
<Papierkorb> With those 5 or so rows you won't get anywhere benchmark-wise
<welovfree> tref, ok!
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has joined #ruby
pglombardo has quit [Ping timeout: 250 seconds]
<Tref> Ok, so this is awesome
<Tref> never seen this
fullofcaffeine has joined #ruby
thomas has quit [*.net *.split]
graffix has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
Amnez777 has quit [*.net *.split]
_mak has quit [*.net *.split]
ltd has quit [*.net *.split]
Junaos has quit [*.net *.split]
Guest77101 has quit [*.net *.split]
ericwood has quit [*.net *.split]
Esya- has quit [*.net *.split]
raimumizu has quit [*.net *.split]
noodle has quit [*.net *.split]
bodie_ has quit [*.net *.split]
gbailey has quit [*.net *.split]
mosez has quit [*.net *.split]
tris has quit [*.net *.split]
ozzloy has quit [*.net *.split]
jericon has quit [*.net *.split]
Derailed has quit [*.net *.split]
Fraeon has quit [*.net *.split]
_ko1 has quit [*.net *.split]
jinie has quit [*.net *.split]
fold3 has quit [*.net *.split]
euoia has quit [*.net *.split]
theRoUS has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
ikonia has quit [*.net *.split]
gypsydave5 has quit [*.net *.split]
Log1x has quit [*.net *.split]
bnagy has quit [*.net *.split]
Affix has quit [*.net *.split]
pwned has quit [*.net *.split]
kitallis has quit [*.net *.split]
BlindSight has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
ProofTechnique has quit [*.net *.split]
yasu has quit [*.net *.split]
pipework has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
moshee has quit [*.net *.split]
SebastianThorn has quit [*.net *.split]
olblak has quit [*.net *.split]
KramerC has quit [*.net *.split]
heidar has quit [*.net *.split]
moufl has quit [*.net *.split]
ljarvis has quit [*.net *.split]
lannonbr has quit [*.net *.split]
Antiarc has quit [*.net *.split]
sphex_ has quit [*.net *.split]
DylanJ has quit [*.net *.split]
hinbody has quit [*.net *.split]
DrCode has quit [*.net *.split]
DexterLB has quit [*.net *.split]
speakingcode has quit [*.net *.split]
sunya7a has quit [*.net *.split]
gregf_ has quit [*.net *.split]
Darkwater has quit [*.net *.split]
moredhel has quit [*.net *.split]
moua has quit [*.net *.split]
jericon has joined #ruby
olblak has joined #ruby
KramerC has joined #ruby
ltd has joined #ruby
pwned has joined #ruby
jinie has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
Fraeon has joined #ruby
ProofTechnique has joined #ruby
euoia has joined #ruby
pipework has joined #ruby
speakingcode has joined #ruby
theRoUS has joined #ruby
sphex has joined #ruby
gregf has joined #ruby
ericwood has joined #ruby
ozzloy has joined #ruby
ljarvis has joined #ruby
gypsydave5 has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
Amnez777 has joined #ruby
djellemah_ has joined #ruby
lannonbr has joined #ruby
bnagy has joined #ruby
mosez has joined #ruby
Affix has joined #ruby
sunya7a has joined #ruby
SebastianThorn has joined #ruby
raimumizu has joined #ruby
hinbody has joined #ruby
kitallis has joined #ruby
heidar has joined #ruby
ikonia has joined #ruby
Sou|cutter has joined #ruby
BlindSight has joined #ruby
tris has joined #ruby
moufl has joined #ruby
yeltzooo has joined #ruby
gbailey has joined #ruby
Affix is now known as Guest9821
Junaos has joined #ruby
yasu has joined #ruby
cschneid_ has joined #ruby
Antiarc has joined #ruby
Derailed has joined #ruby
NightMonkey has joined #ruby
codecop has joined #ruby
fold3 has joined #ruby
dtordable has quit [Quit: leaving]
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandstrom has joined #ruby
_mak has joined #ruby
DylanJ has joined #ruby
graffix has joined #ruby
moua has joined #ruby
noodle has joined #ruby
DexterLB has joined #ruby
bahar has quit [*.net *.split]
sauvin has quit [*.net *.split]
urbanmonk has quit [*.net *.split]
mikeiniowa has quit [*.net *.split]
cpruitt has quit [*.net *.split]
kith has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
Phanes has quit [*.net *.split]
mistym has quit [*.net *.split]
axisys has quit [*.net *.split]
kappy has quit [*.net *.split]
Guest91232 has quit [*.net *.split]
olspookishmagus has quit [*.net *.split]
matp has quit [*.net *.split]
Mr_Pancake has quit [*.net *.split]
danieli has quit [*.net *.split]
parus has quit [*.net *.split]
xsdg has quit [*.net *.split]
conrfrmn has quit [*.net *.split]
Freeaqingme has quit [*.net *.split]
lianj has quit [*.net *.split]
Laaw has quit [*.net *.split]
Scient has quit [*.net *.split]
IceDragon has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
elaptics has quit [*.net *.split]
pushcx has quit [*.net *.split]
theRealAlexz has quit [*.net *.split]
arthurnn has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
woodruffw has quit [*.net *.split]
mickey_mouse has quit [*.net *.split]
Guest87165 has quit [*.net *.split]
davidcelis has quit [*.net *.split]
ec\ has quit [*.net *.split]
mhb has quit [*.net *.split]
v1n has quit [*.net *.split]
fourq has quit [*.net *.split]
Liothen has quit [*.net *.split]
croberts has quit [*.net *.split]
KervyN has quit [*.net *.split]
alexblom has quit [*.net *.split]
llua has quit [*.net *.split]
`derpy has quit [*.net *.split]
Spleeze has quit [*.net *.split]
ekem has quit [*.net *.split]
braidn has quit [*.net *.split]
shellie_ has quit [*.net *.split]
ruisantos has quit [*.net *.split]
\13k has quit [*.net *.split]
DefV has quit [*.net *.split]
aep has quit [*.net *.split]
cscheib has quit [*.net *.split]
c0ncealed has quit [*.net *.split]
Takumo has quit [*.net *.split]
tfitts has quit [*.net *.split]
ICantCook has quit [*.net *.split]
eljimmy has quit [*.net *.split]
matled has quit [*.net *.split]
perry has quit [*.net *.split]
p7r has quit [*.net *.split]
Conflict has quit [*.net *.split]
humd1ng3r has quit [*.net *.split]
konopka has quit [*.net *.split]
parus_ has joined #ruby
fourq has joined #ruby
cscheib has joined #ruby
xsdg has joined #ruby
K3rvyN has joined #ruby
pushcx has joined #ruby
IcyDragon has joined #ruby
Phanes- has joined #ruby
matled- has joined #ruby
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
olspookishmagus has joined #ruby
mhb has joined #ruby
Spleeze has joined #ruby
aep has joined #ruby
konopka has joined #ruby
lianj has joined #ruby
lianj has quit [Changing host]
lianj has joined #ruby
mistym has joined #ruby
Liothen has joined #ruby
mistym has quit [Changing host]
mistym has joined #ruby
Mr_Pancake- has joined #ruby
llua` has joined #ruby
SirCmpwn has joined #ruby
alexblom has joined #ruby
matled- is now known as matled
shellie_ has joined #ruby
C0deMaver1ck has joined #ruby
ekem has joined #ruby
elaptics has joined #ruby
axisys has joined #ruby
`derpy has joined #ruby
Laaw has joined #ruby
ruisantos has joined #ruby
tfitts has joined #ruby
humd1ng3r has joined #ruby
pglombar_ has quit [Remote host closed the connection]
eljimmy has joined #ruby
cpruitt has joined #ruby
mickey_mouse has joined #ruby
ICantCook has joined #ruby
matp has joined #ruby
pushcx is now known as Guest71821
fourq is now known as Guest22829
Scient has joined #ruby
moredhel has joined #ruby
olspookishmagus is now known as Guest92608
Dreamer3 has joined #ruby
s2013 has joined #ruby
Esya- has joined #ruby
thejoecarroll has joined #ruby
perry has joined #ruby
perry has quit [Changing host]
perry has joined #ruby
Mr_Pancake- is now known as Mr_Pancake
C0deMaver1ck is now known as Guest45323
v1n has joined #ruby
Guest77101 has joined #ruby
_ko1 has joined #ruby
urbanmonk has joined #ruby
sauvin has joined #ruby
pglombardo has joined #ruby
c0ncealed has joined #ruby
p7r has joined #ruby
DefV has joined #ruby
s2013 has quit [Max SendQ exceeded]
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
Conflict has joined #ruby
danieli has joined #ruby
bahar has joined #ruby
Freeaqingme has joined #ruby
conrfrmn has joined #ruby
ec\ has joined #ruby
Toledo|gone has joined #ruby
\13k has joined #ruby
woodruffw has joined #ruby
arthurnn has joined #ruby
kappy has joined #ruby
TheMoonMaster has joined #ruby
woodruffw has quit [Max SendQ exceeded]
DrCode has joined #ruby
neanderslob has quit [Quit: No Ping reply in 180 seconds.]
krobzaur has joined #ruby
Log1x has joined #ruby
bodie_ has joined #ruby
sauvin has quit [Client Quit]
Amnez777 has quit [Changing host]
Amnez777 has joined #ruby
sauvin has joined #ruby
babblebre has quit [Ping timeout: 240 seconds]
sideshowcoder has quit [Ping timeout: 240 seconds]
neanderslob has joined #ruby
g3funk has joined #ruby
<EdwardIII> should i take myself outside and end my own life?
Darkwater has joined #ruby
Darkwater has quit [Changing host]
Darkwater has joined #ruby
thomas has joined #ruby
mrmargolis has joined #ruby
eljimmy has quit [Client Quit]
D9- has joined #ruby
ur5us has joined #ruby
idefine has joined #ruby
<EdwardIII> i feel a bit like i've abused the exception class a bit
<EdwardIII> by letting it know whether it should raise itself or not
theRealAlexz has joined #ruby
theRealAlexz has quit [Changing host]
theRealAlexz has joined #ruby
sideshowcoder has joined #ruby
Toledo|gone has quit [Changing host]
Toledo|gone has joined #ruby
sideshowcoder has quit [Changing host]
sideshowcoder has joined #ruby
<EdwardIII> and it creates a fairly chunky cognative disnonance when suddenly you can't pass a string into the constructor of an exception anymore, you have to pass in a Hah
<EdwardIII> *Hash
<EdwardIII> damnit, *cognitive dissonance, sorry
TomyLobo has joined #ruby
charlemagne has quit [Remote host closed the connection]
charlemagne has joined #ruby
chipotle has quit [Quit: cheerio]
william3 has joined #ruby
babblebre has joined #ruby
chipotle has joined #ruby
Gnut has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Excess Flood]
juanpablo__ has joined #ruby
woodruffw has joined #ruby
charlemagne has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
jam__ has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
infra-red has joined #ruby
ziyadb has joined #ruby
ljames has quit []
rdark has quit [Ping timeout: 240 seconds]
kirillzh has joined #ruby
bronson has joined #ruby
azure32 has joined #ruby
_ko1 has quit [Quit: Quit Nadoka 0.8.4+git(v0.8.3-5-g0ae819a-dt)]
jam__ has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Quit: Leaving...]
Renich has quit [Ping timeout: 240 seconds]
minimalism has quit [Quit: minimalism]
karapetyan has quit [Remote host closed the connection]
Sembei has joined #ruby
_ko1 has joined #ruby
Renich has joined #ruby
Renich has quit [Client Quit]
dtordable has joined #ruby
jmurillo has joined #ruby
davedev24 has quit [Remote host closed the connection]
<djellemah> EdwardIII: Yeah, that's pretty bad idea.
Terens has quit []
<djellemah> tsk, * a *
infra-re_ has joined #ruby
jottr has joined #ruby
<EdwardIII> djellemah: just that?
<EdwardIII> hrm i gotta run
<EdwardIII> thanks for your input
dangeranger has quit [Ping timeout: 248 seconds]
<djellemah> o7
infra-red has quit [Ping timeout: 244 seconds]
_djbkd has joined #ruby
eljimmy has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
intrigueD has joined #ruby
dasher00 has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 244 seconds]
<shevy> EdwardIII hmm strikes me as fairly complicated
lsmola has quit [Ping timeout: 276 seconds]
speaking1ode has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
pietr0 has quit [Quit: pietr0]
herminiotorres has joined #ruby
speaking1ode has joined #ruby
adgtl has joined #ruby
htmldrum has joined #ruby
Jardayn has quit [Quit: Leaving]
anaeem1_ has joined #ruby
trinaldi has quit [Quit: thanks, folks!]
Jardayn has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
Gnut_ has joined #ruby
infra-re_ has quit []
anaeem1 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dravine has quit [Quit: dravine]
y2mq37 has joined #ruby
Deck` has joined #ruby
pawnbox has joined #ruby
B1n4r10 has quit [Ping timeout: 255 seconds]
Gnut has quit [Ping timeout: 244 seconds]
cdg has quit [Ping timeout: 250 seconds]
kirillzh has joined #ruby
tildes has joined #ruby
baweaver has joined #ruby
Gnut has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
Guest9821 is now known as Affix
Affix has quit [Changing host]
Affix has joined #ruby
zast has quit [Remote host closed the connection]
Deck` has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
jeanlinux has joined #ruby
tildes has quit [Ping timeout: 244 seconds]
last_staff has joined #ruby
cpup has quit [Ping timeout: 250 seconds]
Gnut_ has quit [Ping timeout: 248 seconds]
htmldrum has quit [Ping timeout: 248 seconds]
cpup has joined #ruby
william3 has joined #ruby
<shevy> let us code to glory!
arlek has quit [Ping timeout: 244 seconds]
last_staff has quit [Ping timeout: 252 seconds]
stannard has quit [Remote host closed the connection]
pglombar_ has joined #ruby
hamed_r has quit [Quit: Leaving]
pglombar_ has quit [Client Quit]
nickjj has quit [Quit: Leaving]
last_staff has joined #ruby
htmldrum has joined #ruby
naftilos76 has joined #ruby
nickjj has joined #ruby
x77686d has quit [Quit: x77686d]
pglombardo has quit [Ping timeout: 240 seconds]
webopsx has joined #ruby
MindfulM_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
htmldrum has quit [Ping timeout: 255 seconds]
welovfree has quit [Ping timeout: 240 seconds]
mondok has quit [Ping timeout: 255 seconds]
htmldrum has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.4]
Youngmathimus0 has quit [Ping timeout: 240 seconds]
Xiti has quit [Read error: Connection reset by peer]
sauvin has quit [Remote host closed the connection]
BackEndCoder has quit [Ping timeout: 264 seconds]
Tref has quit [Quit: tref]
fearnothing has joined #ruby
kirun has joined #ruby
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
<fearnothing> hi, I hope this is the right place to ask... I'm having trouble installing a bundle and getting the error "zlib is missing"
<fearnothing> I've tried installing zlibc and zlib1g but neither solved the issue
lurch_ has quit [Quit: lurch_]
<fearnothing> can someone point me in the direction of the right package? This is on debian jessie x64
bluOxigen has joined #ruby
e4xit has quit [Quit: Right I'm out!]
bluOxigen_ has quit [Ping timeout: 240 seconds]
B1n4r10 has joined #ruby
hayden_ has quit [Quit: Connection closed for inactivity]
stannard has joined #ruby
mrmargolis has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
dionysus69 has quit [Remote host closed the connection]
pdoherty has joined #ruby
pawnbox has joined #ruby
<fearnothing> nvm, found it
<fearnothing> zlib1g-dev
pawnbox has quit [Ping timeout: 240 seconds]
kingman has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
arashb has joined #ruby
arashb has quit [Remote host closed the connection]
YaknotiS has quit [Read error: Connection reset by peer]
<shevy> yeah should be the devel packages usually, they contain the header files
Youngmathimus0 has joined #ruby
foli_ has joined #ruby
<foli_> hi
foli_ has left #ruby [#ruby]
benlieb has joined #ruby
YaknotiS has joined #ruby
dmolina has quit [Quit: Leaving.]
<benlieb> is there a way to pipe to ruby on the command line and have it execute a command requiring everything in Gemfile?
<benlieb> I tried via bundle exec also but couldn't get it to work
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<benlieb> in Vim piping puts 'hi' to !ruby works
<benlieb> but I would like to pipe: 'purchase_finalize_utils'.constantize
<benlieb> or something simlar
andrewvos has joined #ruby
codecop has quit [Remote host closed the connection]
jeanlinux has quit [Remote host closed the connection]
adgtl has quit [Remote host closed the connection]
jeanlinux has joined #ruby
lemur has joined #ruby
FernandoBasso has joined #ruby
jud has quit [Quit: Leaving]
azure32 has quit [Ping timeout: 240 seconds]
roshanavand has quit [Remote host closed the connection]
pandaant has quit [Remote host closed the connection]
johnny56 has joined #ruby
ta has joined #ruby
speaking1ode has quit [Ping timeout: 250 seconds]
jeanlinux has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
shadoi has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
mdw has joined #ruby
speaking1ode has joined #ruby
rbennacer has joined #ruby
oniMaker has left #ruby [#ruby]
Xeago has quit [Remote host closed the connection]
Guest71821 has quit [Changing host]
Guest71821 has joined #ruby
Guest71821 is now known as pushcx
Pumukel has joined #ruby
_djbkd has quit [Quit: My people need me...]
llua` is now known as llua
llua has quit [Changing host]
llua has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elifoster has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
rodfersou has quit [Quit: leaving]
voobscout has joined #ruby
Don_John has joined #ruby
sandstrom has quit [Quit: OS X IRC Client (www.textualapp.com)]
Musashi007 has joined #ruby
Deck` has joined #ruby
JohnnyR030T has joined #ruby
Google has joined #ruby
ta has quit [Remote host closed the connection]
guacamole has quit [Quit: Lost terminal]
Liothen has quit [Changing host]
Liothen has joined #ruby
milesmatthias has joined #ruby
Deck` has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
ta has joined #ruby
jkumar has joined #ruby
einarj has joined #ruby
rbennacer has quit [Remote host closed the connection]
<jkumar> trying to understand ruby... need some help..
<jkumar> what is wrong with these few lines of ruby
<jkumar> get null on stdout
Google is now known as e
ocbtec has quit [Quit: leaving]
<shevy> what is this
<shevy> did you chop away existing code
kmckelvin has joined #ruby
<jkumar> nope..this is all of it
gregf1 has joined #ruby
<shevy> anyway, this code defines a method called initialize; I do not see that this method is invoked, so @event = JSON.parse(json) is never called
ldnunes has quit [Quit: Leaving]
einarj has quit [Ping timeout: 276 seconds]
milesmatthias has quit []
<shevy> no
<voobscout> jkumar: it's supposed to be inside a class
<shevy> if you would have followed it, you would have kept it in a class
Sucks has quit [Read error: Connection reset by peer]
<shevy> this is the very fundamental of objects and classes in ruby
azure32 has joined #ruby
yfeldblum has joined #ruby
Don_John has quit [Ping timeout: 255 seconds]
jeanlinux has joined #ruby
MindfulMonk has joined #ruby
tildes has joined #ruby
chipotle has quit [Quit: cheerio]
Icey has joined #ruby
JohnnyR030T has quit [Quit: Leaving]
MindfulM_ has joined #ruby
andrewvos has quit [Ping timeout: 255 seconds]
intrigueD has quit [Remote host closed the connection]
jeanlinux has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
yqt has joined #ruby
tildes has quit [Ping timeout: 250 seconds]
MindfulMonk has quit [Ping timeout: 244 seconds]
steffkes has joined #ruby
jkumar has quit [Ping timeout: 252 seconds]
askhat has quit [Quit: Textual IRC Client: www.textualapp.com]
askhat has joined #ruby
ElFerna has quit [Quit: WeeChat 1.3]
ta has quit [Remote host closed the connection]
andrewvos has joined #ruby
ur5us has quit [Remote host closed the connection]
pawnbox has joined #ruby
ur5us has joined #ruby
bluOxigen_ has joined #ruby
Dakota-choad has quit [Remote host closed the connection]
mdw has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 248 seconds]
blt has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
milesmatthias has joined #ruby
tvon has quit [Quit: tvon]
n0arthur has joined #ruby
zackzorman has quit [Quit: Lost terminal]
pawnbox has quit [Ping timeout: 240 seconds]
devbug has joined #ruby
guacamole has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
last_staff has quit [Ping timeout: 252 seconds]
Xeago_ has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
fantazo has joined #ruby
last_staff has joined #ruby
Musashi007 has quit [Quit: Musashi007]
thevaliantx has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danieli has quit [Changing host]
danieli has joined #ruby
andikr has quit [Remote host closed the connection]
htmldrum has quit [Ping timeout: 255 seconds]
tjohnson has joined #ruby
Musashi007 has joined #ruby
mois3x has joined #ruby
graffix has quit [Quit: graffix]
minimalism has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
naftilos76 has quit [Quit: Αποχώρησε]
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
tvon has joined #ruby
graffix has joined #ruby
mhoungbo has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 244 seconds]
s00pcan has quit [Ping timeout: 240 seconds]
Guest22829 has left #ruby ["twip"]
idefine has quit [Remote host closed the connection]
hxegon is now known as hxegon_AFK
s00pcan has joined #ruby
Gnut_ has joined #ruby
thevaliantx has quit [Quit: Leaving]
baweaver has joined #ruby
askhat has quit [Ping timeout: 240 seconds]
anisha has joined #ruby
thevaliantx has joined #ruby
Gnut has quit [Ping timeout: 255 seconds]
Deck` has joined #ruby
rizenine has quit [Remote host closed the connection]
g3funk is now known as braidn
blackmesa has joined #ruby
kith has joined #ruby
n0arthur has quit []
ellistaa has joined #ruby
<ellistaa> offtopic?
dlitvak has quit [Remote host closed the connection]
<ellistaa> anyone know the ruby off topic channel?
<ellistaa> ?offtopic
<ruby[bot]> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
Deck` has quit [Ping timeout: 248 seconds]
<fearnothing> hi folks, having problems running a ruby application
<fearnothing> NoMethodError type problems
karapetyan has quit [Remote host closed the connection]
<fearnothing> I don't know ruby at all so no idea how to debug this, google searches suggested doing gem update --system and gem install bundle, but that didn't solve it
<fearnothing> please help!
karapetyan has joined #ruby
hxegon_AFK is now known as hxegon
<ellistaa> fearnothing: post your code
yfeldblum has quit [Ping timeout: 250 seconds]
sneakerhax has quit [Ping timeout: 248 seconds]
kirillzh has joined #ruby
<ellistaa> that error message has a backtick then an apostrophe
<ellistaa> `require’ maybe thats the problem
Toledo|gone has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
codecop has joined #ruby
karapetyan has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jayne has quit [Quit: Quit]
karapetyan has joined #ruby
ElFerna has joined #ruby
webopsx has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<fearnothing> ellistaa - it's not my code
<fearnothing> it's jsdetox
Toledo|gone has joined #ruby
mhoungbo has quit [Ping timeout: 255 seconds]
Channel6 has joined #ruby
<fearnothing> I think it's that file
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
p1k has quit [Ping timeout: 240 seconds]
maxiu has quit [Ping timeout: 240 seconds]
johnmilton has quit [Remote host closed the connection]
roshanavand has joined #ruby
flughafen_ has joined #ruby
<fearnothing> I think the backtick was just an artefact of how putty or bash is displaying it
<fearnothing> in the code they're both '
momomomomo has joined #ruby
baweaver has quit [Remote host closed the connection]
pawnbox has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
doublemalt__ has joined #ruby
<fearnothing> the thing is, I got it to run before
<fearnothing> not really sure what's different this time
<fearnothing> I rebooted the system in between, but don't know what would have been different
<ellistaa> i dont think you have access to require
Eiam_ has joined #ruby
<fearnothing> it's being run with sudo...
baweaver has joined #ruby
beanHolez has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
andrewvos has quit [Ping timeout: 244 seconds]
<ellistaa> does require work for the other file?
<ellistaa> if it does maybe you dont have Bundler. if thats the case install it
roshanavand has joined #ruby
cdg has joined #ruby
mary5030 has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
fantazo has quit [Ping timeout: 276 seconds]
doublemalt_ has quit [Ping timeout: 276 seconds]
openstruct has quit [Remote host closed the connection]
<fearnothing> would commenting out the bundler require line be a valid test?
pawnbox has quit [Ping timeout: 276 seconds]
<fearnothing> because that gives me: `<top (required)>': uninitialized constant Padrino (NameError)`
dn5 has quit [Quit: leaving]
<fearnothing> ok, that's clearly not the solution, it can't get to the next require if you don't load padrino
<fearnothing> man, I can draw some conclusions from my knowledge of other languages but I don't know enough to really understand a ruby problem
<ellistaa> fearnothing: yes to the first question
mhoungbo has joined #ruby
<fearnothing> so does the error I got indicate that my require is working correctly?
<ellistaa> are you able to require rubygems?
xrlabs has quit [Quit: This computer has gone to sleep]
<ellistaa> if so install bundler
<fearnothing> bundler is installed
<ellistaa> gem install bundler
<fearnothing> yep did that
<fearnothing> no change
<ellistaa> try restarting the console
<fearnothing> also tried installing it as an aptitude package
SCHAAP137 has quit [Remote host closed the connection]
<fearnothing> console? as in my putty session?
<drbrain> fearnothing: which instruction did you get to when ↑ occurred: https://github.com/svent/jsdetox/blob/master/doc/INSTALL.rdoc
wprice has quit [Quit: wprice]
symm- has quit [Ping timeout: 244 seconds]
<fearnothing> drbrain - I'm all the way through that
mhoungbo has quit [Read error: No route to host]
<fearnothing> it's starting the application that's not working
<drbrain> so you're at `./jsdetox`?
<fearnothing> yes
duckpupp1 has quit [Ping timeout: 248 seconds]
william3 has joined #ruby
swills has joined #ruby
swills has quit [Remote host closed the connection]
Xeago has joined #ruby
<fearnothing> well what do you know
<fearnothing> restarting session seems to have worked
intrigueD has joined #ruby
benlieb has quit [Quit: benlieb]
allcentury has quit [Ping timeout: 255 seconds]
ellistaa has left #ruby [#ruby]
dopamean_ has quit [Ping timeout: 240 seconds]
<drbrain> huh
<fearnothing> that's what I thought :P
<fearnothing> totally not what I expected
kies^ has quit [Ping timeout: 255 seconds]
swills has joined #ruby
symm- has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
idefine has joined #ruby
momomomomo has quit [Quit: momomomomo]
duckpupp1 has joined #ruby
bhowe has joined #ruby
fantazo has joined #ruby
firstdayonthejob has joined #ruby
anisha has quit [Quit: Leaving]
<fearnothing> aw, he left
idefine has quit [Ping timeout: 250 seconds]
<fearnothing> now it is time for pizza
nkondra has joined #ruby
jrcharney has joined #ruby
sq271 has joined #ruby
Drakx has quit [Ping timeout: 248 seconds]
beanHolez has quit [Remote host closed the connection]
<jrcharney> Yo! What's the best way to install a version of Ruby on a Raspberry Pi 2 that is not so old it has an AARP card?
Cohedrin has joined #ruby
<jrcharney> Manager or Installer?
<jrcharney> I really was thinking installer this time around
bahar has quit [Changing host]
bahar has joined #ruby
roshanavand has quit [Remote host closed the connection]
synthroid has quit []
davedev24 has joined #ruby
codecop has quit [Remote host closed the connection]
<fearnothing> well thank you for your help too drbrain even if it wasn't your solution that did it
allcentury has joined #ruby
Musashi007 has quit [Quit: Musashi007]
platzhirsch has joined #ruby
kies^ has joined #ruby
Musashi007 has joined #ruby
SCHAAP137 has joined #ruby
Musashi007 has quit [Client Quit]
marxarelli is now known as marxarelli|afk
element_zer0 has joined #ruby
milesmatthias has quit []
Burgestrand has joined #ruby
bkxd has joined #ruby
Burgestrand has quit [Client Quit]
JDiPierro has quit [Remote host closed the connection]
trinaldi has joined #ruby
wmdrossard has joined #ruby
jrcharney has left #ruby ["WeeChat 1.2"]
thevaliantx has quit [Quit: Leaving]
steffkes has quit [Ping timeout: 240 seconds]
futilegames has joined #ruby
futilegames has quit [Client Quit]
skade has joined #ruby
thevaliantx has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
azure32 has quit [Ping timeout: 240 seconds]
B1n4r10 has quit [Ping timeout: 240 seconds]
platzhirsch has quit [Ping timeout: 248 seconds]
touka has joined #ruby
dlitvak has joined #ruby
veloutin has quit [Ping timeout: 240 seconds]
_ht has quit [Quit: Konversation terminated!]
dlitvak has quit [Ping timeout: 240 seconds]
mhoungbo has joined #ruby
benlieb has joined #ruby
djcp has quit [Ping timeout: 248 seconds]
kegster has quit [Ping timeout: 240 seconds]
speaking1ode has quit [Quit: Lost terminal]
akem has joined #ruby
hxegon is now known as hxegon_AFK
Deck` has joined #ruby
_djbkd has joined #ruby
joeyjones has quit [Ping timeout: 240 seconds]
SCHAAP137 has quit [Quit: Leaving]
kegster has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
hxegon_AFK is now known as hxegon
joeyjones has joined #ruby
eregi has quit [Ping timeout: 276 seconds]
allcentury has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
veloutin has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
chouhoul_ has quit [Remote host closed the connection]
Deck` has quit [Ping timeout: 248 seconds]
Gnut has joined #ruby
chouhoul_ has joined #ruby
mhoungbo has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 244 seconds]
volty has joined #ruby
triangles has quit [Quit: Leaving]
sneakerhax has joined #ruby
ElFerna has quit [Ping timeout: 240 seconds]
Gnut_ has quit [Ping timeout: 276 seconds]
robbyoconnor has joined #ruby
momomomomo has joined #ruby
skade has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
momomomomo has quit [Client Quit]
eregi has joined #ruby
skade has quit [Client Quit]
nkondra has quit [Quit: leaving]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
skade has joined #ruby
yfeldblum has joined #ruby
marxarelli|afk is now known as marxarelli
jeanlinux has joined #ruby
skade has quit [Client Quit]
mhoungbo has joined #ruby
edmz has joined #ruby
edmz has left #ruby ["Textual IRC Client: www.textualapp.com"]
SCHAAP137 has joined #ruby
SCHAAP137 has joined #ruby
juanpablo__ has quit [Quit: (null)]
camillo has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
juanpablo__ has joined #ruby
sol_ has quit [Ping timeout: 260 seconds]
camillo is now known as sol_
touka has quit [Quit: Quitte]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpablo__ has quit [Ping timeout: 252 seconds]
djellemah_ has quit [Ping timeout: 276 seconds]
bkxd has quit [Ping timeout: 240 seconds]
gokul__ has joined #ruby
IcyDragon is now known as IceDragon
beanHolez has joined #ruby
haylon has left #ruby ["WeeChat 1.4"]
gokul_ has quit [Ping timeout: 244 seconds]
JDiPierro has joined #ruby
JDiPierro has quit [Read error: No route to host]
JDiPierro has joined #ruby
baweaver has quit [Remote host closed the connection]
william3 has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
last_staff has quit [Quit: last_staff]
jam__ has joined #ruby
polishdub has quit [Quit: Leaving]
zenlot2 has joined #ruby
yardenbar has quit [Ping timeout: 240 seconds]
beanHolez has quit [Remote host closed the connection]
gustavohmsilva has joined #ruby
zenlot1 has quit [Ping timeout: 240 seconds]
mattwildig has joined #ruby
skade has joined #ruby
darkf has joined #ruby
mickey_mouse_2 has joined #ruby
jeanlinux has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 255 seconds]
albedoa has quit [Ping timeout: 250 seconds]
jeanlinux has joined #ruby
jam__ has quit [Ping timeout: 255 seconds]
skade has quit [Client Quit]
william3 has quit [Ping timeout: 255 seconds]
skade has joined #ruby
mrmargolis has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
stannard has quit [Ping timeout: 252 seconds]
trinaldi has quit [Quit: WeeChat 1.5-dev]
dubek has joined #ruby
hays has quit [Ping timeout: 240 seconds]
mickey_mouse has quit [Ping timeout: 244 seconds]
jrcharney has joined #ruby
jeanlinux has quit [Ping timeout: 248 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
trinaldi has joined #ruby
B1n4r10 has joined #ruby
dubek has quit [Ping timeout: 250 seconds]
hays has joined #ruby
william3 has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
duckpupp1 has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 276 seconds]
akem has quit [Remote host closed the connection]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang65 has joined #ruby
intrigueD has quit [Remote host closed the connection]
<jrcharney> Do I need to download ruby-install first before installing chruby or do I need to do it the other way around?
<havenwood> jrcharney: either
<jrcharney> chruby won't use install ruby?
<jrcharney> s/install ruby/ruby-install/
<havenwood> jrcharney: nope, they're decoupled
william3 has quit [Ping timeout: 250 seconds]
Tref has joined #ruby
<jrcharney> OK, how about downloading them through git instead of this wget and PGP stuff?
openstruct has joined #ruby
<havenwood> jrcharney: Sure, do that!
<havenwood> jrcharney: OS?
<jrcharney> Linux...Raspbian
<havenwood> jrcharney: Yeah, git cloning the repos is fine.
<jrcharney> cool. ty
andrewvos has joined #ruby
<havenwood> np
krobzaur has quit [Quit: WeeChat 0.4.2]
B1n4r10 has quit [Ping timeout: 248 seconds]
kies^ has quit [Ping timeout: 244 seconds]
B1n4r10 has joined #ruby
Gnut has quit [Ping timeout: 255 seconds]
Gnut has joined #ruby
shanemcd has joined #ruby
fullofcaffeine has quit [Read error: Connection reset by peer]
ta has joined #ruby
baweaver has joined #ruby
terlar has quit [Ping timeout: 255 seconds]
mois3x has quit [Quit: mois3x]
Deck` has joined #ruby
freerobby has joined #ruby
Xeago_ has joined #ruby
FernandoBasso has quit [Quit: Leaving]
thun has joined #ruby
shanemcd has left #ruby [#ruby]
Deck` has quit [Ping timeout: 244 seconds]
shanemcd has joined #ruby
benlieb_ has joined #ruby
mary5030 has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
mary5030 has quit [Remote host closed the connection]
benlieb has quit [Ping timeout: 252 seconds]
benlieb_ is now known as benlieb
mary5030 has joined #ruby
openstruct has quit [Remote host closed the connection]
PaulCapestany has quit [Quit: .]
TomPeed has joined #ruby
openstruct has joined #ruby
william3 has joined #ruby
PaulCapestany has joined #ruby
kmckelvin has quit [Ping timeout: 252 seconds]
kmckelvin has joined #ruby
<thun> I am having troubles accessing a class in a gem I just created. The name of the gem is company-data-api. It created sub-folders in lib/company/api which has all the libs, then a api.rb file in lib/company. This was all auto-created by gem.
<thun> The class is nested in modules. Company::Data::Api::MyClassIWantToAccess. rspec works fine but when I build the gem and install locally how to I require it? require 'company-data-api' Does not work.
chipotle has quit [Quit: cheerio]
<drbrain> require 'company/api'
JDiPierro has quit [Remote host closed the connection]
<drbrain> thun: ruby requires by filenames
Xeago has joined #ruby
<drbrain> and 'lib/' should be added to $LOAD_PATH automatically
fourq has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
Xeago__ has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.4]
openstruct has quit [Remote host closed the connection]
<thun> Hmm ok ty looks like that work... I have other require path issues now from within my gem... fixing now
Xeago_ has quit [Ping timeout: 250 seconds]
jmignault has joined #ruby
<thun> Do you have to add files to the git repo locally in order for gem build to include?
duckpupp1 has joined #ruby
andrewvos has quit [Ping timeout: 240 seconds]
juanpablo__ has joined #ruby
JDiPierro has joined #ruby
Xeago has quit [Ping timeout: 255 seconds]
saneax_AFK is now known as saneax
ElFerna has joined #ruby
dexter has joined #ruby
dexter is now known as Guest34101
Xeago__ has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 255 seconds]
Xeago has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
toretore has joined #ruby
TomyLobo has quit [Ping timeout: 276 seconds]
ricx has joined #ruby
TomPeed is now known as justbleed
trinaldi has quit [Quit: WeeChat 1.5-dev]
chipotle has joined #ruby
solocshaw has joined #ruby
Youngmathimus0 has quit [Ping timeout: 240 seconds]
<ricx> hi guys!, quick question why when i define a method like ( def Array.ok; puts 1; end ) its not on Array.methods
JoshGlzBrk has joined #ruby
Tref has quit [Quit: tref]
duckpupp1 has quit [Ping timeout: 240 seconds]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
trinaldi has joined #ruby
Xeago_ has joined #ruby
<havenwood> >> def Array.ok; puts 1; end; Array.methods.include? :ok
<ruby[bot]> havenwood: # => true (https://eval.in/522129)
<havenwood> ricx: ^ should be
<jmurillo> class Array; def ok; puts 1; end; end;
<jmurillo> class Array; def ok; puts 1; end; end :ok
<havenwood> jmurillo: self.ok
<jmurillo> newb here
<jmurillo> nice bot
xrlabs has joined #ruby
<havenwood> jmurillo: `def self.ok` is like `def Array.ok` in that it creates a class method
<havenwood> jmurillo: `def ok` creates an instance method
<havenwood> jmurillo: (Inside `Array` a `self` is `Array`. By using `self` it still works if the class name changes.)
pawnbox has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 250 seconds]
<jmurillo> thanks havenwood
Xeago_ has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
jeanlinux has joined #ruby
dopamean_ has joined #ruby
Xeago has joined #ruby
ur5us has quit [Remote host closed the connection]
Guest27 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JDiPierro has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
william3 has joined #ruby
nettoweb has joined #ruby
thevaliantx has quit [Quit: Leaving]
Xeago has joined #ruby
blackmesa has joined #ruby
karapetyan has quit [Remote host closed the connection]
lemur has joined #ruby
tvw has quit [Remote host closed the connection]
stannard has joined #ruby
xrlabs has quit [Quit: This computer has gone to sleep]
<shevy> let's dance
william3 has quit [Ping timeout: 244 seconds]
Xeago has quit [Ping timeout: 240 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
eregi has quit [Ping timeout: 240 seconds]
railsForDaiz has joined #ruby
lemur has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
<ricx> yeah, it says that is included, but when i do [].ok # => undefined method 'ok'
stannard has quit [Ping timeout: 240 seconds]