apeiros changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
djbkd has joined #ruby
dimasg has joined #ruby
chills42 has joined #ruby
casadei_ has joined #ruby
_blizzy_ has joined #ruby
marr has quit []
sdwrage has quit [Quit: This computer has gone to sleep]
sdwrage has joined #ruby
dimasg has quit [Ping timeout: 244 seconds]
pietr0 has quit [Quit: pietr0]
sdwrage has quit [Client Quit]
casadei_ has quit [Ping timeout: 240 seconds]
_blizzy_ has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
[H]unt3r has quit [Quit: Leaving]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Musashi007 has quit [Quit: Musashi007]
ascarter has joined #ruby
_joes_ has joined #ruby
Inside has quit [Ping timeout: 256 seconds]
banister has joined #ruby
_blizzy_ has joined #ruby
ishahnaz has quit []
ofdtrinity has left #ruby ["Leaving"]
Musashi007 has joined #ruby
ishahnaz has joined #ruby
_joes_ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Quit: WeeChat 1.2]
clarkenciel has quit [Ping timeout: 256 seconds]
deepu has joined #ruby
allie has quit [Ping timeout: 250 seconds]
allie has joined #ruby
<shevy> :\
WillAmes has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 256 seconds]
jonee has quit [Ping timeout: 246 seconds]
[k- has quit [Ping timeout: 256 seconds]
fullofcaffeine has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Remote host closed the connection]
izabera has left #ruby ["WeeChat 1.2"]
devoldmx has joined #ruby
bronson has joined #ruby
Agoldfish has quit [Quit: G'Bye]
s2013 has joined #ruby
[Butch] has quit [Quit: Linkinus - http://linkinus.com]
devoldmx has quit [Ping timeout: 250 seconds]
bnizzle has left #ruby [#ruby]
Musashi007 has quit [Quit: Musashi007]
fullofcaffeine has quit [Remote host closed the connection]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
baroquebobcat has quit [Quit: baroquebobcat]
shock_one has joined #ruby
scripore has joined #ruby
mistermocha has joined #ruby
nofxx has quit [Ping timeout: 255 seconds]
ishahnaz has quit []
ishahnaz has joined #ruby
Peterzky has joined #ruby
nofxx has joined #ruby
nofxx has joined #ruby
deepu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jud has quit [Read error: Connection reset by peer]
jud has joined #ruby
mistermocha has quit [Ping timeout: 255 seconds]
DLSteve has quit [Quit: Leaving]
baweaver has joined #ruby
<shevy> should a per-project directory for documentation rather be called "documentation/" or "doc/", in regards to it being a ruby project?
zanloy has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
EllisTAA has quit [Quit: EllisTAA]
bricker has quit [Ping timeout: 260 seconds]
baweaver has quit [Ping timeout: 250 seconds]
<drbrain> there's a long tradition of "doc"
stonith has quit [Quit: No Ping reply in 180 seconds.]
<Ox0dea> shevy: Do you use "library" or "lib"? "extension" or "ext"? "binaries" or "bin"?
rbennacer has joined #ruby
<shevy> Ox0dea yeah I shorten all of them
jenrzzz has joined #ruby
<Ox0dea> shevy: Then whence comes your question?
<shevy> Because I wanted to get feedback
<Ox0dea> >> Dir['/*'].count { |d| d.size == 4 }
<ruboto> Ox0dea # => (https://eval.in/413949)
<Ox0dea> Anyway, three-letter abbreviations have a long history.
stonith has joined #ruby
stonith has quit [Changing host]
stonith has joined #ruby
<astrobunny> FML
<Ox0dea> Flout convention and heritage at your peril.
<Ox0dea> astrobunny: That's an initialism.
towski_ has quit [Remote host closed the connection]
ribbons has quit [Quit: Leaving]
Peterzky has quit []
ramfjord has quit [Ping timeout: 244 seconds]
buub has quit [Ping timeout: 255 seconds]
Peterzky has joined #ruby
sarkyniin has quit [Remote host closed the connection]
saddad has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
riotjones has joined #ruby
rbennacer has quit [Remote host closed the connection]
halcyone3 has joined #ruby
Peterzky has quit []
bronson has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 244 seconds]
shock_one has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
kjones_ has joined #ruby
techsethi has joined #ruby
kjones_ has quit [Client Quit]
segy has joined #ruby
yqt has quit [Ping timeout: 264 seconds]
Rickmasta has joined #ruby
Musashi007 has joined #ruby
jonee has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Muhannad has quit [Ping timeout: 264 seconds]
arescorpio has joined #ruby
yfeldblum has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brain_shim has quit [Ping timeout: 250 seconds]
arooni-mobile has joined #ruby
arooni has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
juanpauc_ has quit [Remote host closed the connection]
s2013 has joined #ruby
<pontiki> are we back on initialisms and acronyms? :)
brain_shim has joined #ruby
mesamoo has joined #ruby
devoldmx has joined #ruby
zacts_ has quit [Quit: leaving]
Muhannad has joined #ruby
Synthead has joined #ruby
omegamike has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
iateadonut has joined #ruby
aaeron has quit [Quit: Leaving.]
zacts has joined #ruby
Muhannad has quit [Max SendQ exceeded]
joast has quit [Quit: Leaving.]
<Radar> c
diegoviola has joined #ruby
j4cknewt_ has quit [Ping timeout: 244 seconds]
omegamike has quit [Ping timeout: 260 seconds]
techsethi has quit [Quit: techsethi]
j4cknewt has joined #ruby
mistermocha has joined #ruby
j4cknewt has quit [Remote host closed the connection]
charliesome has joined #ruby
<shevy> great name for a programming language
<Ox0dea> Which is that?
sargas has joined #ruby
<pontiki> successor to b
jackjackdripper has quit [Quit: Leaving.]
<Ox0dea> > B is almost extinct
<Ox0dea> "Almost"?
clarkenciel has joined #ruby
j4cknewt has joined #ruby
j4cknewt has quit [Remote host closed the connection]
techsethi has joined #ruby
noethics has quit [Quit: Leaving]
M-mistake has quit [Quit: node-irc says goodbye]
M-mistake has joined #ruby
sdwrage has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
dgutierrez1287 has joined #ruby
casadei_ has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
null_ref_ has joined #ruby
Rickmasta has joined #ruby
chills42 has quit [Remote host closed the connection]
Muhannad has joined #ruby
dgutierrez1287 has quit [Ping timeout: 264 seconds]
dorei has quit []
casadei_ has quit [Ping timeout: 246 seconds]
tmtwd has quit [Ping timeout: 264 seconds]
reset has quit [Ping timeout: 240 seconds]
segy has quit [Quit: ZNC - http://znc.in]
serivich has joined #ruby
NeverDie has quit [Read error: Connection reset by peer]
jonee has quit [Ping timeout: 244 seconds]
NeverDie has joined #ruby
blue_deref has joined #ruby
ivanskie has joined #ruby
maletor has quit []
mdavid6131 has quit [Quit: Leaving.]
bmurt has joined #ruby
ValicekB has quit [Ping timeout: 246 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
radgeRayden_ has quit [Ping timeout: 246 seconds]
chipotle has joined #ruby
tmtwd has joined #ruby
joast has joined #ruby
ponga has joined #ruby
radgeRayden has joined #ruby
Channel6 has joined #ruby
bronson has joined #ruby
[k- has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgpawletko has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
ValicekB has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
scripore has quit [Ping timeout: 246 seconds]
<shevy> methods.rb:126:in `write': deadlock; recursive locking (ThreadError)
deepu has joined #ruby
<shevy> awww I can produce so beautiful error messages
fenjamin has joined #ruby
segy has joined #ruby
<fenjamin> just interviewed for my first contracting position - need a compelling prompt to show my skills.
clarkenciel has quit [Ping timeout: 255 seconds]
chipotle has quit [Quit: cheerio]
gambl0re has joined #ruby
<Radar> fenjamin: Are you Markov'ing again?
<Radar> wtf is a "compelling prompt"?
<fenjamin> beyond FizzBuzz
<fenjamin> something with unique solutions
<Radar> fenjamin: lol
<Radar> fenjamin: If you're going to continue to be vague, you can go on my /ignore list. Final chance?
bmcginty has quit [Ping timeout: 272 seconds]
<Radar> Maybe try solving the Traveling Salesman Problem
Mendenhall has quit [Ping timeout: 240 seconds]
<Ox0dea> fenjamin: Prove that 3-SAT is in P.
<Radar> Determine if the universe is finite or infinite
bmcginty has joined #ruby
<Radar> Once you're done there, I have a question I'd like to ask about the existence or non-existence of a certain deity
prereflect has joined #ruby
<fenjamin> identity and existence are judeo-christian constructs. only in islam do we not exist.
prereflect has quit [Client Quit]
Musashi007 has quit [Quit: Musashi007]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> The FSM and the IPU constitute The Holy Binity.
<Ox0dea> All other idols are false.
<shevy> fenjamin can't you showcase some projects instead?
prereflect has joined #ruby
prereflect has quit [Client Quit]
<fenjamin> point is something I can express in code - something like print a bingo board
<fenjamin> but perhaps more compelling
<fenjamin> projects are under development - long term portfolio - nothing much immediate
djbkd has quit [Quit: My people need me...]
arooni has quit [Ping timeout: 246 seconds]
arooni-mobile has quit [Ping timeout: 246 seconds]
<fenjamin> innocuous to show embouchure
<shevy> are you drunk
calleerlandsson has quit [Quit: Connection closed for inactivity]
segy has quit [Ping timeout: 265 seconds]
segy has joined #ruby
<fenjamin> i would like something of a bit more substance
<Coraline> nth prime?
s00pcan has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
<fenjamin> possibly. could use more investigation.
<Ox0dea> fenjamin: Write a brainfuck interpreter.
<Ox0dea> It's what I use to familiarize myself with new languages.
<fenjamin> i'll call it "mindsex"
<Ox0dea> "Neurological sodomy" = "neurodomy".
<Ox0dea> But don't.
<fenjamin> cheers, off to research and investigate
xjiujiu has joined #ruby
braincra- has joined #ruby
xxneolithicxx has quit [Ping timeout: 255 seconds]
fullofcaffeine has joined #ruby
<shevy> lol
<shevy> now that was actually a great conversation between fenjamin and Ox0dea
Musashi007 has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
null_ref_ has quit [Quit: leaving]
braincrash has quit [Ping timeout: 256 seconds]
mistermocha has joined #ruby
The_Phoenix has joined #ruby
einarj has joined #ruby
ishahnaz has quit []
BradKuntz has joined #ruby
<BradKuntz> hi
intyl has joined #ruby
casadei_ has joined #ruby
<Ox0dea> ops?
xxneolithicxx has joined #ruby
<BradKuntz> what is ops?
xxneolithicxx has quit [Max SendQ exceeded]
<RickHull> plural of op, for operator, generally
<BradKuntz> oh
<RickHull> or could mean operations. or operations per second
<BradKuntz> who's trying to call someone?
<BradKuntz> i thought operators are obsolete now
<RickHull> IRC channel admins are referred to as operators
<BradKuntz> oh
mistermocha has quit [Ping timeout: 255 seconds]
einarj has quit [Ping timeout: 260 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
casadei_ has quit [Ping timeout: 244 seconds]
xjiujiu has joined #ruby
swgillespie has joined #ruby
swgillespie has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 246 seconds]
scripore has joined #ruby
swgillespie has joined #ruby
techsethi has quit [Quit: techsethi]
techsethi has joined #ruby
ofdtrinity has joined #ruby
MVPhelp has quit [Remote host closed the connection]
darkf has joined #ruby
MVPhelp has joined #ruby
null_ref_ has joined #ruby
psy_ has joined #ruby
braincra- has quit [Quit: bye bye]
gix has quit [Ping timeout: 252 seconds]
MVPhelp has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 260 seconds]
bmurt has quit []
nateberkopec has quit [Ping timeout: 250 seconds]
devbug has joined #ruby
sargas has quit [Quit: Leaving]
MVPhelp has joined #ruby
j4cknewt has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
braincrash has joined #ruby
gix has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
clarkenciel has joined #ruby
<diegoviola> https://github.com/ramaze/ramaze <-- is that project dead?
<RickHull> manveru: ?
bmurt has joined #ruby
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
<diegoviola> last release was from 2012?
<RickHull> last commit early 2014
<diegoviola> I remember using ramaze one or two times, I really enjoyed using it
<RickHull> yorickpeterse: ?
deepu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Ox0dea> RickHull: ?
<RickHull> pinging ramaze committers
halcyone3 has quit [Ping timeout: 245 seconds]
BradKuntz has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
<[k-> yorickpeterse will be here in a quarter of a day!
DanKnox has joined #ruby
lannonbr has quit [Quit: WeeChat 1.2]
elton has left #ruby [#ruby]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elton has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
<Ox0dea> And he will say "morning".
Cust0sLim3n has quit [Max SendQ exceeded]
dseitz has quit [Read error: Connection reset by peer]
dseitz has joined #ruby
Cust0sLim3n has joined #ruby
shock_one has joined #ruby
<Ox0dea> RickHull: No, that's for when somebody *doesn't* say "morning".
<[k-> no, that is hardly a thing
h4ckurate has joined #ruby
<Ox0dea> [k-: You take that back!
<[k-> here, i mean, cuz everyone says morning
bricker has joined #ruby
devoldmx has joined #ruby
techsethi has quit [Quit: techsethi]
workmad3 has joined #ruby
bigmac_ has joined #ruby
Vile` has quit [Ping timeout: 264 seconds]
yh_ has quit [Ping timeout: 255 seconds]
Vile` has joined #ruby
devoldmx has quit [Ping timeout: 250 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
ivanskie has joined #ruby
deepu has joined #ruby
DroidBurgundy has joined #ruby
DroidBurgundy has quit [Client Quit]
xjiujiu has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
willywos has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
yfeldblum has quit [Ping timeout: 246 seconds]
baweaver has joined #ruby
crdpink2 has joined #ruby
bmurt has quit []
crdpink has quit [Ping timeout: 244 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Rickmasta has joined #ruby
dkwan416 has joined #ruby
dkwan416 has quit [Client Quit]
shock_one has quit [Remote host closed the connection]
mistermocha has joined #ruby
ofdtrinity has left #ruby ["Leaving"]
shinnya has quit [Ping timeout: 252 seconds]
fp- has joined #ruby
arescorpio has quit [Quit: Leaving.]
mistermocha has quit [Ping timeout: 244 seconds]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bigmac_ is now known as i8igmac
tmtwd has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
halcyone3 has joined #ruby
iamninja has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Musashi007 has joined #ruby
Mia has quit [Ping timeout: 246 seconds]
pauly_oc has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
dgutierrez1287 has joined #ruby
Muhannad has quit [Remote host closed the connection]
dgutierrez1287 has quit [Ping timeout: 246 seconds]
calleerlandsson has joined #ruby
chipotle has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
null_ref_ has quit [Quit: leaving]
Blaguvest has quit []
dopie has joined #ruby
fullofcaffeine has joined #ruby
saddad has quit [Quit: WeeChat 1.3-dev]
fenjamin has quit [Remote host closed the connection]
<bricker> ready for a silly question.... is there a built-in way to get an OpenStruct-style syntax but that raises NoMethodErrors instead of nil? I'm doing a simple enum
<[k-> a Struct?
<RickHull> how do you want to access struct members?
<RickHull> dot or brackets?
<bricker> RickHull: Dots. I'm trying to replicate Java's enums, I know it's not idiomatic but I'm bored :P
<bricker> So, CoolEnum.ListeItemA, CoolEnum.ListItemB
tkuchiki has joined #ruby
<bricker> I know there are 100 ways to do it besides Openstruct
<[k-> don't structs already provide those
<bricker> yes but I think I'd have to define the struct somewhere before making an instance of it, that's what I'm trying to avoid
jfowler has joined #ruby
<RickHull> i think you can define it when you instantiate it
<bricker> Basically this what I have now and it's fine but I don't like that missing methods return nil, I'd rather them return a NoMethodError https://gist.github.com/bricker/82415e1e5a6fcd28f1a6
<bricker> RickHull: can you? I looked through it but didn't see that, must have missed i
<bricker> it*
<RickHull> make sure you understand Struct vs OpenStruct
h4ckurate has quit [Quit: h4ckurate]
<RickHull> (not saying I do)
saddad has joined #ruby
<RickHull> [k-: probably has better advice. i am stabbing wildly :)
<bricker> I d
<bricker> do
pyon is now known as dinasor
<[k-> do you have specific reasons to use ostruct?
<RickHull> your gist would be more helpful if you showed usage examples. things you like, things you don't
<bricker> [k-: Just that it's succinct
casadei_ has joined #ruby
halcyone3 has quit [Ping timeout: 250 seconds]
<bricker> Ox0dea: yeah that's good, maybe I'll do that
<Ox0dea> Consider just not.
noethics has joined #ruby
Oka has quit [Quit: さようなら]
<bricker> Ox0dea: See: "bored" (adj.)
<RickHull> also: "bored" (p. verb)
<bricker> as in, "my job bored me into writing bad ruby"
casadei_ has quit [Ping timeout: 246 seconds]
<RickHull> or, my ruby bored a hole into my desktop
towski_ has joined #ruby
<bricker> clever
devoldmx has joined #ruby
ivanskie has joined #ruby
towski_ has quit [Remote host closed the connection]
towski_ has joined #ruby
whyser has joined #ruby
radgeRayden has quit [Ping timeout: 265 seconds]
devoldmx has quit [Ping timeout: 255 seconds]
lokulin has quit [Changing host]
lokulin has joined #ruby
einarj has joined #ruby
yfeldblum has joined #ruby
aaeron has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<[k-> why not just a symbol even
<[k-> that is the most Ruby-ish
einarj has quit [Ping timeout: 256 seconds]
devoldmx has joined #ruby
mistermocha has joined #ruby
Kwhy_Not has joined #ruby
bap1313 has joined #ruby
deepu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pawnbox has joined #ruby
aaeron has quit [Quit: Leaving.]
whyser has left #ruby [#ruby]
fullofcaffeine has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 265 seconds]
sunny1304 has joined #ruby
bap1313 has quit [Quit: Leaving]
bap1133 has joined #ruby
bap1313 has joined #ruby
riotjones has joined #ruby
jdeen has joined #ruby
tmtwd has quit [Quit: Leaving]
user1138 has quit [Ping timeout: 246 seconds]
<jdeen> Hi there. I have a question about Yard documentation. I have a method like `def format_date(time = Time.now, precision: :day)` where precision can be :day, :month, :year. How do I document he `precision` parameter using Yard
tkuchiki has quit [Remote host closed the connection]
<jdeen> This can have one of many options
<jdeen> thanks in advance
<jdeen> Hope you guys are having a wonderful evening
<jdeen> Oh it was on top as an example, looks like it has to be general... @param format [Symbol] the format type, `:text` or `:html`
<jdeen> he he
<jdeen> sorry for the ping
jdeen has quit [Client Quit]
riotjones has quit [Ping timeout: 252 seconds]
omegamike has joined #ruby
radgeRayden has joined #ruby
sunny1304 has left #ruby [#ruby]
pawnbox has quit [Remote host closed the connection]
bap1313 has quit [Quit: Leaving]
j4cknewt has quit [Remote host closed the connection]
<RickHull> i have a devops-y question, open-ended
<RickHull> i've got apps that are logging to the filesystem, and they threaten to fill local disks
<RickHull> i could do local logrotation, but i'm thinking that log shipping is the right approach
<RickHull> i could do something really hacky right now like a stupid crontab entry to delete old logs
<RickHull> am I a bad person for not implementing the hacky solution, in order that the pain increases to reach the threshold for implementing log shipping once and for all?
tkuchiki has joined #ruby
omegamike has quit [Ping timeout: 244 seconds]
Jackneill has joined #ruby
j4cknewt has joined #ruby
chipotle has quit [Quit: cheerio]
xxneolithicxx has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
_blizzy_ has quit [Ping timeout: 246 seconds]
fantazo has quit [Ping timeout: 252 seconds]
AlexRussia has joined #ruby
workmad3 has joined #ruby
<Ox0dea> RickHull: Do you know for certain that you'll be able to absorb the requisite postage and delivery charges?
eleven has joined #ruby
<Ox0dea> Do you intend to ship these logs internationally?
<RickHull> no, a logstash instance per DC is the plan
<RickHull> i.e. ship only across a LAN
<RickHull> and logstash can aggressively drop log entries when it's near capacity
<RickHull> FIFO
willywos has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<RickHull> could be Apache Flume, btw. any fans?
<RickHull> rsyslogd?
<RickHull> also, for a let's say 100 machines logging to a central box
<RickHull> any opinions on UDP logging, versus say 100 TCP connections with streaming writes
niemcu has joined #ruby
<RickHull> in my experience, i can write thousands of messages per sec to a TCP socket, if i'm not waiting on responses. possibly millions and beyond. hard to tell from a client perspective when a byte actually hits the network
workmad3 has quit [Ping timeout: 272 seconds]
Kwhy_Not has quit [Quit: Textual IRC Client: www.textualapp.com]
<RickHull> (of course it goes without saying that TCP connections have streaming writes. but not if you're in a req/resp mindset; for writing logs to a TCP socket, i would delimit messages by newlines softly)
safeforge has joined #ruby
<RickHull> i'm sure UDP has ultimately higher throughput
lxsameer has joined #ruby
<RickHull> but i'd like to know when I'm missing log entries
tkuchiki has quit [Remote host closed the connection]
<RickHull> and I think basic log streaming over TCP should be able to saturate available bandwidth as well as UDP
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> > mfw this isn't the collection of operators from every language combined
<Ox0dea> [k-: Tangentially, this is the same M. Lentczner: https://www.youtube.com/watch?v=b9FagOVqxmI
<RickHull> it looks C-oriented to my eyes. though maybe general ASM?
<RickHull> i was wondering how it holds up in a Brave New Rust World
<Ox0dea> RickHull: Every single one of those operators is in Perl 6.
<RickHull> oh, ha
dopieee has joined #ruby
towski_ has quit [Remote host closed the connection]
<Ox0dea> Perl 6 has `.=`! ;'(
<RickHull> i can has a sad?
dopie has quit [Ping timeout: 245 seconds]
<Ox0dea> It's something I've always wanted.
<Ox0dea> In C first, then Ruby.
<Ox0dea> `node->=next` is gorgeous.
ramfjord has joined #ruby
<[k-> perl6 isnt ready yet :(
<[k-> it has been a looooooooong journey
<RickHull> when will ruby run on parrot?
tmtwd has joined #ruby
<RickHull> i'll settle for ruby 1.8.4
hanmac has quit [Ping timeout: 244 seconds]
astrobun_ has joined #ruby
<RickHull> btw nearly 10y anniversary for 1.8.4 https://www.ruby-lang.org/en/news/2005/12/24/ruby-184-released/
cynosure_ has joined #ruby
xxneolithicxx has joined #ruby
<Ox0dea> RickHull: OBTW, https://github.com/parrot/lolcode
Zarthus has quit [Quit: ZNC 1.7.x-git-196-5faaf67 - http://znc.in]
roolo has joined #ruby
anekos has quit [Ping timeout: 264 seconds]
anekos has joined #ruby
ged_ has joined #ruby
crayfishx has quit [Ping timeout: 252 seconds]
ged has quit [Ping timeout: 264 seconds]
greedo has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
miah has quit [Ping timeout: 264 seconds]
sivoais has quit [Ping timeout: 264 seconds]
Junaos has quit [Ping timeout: 264 seconds]
towski_ has joined #ruby
greedo has joined #ruby
sivoais has joined #ruby
Junaos has joined #ruby
miah has joined #ruby
niemcu has quit [Ping timeout: 244 seconds]
Zarthus has joined #ruby
diegoviola has quit [Quit: WeeChat 1.2]
chris2 has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
serivichi has joined #ruby
towski_ has quit [Ping timeout: 246 seconds]
Musashi007 has joined #ruby
<RickHull> btw copyright clearly expired in 2006 so go to town on copypasta
GarethAdams has quit [Ping timeout: 252 seconds]
Xiti has quit [Quit: Xiti]
Chau has joined #ruby
<Ox0dea> RickHull: What's there to copy?
JaTochNietDan has quit [Ping timeout: 252 seconds]
hanmac has joined #ruby
<RickHull> too bad that one expired in 2014
fullofcaffeine has joined #ruby
serivich has quit [Ping timeout: 272 seconds]
atmosx_bsd has joined #ruby
atmosx has quit [Ping timeout: 240 seconds]
JaTochNietDan has joined #ruby
chris2 has joined #ruby
heyimwill has quit [Ping timeout: 240 seconds]
rcs has quit [Ping timeout: 272 seconds]
Xiti has joined #ruby
krasnus has quit [Ping timeout: 240 seconds]
artmann_ has quit [Quit: No Ping reply in 180 seconds.]
sivoais has quit [Ping timeout: 245 seconds]
crayfishx has joined #ruby
artmann has joined #ruby
<RickHull> btw, noticing that parrot has lots of trac references. how crappy was the trac timing. right when svn starts to mature and needs an ecosystem, trac comes out and owns everything
<RickHull> except for this little budding idea of a project called git
<bnagy> not how copyright works, yo
<RickHull> bnagy: if only the license writers would recognize it
sivoais has joined #ruby
<Ox0dea> WTFPL all the things!
<RickHull> is the term of the copyright notice binding or not?
<RickHull> if not, then why include it?
<bnagy> it's not a term, it's a range
gambl0re has quit [Ping timeout: 244 seconds]
<RickHull> if so, then yeah, ur fukt
retornam has quit [Ping timeout: 244 seconds]
<RickHull> term, meaning period of time
<bnagy> yes, I know
<bnagy> it's not one
<RickHull> what's the distinction?
<bnagy> the 'term' of something is a start end, for me
gambl0re has joined #ruby
fullofcaffeine has quit [Ping timeout: 240 seconds]
<RickHull> sounds like a range, for mew
<RickHull> er, me
preyalone has quit [Read error: Connection reset by peer]
<bnagy> (c) 2000 - 2005 is a range of years in which copyrighted work has been created
<RickHull> i'd say it describes a term
<bnagy> the term of the copyright is normal copyright
<bnagy> ie long
Hamled has quit [Ping timeout: 244 seconds]
<RickHull> good point
<RickHull> so the declared range is the creation range, not the copyright protection range
<bnagy> IANAL so I don't know wtf the range is supposed to do
rcs has joined #ruby
<bnagy> all I know is the copyright starts from the creation date and goes until Disney changes the law
PaulCapestany has quit [Read error: Connection reset by peer]
<RickHull> yep, that's my understanding
sysanthrope has quit [Remote host closed the connection]
dbussink has quit [Ping timeout: 252 seconds]
GarethAdams has joined #ruby
mathie has quit [Ping timeout: 252 seconds]
Hamled has joined #ruby
havenwood has quit [Remote host closed the connection]
ddfreyne has quit [Ping timeout: 252 seconds]
<RickHull> Ox0dea: i'd be a fan of WTFPL if it didn't raise more questions than it answered
<bnagy> I guess it's just "multiple creation" or something like when you paint a picture it's done, but software is like you start on a canvas and every year you add or paint over new parts, and each of those works are (c)
Gadgetoid has quit [Ping timeout: 272 seconds]
<RickHull> bnagy: my ultimate critique targets IP as a whole
sorah_ has quit [Ping timeout: 252 seconds]
<RickHull> i'm a fan of IP creators
seitensei has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
Marc- has quit [Ping timeout: 250 seconds]
<bnagy> the really dumb thing imho is when people (c) but don't license
preyalone has joined #ruby
catbusters has quit [Ping timeout: 246 seconds]
<RickHull> but i don't believe our IP regime or conceptual model is quite right
<bnagy> well, for software anyway
george2 has quit [Ping timeout: 246 seconds]
sysanthrope has joined #ruby
Cork has quit [Ping timeout: 245 seconds]
sparr has quit [Ping timeout: 252 seconds]
<[k-> copyright expires 70 years after creation
jokester has quit [Ping timeout: 240 seconds]
jonee has joined #ruby
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
ged_ has quit [Read error: Connection reset by peer]
<RickHull> until Mickey dies again
<RickHull> then it will be extended
<bnagy> [k-: that's not the case
jenrzzz has quit [Ping timeout: 245 seconds]
<[k-> that's from what i know!
<bnagy> ok well what you know is wrong
radgeRayden has quit [Ping timeout: 246 seconds]
<RickHull> it's obviously subject to sovereign bounds
<[k-> or is it 70 years after the author died
<RickHull> national laws, treaties, etc
<[k-> maybe it's 70 years in Singapore?
bricker has quit [Read error: Connection reset by peer]
<RickHull> btw, my favorite fun game in the US, year-round these days, is trick-or-treaty?
bricker has joined #ruby
<RickHull> we can play it with SOPA
eam has quit [Ping timeout: 250 seconds]
<RickHull> TPP, etc
retornam has joined #ruby
<bnagy> .sg is Life+X but "it's complicated" apparently
jenrzzz has joined #ruby
h4ckurate has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
eam has joined #ruby
ged_ has joined #ruby
<[k-> http://statutes.agc.gov.sg/aol/search/display/view.w3p;ident=0d7b8d48-b41d-4d2b-8b79-2ae8523fb062;page=0;query=DocId%3A"e20124e1-6616-4dc5-865f-c83553293ed3"%20Status%3Ainforce%20Depth%3A0;rec=0#pr28-he-.
mathie has joined #ruby
<RickHull> .sg is the classic place that would sentence to you life in prison *plus* XX years
<[k-> from .gov.sg itself!
dbussink has joined #ruby
<[k-> thats your fault for commiting crimes in the first place
george2 has joined #ruby
<RickHull> look, i'm into caning as a lifestyle. it's worth chewing gum here and there
Coldblackice_ is now known as Coldblackice
RealMarc has joined #ruby
<[k-> Singapore forever!
Channel6 has quit [Remote host closed the connection]
Cork has joined #ruby
iateadonut has quit [Quit: Leaving.]
Chau has quit [Ping timeout: 240 seconds]
akkad has quit [Read error: Connection reset by peer]
<RickHull> btw, my query is: `aaron sopa +tpp` shouldn't that mandate `tpp` in query results?
<RickHull> (no quotes in the query)
<Ox0dea> I made LOLCODE "functional": https://gist.github.com/0x0dea/39ab54fc8f5a06a89aaa
<[k-> not sure i want to see it
<[k-> im going to click it anyway
<RickHull> oh, nevermind my previous question. i think google deprecated leading-plus in favor of surrounding-quotes
<Ox0dea> [k-: Only #map and #each at the moment.
<Ox0dea> That lci properly supports functions as arguments = <3
dgutierrez1287 has joined #ruby
<bnagy> RickHull: I think they just weakened it
<bnagy> like "hahaha yeah you _say_ you want only that, but we didn't find much, sooo....
ddv has quit [Changing host]
ddv has joined #ruby
<bnagy> because leading - still "works" to an extent
<[k-> not many people know what they want
<[k-> only google knows...
sorah_ has joined #ruby
ddfreyne has joined #ruby
Jarboe has quit []
sparr has joined #ruby
jokester has joined #ruby
<RickHull> i work in search at a much smaller scale than google
dgutierrez1287 has quit [Ping timeout: 244 seconds]
<RickHull> and i now see anti-features in google
<RickHull> that we have implemented ourselves
<RickHull> basically getting away from pure relevance
<RickHull> and into CTR and CPC
<[k-> much jargon indeed
<RickHull> for instance, aggressively substituting search terms for more generic, mainstream results
<Ox0dea> [k-: Pretty: http://jsfiddle.net/Lf5cbgw7/
<Ox0dea> RickHull: Are you sure that's an anti-feature?
<RickHull> this is useful for 80% of the population, but actively harmful to the 20% of engineers looking for exact matches
<Ox0dea> "" to the rescue!
<RickHull> unfortunately it's no longer the case
<[k-> it still is?
<Ox0dea> Yes, it is.
<RickHull> i have several recent examples, confirmed but can't recall, where google did not respect the quoted search terms
<RickHull> did an active and obvious query replacement
<Ox0dea> Bollocks.
<RickHull> Ox0dea: how would you know?
<Ox0dea> RickHull: Prove me wrong?
akkad has joined #ruby
<RickHull> like i said, zero recall
<Ox0dea> Then shut the fuck up?
<RickHull> but i'll queue them up
<Ox0dea> Please do.
<RickHull> wow, defensive much?
<RickHull> such rude
chipotle has joined #ruby
<Ox0dea> Much unsubstantianted drivel.
<Ox0dea> -n
<bnagy> grow up
<RickHull> i'll cop to that, until i substantiate it :)
tdy has quit [Read error: Connection reset by peer]
<RickHull> question still stands, how would you know? i can guess
<Ox0dea> I'm genuinely interested in any terms which legitimately subvert Google's quoting semantics.
<RickHull> and I respect the wisdom that comes from my guess
<RickHull> i think it's a recent thing, honestly
<RickHull> like within the last 6 months
* [k- brings out the google operators
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eleven has quit [Ping timeout: 252 seconds]
<RickHull> until there is an actual case, which is on me to provide, i fully agree it's much ado about nothing
serivichi has quit [Quit: Leaving]
<RickHull> i just haven't been saving them :)
<Ox0dea> Misinformation is worse than silence.
<RickHull> fair enough
<RickHull> i was actually trolling (in the best sense of the term) to see if anyone sympathized
<Ox0dea> > I was only pretending to be retarded.
<RickHull> no, not that sense
<RickHull> literally "hey guys i've had a bad experience with google, anyone else can confirm?"
Trieste has quit [Ping timeout: 250 seconds]
<[k-> that won't save you!
* [k- hangs in conversation up on a wall
<Ox0dea> [k-: I used their "imagine all the people" example and got dragons?
calleerlandsson has quit [Quit: Connection closed for inactivity]
<RickHull> to my recollection, i had several solr error messages, verbatim within quotes, and got search results that did not include the quoted portions
<RickHull> and in fact had highlighted alternate versions of my quoted portion
<RickHull> (which I did not want; was not relevant)
monsieurp has quit [Quit: Lost terminal]
<RickHull> that said, i'll happily shut up until i can repro
<Ox0dea> The likelihood of PEBKAC seems extremely high, if you don't mind my saying so.
<[k-> Ox0dea: i got the song
Chau has joined #ruby
<RickHull> don't disagree :)
<[k-> use the - search operator
<[k-> chain everything!
tkuchiki has joined #ruby
<RickHull> in frustration, i've done things like -"hate this no more" and +"please give it to me"
casadei_ has joined #ruby
<Ox0dea> DDG bangs largely obviate the need for subtractive terms.
<RickHull> i've used DDG in anger in response
<bnagy> "error code -90" strips punctuation at least
<RickHull> my sense was they are better in respecting the query, but worse in the results / ranking
<Ox0dea> That's about the size of it.
<RickHull> (only for the narrow queries that were frustrating me with google)
<Ox0dea> For specialized queries, though, it's quite nice.
Trieste has joined #ruby
Kalov has joined #ruby
<RickHull> oh, DDG bangs, i missed the bangs part
Musashi007 has quit [Quit: Musashi007]
amclain has quit [Quit: Leaving]
monsieurp has joined #ruby
tkuchiki has quit [Ping timeout: 260 seconds]
postmodern has joined #ruby
casadei_ has quit [Ping timeout: 272 seconds]
<RickHull> having lots of trouble replicating the recalled behavior, FWIW
<RickHull> it does appear to me that google.com is respecting quoted queries as expected
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<[k-> it's just your imagination
<RickHull> that said, i my disappointment in google was infrequent and based on idiosyncratic queries
<[k-> although irb was giving me hell when i couldn't require anything
<RickHull> [k-: that's the tough part
<[k-> :o
<[k-> Rust 1.2 is out
<RickHull> i have a very strong recollection of providing a query, and then a plausible replacement query (substituting for my own) ended up highlighted in the response
<RickHull> my actual query was not present in the response
<RickHull> [k-: where are you based out of? just curious if you don't mind
davedev24 has quit [Remote host closed the connection]
<[k-> based out of isn't legal in my language parser
<[k-> what do you mean?
<RickHull> well if i asked where are you, you might say lucerne or nyc
<RickHull> traveling...
<RickHull> what is your home location, as you define it?
<[k-> Singapore
exadeci has joined #ruby
<RickHull> ah, have you visited Borneo?
shock_one has joined #ruby
intyl is now known as ctalr
devbug has quit [Ping timeout: 240 seconds]
<RickHull> i am very interested in the region, historically. philippines, new guinea, singapore, indonesia, polynesia etc
<[k-> nope
charliesome has quit [Quit: zzz]
<RickHull> myself i am based in conti-us
Zai00 has joined #ruby
<RickHull> have never visited southern hemisphere (yet)
<RickHull> (soon)
ctalr has quit [Quit: leaving]
<Ox0dea> Singapore is in the Northern Hemisphere, for what that's worth.
<RickHull> dang, how far?
<Ox0dea> Not very.
<[k-> 1 degree north
<[k-> and 22 minutes
<RickHull> i think east asia is the new meta
<Ox0dea> !xkcd 1560
shock_one has quit [Remote host closed the connection]
<RickHull> you have cheap labor in proximity with extreme capitalism
<Ox0dea> [k-: The first panel is practically oxymoronic in Singapore. :P
ctalr has joined #ruby
jfowler has quit []
saddad has quit [Ping timeout: 265 seconds]
dopieee has quit [Quit: This computer has gone to sleep]
<Ox0dea> "One day [Learn You a Haskell] will be my retirement reading." -- PM Loong
<Ox0dea> [k-: I have little trouble imagining how much you love that.
einarj has joined #ruby
j4cknewt has quit [Remote host closed the connection]
Musashi007 has joined #ruby
<[k-> Because Haskell is the language
<[k-> Haskell is The One
<RickHull> i heard Elixir is the1
<Ox0dea> Lisp is immortal.
<[k-> your face
<[k-> oooo
<Ox0dea> "What is dead may never die."
<[k-> :3
<RickHull> everyone needs syntax at some point
user1138 has joined #ruby
fantazo has joined #ruby
<Ox0dea> There's Clojure for that.
<[k-> perl has a lot of syntax
<[k-> so many operators >.>
<[k-> much more than Haskell's Prelude
<[k-> Perl 5 took 27 years
astrobun_ has quit [Read error: No route to host]
<[k-> how many years have Perl 6 been in existence?
mikecmpbll has joined #ruby
astrobun_ has joined #ruby
<bnagy> RickHull: .sg is like SE Asia with training wheels. It's a good place to start if you're never been anywhere :P
shock_one has joined #ruby
<[k-> yeah!
<[k-> :o
<[k-> perl is a family of languages
<[k-> like lisp!
einarj has quit [Ping timeout: 256 seconds]
catbusters has joined #ruby
Gadgetoid has joined #ruby
axl_ has quit [Ping timeout: 245 seconds]
axl__ has quit [Ping timeout: 245 seconds]
<RickHull> perl is like lisp instead of an abhorrence of syntax an orgy
mikecmpbll has quit [Client Quit]
roolo has quit [Remote host closed the connection]
<RickHull> *except
<[k-> (your sentence)2complex4me
<RickHull> $%^#&%$%^$&%^
<RickHull> ^ valid perl
omegamike has joined #ruby
charliesome has joined #ruby
<RickHull> (not really)
khebbie has joined #ruby
<RickHull> (hopefully illustrative)
<Ox0dea> RickHull must not be familiar with my non-alphanumeric adventures.
<RickHull> thankfully, presumably
devbug has joined #ruby
<[k-> i have a minimal collection
<[k-> Perl looks like apl
<Ox0dea> RickHull: Almost certainly. Knowing that non-alphanumeric Ruby is Turing-complete is a bit like Roko's basilisk.
<[k-> with more alphanums
mistermocha has joined #ruby
khebbie has quit [Remote host closed the connection]
<RickHull> Ox0dea: lots of references that i dont follow (yet) :)
<RickHull> [k-: yeah APL is cool in terms of succinctness. which is valuable. but very shitty on the SICP metric
<[k-> SCIP????
<[k-> SICP???
<RickHull> https://mitpress.mit.edu/sicp/front/node3.html ctrl-f incidentally
omegamike has quit [Ping timeout: 244 seconds]
<Ox0dea> RickHull: Familiar with "can't unsee"?
<RickHull> > Thus, programs must be written for people to read, and only incidentally for machines to execute.
<RickHull> Ox0dea: as a trope, sure
<RickHull> not sure the origin
<Ox0dea> RickHull: Well, Roko's basilisk is sort of a "can't un-know" kind of thing.
<RickHull> inneresting
<Ox0dea> Into which category I believe Ruby's non-alphanumeric Turing-completeness fits.
krasnus has joined #ruby
crowell is now known as mom
<RickHull> google's top hit: http://rationalwiki.org/wiki/Roko's_basilisk
<Ox0dea> That'd be the one.
<Ox0dea> Tread lightly.
heyimwill has joined #ruby
<[k-> i dislike perl 5 already
<Ox0dea> [k-: You haven't into SICP at all?!
<[k-> no
<[k-> my brain hurts
<[k-> why would globals be the default choice
<RickHull> i have (historically) found rationalwiki.org to be (ironically) somewhat irrational
<Ox0dea> [k-: The first three chapters are... approachable.
jonee has quit [Ping timeout: 244 seconds]
<Ox0dea> [k-: Immutable globals are nowhere near as insidious.
_ht has joined #ruby
Gadgetoid has quit [Ping timeout: 272 seconds]
<RickHull> Ox0dea: big fan of LW/EY incidentally
<[k-> :o perl has immutability?
<bnagy> so is there any New Hotness in simple ruby RPC?
<[k-> perl's syntax is no where as elegant as haskell though
<[k-> wheres the perl 6 :(
<RickHull> what is perl 6?
<[k-> A Perl
workmad3 has joined #ruby
<RickHull> an excrement of one larry wall?
mistermocha has quit [Ping timeout: 272 seconds]
<[k-> excrement sounds so wrong
<RickHull> it is, i'm being unfair
<RickHull> let me say: i have used perl in anger and excitement to good effect many times
<RickHull> PCREs are pretty cool
postmodern has quit [Quit: Leaving]
<RickHull> so is while <> as a pseudo-idiom
<RickHull> (did i even get that right?)
<Ox0dea> [k-: I thought you were referring to Scheme in your decrial of global variables.
<sivoais> yes, while( <> ){ ... } # unix-y file/stdin handling
<[k-> I'm looking at perl
Mendenhall has joined #ruby
<RickHull> sivoais: ARGF too
workmad3 has quit [Ping timeout: 255 seconds]
Gadgetoid has joined #ruby
<RickHull> Ox0dea: funny, i was searching anissimov drama earlier. any comment?
<Ox0dea> RickHull: I've no idea what that is.
<sivoais> @ARGV and @F :-P # perldoc perlvar
havenwood has quit [Ping timeout: 250 seconds]
segy has quit [Ping timeout: 260 seconds]
<RickHull> Ox0dea: http://rationalwiki.org/wiki/Roko's_basilisk ctrl-f aniss
<Ox0dea> s/ctrl-f/\//
<RickHull> yes but how will the redditors follow along?
segy has joined #ruby
<RickHull> this is a fun one, related: http://rationalwiki.org/wiki/AI-box_experiment
user1138 has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
user1138 has joined #ruby
jonee has joined #ruby
<[k-> perl 6, 15 years
<RickHull> is that an ETA?
bruno- has joined #ruby
<[k-> it has been alive for 15 years
<RickHull> has it been viable?
<[k-> it seems it will be released in December this year
jackjackdripper has joined #ruby
<RickHull> can we get a mr_chromium quote in coordination with the release?
<RickHull> er, mr_chromatic?
<RickHull> or even: chromatic
tkuchiki has joined #ruby
<RickHull> are rakudo or parrot even meaningful terms any longer?
<RickHull> where is chromatic? http://www.perl6.org/community/
jackjackdripper has quit [Client Quit]
myztic has quit [Ping timeout: 255 seconds]
bruno- has quit [Ping timeout: 256 seconds]
myztic has joined #ruby
<RickHull> btw, larry wall invented `patch`
jonee has quit [Ping timeout: 250 seconds]
<RickHull> thank god he didn't invent `diff` amirite?
jackjackdripper has joined #ruby
<[k-> Over the years, Perl 6 has undergone several alterations in its direction. The introduction of concepts from Python and Ruby were early influences,[citation needed] but as the Pugs interpreter was written in the Haskell programming language, many functional programming influences were absorbed by the Perl 6 design team.[citation needed]
bricker has quit [Ping timeout: 265 seconds]
<Ox0dea> [k-: He also wrote `rn`.
<Ox0dea> RickHull: ^
fantazo has quit [Ping timeout: 260 seconds]
banister has joined #ruby
tkuchiki has quit [Remote host closed the connection]
shock_one has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
<[k-> "Perl 6 is anything that passes the official test suite."[17]
<[k-> No implementation will be designated as the official Perl 6 implementation
<Ox0dea> What could possibly go wrong?
<RickHull> the pugs-haskell connection is the biggest thing (IMO) that gives legitimacy to the perl 6 project
<RickHull> is parrot useful for anyone outside perl?
<[k->  Pugs used to be the most advanced implementation of Perl 6, but since mid 2007 it is mostly dormant (with updates made only to track the current version ofGHC). As of November 2014 Pugs is not being actively maintained.[20]
<[k-> what is even parrot
<RickHull> srsly
<[k-> i answered your question
<RickHull> ok so pugs has lost legitimacy
<RickHull> does that cover your point?
<[k-> my $i = "25" + 10; # $i is 35
<[k-> RickHull i meant parrot
<RickHull> i'd suggest that is a bad thing
<[k-> it is as bad as JavaScript
<RickHull> [k-: honestly i can't keep up
<RickHull> i have zero dogs in the Rakudo Pugs Perl 6 fight
<RickHull> and whatever else nomenclatures are involved
gard has joined #ruby
<RickHull> Parrot etc
<[k-> they are just implementations
<RickHull> i feel like that is the convenient fallback
<RickHull> i.e. we can brush off any criticism because the C just targets an I
<RickHull> and we can change the I at any point
davedev24 has joined #ruby
h4ckurate has quit [Quit: h4ckurate]
<[k-> i wasn't criticising
tmtwd has quit [Quit: Leaving]
<[k-> except the coercion part
<Ox0dea> I've said before that Perl 6 will be stillborn.
jonee has joined #ruby
Musashi007 has joined #ruby
tkuchiki has joined #ruby
astrobun_ has quit [Remote host closed the connection]
<baweaver> Ox0dea: kinda like Python 3?
<Ox0dea> Python 3 is dead?
<baweaver> </troll>
<Ox0dea> Oh.
<baweaver> The joke is that Python 3 is at such an odd adoption rate
<RickHull> python3 is the future and anyone who isn't on board is a dirty python-twoer
<Ox0dea> "bfd" -- 99.9% of the software development community upon Perl 6's release
<baweaver> some prick decided it was a good idea to switch up most of string output in 3, can't blame people for being annoyed
robbyoconnor has joined #ruby
<RickHull> if you're not gonna fix it in 3, when are ya?
<[k-> haskell is the future
<[k-> haskell is love, Haskell is life
<RickHull> elixir < haskell ?
<RickHull> elixir > haskell !
<[k-> your face
<RickHull> mfw
<[k-> i always laugh when i say your face
dinasor is now known as pyon
<RickHull> i myself chuckled upon your utterance
<[k-> it's always funny to imagine someone else's face wrongly
<RickHull> your face wrongly is somewhere near as hilarious as my face wrongly
ged__ has joined #ruby
<RickHull> not nearly as hilariously as interpreting mwf as my face wrongly
_blizzy_ has joined #ruby
clarkenciel has quit [Quit: Leaving]
<RickHull> mfw, even
charliesome has quit [Quit: zzz]
ged_ has quit [Read error: Connection reset by peer]
<Ox0dea> ~ $ pacman -Q | grep -v 201. | sort -nk2 | tail -3
<Ox0dea> systemd 224-1
<Ox0dea> xterm 318-1
<Ox0dea> less 479-1
<Ox0dea> RickHull: Why not 479? :P
<RickHull> because not paste site. be a good exemplar
<Ox0dea> This guy.
<RickHull> lol
<RickHull> what is `grep -v 201` ?
<Ox0dea> Some packages are versioned by year.
sdwrage has quit [Quit: This computer has gone to sleep]
<RickHull> so 2000 and 1999 are ok?
<RickHull> heh, i believe it
<[k-> 201.
davedev24 has quit [Remote host closed the connection]
<[k-> 2010-2019
<RickHull> 201(0-9} # works?
<Ox0dea> [k-: Also 201
<RickHull> 201{0,1,2,3,4,5,6,7,8,9} # works
<[k-> my statement was not based on anything
cornerma1 has joined #ruby
<[k-> Ox0dea no one names years like that
charliesome has joined #ruby
<[k-> wow perl 6 Also, the , (comma) operator is now a list constructor, so enclosing parentheses are no longer required around lists. 
<Ox0dea> RickHull: Forgive me, but it's unclear whether you understood the intent of my paste.
<RickHull> wow perl6 implication = ?
<RickHull> Ox0dea: probably not, spell it out plox
<Ox0dea> > if you're not gonna fix it in 3, when are ya?
<Ox0dea> Those are the three highest-versioned packages on my system.
cornerman has quit [Ping timeout: 244 seconds]
cornerma1 is now known as cornerman
<RickHull> i'm gonna fix it dammit
<RickHull> fix what?
_blizzy_ has quit [Read error: Connection reset by peer]
<Ox0dea> Um... I was quoting you?
charliesome has quit [Client Quit]
<[k-> haskell cant even leave out parentheses
<RickHull> sounds good, what's the problem?
<[k-> interesting how the compiler names the type variables
_blizzy_ has joined #ruby
<RickHull> because the ultra-smart computer names the variables smartly like ohnpqrs
<RickHull> ay yi yi
<RickHull> not what i had in mind
bruno- has joined #ruby
stonith has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
<[k-> λ \x y -> const x y
<[k-> :: a -> b -> a
ramfjord has quit [Ping timeout: 246 seconds]
<manveru> RickHull: it's dead jim
ctalr has quit [Ping timeout: 246 seconds]
<[k-> ded ded ded
jonee has quit [Ping timeout: 250 seconds]
j4cknewt has joined #ruby
shoutsid has joined #ruby
tkuchiki has quit [Remote host closed the connection]
<[k-> perl 6: if 20 <= $temperature <= 25
<[k-> awesome.
Musashi007 has quit [Quit: Musashi007]
<Ox0dea> [k-: Python's had that since its inception, I believe.
<[k-> :o
<[k-> awesome
tkuchiki has joined #ruby
j4cknewt has quit [Ping timeout: 244 seconds]
casadei_ has joined #ruby
astrobun_ has joined #ruby
khebbie has joined #ruby
drzel_ is now known as drzel
casadei_ has quit [Ping timeout: 265 seconds]
c0m0 has joined #ruby
baweaver has quit [Remote host closed the connection]
<[k-> >> [3, 22/7, 333/106, 355/113]
<ruboto> [k- # => [3, 3, 3, 3] (https://eval.in/413996)
<[k-> very good.
<[k-> >> [3, 22/7.0, 333/106.0, 355/113.0]
<ruboto> [k- # => [3, 3.142857142857143, 3.141509433962264, 3.1415929203539825] (https://eval.in/413997)
<[k-> >> 245850922/78256779.0
<ruboto> [k- # => 3.141592653589793 (https://eval.in/413998)
skade has joined #ruby
<[k-> \o/
<RickHull> dammit jim
<[k-> Ox0dea: pi in symbols!
Mendenhall has quit [Ping timeout: 252 seconds]
last_staff has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
lapide_viridi has joined #ruby
buub has joined #ruby
<[k-> such un threadsafe
<[k-> nice, nonetheless
<[k-> where does @@n in TrueClass come from?
<[k-> oh, it belongs to ChainedComparisons
<[k-> my bad
omegamike has joined #ruby
tomphp_ has joined #ruby
<[k-> there isn't an && though, how do you make sure both sides are correct?
choke has joined #ruby
<Ox0dea> [k-: I suppose I could stick it in $1, whose thread-safety is managed by the language.
<[k-> isn't $1 read-only
<Ox0dea> Not really.
<[k-> but it will get overridden
<Ox0dea> Not in time for it to interfere with a chained comparison?
<Ox0dea> The more pressing error is that I forgot to update the variable in the Boolean methods.
<Ox0dea> >> '[k-' =~ /(.+)/; $1 # "read-only"
<ruboto> Ox0dea # => "[k-" (https://eval.in/413999)
<[k-> oh.
<[k-> such cheat
riotjones has joined #ruby
einarj has joined #ruby
omegamike has quit [Ping timeout: 264 seconds]
sinkensabe has joined #ruby
riotjones has quit [Ping timeout: 245 seconds]
einarj has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
hackeron_ has joined #ruby
hackeron has quit [Ping timeout: 250 seconds]
sarlalian has quit [Quit: WeeChat 0.4.2]
buub has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<[spoiler]> What thread safety? $1 isn't theadsafe at all (IIRC, too lazy to look now). I'd rather use something like `(?<vowel>[aeiou])/ =~ "hello"; vowel` if I had to resort to is (but there are better ways)
<[spoiler]> >> (?<vowel>[aeiou])/ =~ "hello"; vowel
<ruboto> [spoiler] # => /tmp/execpad-257e9a79329a/source-257e9a79329a:2: syntax error, unexpected tIDENTIFIER, expecting ')' ...check link for more (https://eval.in/414000)
<[spoiler]> oops
<[spoiler]> >> /(?<vowel>[aeiou])/ =~ "hello"; vowel
<ruboto> [spoiler] # => "e" (https://eval.in/414001)
skade has quit [Quit: Computer has gone to sleep.]
apfeluser has joined #ruby
<Ox0dea> [spoiler]: $~ and its friends are "pseudo-global variables"; they're thread-local.
whiteline has quit [Ping timeout: 265 seconds]
<[spoiler]> Ox0dea: Oh, interesting. I wasn't aware. DO you know whetehr it is implementation-specific or is it in the "spec?"
bricker has joined #ruby
<Ox0dea> [spoiler]: It's also the case in Rubinius; make of that what you will, I suppose.
gard has quit [Ping timeout: 245 seconds]
tomphp_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobun_ has quit [Ping timeout: 246 seconds]
<[spoiler]> Ox0dea: yeah just went and cheched Rubinius implementation.
sarlalian has joined #ruby
<Ox0dea> ~ $ cat t.rb && ruby t.rb | sort -u | wc -l
<Ox0dea> 42.times.map { |i| Thread.new { i.to_s =~ /(\d+)/; puts $1 } }.each(&:join)
<Ox0dea> 42
<Ox0dea> Just confirming.
Cronon has joined #ruby
sevenseacat has joined #ruby
tomphp_ has joined #ruby
halcyone3 has joined #ruby
tomphp_ has quit [Client Quit]
<[spoiler]> Oh well, it's good to know, but I'm not too happy about this "deviating" behaviour. But I suppose it does make sense, since $<N> is common for backreferences when using regexp
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<[spoiler]> Ox0dea: Although, in rbx at least (cba looking at MRI implementation now), $~ & friends aren't thread-local, they're scope-local (which is even better for what they're intended, to be fair)
sinkensabe has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CatMartyn has joined #ruby
rikkipitt has joined #ruby
<Ox0dea> [spoiler]: I don't think it's particularly "devious", but it's slightly regrettable that they look like globals.
<Ox0dea> Still, better than introducing another sigil, in my opinion.
<[spoiler]> Ox0dea: that is what I mean by devious (maybe it's a harsh choice of words, lol).
bricker has quit [Ping timeout: 240 seconds]
<[spoiler]> Ox0dea: I think this shouldn't exist at all. =~ could return a MatchData object and then you could use that
rikkipitt has quit [Remote host closed the connection]
<halcyone3> is taking photos a crime?
<[spoiler]> like this: `if md = (regexp =~ str); puts md[1]; end`
<[spoiler]> halcyone3: elaborate?
<Ox0dea> [spoiler]: Verbosity != readability.
<Ox0dea> It's not a sufficient condition, anyhow.
surs has quit [Quit: WeeChat 0.3.7]
<Ox0dea> For posterity's sake, MRI's $~ is method-local.
<[spoiler]> So it's consistent at least :D
<Ox0dea> There are many other "scope gates" besides method definition.
<Ox0dea> I wonder which implementation chose the wrong term, or if they do in fact diverge on this matter.
devoldmx has quit [Remote host closed the connection]
dling` is now known as dling
cynosure_ has quit [Remote host closed the connection]
<Ox0dea> "Scope-local" is the proper term for both implementations; doc/regexp.rdoc needs a paddlin'.
khebbie has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
<Ox0dea> >> class Foo; 'foo' =~ /(\w+)/ end; $1
<ruboto> Ox0dea # => nil (https://eval.in/414005)
iamninja has joined #ruby
<[spoiler]> oh is this actually documented?
<Ox0dea> > These global variables are thread-local and method-local variables.
<[spoiler]> oh yeah found it
ishahnaz has joined #ruby
sinkensabe has quit [Remote host closed the connection]
whiteline has joined #ruby
DLSteve has joined #ruby
<Ox0dea> drbrain: In case I'm missing something, can you confirm that "scope-local" is more accurate than "method-local" there?
marr has joined #ruby
eL_bAmba has joined #ruby
<[spoiler]> it should definitely be scope-local
devbug_ has joined #ruby
devoldmx has joined #ruby
<Ox0dea> They're essentially completely indistinguishable from local variables.
gard has joined #ruby
<Ox0dea> Except, of course, for the terrifically confusing sigil.
<[spoiler]> yep
<[spoiler]> and the fact that they're implicitly defined as nil
FernandoBasso has joined #ruby
<[spoiler]> (unless actually set)
devbug has quit [Ping timeout: 246 seconds]
frem has quit [Quit: Connection closed for inactivity]
<Ox0dea> Right. $ for $pecial, then.
<[spoiler]> LOL
<Ox0dea> ^_^
devoldmx has quit [Ping timeout: 255 seconds]
sdothum has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<[spoiler]> This is actually cool in a way, because when they're defined in a sub-scope they propagate to the outer scope (so using =~ inside a block body)
<[spoiler]> >> 1.times { /(\w+)/ =~ 'special' }; $1
<ruboto> [spoiler] # => "special" (https://eval.in/414006)
gregf has quit [Quit: WeeChat 1.1.1]
jackjackdripper has quit [Quit: Leaving.]
niemcu has joined #ruby
Chau has quit [Quit: Leaving]
ishahnaz has quit []
gregf has joined #ruby
rikkipitt has joined #ruby
einarj has joined #ruby
Vile` has quit [Ping timeout: 250 seconds]
rikkipitt has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 240 seconds]
Vile` has joined #ruby
ta has quit [Remote host closed the connection]
OrbitalKitten has joined #ruby
user1138 has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
felltir has joined #ruby
user1138 has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
AlphaAtom has quit [Client Quit]
GloomyJack has joined #ruby
casadei_ has joined #ruby
user1138 has quit [Remote host closed the connection]
user1138 has joined #ruby
mistermocha has joined #ruby
rikkipitt has joined #ruby
casadei_ has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
niemcu has quit [Ping timeout: 250 seconds]
jackjackdripper has joined #ruby
bronson has joined #ruby
GloomyJack has quit [Quit: Leaving]
mistermocha has quit [Read error: Connection reset by peer]
eleven has joined #ruby
mistermocha has joined #ruby
apfeluser has quit [Ping timeout: 246 seconds]
symm- has joined #ruby
Rutix has joined #ruby
Rutix has joined #ruby
AlphaAtom has joined #ruby
jackjackdripper has quit [Client Quit]
bronson has quit [Ping timeout: 260 seconds]
Alina-malina has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
abcd1234 has quit [Ping timeout: 252 seconds]
krz has joined #ruby
fantazo has joined #ruby
User458764 has joined #ruby
abcd1234 has joined #ruby
pabs has quit [Ping timeout: 256 seconds]
devoldmx has joined #ruby
khebbie has joined #ruby
omegamike has joined #ruby
eleven has quit [Quit: Leaving]
ndrei has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
pabs has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
devoldmx has joined #ruby
CatMartyn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
user1138 has quit [Remote host closed the connection]
khebbie has quit [Ping timeout: 250 seconds]
user1138 has joined #ruby
user1138 has quit [Remote host closed the connection]
charliesome has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
charliesome has quit [Client Quit]
omegamike has quit [Ping timeout: 244 seconds]
eL_bAmba has quit [Ping timeout: 272 seconds]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deavid has quit [Ping timeout: 260 seconds]
<shevy> spoiler
<shevy> why are you trapped in an Array?
CatMartyn has joined #ruby
NeverDie has joined #ruby
lele is now known as Guest24
<hanmac> shevy we need to explode him :P *spoiler
halcyone3 has quit [Ping timeout: 272 seconds]
pawnbox has quit [Remote host closed the connection]
conor_ has joined #ruby
shock_one has joined #ruby
ta has joined #ruby
ht__ has joined #ruby
shock_one has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 245 seconds]
blue_deref has quit [Quit: bbn]
ferhaty has joined #ruby
devoldmx has quit [Remote host closed the connection]
ferhaty has quit [Client Quit]
matled has quit [Remote host closed the connection]
matled has joined #ruby
<[k-> or, we can pop him
Averna has joined #ruby
<[k-> so he wouldnt have multiple copies
felltir has quit []
<[k-> maybe the quick ref has something?
<[k-> ?quickref
sameerynho has joined #ruby
casadei_ has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
nfk has joined #ruby
Zai00 has quit [Quit: Zai00]
<[k-> no..
<shevy> [k- I saw that you are now patching the official ruby
<[k-> i was?
<[k-> when?
jbw has quit [Ping timeout: 250 seconds]
casadei_ has quit [Ping timeout: 244 seconds]
<[k-> yay it was accepted \o/
<[k-> i feel happy
lxsameer_ has joined #ruby
oleksandriuzikov has joined #ruby
sameerynho has quit [Ping timeout: 250 seconds]
User458764 has quit [Ping timeout: 255 seconds]
eL_bAmba has joined #ruby
jbw has joined #ruby
User458764 has joined #ruby
phale has joined #ruby
<phale> i miss ruby so much
<[k-> welcome home
<phale> thanks
eL_bAmba has quit [Ping timeout: 252 seconds]
mistermocha has joined #ruby
niemcu has joined #ruby
lxsameer_ has quit [Ping timeout: 252 seconds]
deavid has joined #ruby
<phale> i'm having an issue requiring a gem that I have installed
<phale> it says/home/synt/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- colorize (LoadError)
mistermocha has quit [Ping timeout: 260 seconds]
skade has joined #ruby
AlexRussia has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
skade has quit [Client Quit]
rikkipitt has quit [Remote host closed the connection]
conor__ has joined #ruby
conor_ has quit [Ping timeout: 272 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> phale: gem list has it? what does gem which colorize say?
<phale> jhass: nevermind I fixed it, I was installing it as root instead of my current user
conor__ has quit [Remote host closed the connection]
Ropeney has joined #ruby
omegamike has joined #ruby
Rickmasta has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
banister has joined #ruby
omegamike has quit [Ping timeout: 240 seconds]
conor_ has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
symm- has quit [Ping timeout: 264 seconds]
conor_ has quit [Remote host closed the connection]
leslie has left #ruby ["Textual IRC Client: www.textualapp.com"]
leslie has joined #ruby
lxsameer has joined #ruby
ndrei has joined #ruby
jbw has quit [Ping timeout: 245 seconds]
scripore has joined #ruby
AlexRussia has joined #ruby
jbw has joined #ruby
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
einarj has joined #ruby
bmurt has joined #ruby
conor_ has joined #ruby
ta has quit [Remote host closed the connection]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iateadonut has joined #ruby
jbw has quit [Ping timeout: 260 seconds]
DoubleMalt has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
dseitz has joined #ruby
ta has joined #ruby
tkuchiki has joined #ruby
devoldmx has joined #ruby
lxsameer has quit [Ping timeout: 250 seconds]
abcd1234 has quit [Read error: Connection reset by peer]
scripore has quit [Quit: This computer has gone to sleep]
conor_ has quit [Remote host closed the connection]
abcd1234 has joined #ruby
symm- has joined #ruby
Zarthus has quit [Changing host]
Zarthus has joined #ruby
Ropeney_ has joined #ruby
devoldmx has quit [Ping timeout: 252 seconds]
rikkipitt has joined #ruby
niemcu has quit [Ping timeout: 250 seconds]
millerti has joined #ruby
abcd1234 has quit [Remote host closed the connection]
phale has left #ruby ["Leaving"]
rikkipitt has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shoutsid has quit [Remote host closed the connection]
nertzy has joined #ruby
banister has joined #ruby
conor_ has joined #ruby
jbw has joined #ruby
safeforge has quit [Remote host closed the connection]
banister has quit [Client Quit]
<yorickpeterse> RickHull: what?
<[k-> yorickpeterse awakens
banister has joined #ruby
<[k-> he wanted to ask about some web framework (i forgot) that you were working on with manveru
<[k-> manveru already answered
<yorickpeterse> Ah yeah, Ramaze is pretty much dead
leafybasil has quit [Remote host closed the connection]
banister has quit [Client Quit]
ndrei has quit [Remote host closed the connection]
northfurr has joined #ruby
ndrei has joined #ruby
banister has joined #ruby
<bougyman> yorickpeterse: my ramaze apps still run great.
<bougyman> 'done' is not 'dead'
khebbie has joined #ruby
mistermocha has joined #ruby
Xoro has quit [Ping timeout: 240 seconds]
banister has quit [Client Quit]
northfurr has quit [Quit: northfurr]
davedev24 has joined #ruby
davedev24 has quit [Client Quit]
Karpah has joined #ruby
sevenseacat has quit [Ping timeout: 240 seconds]
banister has joined #ruby
gard has quit [Ping timeout: 252 seconds]
mistermocha has quit [Ping timeout: 255 seconds]
troulouliou_dev has joined #ruby
krz has quit [Ping timeout: 272 seconds]
khebbie has quit [Remote host closed the connection]
skade has joined #ruby
chris2 has quit [Ping timeout: 252 seconds]
<yorickpeterse> correct, done implies no further development is needed
<yorickpeterse> which isn't strictly the case, development simply ceased
Xoro has joined #ruby
northfurr has joined #ruby
dimasg has joined #ruby
Averna has quit [Quit: Ex-Chat]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
conor_ has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chris2 has joined #ruby
jonee has joined #ruby
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tkuchiki has quit [Remote host closed the connection]
einarj has joined #ruby
dorei has joined #ruby
DLSteve has joined #ruby
casadei_ has joined #ruby
yh has joined #ruby
jbw has quit [Ping timeout: 264 seconds]
jbw has joined #ruby
casadei_ has quit [Ping timeout: 252 seconds]
einarj has quit [Remote host closed the connection]
jonee has quit [Ping timeout: 256 seconds]
TheToad has joined #ruby
jbw has quit [Max SendQ exceeded]
jbw has joined #ruby
conor_ has joined #ruby
devoldmx has joined #ruby
<TheToad> hey all, this is a ruby question inspired by rails, http://pastebin.com/3B4J1f52
<ruboto> TheToad, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/ed8dc71d9a9f3c175edd
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<TheToad> shouldn't we access @messages hash ?
<TheToad> I mean we are treating errors as a hash, whereas it has a hash attribute. How does this fit together ?
devoldmx has quit [Ping timeout: 244 seconds]
skade has quit [Ping timeout: 252 seconds]
chris2 has quit [Ping timeout: 246 seconds]
ctalr has joined #ruby
jbw has quit [Ping timeout: 264 seconds]
flegercovateam has joined #ruby
scripore has joined #ruby
deepu has joined #ruby
tkuchiki has joined #ruby
sonOfRa has quit [Quit: Bye!]
matp has quit [Ping timeout: 250 seconds]
sonOfRa has joined #ruby
<jhass> TheToad: [] is a method call
<TheToad> and how does it know to access @messages specifically
<TheToad> is it like operator overloading ?
<TheToad> nice
jonee has joined #ruby
<TheToad> working with an open source language does have its perks
<TheToad> thank
<TheToad> thanks*
<jhass> yw
mleung has joined #ruby
saaki has quit [Remote host closed the connection]
deepu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
conor_ has quit [Remote host closed the connection]
flegercovateam has quit [Ping timeout: 260 seconds]
victortyau has joined #ruby
Mon_Ouie has quit [Ping timeout: 250 seconds]
chris2 has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
omegamike has joined #ruby
mleung has quit [Quit: mleung]
Aderium has quit [Ping timeout: 260 seconds]
asaaki has joined #ruby
jbw has joined #ruby
mleung has joined #ruby
khebbie has joined #ruby
Aww has joined #ruby
mleung has quit [Client Quit]
shock_on_ has joined #ruby
matp has joined #ruby
conor_ has joined #ruby
omegamike has quit [Ping timeout: 265 seconds]
mleung has joined #ruby
pyon is now known as dinasor
lannonbr has joined #ruby
mistermocha has joined #ruby
jamesaxl has joined #ruby
Coldblackice has quit [Ping timeout: 246 seconds]
chris2 has quit [Ping timeout: 240 seconds]
mistermocha has quit [Ping timeout: 272 seconds]
krz has joined #ruby
ishahnaz has joined #ruby
serivich has joined #ruby
conor_ has quit [Remote host closed the connection]
edwinvdg_ has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 260 seconds]
edwinvdgraaf has joined #ruby
ishahnaz has quit [Client Quit]
psy_ has joined #ruby
xaxisx has joined #ruby
mleung has quit [Quit: mleung]
khebbie has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
conor_ has joined #ruby
_blizzy_ has quit [Ping timeout: 246 seconds]
sarkyniin has joined #ruby
khebbie has joined #ruby
khebbie has quit [Remote host closed the connection]
mleung has joined #ruby
edwinvdg_ has joined #ruby
bnizzle has joined #ruby
mleung has quit [Client Quit]
AlphaAtom has joined #ruby
bnizzle has left #ruby [#ruby]
<shevy> long live ruby \o/
workmad3 has quit [Ping timeout: 256 seconds]
<[k-> propaganda here doesnt help?
<[k-> Spread haskell!
<[k-> Haskell for all the things! \o/
<[k-> now you've done it, shevy
ndrei has joined #ruby
xaxisx has quit [Quit: Leaving]
scripore has quit [Quit: This computer has gone to sleep]
<shevy> haskell requires like a 300 mb download
chris2 has joined #ruby
<[k-> just download it already!
edwinvdgraaf has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
TheToad has quit [Ping timeout: 250 seconds]
scripore has joined #ruby
havenwood has joined #ruby
Ropeney_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
techsethi has joined #ruby
shoutsid has joined #ruby
jonee has quit [Ping timeout: 264 seconds]
shock_on_ has quit [Remote host closed the connection]
mdw has joined #ruby
noethics has quit [Ping timeout: 250 seconds]
skade has joined #ruby
<shevy> that's about 50x as much ruby code than I have written in 10 years!
einarj has joined #ruby
<[k-> that means your ruby code cant do much then ooooo buuuuurn
khebbie has joined #ruby
khebbie has quit [Remote host closed the connection]
<mdw> hey guys, I'm trying to write a simple regex that looks for new additions to a diff, but I can't figure out how to stop it from matching the first line in the diff (the +++ a/ line)
edwinvdgraaf has joined #ruby
dseitz has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 272 seconds]
FernandoBasso has quit [Quit: May the force be with you.]
bnizzle1 has joined #ruby
northfurr has quit [Quit: northfurr]
bnizzle1 has left #ruby [#ruby]
<jhass> mdw: simple negative lookahead? http://rubular.com/r/sejogb4fXB
Coldblackice has joined #ruby
<jhass> ?guys mdw
<ruboto> mdw, You probably don't mean to exclude, but not everyone relates to being "one of the guys". Maybe consider using "folks", "y'all" or "everyone" instead?
shoutsid has quit [Ping timeout: 250 seconds]
dorei has quit [Ping timeout: 265 seconds]
dorei has joined #ruby
jbw has quit [Ping timeout: 265 seconds]
Ropeney has quit [Quit: Leaving]
<mdw> jhass: thanks!
edwinvdg_ has quit [Ping timeout: 260 seconds]
northfurr has joined #ruby
Trieste has quit [Ping timeout: 245 seconds]
<mdw> i've not come across negative look ahead!
jbw has joined #ruby
<mdw> thanks, that's really useful
skade has quit [Client Quit]
einarj has quit [Ping timeout: 250 seconds]
Karpah has quit [Quit: .]
DenSchub has quit [Ping timeout: 245 seconds]
FernandoBasso has joined #ruby
techsethi has left #ruby [#ruby]
lannonbr has quit [Quit: WeeChat 1.2]
r0bby_ has joined #ruby
DenSchub has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
Trieste has joined #ruby
krz has quit [Ping timeout: 244 seconds]
mdw has quit [Ping timeout: 246 seconds]
bmurt has quit []
devbug has joined #ruby
jonee has joined #ruby
conor_ has quit [Remote host closed the connection]
dimasg_ has joined #ruby
DLSteve has quit [Read error: Connection reset by peer]
Trieste has joined #ruby
Trieste has quit [Excess Flood]
Trieste has joined #ruby
dimasg has quit [Read error: Connection reset by peer]
Trieste has quit [Changing host]
matp has quit [Ping timeout: 260 seconds]
sarkyniin has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
devbug_ has quit [Ping timeout: 240 seconds]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davedev24 has joined #ruby
dimasg_ has quit [Ping timeout: 250 seconds]
AlphaAtom has joined #ruby
matp has joined #ruby
Ropeney has joined #ruby
mleung has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
tmtwd has joined #ruby
jonee has quit [Ping timeout: 244 seconds]
sarkyniin has joined #ruby
cashnguns has joined #ruby
conor_ has joined #ruby
mleung has quit [Quit: mleung]
leafybasil has joined #ruby
asaaki has quit [Ping timeout: 250 seconds]
JEG2 has joined #ruby
osvimer has joined #ruby
leafybasil has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
devoldmx has joined #ruby
peterhil has joined #ruby
osvimer has quit [Client Quit]
devoldmx has quit [Ping timeout: 250 seconds]
osvimer has joined #ruby
_blizzy_ has joined #ruby
mistermocha has quit [Ping timeout: 265 seconds]
osvimer has quit [Client Quit]
jonee has joined #ruby
leafybasil has joined #ruby
bmurt has joined #ruby
chipotle has quit [Quit: cheerio]
conor_ has quit [Remote host closed the connection]
osvimer has joined #ruby
halcyone3 has joined #ruby
casadei_ has joined #ruby
conor_ has joined #ruby
_blizzy_ has quit [Read error: Connection reset by peer]
dimasg has joined #ruby
Muhannad has joined #ruby
_blizzy_ has joined #ruby
Muhannad has quit [Max SendQ exceeded]
casadei_ has quit [Ping timeout: 250 seconds]
<Ox0dea> How would you pronounce !==?
<[k-> not equal to
<Ox0dea> No, that's `!=`.
<Ox0dea> `===` is "threequals", so maybe `!==` could be "one-twoquals".
delta_ has joined #ruby
<[k-> notequality
bmurt has quit []
northfurr has quit [Quit: northfurr]
<jhass> I think I yet have to see !== used anywhere
atomical has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> jhass: Scrict JavaScript inequality?
<Ox0dea> *Strict
* Ox0dea is too used to typing "script". :'(
<jhass> well, I mean in Ruby of course
<Ox0dea> It's not presently a valid Ruby operator.
<Ox0dea> That even *you* thought it was means I'm doing the right thing.
fantazo has quit [Quit: Verlassend]
<[k-> does !a == b give the same result as !(a == b)
jbw has quit [Ping timeout: 246 seconds]
<bnagy> ?try
<ruboto> Why don't you try it and see for yourself?
<delta_> hi, what does 'i' means in %i. I know q stands for quote in %q, w stands in %w. %i creates symbol, but what does 'i' stand for?
<Ox0dea> delta_: Array of Symbols.
<jhass> interns?
<Ox0dea> Yep.
<[k-> i looks like : though
<jhass> >> "foo".intern
<ruboto> jhass # => :foo (https://eval.in/414030)
c0m0 has quit [Ping timeout: 264 seconds]
ivanskie has joined #ruby
lannonbr has joined #ruby
<[k-> >> :"foo"
<ruboto> [k- # => :foo (https://eval.in/414031)
<rippa> ruby is so cool
<rippa> just wanted to say that
<[k-> bnagy, i mean in mathematical sense
osvimer has quit [Quit: Lost terminal]
<jhass> [k-: I don't think maths has ! generally defined, nor precedence rules for it
jbw has joined #ruby
chouhoulis has joined #ruby
<delta_> thanks
<bnagy> [k-: draw the table?
<Ox0dea> I think the intent behind and answer to [k-'s question are both pretty obvious. Pedantry is lame, and two-value truth tables are child's play.
conor_ has quit [Remote host closed the connection]
delta_ has quit [Quit: Page closed]
chouhoul_ has joined #ruby
jonee has quit [Ping timeout: 244 seconds]
deepu has joined #ruby
deepu has quit [Client Quit]
<jhass> Ox0dea: why don't you answer then? Because I don't get it
sarkyniin has quit [Read error: Connection reset by peer]
<[k-> the results are the same :o
<Ox0dea> jhass: You don't understand truth tables and the NOT operation?
deepu has joined #ruby
<jhass> I do
<bnagy> [k-: _b
<Ox0dea> Then whence your confusion?
<jhass> I've never seen ! in boolean algebra
<bnagy> eh?
sarkyniin has joined #ruby
<[k-> i'll get a not sign then :(
<shevy> ! is so powerful
<shevy> it's like saying no
<bnagy> I don't know instantly if I can prove it though
<jhass> yeah ¬ is not
<[k-> ¬
khebbie has joined #ruby
<shevy> is this unicode
<jhass> sure
<[k-> no
<[k-> its your face!
<Ox0dea> jhass: What prevented you treating [k-'s ! as ¬?
workmad3 has joined #ruby
Channel6 has joined #ruby
<[k-> jhass has strict mode on
<shevy> [k- I can see my face just fine but this unicode thing above looks like an "A" with a "-"
<jhass> not remembering if ¬ has any precedence rules ;P
<Ox0dea> It's a unary operator.
deepu has quit [Client Quit]
<[k-> shevy: it is the not sign
<bnagy> well I guess the braces made the precedence clear, no?
<jhass> and I wouldn't be surprised if there's an actual programming language with perverted precedence rules for !
chouhoulis has quit [Ping timeout: 245 seconds]
<jhass> where the answer would be yes
Muhannad has joined #ruby
<[k-> i was talking about the result
<[k-> not if they are the same
<Ox0dea> Erm... adding `!==` to parse.y was alarmingly easy.
<bnagy> stahp
<Ox0dea> I'm doing it.
dimasg has quit [Ping timeout: 260 seconds]
<[k-> Wikipedia says: x ≠ y  ⇔  !(x = y)
<Ox0dea> Still gotta get an intuition for what MRI calls "basic ops".
<[k-> so, it must be true!
<[k-> wait did i get that wrong
Muhannad has quit [Max SendQ exceeded]
khebbie has quit [Ping timeout: 260 seconds]
* [k- goes back to square one
<bnagy> no that's fine I think
<bnagy> just that !a = b and a = !b are both a != b
Muhannad has joined #ruby
<[k-> ah yes, i dont have to !(a==b) anymore? (a != b exists, i know)
shock_one has joined #ruby
<bnagy> there's some law of associativity or something probably
<bnagy> that I guess I knew 25 years ago
<bnagy> now I just draw truth tables :|
<Ox0dea> ∀ n ∈ ℝ: 10ₙ = n₁₀
<bnagy> what's subscript 10?
<Ox0dea> Decimal?
<bnagy> oh, base
<Ox0dea> It's strange that zero and one are the only "undefined" radices.
<Ox0dea> Out of all the reals.
<Ox0dea> Seems inelegant not to define them such that that equation holds. :/
xehbit has joined #ruby
<bnagy> "My friend Sean and I think we have disproved that 0 is a real number."
dopamean_ has joined #ruby
<bnagy> dying
xehbit has left #ruby [#ruby]
trouloulioud_dev has joined #ruby
weemsledeux has joined #ruby
niemcu has joined #ruby
troulouliou_dev has quit [Ping timeout: 240 seconds]
chouhoul_ has quit [Ping timeout: 246 seconds]
conor_ has joined #ruby
amdeskiers has joined #ruby
chouhoulis has joined #ruby
conor_ has quit [Remote host closed the connection]
Chau has joined #ruby
oleksandriuziko1 has joined #ruby
trouloulioud_dev has quit [Ping timeout: 244 seconds]
flegercovateam has joined #ruby
trouloulioud_dev has joined #ruby
doublemalt_ has joined #ruby
freerobby has quit [Quit: Leaving.]
DenSchub has quit [Ping timeout: 245 seconds]
oleksandriuzikov has quit [Ping timeout: 245 seconds]
Muhannad has quit [Ping timeout: 245 seconds]
DenSchub has joined #ruby
gard has joined #ruby
DoubleMalt has quit [Ping timeout: 260 seconds]
Muhannad has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
Trynemjoel has joined #ruby
Rinzlit has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
<peterhil> Just filed a bug about set operations on a set of sets producing incorrect results: https://bugs.ruby-lang.org/issues/11422
<peterhil> Do you think the results should be correct, or just throw an error when trying to construct a set of sets like Python does?
d2dchat has joined #ruby
conor_ has joined #ruby
The_Phoenix has quit [Quit: Leaving.]
mistermocha has joined #ruby
conor_ has quit [Remote host closed the connection]
troulouliou_dev has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
conor_ has joined #ruby
dseitz has joined #ruby
conor_ has quit [Remote host closed the connection]
trouloulioud_dev has quit [Ping timeout: 250 seconds]
conor_ has joined #ruby
<Mon_Ouie> peterhil: You need to subtract the singleton that contains c, not c itself, to get the result you're expecting.
apofis has joined #ruby
apofis has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 250 seconds]
apofis has joined #ruby
sdwrage has joined #ruby
sdwrage has quit [Client Quit]
michael_mbp has quit [Excess Flood]
JoshL has joined #ruby
michael_mbp has joined #ruby
brain_shim has quit [Ping timeout: 255 seconds]
poguez_ has joined #ruby
chipotle has joined #ruby
apofis has quit [Ping timeout: 250 seconds]
AnoHito has quit [Read error: Connection reset by peer]
AnoHito has joined #ruby
niemcu has quit [Ping timeout: 255 seconds]
einarj has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
einarj has quit [Remote host closed the connection]
shock_one has quit [Remote host closed the connection]
Trynemjoel has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
<peterhil> Mon_Ouie: That only works for a set of scalar values, not for set of arrays (or for a set of sets).
whiteline has quit [Quit: Leaving]
<peterhil> Mine may me a rare use case, but I really need a set of arrays or sets.
Vile` has quit [Ping timeout: 240 seconds]
<Mon_Ouie> Everything works as expected (i.e.in the same way that it would if ab and c weren't sets but, say, integers)
Vile` has joined #ruby
_blizzy_ has quit [Ping timeout: 246 seconds]
<peterhil> Of course I guess there is some other way to do what I want to do, but conceptually I have a set of collections, and I want to remove all subsets.
ascarter has joined #ruby
<peterhil> That gist gives me a 404 error.
ht__ has quit [Ping timeout: 250 seconds]
<peterhil> Ah, I see. The syntax makes it hard to follow that I have the same number of levels...
f4cl3y__ has joined #ruby
safeforge has joined #ruby
<peterhil> Thanks, I'll update the bug report.
sepp2k has joined #ruby
NeverDie has joined #ruby
NeverDie has quit [Client Quit]
whiteline has joined #ruby
whiteline_ has joined #ruby
hanmac has quit [Ping timeout: 244 seconds]
saddad has joined #ruby
_blizzy_ has joined #ruby
bazbing80 has quit [Quit: leaving]
msnyon has joined #ruby
conor__ has joined #ruby
scripore has joined #ruby
poguez__ has joined #ruby
conor__ has quit [Remote host closed the connection]
whiteline_ has quit [Remote host closed the connection]
poguez_ has quit [Ping timeout: 245 seconds]
poguez__ is now known as poguez_
_blizzy_ has quit [Read error: Connection reset by peer]
serivich has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
whiteline has quit [Client Quit]
conor_ has quit [Read error: Connection reset by peer]
Muhannad has quit [Read error: Connection reset by peer]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Oka has joined #ruby
DenSchub has quit [Ping timeout: 245 seconds]
_blizzy_ has joined #ruby
shoutsid has joined #ruby
dopie has joined #ruby
gard has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 260 seconds]
hanmac has joined #ruby
ta has joined #ruby
DenSchub has joined #ruby
DenSchub has quit [Client Quit]
DenSchub has joined #ruby
DenSchub has quit [Client Quit]
dr3w has joined #ruby
DenSchub has joined #ruby
NeverDie has joined #ruby
gard has joined #ruby
harushimo has joined #ruby
fullofcaffeine has joined #ruby
<harushimo> just quick question to the ruby community: Can someone tell me the difference betwen rbenv and rvm?
<harushimo> Its more for my education
<saddad> rvm does more stuff
<pontiki> both are ruby and gem set management systems. they have vastly different approaches to the problem.
<harushimo> That is what I thought
Chau has quit [Quit: Leaving]
<jhass> a third popular choice is chruby
Muhannad has joined #ruby
freerobby has joined #ruby
<harushimo> I was at workshop and someone telling that ruby devs prefer rbenv versuses rvm. I didn't that was true. I agree with point, pontiki
<rippa> never heard about it
rehat has quit [Remote host closed the connection]
<Ox0dea> harushimo: rvm "patches" shell builtins, which is something I'd expect a virus to do.
<pontiki> harushimo: everyone has opinions
<jhass> tbh I think rbenv is the least used one
<harushimo> right
Musashi007 has joined #ruby
<havenwood> harushimo: RVM is over ten-thousand lines of shell while rbenv (and it's ruby installer, ruby-build) are several thousand lines.
<pontiki> i don't know how you'd tell
<havenwood> harushimo: +1 chruby and ruby-install
<harushimo> okay. thanks everyone
<harushimo> i always learn something new out of this channel
<pontiki> of the projects i've worked on with teams, they're about equal between rbenv and rvm
<havenwood> harushimo: RVM supports more systems for installing Ruby. I'm biased, but for a simple installer ruby-install has some real wins over ruby-build.
<pontiki> on one, the dev team used rvm and the devops team used rbenv
<havenwood> pontiki: I'm seeing a lot of chruby these days too! :D
__momak35NS has joined #ruby
<harushimo> okay
<pontiki> havenwood: i only see it here and on my projects -- it seems like no one at work uses it
__momak35NS has left #ruby [#ruby]
<havenwood> pontiki: Probably more common in newly created projects. I'm sure plenty of folk don't have enough reason to switch or are actually using RVM freatures.
<pontiki> when i'm running our local rails newbie meetup i try to remain completely neutral, all have good and bad points
<pontiki> havenwood: i am *sure* that's so, as that's the way it is for most tooling
<havenwood> pontiki: There is only One True Switcher. How dare you blaspheme?
safeforge has quit []
<pontiki> havenwood: i am *made* of blasphemy
* havenwood mutters something about vi and emacs
<pontiki> my daughter the iconoclast inherited it from somewhere, obviously
<harushimo> thanks for answering my questions. I hope I didn't offend anyone. like i said, its more for learning the differences.
<pontiki> i fully support learning
<havenwood> The first rule of Ruby switchers is to not use a Ruby switcher unless you need to switch Rubies.
<pontiki> i also fully support practice and practical comparison
Silox| has joined #ruby
<havenwood> pontiki: ~100 lines of shell is about the right amount of shell. :)
<pontiki> havenwood: might even be too much...
<havenwood> pontiki: touche
khebbie has joined #ruby
mistermocha has joined #ruby
lannonbr has quit [Quit: WeeChat 1.2]
JEG2 has quit [Quit: Connection closed for inactivity]
dinasor has quit [Quit: RAWR IM A DINASOR!!1 (brb)]
JoshL has quit []
<pontiki> by the time i get a script up to about 50 lines i start to think "DAMMIT! i could have done this faster and more expressively in perl/ruby/python..."
<pontiki> then on the flip side, i've taken a 6 line bash script and turned it into 500 lines of ruby, too :D
khebbie has quit [Ping timeout: 250 seconds]
<havenwood> pontiki: yeah, it can be surprisingly concise for some tasks
<eam> my rule is: no branching, no variables
mistermocha has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
marr has quit [Ping timeout: 250 seconds]
scripore has quit [Quit: This computer has gone to sleep]
d2dchat has quit [Remote host closed the connection]
fantazo has joined #ruby
einarj has joined #ruby
eam has quit [Ping timeout: 264 seconds]
devbug_ has joined #ruby
tkuchiki has joined #ruby
amdeskiers has quit [Quit: amdeskiers]
<shevy> no code
deepu has joined #ruby
blue_deref has joined #ruby
conor_ has joined #ruby
deepu has quit [Client Quit]
whiteline has joined #ruby
jeadr has joined #ruby
devbug has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Ping timeout: 246 seconds]
einarj has quit [Ping timeout: 272 seconds]
fullofcaffeine has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
victortyau has quit [Quit: Leaving]
<gambl0re> is there a site where they have a live ruby console?
<Ox0dea> ?pry gambl0re
<ruboto> gambl0re, Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting `binding.pry` directly in your source code. Visit https://pryrepl.org/ or get it now with: gem install pry pry-doc
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<gambl0re> irb is not good for multiline code
rehat has joined #ruby
<Ox0dea> gambl0re: Please elaborate.
<gambl0re> its not good for writing code more than one line
<gambl0re> its confusing
<Ox0dea> gambl0re: Are you aware that you can write your Ruby scripts in, y'know, a file?
<gambl0re> in irb?
<Oka> ._.
<gambl0re> i dont know what you're talking about...
<gambl0re> doesnt matter though. the site oka provided is good enough
eam has joined #ruby
fullofcaffeine has joined #ruby
<havenwood> gambl0re: You can go back and forth between Pry and a text editor.
dopie has quit [Quit: This computer has gone to sleep]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
halcyone3 has quit [Ping timeout: 240 seconds]
krz has joined #ruby
niemcu has joined #ruby
Blaguvest has joined #ruby
paulcsmith has joined #ruby
doublemalt_ has quit [Remote host closed the connection]
<shevy> gambl0re multiline irb works fine, I don't understand why you fail at that
niemcu has quit [Ping timeout: 244 seconds]
radgeRayden has joined #ruby
bmurt has joined #ruby
Coldblackice has quit [Ping timeout: 260 seconds]
iamninja has joined #ruby
dopie has joined #ruby
flegercovateam has quit [Ping timeout: 250 seconds]
mesamoo has quit [Quit: Konversation terminated!]
chouhoulis has quit [Remote host closed the connection]
devoldmx has joined #ruby
ascarter has joined #ruby
AlexRussia has quit [Read error: Connection reset by peer]
iamninja has quit [Ping timeout: 244 seconds]
<dorei> hello
darkf has quit [Ping timeout: 244 seconds]
<miah> gambl0re: irb is for interpreting and executing your code
<miah> you can store your code in a text file, and load it into irb/pry
fullofcaffeine has quit [Remote host closed the connection]
<miah> you can also just execute your code directly with ruby once its in a file
<miah> (or ruby -p but i'll ignore most of that for now)
devoldmx has quit [Ping timeout: 244 seconds]
saddad has quit [Ping timeout: 256 seconds]
saadq has joined #ruby
saadq has left #ruby [#ruby]
halcyone3 has joined #ruby
DLSteve has joined #ruby
mistermocha has joined #ruby
yardenbar has quit [Quit: Leaving]
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
pwnz0r has joined #ruby
mistermocha has quit [Ping timeout: 256 seconds]
conor_ has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
<gambl0re> can somebody help me. http://repl.it/BAqc/4
dimasg has joined #ruby
<havenwood> >> "hello".split
<ruboto> havenwood # => ["hello"] (https://eval.in/414048)
<havenwood> gambl0re: ^
<gambl0re> what?
rafaelfranca has joined #ruby
rafaelfranca has left #ruby [#ruby]
<gambl0re> i put str="hello"
<gambl0re> so i should be able to do str.split()
<jhass> >> str = "hello"; str.split
<ruboto> jhass # => ["hello"] (https://eval.in/414049)
<gambl0re> thats what i did
<gambl0re> oh
<gambl0re> do i do str.split("")
<gambl0re> for each letter to be seperated in the array?
<jhass> ?try
<ruboto> Why don't you try it and see for yourself?
<gambl0re> yes!
<gambl0re> i did it
<jhass> &ri Array#include?
<gambl0re> ok so the str.split("") works
<gambl0re> h,e,l,l,o
<gambl0re> but now i want to compare each letter in the array to vowels array contain vowels in alphabet
<gambl0re> so i puts nested .each loops
<gambl0re> put
<gambl0re> but its not working
chouhoulis has joined #ruby
bruno- has joined #ruby
jhack has joined #ruby
nofxx has joined #ruby
bweston92 has joined #ruby
<dorei> given an array of Integers, can I find the first Integer that's not in there with an one liner?
bruno- has quit [Read error: Connection reset by peer]
conor_ has joined #ruby
<shevy> ?fail
<ruboto> I don't know anything about fail
<shevy> dorei what are you asking? :)
brain_shim has joined #ruby
<shevy> find the first Integer that ... is not in there? what does that mean?
<gambl0re> why the hell is outputting the array? i dont have any puts or print statements
<chris2> a.min-1
<Ox0dea> >> foo = [0, 1, 2, 4]; (0..Float::INFINITY).find { |n| !foo.include? n } # dorei
<ruboto> Ox0dea # => 3 (https://eval.in/414050)
marr has joined #ruby
<gambl0re> do you normally loop through an array using .each?
<Ox0dea> gambl0re: Yes, but you shouldn't be explicitly looping in this case.
doosy has joined #ruby
<Ox0dea> repl.it is outputting the array because it's an evaluator; it displays the value of the last expression.
<dorei> >> foo = [0,0]; (0..Float::INFINITY).find { |n| !foo.include? n }
<ruboto> dorei # => 1 (https://eval.in/414051)
_blizzy_ has quit [Ping timeout: 246 seconds]
<dorei> thanx Ox0dea :)
<Ox0dea> Happy to help.
dimasg has quit [Ping timeout: 252 seconds]
troulouliou_dev has quit [Remote host closed the connection]
dr3w has quit [Quit: WeeChat 1.2]
Evan_ is now known as EvanGuru
halcyone3 has quit [Ping timeout: 265 seconds]
kirun has joined #ruby
ivanskie has joined #ruby
jhack has quit [Remote host closed the connection]
jhack has joined #ruby
Keetonic has joined #ruby
f4cl3y__ has quit [Ping timeout: 260 seconds]
<shevy> hmm is there something like .index that works from the right side?
<havenwood> shevy: rindex
<shevy> aah
<shevy> \o/
lapide_viridi has quit [Quit: Leaving]
Xiti has quit [Quit: Xiti]
jhack has quit [Ping timeout: 256 seconds]
rehat has quit [Remote host closed the connection]
sdwrage has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
<gambl0re> my keyboard is screwed up...opening bracket key is putting ^
AlphaAtom has joined #ruby
<adaedra> looks like another layout is used
ndrei has quit [Ping timeout: 250 seconds]
<gambl0re> its only doing this in the browser
<gambl0re> how do i make it back to normal
<adaedra> OS?
<gambl0re> 7
iamjarvo has joined #ruby
<adaedra> _Windows_ 7, I take
<adaedra> Try Alt-Shift
<miah> OS7, a old mac ;)
<adaedra> eh
iamjarvo has quit [Max SendQ exceeded]
<gambl0re> windows 7!
<adaedra> Otherwise, you should have on your task bar a little case with letters, try clicking on it
ndrei has joined #ruby
iamjarvo has joined #ruby
<gambl0re> i dont see it
saddad has joined #ruby
iamninja has joined #ruby
<adaedra> Alt-Shift didn't work?
<gambl0re> im not using mac
<shevy> linux 7
iamjarvo_ has joined #ruby
<gambl0re> alt shift does nothing
<adaedra> then go in keyboard settings in your control panel
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xiti has joined #ruby
<gambl0re> restarting browser fixed it
<adaedra> great
iamjarvo has quit [Ping timeout: 245 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oleksandriuziko1 has quit [Quit: Leaving.]
michael_mbp has quit [Excess Flood]
jhack has joined #ruby
jhack has joined #ruby
michael_mbp has joined #ruby
Synthead has quit [Quit: Leaving]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
unsymbol has quit [Ping timeout: 246 seconds]
spacemud has quit [Ping timeout: 265 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
unsymbol has joined #ruby
ascarter has joined #ruby
scorp007 has joined #ruby
<scorp007> It looks like Ruby modules never cleanup after themselves in ruby_cleanup. Is that the case?
<scorp007> which means ruby_setup/do stuff/ruby_cleanup repeated a second time will crash
Azure has joined #ruby
ascarter has quit [Max SendQ exceeded]
doosy has quit [Remote host closed the connection]
Synthead has joined #ruby
ascarter has joined #ruby
spacemud has joined #ruby
ascarter has quit [Max SendQ exceeded]
doosy has joined #ruby
dgutierrez1287 has joined #ruby
ascarter has joined #ruby
symm- has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ascarter has quit [Max SendQ exceeded]
cabreraM516 has joined #ruby
DLSteve has quit [Quit: Leaving]
Aridere has joined #ruby
ascarter has joined #ruby
mistermocha has joined #ruby
einarj has joined #ruby
noethics has joined #ruby
zitar has joined #ruby
spacemud has quit [Ping timeout: 260 seconds]
zitar has quit [Client Quit]
Vile` has quit [Quit: .]
einarj has quit [Ping timeout: 265 seconds]
rehat has joined #ruby
mistermocha has quit [Ping timeout: 260 seconds]
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
Vile` has joined #ruby
shock_one has joined #ruby
saddad has quit [Ping timeout: 260 seconds]
FernandoBasso has quit [Quit: May the force be with you.]
spacemud has joined #ruby
AlphaAtom has joined #ruby
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeadr has quit [Remote host closed the connection]
sarkyniin has quit [Read error: No route to host]
sarkyniin has joined #ruby
_blizzy_ has joined #ruby
deepu has joined #ruby
deepu has quit [Client Quit]
blue_deref has quit [Quit: bbn]
postmodern has joined #ruby
yfeldblum has joined #ruby
Vile` has quit [Ping timeout: 265 seconds]
einarj has joined #ruby
zitar has joined #ruby
zitar has quit [Client Quit]
zitar has joined #ruby
Vile` has joined #ruby
shock_one has quit [Remote host closed the connection]
sarkyniin has quit [Ping timeout: 264 seconds]
mom is now known as dad
Keetonic has quit [Ping timeout: 245 seconds]
dgutierrez1287 has quit [Remote host closed the connection]
cabreraM516 has quit [Quit: Textual IRC Client: www.textualapp.com]
dgutierrez1287 has joined #ruby
otisZart has joined #ruby
iateadonut has quit [Quit: Leaving.]
<gambl0re> what does =~ mean?
<gambl0re> elsif letter =~ /[a-zA-Z]/
fp- has quit [Quit: Lingo: www.lingoirc.com]
<ElSif> evaluates to true if `letter` matches the regex
einarj has quit [Remote host closed the connection]
<al2o3-cr> &ri Kernel#=~
<`derpy> No results
weemsledeux has joined #ruby
<havenwood> al2o3-cr: Regexp and String
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby
<al2o3-cr> ah, yeah :)
dopie has quit [Quit: This computer has gone to sleep]
<al2o3-cr> just woke up
codecop has joined #ruby
codecop_ has joined #ruby
<havenwood> gambl0re: In Pry you can check: ? =~
<gambl0re> i dont have pry
<havenwood> gambl0re: gem install pry pry-doc
codecop_ has quit [Client Quit]
wasamasa has quit [Quit: ZNC - http://znc.in]
<gambl0re> no thanks
fullofcaffeine has joined #ruby
<havenwood> gambl0re: Okay, in irb type: help
<havenwood> gambl0re: Then: =~
sdwrage has joined #ruby
<gambl0re> elsif letter == /[a-zA-Z]/ is not the same?
weemsledeux has quit [Max SendQ exceeded]
<nofxx> gambl0re, is letter a regex?
<gambl0re> letter is the placeholder in the .each loop
<gambl0re> str.split(//).each do |letter| ....
dopie has joined #ruby
<nofxx> gambl0re, doesn't matter. What i'm trying to teach you is that == is equality or SAME
<havenwood> gambl0re: str.each_char do
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #ruby
wasamasa has joined #ruby
wasamasa has quit [Changing host]
wasamasa has joined #ruby
<gambl0re> =~ is checking if sometihng matching == is for checking if something is equal/same?
northfurr has joined #ruby
<nofxx> gambl0re, exactly
<gambl0re> k thanks
pwnz0r has left #ruby [#ruby]
User has joined #ruby
User has quit [Max SendQ exceeded]
northfurr has quit [Client Quit]
choke has joined #ruby
leafybasil has quit [Ping timeout: 240 seconds]
sarkyniin has joined #ruby
bruno- has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
devoldmx has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
h4ckurate has joined #ruby
baweaver has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
leafybasil has joined #ruby
zitar has quit [Quit: Leaving]
devoldmx has quit [Ping timeout: 260 seconds]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
platosha has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
wasamasa has quit [Quit: ZNC - http://znc.in]
jackjackdripper has joined #ruby
dgutierrez1287 has joined #ruby
i8igmac has quit [Ping timeout: 272 seconds]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlphaAtom has joined #ruby
blue_deref has joined #ruby
wasamasa has joined #ruby
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
dgutierrez1287 has quit [Ping timeout: 246 seconds]
wasamasa has quit [Client Quit]
wasamasa has joined #ruby
omegamike has joined #ruby
wasamasa has quit [Client Quit]
wasamasa has joined #ruby
wasamasa has quit [Changing host]
wasamasa has joined #ruby
MasterPiece has joined #ruby
ascarter has joined #ruby
choke has joined #ruby
tkuchiki has joined #ruby
doosy has quit [Read error: Connection reset by peer]
doosy has joined #ruby
saddad has joined #ruby
sarkyniin has quit [Ping timeout: 250 seconds]
flegercovateam has joined #ruby
omegamike has quit [Ping timeout: 244 seconds]
cornerma1 has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
sdwrage has joined #ruby
nocturnalviolet has joined #ruby
mistermocha has joined #ruby
knikolov has quit [Ping timeout: 256 seconds]
h4ckurate has quit [Quit: h4ckurate]
cornerman has quit [Ping timeout: 246 seconds]
cornerma1 is now known as cornerman
bricker has joined #ruby
tectonic has joined #ruby
CatMartyn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banister has joined #ruby
Pisuke has joined #ruby
zitar has joined #ruby
sarkyniin has joined #ruby
MyMind has quit [Ping timeout: 244 seconds]
<gambl0re> .gsub(/[aiueo]/, &:upcase) is not working
mistermocha has quit [Ping timeout: 260 seconds]
<gambl0re> i want to upcase all vowels
<gambl0re> using gsub
rehat has quit [Remote host closed the connection]
wasamasa has quit [Quit: ZNC - http://znc.in]
wasamasa has joined #ruby
wasamasa has joined #ruby
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Muhannad has quit [Quit: Leaving]
wasamasa has quit [Client Quit]
wasamasa has joined #ruby
wasamasa has joined #ruby
wasamasa has quit [Client Quit]
wasamasa has joined #ruby
wasamasa has quit [Changing host]
wasamasa has joined #ruby
<shevy> >> 'abcdef'.gsub(/[aiueo]/, &:upcase)
<ruboto> shevy # => "AbcdEf" (https://eval.in/414061)
<shevy> looks upcased!
saddad has quit [Ping timeout: 256 seconds]
wasamasa has quit [Client Quit]
Mendenhall has joined #ruby
wprice has quit [Quit: wprice]
conor_ has quit [Remote host closed the connection]
<gambl0re> i tried that
<gambl0re> it didnt work
dopie has joined #ruby
blue_deref has quit [Quit: bbn]
<jhass> gambl0re: shevy just proved it works
<shevy> gambl0re perhaps you use something else in your code
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> it may be easier to paste on a pastie site the code you use
wasamasa has joined #ruby
wasamasa has quit [Changing host]
wasamasa has joined #ruby
codecop has quit [Remote host closed the connection]
hotpancakes has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 246 seconds]
dopie has quit [Quit: This computer has gone to sleep]
banister has joined #ruby
<shevy> adding initial functionality is usually a lot more work than changing existing functionality
chouhoulis has joined #ruby
chouhoul_ has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
The_Phoenix has joined #ruby
<hays> what is this? is the , an argument name? callBlock { |, | ... }
saddad has joined #ruby
<jhass> someone being too lazy to write |_, _|
<jhass> or just leaving the |..| off really
chouhoulis has quit [Ping timeout: 244 seconds]
rehat has joined #ruby
<jhass> also note that we prefer underscore_case for method names
<hays> we who? im reading the book Programming Ruby. is it out of date?
<hays> hmm maybe not.. callBlock is a function not a method i think
<hays> good to know
<jhass> ruby has no functions
chipotle has quit [Quit: cheerio]
<hays> if i do def blah
<jhass> headlessCamelCase is used nowhere really
<hays> to what class todes that belong
workmad3 has quit [Ping timeout: 250 seconds]
<jhass> at the toplevel? it gets a private method on Object
The_Phoenix has quit [Ping timeout: 244 seconds]
<jhass> >> self.class
<ruboto> jhass # => Object (https://eval.in/414062)
yfeldblum has joined #ruby
jasonbeale has joined #ruby
leafybasil has quit [Read error: Connection reset by peer]
<hays> well who is "we" id like to read those rules if they exist
chipotle has joined #ruby
einarj has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
leafybasil has joined #ruby
<jhass> the vast majority of the ruby community
<jhass> https://github.com/bbatsov/ruby-style-guide is a popular styleguide
doosy has quit [Remote host closed the connection]
mary5030 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<jasonbeale> hi - if I'm accessing a value using the following code: self.new_instance_class.some_method ............how do I test the response of the "some_method" in rspec?
<hays> no PEP 8 equivalent eh
shock_one has joined #ruby
workmad3 has joined #ruby
kirun has quit [Remote host closed the connection]
<jasonbeale> I get the code to work, I just don't know how to do the test
<jhass> what's new_instance_class ?
<jasonbeale> a nested class
bmurt has quit []
<jhass> can't be, self.new_instance_class makes it a method call
<jasonbeale> nested instantiated class*
<jhass> I think you need to show some code
<jhass> ideally without fake names
<jasonbeale> ok, one moment
workmad3 has quit [Ping timeout: 256 seconds]
freerobby has joined #ruby
DoubleMalt has joined #ruby
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
shock_one has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
last_staff has quit [Ping timeout: 244 seconds]
mary5030 has joined #ruby
hotpancakes has quit [Remote host closed the connection]
<ruboto> jasonbeale, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/2bd9ff04a14744b2ea33
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
fullofcaffeine has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> so much for no fake code
mary5030 has quit [Ping timeout: 246 seconds]
<jasonbeale> I'm keeping it simple
<jhass> that won't work, dog_1 is not defined as method and a local variable in initialize
<jhass> ?fake
<ruboto> Please show your real code to illustrate your problem. Using fake code often hides it or won't bring up the best possible solution.
<jasonbeale> oops, should have pasted the following in line 3 : attr_reader :dog_1, :dog_2
<jhass> btw dogClass -> dog_class, we prefer underscore_case for methods and local variables
<jhass> anyway, so you already DPI, just pass in a double
<jasonbeale> dogClass is the class name.
hotpanca_ has joined #ruby
mistermocha has joined #ruby
<jhass> according to your fake(!) example it's just the class object
<jasonbeale> the code works but really its the rspec i'm not sure about
<jhass> dog = double; animal = Animal.new(double(new: dog); expect(dog).to receive(:eat); animal.pick
h4ckurate has joined #ruby
<jasonbeale> brilliant jhass - let me check
AlexAltea has quit [Read error: Connection reset by peer]
AlexAltea has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
mistermocha has quit [Ping timeout: 250 seconds]
dimasg has joined #ruby
zanloy has joined #ruby
skade has joined #ruby
myztic has quit [Ping timeout: 252 seconds]
freerobby has quit [Quit: Leaving.]
mdavid613 has joined #ruby
jamesaxl has quit [Remote host closed the connection]
mdavid613 has quit [Client Quit]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MatthewsFace has joined #ruby
i8igmac has joined #ruby
Mendenhall has quit [Ping timeout: 260 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
FernandoBasso has joined #ruby
iamjarvo has joined #ruby
myztic has joined #ruby
bweston92 has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Max SendQ exceeded]
funnel has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
asaaki has joined #ruby
funnel has joined #ruby
banister has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
paulcsmith has quit [Quit: Be back later ...]
DoubleMalt has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
drewdavis has left #ruby [#ruby]
bmurt has joined #ruby
devoldmx has joined #ruby
omegamike has joined #ruby
brain_shim has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Ping timeout: 255 seconds]
bmurt has quit [Ping timeout: 244 seconds]
zitar has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
omegamike has quit [Ping timeout: 260 seconds]
myztic has quit [Ping timeout: 250 seconds]
dimasg has quit [Ping timeout: 260 seconds]
vdamewood has joined #ruby
MasterPiece has quit [Ping timeout: 245 seconds]
decoponio has quit [Quit: Leaving...]
<kallisti5> if any of the devs get a free moment, could someone review this pull request? Pretty simple. https://github.com/ruby/ruby/pull/984
ndrei has quit [Ping timeout: 244 seconds]
brain_shim has joined #ruby
<ght> Quesstion: As far as execution speed, is a long case statement with many options slow? I'm trying to speed up my app and wondering if a long switch statement is slow, as in, Ruby evaluates each potential option.
ndrei has joined #ruby
PVico has joined #ruby
<ght> Another question: Is there a way to combine a split statement so you do'nt have to have an intermediatry array, when you know you want the first element of the array returned?
Blaguvest has quit []
AlphaAtom has quit [Read error: Connection reset by peer]
<ght> Example: mystring = "bob jim"; arr = mystring.split(" "); newstring = arr[0];
hotpanca_ has quit [Remote host closed the connection]
<ght> Is there any way to skip the "arr = mystring.split(" ")" when you know you're always going to want element 0 in the array returned by .split()?
jhack has quit [Ping timeout: 255 seconds]
brain_shim has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby
Eiam has joined #ruby
myztic has joined #ruby
<Ox0dea> >> 'foo'[0] # ght?
<ruboto> Ox0dea # => "f" (https://eval.in/414067)
<ght> What?
<Ox0dea> Oh, never mind.
<Ox0dea> >> 'foo bar baz'[/\w+/]
<ruboto> Ox0dea # => "foo" (https://eval.in/414068)
Eiam has quit [Client Quit]
<Ox0dea> Although you might want to use \S instead of \w.
tectonic has quit []
<ght> Interesting, so I could use regex instead of .split() to grab all chars up to the space in the string?
j4cknewt has joined #ruby
devbug has joined #ruby
<Ox0dea> That's exactly right.
<ght> Perfect, thank you Ox0dea.
<shevy> "In order for tools on your system to find your locally installed copy of DocBook, you must map these public identifiers into system identifiers"
<Ox0dea> ght: Happy to help.
<shevy> what a fancy description for saying that they have to point towards local files/filenames
fullofcaffeine has quit [Remote host closed the connection]
dopamean_ has quit [Ping timeout: 246 seconds]
hahuang61 has quit [Quit: WeeChat 1.2]
dgutierrez1287 has joined #ruby
ledestin has joined #ruby
dad is now known as ngo_nuong_bbq
Mendenhall has joined #ruby
devbug_ has quit [Ping timeout: 265 seconds]
blue_deref has joined #ruby
swistak35 has quit [Quit: ZNC - http://znc.in]
dopamean_ has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
halcyone3 has joined #ruby
LiquidInsect has quit [Read error: Connection reset by peer]
Miron has quit [Ping timeout: 252 seconds]
lannonbr has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
halcyone3 has quit [Ping timeout: 240 seconds]
dgutierrez1287 has joined #ruby
[k- has quit [Ping timeout: 246 seconds]
Miron has joined #ruby
mdavid613 has joined #ruby
<ght> Question: Say you have an if conditional: if a == 1 || a == 2 || a == 3
MatthewsFace has quit [Remote host closed the connection]
<ght> Is there any way to simply say "if a == 1, 2, or 3"?
<ght> What would the syntax be for that?
<Coraline> [1,2,3].include?(a)
<ght> Thank you sir.
<Coraline> Not a sir, but you're welcome
shinnya has joined #ruby
<ght> Thank you mamn!
chipotle has quit [Quit: cheerio]
<Ox0dea> ght: For reference, it's "ma'am", that being a contraction of "madam".
_blizzy_ has quit [Ping timeout: 246 seconds]
bap1313 has joined #ruby
paulcsmith has joined #ruby
_blizzy_ has joined #ruby
<Ox0dea> ght: More topically, there are better approaches than Array#include? if you're trying to cover a range; are you?
<shevy> which language is better - ruby or python
otisZart has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has joined #ruby
<lannonbr> Define better
<Ox0dea> Which war is worse - language or editor?
<lannonbr> people complaining and not just using what they feel like
<jhass> ?best shevy
<ruboto> shevy, "Best" and "better" are subjective. Try to use a different term.
<jhass> \o/
<shevy> which language is more useful - ruby or python
<jhass> useful for what?
<lannonbr> depends on the individual, shevy
<shevy> to program
<jhass> program what?
<Ox0dea> shevy: Python. Now /part. :P
<shevy> jhass programs
<jhass> what kind of programs?
<shevy> Ox0dea why Python?
<shevy> jhass only the sky is the limit
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea> shevy: Well, what is it that has hitherto prevented you from learning Python?
<jhass> shevy: so nothing interstellar? Ruby should be fine then
<shevy> lannonbr yeah but I am trying to find a definition that would be agnostic of an individual's opinion since that will be biased
<shevy> Ox0dea time is one big reason
<Ox0dea> But what made you pick Ruby?
<shevy> jhass probably not with the current speed of ruby and python :)
<shevy> Ox0dea matz
<Ox0dea> So you hate Guido?
<shevy> Ox0dea what made you pick ruby?
<shevy> Ox0dea why should I hate Guido?
<Ox0dea> Blocks, I guess.
<shevy> blocks are quite nice
<Ox0dea> So many little things since the beginning, but blocks were what initially caught my eye.
<jhass> shevy: what's better, a bandsaw or a bench saw?
<shevy> jhass bench saw hands down
<jhass> that's the kind of question you ask
<shevy> not at all
workmad3 has quit [Ping timeout: 260 seconds]
<jhass> yes it is
devoldmx has joined #ruby
<shevy> you compare a static tool with a flexible programming language
<jhass> you try to define a tool generically superior to another
<jhass> but they're just different tools
<shevy> of course because there are measurements possible that won't be influenced by personal bias
<Ox0dea> shevy: So measure?
<jhass> for specific usecases yes
<shevy> Ox0dea measure how?
<Ox0dea> > there are measurements
<shevy> yep
<havenwood> you challenge my car to a horserace?
<shevy> I did not say that I can do so?
<Ox0dea> havenwood: Is your other car Epona?
<jhass> but you won't believe that your question is pretty much BS either
pepperbreath1 has joined #ruby
<shevy> my question is great
<jhass> it's on a premise you refuse to prove
<jhass> and I say that premise is wrong
<shevy> it's your assumption that my question is not great, however had you are not required to answer it
<jhass> so you're not going to prove your premise?
NeverDie has joined #ruby
<shevy> so you are not answering my question?
<jhass> I did answer your question, by saying it's irrelevant because your premise is wrong
<shevy> you dodged it completely
<havenwood> shevy: Why do we need both Italian and Portuguese? Which is better? Shall we deprecate one?
<shevy> havenwood yes! go english!
<jhass> I think you dodge any argument to it rather
krz has quit [Quit: WeeChat 1.2]
<shevy> I think you don't want to answer it
devoldmx has quit [Ping timeout: 265 seconds]
<havenwood> shevy: Is Italian or Portuguese better for poetry? Opera?
<jhass> you already said that, see my previous answer to that
<shevy> havenwood italian
bruno-_ has joined #ruby
<havenwood> shevy: Okay, so Ruby is better. Question answered!
sinkensabe has joined #ruby
bap1313 has quit [Quit: Leaving]
<havenwood> shevy: (If you aesthetically prefer it and its tools line up with your needs.)
<shevy> yeah that is one possible reason
<jhass> which can be said about any language, hence mmy point in refusing your premise that one could be generically "better"
<havenwood> shevy: There are cultural attitude differences between the communities. Pythonistas prefer to not write any code until it's perfect while Rubyists go ahead and write every possible solution knowing that one must then be perfect.
bruno- has quit [Ping timeout: 260 seconds]
<Ox0dea> >> 3.4.3 > 2.3
<ruboto> Ox0dea # => /tmp/execpad-e2e34b7f3811/source-e2e34b7f3811:2: unexpected fraction part after numeric literal ...check link for more (https://eval.in/414069)
zitar has joined #ruby
<Ox0dea> I'm retarded.
Kalov has quit [Read error: Connection reset by peer]
<Ox0dea> shevy: Anyhow, that should be sufficient to answer your question.
Kalov has joined #ruby
<shevy> Ox0dea you already mentioned one aspect: blocks
<Ox0dea> shevy: Yeah, but look at that version number.
zitar has quit [Client Quit]
<shevy> 3.4.3 is not a thing
<shevy> not even in python :)
zitar has joined #ruby
zitar has quit [Client Quit]
Kallis has joined #ruby
Kallis has quit [Max SendQ exceeded]
mdavid613 has quit [Quit: Leaving.]
ap4y has joined #ruby
<shevy> Interesting to compare the error messages... ruby says "unexpected fraction part after numeric literal", and uses an arrow to point at the last dot; python says "SyntaxError: invalid syntax" and points at the last number with an arrow
_ht has quit [Quit: Konversation terminated!]
<Ox0dea> shevy: Erm, it's the current stable Python release?
<Ox0dea> if : unless :: while : until :: when : ?
<shevy> dunno, I tried on python-3.5.0a4 and python-2.7.10, and ruby-2.2.2p95. I am so glad to no longer have to use older rubies
brain_shim has joined #ruby
<Ox0dea> shevy: Yes, I conceded that I made a syntactic mistake, but the point remains.
<havenwood> shevy: 2.2.2+, hooah!
polyrob_ has joined #ruby
hotpancakes has quit [Remote host closed the connection]
<Ox0dea> shevy: You use an alpha release of Python but not Ruby?
mdavid613 has joined #ruby
<shevy> it's official!
<Ox0dea> Hey, gals! What would you say is the "opposite" of "when"?
<Ox0dea> I've added !== to Ruby. ^_^
polyrob has quit [Ping timeout: 260 seconds]
polyrob_ is now known as polyrob
<Ox0dea> Gonna need an opposite of "when" for "reverse" case statements.
fullofcaffeine has joined #ruby
<shevy> how about "unwhen"
<shevy> or "notwhen"?
<Ox0dea> Could be better.
<shevy> or ... "before"
<shevy> giving names to things is hard
<shevy> Ox0dea what happens to !!==
<havenwood> Ox0dea: when or then?
<Ox0dea> shevy: That's still a syntax error.
<havenwood> Ox0dea: oh, i see
paulcsmith has quit [Ping timeout: 246 seconds]
<shevy> you could use "nehw" for the reverse when. That would keep in line with the bash tradition case/esac ... if/fi ...
<Ox0dea> Stupid `od` breakin' the symmetries.
<Ox0dea> It's a shit compared to `xxd` anyway.
gard has quit [Ping timeout: 256 seconds]
rehat has quit [Read error: Connection reset by peer]
<jhass> case; unless is invalid, so just make it valid?
roolo has joined #ruby
hotpancakes has joined #ruby
phutchins has joined #ruby
tsvenson has quit [Read error: Connection reset by peer]
PaulCapestany has joined #ruby
h4ckurate has quit [Quit: h4ckurate]
fullofcaffeine has quit [Remote host closed the connection]
<Ox0dea> That'll be tricky, but it does seem the best approach.
<Ox0dea> I'll run the !== proposal first, I think.
lannonbr has quit [Quit: WeeChat 1.2]
h4ckurate has joined #ruby
tomphp_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<Ox0dea> `===` gets bytecode-compiled to an optimized instruction. :/ Anybody know how to insns.def?
dseitz has joined #ruby
spacemud has quit [Ping timeout: 240 seconds]
<Ox0dea> Hm... apparently not.
<Ox0dea> >> RubyVM::InstructionSequence.of(-> { Fixnum === 1 }).to_a[13][9]
<ruboto> Ox0dea # => [:opt_send_without_block, {:mid=>:===, :flag=>256, :blockptr=>nil, :orig_argc=>1}] (https://eval.in/414071)
<Ox0dea> That despite the fact that `opt_case_dispatch` is one of the VM's instructions.
spacemud has joined #ruby
Coldblackice has joined #ruby
fenjamin has joined #ruby
unsymbol has quit [Ping timeout: 256 seconds]
systemd0wn has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
atomical has joined #ruby
spacemud has quit [Ping timeout: 246 seconds]
unsymbol has joined #ruby
spacemud has joined #ruby
PhantomSpank has joined #ruby
myztic has quit [Ping timeout: 256 seconds]
pyon has joined #ruby
pyon is now known as Guest33747
Guest33747 has quit [Client Quit]
choke has joined #ruby
dinasor has joined #ruby
ascarter has joined #ruby
mdavid613 has quit [Quit: Leaving.]
casadei_ has joined #ruby
hahuang65 has joined #ruby
roolo has quit [Remote host closed the connection]
choke has quit [Client Quit]
Synthead has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
casadei_ has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby
polyrob- has joined #ruby
j4cknewt has quit [Remote host closed the connection]
fenjamin has quit [Remote host closed the connection]
marr has quit []
polyrob has quit [Ping timeout: 265 seconds]
myztic has joined #ruby
fullofcaffeine has joined #ruby
chouhoulis has joined #ruby
basmoura has joined #ruby
Encapsulation has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 246 seconds]
hotpancakes has quit [Remote host closed the connection]
Musashi007 has joined #ruby
hahuang61 has joined #ruby
Hijiri is now known as Haskell
Haskell is now known as Hijiri
hotpancakes has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jackjackdripper has quit [Quit: Leaving.]