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!
jenrzzz has quit [Ping timeout: 250 seconds]
beowuff has left #ruby [#ruby]
beowuff has joined #ruby
jenrzzz has joined #ruby
vikaton has joined #ruby
beowuff has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
houhoulis has joined #ruby
<lucasb> which formats the tarball are available? :) https://www.ruby-lang.org/en/news/2018/12/06/ruby-2-6-0-rc1-released/
<lucasb> ^^ must have been a copy-paste error
<havenwood> lucasb: I've been about to PR a fix all day. Busy day.
<havenwood> I got as far as starting a branch >.>
<lucasb> ah, ok. It was seen already. thanks :)
<lucasb> anyway, just download my prefered flavour: tar.xz
<lucasb> *I downloaded
<havenwood> lucasb: haha, aye - I'll PR a fix momentarily
gix has quit [Ping timeout: 272 seconds]
houhoulis has quit [Remote host closed the connection]
Scriptonaut has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 244 seconds]
nchambers has joined #ruby
ur5us has quit [Remote host closed the connection]
cnsvc has quit [Quit: WeeChat 2.3]
<lucasb> someone looked to the left, but didn't look to the right
<havenwood> lucasb: hah
ur5us has joined #ruby
cnsvc has joined #ruby
scrptktty has quit [Quit: Connection closed for inactivity]
<lucasb> I hope the extensions matchs the checksums :)
<lucasb> havenwood: thanks!
ur5us has quit [Ping timeout: 250 seconds]
sameerynho has joined #ruby
sameerynho is now known as Guest48916
uplime has quit [Ping timeout: 250 seconds]
go|dfish has quit [Read error: Connection reset by peer]
graphene has quit [Remote host closed the connection]
jottr has quit [Quit: WeeChat 2.2]
xealits has joined #ruby
graphene has joined #ruby
xealits has left #ruby [#ruby]
phaul has quit [Ping timeout: 240 seconds]
Renich has joined #ruby
themsay has joined #ruby
Swyper has quit [Quit: Swyper]
peirama has quit [Ping timeout: 268 seconds]
peirama has joined #ruby
eckhardt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
hutch has joined #ruby
tau has quit [Ping timeout: 246 seconds]
dviola has joined #ruby
peirama has quit [Ping timeout: 250 seconds]
peirama has joined #ruby
bijan_ has quit [Remote host closed the connection]
hutch has quit [Ping timeout: 250 seconds]
bijan_ has joined #ruby
peirama has quit [Ping timeout: 244 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
peirama has joined #ruby
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peirama has quit [Ping timeout: 240 seconds]
hutch has joined #ruby
bijan_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
peirama has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
jenrzzz has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
yqrashawn has joined #ruby
yqrashawn has quit [Client Quit]
graphene has quit [Remote host closed the connection]
peirama has quit [Ping timeout: 250 seconds]
weird_error has joined #ruby
graphene has joined #ruby
AJA4350 has quit [Quit: AJA4350]
cnsvc has quit [Ping timeout: 256 seconds]
peirama has joined #ruby
CrazyEddy has joined #ruby
peirama has quit [Ping timeout: 245 seconds]
peirama has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
ogres has quit [Quit: Connection closed for inactivity]
peirama has quit [Ping timeout: 246 seconds]
chens has joined #ruby
bijan_ has joined #ruby
peirama has joined #ruby
jenrzzz has joined #ruby
hutch has quit [Ping timeout: 240 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
peirama has quit [Ping timeout: 250 seconds]
Guest48916 has quit [Ping timeout: 250 seconds]
lxsameer has quit [Ping timeout: 252 seconds]
peirama has joined #ruby
agent_white has joined #ruby
bijan_ has joined #ruby
cnsvc has joined #ruby
peirama has quit [Ping timeout: 246 seconds]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
peirama has joined #ruby
hutch has joined #ruby
arescorpio has quit [Remote host closed the connection]
peirama has quit [Ping timeout: 246 seconds]
bijan__ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
hutch has quit [Ping timeout: 246 seconds]
peirama has joined #ruby
dviola has quit [Quit: WeeChat 2.3]
bambanx has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 268 seconds]
hutch has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
lambarena has joined #ruby
peirama has quit [Ping timeout: 250 seconds]
arescorpio has joined #ruby
arescorpio has quit [Max SendQ exceeded]
bijan__ has quit [Read error: Connection reset by peer]
peirama has joined #ruby
bijan_ has joined #ruby
peirama has quit [Ping timeout: 240 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
cnsvc has quit [Quit: WeeChat 2.3]
cnsvc has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
esrse has joined #ruby
cnsvc has quit [Client Quit]
cnsvc has joined #ruby
bijan__ has joined #ruby
peirama has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Ping timeout: 252 seconds]
peirama has quit [Ping timeout: 246 seconds]
bijan_ has joined #ruby
peirama has joined #ruby
bijan__ has joined #ruby
weird_error has quit [Quit: weird_error]
bijan_ has quit [Ping timeout: 252 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
peirama has quit [Ping timeout: 272 seconds]
fowl has joined #ruby
fowl was kicked from #ruby by ChanServ [Banned: Obsessive troll, see http://logs.ryanbigg.com/p/fowl]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
jenrzzz has joined #ruby
HailTheRobots has quit [Ping timeout: 245 seconds]
bijan__ has quit [Ping timeout: 252 seconds]
peirama has joined #ruby
Ookma-Kyi has joined #ruby
<Ookma-Kyi> Is this RoR too?
<havenwood> Ookma-Kyi: There's a #rubyonrails channel.
<havenwood> Ookma-Kyi: If it's the Ruby side you're asking about, here is perfect.
bijan_ has joined #ruby
peirama has quit [Ping timeout: 268 seconds]
blackswan has quit [Ping timeout: 250 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
blackswan has joined #ruby
<havenwood> Ookma-Kyi: Did you mean to link a README gist?
<Ookma-Kyi> Is that correct grammar: "Ruby and Ruby on Rails implementation of...."
<Ookma-Kyi> Yes
<havenwood> Ookma-Kyi: Yes, that sounds find to me.
<havenwood> Ookma-Kyi: That sentence does seem to be missing a period.
peirama has joined #ruby
<Ookma-Kyi> Ok wanna make sure it was the "Ruby way"
<havenwood> Ookma-Kyi: If you wanna be nitpicky, "play by mail" should be "play-by-mail"
<havenwood> Ookma-Kyi: The last sentence isn't a complete sentence. Otherwise looks good.
<havenwood> From a Ruby perspective it sounds right. Usually I say "Ruby and Rails" instead of "Ruby and Ruby on Rails"
chens has quit [Remote host closed the connection]
peirama has quit [Ping timeout: 250 seconds]
bijan_ has joined #ruby
dbz has joined #ruby
peirama has joined #ruby
cd has quit [Quit: cd]
bijan_ has quit [Read error: Connection reset by peer]
dbz has quit [Ping timeout: 246 seconds]
bijan_ has joined #ruby
Swyper has joined #ruby
<Ookma-Kyi> Updated
peirama has quit [Ping timeout: 244 seconds]
bijan_ has quit [Read error: Connection reset by peer]
hutch has quit [Ping timeout: 244 seconds]
peirama has joined #ruby
bijan_ has joined #ruby
elcontrastador has quit [Ping timeout: 250 seconds]
Fusl has quit [Remote host closed the connection]
peirama has quit [Ping timeout: 245 seconds]
bijan__ has joined #ruby
Fusl has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
peirama has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
bijan__ has quit [Ping timeout: 252 seconds]
peirama has quit [Ping timeout: 240 seconds]
RougeR has quit [Ping timeout: 246 seconds]
bijan_ has joined #ruby
peirama has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
peirama has quit [Ping timeout: 268 seconds]
peirama has joined #ruby
dbz has joined #ruby
dbz_ has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
dbz__ has joined #ruby
bijan_ has joined #ruby
peirama has quit [Ping timeout: 250 seconds]
dbz has quit [Ping timeout: 244 seconds]
larissa has quit [Ping timeout: 252 seconds]
dbz_ has quit [Ping timeout: 250 seconds]
dbz__ has quit [Ping timeout: 250 seconds]
bijan_ has quit [Read error: Connection reset by peer]
peirama has joined #ruby
larissa has joined #ruby
peirama has quit [Ping timeout: 268 seconds]
bijan_ has joined #ruby
white_lilies has joined #ruby
braincrash has quit [Quit: bye bye]
peirama has joined #ruby
Renich_ has joined #ruby
Renich has quit [Ping timeout: 244 seconds]
Renich_ is now known as Renich
bijan_ has quit [Ping timeout: 252 seconds]
braincrash has joined #ruby
peirama has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
dbz has joined #ruby
malen has quit [Ping timeout: 245 seconds]
peirama has joined #ruby
malen has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
cnsvc has joined #ruby
peirama has quit [Ping timeout: 250 seconds]
peirama has joined #ruby
bijan_ has joined #ruby
peirama has quit [Ping timeout: 268 seconds]
bijan_ has quit [Read error: Connection reset by peer]
bijan__ has joined #ruby
peirama has joined #ruby
bijan__ has quit [Ping timeout: 252 seconds]
peirama has quit [Ping timeout: 244 seconds]
white_lilies has quit [Ping timeout: 268 seconds]
bijan_ has joined #ruby
peirama has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
peirama has quit [Ping timeout: 246 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
hurricanehrndz has quit [Ping timeout: 252 seconds]
Swyper has quit [Quit: Swyper]
peirama has joined #ruby
white_lilies has joined #ruby
bijan_ has joined #ruby
peirama has quit [Ping timeout: 240 seconds]
bijan_ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
nchambers has quit [Quit: WeeChat 2.2]
hurricanehrndz has joined #ruby
sp3ncer has joined #ruby
peirama has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
awkwords has joined #ruby
Ookma-Kyi has quit [Remote host closed the connection]
bijan_ has joined #ruby
KeyJoo has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
lytol has quit [Remote host closed the connection]
sauvin has joined #ruby
Freshnuts has joined #ruby
SeepingN has joined #ruby
bijan_ has joined #ruby
za1b1tsu has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
Inline has quit [Quit: Leaving]
shakes has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
shakes has quit [Read error: Connection reset by peer]
cajone has joined #ruby
bijan__ has quit [Read error: Connection reset by peer]
bga57 has quit [Remote host closed the connection]
aupadhye has joined #ruby
bijan_ has joined #ruby
dbz has quit [Remote host closed the connection]
teardown has joined #ruby
dbz has joined #ruby
dbz has quit [Remote host closed the connection]
bijan_ has quit [Ping timeout: 252 seconds]
reber has joined #ruby
sp3ncer has quit [Read error: Connection reset by peer]
cajone has left #ruby [#ruby]
reber__ has joined #ruby
cajone has joined #ruby
cajone has left #ruby [#ruby]
bijan_ has joined #ruby
reber has quit [Ping timeout: 272 seconds]
peirama has quit [Ping timeout: 245 seconds]
awkwords has quit [Quit: sleepy time]
bijan_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
dbz has joined #ruby
bijan_ has joined #ruby
Xiti has quit [Ping timeout: 268 seconds]
Xiti has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
donofrio has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 246 seconds]
bijan_ has joined #ruby
malen has quit [Ping timeout: 250 seconds]
reber has joined #ruby
dbz has quit [Remote host closed the connection]
bijan__ has joined #ruby
reber__ has quit [Ping timeout: 250 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Read error: Connection reset by peer]
Furai has quit [Quit: WeeChat 2.3]
esrse has quit [Ping timeout: 240 seconds]
bijan_ has joined #ruby
Aqo has joined #ruby
dellavg_ has joined #ruby
peirama has joined #ruby
Furai has joined #ruby
peirama has left #ruby [#ruby]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Read error: Connection reset by peer]
HailTheRobots has joined #ruby
awkwords has joined #ruby
bijan_ has joined #ruby
agent_white has quit [Quit: gnight]
bijan_ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
za1b1tsu has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
bijan__ has quit [Ping timeout: 252 seconds]
za1b1tsu has joined #ruby
bijan_ has joined #ruby
white_lilies has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
code_zombie has quit [Quit: Leaving]
znz_jp has quit [Remote host closed the connection]
bijan__ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
znz_jp has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
clemens3 has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
piks3l_ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
piks3l_ has quit [Quit: piks3l_]
makara has joined #ruby
piks3l_ has joined #ruby
<makara> how can I overload +- operator? I can do + and - separately.
piks3l_ has quit [Client Quit]
cnsvc has quit [Quit: WeeChat 2.3]
<baweaver> makara: Do you have an example of what you want to do?
cnsvc has joined #ruby
Guest14049 has joined #ruby
<baweaver> you probably mean prefix operators
bijan_ has joined #ruby
za1b1tsu has quit [Ping timeout: 250 seconds]
<makara> @baweaver, I think I understand now. +- is not an operator, so I can't overload it. I was wanting to create a new operator, but i don't see how the Ruby parser would understand how to tokenize it in the first place
<baweaver> you'd have to screw with the actual parser to make that happen
<baweaver> parser.y if I remember
<makara> @baweaver, its ok, I'm just learning Ruby
<baweaver> Then I'd focus on learning basics instead of trying to get too much into that type of thing quite yet.
bijan_ has quit [Ping timeout: 252 seconds]
bga57 has joined #ruby
bijan__ has joined #ruby
bijan__ has quit [Read error: Connection reset by peer]
HailTheRobots has quit [Read error: Connection reset by peer]
HailTheRobots has joined #ruby
bijan_ has joined #ruby
Burgestrand has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
za1b1tsu has joined #ruby
vondruch has joined #ruby
bijan_ has joined #ruby
Burgestrand has quit [Quit: Closing time!]
roshanavand has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
aufi has joined #ruby
makara has quit [Ping timeout: 246 seconds]
themsay has quit [Ping timeout: 246 seconds]
phaul has joined #ruby
serard has joined #ruby
Freshnuts has quit [Ping timeout: 268 seconds]
bijan_ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
Freshnuts has joined #ruby
bijan__ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
Burgestrand has joined #ruby
keden has joined #ruby
HailTheRobots has quit [Remote host closed the connection]
HailTheRobots has joined #ruby
HailTheRobots has quit [Read error: Connection reset by peer]
HailTheRobots has joined #ruby
HailTheRobots has quit [Remote host closed the connection]
HailTheRobots has joined #ruby
Freshnuts has quit [Ping timeout: 246 seconds]
sir_tune has joined #ruby
moei has joined #ruby
vende has joined #ruby
HailTheRobots has quit [Remote host closed the connection]
vende is now known as color
slowmow has joined #ruby
<slowmow> Hello folks,
HailTheRobots has joined #ruby
<slowmow> Anypone around ?
<phaul> hello slowmow
bijan_ has joined #ruby
color is now known as vende
<slowmow> Hey there,
<ruby[bot]> slowmow: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<slowmow> I don't get is
<slowmow> it
<phaul> '/path' is not a file or directory on your computer. That's what it says
cnsvc has quit [Ping timeout: 256 seconds]
<phaul> Im guessing you have to fill in 'path' with actual value rather than passing the literal value '/path'
bijan_ has quit [Read error: Connection reset by peer]
serard has quit [Ping timeout: 252 seconds]
Mike11 has joined #ruby
LinuxKnight has quit [Remote host closed the connection]
LinuxKnight has joined #ruby
<slowmow> The path for realpath_rec ?
lucasb has joined #ruby
bijan_ has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
<slowmow> ..
horst_ has joined #ruby
<slowmow> I don't have any "/path" in the code
<phaul> slowmow: can you paste the code?
<slowmow> sure
<slowmow> 2 secs
bijan_ has quit [Ping timeout: 252 seconds]
<slowmow> Here
<ruby[bot]> slowmow: as I told you already, please use https://gist.github.com
<slowmow> I didn't see your message sorry
<slowmow> reading...
<slowmow> Won't happen again
bijan_ has joined #ruby
<phaul> slowmow: it's a bot, ignore him for now
<slowmow> oih
<slowmow> ok
jenrzzz has quit [Ping timeout: 244 seconds]
<phaul> but the previous link doesn't work any more, so I can't see the error and code together ...
<slowmow> Ok
<slowmow> Traceback (most recent call last):
<slowmow> 4: from pipal.rb:179:in `<main>'
<slowmow> 3: from pipal.rb:179:in `each'
<slowmow> 2: from pipal.rb:184:in `block in <main>'
<slowmow> 1: from pipal.rb:184:in `realpath'
<slowmow> pipal.rb:184:in `realpath': No such file or directory @ realpath_rec - /path (Errno::ENOENT)
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 268 seconds]
paranoicsan has joined #ruby
<slowmow> Any hintg ?
<phaul> requires some debug... Can you insert a puts fn.inspect in @ line 183 and rerun ?
KeyJoo has quit [Quit: KeyJoo]
<phaul> puts fn.inspect # < the new bit of code
awkwords has quit [Ping timeout: 268 seconds]
bijan__ has quit [Read error: Connection reset by peer]
AJA4350 has joined #ruby
fluxAeon has quit [Ping timeout: 246 seconds]
awkwords has joined #ruby
cnsvc has joined #ruby
bijan_ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
<phaul> btw what OS are you using?
HailTheRobots has quit [Remote host closed the connection]
HailTheRobots has joined #ruby
bijan_ has joined #ruby
weird_error has joined #ruby
<phaul> slowmow?
<slowmow> installing a script
<slowmow> apparently it should solve it
<slowmow> Oh shit
<slowmow> I am mixing things
<slowmow> So tired
<slowmow> Thank you for your help
HailTheRobots has quit [Read error: Connection reset by peer]
LinuxKnight has quit [Ping timeout: 268 seconds]
HailTheRobots has joined #ruby
<lucasb> RubyVM::AbstractSyntaxTree!
<lucasb> look at the size of the that word :) I guess they didn't wanted just "RubyVM::AST"
<leftylink> maybe they had A STringent requirement on minimum length
<leftylink> ... I am sorry
<lucasb> :D
<lucasb> IMO shorter names are better. anyway, just a detail I spotted on the RC1 announcement
RedNifre has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
LinuxKnight has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
Puffball has quit [Remote host closed the connection]
RedNifre has quit [Ping timeout: 252 seconds]
RedNifre has joined #ruby
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
bijan_ has joined #ruby
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
RedNifre has quit [Ping timeout: 260 seconds]
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
HailTheRobots has quit [Remote host closed the connection]
HailTheRobots has joined #ruby
HailTheRobots has quit [Remote host closed the connection]
HailTheRobots has joined #ruby
bijan_ has joined #ruby
slowmow has quit [Read error: Connection reset by peer]
bijan_ has quit [Read error: Connection reset by peer]
cnsvc has joined #ruby
bijan_ has joined #ruby
Mike11 has quit [Ping timeout: 246 seconds]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 250 seconds]
RedNifre has joined #ruby
bijan_ has joined #ruby
vonfry has joined #ruby
bijan__ has quit [Ping timeout: 260 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
phaul has quit [Ping timeout: 250 seconds]
bijan_ has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 250 seconds]
Nicmavr has joined #ruby
dbz has joined #ruby
RedNifre has quit [Ping timeout: 260 seconds]
vonfry has quit [Quit: WeeChat 2.2]
bijan__ has quit [Ping timeout: 268 seconds]
dbz has quit [Ping timeout: 250 seconds]
jaddison_ has joined #ruby
timeless has quit [Ping timeout: 264 seconds]
Sina has quit [Ping timeout: 264 seconds]
Sina has joined #ruby
bijan_ has joined #ruby
jaddison has quit [Ping timeout: 250 seconds]
timeless has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
bijan__ has joined #ruby
camilasan has quit [Remote host closed the connection]
paranoicsan has quit [Read error: Connection reset by peer]
bijan_ has quit [Ping timeout: 252 seconds]
paranoicsan has joined #ruby
Guest14049 has quit [Ping timeout: 252 seconds]
bijan__ has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
mostlybadfly has joined #ruby
bijan_ has joined #ruby
arooni has quit [Ping timeout: 272 seconds]
bijan_ has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
bijan_ has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
go|dfish has joined #ruby
camilasan has joined #ruby
bijan__ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
jcalla has joined #ruby
Dbugger has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
rippa has joined #ruby
roshanavand has quit [Ping timeout: 245 seconds]
awkwords_ has joined #ruby
awkwords has quit [Ping timeout: 250 seconds]
arooni has joined #ruby
bijan_ has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 268 seconds]
awkwords_ has quit [Read error: Connection reset by peer]
bijan__ has quit [Read error: Connection reset by peer]
awkwords has joined #ruby
bijan_ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
agent_white has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
RedNifre has joined #ruby
bijan_ has joined #ruby
awkwords_ has joined #ruby
awkwords has quit [Ping timeout: 268 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
Inline has joined #ruby
bijan_ has joined #ruby
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
Mike11 has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
bijan_ has quit [Remote host closed the connection]
white_lilies has joined #ruby
cnsvc has joined #ruby
bijan_ has joined #ruby
Mike11 has quit [Quit: Leaving.]
awkwords has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
awkwords_ has quit [Ping timeout: 245 seconds]
blackswan has quit [Ping timeout: 250 seconds]
bijan_ has joined #ruby
RedNifre has quit [Ping timeout: 260 seconds]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Read error: Connection reset by peer]
white_lilies has quit [Ping timeout: 268 seconds]
bijan_ has joined #ruby
blackmesa has joined #ruby
bijan_ has quit [Ping timeout: 250 seconds]
bak1an has joined #ruby
tau has joined #ruby
paranoicsan has quit [Quit: paranoicsan]
paranoicsan has joined #ruby
polishdub has joined #ruby
aupadhye has quit [Quit: Leaving]
crankharder has quit [Quit: leaving]
themsay has joined #ruby
themsay has quit [Ping timeout: 244 seconds]
RedNifre has joined #ruby
bijan_ has joined #ruby
JjOtt has joined #ruby
code_zombie has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
<JjOtt> Does anyone experience errors like this on MacOS Mojave ....
<JjOtt> ruby(36489,0x1030375c0) malloc: *** error for object 0x7fca5c06a0f8: pointer being freed was not allocated
<JjOtt> ruby(36489,0x1030375c0) malloc: *** set a breakpoint in malloc_error_break to debug
Mike11 has joined #ruby
RedNifre has quit [Ping timeout: 264 seconds]
Blaguvest has joined #ruby
hutch has joined #ruby
blood has joined #ruby
eldritch2 has joined #ruby
<blood> How do I prevent ruby from resolving environment variables passed to shell execute? If I run my script manually, everything works as expected
<blood> I'm currently passing env vars as %%ENV%%
bijan_ has joined #ruby
crankharder has joined #ruby
bijan__ has joined #ruby
serard has joined #ruby
leitz has joined #ruby
piks3l has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Read error: Connection reset by peer]
HailTheRobots has quit [Remote host closed the connection]
HailTheRobots has joined #ruby
ellcs has quit [Ping timeout: 250 seconds]
JjOtt has quit [Quit: Leaving...]
bijan_ has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.3]
blood has quit [Quit: Page closed]
discopatrick has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
teardown has quit [Ping timeout: 250 seconds]
krawchyk has quit [Quit: krawchyk]
al2o3-cr has joined #ruby
roshanavand has joined #ruby
bijan__ has quit [Ping timeout: 252 seconds]
serard_ has joined #ruby
<havenwood> lucasb: The switch to AbstractSyntaxTree was for parity with InstructionSequence.
<havenwood> lucasb: They could be AST and IR, of course.
gix has joined #ruby
serard has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
blackmesa1 has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
piks3l has quit [Quit: piks3l]
krawchyk has joined #ruby
bijan_ has joined #ruby
roshanavand has quit [Quit: Gone planting!]
bijan_ has quit [Read error: Connection reset by peer]
serard__ has joined #ruby
bijan_ has joined #ruby
serard_ has quit [Ping timeout: 252 seconds]
dviola has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Ping timeout: 252 seconds]
eldritch has quit [Quit: ZNC 1.6.5 - http://znc.in]
Dbugger has quit [Remote host closed the connection]
cnsvc has quit [Ping timeout: 256 seconds]
bijan_ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
dbz has joined #ruby
paranoicsan has quit [Quit: paranoicsan]
bijan_ has joined #ruby
bijan_ has quit [Ping timeout: 250 seconds]
serard__ has quit [Quit: Leaving]
serard__ has joined #ruby
serard__ is now known as serard
serard has quit [Client Quit]
vdl has quit [Quit: WeeChat 1.6]
vdl has joined #ruby
serard has joined #ruby
bijan_ has joined #ruby
RedNifre has joined #ruby
zapata has quit [Read error: Connection reset by peer]
sir_tune has quit [Remote host closed the connection]
zapata has joined #ruby
KeyJoo has joined #ruby
agent_white has quit [Quit: brb]
Guest14049 has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
aufi has quit [Remote host closed the connection]
serard has quit [Ping timeout: 250 seconds]
KeyJoo has quit [Quit: KeyJoo]
awkwords_ has joined #ruby
Swyper has joined #ruby
bijan_ has quit [Ping timeout: 268 seconds]
awkwords has quit [Ping timeout: 250 seconds]
bijan_ has joined #ruby
vende has quit [Remote host closed the connection]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
za1b1tsu has quit [Read error: Connection reset by peer]
raulp has quit [Quit: raulp]
bijan__ has quit [Ping timeout: 252 seconds]
keden has quit [Quit: WeeChat 2.3]
raulp has joined #ruby
Swyper has quit [Quit: Swyper]
bijan_ has joined #ruby
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
bijan_ has quit [Client Quit]
Burgestrand has quit [Quit: Closing time!]
dbz has quit [Remote host closed the connection]
nchambers has joined #ruby
blackmesa has joined #ruby
cow[moo] has joined #ruby
Swyper has joined #ruby
blackmesa1 has quit [Ping timeout: 250 seconds]
alan_w has joined #ruby
blackmesa1 has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
serard has joined #ruby
chongtxtx has quit [Ping timeout: 252 seconds]
chongtxtx has joined #ruby
Mike11 has quit [Quit: Leaving.]
blackmesa1 has quit [Ping timeout: 252 seconds]
Guest14049 has quit [Ping timeout: 245 seconds]
chongtxtx has quit [Ping timeout: 250 seconds]
chongtxtx has joined #ruby
Renich_ has joined #ruby
salasrod has quit [Quit: /quit]
raulp has quit [Quit: raulp]
Renich has quit [Ping timeout: 268 seconds]
Renich_ is now known as Renich
salasrod has joined #ruby
raulp has joined #ruby
eckhardt_ has joined #ruby
orbyt_ has joined #ruby
clemens3 has quit [Ping timeout: 272 seconds]
sauvin has quit [Remote host closed the connection]
cnsvc has joined #ruby
eldritch2 has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
bambanx has joined #ruby
reber has quit [Remote host closed the connection]
jaddison_ has quit [Quit: jaddison_]
Freshnuts has joined #ruby
Freshnuts has quit [Remote host closed the connection]
\void has joined #ruby
serard has quit [Ping timeout: 252 seconds]
hutch has quit [Ping timeout: 250 seconds]
hutch has joined #ruby
blackmesa1 has joined #ruby
Burgestrand has joined #ruby
Burgestrand has quit [Client Quit]
themsay has joined #ruby
clemens3 has joined #ruby
nchambers has quit [Quit: WeeChat 2.2]
eldritch has joined #ruby
Puffball has joined #ruby
SeepingN_ has quit [Quit: The system is going down for reboot NOW!]
jenrzzz has joined #ruby
elcontrastador has joined #ruby
agent_white has joined #ruby
uplime has joined #ruby
themsay has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
roshanavand has quit [Ping timeout: 250 seconds]
tau has quit [Remote host closed the connection]
hutch has quit [Ping timeout: 268 seconds]
<knight33> This question might be a little abstract, but where to begin writing an application? I've no issue looking at other Ruby applications, and understanding the majority of code, conditionals, variables, scopes, objects, etc. I've fixed so many bugs at work. However, when I sit and stare at a blank terminal in Vim, trying to write an API or web app or
<knight33> something, I don't know what to do. I keep finding tutorials on Rails that teach you how to generate controllers and skip the learning part. Any suggestions?
GinoMan has joined #ruby
hutch has joined #ruby
discopatrick has quit [Quit: Connection closed for inactivity]
<Eiam> JjOtt: means what it says on the tin, you over released something
<Eiam> oh they left
desperek has joined #ruby
jenrzzz has joined #ruby
serard has joined #ruby
serard_ has joined #ruby
dviola has quit [Quit: WeeChat 2.3]
serard has quit [Ping timeout: 252 seconds]
relyks has joined #ruby
Scriptonaut has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Scriptonaut> hey I was just wondering if any of you know an array method similar to .find, but rather than returning the first element that satisfies the condition, it returns a property/value of that element. So like if I had an array of object, I would want to return object.some_value of the first object that satisfies the condition, rather than returning the object itself
<Scriptonaut> I could easily do this in two lines, but I'm wondering if there's a shorthand oneliner way
<Scriptonaut> actually I might just change it to an each loop and then return the element explicitly, I just usually liek to avoid explicit return statements when it's at the tail-end of a method
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
<uplime> you could use map
<Scriptonaut> I only want the first element that satisfies the condition
<Scriptonaut> map would give me an array
<Scriptonaut> I could do `next if blah?` and then chain a `compact` to the end of the block but that would be janky
<woodruffw> Scriptonaut: enumerable.find { |x| x.blah? }
<Scriptonaut> that returns the element
GinoMan2440 has joined #ruby
<woodruffw> you want the index?
<Scriptonaut> I need a method like find, but rather than returning the element, it returns a result I calculate in the block
<Scriptonaut> nah
<woodruffw> ah
<woodruffw> hmm, you could do find + tap probably
<woodruffw> err sorry no, that wouldn't work
<Scriptonaut> that's the method
<Scriptonaut> I need to return snomed_record.first
<woodruffw> return `enumerable.find { |x| x.blah? }.first` maybe?
darkhanb has joined #ruby
darkhanb has quit [Client Quit]
GinoMan has quit [Ping timeout: 272 seconds]
<Eiam> hmm select and break?
<Eiam> oh that'll give you the object not its value
<Eiam> oh, just use reduce and break?
SeepingN has joined #ruby
<Eiam> set your memo to the value you want 'returned'
<Eiam> and break out
<Scriptonaut> woodruffw: find won't work
<Scriptonaut> find returns the element in the array, not a different value calculated from the element
<Scriptonaut> ya reduce was something I was thinking of
<woodruffw> right, i'm saying that you should return the element and then chain the calculation after it
<Scriptonaut> I need the calculation in order to determine if it satisfies the condition, which is an expensive database lookup, I don't want to have to do that calculation twice. I think I'm just going to do an each loop and do an explicit return
<Scriptonaut> was just looking for a more 'ruby way' of doing it
<woodruffw> ah
<Eiam> reduce imo
<woodruffw> yeah, reduce then
<Scriptonaut> I'll checkout reduce
<Eiam> given your constraints defined
<Scriptonaut> haven't used that in a while
<havenwood> Scriptonaut: Have you tried just selecting them mapping? Does that incur a penalty in your case?
<Scriptonaut> selecting then mapping would incur a penalty because then the alg would become 2n rather than n (O)
<Eiam> why is the map touching the DB at that point?
bambanxx has joined #ruby
<Eiam> do the DB lookup and then work with local data
<Eiam> those transforms shouldn't incur db hits..
<Eiam> depends on your ORM or whatever though too I suppose
<Scriptonaut> Eiam: because I'm looping over an array of object, then doing a db lookup for each one, then determining if the lookup yielded a sufficient result. If it did, then I need to return that result
<Scriptonaut> so I would have to calculate the result a second time once I returned teh element
matti has quit [Ping timeout: 240 seconds]
<Eiam> why not get array of object, get all data and do a single lookup, then filter that?
<Scriptonaut> the lookup api can't take more than one param at a time
<Eiam> you are paying the price of an array of unknown size DB lookups one at a time but if you've already got the data..
<Scriptonaut> so I can't do like Datasets::ICD10.snomedct_map([list, of, codes])
<Eiam> well that sucks =)
<Scriptonaut> I have to do it one by one
<Eiam> get a better DB? =)
RedNifre has quit [Ping timeout: 252 seconds]
<Scriptonaut> lol, it's postgres, but the module was written that way
<Eiam> (i realize its probably not your endpoint and beyond your control)
<Scriptonaut> ya
StarLord__ has joined #ruby
bambanx has quit [Ping timeout: 250 seconds]
StarLord__ has quit [Max SendQ exceeded]
StarLord__ has joined #ruby
StarLord__ has quit [Max SendQ exceeded]
StarLord__ has joined #ruby
bambanxx has quit [Ping timeout: 250 seconds]
cow[moo] is now known as cow[away]
Swyper has quit [Quit: Swyper]
jenrzzz has quit [Ping timeout: 268 seconds]
<havenwood> Scriptonaut: FWIW, #select_map is easy to implement: https://gist.github.com/havenwood/4fdea01e423b96c5457fc959f33cfc08
<havenwood> Scriptonaut: You could do a refinement. ;)
cd has joined #ruby
cow[away] is now known as cow[moo]
jenrzzz has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<Scriptonaut> ya, true, that's a decent solution, though I'd have to tack a .first on the end of it
phaul has joined #ruby
Swyper has joined #ruby
<havenwood> Scriptonaut: oh, you want select_map_first?
<Scriptonaut> ya
<havenwood> Scriptonaut: that's more like find_map, I suppose, sec.
<havenwood> Scriptonaut: (This is why we don't implement these all. They're too custom. Elixir deprecated select_map for that reason iir.)
<havenwood> Scriptonaut:
<Scriptonaut> that wouldn't be a find_map would it?
<Scriptonaut> since each returns the whole list
<havenwood> err, it finds the first thing and maps
<havenwood> (just updated a typo)
<havenwood> Scriptonaut: all Enumerable methods are implemented off #each
RedNifre has joined #ruby
<havenwood> Scriptonaut: #find included
<Scriptonaut> havenwood: that would return nil
<Scriptonaut> the thing you wrote
<Scriptonaut> oh n evermind
<Scriptonaut> I had no idea each worked that way
<Scriptonaut> I thought each always returned the original array
<Scriptonaut> unless the block specifies otherwise
<havenwood> [0, 0, 42].find_map &:nonzero? #=> 42
<Scriptonaut> I didn't know you could pass an argument to break, that's awesome
<Scriptonaut> I use break all the time, but I didn't know if you passed it a value it would break from the block and return that value
<Scriptonaut> Does next also take a value?
<havenwood> Scriptonaut: fixed it to return `nil` instead of the receiver if nothing found
<Scriptonaut> that's literally exactly how I solved my problem lol
<Scriptonaut> what your code is now
<havenwood> Scriptonaut: makes sense
<Scriptonaut> havenwood: do you contribute to ruby?
<Scriptonaut> you were saying "we" when talking about removing features like that
<havenwood> Scriptonaut: I do contribute to a couple implementations of Ruby, as a hobbyist not core of anything.
DTZUZO has joined #ruby
<Scriptonaut> ah ok
RedNifre has quit [Ping timeout: 250 seconds]
<havenwood> Scriptonaut: commented on your gist with a couple nit suggestions
tau has joined #ruby
<Scriptonaut> havenwood: nice. You mixed up the dx_code.code and dx_code.code_type in the else statement, but I like that idea better than mine (having an assignment operation inside a conditional)
<Scriptonaut> and ya, I shoulda used .any?
cow[moo] is now known as cow[away]
jordanm has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
coltkirk has left #ruby ["ERC (IRC client for Emacs 26.1)"]
GinoMan2440 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cow[away] is now known as cow[moo]
cow[moo] is now known as cow[away]
blackswan has joined #ruby
cow[away] is now known as cow[moo]
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
DTZUZO has quit [Read error: Connection reset by peer]
cow[moo] is now known as cow[away]
DTZUZO has joined #ruby
StarLord__ has quit [Quit: Leaving]
agent_white has quit [Quit: bbl]
roshanavand has joined #ruby
Swyper has quit [Quit: Swyper]
Swyper has joined #ruby
desperek has quit [Quit: xoxo]
dellavg_ has quit [Ping timeout: 250 seconds]
dviola has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HailTheRobots has quit [Ping timeout: 246 seconds]
alan_w has quit [Read error: Connection reset by peer]
Guest14049 has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
polishdub has quit [Quit: leaving]
jenrzzz has quit [Ping timeout: 272 seconds]
graphene has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
irdr has quit [Ping timeout: 246 seconds]
graphene has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
agent_white has joined #ruby
piks3l has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
paraxial has joined #ruby
jenrzzz has joined #ruby
hutch has quit [Ping timeout: 246 seconds]
cnsvc has quit [Quit: WeeChat 2.3]
DTZUZO has joined #ruby
Swyper has quit [Quit: Swyper]
clemens3 has quit [Ping timeout: 252 seconds]
piks3l has quit [Ping timeout: 250 seconds]
relyks has quit [Quit: relyks]
ellcs has joined #ruby
leitz has quit [Remote host closed the connection]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
clemens3 has joined #ruby
Swyper has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
gix has quit [Disconnected by services]
eckhardt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Aqo has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
DTZUZO has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ruby