apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
juanpablo__ has joined #ruby
veinofstars has quit [Quit: veinofstars]
blackmesa has joined #ruby
tokik has joined #ruby
lanemeyer has quit []
speaking1ode has joined #ruby
zachrab has joined #ruby
Guest123 has joined #ruby
dojobo has quit [Quit: Leaving]
livathinos has joined #ruby
livathinos has quit [Remote host closed the connection]
lolmaus has quit [Ping timeout: 240 seconds]
juanpablo__ has quit [Ping timeout: 256 seconds]
<shevy> then they'll be shaven
sinkensabe has quit [Read error: Connection reset by peer]
lanemeyer has joined #ruby
zachrab has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
mostlybadfly has joined #ruby
<centrx> I don't follow
mikepack has quit [Remote host closed the connection]
<workmad3> centrx: shevy makes a habit of shaving beavers... what's not to follow?
sevvie has quit [Remote host closed the connection]
Beoran_ has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
<centrx> worm_kad, is that you?
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
georgesmith has quit [Quit: georgesmith]
sinkensabe has quit [Remote host closed the connection]
nfk has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
lolmaus has joined #ruby
freerobby has joined #ruby
hybridark has joined #ruby
jonathanwallace has quit [Ping timeout: 256 seconds]
jonathanwallace has joined #ruby
reinaldob has quit [Remote host closed the connection]
Vile` has quit [Ping timeout: 265 seconds]
wpp has quit [Quit: ZZZzzz…]
centrx has quit [Remote host closed the connection]
FooMunki has joined #ruby
centrx has joined #ruby
tmtwd has quit [Remote host closed the connection]
devbug has quit [Ping timeout: 250 seconds]
diranged has joined #ruby
centrx has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 255 seconds]
AndyBotwin has joined #ruby
AndyBotwin has joined #ruby
centrx has joined #ruby
Dopagod has quit [Ping timeout: 245 seconds]
Beoran_ has joined #ruby
tvw has joined #ruby
snockerton has quit [Quit: auf wiedersehen]
diegoviola has joined #ruby
ismaelga has joined #ruby
towski_ has quit [Quit: Leaving...]
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mroach has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
greenbagels has joined #ruby
mjuszczak has quit []
x1337807x has joined #ruby
x1337807x has quit [Client Quit]
despai has quit [Quit: This computer has gone to sleep]
soulcake has quit [Changing host]
soulcake has joined #ruby
<shevy> tooltip('text here') { border_colour: 'yellow' }
<shevy> or
<shevy> tooltip('text here', border_colour: 'yellow')
<shevy> hmmm
<workmad3> shevy: well, the first one seems to be a syntax error...
Takle has joined #ruby
<shevy> oh
<shevy> damn
aamador has quit [Ping timeout: 252 seconds]
tus has quit [Ping timeout: 246 seconds]
doodlehaus has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
jm0 has joined #ruby
baweaver has quit [Remote host closed the connection]
uptownhr has joined #ruby
doodlehaus has quit [Ping timeout: 246 seconds]
marr has quit []
<bricker> does 'begin/rescue/ensure/end' open some sort of transaction? https://gist.github.com/bricker/c8640d7d86dc1c9a530d Am I guaranteed that the file will be closed before 'next' is called?
meschi has quit [Ping timeout: 252 seconds]
<centrx> interesting
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<centrx> I'm going to go with maybe
<bricker> and if 'next' is called, how does ruby know to call 'ensure' before it's actuallt acted upon?
<bricker> actually*
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> test!
rubytor has joined #ruby
cjim has quit [Quit: (null)]
<bricker> centrx: Of course I've tested, I'm wondering about what I can *depend* on
<bricker> also just curious how that works
<bricker> too lazy to go through the source
<bricker> right now
deol has joined #ruby
<centrx> I see so it does appear to work that way?
<bricker> centrx: my tests show that the
<bricker> er
tus has joined #ruby
<centrx> yeah that's what I would think it does
<bricker> rescue block evald -> ensure block evald -> next called
<centrx> but it must be something fancy
Troy^ has joined #ruby
<centrx> maybe it bubbles up
<shevy> damn
<shevy> now I query for 'colour_of_border' but pass :colour_of_border
baweaver has joined #ruby
<centrx> shevy, it's spelled color, there's your bug
<shevy> I still have faith in the british empire
<centrx> me too, the foreign service lives on and the sun never sets
Yzguy has joined #ruby
araw has quit [Quit: leaving]
<baweaver> The colonies are still being noisy across the pond
<workmad3> centrx: we're still waiting for that sunset! https://what-if.xkcd.com/48/
freerobby has quit [Quit: Leaving.]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
uptownhr has quit [Quit: uptownhr]
djbkd has quit [Read error: Connection reset by peer]
michael_mbp has quit [Excess Flood]
djbkd has joined #ruby
michael_mbp has joined #ruby
iamninja has joined #ruby
uptownhr has joined #ruby
freerobby has joined #ruby
PaulCapestany has quit []
giuseppesolinas has joined #ruby
PaulCapestany has joined #ruby
livingstn has quit [Ping timeout: 264 seconds]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
sevvie has joined #ruby
luckyruby has quit [Quit: Leaving...]
zcm has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
zcm has quit [Max SendQ exceeded]
werelivinginthef has joined #ruby
zcm has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
mjuszczak has joined #ruby
kotk has quit [Quit: Leaving...]
ponga has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Yzguy has quit [Quit: I'm sleeping, go away.]
Deithrian has quit [Ping timeout: 250 seconds]
definiv has joined #ruby
n008f4g_ has quit [Quit: Lost terminal]
definiv has quit [Client Quit]
Soda has joined #ruby
jlast has quit [Remote host closed the connection]
devoldmx_ has quit [Ping timeout: 264 seconds]
jlast has joined #ruby
riotjones has joined #ruby
C1V0 has quit []
reinaldob has joined #ruby
B1n4r10 has joined #ruby
RegulationD has joined #ruby
blackmesa has joined #ruby
B1n4r10 has quit [Max SendQ exceeded]
fryguy9 has quit [Quit: Leaving.]
checkit has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
ottanta has quit [Changing host]
ottanta has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
jonr22 has joined #ruby
reinaldob has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
riotjones has quit [Ping timeout: 265 seconds]
arescorpio has joined #ruby
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 256 seconds]
mic has quit [Ping timeout: 246 seconds]
Sirupsen has joined #ruby
imanzarrabian has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
fabrice31 has joined #ruby
aamador has joined #ruby
Sirupsen has quit [Client Quit]
tunaCanBruh has joined #ruby
werelivinginthef has joined #ruby
neanderslob has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 265 seconds]
tokik has quit [Ping timeout: 250 seconds]
mjuszczak has quit []
tunaCanBruh has quit [Ping timeout: 252 seconds]
triple_b has joined #ruby
agrinb has quit [Remote host closed the connection]
agrinb has joined #ruby
hcnewsom has joined #ruby
freerobby has quit [Quit: Leaving.]
jshultz has quit [Quit: Connection closed for inactivity]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
rushed has quit [Quit: rushed]
juanpablo__ has joined #ruby
sevvie has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
zachrab has joined #ruby
kotk has joined #ruby
juanpablo__ has quit [Ping timeout: 240 seconds]
jamgood96 has quit [Ping timeout: 245 seconds]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
Hobogrammer has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
zachrab has quit [Ping timeout: 250 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
bricker has quit [Ping timeout: 246 seconds]
sevvie has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
graydot has quit [Quit: graydot]
robustus has joined #ruby
baweaver has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1.1]
rushed has joined #ruby
rushed has left #ruby [#ruby]
ottanta has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
mjuszczak has joined #ruby
ottanta has joined #ruby
deric_skibotn has quit [Ping timeout: 252 seconds]
Vile` has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
Spami has quit [Client Quit]
imanzarrabian has quit [Remote host closed the connection]
hcnewsom has quit [Quit: hcnewsom]
agrinb has joined #ruby
hcnewsom has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agrinb_ has joined #ruby
diegoviola has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 265 seconds]
DadoCe has joined #ruby
deric_skibotn has joined #ruby
agrinb_ has quit [Ping timeout: 250 seconds]
rubytor has quit [Remote host closed the connection]
tus has quit []
nfk has quit [Quit: yawn]
FooMunki has quit [Quit: FooMunki]
Rodya_ has joined #ruby
drkush has quit [Ping timeout: 255 seconds]
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
hcnewsom has quit [Quit: hcnewsom]
braincra- has joined #ruby
sevvie has quit [Ping timeout: 245 seconds]
Guest123 has joined #ruby
sevvie has joined #ruby
mailo has joined #ruby
braincrash has quit [Ping timeout: 244 seconds]
mailo has quit [Remote host closed the connection]
roolo has quit [Ping timeout: 265 seconds]
mailo has joined #ruby
narph has quit [Quit: Connection closed for inactivity]
zcm has quit [Remote host closed the connection]
uptownhr has quit [Quit: uptownhr]
tvw has quit [Ping timeout: 256 seconds]
drkush has joined #ruby
aamador has quit [Ping timeout: 250 seconds]
zcm has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
zcm is now known as Guest31845
Guest31845 has quit [Client Quit]
DEA7TH has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
diegoviola has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Musashi007 has joined #ruby
Rodya_ has joined #ruby
Guest64_ has joined #ruby
pu22l3r has joined #ruby
doodlehaus has joined #ruby
wallerdev has quit [Quit: wallerdev]
kerrick__ has joined #ruby
AlphaTech has joined #ruby
werelivinginthef has joined #ruby
doodlehaus has quit [Ping timeout: 252 seconds]
michael_mbp has quit [Excess Flood]
juanpablo__ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Troy^ has joined #ruby
phat4life has joined #ruby
sevvie has quit [Remote host closed the connection]
sevvie has joined #ruby
<phat4life> what is the *extra in def initialize(min, max, *extra, &block)
veinofstars has joined #ruby
werelivinginthef has quit [Ping timeout: 250 seconds]
Troy^ has quit [Client Quit]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bricker has joined #ruby
zachrab has joined #ruby
michael_mbp has joined #ruby
uptownhr has joined #ruby
duncannz has joined #ruby
Limix has quit [Quit: Limix]
mroach has quit [Quit: mroach]
<phat4life> why is this valid ruby syntax: j = *[]
juanpablo__ has quit [Ping timeout: 252 seconds]
zachrab has quit [Ping timeout: 256 seconds]
<phat4life> *[1,2,3] returns [1,2,3] what is this * operator doing?
djbkd has quit [Quit: My people need me...]
pu22l3r has quit [Remote host closed the connection]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
uptownhr has quit [Quit: uptownhr]
uptownhr has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
Xiti has joined #ruby
swgillespie has joined #ruby
Rapier- has joined #ruby
Channel6 has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
bricker has quit [Ping timeout: 252 seconds]
<weaksauce> phat4life look up the splat operator
doodlehaus has quit [Remote host closed the connection]
stunder has joined #ruby
kapil___ has joined #ruby
paradisaeidae has joined #ruby
kiely_ has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
kiely has quit [Ping timeout: 276 seconds]
agrinb has joined #ruby
speaking1ode has quit [Quit: Lost terminal]
RegulationD has joined #ruby
michael_mbp has quit [Excess Flood]
AlexRussia has joined #ruby
<shevy> phat4life you can pass a variable amount of arguments
michael_mbp has joined #ruby
__chris has joined #ruby
<__chris> howdy
deric_skibotn has quit [Ping timeout: 264 seconds]
<shevy> >> def foo(*i); p i; end; foo 1,2,3,4
<eval-in> shevy => [1, 2, 3, 4] ... (https://eval.in/291463)
agrinb has quit [Ping timeout: 265 seconds]
jonr22 has joined #ruby
<__chris> I'm not doing something right here.
RegulationD has quit [Ping timeout: 264 seconds]
<__chris> expected: {:foo=>"bar"}
<__chris> got: {"foo"=>"bar"}
<shevy> you want a symbol
<shevy> you passed a string
<shevy> right?
<shevy> :foo is not the same as "foo"
<weaksauce> yep
<__chris> right.
<__chris> so "data" is serialized via JSON
<weaksauce> __chris lookup hashwithindifferentaccess from rails if that's something you want to do often
<__chris> but I want to confirm that
<shevy> hmm
<shevy> json probably does not know symbols or?
<weaksauce> json doesn't know anything about symbols no
kiely_ is now known as kiely
<__chris> so the idea is some hash gets saved as JSON. I want to confirm that is the case with the test
mjuszczak has quit []
luriv_ has joined #ruby
<__chris> retrieving the data gives me {"foo"=>"bar"}
<__chris> mymodel.data # {"foo"=>"bar"}
jonr22 has quit [Ping timeout: 244 seconds]
athan has quit [Remote host closed the connection]
<shevy> the_data.to_json # => "{"foo":"bar"}"
<shevy> yeah
<shevy> seems as if it won't care about symbols
<weaksauce> change the call to data to data.to_json
<__chris> ok trying that now. (test suite takes 5 sec to boot :/)
wallerdev has joined #ruby
<__chris> yeah so here is the problem. .to_json is escaping the the string
<__chris> "{\"foo\":\"bar\"}"
Rapier- has quit [Quit: (null)]
<__chris> expected: "{\"foo\":\"bar\"}"
<__chris> got: {"foo"=>"bar"}
magic__ has quit [Ping timeout: 250 seconds]
fabrice31 has joined #ruby
<__chris> ahh. so is still a hash
speaking1ode has joined #ruby
<__chris> Now I'm real confused. When Rails serializes it to JSON shouldn't it return it as JSON as well?
<shevy> to_json will convert into json or?
<shevy> not sure how json does it - in yaml you have .to_yaml and YAML.load_file() to load a yaml file again
<shevy> and yaml knows symbols just fine :)
erts has joined #ruby
<shevy> though you may have to denote this
<shevy> like:
<shevy> - !ruby/symbol triangle
jenrzzz has joined #ruby
tunaCanBruh has joined #ruby
Crazy_Atheist has joined #ruby
<__chris> gah this is crazy. model.data.to_json # {"foo":"bar"}
<weaksauce> __chris must have two different serializers
<__chris> model.data # {"foo"=>"bar"}
erts has quit [Quit: Leaving]
<__chris> well. its late so I'm going to tackle this later. thanks guys
mjuszczak has joined #ruby
<weaksauce> __chris I'd just see if you can access some keys and call it a day
checkit has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 264 seconds]
<__chris> :D might just do that
AndyBotwin has quit [Ping timeout: 252 seconds]
<__chris> and heres what I did to get it to pass: expect(form_default.data['foo']).to eq(the_data[:foo])
<weaksauce> :)
<__chris> =D later guys
__chris has quit [Quit: Leaving]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DadoCe has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 264 seconds]
willharrison has joined #ruby
hamakn has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
erts has joined #ruby
jlast has joined #ruby
oleo is now known as Guest68710
oleo__ has joined #ruby
oo_ has joined #ruby
starless has quit [Quit: Leaving]
ghostpl_ has joined #ruby
phat4life has quit [Quit: WeeChat 1.1.1]
sankaber has joined #ruby
Guest68710 has quit [Ping timeout: 250 seconds]
Megtastique has quit []
ghostpl_ has quit [Ping timeout: 246 seconds]
Rodya_ has quit [Quit: Leaving...]
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
mjuszczak has quit []
mailo has quit [Quit: Leaving...]
AlienPickle has joined #ruby
oo_ has quit [Remote host closed the connection]
speaking1ode has quit [Remote host closed the connection]
Jetchisel has quit [Ping timeout: 255 seconds]
AlienPickle has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
Vile` has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
Vile` has joined #ruby
baweaver has quit [Remote host closed the connection]
drkush has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
sevvie has quit [Ping timeout: 244 seconds]
sevvie has joined #ruby
agrinb has joined #ruby
drkush has joined #ruby
Musashi007 has quit [Quit: Musashi007]
havenn has joined #ruby
braincra- has quit [Quit: bye bye]
nii236|irssi has joined #ruby
havenwood has quit [Ping timeout: 252 seconds]
agrinb has quit [Ping timeout: 250 seconds]
Jetchisel has joined #ruby
Megtastique has joined #ruby
Hijiri has joined #ruby
chipotle has joined #ruby
diegoviola has quit [Remote host closed the connection]
braincrash has joined #ruby
AlienPickle has joined #ruby
tvon has joined #ruby
Soda has quit [Remote host closed the connection]
AlienPickle has quit [Ping timeout: 255 seconds]
diegoviola has joined #ruby
Nuck has joined #ruby
tvon has quit [Quit: leaving]
swgillespie has joined #ruby
iamjarvo has joined #ruby
diegoviola has quit [Remote host closed the connection]
Kricir has joined #ruby
Kricir has quit [Client Quit]
yojimmbo has joined #ruby
diegoviola has joined #ruby
ismaelga has quit [Remote host closed the connection]
erts_ has joined #ruby
erts has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
decoponio has quit [Ping timeout: 245 seconds]
decoponio has joined #ruby
bengalo has quit []
pietr0 has quit [Quit: pietr0]
AlienPickle has joined #ruby
speaking1ode has joined #ruby
mistermocha has joined #ruby
juanpablo__ has joined #ruby
Qladstone has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DadoCe has joined #ruby
AlienPickle has quit [Ping timeout: 246 seconds]
zachrab has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_1_i has joined #ruby
<_1_i> hi
jbeeze has joined #ruby
Troy^ has joined #ruby
<Qladstone> hello
<_1_i> how r u
juanpablo__ has quit [Ping timeout: 244 seconds]
<_1_i> r u there
agrinb has joined #ruby
<Qladstone> yup I'm having lunch now
<Qladstone> what's up
DadoCe has quit [Ping timeout: 246 seconds]
<_1_i> all
<_1_i> a s l
<Qladstone> anyway, is social chat allowed on this channel? or only ruby discussion
zachrab has quit [Ping timeout: 256 seconds]
uptownhr has quit [Quit: uptownhr]
<_1_i> where r u from
Andy__ has joined #ruby
<Qladstone> Singapore
<Qladstone> it's the 3rd day of the Lunar New Year
<_1_i> what time is it there
<Qladstone> I started learning Ruby at the start of January
<Qladstone> it's 12.50pm
<Qladstone> 12.48 to be exact
d10n-work has quit [Quit: Connection closed for inactivity]
agrinb has quit [Ping timeout: 265 seconds]
michael_mbp has quit [Excess Flood]
<Qladstone> you?
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<_1_i> it's 4.50 am here
davidhq has joined #ruby
<Qladstone> GMT 0
<Andy__> hey does anyone know how to mock user input with rspec?
michael_mbp has joined #ruby
<Nilium> puts "Your input sucks." # ?
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Andy__> with gets
<Nilium> puts "Input: " && gets && puts "Yeah I bet you would."
diegoviola has quit [Remote host closed the connection]
<Nilium> Actually, what does puts return
<Nilium> It returns nil. The mocking can never begin D:
shellfu has joined #ruby
RegulationD has joined #ruby
riotjones has joined #ruby
diegoviola has joined #ruby
Troy^ has joined #ruby
razieliyo has quit [Ping timeout: 245 seconds]
Regulati_ has joined #ruby
jonr22 has joined #ruby
doodlehaus has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
armyriad has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
codeurge has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
Troy^ has quit [Client Quit]
Pharaoh2 has joined #ruby
erts_ has quit [Quit: Leaving]
erts has joined #ruby
arescorpio has quit [Excess Flood]
Regulati_ has quit [Ping timeout: 252 seconds]
erts has quit [Client Quit]
erts has joined #ruby
doodlehaus has quit [Ping timeout: 245 seconds]
Savish has joined #ruby
Savish has left #ruby [#ruby]
jonr22 has quit [Ping timeout: 265 seconds]
RegulationD has joined #ruby
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
dling has quit [Ping timeout: 244 seconds]
fabrice31 has joined #ruby
sevvie has quit [Ping timeout: 256 seconds]
RegulationD has quit [Ping timeout: 246 seconds]
Joufflu has joined #ruby
leafybasil has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
decoponio has quit [Quit: Leaving...]
fabrice31 has quit [Ping timeout: 246 seconds]
_1_i has quit [Excess Flood]
tunaCanBruh has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jbw_ has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
jbw__ has quit [Ping timeout: 245 seconds]
Qladstone has quit [Remote host closed the connection]
karmatr0n has quit [Remote host closed the connection]
ghostpl_ has joined #ruby
karmatr0n has joined #ruby
Qladstone has joined #ruby
sevvie has joined #ruby
karmatr0n has quit [Remote host closed the connection]
Qladstone has quit [Remote host closed the connection]
karmatr0n has joined #ruby
lxsameer has joined #ruby
ghostpl_ has quit [Ping timeout: 246 seconds]
lemur has joined #ruby
freerobby has joined #ruby
erts_ has joined #ruby
sevvie has quit [Ping timeout: 256 seconds]
speaking1ode has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erts has quit [Ping timeout: 264 seconds]
freerobby has quit [Read error: Connection reset by peer]
freerobby1 has joined #ruby
sent1nel has joined #ruby
agrinb has joined #ruby
jcdesimp has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agrinb has quit [Ping timeout: 250 seconds]
QualityAddict has joined #ruby
Qladstone has joined #ruby
agrinb has joined #ruby
sinkensabe has joined #ruby
MasterPiece has joined #ruby
sevvie has joined #ruby
Qladstone has quit [Remote host closed the connection]
Nuck has quit [Remote host closed the connection]
kapil___ has quit [Quit: Connection closed for inactivity]
paradisaeidae has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 265 seconds]
jamgood96 has joined #ruby
jamgood96 has quit [Client Quit]
freerobby1 has quit [Quit: Leaving.]
sinkensabe has quit [Ping timeout: 245 seconds]
sent1nel has quit [Remote host closed the connection]
mroach has joined #ruby
penzur has joined #ruby
Cache_Money has joined #ruby
armyriad has quit [Ping timeout: 256 seconds]
CrazyM4n has joined #ruby
Qladstone has joined #ruby
crack has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
ghr has joined #ruby
ecksit has joined #ruby
Andy__ has quit [Ping timeout: 252 seconds]
Andy__ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 240 seconds]
snockerton has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
mikecmpbll has quit [Quit: ciao.]
Guest123 has joined #ruby
Musashi007 has joined #ruby
Musashi007 has quit [Client Quit]
swgillespie has joined #ruby
stunder has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 264 seconds]
jcdesimp has quit [Quit: Leaving...]
sevvie has joined #ruby
erts_ has quit [Quit: Leaving]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cache_Money has quit [Quit: Cache_Money]
toretore has quit [Ping timeout: 264 seconds]
havenn has quit [Remote host closed the connection]
Andy__ has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
sevenseacat has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpablo__ has joined #ruby
Musashi007 has joined #ruby
zachrab has joined #ruby
amacou has joined #ruby
CrazyM4n has quit [Remote host closed the connection]
shum has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
sameerynho has joined #ruby
mostlybadfly has joined #ruby
riotjones has joined #ruby
sevvie has joined #ruby
Morkel has joined #ruby
zachrab has quit [Ping timeout: 246 seconds]
lxsameer has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 250 seconds]
dawkirst has quit [Ping timeout: 245 seconds]
rippa has joined #ruby
elaptics_away is now known as elaptics
hvxgr has quit [Ping timeout: 256 seconds]
mroach has quit [Quit: mroach]
reinaldob has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
lxsameer_ has joined #ruby
sinkensabe has joined #ruby
sameerynho has quit [Ping timeout: 250 seconds]
sameerynho has joined #ruby
reinaldob has quit [Ping timeout: 250 seconds]
jonr22 has joined #ruby
lxsameer_ has quit [Ping timeout: 256 seconds]
nii236|irssi has quit [Remote host closed the connection]
speaking1ode has joined #ruby
Musashi007 has quit [Quit: Musashi007]
sinkensabe has quit [Ping timeout: 264 seconds]
manrior has joined #ruby
speakingcode has quit [Ping timeout: 250 seconds]
<manrior> NM.S/9-.G5%$9+#8=)O<#.08T4U/#&A"R.M').2QTC./C6'-.Q0H.4/605.%2=(#?H,U(.)K.31ABNRCB4MNND.9)=.>9BH@-HH2.+?S;L1*O.7<UK.'CC$F."ASG:F8.8@.9.,-9Q,EL4T%>7-.G@9.:./<.I.%.Q#6+81.2@#7R4DH0 >5?F.IM.3:<: QH1&.T5.M1-..2H5/R3P:K'B>(.?=/D>863*F.M ;.A$A= >"B.23)=R4.?F 4)-'P5ES&:<LDJ#P;P-=2.*.++%R7P/&@.?LT*LJ.2IL7?.'-EB4
<manrior> -<O05:-P$.S.7K.#C?.L>.0DF.?M>.:KC*@%$+%?S@"8H"-L$#5EI,0.FI%G'.1-H;BLCC?TQQ$4.1?J@5GCU.;:?@J48,1$CQ3#.MP541BJMC=.((H.U"PEH..G:57J0Q8F.'DJ.J'.))1PE7$K JH99GG(.+E/UFQ47QO;.L*-L.A+1GO7 2.((E"&Q,EU11 J.F2A5AF?-9U$S1LK<K*QFD:+48.'>2.-.?DDS@"1-L4MFB",T+KE 9&IC..I@D&8$G.T;8.J%7?1.R473.I,OL.Q=.%CT/.
lxsameer_ has joined #ruby
<manrior> /D".).D0Q7E7:R8,#+*"--O6*U".K2=DJ,$3L(.U)?E)PTH*"0).N7".P"+E U)Q*.OLHN.0L03;5.BQ.5Q.>>.?':2@)=,.@.<'OU2.@C M5G.@41030M5P,.QAK*B"T(U1C.$+L"'.G.9+1<:?.=K&.0F.F.U6$1LG$K.&9F<8+(+A <R<&F/8FP@BF;..".-4.G>.K.GSQ NH%"/T1.01R1@&1.4/ #590&S?019K%$F6#/..8*6SCI.* H>,"N=<F&.6J,H.*
manrior has quit [Killed (idoru (Spam is off topic on freenode.))]
AlphaTech has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
elaptics is now known as elaptics_away
jonr22 has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
sameerynho has quit [Ping timeout: 246 seconds]
ixx has quit [Ping timeout: 244 seconds]
fabrice31 has joined #ruby
ixx has joined #ruby
ixx is now known as Guest89271
zorak8 has quit [Read error: Connection reset by peer]
Regulati_ has joined #ruby
ghr has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
tunaCanBruh has joined #ruby
wallerdev has quit [Quit: wallerdev]
jimms has joined #ruby
Qladstone has quit [Remote host closed the connection]
jbeeze has quit [Remote host closed the connection]
zorak8 has joined #ruby
fabrice31 has quit [Ping timeout: 246 seconds]
doodlehaus has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
Regulati_ has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 246 seconds]
patrick99e99 has joined #ruby
Qladstone has joined #ruby
RegulationD has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
plutonic has joined #ruby
tunaCanBruh has quit [Ping timeout: 252 seconds]
sinkensabe has joined #ruby
oo_ has quit [Remote host closed the connection]
<Qladstone> if I call a block within a method, what does the block return?
doodlehaus has quit [Ping timeout: 255 seconds]
lxsameer_ has quit [Ping timeout: 250 seconds]
<Qladstone> you can't have a return statement within a block right?
RegulationD has quit [Ping timeout: 244 seconds]
jack_rabbit has quit [Quit: Leaving]
jack_rabbit has joined #ruby
hvxgr has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
ghostpl_ has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
jenrzzz has quit [Ping timeout: 265 seconds]
ghostpl_ has quit [Ping timeout: 250 seconds]
kapil___ has joined #ruby
Megtastique has quit []
darkorigen has joined #ruby
charliesome has quit [Quit: zzz]
Guest123 has joined #ruby
iamninja has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
lxsameer_ has joined #ruby
Musashi007 has joined #ruby
speakingcode has joined #ruby
darkorigen has quit [Ping timeout: 245 seconds]
darkorigen has joined #ruby
lxsameer_ is now known as lxsameer
lxsameer has quit [Changing host]
lxsameer has joined #ruby
snockerton has quit [Quit: auf wiedersehen]
niko has quit [Remote host closed the connection]
niko has joined #ruby
hamakn has joined #ruby
agrinb has joined #ruby
G has quit [Quit: leaving]
hamakn has quit [Ping timeout: 246 seconds]
veinofstars has quit [Ping timeout: 244 seconds]
darkorigen has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sigurding has joined #ruby
jlast has quit [Remote host closed the connection]
mrsolo has joined #ruby
sevvie has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
sevvie has joined #ruby
jlast has joined #ruby
decoponio has joined #ruby
sevvie has quit [Ping timeout: 244 seconds]
sevenseacat has quit [Quit: Leaving.]
sevenseacat has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
sigurding has quit [Quit: sigurding]
G has joined #ruby
ghr has joined #ruby
aswen has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
Mon_Ouie has joined #ruby
ozialien has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
Sawbones_ has joined #ruby
jack_rabbit_ has joined #ruby
hollywood has joined #ruby
jack_rabbit has quit [Ping timeout: 245 seconds]
sevvie has joined #ruby
ghostpl_ has joined #ruby
charliesome has joined #ruby
juanpablo__ has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Changing host]
The_Phoenix has joined #ruby
x1337807x has joined #ruby
<crome> the block always returns the value of the last evaluated expression
zachrab has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
<crome> you can do return in a block but it is going to cause the enclosing method to return as well
ghostpl_ has quit [Ping timeout: 245 seconds]
Radar has quit [Quit: ZNC - http://znc.in]
helpa has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 256 seconds]
riotjones has joined #ruby
<crome> understanding the difference between a lambda and a proc helps a lot when it comes to figuring out what blocks do
zachrab has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
sigurding has joined #ruby
jlast has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
sami has quit [Ping timeout: 246 seconds]
sevvie has quit [Ping timeout: 244 seconds]
jlast_ has joined #ruby
sami has joined #ruby
agrinb has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 250 seconds]
chipotle has quit [Quit: cheerio]
jlast_ has quit [Ping timeout: 265 seconds]
agrinb has quit [Ping timeout: 250 seconds]
jimms has quit [Remote host closed the connection]
jimms has joined #ruby
c0m0 has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
ayaz has joined #ruby
CrazyM4n has joined #ruby
nolic has joined #ruby
<Qladstone> if the block is not saved as a lambda or proc, which is it?
<Qladstone> crome: thanks
Guest123 has joined #ruby
jonr22 has joined #ruby
_Andres has joined #ruby
claw_ has quit [Ping timeout: 252 seconds]
lidaaa has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
<Qladstone> anyway, that helped me
jonr22 has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
sigurding has quit [Quit: sigurding]
<lxsameer> Qladstone: what do you mean?
CrazyM4n has quit [Remote host closed the connection]
fabrice31 has joined #ruby
jack_rabbit_ has quit [Ping timeout: 264 seconds]
<crome> Qladstone: a block that is passed to a method as &something or even if it doesn't expect it or a block you pass to an iterator is always a proc
<Qladstone> Ixsameer: so I have a method that yields to a block. Is that block a Proc or Lambda? If the block was in the regular { } format without being defined
sevvie has joined #ruby
Hobogrammer has quit [Ping timeout: 246 seconds]
<Qladstone> yup that's what I meant. so the default state for a block is a Proc
tunaCanBruh has joined #ruby
<crome> I wouldn't call it a default state
<Qladstone> alright
<Qladstone> still really fuzzy about blocks and all. learning slowly though
apeiros__ has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
<Qladstone> thanks anyway
jack_rabbit_ has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
<crome> learning ruby is fun!
<crome> keep it up
toretore has joined #ruby
sent1nel has joined #ruby
amacou has quit [Remote host closed the connection]
RegulationD has joined #ruby
roshanavand has joined #ruby
plutonic has quit [Quit: plutonic]
tunaCanBruh has quit [Ping timeout: 250 seconds]
sameerynho has joined #ruby
Riking has quit [Ping timeout: 246 seconds]
<Qladstone> Thanks! It's my first language
sent1nel has quit [Ping timeout: 252 seconds]
CrazyM4n has joined #ruby
<diablerie> Hurrah.
RegulationD has quit [Ping timeout: 255 seconds]
<Qladstone> It'll be nice if I could use it to do some real stuff though
lxsameer has quit [Ping timeout: 250 seconds]
<Qladstone> so far it's a lot of practice and solving problems nothing useful yet, except I managed to generate an array of data to export into csv
mistermocha has quit [Remote host closed the connection]
RegulationD has joined #ruby
chinmay_dd has joined #ruby
plutonic has joined #ruby
ghr has joined #ruby
Spami has joined #ruby
<Qladstone> for use in excel
arup_r has joined #ruby
m8 has joined #ruby
m8 has quit [Changing host]
m8 has joined #ruby
codecop has joined #ruby
jlast has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 264 seconds]
doodlehaus has joined #ruby
lolmaus has joined #ruby
Spami has quit [Client Quit]
RegulationD has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
ndrei has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has quit [Ping timeout: 250 seconds]
doodlehaus has quit [Ping timeout: 252 seconds]
iamninja has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
dling has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
Radar has joined #ruby
Radar is now known as Guest7598
CrazyM4n has quit [Quit: sleep]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
helpa has joined #ruby
Guest7598 is now known as Radar
sevvie has quit [Ping timeout: 245 seconds]
duncannz has quit [Read error: Connection reset by peer]
Spami has joined #ruby
<atmosx> never gonna give you up
mikecmpbll has joined #ruby
giuseppesolinas has joined #ruby
ptrrr has joined #ruby
<atmosx> neve gonna let you down
<atmosx> never run around and desert you
aswen has quit [Ping timeout: 245 seconds]
sinkensabe has quit [Remote host closed the connection]
sevvie has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
daed has joined #ruby
plutonic has quit [Quit: plutonic]
agrinb has quit [Ping timeout: 250 seconds]
apeiros__ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
spider-mario has joined #ruby
decoponio has quit [Quit: Leaving...]
roshanavand1 has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
Deithrian has joined #ruby
lxsameer_ has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
c0m0 has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
sameerynho has quit [Ping timeout: 245 seconds]
lemur has quit [Remote host closed the connection]
chipotle_ has joined #ruby
lemur has joined #ruby
<arup_r> wow
jlast has quit [Ping timeout: 250 seconds]
sameerynho has joined #ruby
lxsameer_ has quit [Ping timeout: 250 seconds]
chipotle has quit [Ping timeout: 256 seconds]
lordkryss has joined #ruby
lemur has quit [Ping timeout: 245 seconds]
neanderslob has quit [Remote host closed the connection]
lxsameer_ has joined #ruby
mistermocha has joined #ruby
nolic has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 244 seconds]
sameerynho has joined #ruby
sinkensabe has joined #ruby
charliesome has quit [Quit: zzz]
Qladstone has quit [Remote host closed the connection]
<jaygen> wow
Axy has quit [Read error: Connection reset by peer]
<jaygen> arup_r: ruby is wow. such wow. wow
lxsameer_ has quit [Ping timeout: 255 seconds]
<daed> ruby is pretty wow
<daed> no denying that
sameerynho has quit [Ping timeout: 250 seconds]
<apeiros_> wow, so much wows.
Guest123 has joined #ruby
roshanavand has joined #ruby
<daed> "wow".split('').map(&:upcase)
roshanavand1 has quit [Ping timeout: 244 seconds]
Jackneill has joined #ruby
<jaygen> 'wow'.scan(/\d/).join + 'wow' = ?
n1lo has joined #ruby
Qladstone has joined #ruby
amacou has joined #ruby
Riking has joined #ruby
<atmosx> and I can't fight this feeling anymoooore
ghostpl_ has joined #ruby
<daed> don't fight it atmosx
juanpablo__ has joined #ruby
bMalum has joined #ruby
bMalum has quit [Client Quit]
<atmosx> daed: ol
Qladstone has quit []
sameerynho has joined #ruby
bMalum has joined #ruby
zachrab has joined #ruby
juanpablo__ has quit [Ping timeout: 244 seconds]
ghostpl_ has quit [Ping timeout: 264 seconds]
zachrab has quit [Ping timeout: 244 seconds]
riotjones has joined #ruby
oo_ has joined #ruby
cvtsx has quit [Quit: Leaving]
cvtsx has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
ecksit has quit [Quit: Textual IRC Client: www.textualapp.com]
AlexRussia has quit [Ping timeout: 246 seconds]
pandaant has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
oo_ has quit [Remote host closed the connection]
Rollabunna has quit [Read error: No route to host]
AlexRussia has joined #ruby
sameerynho has quit [Ping timeout: 250 seconds]
DivineEntity has quit [Ping timeout: 264 seconds]
DivineEntity has joined #ruby
shellfu has quit [Remote host closed the connection]
jlast has joined #ruby
jonr22 has joined #ruby
penzur_ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
jlast has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
penzur has quit [Ping timeout: 250 seconds]
mistermocha has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 265 seconds]
fabrice31 has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
AlienPickle has joined #ruby
tunaCanBruh has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
jaygen_ has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
ptrrr has quit [Quit: ptrrr]
tunaCanBruh has quit [Ping timeout: 255 seconds]
jaygen has quit [Ping timeout: 245 seconds]
kerrick__ has quit [Ping timeout: 256 seconds]
penzur_ has quit [Quit: Leaving]
nolic has joined #ruby
RegulationD has joined #ruby
roolo has joined #ruby
AlienPickle has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
DEA7TH has joined #ruby
leafybasil has joined #ruby
leafybasil has quit [Remote host closed the connection]
meschi has joined #ruby
RegulationD has joined #ruby
jm0 has quit [Quit: Lost terminal]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
zacts has joined #ruby
hanmac has quit [Ping timeout: 265 seconds]
sevenseacat has quit [Quit: Leaving.]
sevenseacat has joined #ruby
nicolastarzia has joined #ruby
giuseppesolinas has joined #ruby
jm0 has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
<arup_r> need help
<arup_r> not able to write code using map.with_object.. here is my work around
<arup_r> >> [1,2,3].map { |a, ob = 2| "%d + %d = #{a + ob}" % [a, ob] }
<eval-in> arup_r => ["1 + 2 = 3", "2 + 2 = 4", "3 + 2 = 5"] (https://eval.in/291599)
RegulationD has joined #ruby
<arup_r> but how to write it using map and with_object ?
zachrab has joined #ruby
MasterPiece has quit [Quit: Leaving]
hiyosi has joined #ruby
<apeiros_> I don't see why you'd want to write that with map + with_object o0
RegulationD has quit [Ping timeout: 246 seconds]
<arup_r> just for brevity apeiros
<arup_r> :)
<arup_r> with_object looks cool
<apeiros_> I don't see how .with_object would make it shorter, or more concise
agrinb has joined #ruby
zachrab has quit [Ping timeout: 246 seconds]
aswen has joined #ruby
hmnhf has joined #ruby
oleo__ has quit [Quit: Verlassend]
gr33n7007h has joined #ruby
quazimodo has quit [Ping timeout: 252 seconds]
hanmac has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
qba73 has joined #ruby
hmnhf has quit [Client Quit]
<arup_r> Humm.. I don't see to
<canton7> yeah, completely the wrong use for with_object :P
* arup_r again feeling himself as monkey
einarj has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
giuseppesolinas has joined #ruby
Takle has quit [Remote host closed the connection]
pkrzywicki_ has quit [Ping timeout: 256 seconds]
giuseppesolinas has quit [Client Quit]
giuseppesolinas has joined #ruby
jlast has joined #ruby
blackmesa has joined #ruby
ponga has quit [Remote host closed the connection]
Advocation has joined #ruby
ponga has joined #ruby
ptrrr has joined #ruby
ZoanthusR has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
tskogberg has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jlast has joined #ruby
nfk has joined #ruby
jaygen_ has quit [Ping timeout: 245 seconds]
asmodlol has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
sigurding has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
oleo has joined #ruby
ponga has quit [Ping timeout: 246 seconds]
bMalum has quit [Quit: bMalum]
giuseppesolinas has joined #ruby
ptrrr has quit [Quit: ptrrr]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
giuseppesolinas has quit [Client Quit]
FooMunki has joined #ruby
Rollabunna has joined #ruby
Azure has quit [Ping timeout: 244 seconds]
neoxquick has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
Azure has joined #ruby
giuseppesolinas has joined #ruby
enterprisedc has quit [Quit: enterprisedc]
ghostpl_ has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
juanpablo__ has joined #ruby
enterprisedc has joined #ruby
yfeldblu_ has joined #ruby
ghostpl_ has quit [Ping timeout: 250 seconds]
juanpablo__ has quit [Ping timeout: 250 seconds]
riotjones has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
bMalum has joined #ruby
riotjones has quit [Ping timeout: 245 seconds]
c0m0 has joined #ruby
_Andres has joined #ruby
agrinb has joined #ruby
jm0 has quit [Remote host closed the connection]
mroach has joined #ruby
ptrrr has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby
jm0 has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
mroach has quit [Ping timeout: 272 seconds]
einarj_ has joined #ruby
mroach has joined #ruby
nicolastarzia has quit [Remote host closed the connection]
shum has joined #ruby
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tmtwd has joined #ruby
Musashi007 has quit [Quit: Musashi007]
einarj__ has joined #ruby
einarj has quit [Ping timeout: 250 seconds]
einarj_ has quit [Ping timeout: 250 seconds]
ghostpl_ has joined #ruby
einarj__ has quit [Read error: Connection reset by peer]
einarj has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
_Andres has quit [Read error: Connection reset by peer]
c0m0 has quit [Ping timeout: 246 seconds]
jonr22 has joined #ruby
_Andres has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
<arup_r> shevy: there?
<arup_r> Here is my cat and dogs... and their names --- http://stackoverflow.com/a/28644836/2767755 .. lol
<arup_r> lelelelele
seal has joined #ruby
sigurding has quit [Read error: No route to host]
sigurding has joined #ruby
roolo has quit [Remote host closed the connection]
roolo has joined #ruby
jonr22 has quit [Ping timeout: 244 seconds]
fabrice31 has joined #ruby
<hollywood> by the way
jlast has joined #ruby
<hollywood> oh, nvm
tunaCanBruh has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
einarj has quit [Remote host closed the connection]
speakingcode has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 250 seconds]
tunaCanBruh has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
ponga has joined #ruby
hcnewsom has joined #ruby
despai has joined #ruby
hcnewsom has quit [Client Quit]
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
dotix has joined #ruby
dotix has joined #ruby
roolo has quit [Remote host closed the connection]
dotix has quit [Client Quit]
elaptics_away is now known as elaptics
roolo has joined #ruby
mostlybadfly has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
hcnewsom has joined #ruby
olivier_bK has joined #ruby
doodlehaus has quit [Remote host closed the connection]
oleo has quit [Read error: Connection reset by peer]
razieliyo has joined #ruby
iamninja has joined #ruby
seal has quit [Quit: Ex-Chat]
olivier_bK has quit [Ping timeout: 252 seconds]
oleo has joined #ruby
jenrzzz has joined #ruby
moritzs has joined #ruby
roolo has quit [Remote host closed the connection]
RegulationD has joined #ruby
roolo has joined #ruby
chinmay_dd has quit [Quit: Connection closed for inactivity]
kiely is now known as kiely_elsewhere
zachrab has joined #ruby
roolo has quit [Remote host closed the connection]
mjuszczak has joined #ruby
roolo has joined #ruby
ptrrr has quit [Quit: ptrrr]
DadoCe has joined #ruby
quazimodo has joined #ruby
zorak8 has quit [Ping timeout: 244 seconds]
Rollabunna has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 252 seconds]
<arup_r> hollywood: wht?
mjuszczak has quit [Client Quit]
Rollabunna has joined #ruby
<hollywood> was asking if defining the new array under the same name erases the old
<hollywood> turned out it does
<arup_r> ok
RegulationD has joined #ruby
agrinb has joined #ruby
mjuszczak has joined #ruby
mroach has quit [Ping timeout: 272 seconds]
zachrab has quit [Ping timeout: 244 seconds]
MasterPiece has joined #ruby
<ponga> interesting
mroach has joined #ruby
hamakn has joined #ruby
mjuszcza_ has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
agrinb has quit [Ping timeout: 250 seconds]
Troy^ has joined #ruby
RegulationD has joined #ruby
mjuszczak has quit [Ping timeout: 240 seconds]
OrbitalKitten has joined #ruby
malcolmva has quit [Ping timeout: 246 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
<shevy> arup_r yeah there now
jimms has quit [Remote host closed the connection]
imanzarrabian has joined #ruby
<shevy> databases are so complicated compared to yaml files!
<arup_r> shevy: yaml is not sufficient to run the e-commerce website :p
<arup_r> ponga: what is interesting ?
Troy^_ has joined #ruby
centrx has joined #ruby
<ponga> arup_r: what hollywood said about array
<arup_r> ohh
<shevy> arup_r ah you are on your way to become a billionaire :)
<hollywood> speaking of which
<arup_r> yes he is naming his arrays.. I never tried... but i should in future
<hollywood> what is the best e-commerce platform?
_Andres has quit [Read error: Connection reset by peer]
<wasamasa> ebay
Deithrian_ has joined #ruby
doodlehaus has joined #ruby
<hollywood> well
_Andres has joined #ruby
<hollywood> expected something like Prestashop or w/e, but that's offtopic I guess
<hollywood> I'm just curious what people use for building shops
<sevenseacat> spree
centrx has quit [Remote host closed the connection]
centrx has joined #ruby
billy_ran_away has quit [Quit: ZNC - http://znc.in]
athan has joined #ruby
mailo has joined #ruby
Deithrian has quit [Ping timeout: 250 seconds]
ghostpl_ has joined #ruby
shortdudey123 has quit [Remote host closed the connection]
ptrrr has joined #ruby
roolo has quit [Ping timeout: 250 seconds]
malcolmva has joined #ruby
mailo has quit [Remote host closed the connection]
roolo has joined #ruby
billy_ran_away has joined #ruby
ghostpl_ has quit [Ping timeout: 250 seconds]
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Takle has joined #ruby
Troy^_ has joined #ruby
billy_ran_away has quit [Max SendQ exceeded]
unreal_ is now known as unreal
jlast has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
<arup_r> ^^^
<arup_r> shevy: I don't have bank account
<arup_r> to become a billionaire
<shevy> then your bank won't get rich out of you!
<arup_r> hehehe
kirun has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Deithrian has joined #ruby
mailo has joined #ruby
* arup_r thinking how can he puts his all money to public bank accounts.. so that no tax or bill he needs to take care of
hcnewsom has quit [Quit: hcnewsom]
Soda has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
billy_ran_away has joined #ruby
roolo has quit [Ping timeout: 240 seconds]
shum has quit [Quit: WeeChat 1.1.1]
jlast has joined #ruby
Deithrian_ has quit [Ping timeout: 250 seconds]
arturaz has joined #ruby
<arup_r> hollywood: why your nickname is california but hollywood ... :)
<arup_r> **is not
dorei has joined #ruby
<hollywood> So you're asking why I'm using a Cali name but I'm not from it?
jlast has quit [Ping timeout: 250 seconds]
<arup_r> no.. I'm not..
blackmesa has quit [Ping timeout: 264 seconds]
<hollywood> um
<arup_r> like ponga: ge got his name from random keyboards hits
<arup_r> **he
<hollywood> picked this nick randomly really
juanpablo__ has joined #ruby
<arup_r> lol
<arup_r> all says same
<arup_r> BombStrike: see this name too :p
shortdudey123 has joined #ruby
<dorei> 3-letter nicknames are old school xD I used to have one :p
<arup_r> mostlybadfly: she is also got from a game as she said..
<arup_r> :)
hcnewsom has joined #ruby
shum has joined #ruby
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
_ixti_ has joined #ruby
shum has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 246 seconds]
ixti has quit [Ping timeout: 255 seconds]
shum has joined #ruby
<ponga> who is it
<ponga> oh
blackmesa has joined #ruby
<jm0> dorei: is it oldskool for everyone, just because you had one once? :)
<wasamasa> hmm, I could register one
wasamasa is now known as vms
vms is now known as wasamasa
<dorei> jm0: old arcades accepted max 3 letters nicknames in the hall of fame (i guess due to "space" reasons)
<wasamasa> done
<dorei> vms was unregistered? :O
<wasamasa> yes
<dorei> vax is registered though
<wasamasa> vms are my initials
Deithrian_ has joined #ruby
<wasamasa> not sure whether that's a good or bad thing
claw_ has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
<jm0> dorei: I remember that :P hurry up and register it then, if vms are your initials.
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FooMunki has quit [Quit: FooMunki]
<jm0> Alot better than dorei if you ask me
Deithrian has quit [Ping timeout: 246 seconds]
<dorei> xD
agrinb has joined #ruby
kiely_elsewhere is now known as kiely
giuseppesolinas has joined #ruby
yfeldblu_ has quit [Ping timeout: 252 seconds]
hcnewsom has quit [Quit: hcnewsom]
imanzarrabian has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 250 seconds]
hcnewsom has joined #ruby
giuseppesolinas has quit [Client Quit]
<hollywood> by the way
<hollywood> you can't unless and then elsif, right?
giuseppesolinas has joined #ruby
<ponga> can you?
DadoCe has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<hollywood> checking the docs right now
<centrx> You wouldn't because it would be confusing
moritzs has quit [Ping timeout: 245 seconds]
<ponga> i always think 'unless' got its english meaning wrong
<ponga> in ruby
DadoCe has joined #ruby
<centrx> unless means 'Except, if..not'
<hollywood> nah elsunless wouldn't be confusing
<shevy> lol
<apeiros_> hollywood: no, you can't elsif after unless
<shevy> elsifless
<shevy> elsif unless false
fantazo has quit [Quit: Verlassend]
<apeiros_> and elsunless does not exist
<hollywood> yeah
<hollywood> Figured that out as well
<shevy> ponga my brain is faster with "if" but also with "if !"
shum has quit [Quit: WeeChat 1.1.1]
<shevy> sadly, the ' ' there also annoys me so I started to use "unless" :(
<ponga> shevy: me too
<shevy> I wonder if programming could happen in a different way
<apeiros_> shevy: I found "unless" easy when translating it as "ausser wenn" instead of "wenn nicht"
<ponga> but im ok with 'while' and 'until'
<hollywood> you can else with unless tho
<daed> i parse it as 'if !'
<shevy> omg translating into german! :D
shum has joined #ruby
<shevy> I am guilty of sometimes having used german words in comments
<ponga> apeiros_: i also translate 'unless' in korean/japanese rather than english inherent meaning
jonr22 has joined #ruby
despai has joined #ruby
<hanmac> "unless" and "if !" are not 100% equal but equal enough for most cases
<ponga> i'd say 'applicable' than 'equal'
<daed> hanmac: yeah
<apeiros_> ponga: hm? the two translations both reflect the inherent meaning
moritzs has joined #ruby
<ponga> apeiros_: i don't even speak german im saying i just translate 'unless' into my mother tongues
serivich has joined #ruby
<daed> in cases with else though, i always avoid unless
n1lo_ has joined #ruby
<daed> and keep truthy if as first statement
<daed> if val; etc; else; etc; end
<apeiros_> same
lys has joined #ruby
hcnewsom has quit [Quit: hcnewsom]
<apeiros_> no else with unless
FooMunki_ has joined #ruby
<daed> i saw that in a recent codebase.. was kind of offputting
jonr22 has quit [Ping timeout: 250 seconds]
rubytor has joined #ruby
hcnewsom has joined #ruby
<daed> 99% of the mentions of 'unless' are non-language-related
Pharaoh2 has joined #ruby
n1lo has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
hcnewsom has quit [Client Quit]
tunaCanBruh has joined #ruby
livingstn has joined #ruby
<ponga> shevy: i find 'until' quite handy to use
fabrice31 has quit [Ping timeout: 256 seconds]
ptrrr_ has joined #ruby
doodlehaus has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
RegulationD has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
mjuszcza_ has quit []
mroach has quit [Quit: mroach]
molavy has joined #ruby
<molavy> hi
ptrrr has quit [Ping timeout: 252 seconds]
ptrrr_ is now known as ptrrr
hcnewsom has joined #ruby
<molavy> I want use Sequel to connect to oracle database
<molavy> as you know oracle change all table names to uppercase,
<molavy> but all of our database tables is in lowercase
<shevy> ponga dunno. I kinda got into the habit of using loop {} and manually break out of it
doodleha_ has joined #ruby
<molavy> how can I tell to sequel to force send all of database table names to lowercase
<ponga> manuel ;p
hcnewsom has quit [Client Quit]
<shevy> my code is not pretty! it just is very easy for my brain :D
doodlehaus has quit [Ping timeout: 244 seconds]
<centrx> brains
DadoCe has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 250 seconds]
hcnewsom has joined #ruby
Takle has joined #ruby
DadoCe has joined #ruby
pu22l3r has joined #ruby
hollywood is now known as hollywood[AFK]
aswen has joined #ruby
jlast has joined #ruby
DadoCe has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
<molavy> any idea?
<centrx> molavy, Are you saying Sequel is converting all your table names to uppercase?
despai has quit [Quit: This computer has gone to sleep]
Takle has quit [Ping timeout: 264 seconds]
hollywood[AFK] has quit [Quit: Leaving]
zorak8 has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
jlast has joined #ruby
<molavy> centrx,no oracle do that
giuseppesolinas has joined #ruby
<molavy> I should use "\"tablename\"" for table selection
n1lo_ has quit [Quit: Leaving]
<molavy> to force oracle use lowercase letter table selection
<molavy> but sequel don't let me do more query like where and get when I use something like this items=db["\"tablename\""]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<molavy> all of samples is in this format items=db[:tablename]
SolarSailor has joined #ruby
jimms has joined #ruby
<molavy> in above sample oracle change all table names to upper
tkuchiki has joined #ruby
<molavy> I want prevent that, but when I use
<molavy> items=db["\"tablename\""]
<centrx> weird, can't you just get Oracle to stop messing with your table names?
jlast has quit [Ping timeout: 250 seconds]
daynaskully has quit [Quit: quit]
<molavy> what I found is this, http://stackoverflow.com/a/11447098 , I just want use sequel and send table names with double quotation around it
hcnewsom has quit [Quit: hcnewsom]
<molavy> so don't let oracle to change table names to uppercase on query
pandaant has quit [Remote host closed the connection]
yojimmbo has quit [Quit: Leaving]
Pharaoh2 has joined #ruby
vdamewood has joined #ruby
rubytor has quit [Ping timeout: 244 seconds]
kiely is now known as kiely_elsewhere
zachrab has joined #ruby
hcnewsom has joined #ruby
<molavy> any idea?
Pharaoh2 has quit [Client Quit]
<daed> i wish i could help, thankfully i try to abstract as much as possible away from proprietary sql
<daed> doesnt help much on the legacy projects though :(
kiely_elsewhere is now known as kiely
agrinb has joined #ruby
hcnewsom has quit [Client Quit]
hamakn has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
<molavy> there is really no idea?
Pharaoh2 has joined #ruby
zachrab has quit [Ping timeout: 256 seconds]
<molavy> this is my first project on ruby
pu22l3r has quit [Remote host closed the connection]
<centrx> I haven't encountered this
<centrx> It sounds like an Oracle bug to be honest
<centrx> can't believe they wouldn't allow lowercase table names, but would be case-sensitive for table names
DadoCe has quit [Remote host closed the connection]
<centrx> You can use the '"myname"' technique
<centrx> Or change the table names I gather
<centrx> Or not use Oracle
Pharaoh2 has quit [Remote host closed the connection]
<daed> yeah seems more like an oracle issue
DadoCe has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
rubytor has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michael_mbp has joined #ruby
claptor has joined #ruby
Diabolik has quit [Max SendQ exceeded]
agrinb has quit [Ping timeout: 265 seconds]
Diabolik has joined #ruby
claw_ has quit [Ping timeout: 250 seconds]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
dblessing has joined #ruby
DadoCe has quit [Ping timeout: 245 seconds]
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
iamninja has joined #ruby
nicolastarzia has joined #ruby
bMalum has joined #ruby
triple_b has joined #ruby
RegulationD has joined #ruby
mroach has joined #ruby
jhankins has joined #ruby
mroach has quit [Client Quit]
mroach has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
pu22l3r has joined #ruby
RegulationD has joined #ruby
ghr has joined #ruby
bMalum has quit [Read error: Connection reset by peer]
lordkryss has quit [Quit: Connection closed for inactivity]
ghostpl_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
sevenseacat has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 255 seconds]
ghr has quit [Ping timeout: 246 seconds]
mailo_ has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
ponga has quit [Remote host closed the connection]
ghostpl_ has quit [Ping timeout: 246 seconds]
mailo has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
ponga has joined #ruby
tkuchiki has joined #ruby
Megtastique has joined #ruby
leafybasil has joined #ruby
<molavy> 8-),:-D, I found that, Sequel.identifier_input_method = :downcase
einarj has joined #ruby
<molavy> thanks anyway
jenrzzz has quit [Ping timeout: 256 seconds]
elfuego has joined #ruby
Zai00 has joined #ruby
einarj has quit [Ping timeout: 246 seconds]
jimms has quit [Remote host closed the connection]
wasamasa is now known as vms
vms is now known as wasamasa
molavy has left #ruby [#ruby]
jlast has joined #ruby
juanpablo__ has joined #ruby
nolic has quit [Remote host closed the connection]
dblessing has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
digifiv5e has joined #ruby
digifiv5e is now known as Guest33621
jottr_ has joined #ruby
ptrrr_ has joined #ruby
kllyy has joined #ruby
kllyy has quit [Client Quit]
jonr22 has joined #ruby
lys has quit [Quit: lys]
ptrrr has quit [Ping timeout: 256 seconds]
ptrrr_ is now known as ptrrr
jlast has quit [Ping timeout: 252 seconds]
juanpablo__ has quit [Ping timeout: 246 seconds]
centrx has quit [Quit: Shutting down, Please wait...]
jlast has joined #ruby
jack_rabbit_ has quit [Ping timeout: 244 seconds]
xiq has joined #ruby
xiq has quit [Remote host closed the connection]
ikeike443 has quit [Ping timeout: 244 seconds]
willharrison has joined #ruby
riotjones has joined #ruby
jimms has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
sankaber has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hcnewsom has joined #ruby
havenwood has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
pu22l3r has quit [Remote host closed the connection]
jhankins has quit [Ping timeout: 245 seconds]
speakingcode has joined #ruby
jottr_ has quit [Ping timeout: 255 seconds]
pu22l3r has joined #ruby
leafybasil has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
leafybasil has joined #ruby
tkuchiki has quit [Remote host closed the connection]
oleo is now known as Guest63006
oleo__ has joined #ruby
arturaz has quit [Remote host closed the connection]
jottr_ has joined #ruby
pu22l3r has joined #ruby
Guest63006 has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
pu22l3r has quit [Remote host closed the connection]
athan has quit [Read error: Connection reset by peer]
vozcelik has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
athan has joined #ruby
_Andres has joined #ruby
ptrrr_ has joined #ruby
fabrice31 has joined #ruby
hamakn has quit [Ping timeout: 250 seconds]
ptrrr has quit [Ping timeout: 264 seconds]
ptrrr_ is now known as ptrrr
tunaCanBruh has joined #ruby
ghr has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
ghostpl_ has joined #ruby
apeiros_ has quit [Remote host closed the connection]
claw_ has joined #ruby
apeiros_ has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
tunaCanBruh has quit [Ping timeout: 252 seconds]
karmatr0n has quit [Remote host closed the connection]
despai has joined #ruby
leafybasil has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 252 seconds]
vozcelik has quit [Ping timeout: 245 seconds]
crack has joined #ruby
Sirupsen has joined #ruby
ogalush has joined #ruby
ogalush has left #ruby [#ruby]
ghostpl_ has quit [Ping timeout: 264 seconds]
apeiros_ has quit [Ping timeout: 250 seconds]
hamakn has joined #ruby
fella6s has quit [Ping timeout: 246 seconds]
athan has quit [Ping timeout: 244 seconds]
vdamewood has quit [Quit: Computer has gone to sleep.]
athan has joined #ruby
aryaching has joined #ruby
claw_ has quit [Ping timeout: 265 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby
QualityAddict has quit []
Trynemjoel has quit [Ping timeout: 272 seconds]
Troy^_ has joined #ruby
devoldmx_ has joined #ruby
ptrrr has quit [Quit: ptrrr]
Spami has quit [Quit: This computer has gone to sleep]
Sawbones has joined #ruby
Troy^_ has quit [Client Quit]
jlast has joined #ruby
Trynemjoel has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
bluOxigen has joined #ruby
zachrab has joined #ruby
timonv has joined #ruby
Pharaoh2 has joined #ruby
Sawbones has quit [Ping timeout: 250 seconds]
jlast has quit [Ping timeout: 265 seconds]
aryaching has quit []
jlast has joined #ruby
rushed has joined #ruby
Channel6 has joined #ruby
timonv has quit [Client Quit]
devoldmx_ has quit [Remote host closed the connection]
JBreit has left #ruby ["Leaving"]
zachrab has quit [Ping timeout: 252 seconds]
gkra has quit [Ping timeout: 245 seconds]
Qladstone has joined #ruby
timonv has joined #ruby
agrinb has joined #ruby
hybridark has quit [Ping timeout: 264 seconds]
_2_steph has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
timonv has quit [Client Quit]
doodleha_ has quit [Remote host closed the connection]
timonv has joined #ruby
starless has joined #ruby
hybridark has joined #ruby
dblessing has joined #ruby
centrx has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
<shevy> is there something like markdown
<shevy> but also allows to create html tags additionally?
mroach has quit [Quit: mroach]
kiely is now known as kiely_elsewhere
cpt_yossarian has quit [Quit: And then he took off.]
cpt_yossarian has joined #ruby
perturbation has joined #ruby
Vivex has quit [Ping timeout: 246 seconds]
Vivex has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
hs366 has joined #ruby
<ponga> hey shevy i see some people here have their own hosted blogs, does that cost a lot to maintain
<ponga> i mean, fee-wise
<shevy> no idea, never had a blog. I think you can cap the cost to a very low fee
centrx has quit [Remote host closed the connection]
<shevy> I know of a browsergame that has a total of less than 100 users, but they manage to run 4 servers + a wiki + a forum only based on voluntary donations
mostlybadfly has quit [Quit: Connection closed for inactivity]
<ponga> k
devoldmx_ has joined #ruby
ozialien has quit [Remote host closed the connection]
<shevy> why isn't there a failsafe require built in? right now I seem to have to do begin; require 'foo'; rescue LoadError; end
RegulationD has joined #ruby
mitchellhenke has joined #ruby
<jhass> ponga: depends on how you define "own hosted" really
<ponga> jhass: my expression was very bad, its not to be own hosted, just rented hosting service with purchashed domain
<ponga> sorry
<ponga> i was saying 'own hosted' to differ to blog hosting services like bloggers and wordpress
<jhass> that should be possible for ~1$/1€/month these days
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> I also imagine that things like wordpress.com and blogger support custom domains
<ponga> but i find those blogger/wordpress service with custom domain as good
<ponga> yeah
<jhass> so it becomes the 5-30/year for the domain
shellfu has joined #ruby
mitchellhenke has quit [Client Quit]
<jhass> or nothing if you like freenom.com :P
RegulationD has quit [Ping timeout: 244 seconds]
shellfu has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
RegulationD has joined #ruby
mostlybadfly has joined #ruby
vdamewood has joined #ruby
timonv has quit [Quit: WeeChat 1.1.1]
timonv has joined #ruby
<shevy> imagine if you could pay with information or tutorials
timonv has quit [Client Quit]
timonv has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
tmtwd has quit [Remote host closed the connection]
RegulationD has joined #ruby
<jhass> uh, you do pay with information on the web, a lot
<jhass> every time you google for example
tunaCanBruh has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Spami has joined #ruby
Rollabunna has joined #ruby
ghr has joined #ruby
einarj has joined #ruby
pushpak has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchellhenke has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
tunaCanBruh has quit [Ping timeout: 240 seconds]
lampd1 has joined #ruby
<mikecmpbll> is it better to keep your mutex#synchronize blocks small? for instance if i have to update several variables from threads, would it be optimal to wrap each assignment individually?
ghr has quit [Ping timeout: 245 seconds]
<mikecmpbll> multiple mutexes
gr33n7007h has quit [Ping timeout: 255 seconds]
OrbitalKitten has joined #ruby
OrbitalKitten has quit [Client Quit]
einarj has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
hs366 has quit [Quit: Leaving]
hs366 has joined #ruby
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinninger has joined #ruby
_2_steph has quit [Read error: Connection reset by peer]
m8 has quit [Quit: Sto andando via]
jottr_ has quit [Ping timeout: 245 seconds]
tus has joined #ruby
QualityAddict has joined #ruby
juanpablo__ has joined #ruby
shellfu has joined #ruby
Qladstone has quit [Remote host closed the connection]
jottr_ has joined #ruby
rkgudboy has joined #ruby
<havenwood> mikecmpbll: Finer grained locks can be good if it frees up stuff between the lock. If it doesn't, it's just extra overhead and I'd expect it to be slower.
<havenwood> mikecmpbll: Have an example of the code at hand?
<mikecmpbll> sure, bear with me
rkgudboy has quit [Max SendQ exceeded]
<havenwood> Yay, Saturn's day!
rkgudboy has joined #ruby
rkgudboy has quit [Max SendQ exceeded]
juanpablo__ has quit [Ping timeout: 240 seconds]
<havenwood> Apparently that's bath day for vikings.
rkgudboy has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
tmtwd has joined #ruby
olivier_bK has joined #ruby
<havenwood> shevy: I guess it's a requirement to require not a suggestion. :P
<havenwood> shevy: def suggest dep; require dep; rescue LoadError; :suggestion_declined end
AlexRussia has quit [Ping timeout: 246 seconds]
<shevy> hmm
jlast has joined #ruby
<mikecmpbll> havenwood: it's this :) https://gist.github.com/mikecmpbll/a4081280937a1f94b180
<mikecmpbll> synchronize block at bottom
AlexRussia has joined #ruby
davidhq has joined #ruby
agrinb has joined #ruby
jimms has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 265 seconds]
pontiki has joined #ruby
<mikecmpbll> my thinking was that if i used multiple mutexes then different threads could do the different assignments concurrently, but tbh i'm not sure how often it'll be that threads are blocking on that code so i probably won't gain any worthwhile efficiency
blackmesa has joined #ruby
rkgudboy has quit [Max SendQ exceeded]
jlast has joined #ruby
Dopagod has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
agrinb has quit [Ping timeout: 265 seconds]
<havenwood> mikecmpbll: On first glance, it looks like you're sharing mutable data between the Threads outside of your lock.
<mikecmpbll> which bit
ghr has quit [Ping timeout: 255 seconds]
<havenwood> mikecmpbll: varient_results, prediction, result, strike_rate, finish_r, and avg
<mikecmpbll> those are thread locals
<havenwood> ah, right
Hobogrammer has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
<havenwood> mikecmpbll: Hem. So how about three Mutexes, one for each of the vars you're synchronizing?
qba73 has quit []
<havenwood> mikecmpbll: Looking more closely. :)
<mikecmpbll> yeah, i think i'll do that. doubt it'll make much difference in the scheme of things because the threads are quite long-running and i don't envisage much blocking at all
<mikecmpbll> currently predict that it takes somewhere in the order of 70 days to complete :P should be able to get it down to about 10 when i install jruby ...
<havenwood> mikecmpbll: JRuby ALL THE THINGS! \o/
<waxjar> depending on memory usage, you could take the mutex stuff at the end when all threads finished. so they won't step on each other's toes while processing
<waxjar> *take the mutex stuff and do it at the end
<mikecmpbll> waxjar: i'd still need to add the result to the array
<mikecmpbll> with the mutex
<waxjar> oh right, yeah i see
Takle has joined #ruby
<havenwood> Could Queue it then dequeue at the end I suppose.
<arup_r> >> "hello %{dear.empty?}, good morning!" % {true => ' my dear', false => ""}
<eval-in> arup_r => key{dear.empty?} not found (KeyError) ... (https://eval.in/291765)
<arup_r> not working... is this possible?
<arup_r> the way I'm looking for
<waxjar> or keep a results array per thread
jottr_ has quit [Ping timeout: 264 seconds]
<waxjar> i didnt notice there was a loop in the indivudual threads
<mikecmpbll> waxjar: that's certainly true.
FooMunki_ has quit [Ping timeout: 252 seconds]
<arup_r> ohh! `dear ` is a local var
<waxjar> that way they won't ever step on each others toes, you just have to do a little bit of extra processing at the end
devoldmx_ has quit [Remote host closed the connection]
<havenwood> mikecmpbll: `unless variants_queue.empty?` is a nice way to `loop do; break if variants_queue.empty?` I think
<mikecmpbll> havenwood: it'll loop forever then though :p
rushed has quit [Quit: rushed]
<havenwood> mikecmpbll: really? maybe i need more coffee...
<mikecmpbll> oh, or it won't loop
<mikecmpbll> i misread what you put
<mikecmpbll> maybe you mean while?
leat has quit [Remote host closed the connection]
FooMunki_ has joined #ruby
<havenwood> mikecmpbll: No, you're breaking *if* it's empty.
leat has joined #ruby
<mikecmpbll> yes.
<waxjar> wouldn't that be a race condition in itself btw, empty? returns true, context switch, other thread pops an element off, context switch back, queue is now empty
<havenwood> mikecmpbll: so looping, *unless* it's empty.
<mikecmpbll> havenwood: where's the looping? (in your proposal)
rushed has joined #ruby
<havenwood> mikecmpbll: ha, sorry I'm not awake... `until`
<mikecmpbll> :)
<havenwood> meant to write: until variants_queue.empty?
<mikecmpbll> gotcha.
<havenwood> >.>
* havenwood goes in search of coffee.
<mikecmpbll> waxjar: hmm, i do thread like this in some other code that we've had in production for a while, seems to work fine
<mikecmpbll> maybe it's to do with the Queue class
olivier_bK has joined #ruby
<arup_r> >> dear = ""; "hello %{#{dear.empty?}}, good morning!" % {true => ' my dear', false => ""}
<eval-in> arup_r => key{true} not found (KeyError) ... (https://eval.in/291767)
<arup_r> why the hell not working ?
<mikecmpbll> that code is unreadable, man.
fabrice31 has joined #ruby
<arup_r> humm..
<arup_r> But not working
timonv has quit [Ping timeout: 245 seconds]
wookiehangover has quit [Ping timeout: 265 seconds]
<mikecmpbll> >> dear = ""; "hello #{dear.empty?}, good morning!" % {true => ' my dear', false => ""}
<eval-in> mikecmpbll => "hello true, good morning!" (https://eval.in/291769)
<mikecmpbll> eh
<mikecmpbll> what are you trying to do
hs366 has quit [Quit: Leaving]
Advocation has quit [Quit: Advocation]
fabrice31 has quit [Ping timeout: 252 seconds]
hybridark has quit [Ping timeout: 252 seconds]
Guest33621 has quit [Changing host]
Guest33621 has joined #ruby
Guest33621 is now known as daynaskully
<arup_r> >> dear = "val" ; "hello %s, good morning!" % "#{dear.empty? ? "" : ' my dear'}"
<eval-in> arup_r => "hello my dear, good morning!" (https://eval.in/291775)
<arup_r> done
<arup_r> mikecmpbll: ^^
ghostpl_ has joined #ruby
<mikecmpbll> k
<mikecmpbll> so the value of `dear` has nothing to do with anything, just whether it exists or not? :p
wookiehangover has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hybridark has joined #ruby
<arup_r> humm
despai has quit [Quit: This computer has gone to sleep]
<arup_r> >> dear = "val" ; "hello %s, good morning!" % "#{' my dear' unless dear.empty?}"
<eval-in> arup_r => "hello my dear, good morning!" (https://eval.in/291778)
despai has joined #ruby
<arup_r> better
<arup_r> >> dear = "" ; "hello %s, good morning!" % "#{' my dear' unless dear.empty?}"
<eval-in> arup_r => "hello , good morning!" (https://eval.in/291779)
<arup_r> hehe
* mikecmpbll shrugs
<arup_r> mikecmpbll: did you like ?
<arup_r> why ?
rushed has quit [Quit: rushed]
<mikecmpbll> i do not understand the point of the `dear` var :p
<mikecmpbll> why not make it boolean?
OrbitalKitten has joined #ruby
hamakn has quit [Remote host closed the connection]
<mikecmpbll> waxjar: btw you were right about the queue.empty? introducing a race condition
<arup_r> mikecmpbll: it is someone else requirement -- http://stackoverflow.com/a/28649209/2767755 :p
ghostpl_ has quit [Ping timeout: 245 seconds]
OrbitalKitten has quit [Client Quit]
AlexRussia has quit [Ping timeout: 252 seconds]
Guest64_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mikecmpbll> arup_r: okidokes.
ghr has joined #ruby
<arup_r> :D
OrbitalKitten has joined #ruby
AlexRussia has joined #ruby
<mikecmpbll> i replaced the loop do; break if queue.empty? with: while (v = queue.pop(true) rescue nil)
Guest64 has joined #ruby
wallerdev has joined #ruby
RegulationD has joined #ruby
Cache_Money has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
athan has quit [Remote host closed the connection]
* mikecmpbll begins to wonder some of the weird unexplained things in production are down to that race condition
shum has quit [Quit: WeeChat 1.1.1]
despai has quit [Quit: Leaving]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
shum has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1.1]
RegulationD has quit [Ping timeout: 250 seconds]
Spami has quit [Quit: This computer has gone to sleep]
davzie-mobile has joined #ruby
<shevy> while works better than loop?
Macaveli has joined #ruby
<daed> does it?
<mikecmpbll> shevy: dunno? :p
<havenwood> >> while true; x = 42; break end; x
<eval-in> havenwood => 42 (https://eval.in/291793)
<havenwood> >> loop do; x = 42; break end; x
<eval-in> havenwood => undefined local variable or method `x' for main:Object (NameError) ... (https://eval.in/291794)
<havenwood> shevy: ^
<mikecmpbll> hm
lifenoodles has quit [Ping timeout: 264 seconds]
davzie-mobile has quit [Remote host closed the connection]
<mikecmpbll> >> x = nil; loop do; x = 42; break end; x
<eval-in> mikecmpbll => 42 (https://eval.in/291796)
<mikecmpbll> good to know that there's a lot about ruby i have no fucking clue about still :p
<shevy> havenwood I love loop!
shredding has joined #ruby
lifenoodles has joined #ruby
<daed> haha
<daed> shevy: do you love lamp too?
zachrab has joined #ruby
shredding has quit [Client Quit]
rushed has joined #ruby
zachrab has quit [Ping timeout: 255 seconds]
jottr_ has joined #ruby
agrinb has joined #ruby
lifenoodles has quit [Ping timeout: 244 seconds]
jlast has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Tamae has joined #ruby
mailo_ has quit [Remote host closed the connection]
roolo has joined #ruby
aamador has joined #ruby
rushed has quit [Quit: rushed]
lifenoodles has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
Zai00 has quit [Quit: Zai00]
jlast has quit [Ping timeout: 255 seconds]
juanpablo__ has joined #ruby
leafybasil has joined #ruby
jlast has joined #ruby
<shevy> daed you mean the linux setup of apache and php?
<arup_r> Got panicked after seeing this --- https://www.ruby-forum.com/topic/6873372#new :(
kedare has joined #ruby
charliesome has joined #ruby
lifenoodles has quit [Ping timeout: 265 seconds]
Cache_Money has quit [Quit: Cache_Money]
Sawbones has joined #ruby
<shevy> arup_r they say that ruby is dying!!!
<arup_r> humm.. I know
lifenoodles has joined #ruby
madhu has joined #ruby
sambio has joined #ruby
sambio has quit [Client Quit]
<madhu> hi is it rails channel ? please let me know any one .
<arup_r> madhu: I'm blind
<arup_r> can't say you
<shevy> there is another channel madhu
<havenwood> madhu: #RubyOnRails is the Rails channel. Nickname registration is required.
<shevy> #rubyonrails
<havenwood> madhu: /msg NickServ help REGISTER
<shevy> arup_r we have more people from india here than from china!
juanpablo__ has quit [Ping timeout: 265 seconds]
tunaCanBruh has joined #ruby
<arup_r> ohh!
<arup_r> If Ruby die.. really bad for me... :(
jlast has quit [Ping timeout: 250 seconds]
charliesome has quit [Client Quit]
madhu has quit [Client Quit]
Channel6 has quit [Remote host closed the connection]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
despai has joined #ruby
<wasamasa> arup_r: a programming language does never die
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<blizzy> so I'm trying to pass a variable through https://github.com/gabrielecirulli/cleverbot-api, however, I keep getting this error:
<wasamasa> arup_r: as long as there are programs written in it, there's the need for someone who is good at it
<blizzy> C:/Ruby21-x64/lib/ruby/2.1.0/net/http/response.rb:357:in `finish': incorrect hea
<blizzy> der check (Zlib::DataError)
<shevy> ada!
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 246 seconds]
<jm0> shevy: ist ADA still being used today? :)
lifenoodles has quit [Ping timeout: 244 seconds]
lifenoodles has joined #ruby
<ponga> arup_r: if ruby dies, i quite coding
<ponga> ;(
lordkryss has joined #ruby
<jm0> ponga: i feel you, but learn C then. C will never die, every operating system in the world is written in it.
<ponga> i don't want to code in C
<ponga> tis not fun
iamninja has joined #ruby
<blizzy> so does anyone know why I'm getting this error? https://gist.github.com/VBlizzard/acedf4c95a74782dcc00
<havenwood> blizzy: What's the error?
<jm0> ponga: just as a side project for you to keep coding, if ruby dies (which i really doubt it ever will), its getting pretty popular for big sites to use, especially after the Rails framework release :)
<blizzy> C:/Ruby21-x64/lib/ruby/2.1.0/net/http/response.rb:357:in `finish': incorrect hea
<blizzy> der check (Zlib::DataError)
<blizzy> I'm using ruby v 2.1.5 on Windows 8 64 bit.
<livingstn> Why does gem not install compass's dependencies when I use sudo but it does otherwise? if I do gem install compass, I get sass. If I do sudo gem install compass, I don't
cjim has joined #ruby
<blizzy> thanks, havenwood.
<havenwood> blizzy: you're welcome
dfinninger has quit [Remote host closed the connection]
Guest64 has joined #ruby
<ponga> jm0: well i could switch to js v8
<jm0> ponga: good idea :)
<ponga> or python.,, or not i don't like python
kobain has joined #ruby
hcnewsom has quit [Quit: hcnewsom]
<ponga> jm0: im basically ok with any high level lang
<wasamasa> a good software engineer can teach themselves any language they need to know for their project
<jm0> Come oon, that language is named after Monty Phython: http://en.wikipedia.org/wiki/Python_(programming_language)#Naming
<jm0> that fun :P
<jm0> *that's*
<ponga> thing is i started loving syntactic sugars of ruby so much
* wasamasa is currently touching python again after a 9 month pause
<wasamasa> yes, I do miss the lispy feel of ruby
i-blis has joined #ruby
<wasamasa> but I'm sure I can finish this one project
doodlehaus has joined #ruby
Sawbones has quit [Remote host closed the connection]
djellemah has joined #ruby
<wasamasa> no matter whether I need to NIH #flatten or not
wallerdev has quit [Quit: wallerdev]
djellemah has quit [Client Quit]
<ponga> i enjoy these sugars and for other langs i have to code in verbosity
lifenoodles has quit [Ping timeout: 245 seconds]
<ponga> but i'd definitely try out js v8
<shevy> ponga loves java
<jm0> ponga: agreed, that's what made me learn ruby as well. The syntax is simple, and easy to read and write :)
<jm0> shevy: lol
<ponga> shevy: no!!!
<ponga> you big lier
max96at|off is now known as max96at
lifenoodles has joined #ruby
<ponga> jm0: and im quite happy with the speed too, i built Jruby9000+GraalVM+Truffle few days ago and it was pretty good for me
DadoCe has joined #ruby
<jm0> wasamasa: That's nice, what project are you working on at the moment??
<wasamasa> jm0: I started writing a blog engine 9 months ago
einarj has joined #ruby
hollywood has joined #ruby
<wasamasa> jm0: then I got an internship at a place that's using scheme and ruby
aamador has quit [Ping timeout: 246 seconds]
<ponga> wasamasa: which you wrote in python and paused? ;p
doodlehaus has quit [Remote host closed the connection]
<wasamasa> ponga: yup
<wasamasa> ponga: I was a python fanboy back then
<ponga> how about now?
<wasamasa> I neither fanboy python nor ruby these days
<wasamasa> after all the lisp I wrote
<hollywood> Programming language fanboys are tiring.
<wasamasa> it's just hard to justify
<ponga> i never quite understood what's so wonderful about python anyway
<wasamasa> when you have a 50 years old language that just does some things better
<ponga> python has wonderful scientific libraries, but that seems like all of it too
<wasamasa> ponga: this was my motivation for doing the blog in that, reusing docutils (for the ReST markup format) and pygments for syntax highlighting
<jm0> uuuuuuiuiuiuiuiuiuiuiuiuiuiuiuiuh
<ponga> ahhah
RegulationD has joined #ruby
<ponga> wasamasa: what's this all about 'lisp is THE language to use for ai'
<wasamasa> ponga: that's a misconception
<ponga> how can a general perppose programming language be like that
<ponga> yeah i guessed so
<ponga> im totally writing a bot in ruby
<wasamasa> ponga: some people mistook it being used at a place where people tried figuring out AI as an indicator that it's good for that
<ponga> ok
<wasamasa> ponga: and to be honest, using symbols for computation was pretty snazzy
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ponga> lol
<wasamasa> ponga: but these days it seems like fat machines and tons of data have won
<ponga> like python style snazzy?
<wasamasa> python doesn't even have symbols
<ponga> it has fancy indentations
einarj has quit [Ping timeout: 250 seconds]
<ponga> whats it called, whitespace?
<wasamasa> significant whitespace, yes
hcnewsom has joined #ruby
<ponga> i could totally understand that's a big thing
<wasamasa> well, it's a perk
<ponga> when you have a project with many people
lolmaus has quit [Quit: Konversation terminated!]
<wasamasa> but I find it annoying that editors trip over it with auto-indent
<ponga> but i could totally write in ruby if it were my solo project
<wasamasa> and that you can't clean up existing code because there's no end blocks
<ponga> but in python, yes
<ponga> or j
<ponga> js
lolmaus has joined #ruby
<ponga> for big team
<wasamasa> don't worry, I have enough gripes with ruby, too :P
<shevy> AN UNBELIEVER
olivier_bK has quit [Ping timeout: 252 seconds]
<wasamasa> like, the fact that its implementation was inspired by the text editor I happen to use
<ponga> shevy you say so?
<wasamasa> I mean, what the fuck
<ponga> you say you go back to C
<ponga> and dump ruby
<shevy> ponga wasamasa is
<shevy> (but(he(likes(lisp(indeed
<ponga> i still agree i d not want to use ruby for team with 5+ people
* wasamasa is using ruby with a team of 3
RegulationD has quit [Ping timeout: 246 seconds]
<ponga> wasamasa: gud, keep it under 5
<wasamasa> it's ok, but rails keeps me on my toes
Takle has quit [Remote host closed the connection]
RegulationD has joined #ruby
<ponga> i never used rails
<ponga> i liked the idea tho
<ponga> shevy: have you used Jruby/Graal yet
<shevy> nope
<shevy> I'd need java for that right?
<ponga> shevy: not regular JRE, a GraalVM
<ponga> and set JAVA dir to it
Troy^_ has joined #ruby
<daed> i work with several people who are trying to dive into rails
<daed> without knowing ruby
<daed> not sure why people insist on that
<ineb> Dir.glob(./"*.txt") gives me an array. i only need one file. the first one. Dir.glob(./"*.txt").first then or is there another way?
<ineb> "./*.txt"
RegulationD has quit [Ping timeout: 245 seconds]
hcnewsom has quit [Quit: hcnewsom]
elfuego has quit [Quit: elfuego]
nunayerBeezwax has joined #ruby
Sawbones has joined #ruby
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
<arup_r> ponga: same here
<ponga> what arup_r i spoke too many things
shellfu has quit [Ping timeout: 250 seconds]
<arup_r> Ohh
<ponga> and please note that shevy is a lier, i never liked java
serivich has quit [Ping timeout: 252 seconds]
* ponga angry face
<arup_r> ~~>>> if ruby dies, i quite coding
<ponga> ah ha
<ponga> i'd try use Javascript or python
<ponga> i will try
leafybasil has quit [Remote host closed the connection]
<ponga> but if i don't fancy them, i probably quit
<nunayerBeezwax> what is the best way to code the english statement "until condition is met twice" as a loop over an array?
<ponga> nunayerBeezwax: same condition twice or 2 different conditions
<ponga> ok former
<ponga> hm
<ponga> i never thought of that case
<ponga> when would i want condition met twice
<livingstn> anyone know why when I use sudo with gem install it doesn't install deps?
hcnewsom has joined #ruby
riotjones has joined #ruby
<havenwood> livingstn: does it not install them or are their executables just no in PATH?
<havenwood> not*
<livingstn> havenwood it doesn't even install them
<livingstn> I get entirely different output with sudo
Andy__ has joined #ruby
<ponga> i wonder havenwood is different person to holly*wood
<i-blis> nunayerBeezwax: using a flag?
<livingstn> havenwood basically compass is broken when I use sudo
<nunayerBeezwax> this might all be strange, but my case is a poker table, i'm doing a round of betting... the players are in an array... the action is on players_array.first... so "first_to_act = players_array.first" then "until players_array.first == first_to_act **the second time** player.play" make sense?
<livingstn> But when I don't it installs to ~/bin and is fine
<nunayerBeezwax> player.play, and then players_array.rotate!
<arup_r> go and try
<nunayerBeezwax> so that's what i'm going for. i'm calling methods on array.first, then rotating it... and i wanted it in an until loop... but obviously it won't run even once, unless i can say "until we got back where we started" you know?
agrinb has joined #ruby
<havenwood> livingstn: maybe sudo is discarding env vars that matter for your setup? gist?: sudo gem install compass --verbose
<livingstn> havenwood I'll try that
blizzy is now known as _blizzy_
<nunayerBeezwax> i-blis: yeah could just do a flag, but that seemed noob to me. wondered if there was a ruby way
rubytor has quit [Ping timeout: 264 seconds]
sent1nel has joined #ruby
<shevy> arup_r you don't have to quit, you could keep a language like ruby!
<arup_r> means ?
<arup_r> :)
<ponga> arup_r i don't think there is single method in ruby library for that
rubytor has joined #ruby
<shevy> arup_r you have the full source code there
<ponga> but you could always make it up and share !
<arup_r> Ohh!!
riotjones has quit [Ping timeout: 250 seconds]
akkad has quit [Ping timeout: 252 seconds]
sent1nel_ has joined #ruby
<arup_r> I got frustrated when someone tell Ruby is dying...
giuseppesolinas has joined #ruby
<ponga> what's the matter if its dying
<havenwood> livingstn: Makes me wonder if the sudo RubyGems has `--ignore-dependencies` set in a gemrc.
<ponga> you could continue using it
<arup_r> I don't know.. People are saying around
<livingstn> havenwood That's possible
DadoCe has quit [Remote host closed the connection]
<jm0> arup_r: me too, it was just ponga who spread the fear, by threatening to stop coding if ruby died. Don't worry, FALSE-ALARM :)
<waxjar> it really means "i'm not using ruby anymore" :p
agrinb has quit [Ping timeout: 250 seconds]
<shevy> waxjar wat!
psy_ has quit [Ping timeout: 246 seconds]
<ponga> what?!
<arup_r> I found Rails/Ruby a very easy language to grow up..... It don't kill brains
<waxjar> shevy: when someone says "ruby is dying"
DadoCe has joined #ruby
<shevy> TIOBE says that!
veduardo has joined #ruby
<ponga> omg shevy
<havenwood> instead of facing one's own mortality it's popular to instead gather that the world is ending
<ponga> tiobe
<livingstn> maybe I should just use RVM
<waxjar> who's tiobe
<ponga> waxjar: it seems to be some kind of index
<ponga> statistics
i-blis has left #ruby [#ruby]
elaptics is now known as elaptics_away
sent1nel has quit [Ping timeout: 264 seconds]
psy_ has joined #ruby
<waxjar> oh, meh :p
<havenwood> waxjar: some index of lang popularity that uses a bizarre ranking based on filtered search engine results
<wasamasa> tiobe is about how much people google something
<wasamasa> don't take it seriously
<havenwood> wasamasa: that plus hugely inconsistent filters on whether it's considered a search
<arup_r> shevy: that site i built upon PhP :p
<ponga> but weird
<havenwood> i find it entirely useless
<waxjar> could just mean the ruby apis have gotten extremely intuitive, no? :P
<waxjar> haha
<wasamasa> like, the fact people google java doesn't mean java is popular
<ponga> is there some anti-ruby folks out there cos scala is like 42 there and i don't here scala is dying
<havenwood> shevy: At least RedMonk is measuring *something*: http://redmonk.com/sogrady/2015/01/14/language-rankings-1-15/
<wasamasa> it could very well be that they just need to google more to get how to use it
akkad has joined #ruby
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arup_r> **is
<ponga> yay ruby on 5
<ponga> havenwood: that made me smile
<shevy> redmonk says ruby is more popular than perl
* arup_r noting down ponga's points
<havenwood> shevy: that sounds correct
jlast has joined #ruby
<ponga> how on earth PHP is that popular!
* ponga hides in the bush
DadoCe has quit [Ping timeout: 246 seconds]
Andy__ has quit []
nfk|laptop has joined #ruby
Troy^_ has joined #ruby
<ponga> arup_r: i think i made a good point
<ponga> scala seems to rank lower than ruby on any stats in my eye
* arup_r noted again
<ponga> and i don't hear people saying 'scala is dying! don use it! '
<havenwood> ponga: i do
<ponga> uh oh
<arup_r> Govt should ban Java compiler...
<ponga> arup_r: im happy with these days tho
<ponga> Jruby/Graal is fast!
<ponga> java did its service boosting ruby performance
<ponga> thank you java
jlast has quit [Ping timeout: 250 seconds]
Troy^_ has quit [Client Quit]
<arup_r> shevy: ^^^
jlast has joined #ruby
Troy^_ has joined #ruby
perturbation has quit [Ping timeout: 265 seconds]
zachrab has joined #ruby
Troy^_ has quit [Client Quit]
<ponga> is it shevy who told about why shouldn't we have ruby inside browser like JS
<ponga> i think again ,why is JS monopoly for webbrowser
jlast has quit [Ping timeout: 265 seconds]
<shevy> I guess it was easiest
<shevy> historically
zachrab has quit [Ping timeout: 252 seconds]
oleo__ has quit [Quit: Verlassend]
fabrice31 has joined #ruby
jack_rabbit_ has joined #ruby
nunayerBeezwax has quit [Remote host closed the connection]
ghostpl_ has joined #ruby
<arup_r> eyes are paining.. so going to get some sleep
fabrice31 has quit [Ping timeout: 245 seconds]
<arup_r> good night
<matti> arup_r: Hurting, you mean.
<matti> Night night.
<matti> shevy: ;]
<arup_r> where matti :
<arup_r> ?
kiely_elsewhere is now known as kiely
starless has quit [Quit: Leaving]
lifenoodles has quit [Ping timeout: 252 seconds]
ghostpl_ has quit [Ping timeout: 252 seconds]
juanpablo__ has joined #ruby
lifenoodles has joined #ruby
oleo has joined #ruby
kyb3r_ has joined #ruby
<havenwood> >> a = [1, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7]; *rest, largest = a.group_by(&:itself).map(&:last).sort_by(&:size); largest.zip(*rest).map(&:compact).map(&:sort)
<eval-in> havenwood => [[1, 2, 3, 4, 5, 6, 7], [3, 4, 6], [6]] (https://eval.in/291817)
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> arup_r: just to stab your eyes one last time ^ before you sleep
aamador has joined #ruby
nahtnam has joined #ruby
lemur has joined #ruby
sevvie has quit [Ping timeout: 256 seconds]
<arup_r> havenwood: Thanks
<havenwood> arup_r: you're welcome
<arup_r> You used full Ruby API it seems
Troy^_ has joined #ruby
timonv has joined #ruby
<arup_r> havenwood: post it to the SO.. question as I linked
hcnewsom has quit [Quit: hcnewsom]
juanpablo__ has quit [Ping timeout: 246 seconds]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
Spami has joined #ruby
Zai00 has joined #ruby
<softinio> using Puma for the first time, to manage it on server should I use pumactl or is anything else recommended ?
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
ninecheddar is now known as ninedragon
sevvie has joined #ruby
swgillespie has joined #ruby
duncannz has joined #ruby
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swgillespie has quit [Client Quit]
tvon has joined #ruby
RandyT has quit [Ping timeout: 256 seconds]
sent1nel_ has quit [Read error: Connection reset by peer]
sent1nel has joined #ruby
jack_rabbit_ has quit [Ping timeout: 252 seconds]
ismaelga has joined #ruby
ghr has joined #ruby
Takle has joined #ruby
Gonzih has joined #ruby
Takle has quit [Remote host closed the connection]
Troy^_ has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
jottr_ has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
x1337807x has joined #ruby
kerrick__ has joined #ruby
jottr_ has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
agrinb has joined #ruby
SegFaultAX has quit [Ping timeout: 252 seconds]
ponga has quit [Quit: Leaving...]
agrinb has quit [Ping timeout: 250 seconds]
SegFaultAX has joined #ruby
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davzie-mobile has joined #ruby
davzie-mobile has quit [Remote host closed the connection]
kiely is now known as cryptolesbian
doodlehaus has joined #ruby
despai has quit [Ping timeout: 246 seconds]
despai has joined #ruby
tunaCanBruh has joined #ruby
Megtastique has quit []
jlast has joined #ruby
Limix has joined #ruby
cryptolesbian is now known as kiely
hmsimha has joined #ruby
tunaCanBruh has quit [Ping timeout: 265 seconds]
tomeara has joined #ruby
greenbagels_ has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
amundj has joined #ruby
bMalum has joined #ruby
jlast has joined #ruby
greenbagels has quit [Ping timeout: 245 seconds]
cpt_yossarian has quit [Quit: And then he took off.]
willharrison has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
jlast has quit [Ping timeout: 252 seconds]
cpt_yossarian has joined #ruby
<jhass> I like to use the init system or a supervisor
<riceandbeans> anyone here have experience with rubocop?
tvon has quit [Quit: leaving]
despai has quit [Quit: Leaving]
mostlybadfly has quit [Quit: Connection closed for inactivity]
<jhass> why don't you ask your actual question?
Sawbones has joined #ruby
LLamaRider has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
n008f4g_ has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
nfk|laptop has quit [Quit: yawn]
momomomomo has joined #ruby
RegulationD has joined #ruby
Megtastique has joined #ruby
<riceandbeans> jhass: I just wanted opinions from personal usage of rubocop if you have actually used it, that is all
sevvie has quit [Ping timeout: 264 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has quit [Client Quit]
<jhass> not really, from what I've seen my code style conflicts with its default configuration quite a bit
OrbitalKitten has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
The_Phoenix has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
MasterPiece has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
neoxquick has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
veduardo has quit [Ping timeout: 240 seconds]
RegulationD has joined #ruby
ghr has joined #ruby
zachrab has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
agrinb has joined #ruby
riotjones has joined #ruby
ismaelga has quit [Remote host closed the connection]
jlast has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 255 seconds]
razieliyo has quit [Ping timeout: 252 seconds]
zachrab has quit [Ping timeout: 246 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
sevvie has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
riotjones has quit [Ping timeout: 240 seconds]
Jackneill has quit [Read error: Connection reset by peer]
adamjleonard has joined #ruby
SolarSailor has joined #ruby
cpt_yossarian has joined #ruby
last_staff has joined #ruby
Macaveli has quit [Ping timeout: 264 seconds]
Megtastique has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
mikecmpbll has quit [Quit: ciao.]
monod has joined #ruby
ferr has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jack_rabbit_ has joined #ruby
Limix has quit [Quit: Limix]
fuhgeddaboudit has joined #ruby
s7ry93r has joined #ruby
sevvie has quit [Ping timeout: 244 seconds]
kaiZen has joined #ruby
sevvie has joined #ruby
jonr22 has quit []
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
starless has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
nick____ has joined #ruby
fabrice31 has joined #ruby
jack_rabbit_ has quit [Ping timeout: 245 seconds]
Cadillactica has joined #ruby
ghostpl_ has joined #ruby
<Cadillactica> [1,2,3].reverse == [3,2,1] - how does ruby implement that reverse function?
sent1nel has quit [Ping timeout: 265 seconds]
<jhass> Cadillactica: go to http://ruby-doc.org/core-2.2.0/ search for reverse, click and click "click to toggle source"
fabrice31 has quit [Ping timeout: 245 seconds]
<Cadillactica> jhass: thank you will do
DadoCe has joined #ruby
elaptics_away is now known as elaptics
<jhass> 1.9.3 is basically EOL ;)
Guest64 has joined #ruby
ghostpl_ has quit [Ping timeout: 245 seconds]
juanpablo__ has joined #ruby
<Cadillactica> jhass: EOL?
<fuhgeddaboudit> end of live
<jhass> end of life, no longer supported
<Cadillactica> fuhgeddaboudit: yeah thanks, that’s the documentation i was looking at. I should learn C.
elaptics is now known as elaptics_away
sent1nel has joined #ruby
<nick____> @Cladillactica, I'm curious why your curious about the reverse method.
Xiti has quit [Quit: Xiti]
Musashi007 has joined #ruby
juanpablo__ has quit [Ping timeout: 246 seconds]
<Cadillactica> nick____: i’m using it in one of my controllers - I’m getting all products from the database sort_by type, then reversing it. trying to determine if reverse is an expensive operation and I should simply sort{ |a,b| b.type <=> a.type}
<Cadillactica> also, is it possible to sort by two attributes?
<Cadillactica> primarily by one attribute, secondarily by the other?
<riceandbeans> I still use 1.8.7 at work
<riceandbeans> not by choice
einarj has quit [Remote host closed the connection]
<riceandbeans> I've been fighting them to upgrade to 1.9.3
Xiti has joined #ruby
<weaksauce> annotated if you are interest in the c explanation
<yxhuvud> no reason not to go to 2.0 or 2.1 if you are updating anyhow.
<Cadillactica> weaksauce: thank you sir, annottions are definitely helpful
sent1nel_ has joined #ruby
<jhass> Cadillactica: sort is certainly way more expensive than reverse. What you should do is get them in the right order from the DB
nick____ has quit [Remote host closed the connection]
<havenwood> Monday cometh.
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sent1nel has quit [Ping timeout: 245 seconds]
ZoanthusR has joined #ruby
<weaksauce> Cadillactica reverse is O(n) general sort is O(n logn)
nolic has joined #ruby
<weaksauce> also yw
hollywood has quit [Quit: Leaving]
aamador has quit [Ping timeout: 240 seconds]
<riceandbeans> they want everything to be an rpm
<streaxy> Hey all
jimms has joined #ruby
<shevy> hmm
<shevy> YAML.load_file gives me UTF-8 strings
<shevy> I guess there is no other way
<streaxy> Any good e-books teaching ruby?
<weaksauce> streaxy learn ruby the hard way might be good.
<shevy> now I have a problem... my .rb files use '# Encoding: ASCII-8BIT' but yaml will then give me UTF-8
moritzs has quit [Ping timeout: 264 seconds]
<daed> streaxy: i still like the ol' standard: http://ruby-doc.com/docs/ProgrammingRuby/
<streaxy> I want something to read for when I don't have access to my laptop
<daed> ooh
x1337807x has joined #ruby
<jhass> :P
<streaxy> I'm snowed in at my mothers
<shevy> streaxy haha
<daed> maybe something like that
tomeara has quit [Ping timeout: 252 seconds]
<shevy> streaxy do you have an axe? it so reminds me of the movie shining
<streaxy> My fiance and I came to visit her and we got snowed in :/
<jhass> shevy: your problem is that you don't use UTF-8 for everything yet ;)
<riceandbeans> I don't know that a fedora 21 rpm will work on centos 5 or centos 6
<daed> gotta start using utf8 operators too
<shevy> jhass yeah
<shevy> jhass but I think, File.readlines() I have a way to specify an encoding at run-time while using that right?
adamjleonard has quit [Quit: Leaving...]
<shevy> with yaml I seem to be stuck :(
<jhass> isn't YAML speced to UTF-8 these days? like JSON is?
<shevy> yeah
<daed> can you do the comment at the top to specify encoding?
<daed> i've had to do that with older ruby scripts
<shevy> daed I think that won't matter, yaml wants utf-8
<daed> open, re-encode, and save?
<streaxy> Ruby is my first attempt at actually trying to learn a language. I'm struggling so bad. I've been told by several veteran coders that the first thing I need to do is to "Learn how to learn code"
<daed> streaxy: don't overthink it
<shevy> daed hmm I have to think a bit...
<weaksauce> streaxy good advice
<weaksauce> learn to think like a computer
<weaksauce> they are simple beasts at the core of it
<havenwood> streaxy: Learn to Program by Chris Pine is beginner friendly: https://pine.fm/LearnToProgram/chap_01.html
<havenwood> weaksauce: Think like a human. You are a human.
<havenwood> Presumably... :O
<daed> the thing that grabbed me with ruby
<weaksauce> you don't know me :P
<daed> everything is an object
<daed> on the console: 1.methods.sort
<daed> you can see Integer methods
<weaksauce> if you have access to the internet I'd suggest www.codeacademy.com streaxy
<streaxy> The issue with that is I've no freaking idea how to do that or where to even look. I've spent most of my time recently on Google researching how to learn to learn to code
<daed> it just all makse sense
<daed> streaxy: what are you trying to do ultimately
<weaksauce> they have a free ruby course and it starts out pretty basic
<daed> like do you have a basic concept of something you want to accomplish
<streaxy> I've tried code academy
* Nilium just realized he probably doesn't need to implement a ring buffer in Go because buffered channels already kind of act like ring buffers O_o
<streaxy> And daed I don't, I've realized that with a "goal" of something to accomplish that I'll have an actual "need" to learn but I just can't find anything that I need that ruby can solve.
<weaksauce> that learn to program book looks pretty promising.
elfuego has joined #ruby
<Nilium> Do you have something you want to do or are you just learning to code because code?
kobain has quit [Ping timeout: 255 seconds]
<daed> streaxy: a small example, i need to convert a bunch of streamed csv data into a distributed database
<streaxy> Although, I am an aspiring Internet marketer so learning to code my own websites would be a huge advantage
<Nilium> havenwood: I don't need a ring buffer in Ruby.
<havenwood> Nilium: Just pointing out how nice and easy it is in *Ruby*. :P
<Nilium> That looks highly unpleasant.
willharrison has joined #ruby
<havenwood> Go...
<daed> i use celluloid in this current project
<weaksauce> what's unpleasant about it? looks pretty simple to me
<daed> yeah looks simple from here
nfk has quit [Quit: yawn]
<weaksauce> it's a little more complicated because of the mutex but really that's not much added complexity
<Nilium> It's using a mutex and the way it does read/write heads is kind of icky.
<Nilium> Sync should be on you, not the ring buffer.
adamjleonard has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<Nilium> Maybe it's never going to need parallel access, in which case the mutex is a huge waste.
<weaksauce> Nilium from the first part of the celluloid docs: Automatic "deadlock-free" synchronization
agrinb has joined #ruby
<Nilium> I don't use celluloid.
FooMunki_ has quit [Quit: FooMunki_]
<weaksauce> just saying that there is a reason for it
<Nilium> Deadlock free does not mean shoving a mutex into everything.
<daed> meanwhile, everyone is telling me that threading in ruby is pointless
<daed> what do i say to that?
FooMunki_ has joined #ruby
<Nilium> "Go away"?
<daed> haha
<weaksauce> sure. but it usually requires some form of mutexes or semaphores
<Nilium> Mutexes are usually semi-specialized semaphores, so eh
Hobogrammer has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<weaksauce> yeah. depends on what you need.
<daed> how do you guys feel about drb?
<Nilium> You could probably also use atomics for moving the read/write head but it'd depend on buffer throughput and whether it's always at capacity and so on and so forth
<weaksauce> mutex is the singular semaphore is the many concurrent access possible.
agrinb has quit [Ping timeout: 250 seconds]
<Nilium> *heads
ghr has joined #ruby
Guest64 has joined #ruby
<Nilium> Too many things to consider. Generic ringbuffers are kind of a pain in the neck.
ismaelga has joined #ruby
last_staff has quit [Quit: last_staff]
ghr has quit [Ping timeout: 240 seconds]
kobain has joined #ruby
OrbitalKitten has joined #ruby
kobain has quit [Max SendQ exceeded]
ismaelga has quit [Ping timeout: 264 seconds]
Cadillactica has quit [Quit: Cadillactica]
kobain has joined #ruby
tunaCanBruh has joined #ruby
Sawbones has quit [Remote host closed the connection]
pu22l3r has joined #ruby
jimms_ has joined #ruby
hasB4K has quit [Quit: This is not a quit message.]
jimms has quit [Read error: Connection reset by peer]
<streaxy> The book by Chris Pine is explaining things pretty good so far
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
pu22l3r has quit [Remote host closed the connection]
linoespinoza has joined #ruby
DadoCe has quit [Remote host closed the connection]
<streaxy> Now if I can just retain the info and combine it to make more complex code
linoespinoza has quit [Max SendQ exceeded]
tunaCanBruh has quit [Ping timeout: 252 seconds]
* Nilium shrugs.
<Nilium> I don't remember what learning to code was like, but I also didn't use Ruby to start, so eh.
linoespinoza has joined #ruby
<shevy> #<Encoding:UTF-8>
<shevy> #<Encoding:ASCII-8BIT>
<shevy> hmmmmm
plutonic has joined #ruby
Sawbones has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
monod has quit [Quit: Sto andando via]
<jhass> shevy: yeah, why's the second one not like the first one?
<shevy> the first one comes from yaml
<shevy> the second from the second line of the .rb file
starless has quit [Quit: Leaving]
Sawbones has quit [Remote host closed the connection]
<shevy> in `encode': "\xFC" on UTF-8
<shevy> hmm
<shevy> .encode('ASCII-8BIT') on umlauts fails
hasB4K has joined #ruby
hasB4K has quit [Changing host]
hasB4K has joined #ruby
jack_rabbit_ has joined #ruby
ben_vulpes has joined #ruby
<jhass> yeah
<jhass> ASCII-8Bit is basically no encoding at all
<jhass> it's Ruby's way of saying binary
<jhass> true ASCII is 7bit
<jhass> what's your system encoding?
<ben_vulpes> hey friends - i'm new to ruby's package management story and gem install * is complaining about not having write perms for /Libary/* (yes, on a mac). what do i want to be doing in order to specify gem installation location?
<jhass> ben_vulpes: try running with the --user-install flag
<shevy> jhass hmm LANG is en_US
<jhass> shevy: huh? what's `locale` saying?
Aswebb_ has joined #ruby
<shevy> yeah, all en_US
<ben_vulpes> jhass: neat, thanks. how do i force that for, big packages f.ex. the gitlab-development-kit? get into the installation script for that thing and write --user-install everywhere?
<jhass> just en_US? not en_US.UTF-8 ?
<shevy> yep
<jhass> that's odd
leafybasil has joined #ruby
<shevy> I guess it is time to switch to UTF-8 :(
<jhass> shevy: what lines are commented in in /etc/locale.gen ?
<shevy> don't have this file, I am on a very old slackware system. I could switch that too when switching to UTF-8 haha
<jhass> ben_vulpes: echo "install: --user-install" >> ~/.gemrc *might* do the trick
<ben_vulpes> .gemrc, eh?
<ben_vulpes> thanks, jhass.
jimms_ has quit [Read error: Connection reset by peer]
ghostpl_ has joined #ruby
thsig has joined #ruby
Rapier- has joined #ruby
ben_vulpes has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
yxejamir has quit [Read error: Connection reset by peer]
zachrab has joined #ruby
bMalum has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
ghostpl_ has quit [Ping timeout: 264 seconds]
vyorkin has joined #ruby
deol has joined #ruby
duncannz has quit [Ping timeout: 240 seconds]
zachrab has quit [Ping timeout: 264 seconds]
vyorkin has quit [Client Quit]
ninedragon has quit [Ping timeout: 244 seconds]
jack_rabbit_ has quit [Ping timeout: 252 seconds]
asmodlol has quit [Ping timeout: 256 seconds]
rubytor has quit [Ping timeout: 244 seconds]
bigmac has joined #ruby
adamjleonard has quit [Quit: Leaving...]
ninedragon has joined #ruby
ninedragon has quit [Excess Flood]
oleo has quit [Read error: Connection reset by peer]
tomeara has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
agrinb has joined #ruby
riotjones has joined #ruby
_ixti_ has quit [Quit: WeeChat 1.1.1]
RegulationD has quit [Ping timeout: 245 seconds]
kleesc has joined #ruby
kleesc has left #ruby [#ruby]
kirun has quit [Quit: Client exiting]
jimms has joined #ruby
RegulationD has joined #ruby
oleo has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
aswen has joined #ruby
Rapier- has quit [Quit: (null)]
riotjones has quit [Ping timeout: 244 seconds]
sevvie has quit [Ping timeout: 264 seconds]
sevvie has joined #ruby
Rhainur has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 244 seconds]
kiely is now known as kiely_elsewhere
unreal_ has joined #ruby
pu22l3r has joined #ruby
RegulationD has joined #ruby
Rhainur has joined #ruby
unreal_ has quit [Read error: Connection reset by peer]
unreal_ has joined #ruby
jimms_ has joined #ruby
wldcordeiro has joined #ruby
ghr has joined #ruby
cjim has quit [Quit: (null)]
unreal has quit [Ping timeout: 245 seconds]
unreal_ is now known as unreal
yfeldblu_ has joined #ruby
jimms has quit [Ping timeout: 252 seconds]
ismaelga has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
ninedragon has joined #ruby
Aswebb_ has quit []
lkba has joined #ruby
nfk has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 264 seconds]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
ismaelga has quit [Ping timeout: 252 seconds]
Wolland has joined #ruby
Wolland has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 264 seconds]
pu22l3r has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
fabrice31 has joined #ruby
Rhainur1 has joined #ruby
nfk has joined #ruby
jouty has quit [Ping timeout: 252 seconds]
nfk has quit [Client Quit]
jottr_ has quit [Ping timeout: 250 seconds]
freemind has joined #ruby
Rhainur has quit [Ping timeout: 252 seconds]
Wolland has joined #ruby
jouty has joined #ruby
ElderFain has quit [Ping timeout: 252 seconds]
freemind has left #ruby [#ruby]
ElderFain has joined #ruby
pkrzywicki has joined #ruby
jimms_ has quit [Ping timeout: 264 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Takle has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
codeurge has joined #ruby
roshanavand has joined #ruby
kaiZen has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
linoespinoza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bklane has joined #ruby
nfk has joined #ruby
juanpablo__ has joined #ruby
willharrison has joined #ruby
jimms has joined #ruby
rubytor has joined #ruby
juanpablo__ has quit [Ping timeout: 245 seconds]
Cadillactica has joined #ruby
serivich has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Cadillactica> i have a long HTML file representing a book. goal: to synthisize that file’s contents in a rails project —> output is a readable (likely paginated), navigatable book. anybody have advice on tools/approaches to use?
nfk has quit [Quit: yawn]
sent1nel has joined #ruby
bMalum has quit [Quit: bMalum]
aswen has quit [Ping timeout: 245 seconds]
hybridark has quit [Quit: Leaving...]
veduardo has joined #ruby
sent1nel_ has quit [Ping timeout: 240 seconds]
bklane has quit [Remote host closed the connection]
nfk has joined #ruby
bklane has joined #ruby
<waxjar> Cadillactica: why don't you use one of the static site generation tools instead? there's hardly anything dynamic about a book :)
<havenwood> choose your own adventure
<Cadillactica> waxjar: ideally this tool would then be useable for multiple books. handle html input (book) —> render pretty, readable output
drkush has quit [Ping timeout: 265 seconds]
<workmad3> Cadillactica: err... why not use something intended for that purpose, like asciidoc?
<waxjar> Cadillactica: that's what those tools do, you provide them input, a couple of templates maybe and they spit out a nice folder of static html files :)
rubytor has quit [Ping timeout: 256 seconds]
OrbitalKitten has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
jenrzzz has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
drkush has joined #ruby
max96at is now known as max96at|off
banister has joined #ruby
banister has quit [Max SendQ exceeded]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 250 seconds]
RandyT has joined #ruby
ferr has quit [Quit: WeeChat 1.1.1]
ferr has joined #ruby
agrinb has joined #ruby
Guest123 has joined #ruby
zachrab has joined #ruby
rubytor has joined #ruby
banister has joined #ruby
daynaskully has quit [Ping timeout: 256 seconds]
agrinb has quit [Ping timeout: 250 seconds]
digifiv5e has joined #ruby
digifiv5e is now known as Guest71148
codecop has quit [Remote host closed the connection]
zachrab has quit [Ping timeout: 245 seconds]
DissonantGuile has joined #ruby
DivineEntity has quit [Quit: Lost terminal]