havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-rc1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
roshanavand has quit [Remote host closed the connection]
HailTheRobots has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
SeepingN has joined #ruby
Swyper has quit [Ping timeout: 246 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pisuke has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
sgen has quit [Ping timeout: 268 seconds]
white_lilies has joined #ruby
Swyper has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b6b has joined #ruby
cnsvc has joined #ruby
hutch has joined #ruby
white_lilies has quit [Quit: WeeChat 2.1]
tau has quit [Ping timeout: 272 seconds]
Renich has quit [Quit: Renich]
Renich has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
Pisuke has joined #ruby
nchambers has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 250 seconds]
themsay has joined #ruby
themsay has quit [Ping timeout: 250 seconds]
dbz has joined #ruby
cnsvc_ has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
dbz has quit [Ping timeout: 250 seconds]
cnsvc_ has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 246 seconds]
weird_error has quit [Quit: weird_error]
phaul has quit [Ping timeout: 268 seconds]
Swyper has quit [Quit: Swyper]
gix has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
Swyper has quit [Ping timeout: 246 seconds]
themsay has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
cnsvc_ has joined #ruby
weird_error has joined #ruby
weird_error has quit [Quit: weird_error]
cnsvc_ has quit [Ping timeout: 256 seconds]
cnsvc_ has joined #ruby
varesa has quit [Ping timeout: 250 seconds]
arescorpio has joined #ruby
varesa has joined #ruby
sonofentropy has joined #ruby
dviola has quit [Quit: WeeChat 2.3]
donofrio_ has joined #ruby
donofrio has quit [Ping timeout: 245 seconds]
sonofentropy has quit [Read error: Connection reset by peer]
ellcs has joined #ruby
millerti has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
carbone5 has joined #ruby
Tom-_ has joined #ruby
dbz has joined #ruby
sonofentropy has joined #ruby
dbz has quit [Remote host closed the connection]
KeyJoo has joined #ruby
ellcs has quit [Ping timeout: 268 seconds]
sonofentropy has left #ruby [#ruby]
Junaos has quit [Quit: ZNC - http://znc.in]
arescorpio has quit [Read error: No route to host]
sonofentropy has joined #ruby
Junaos has joined #ruby
sonofentropy has left #ruby [#ruby]
hutch has joined #ruby
sonofentropy has joined #ruby
Renich has quit [Quit: Renich]
_whitelogger has joined #ruby
carbone5 has quit [Quit: carbone5]
braincrash has quit [Quit: bye bye]
AJA4350 has quit [Quit: AJA4350]
braincrash has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has quit [Ping timeout: 240 seconds]
hutch has joined #ruby
cnsvc_ has joined #ruby
themsay has quit [Ping timeout: 250 seconds]
houhoulis has quit [Remote host closed the connection]
elcontrastador has joined #ruby
sonofentropy has quit [Quit: sonofentropy]
graphene has quit [Remote host closed the connection]
sonofentropy has joined #ruby
graphene has joined #ruby
rippa has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 240 seconds]
xall has joined #ruby
<eam> can someone clue me in wy this raises? https://gist.github.com/eam/bc1821aac128d8cb9d57538a332183c8
cnsvc_ has quit [Ping timeout: 256 seconds]
dbz has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
dbz has quit [Ping timeout: 250 seconds]
themsay has joined #ruby
sonofentropy has quit [Quit: sonofentropy]
sonofentropy has joined #ruby
sonofentropy has quit [Client Quit]
themsay has quit [Ping timeout: 246 seconds]
sonofentropy has joined #ruby
sonofentropy has quit [Client Quit]
sonofentropy has joined #ruby
sonofentropy has quit [Client Quit]
sonofentropy has joined #ruby
sonofentropy has quit [Client Quit]
donofrio__ has joined #ruby
donofrio_ has quit [Ping timeout: 245 seconds]
cnsvc_ has joined #ruby
xall has quit [Ping timeout: 240 seconds]
hurricanehrndz has quit [Quit: Goodbye]
KeyJoo has quit [Quit: KeyJoo]
piks3l has joined #ruby
dinfuehr_ has joined #ruby
uplime has joined #ruby
dinfuehr has quit [Ping timeout: 250 seconds]
nchambers has quit [Ping timeout: 250 seconds]
dellavg_ has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
donofrio__ has quit [Read error: Connection reset by peer]
donofrio__ has joined #ruby
piks3l has quit [Quit: piks3l]
xall has joined #ruby
segy has joined #ruby
donofrio__ has quit [Read error: Connection reset by peer]
donofrio__ has joined #ruby
xall has quit [Ping timeout: 240 seconds]
reber has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 250 seconds]
donofrio__ has quit [Read error: Connection reset by peer]
donofrio__ has joined #ruby
hutch has joined #ruby
<baweaver> :eyes:
<baweaver> ah, right
<baweaver> wrong app :P
<baweaver> wat
<baweaver> Ah
<baweaver> Well that's silly
<baweaver> Near as I can guess it gets pissed on attr writer and reader being called at the same time, but that makes no sense.
<baweaver> havenwood: That look like a bug to you?
<baweaver> You win.
<baweaver> !connection sonofentropy
<baweaver> eam: general consensus is it treats it like a local variable because of the way the parser expands it
reber has quit [Remote host closed the connection]
<baweaver> AHA! The expansion ends up treating it like `local_var = local_var + other` instead of `local_var.=(local_var + other)`
code_zombie has quit [Quit: Leaving]
themsay has joined #ruby
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
Xiti has quit [Ping timeout: 250 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
Xiti has joined #ruby
donofrio__ has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
Dbugger has joined #ruby
KeyJoo has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
gix has joined #ruby
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
themsay has quit [Ping timeout: 250 seconds]
serard has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 244 seconds]
graphene has quit [Remote host closed the connection]
kapil____ has quit [Quit: Connection closed for inactivity]
graphene has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
phaul has joined #ruby
roshanavand has joined #ruby
clemens3 has joined #ruby
Inline has quit [Quit: Leaving]
y0u has joined #ruby
dhollin3 has joined #ruby
dhollinger has quit [Ping timeout: 250 seconds]
Inline has joined #ruby
rippa has quit [Ping timeout: 250 seconds]
phaul has quit [Quit: bye]
phaul has joined #ruby
lucasb has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
clemens3 has quit [Remote host closed the connection]
hiroaki has joined #ruby
Dbugger has quit [Remote host closed the connection]
LinuxKnight has quit [Remote host closed the connection]
LinuxKnight has joined #ruby
jottr has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
cnsvc_ has quit [Remote host closed the connection]
cnsvc_ has joined #ruby
lxsameer has joined #ruby
Puffball has joined #ruby
weird_error has joined #ruby
AJA4350 has joined #ruby
CrazyEddy has left #ruby [#ruby]
CrazyEddy has joined #ruby
CrazyEddy has left #ruby [#ruby]
CrazyEddy has joined #ruby
serard has quit [Ping timeout: 252 seconds]
vonfry has joined #ruby
blackswan has quit [Quit: Leaving.]
DTZUZO has joined #ruby
kapil____ has joined #ruby
CrazyEddy has quit [Excess Flood]
reber has joined #ruby
reber has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
piks3l has joined #ruby
vonfry has quit [Quit: WeeChat 2.2]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
roshanavand has joined #ruby
graphene has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 245 seconds]
graphene has joined #ruby
tau has joined #ruby
exchgr` has joined #ruby
exchgr has quit [Ping timeout: 246 seconds]
exchgr` has quit [Quit: ZNC - http://znc.in]
exchgr has joined #ruby
piks3l has quit [Ping timeout: 268 seconds]
rippa has joined #ruby
Vile` has joined #ruby
CrazyEddy has quit [Ping timeout: 250 seconds]
pep7 has joined #ruby
cow[away] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
Bounga has joined #ruby
sgen has joined #ruby
jottr has joined #ruby
serard has joined #ruby
Bounga has quit [Remote host closed the connection]
Bounga has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
serard has quit [Ping timeout: 252 seconds]
cow[moo] has joined #ruby
cow[moo] has quit [Client Quit]
serard has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
Bounga has quit [Ping timeout: 246 seconds]
cow[moo] has joined #ruby
hutch has joined #ruby
dbz has joined #ruby
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
Azure has quit [Remote host closed the connection]
dbz has quit [Ping timeout: 268 seconds]
Vile` has quit [Quit: .]
Swyper has quit [Quit: Swyper]
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
Azure has joined #ruby
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
code_zombie has joined #ruby
clemens3 has joined #ruby
Swyper has joined #ruby
cow[moo] is now known as cow[away]
wolfshappen_ has quit [Ping timeout: 250 seconds]
wolfshappen has joined #ruby
wolfshappen has quit [Remote host closed the connection]
bak1an has joined #ruby
cow[away] is now known as cow[moo]
dviola has joined #ruby
clemens3 has quit [Remote host closed the connection]
clemens3 has joined #ruby
zapata has quit [Quit: WeeChat 2.3]
uplime has quit [Quit: WeeChat 2.2]
cow[moo] has quit [Ping timeout: 272 seconds]
dbz has joined #ruby
alfiemax has joined #ruby
alfiemax_ has joined #ruby
<havenwood> eam: #bar=
alfiemax has quit [Ping timeout: 246 seconds]
Mike11 has joined #ruby
clemens3 has quit [Ping timeout: 272 seconds]
Guest14049 has joined #ruby
alfiemax_ has quit [Ping timeout: 268 seconds]
clemens3 has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
jottr has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
zapata has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
perplexity has joined #ruby
Nicmavr has joined #ruby
houhoulis has joined #ruby
alfiemax has joined #ruby
Exuma has joined #ruby
serard has quit [Ping timeout: 252 seconds]
DarthGandalf has quit [Ping timeout: 252 seconds]
DarthGandalf has joined #ruby
Renich has joined #ruby
jottr has joined #ruby
Mike11 has quit [Ping timeout: 246 seconds]
alfiemax has quit [Ping timeout: 245 seconds]
alfiemax_ has joined #ruby
dviola has quit [Quit: WeeChat 2.3]
pep7 has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 272 seconds]
DTZUZO has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tau has quit [Ping timeout: 268 seconds]
dbz has quit [Remote host closed the connection]
Aqo has joined #ruby
dbz has joined #ruby
perplexity has left #ruby ["Leaving"]
dbz has quit [Ping timeout: 250 seconds]
alfiemax has joined #ruby
alfiemax_ has quit [Ping timeout: 250 seconds]
serard has joined #ruby
Swyper has quit [Quit: Swyper]
weird_error has quit [Quit: weird_error]
DTZUZO has quit [Ping timeout: 246 seconds]
Exuma has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
DTZUZO has joined #ruby
jottr has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
Swyper has joined #ruby
alfiemax has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 244 seconds]
serard has quit [Ping timeout: 252 seconds]
reber has joined #ruby
uplime has joined #ruby
serard has joined #ruby
DTZUZO has quit [Ping timeout: 272 seconds]
sgen has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
uplime has quit [Quit: uplime]
DTZUZO has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
Guest14049 has quit [Ping timeout: 252 seconds]
dbz has joined #ruby
dbz has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
ellcs has joined #ruby
dhollin3 is now known as dhollinger
sgen has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
sgen has quit [Ping timeout: 268 seconds]
hutch has quit [Ping timeout: 250 seconds]
elcontrastador has quit [Ping timeout: 246 seconds]
hiroaki has quit [Ping timeout: 268 seconds]
weird_error has joined #ruby
serard has quit [Ping timeout: 252 seconds]
houhoulis has quit [Remote host closed the connection]
alxd has quit [Excess Flood]
alxd has joined #ruby
patr0clus has joined #ruby
houhoulis has joined #ruby
alfiemax has joined #ruby
randmin has joined #ruby
<randmin> Hello dear world! I am heaving a sticky permission error when I 'bundle install' - bundler wants to install the gems globally (afaik). I came across this issue several times now, and thus there are many people out there heaving similar issues, no real answer seems to exist. thus my hope that you may help me here (please)
alfiemax has quit [Ping timeout: 245 seconds]
<randmin> I managed to install the bundle locally using the flag --local (but i am not sure what exactly happens here). I downloaded another gem, and now I dont get it to install, so I quit this s**t and askhere: How would I configure bundler to be both secure/best practice and DRY? e.g. How can I configure bundler to install gems globally? Is there any comprehensive source on this issue?
houhoulis has quit [Remote host closed the connection]
<randmin> Short review on what I did so far: As I dont have fast internet atm, I copied the bundle files of an 'older' (but not too old) app I created to $appdir$/vendor/bundle, and ran 'bundle install --path vendor/bundle', this worked fine. Later I had to add a gem. I 'bundle install'ed again, and the gem got fetched from github. Now it is (or should be) on my hearddrive. I found it, and build it, but no matter
<randmin> what I do, I dont get it to install with the bundle. (I dont want to reload it, to save traffic). Anyone who feels my despair here?
jenrzzz has joined #ruby
randmin has quit [Ping timeout: 246 seconds]
randmin has joined #ruby
DTZUZO has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sgen has joined #ruby
graphene has quit [Remote host closed the connection]
DTZUZO has quit [Ping timeout: 250 seconds]
graphene has joined #ruby
randmin has quit [Quit: Lost terminal]
cow[moo] has joined #ruby
hutch has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
reber has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
patr0clus is now known as s3nd1v0g1us
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
jenrzzz has joined #ruby
cow[moo] is now known as cow[away]
dbz has joined #ruby
cow[away] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 244 seconds]
sgen has quit [Ping timeout: 268 seconds]
jetchisel has joined #ruby
jenrzzz has joined #ruby
sgen has joined #ruby
dellavg_ has quit [Ping timeout: 272 seconds]
s3nd1v0g1us has quit [Ping timeout: 252 seconds]
SeepingN has joined #ruby
graphene has quit [Remote host closed the connection]
houhoulis has joined #ruby
graphene has joined #ruby
weird_error has quit [Quit: weird_error]
piks3l has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
wolfshappen has joined #ruby
piks3l_ has joined #ruby
piks3l has quit [Ping timeout: 250 seconds]
roshanavand has quit [Read error: Connection reset by peer]
hutch has quit [Ping timeout: 250 seconds]
ellcs has quit [Ping timeout: 268 seconds]
code_zombie has quit [Quit: Leaving]
piks3l_ has quit [Quit: piks3l_]
alfiemax_ has joined #ruby
hutch has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
alfiemax_ has quit [Ping timeout: 250 seconds]
jottr has quit [Ping timeout: 272 seconds]
cow[moo] has quit [Client Quit]
dbz has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 250 seconds]
houhoulis has quit [Remote host closed the connection]
dbz has joined #ruby
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
jottr has joined #ruby
cow[moo] has joined #ruby
dbz has quit [Remote host closed the connection]
weird_error has joined #ruby
<Radar> To get all the digits for an integer, I can call Integer#digits. Is there a comparable method for floating point numbers?
hutch has quit [Ping timeout: 268 seconds]
kapil____ has joined #ruby
piks3l_ has joined #ruby
piks3l_ has quit [Remote host closed the connection]
gix has quit [Ping timeout: 250 seconds]
dbz has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
sgen has quit [Ping timeout: 252 seconds]
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
<Radar> &&> number = 8.15; number - number.to_i
<rubydoc> did not understand that, parser error @ char position 0
<Radar> &>
<Radar> &> puts 'hi'
<Radar> brain fail
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kaleido_> >> puts 'i hate this bot?'
kaleido_ is now known as kaleido
<ruby[bot]> kaleido: I'm terribly sorry, I could not evaluate your code because of an error: OpenURI::HTTPError:500 Internal Server Error
<kaleido> damn :(
<kaleido> hahaha
sgen has joined #ruby
dbz has quit [Ping timeout: 250 seconds]
<Radar> (byebug) decimal = BigDecimal.new(number, 16)
<Radar> 0.8000014999999999e1
<Radar> (byebug) number
<Radar> 8.000015
<Radar> "work with floating point numbers", he thought. "It'll be fun", he thought.
Aqo has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
<Zarthus> :)
<eam> baweaver: seems like a bug?
<eam> isn't the entire point of attr_accessor and bar= that I can assign to it?
<phaul> &> puts 'hi'
<Radar> phaul: am I mis-remembering the syntax for the bot?
<Zarthus> It's >> afaik..
<phaul> no. I think it's dead
<Zarthus> it replied to kaleido
<phaul> that's an other bot
<Zarthus> the other bot replied to Radar already :P
<Radar> (byebug) BigDecimal.new(number, 15)
<Radar> 0.8000015e1
<Radar> (byebug) BigDecimal.new(number, 16)
<Radar> 0.8000014999999999e1
<Radar> oops my table is suddenly upside down
rubydoc has quit [Remote host closed the connection]
<phaul> &> puts 'hi'
rubydoc has joined #ruby
<phaul> &> puts 'hi'
<phaul> &>> puts 'hi'
<rubydoc> # => hi ...check link for more (https://carc.in/#/r/5quc)
<kaleido> &>> puts 'john connor...i was sent from the future.'
<rubydoc> # => john connor...i was sent from the future. ...check link for more (https://carc.in/#/r/5que)
<Radar> oh it's double >>
<Radar> I think the other one is the ri syntax?
<phaul> yes. works more or less
<phaul> &ri Array
<phaul> but there are holes:
<phaul> &ri ERB
<rubydoc> Found no entry that matches class ERB
<kaleido> &>> def roll(r,s); dice_sides = s; num_rolls = r; x = 1; total = 0; results = []; while x <= num_rolls; number = rand(1..s); results << number; x += 1; total = total + number; end; puts "Total: #{total}"; puts Each Die: #{results}"; end; roll(3,7)
<rubydoc> # => (https://carc.in/#/r/5quh)
<kaleido> :(
<Zarthus> kaleido: missing quote at the second puts
<kaleido> &>> def roll(r,s); dice_sides = s; num_rolls = r; x = 1; total = 0; results = []; while x <= num_rolls; number = rand(1..s); results << number; x += 1; total = total + number; end; puts "Total: #{total}"; puts "Each Die: #{results}"; end; roll(3,7)
<rubydoc> # => Total: 8 ...check link for more (https://carc.in/#/r/5quj)
<kaleido> yay!
<kaleido> probly a much simpler way to do that, but i feel 32% accomplished. :P
weird_error has quit [Quit: weird_error]
cow[moo] has joined #ruby
cow[moo] has quit [Client Quit]
znz_jp has quit [Ping timeout: 264 seconds]
cow[moo] has joined #ruby
cow[moo] is now known as cow[away]
Swyper has quit [Quit: Swyper]
weird_error has joined #ruby
phaul has quit [Quit: bye]
Swyper has joined #ruby
Swyper has quit [Client Quit]
Swyper has joined #ruby
sgen has quit [Ping timeout: 268 seconds]
patr0clus has joined #ruby