havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.0, 2.5.3, 2.4.5: 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!
chouhoulis has quit [Remote host closed the connection]
postmodern has joined #ruby
sanscoeu_ has quit [Remote host closed the connection]
lbracher has quit [Ping timeout: 268 seconds]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: inabit. zz.]
rkazak has joined #ruby
nchambers has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
sanscoeur has joined #ruby
uplime has quit [Disconnected by services]
nchambers is now known as uplime
jcarl43 has quit [Quit: WeeChat 2.3]
blackmesa has quit [Ping timeout: 250 seconds]
loincloth has quit []
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rkazak has quit [Quit: Sleep.....ing....]
bmurt has joined #ruby
bmurt has quit [Client Quit]
\void has quit [Quit: So long, and thanks for all the fish.]
postmodern has quit [Quit: Leaving]
gnufied has quit [Ping timeout: 246 seconds]
thinkpad has quit [Ping timeout: 272 seconds]
tfitts has quit [Quit: Connection closed for inactivity]
thinkpad has joined #ruby
gnufied has joined #ruby
gnufied has quit [Ping timeout: 246 seconds]
segy has quit [Ping timeout: 268 seconds]
mr_roybot has joined #ruby
segy has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
pedahzur has quit [Ping timeout: 250 seconds]
krawchyk has joined #ruby
sanscoeur has quit [Ping timeout: 250 seconds]
esrse has joined #ruby
chouhoulis has joined #ruby
ansraliant has joined #ruby
cd has joined #ruby
PixeLInc has joined #ruby
xuyuheng has joined #ruby
xuyuheng has quit [Client Quit]
r29v has quit [Remote host closed the connection]
krawchyk has quit [Quit: krawchyk]
xall has joined #ruby
gix has quit [Ping timeout: 245 seconds]
mr_roybot has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 250 seconds]
tdy1 has joined #ruby
tdy1 is now known as tdy
brandoncc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marmotini_ has joined #ruby
PixeLInc has left #ruby ["WeeChat 2.1"]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
brandoncc has joined #ruby
braincrash has quit [Quit: bye bye]
Avinash has joined #ruby
braincrash has joined #ruby
ur5us has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 250 seconds]
Avinash_ has joined #ruby
Avinash has quit [Ping timeout: 245 seconds]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
DTZUZO_ has joined #ruby
phwelo has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
aqd has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
Avinash_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
\void has joined #ruby
Avinash has joined #ruby
ixti has quit [Quit: WeeChat 2.3]
dellavg_ has joined #ruby
mr_roybot has joined #ruby
chouhoulis has quit [Remote host closed the connection]
RiPuk has quit [Ping timeout: 268 seconds]
mr_roybot has quit []
stryek has quit [Quit: Connection closed for inactivity]
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davidw has quit [Ping timeout: 245 seconds]
Avinash has joined #ruby
donofrio has quit [Remote host closed the connection]
Inline has quit [Quit: Leaving]
xall has quit [Quit: xall]
sonofentropy has joined #ruby
paranoicsan has joined #ruby
lytol has quit [Quit: lytol]
RiPuk has joined #ruby
NoidedSuper has joined #ruby
_whitelogger has joined #ruby
marmotini_ has quit [Ping timeout: 244 seconds]
dellavg_ has quit [Ping timeout: 250 seconds]
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Avinash has joined #ruby
Dbugger has joined #ruby
conta has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
marmotini_ has joined #ruby
paranoicsan has quit [Quit: paranoicsan]
pedahzur has joined #ruby
sanscoeur has joined #ruby
reber has joined #ruby
za1b1tsu has joined #ruby
pedahzur has quit [Ping timeout: 250 seconds]
kapil____ has joined #ruby
dionysus69 has joined #ruby
eckhardt has joined #ruby
aupadhye has joined #ruby
renich has quit [Quit: renich]
brandoncc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xrexeon has joined #ruby
xrexeon has quit [Max SendQ exceeded]
xrexeon has joined #ruby
xrexeon has quit [Max SendQ exceeded]
xrexeon has joined #ruby
xrexeon has quit [Read error: Connection reset by peer]
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3 has joined #ruby
reber has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
RedNifre has joined #ruby
b6b has quit [Ping timeout: 250 seconds]
b6b has joined #ruby
Avinash has joined #ruby
NoidedSuper has quit [Read error: Connection reset by peer]
arekushi has quit [Ping timeout: 268 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
jmcgnh has joined #ruby
ansraliant has quit [Quit: My planet needs me]
blackmesa has joined #ruby
arekushi has joined #ruby
uplime has quit [Quit: WeeChat 2.2]
mikecmpbll has joined #ruby
blackmesa1 has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
uplime has joined #ruby
nchambers has joined #ruby
nchambers has quit [Client Quit]
venmx has joined #ruby
Puffball has joined #ruby
nfk has joined #ruby
SCHAPiE has quit [Ping timeout: 246 seconds]
lxsameer has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SCHAPiE has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
blackmesa1 has quit [Ping timeout: 250 seconds]
apparition has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
jacksop has joined #ruby
soyeomul^bionic has joined #ruby
AJA4350 has joined #ruby
maufart__ has joined #ruby
themsay has joined #ruby
arekushi has quit [Ping timeout: 250 seconds]
cabotto323 has joined #ruby
cabotto323 has left #ruby [#ruby]
nowhere_man has quit [Ping timeout: 252 seconds]
jacksop has quit []
jacksop has joined #ruby
nowhere_man has joined #ruby
maufart__ has quit [Ping timeout: 250 seconds]
marmotini_ has quit [Ping timeout: 246 seconds]
conta has quit [Ping timeout: 244 seconds]
lbracher has joined #ruby
blackmesa1 has joined #ruby
Puffball has quit [Remote host closed the connection]
beastiero has joined #ruby
marmotini_ has joined #ruby
jacksop has quit [Remote host closed the connection]
beastiero has quit [Remote host closed the connection]
esrse has quit [Ping timeout: 240 seconds]
Avinash has joined #ruby
jacksop has joined #ruby
themsay has quit [Ping timeout: 268 seconds]
conta has joined #ruby
Blaguvest has joined #ruby
maufart__ has joined #ruby
KeyJoo has joined #ruby
nfk has quit [Remote host closed the connection]
smallick has joined #ruby
smallick has quit [Quit: jmIrc-m v0.34a by Archangel (http://jmirc-m.net.ru/en/)]
smallick has joined #ruby
smallick has quit [Quit: jmIrc-m v0.34a by Archangel (http://jmirc-m.net.ru/en/)]
jacksop has quit [Remote host closed the connection]
aupadhye is now known as aupadhye|brb
paranoicsan has joined #ruby
blackmesa1 has quit [Ping timeout: 250 seconds]
aupadhye|brb is now known as aupadhye
inky has joined #ruby
<inky> i forgot how did i solve this last time:
<inky> mastodon@arnet ~/live $ bundle install --deployment --without development test
<inky> (04:45:48 ) inky: rbenv: version `2.6.0' is not installed (set by /home/mastodon/live/.ruby-version)
<inky> did i do cd ~/.rbenv && git pull ?
<inky> 2.6.0 is not in the list.
<inky> rbenv install -l shows many versions but not 2.6.0. there is 2.6.0-dev however.
<inky> there's also 2.6.0-preview1 and 2.6.0-preview2
<inky> ok i did git pull, and it looks like i got 2.6.0 in the list.
CrazyEddy has quit [Remote host closed the connection]
Hien has quit [Quit: leaving]
cow[moo] has quit [Read error: Connection reset by peer]
cow[moo] has joined #ruby
jacksop has joined #ruby
paranoicsan has left #ruby [#ruby]
paranoicsan has joined #ruby
stryek has joined #ruby
blackmesa1 has joined #ruby
bmurt has joined #ruby
CrazyEddy has joined #ruby
beastiero has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
beastiero has quit [Remote host closed the connection]
yorickpeterse has joined #ruby
blackmesa1 has quit [Ping timeout: 244 seconds]
blackmesa1 has joined #ruby
yorickpeterse has left #ruby ["User left"]
lxsameer has quit [Ping timeout: 240 seconds]
marmotini_ has quit [Ping timeout: 245 seconds]
donofrio has joined #ruby
blackmesa1 has quit [Ping timeout: 240 seconds]
jacksop has quit []
aupadhye is now known as aupadhye|brb
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
apparition has quit [Quit: Bye]
Avinash has joined #ruby
conta has quit [Ping timeout: 272 seconds]
ilpianista[m] has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ilpianista[m]> Hi, I know that I can assign the value of a variable this way `foo=#{bar || 'undefined'}`, but can I also write complex expression to make `foo` equal to `bar` + 'sometext' only when `bar` is defined?
soyeomul^bionic has quit [Quit: ERC (IRC client for Emacs 26.1)]
<phaul> foo=#{bar || 'undefined'} is not valid ruby
<phaul> you are doing String interpolation with a string
<ilpianista[m]> yes, you are right
<phaul> you meant? foo="#{bar || 'undefined'}" right ?
<ilpianista[m]> yes
paranoicsan has left #ruby [#ruby]
paranoicsan has joined #ruby
dinfuehr has quit [Ping timeout: 246 seconds]
<phaul> &>> foo = "#{bar || 'undefined'}" if defined?(bar); foo
<rubydoc> # => nil (https://carc.in/#/r/62jb)
dinfuehr has joined #ruby
<ilpianista[m]> what I mean is, may I write something like `foo="#{bar + 'sometext' || 'undefined'}"`?
<ilpianista[m]> answer: yes, just tried on irb...
<ilpianista[m]> so I guess my test was failing because of the missing "" :-)
<phaul> well, it deppend what you want. I think that code just dies with NoMethodError
<phaul> &>> nil + 'sometext' || 'some other'
<rubydoc> # => undefined method `+' for nil:NilClass (NoMethodError) (https://carc.in/#/r/62jd)
<ilpianista[m]> oh right it fails that way in the case bar is `nil`
<ilpianista[m]> but works when `bar` is a string...
<phaul> I would do this: defined?(bar) ? bar + 'sometext' : 'undefined'
<phaul> assuming that that's what you want but I'm not 100% what the inputs are and the desired output would be
dinfuehr has quit [Ping timeout: 240 seconds]
<phaul> you can also do bar + 'sometext' rescue 'undefined'
<phaul> &>> nil + 'sometext' rescue 'undefined'
<rubydoc> # => "undefined" (https://carc.in/#/r/62je)
dinfuehr has joined #ruby
marmotini_ has joined #ruby
<ilpianista[m]> phaul: I've this snippet and I want to foo to be equalt to bar + sometext when bar is defined or to 'undefined' when it's not https://dpaste.de/cbaF
<phaul> bar is always undefined there. I don't see aynthing that would define it
jacksop has joined #ruby
<ilpianista[m]> yes, that was only a part of script, but please assume that it can be defined or not
Avinash has joined #ruby
blackmesa1 has joined #ruby
inky has left #ruby [#ruby]
xMopx has quit [Ping timeout: 272 seconds]
rindolf has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rindolf> Hi all! Can you please code review my rakefile? https://github.com/shlomif/Solitairey/blob/fc-solve--deal-and-sol--preview/rakefile - comments are welcome.
<phaul> ?mcve ilpianista[m]
<ruby[bot]> ilpianista[m]: Please provide a Minimal, Complete, and Verifiable example: https://stackoverflow.com/help/mcve
<ilpianista[m]> phaul: foo="#{bar + 'sometext' rescue 'undefined'}"
Tempesta has quit [Quit: AdiIRC is updating to v3.3 Beta Build (2019/01/22 UTC) 64 Bit]
<ilpianista[m]> nvm, you rescue trick did it
<ilpianista[m]> your*
lbracher has quit [Ping timeout: 246 seconds]
Tempesta has joined #ruby
<phaul> ilpianista[m]: you don't need string interpolation there
<phaul> foo=bar + 'sometext' rescue 'undefined'
<ilpianista[m]> ok
<ilpianista[m]> phaul: thank you
<phaul> you are welcome
krawchyk has joined #ruby
<phaul> &>> bar = nil ; foo=bar + 'sometext' rescue 'undefined'; foo
<rubydoc> # => "undefined" (https://carc.in/#/r/62jj)
marmotini_ has quit [Ping timeout: 240 seconds]
RedNifre has quit [Quit: kwit]
<rindolf> phaul: i prefer explicit returns
<phaul> there is a lot of indentation, and similar styling issues, rubocop would tell you about them
<rindolf> phaul: "Inspecting 0 files"
maufart__ has quit [Ping timeout: 250 seconds]
<phaul> donno I just did "rubocop Rakefile" . it was "Inspecting 1 file"
KeyJoo has quit [Quit: KeyJoo]
<rindolf> phaul: apparently case matters
<rindolf> phaul: i had a lowercase "r"
<phaul> I see
paranoicsan is now known as paranoicsan[Away
paranoicsan[Away has quit [Quit: paranoicsan[Away]
paranoicsan has joined #ruby
aufi has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 250 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
aufi_ has joined #ruby
bmurt has joined #ruby
Tempesta is now known as Guest33297
aufi has quit [Ping timeout: 246 seconds]
paranoicsan has quit [Quit: paranoicsan]
Guest33297 has quit [Ping timeout: 268 seconds]
Tempesta has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
<rindolf> phaul: rubocop is happy now
queip has quit [Quit: bye, freenode]
za1b1tsu has quit [Remote host closed the connection]
Nicmavr has joined #ruby
Rapture has joined #ruby
ilpianista[m] has left #ruby ["User left"]
jacksop has quit [Remote host closed the connection]
skryking has joined #ruby
polishdub has joined #ruby
skryking has quit [Client Quit]
skryking has joined #ruby
rippa has joined #ruby
<phaul> I would refactor the way you handle dest_images vs IMAGES. maybe have a def destination_of(img); "dest/#{img}" and use the only IMAGES everywhere. Where dests are needed just call destination_of(img). That would avoid having two Arrays that have to be in sync
<phaul> same applies to everything where arrays have to be in sync
conta has joined #ruby
chouhoulis has joined #ruby
<phaul> you can _if you want to_ replace all .map { |x| somemethod(x) } to be .map(&method(:somemethod)). I don't know which one is better, I would probably write the latter, but leave the former if it already exists in code
_whitelogger has joined #ruby
queip has joined #ruby
status402 has joined #ruby
renich has joined #ruby
sonofentropy has quit [Quit: sonofentropy]
aupadhye|brb has quit [Quit: Leaving]
xMopx has joined #ruby
SeepingN has joined #ruby
conta has quit [Ping timeout: 272 seconds]
blackmesa1 has quit [Ping timeout: 246 seconds]
marmotini_ has joined #ruby
millerti has joined #ruby
brandoncc has joined #ruby
gnufied has joined #ruby
moei has joined #ruby
<canton7> I've never seen the attraction of the latter form. I need to do far more mental parsing.
marmotini_ has quit [Ping timeout: 246 seconds]
Avinash has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
catphish has joined #ruby
<phaul> I can accept that, it's really subjective. Coming from the haskell world ppl were obsessed with point free style and used magic techniques like "eta-reduce" whatever that was. I also don't like overdoing Proc >> << and alike, but that ^ is still ok
<phaul> _to me_
<catphish> i have an odd requirement, i'd like my ruby process to re-exec itself, is there a good way to get the full command line to do so?
status402 has quit [Quit: status402]
Guest16678 has joined #ruby
sonofentropy has joined #ruby
brandoncc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has quit [Remote host closed the connection]
cd has quit [Ping timeout: 256 seconds]
AJA4350 has quit [Quit: AJA4350]
ellcs has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
cd has joined #ruby
davidw has joined #ruby
<SeepingN> exec("env ruby /path/to/same/script.rb")
<SeepingN> I believe exec replaces the current environment with a new one
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
renich is now known as Renich
Renich is now known as renich
FastJack has quit [Read error: Connection reset by peer]
rindolf has quit [Remote host closed the connection]
TedCHoward has joined #ruby
lucasb has joined #ruby
\void has joined #ruby
marmotini_ has joined #ruby
ivanskie has joined #ruby
uplime is now known as nchambers
dinfuehr has quit [Ping timeout: 246 seconds]
dinfuehr has joined #ruby
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
TedCHoward has quit [Remote host closed the connection]
brandoncc has joined #ruby
blackmesa1 has joined #ruby
reber has joined #ruby
blackmesa1 has quit [Ping timeout: 240 seconds]
catphish has quit [Quit: Leaving]
blackmesa1 has joined #ruby
Guest16678 has quit [Ping timeout: 272 seconds]
Guest16678 has joined #ruby
pedahzur has joined #ruby
Guest16678 has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
Avinash has left #ruby ["Textual IRC Client: www.textualapp.com"]
krawchyk has quit [Quit: krawchyk]
mikecmpb_ has quit [Quit: inabit.]
marmotini has joined #ruby
marmotini_ has quit [Ping timeout: 245 seconds]
reber has quit [Remote host closed the connection]
sanscoeur has joined #ruby
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #ruby
ivanskie has joined #ruby
aufi_ has quit [Ping timeout: 246 seconds]
nchambers is now known as uplime
TedCHoward has joined #ruby
sanscoeu_ has joined #ruby
sanscoeur has quit [Ping timeout: 246 seconds]
tdy has joined #ruby
r29v has joined #ruby
marmotini has quit [Remote host closed the connection]
mangold has quit [Quit: Leaving]
r29v has quit [Quit: r29v]
r29v has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
SeepingN has quit [Remote host closed the connection]
clemens3 has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 246 seconds]
SeepingN has joined #ruby
TedCHoward has quit []
gix has joined #ruby
ravenousmoose has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Aqo has joined #ruby
chouhoulis has joined #ruby
SeepingN has joined #ruby
jcarl43 has joined #ruby
jgw has joined #ruby
chouhoulis has quit [Remote host closed the connection]
lxsameer has joined #ruby
krawchyk has joined #ruby
AJA4350 has joined #ruby
lytol has joined #ruby
<baweaver> Ohai.
galaxie has joined #ruby
<galaxie> Is there some sort of RSS feed or other that shows new and updated gems?
<galaxie> There was this excellent Perl module that did the same but for CPAN.
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sonofentropy has quit [Quit: sonofentropy]
<baweaver> Twitter mostly.
<baweaver> Ruby Weekly and Awesome Ruby tend to curate things
<baweaver> and Reddit is where a lot of people mention things
<baweaver> There it is. Every new gem and version goes up there
<galaxie> I'm not so much interested in curation.
<baweaver> rubygems on Twitter is the fire hose
<galaxie> I feel like I can turn a Twitter feed into an RSS feed somewhere..
sonofentropy has joined #ruby
<phaul> ruby toolbox adds badges that show how live a gem is
<phaul> by "live" I mean alive
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
Scriptonaut has left #ruby [#ruby]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #ruby
bmurt has joined #ruby
imajes has joined #ruby
<imajes> hey ruby peeps. where do rubyists hang these days
<imajes> because irc is a lot for just one channel, and iirc this one is silent
<imajes> :/
<Eiam> ? this one is great
<Eiam> there are ruby communities all over, local meet ups, conferences, slack groups
<Eiam> hell i have internal corporate mailing lists JUST for ruby people
<imajes> yeah, what ruby slack groups are there these days?
<Eiam> beats me I use slack 1.0, IRC. =)
tdy has quit [Ping timeout: 240 seconds]
<imajes> that's fair :)
tdy1 has joined #ruby
<imajes> i am not even sure i can get at my config these days
<imajes> i know there are other channels and groups, just don't remember passwords etc. sigh.
agent_white has quit [Quit: bbl]
ur5us has joined #ruby
ellcs has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
<imajes> any of you use awesome_print ??
<snk> no, i just use pp
<snk> awesome_print looks pretty neat though!
tdy1 has quit [Ping timeout: 240 seconds]
<snk> also not aware of any slacks... but this channel is still listed as the chat community on ruby-lang.org
<snk> so we've got that going for us, which is nice
<imajes> snk: you should use awesome_print ;)
<imajes> that is nice
<snk> heh, i'll give it a shot
<imajes> i just pushed v 2.0.0-pre
<imajes> did a big rewrite
<imajes> so please do, and use that one, and test it out :D
zapata_ has joined #ruby
zapata has quit [Ping timeout: 252 seconds]
sanscoeu_ has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
<phaul> the thing about asking ppl where they hang out instead of IRC on IRC is...
<imajes> well indeed
AJA4351 has joined #ruby
sanscoeur has quit [Ping timeout: 240 seconds]
<phaul> we are here. you would be welcome. the channel is not as dead as you might thing
<phaul> think*
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
manakanapa has quit [Quit: Ping timeout (120 seconds)]
manakanapa has joined #ruby
<imajes> yeah. my main thing is that i'm using the web interface. it's hard to justfy running an irc client for one chan
<phaul> hm. it's up to you, but most of us run dedicated IRC clients I think and I'm not sure what justification you are after, but something like weechat or irssi on a linux box is really next to nothing these days.
<imajes> Yeah. just the time investment
skywalker has left #ruby [#ruby]
<cthulchu_> weird error I'm getting
<cthulchu_> the error is that there's no implicit casting of string into int, but this is the code that triggers it: results = cds_results.fetch("cds_passed",[])
<cthulchu_> results is an [], cds_results is an {}, cds_results["cds_passed"] is either an [] or doesn't exist.
SeepingN has joined #ruby
<cthulchu_> I have no strings or integers there
<cthulchu_> wtf?
Dbugger has quit [Remote host closed the connection]
<phaul> probably you do. the interpeter is always right. paste full code examples
<phaul> ?mcve
<ruby[bot]> Please provide a Minimal, Complete, and Verifiable example: https://stackoverflow.com/help/mcve
<imajes> cthulchu_: in what context?
<cthulchu_> in what context what?
<cthulchu_> meh, too much code to provide context
<cthulchu_> I thought it may have been a weird way of throwing an exception
<cthulchu_> gonna just debug this place
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<cthulchu_> this here: https://i.imgur.com/lX5oQA3.png
<cthulchu_> I think I'm misusing fetch
<cthulchu_> of
<cthulchu_> it's cuz I fetch from an array!
<cthulchu_> ok, ok, I'll make it an obj
<cthulchu_> lol
<cthulchu_> right, it tried to fetch a string from an array of integers
<cthulchu_> because array's key is an integer, not a string. still, the error was confusing.
tdy1 has joined #ruby
<phaul> imajes: btw congrats on the new release. I'm intrigued how ap picked up tracktion. Can I ask you about that?
<phaul> how long did it take from nobody's using AP, to be a widely known gem? Didy you have to do stuff for it, or just being awesome was enough?
<imajes> sure
<imajes> it's been a gem for 8 years...
<cthulchu_> what does it do?
<cthulchu_> sorry, I'm not familiar
PandaCane has joined #ruby
* phaul googles ryanb railscasts...
PandaCane has quit [Client Quit]
<imajes> thx. i was trying to dig out an example, but my local pg is dead for some reason. lol
<cthulchu_> ah, awesome print
<cthulchu_> heard of it
<cthulchu_> unfortunately, too lae
blackmesa has joined #ruby
<cthulchu_> I already have methods that would colorify & prettyprint
<imajes> ditch 'em.
<imajes> use p
<cthulchu_> still, there was something I lacked a lot
<imajes> use ap
<imajes> :P
<cthulchu_> I should
tdy1 is now known as tdy
<imajes> but seriously, the new design makes it easier to build even more useful introspections of objects
<imajes> so it can be a bit simpler
blackmesa1 has quit [Ping timeout: 252 seconds]
salasrod has quit [Quit: /quit]
blackmesa has quit [Ping timeout: 268 seconds]
<phaul> I think If I did any sort of gem it would just be known by myself, and google search bots. I really don't know how one crosses the line from the plebs to the well known elite.
<imajes> gem push ? :D
<phaul> maybe i solve something that nobody actually wants to solve
<phaul> :)
<phaul> oh well
<imajes> SMs are a fickle thing
<imajes> first there are a couple well known SM gems
<imajes> so you need to compete w/ that
<imajes> and then you also gotta deal with the fact that most people end up in a world of hurt as their SM gets more complex... and aren't usually minded to go find a better gem to build it , i suspect :D
dionysus69 has quit [Ping timeout: 246 seconds]
<uplime> a gem to tell how many licks it takes to get to the center of a tootsie pop would be useful
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #ruby
<phaul> uplime: :) go for it
AJA4350 has quit [Ping timeout: 246 seconds]
<SeepingN> 3, duh
polishdub has quit [Remote host closed the connection]
ivanskie has quit [Read error: Connection reset by peer]
<phaul> it's amazing how many gems are about "write a longer description. optional"
venmx has joined #ruby
<SeepingN> highly competitive field, that is
rindolf has joined #ruby
<rindolf> Hi all!
<phaul> hi there
<Eiam> hi
<rindolf> phaul: sup?
<phaul> it's hanging...
<rindolf> Eiam: hi
<phaul> ticking away... 'tsup your part?
<rindolf> is there any way i can improve my rakefile - https://github.com/shlomif/Solitairey/blob/fc-solve--deal-and-sol--preview/Rakefile ? asking again
<rindolf> phaul: i did backups today
<Eiam> imajes: maybe find some more communities to hang out in beyond just #ruby then? =)
<Eiam> you can start a game of #idlerpg or pop over to Rails, Swift... all kinds of stuff if you look
ellcs has quit [Ping timeout: 246 seconds]
rafadc has quit [Quit: ZNC 1.7.1 - https://znc.in]
zapata_ is now known as zapata
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
ua_ has quit [Ping timeout: 246 seconds]
al2o3-cr has quit [Quit: WeeChat 2.3]
<zenspider> rawr
chouhoulis has joined #ruby
<imajes> sup zenspider
<imajes> long time, no chat
<zenspider> it's been a long time!
<zenspider> about to reboot. patching my server...
Aqo has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
<imajes> gotcha gotcha
zenspider has quit [Quit: bye]
zenspider has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
<imajes> welcome back zenspider
ua_ has joined #ruby
lukelukeluke has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
<phaul> raawr is correct. - "GM Ben Finegold"
chouhoulis has joined #ruby
<phaul> (sir)
Scriptonaut has joined #ruby
<Scriptonaut> I've had this issue for 2 days, JWT.encode keeps on giving me different tokens when I restart my console. Here's a gist demonstrating it perfectly https://gist.github.com/robins35/e8af17f7919f8c7e13f9a3534c1f8b1b
<Scriptonaut> giving me different tokens, with the same exact input**
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
al2o3-cr has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
ellcs has joined #ruby
venmx has quit [Ping timeout: 245 seconds]
sonofentropy has quit [Quit: sonofentropy]
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs has quit [Remote host closed the connection]
ellcs has joined #ruby
ellcs has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sonofentropy has joined #ruby