baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
<ramfjord> hehe yeah, that and the entire library. Also I do think that if you don't have named arguments, then if you pass arguments in named syntax they will resolve to a hash in modern ruby versions. So perhaps without dynamically defining the named arguments, you can just have a single parameter in the constructor, and validate the required/optional arguments in the hash you get. ie.
brianpWins has quit [Quit: brianpWins]
<ramfjord> >> def hello(h); puts h.inspect ; end ; hello(named_arg: 123, other: 213)
<ruby[bot]> ramfjord: # => {:named_arg=>123, :other=>213} ...check link for more (https://eval.in/1012881)
<ramfjord> well, the `inspect` isn't super clear, but `h` is a Hash if I print that out as well
cajone has joined #ruby
<ramfjord> also re. your README - I do think most people would classify ruby as a language with multiple inheritance - through mixins
rfoust has joined #ruby
<trevoke> So I definitely had the **kwags before (or rather still have it right now), and I had a custom error and it worked out alright, but a benefit of actual named arguments _might_ be rubymine or other editor support (I wonder how deep their dynamic programming support is, I should try this out...)
<ramfjord> also I kind of agree with @baweaver - if you want to do the command pattern, you can just closure in the arguments to a proc by wrapping the function invocation in ->() { my_func(arg1, arg2, ...) }, and then call that whenever
<trevoke> I'd love to hear "most people"'s reasoned arguments about why composition is the same thing as multiple inheritance :D
<trevoke> And yes, you are absolutely right, I'm aware I can do that. The reasons this exists are complex and varied and much more social than technical.
<ramfjord> composition is having objects in your objects, mixins can define instance variables on your objects, which IMO is more like multipe inhertiance. Consider the Enumerable module. When I mix it in to my Class that has an #each method, it's much like inheriting from a class that's already included Enumerable... I suppose in my mind composition would be if Enumerable were a class, and I had in my object a
<trevoke> So if you want to jump on the "technology doesn't solve social problems" bandwagon, let's please not start, I know, I can't even play devil's advocate.
<ramfjord> reference to an instance of Enumerable.
<trevoke> I believe what you are referring to is dependency injection?
lxsameer has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
<baweaver> Enumerable, Sortable, etc etc. There are a few of them
<ramfjord> well, I would say that dependency injections supplies the types for an object that uses composition
<baweaver> Honestly they're more of interfaces than anything
<ramfjord> or the objects itself
<ramfjord> dependency injection is delegating the attachment of composed objects to an external class
<ramfjord> they are like recent java versions' default interface implementation, which IMO is basically multiple inheritance as well
<baweaver> implements Enumerable
cagomez has quit [Remote host closed the connection]
grilix_ has quit [Read error: Connection reset by peer]
grilix_ has joined #ruby
Azure has quit [Quit: Oops.]
<trevoke> ramfjord: if Ruby has multiple inheritance through mixins, then what's the difference between "X < Y" and "includes Y" ?
cagomez has joined #ruby
<baweaver> social convention, mostly.
<baweaver> Some things are distinctly base objects that are inheritable
<baweaver> Others are a group of behaviors that make sense with an '-able' name
<baweaver> Filterable, Sortable, Enumerable, Reducible, Transducible, Mappable, etc
jeen has joined #ruby
<baweaver> Transducers are fun, but that's one heck of a rabbit hole.
jeen has quit [Client Quit]
Azure has joined #ruby
cagomez has quit [Ping timeout: 256 seconds]
<trevoke> baweaver: no fair your answering the question I'm asking him
<trevoke> How will I know what he's thinking now?
lxsameer has quit [Ping timeout: 244 seconds]
<trevoke> spoiler alert, I agree with your perspective -- _especially_ in Ruby, and I believe that's one of the special things that make Ruby amazing.
<ramfjord> trevoke: that's a good question - and I'd say there isn't much difference in terms of the effect they have. By convention you would make something a module if you don't want to instantiate it, and it will be used in multiple places. Make something a class and use inheritance if you want to instantiate the superclass.
<trevoke> Its almost complete lack of language-enforced conventions allows us to focus almost entirely on *purpose*, and that's really nice.
<ramfjord> >> module Mod; attr_accessor :a ; def initialize() ; @a = 123 ; end ; end ; class B ; include Mod ; end ; B.new.a
<ruby[bot]> ramfjord: # => 123 (https://eval.in/1012882)
<ramfjord> you can even override initialize in a module
<ramfjord> (not recommended)
<trevoke> I've found a large amount of value in remembering that OOP's original focus was on message passing.
<ramfjord> Yeah, ruby might be the most authentic successor to smalltalk in that regard
<baweaver> Small series that goes over how FP can be practically applied to Ruby
<trevoke> I think it's Smalltalk > Erlang > Ruby
<trevoke> Oh, YOU are that guy
<trevoke> I knew your nickname was familiar
<baweaver> AHAHAHAHA
<baweaver> havenwood
<trevoke> I've started sharing this at work as a way to tell people to not be scared of "functional" programming
<agent_white> trevoke: Sandy Metz I think engrained message passing in me :) That and proper abstractions.
<trevoke> I liked when Sandi appeared on the scene, I think it helped a bunch.
<havenwood> baweaver: *high five*
<baweaver> baweaver == B.A. Weaver == Brandon Weaver == lemur == keystonelemur
<trevoke> Okay well I'm just Trevoke
<baweaver> Hello Just Trevoke
<baweaver> At least you're not None Trevoke
<trevoke> You may know me as the author of SGFParser (or, like, not)
<agent_white> She's amazing. First I've seen/read that speaks entirely my language; I hope I getta see a presentation of hers in person someday.
* trevoke slaps baweaver around with a large trout
<baweaver> Fishy fishy
<trevoke> agent_white: if you haven't read POODR yet, do it. It's basically the book I would have written if I had had the time and the experience.
<baweaver> I routinely do bad things to Ruby
<trevoke> It really simplified my approach to teaching people how to write Ruby code
<trevoke> Yeah, I saw the .. Qa gem? Qo? Qox? Something?
<agent_white> trevoke: It's sitting on my shelf :) Definitely a must have I think.
<baweaver> Just wait until the Lemur Book exists
<baweaver> Qo, Mf, Sf, Xf, among others
<baweaver> The Lemurs are more than just a motif, we'll put it that way :)
<trevoke> The thing about POODR though is that it's good for message-passing design but it's not actually about Ruby at all
<havenwood> Chunky bacon! \o/
<baweaver> but it also explains why I mysteriously stopped writing articles a few weeks back
<trevoke> Good to know that _why's spirit is alive and well.
<agent_white> trevoke: I think that's why I love it. It changed the way I think about OOP design as a whole.
<baweaver> The two books that started me on Ruby were Why's guide and Eloquent Ruby
<trevoke> Eloquent Ruby is good. My recommendations to get people started are POODR and Avdi Grimm's Confident Ruby
<trevoke> Confident Ruby is a treasure trove of idiomatic Ruby
<baweaver> avdi occasionally hangs around the channel too
<baweaver> though he's more often on Twitter nowadays.
<trevoke> I ran across him a few times a few years ago. I was still relatively starstruck and didn't know how to approach him. Now I think I could totally have a real human conversation with him.
orbyt_ has joined #ruby
<trevoke> Anyway. Point being, when you can focus on message passing then everything becomes about, as Sandi would put it, "which object, existing or not, should receive this message?" and it's a very helpful little refactoring mantra.
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
eelster has joined #ruby
<trevoke> And even back to my horrible horrible code, I got it to work by doing a class eval of a string version of the self.new method and it's pretty much the absolute worst Ruby code I've written in my entire life.
<trevoke> The only reason I wrote this in the first place is because someone wrote an abstract class to do the command pattern in this codebase I'm working with and it's just ... painfully boilerplatey
<trevoke> And I told someone that if I had to use any kind of defined contract, I was going to do it via a DSL because that was how I could eat the most boilerplate.
<trevoke> ... Then I got drunk.
gix has joined #ruby
gix- has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
lxsameer has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
karapetyan has joined #ruby
herbmillerjr has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
cyberg has quit [Quit: Leaving]
lxsameer has joined #ruby
noobineer has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 260 seconds]
emilford has quit [Ping timeout: 268 seconds]
emilford has joined #ruby
tolerablyjake has quit [Quit: Textual IRC Client: www.textualapp.com]
lxsameer has quit [Ping timeout: 260 seconds]
cagomez has joined #ruby
lxsameer has joined #ruby
ogres has joined #ruby
gizmore|2 has joined #ruby
cagomez has quit [Ping timeout: 248 seconds]
gizmore has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
emilford has quit [Ping timeout: 244 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
arquebus has joined #ruby
bga57 has quit [Quit: Leaving.]
emilford has joined #ruby
arquebus has quit [Client Quit]
maxirater has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
maxirater has quit [Client Quit]
maxirater has joined #ruby
cadillac_ has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
emilford has quit [Ping timeout: 260 seconds]
venmx has joined #ruby
jameser has joined #ruby
emilford has joined #ruby
maxirater has quit [Quit: Konversation terminated!]
eblip has joined #ruby
noobineer has joined #ruby
emilford has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
emilford has joined #ruby
hirocaster has joined #ruby
Dimik has joined #ruby
mwlang has quit [Quit: mwlang]
GodFather has quit [Ping timeout: 248 seconds]
venmx has quit [Ping timeout: 248 seconds]
cadillac_ has joined #ruby
veloutin has quit [Quit: ZNC - http://znc.in]
veloutin has joined #ruby
emilford has quit [Ping timeout: 268 seconds]
karapetyan has joined #ruby
emilford has joined #ruby
willmichael has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 256 seconds]
karapetyan has quit [Ping timeout: 256 seconds]
shinnya has joined #ruby
emilford has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
emilford has joined #ruby
weaksauce has quit [Max SendQ exceeded]
hirocaster has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
alfiemax has quit [Ping timeout: 268 seconds]
kmurphy4 has quit [Quit: kmurphy4]
emilford has quit [Ping timeout: 240 seconds]
noobineer has quit [Ping timeout: 256 seconds]
kmurphy4 has joined #ruby
weaksauce has joined #ruby
lxsameer has joined #ruby
eblip has quit [Quit: WeeChat 2.0.1]
jrafanie has joined #ruby
emilford has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
govg has quit [Ping timeout: 260 seconds]
alfiemax has quit [Ping timeout: 260 seconds]
lxsameer has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sylario has quit [Quit: Connection closed for inactivity]
emilford has quit [Ping timeout: 244 seconds]
beefjoe70 has quit [Remote host closed the connection]
sanscoeur has joined #ruby
kmurphy4 has quit [Quit: kmurphy4]
emilford has joined #ruby
cadillac_ has quit [Quit: I quit]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
cadillac_ has joined #ruby
emilford has quit [Ping timeout: 260 seconds]
emilford has joined #ruby
braincrash has quit [Quit: bye bye]
Dimik has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
emilford has quit [Ping timeout: 248 seconds]
emilford has joined #ruby
braincrash has joined #ruby
emilford has quit [Ping timeout: 276 seconds]
emilford has joined #ruby
venmx has quit [Ping timeout: 256 seconds]
cagomez has joined #ruby
tdy has quit [Ping timeout: 248 seconds]
lxsameer has quit [Ping timeout: 260 seconds]
Sammichmaker has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
emilford has quit [Ping timeout: 240 seconds]
rfoust has quit [Ping timeout: 276 seconds]
emilford has joined #ruby
emilford has quit [Ping timeout: 260 seconds]
grilix_ has quit [Ping timeout: 248 seconds]
emilford has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
\void has quit [Ping timeout: 256 seconds]
emilford has quit [Ping timeout: 244 seconds]
ogres has quit [Quit: Connection closed for inactivity]
\void has joined #ruby
govg has joined #ruby
emilford has joined #ruby
memo1 has joined #ruby
lxsameer has joined #ruby
jamesaxl has quit [Quit: WeeChat 2.1]
sanscoeur has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
tdy has joined #ruby
rkazak has joined #ruby
kapil___ has joined #ruby
emilford has quit [Ping timeout: 268 seconds]
emilford has joined #ruby
alfiemax_ has joined #ruby
donofrio has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
sytherax has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ogres has joined #ruby
emilford has quit [Ping timeout: 240 seconds]
NightMonkey has quit [Ping timeout: 256 seconds]
dviola has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 256 seconds]
dviola has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
emilford has joined #ruby
ryzokuken has quit [Quit: Ping timeout (120 seconds)]
ryzokuken has joined #ruby
thapakazi has joined #ruby
emilford has quit [Ping timeout: 260 seconds]
emilford has joined #ruby
catbusters has joined #ruby
NightMonkey has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
emilford has quit [Ping timeout: 244 seconds]
emilford has joined #ruby
TinkerT_ has quit [Read error: Connection reset by peer]
TinkerT has joined #ruby
emilford has quit [Ping timeout: 244 seconds]
cagomez has quit [Remote host closed the connection]
lxsameer has joined #ruby
reber has joined #ruby
conta has joined #ruby
pookie is now known as olspookishmagus
emilford has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
<baweaver> Radar: What are you trying to make a server for?
<baweaver> The best I can think of is if someone shimmed Ruby bindings onto OpenSSH or something
<dminuoso> agent_white: functional programming also changed the way I think about design as a whole.
emilford has quit [Ping timeout: 244 seconds]
<dminuoso> And it certainly changed the way I think about OOP design.
<dminuoso> :P
conta has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
emilford has joined #ruby
conta has joined #ruby
ta_ has joined #ruby
alfiemax has joined #ruby
conta has quit [Ping timeout: 240 seconds]
bga57 has joined #ruby
<Radar> baweaver: to receive file uploads from some of our clients
<Radar> baweaver: these people do not speak HTTP
emilford has quit [Ping timeout: 240 seconds]
<baweaver> Can you not use OpenSSH?
eckhardt has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> baweaver: I rested my eyes, wrote tests, started over, and finished. Phew!
emilford has joined #ruby
<baweaver> You closed your eyes?
<havenwood> Pure Ruby SipHash 1-3 and 2-4 gem released! https://github.com/havenwood/digest-sip_hash
<baweaver> Only for a moment and the moment's gone.
ta_ has quit [Remote host closed the connection]
<baweaver> Heretic.
ta_ has joined #ruby
<havenwood> hahaha
<baweaver> So it was just the endian bracket then?
conta has joined #ruby
<baweaver> Y'know, that's the problem when you get a good cache of Ruby knowledge
<baweaver> ya skip the tests, then spend 20x longer manually debugging it
* baweaver is supremely guilty of this
<havenwood> baweaver: Yeah, that got empty strings working. Then when I added more tests I realized I'd broken compaction at some point and had to redo a bunch, hah.
sauvin has joined #ruby
<havenwood> It weighs in at 125 lines.
<havenwood> One thing I really don't like is that I pass @buffer between classes.
emilford has quit [Ping timeout: 248 seconds]
ta_ has quit [Ping timeout: 244 seconds]
emilford has joined #ruby
<baweaver> Could probably compact the compress method a bit.
conta has quit [Ping timeout: 244 seconds]
<havenwood> baweaver: yeah, that's just mimicking the reference C implementation
<havenwood> line for line
<baweaver> 74, 78, 81, and 84 look like they could just be moved up a line as just an (v) ^ other
<havenwood> nice
<baweaver> you have tests?
* baweaver forky forks
dviola has quit [Quit: WeeChat 2.1]
<havenwood> baweaver: just 13 assertions at this point - I'll fill more in
<havenwood> run em with: rake
<havenwood> :-D
<havenwood> I need to fill in a readme too. It's 1-3 by default, but supports arbitrary rounds.
emilford has quit [Ping timeout: 260 seconds]
<havenwood> I made it depend on Ruby 2.5... muahahahaha
autojack has joined #ruby
<baweaver> cannot load such file -- digest/sip_hash/version (LoadError)
<baweaver> Well it doesn't like 2.5.1
lxsameer has joined #ruby
<havenwood> err, should like 2.5.1
<havenwood> hrmmmm
<havenwood> what'd i mess up?
<baweaver> looks fine to me
<baweaver> odd
<havenwood> works on my machine ¯\_(ツ)_/¯
<havenwood> hmmm
<baweaver> ruby 2.5.1p57 (2018-03-29 revision 63029)
<havenwood> same to the revision
<autojack> I'm trying to create a scenario where I open a lot of files without closing the file handles, and thus trigger a "Too many open files" exception. but I'm surprised to find that Ruby seems to silently close the fd's on me to keep itself under the system limit. so Dir["./*"].each { |f| File.new(f) } doesn't error no matter how many files are in my directory. anyone know why?
<havenwood> baweaver: I uninstalled it and reinstalled it, no error. How odd.
UncleCid__ has joined #ruby
<autojack> (I'm trying to do this as part of a troubleshooting simulation, if you're curious)
<baweaver> fresh install and clone. Interesting
<havenwood> baweaver: what causes the error? tests?
<baweaver> yep
<baweaver> rake
<autojack> I've set the limit for my user to 1000 and confirmed it with 'ulimit -n'
<havenwood> baweaver: oops, test fail if gem is uninstalled because of a load path issue...
<havenwood> baweaver: yeah, i can reproduce without gem installed
emilford has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
<baweaver> autojack - reading around but not finding much that looks interesting - https://ruby-doc.org/core-2.5.0/File.html#method-c-new
karapetyan has joined #ruby
<baweaver> Might see if there's a way to log open file descriptor counts
<autojack> yeah, well I can check how many are open with lsof
<baweaver> That may be interesting
<autojack> so for example with the limit set at 1000, if I lsof I see about 700 open. if I bump the limit to 10,000, lsof will show about 8000 open.
<autojack> in a directory that has 100k files.
<havenwood> baweaver: fix pushed
<havenwood> baweaver: thanks for the heads up!
duderonomy has joined #ruby
lxsameer has quit [Ping timeout: 268 seconds]
Asher has quit [Ping timeout: 248 seconds]
<autojack> baweaver: I found https://stackoverflow.com/questions/40597488/ruby-too-many-open-files-rb-sysopen which suggests that Ruby *would* throw an exception.
<autojack> I am guessing something changed in a newer version of Ruby.
karapetyan has quit [Ping timeout: 256 seconds]
anisha has joined #ruby
<baweaver> havenwood: offset = @size / 8 * 8
* baweaver scratches head
<havenwood> >> 33 / 8 * 8
<ruby[bot]> havenwood: # => 32 (https://eval.in/1012959)
<baweaver> ah
<baweaver> right, int division
<havenwood> baweaver: yeah, that's really weird looking
Azure|dc has joined #ruby
Azure has quit [Read error: Connection reset by peer]
<havenwood> baweaver: maybe subtract the modulo remainder? seems that'd work
<baweaver> flooring it to nearest 8 divisible
<havenwood> offset = @size - @size % 8
<havenwood> baweaver: yeah, anything reads better, haha
<baweaver> @size - r
schleppel has joined #ruby
<havenwood> baweaver: oh, right! perfect
<havenwood> ooh, 0.step(by: 8, to: 48)
cadillac_ has quit [Ping timeout: 248 seconds]
<havenwood> for some reason i thought those steps weren't uniform >.>
aupadhye has joined #ruby
<baweaver> 6.times { |i| last |= @buffer[offset + i].ord << 8 * (6 - i) if r > i }
<baweaver> Or something close to it
<havenwood> baweaver: nice, i like that
<baweaver> 7 though on the times
<havenwood> baweaver: way better, thanks!
<baweaver> crashes though
autojack has left #ruby [#ruby]
<havenwood> i got a variant working
cadillac_ has joined #ruby
<baweaver> Aha, found it
<baweaver> index reverses too
<baweaver> havenwood: what did you use?
<havenwood> baweaver: here, i'll push it unless you want to commit yours!
<baweaver> Na, go for it
<havenwood> baweaver: much better, tyty
<baweaver> If it's 8 though I keep wanting to think there's a way to do it with slices or bytes
<havenwood> hmmmmm
<baweaver> though it's jagged
phaul has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
<baweaver> Scroll of summons! eam!
<baweaver> havenwood is making a sip hash
<baweaver> we need your wizardry with bit magics to make it better
<baweaver> ...I should really be writing more right now
<baweaver> goal is to finish 3-5 chapters in the time I said it'd take me to do 1
<baweaver> :D
biberu has joined #ruby
lxsameer has joined #ruby
amar has joined #ruby
<Radar> typical author
<Radar> ONE OF US
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 256 seconds]
amar has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 255 seconds]
Axy has joined #ruby
phaul has joined #ruby
Mia has quit [Ping timeout: 245 seconds]
anisha_ has joined #ruby
anisha has quit [Read error: Connection reset by peer]
ogres has quit [Quit: Connection closed for inactivity]
ta_ has joined #ruby
minimalism has quit [Quit: minimalism]
Axy has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
csk157 has joined #ruby
Axy has joined #ruby
Asher has joined #ruby
Mia has quit [Ping timeout: 244 seconds]
TomyWork has joined #ruby
OS-35301 has joined #ruby
catbusters has quit [Quit: Connection closed for inactivity]
Asher has quit [Ping timeout: 268 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #ruby
sysvalve has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
conta has joined #ruby
reber has quit [Quit: Leaving]
vinothvkr has left #ruby ["Leaving"]
p0p0pr37_ has joined #ruby
canton7 has quit [Ping timeout: 245 seconds]
p0p0pr37 has quit [Ping timeout: 260 seconds]
p0p0pr37_ is now known as p0p0pr37
aufi has joined #ruby
sytherax has quit [Remote host closed the connection]
canton7 has joined #ruby
aupadhye has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
gizmore|2 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
venmx has joined #ruby
lystra_ has quit [Ping timeout: 265 seconds]
agent_white has quit [Ping timeout: 268 seconds]
ramfjord has joined #ruby
lystra_ has joined #ruby
lxsameer has joined #ruby
aupadhye has quit [Ping timeout: 248 seconds]
aupadhye has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
dminuoso has quit [Changing host]
dminuoso has joined #ruby
sytherax has joined #ruby
ellcs has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
wget has quit [Ping timeout: 240 seconds]
wget has joined #ruby
wget has joined #ruby
wget has quit [Changing host]
phaul has quit [Ping timeout: 276 seconds]
\void has quit [Quit: So long, and thanks for all the fish.]
kapil___ has quit [Quit: Connection closed for inactivity]
eelster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 244 seconds]
suukim has joined #ruby
phaul has joined #ruby
alex`` has quit [Ping timeout: 276 seconds]
bga57 has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
agent_white has joined #ruby
mikecmpbll has joined #ruby
guille-moe has joined #ruby
sphenxes has joined #ruby
arkinor has joined #ruby
ur5us has joined #ruby
agent_white has quit [Ping timeout: 256 seconds]
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
thapakazi has quit [Ping timeout: 276 seconds]
OS-35301 has quit [Quit: Textual IRC Client: www.textualapp.com]
Puffball has quit [Read error: Connection reset by peer]
pskosinski has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
DTZUZO has quit [Ping timeout: 260 seconds]
yohji has joined #ruby
mrBen2k2k2k_ has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
ellcs has quit [Ping timeout: 276 seconds]
alex`` has joined #ruby
NL3limin4t0r has joined #ruby
alex`` has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
plexigras has joined #ruby
KeyJoo has quit [Remote host closed the connection]
pskosinski has joined #ruby
agent_white has quit [Ping timeout: 260 seconds]
ellcs has joined #ruby
govg has quit [Quit: leaving]
lxsameer has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
OS-35301 has joined #ruby
lxsameer has joined #ruby
agent_white has joined #ruby
madsen has joined #ruby
conta1 has joined #ruby
mikecmpb_ has joined #ruby
madsen has left #ruby [#ruby]
mikecmpbll has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 245 seconds]
conta1 is now known as conta
docyam2 has joined #ruby
docyam2 has quit [Client Quit]
marens has quit [Remote host closed the connection]
marens has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
karapetyan has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37 has quit [Ping timeout: 256 seconds]
p0p0pr37_ is now known as p0p0pr37
karapetyan has quit [Ping timeout: 256 seconds]
Nussi has joined #ruby
venmx has joined #ruby
conta1 has joined #ruby
conta has quit [Read error: Connection reset by peer]
conta1 has quit [Client Quit]
saTchymoto has joined #ruby
conta has joined #ruby
aakp has joined #ruby
conta1 has joined #ruby
conta has quit [Ping timeout: 244 seconds]
conta1 is now known as conta
aakp has quit [Quit: aakp]
aufi has quit [Remote host closed the connection]
aufi has joined #ruby
howdoi has joined #ruby
conta has quit [Ping timeout: 245 seconds]
sytherax has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
sytherax has joined #ruby
karapetyan has joined #ruby
sytherax has quit [Remote host closed the connection]
n3b has quit [Ping timeout: 240 seconds]
n3b has joined #ruby
roshanavand has joined #ruby
mikecmpb_ has quit [Quit: inabit. zz.]
jameser has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
reber has joined #ruby
OS-35301 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gregf_ has joined #ruby
OS-35301 has joined #ruby
Deknos has joined #ruby
tomeaton17 has quit [Quit: ZNC 1.7.0 - https://znc.in]
conta has joined #ruby
tomeaton17 has joined #ruby
tvw has joined #ruby
conta has quit [Ping timeout: 248 seconds]
bga57 has joined #ruby
conta has joined #ruby
nfk has joined #ruby
OS-35301 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
micutzu has quit [Ping timeout: 245 seconds]
anisha_ has quit [Ping timeout: 276 seconds]
Asher has joined #ruby
Mike11 has joined #ruby
GodFather has joined #ruby
OS-35301 has joined #ruby
micutzu has joined #ruby
Londino has joined #ruby
anisha_ has joined #ruby
phaul has joined #ruby
apparition has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
conta1 has joined #ruby
conta has quit [Ping timeout: 276 seconds]
conta1 is now known as conta
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
agent_white has quit [Ping timeout: 256 seconds]
ellcs has quit [Ping timeout: 244 seconds]
micutzu has quit [Ping timeout: 240 seconds]
KeyJoo has joined #ruby
cschneid has joined #ruby
micutzu has joined #ruby
emilford has quit [Ping timeout: 256 seconds]
emilford has joined #ruby
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
cschneid has quit [Ping timeout: 244 seconds]
ur5us has quit [Remote host closed the connection]
wolfshappen has quit [Ping timeout: 264 seconds]
p0p0pr37_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
p0p0pr37 has quit [Ping timeout: 260 seconds]
p0p0pr37_ is now known as p0p0pr37
wolfshappen has joined #ruby
alfiemax has quit [Remote host closed the connection]
guille-moe has quit [Ping timeout: 240 seconds]
Mike11 has quit [Quit: Leaving.]
memo1 has quit [Ping timeout: 244 seconds]
Londino has quit [Quit: Page closed]
karapety_ has joined #ruby
ramfjord has joined #ruby
guille-moe has joined #ruby
alfiemax has joined #ruby
karapetyan has quit [Ping timeout: 268 seconds]
ramfjord has quit [Ping timeout: 255 seconds]
AJA4350 has joined #ruby
Azure|dc has quit [Read error: Connection reset by peer]
Azure has joined #ruby
donofrio has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
zapata has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
zapata has joined #ruby
synthroid has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
clemens3 has joined #ruby
beefjoe70 has joined #ruby
karapety_ has quit [Remote host closed the connection]
sj0rz has joined #ruby
cyberg has joined #ruby
karapetyan has joined #ruby
Londino has joined #ruby
conta has quit [Remote host closed the connection]
conta has joined #ruby
conta has quit [Client Quit]
ellcs has joined #ruby
guille-moe has quit [Ping timeout: 248 seconds]
mostlybadfly has joined #ruby
phaul has quit [Ping timeout: 244 seconds]
<Londino> Hello guys and good morning to those of you on the other side of the pond. Although i can iterate through a table in WATIR, i can't, for the life of me, form the logic that would enable me to tick checkboxes based on whether a particular string value exists or not on the same row as each checkbox.
<Londino> Can anyone offer me some assistance/guidance? I can supply sample HTML code if needed, although i'm pretty sure that what i'm asking is fairly common. It's just that my incompetence doesn't allow me to progress further.
Deknos has left #ruby [#ruby]
t0xik has quit [Quit: Connection closed for inactivity]
phaul has joined #ruby
micutzu has quit [Ping timeout: 268 seconds]
Puffball has joined #ruby
dendazen has joined #ruby
RougeR has joined #ruby
miko_ has joined #ruby
<dendazen> guys i have a ruby application which i start with unicorn, in my environment i use rbenv and bundler. my 'bundle show' output is this https://gist.github.com/dumbda/897aec5f2d818487fe69eab84568d875. my .bundle/config output is https://gist.github.com/dumbda/7e4aa07c7224b5b4b1b43a8826a803f3 When i start my application with 'bundle exec unicorn -c unicorn-configuration.rb -d' i get this error
<dendazen> why bundler/runtime.rb can't load my gems?
jatto has joined #ruby
bmurt has joined #ruby
amar has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
f3ttX] has joined #ruby
alfiemax has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
k0mpa has joined #ruby
eduwendy has joined #ruby
<eduwendy> Am I doing this wrong? {a:[1,2]}.dig(:a, 0) => nil
<eduwendy> 2.3.1
<z64> i get `1` on 2.5.0
tomeaton17 has quit [Quit: ZNC 1.7.0 - https://znc.in]
miko_ has quit [Quit: Page closed]
karapetyan has quit [Remote host closed the connection]
tomeaton17 has joined #ruby
<eduwendy> I swear this was working yesterday :/
karapetyan has joined #ruby
<z64> i also get `1` on 2.3.1
<eduwendy> It's a git bisect job. It would appear that something has crept into our codebase that changes the behaviour :O
<z64> gonna say that i dont think you're operating on the data you think you are
TomyWork has quit [Ping timeout: 240 seconds]
zautomata has joined #ruby
<eduwendy> z64: Thanks for checking. Was that last comment for me?
TomyWork has joined #ruby
bipul has quit [Changing host]
<z64> bout all i can say without more information. seems to be working fine
bipul has joined #ruby
zautomata has quit [Changing host]
zautomata has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
micutzu has joined #ruby
jottr has joined #ruby
orbyt_ has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
orbyt_ has quit [Client Quit]
karapetyan has joined #ruby
mzo has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
rfoust has joined #ruby
claw has quit [Ping timeout: 245 seconds]
eduwendy has quit [Quit: Page closed]
ams__ has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
claw has joined #ruby
roshanavand has quit [Ping timeout: 276 seconds]
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
p0p0pr37_ has joined #ruby
jatto has quit [Ping timeout: 240 seconds]
p0p0pr37 has quit [Ping timeout: 240 seconds]
p0p0pr37_ is now known as p0p0pr37
phaul has joined #ruby
shenghi has quit [Quit: WeeChat 2.0.1]
shenghi has joined #ruby
beefjoe70 has quit [Remote host closed the connection]
stopboylovers has joined #ruby
<stopboylovers> Ex wasington times reporter Robert Stacy exposes ruby's pedophile love code of conduct enforced by daniels and drafted by a pedophile: http://theothermccain.com/2018/05/30/coraline-ada-ehmke-transgender-feminist-satanic-sjw/ https://8ch.net/pol/res/11616373.html
claudiuinberlin has quit [Ping timeout: 268 seconds]
<stopboylovers> This is your ruby conference keynote speaker pedophile exposed ^^^^
<dminuoso> !ops
<helpa> baweaver bricker mikecmpbll Necromancer Radar sevenseacat smathy workmad3
<ruby[bot]> dminuoso: ops currently in #ruby: havenwood, Mon_Ouie, Radar, apeiros, baweaver, drbrain, jhass, miah and ruby[bot]
karapetyan has quit [Remote host closed the connection]
<stopboylovers> oh vey shut it down!
<dminuoso> Radar: your helpa is lying!
<apeiros> !ban stopboylovers bye
stopboylovers was kicked from #ruby by ruby[bot] [bye]
* apeiros should provide better ban reasons for fellow other ops :-|
<apeiros> thx dminuoso
sphenxes has quit [Read error: Connection reset by peer]
Rapture has joined #ruby
alex`` has joined #ruby
<apeiros> now I wonder whether I should fully read those links or whether that'll actually make me dumber…
roshanavand has joined #ruby
banisterfiend has joined #ruby
tvw has quit [Read error: Connection reset by peer]
phaul has quit [Ping timeout: 240 seconds]
ellcs has quit [Ping timeout: 248 seconds]
saTchymoto has quit []
phaul has joined #ruby
karapetyan has joined #ruby
arquebus has joined #ruby
arquebus has quit [Client Quit]
maxirater has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> apeiros: You have a paper talking about functional references, and you have a link from a troll mentioning "transgender", "feminist" and "satantic"
<dminuoso> One makes you smarter, the other likely does not.
<apeiros> I guess I'll continue watching this anime then. doesn't make me smarter, but it's entertaining.
banisterfiend has joined #ruby
alex`` has quit [Ping timeout: 248 seconds]
Londino has quit [Quit: Page closed]
alex`` has joined #ruby
codymj has joined #ruby
amar has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
maxirater has quit [Quit: Konversation terminated!]
guille-moe has joined #ruby
dinfuehr has quit [Ping timeout: 244 seconds]
dinfuehr has joined #ruby
GodFather has quit [Ping timeout: 268 seconds]
synthroid has quit [Remote host closed the connection]
jrafanie has joined #ruby
dionysus69 has quit [Quit: dionysus69]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
<href> er
yohji has quit [Ping timeout: 260 seconds]
phaul has quit [Ping timeout: 245 seconds]
yohji has joined #ruby
cadillac_ has quit [Ping timeout: 244 seconds]
cadillac_ has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
mzo has quit [Ping timeout: 240 seconds]
stopboylovers has quit [Quit: Page closed]
banisterfiend has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
OS-35301 has quit [Quit: Textual IRC Client: www.textualapp.com]
ramfjord has quit [Ping timeout: 240 seconds]
thapakazi has joined #ruby
f3ttX] has quit [Remote host closed the connection]
csk157 has quit [Quit: WeeChat 2.1]
Tempesta has quit [Quit: See ya!]
Mike11 has joined #ruby
cschnei__ has joined #ruby
biberu has quit []
psychicist__ has joined #ruby
Tempesta has joined #ruby
SeepingN has joined #ruby
rippa has joined #ruby
synthroid has joined #ruby
sytherax has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
naquad has quit [Quit: ZNC - http://znc.in]
naquad has joined #ruby
jjwhoops has joined #ruby
naquad has left #ruby [#ruby]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
sytherax has quit [Ping timeout: 260 seconds]
jottr has quit [Ping timeout: 256 seconds]
RougeR has quit [Ping timeout: 244 seconds]
vondruch has quit [Ping timeout: 256 seconds]
grilix_ has joined #ruby
KeyJoo has quit [Read error: Connection reset by peer]
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
p0p0pr37_ has joined #ruby
hojuruku has joined #ruby
p0p0pr37 has quit [Ping timeout: 256 seconds]
p0p0pr37_ is now known as p0p0pr37
DTZUZO has joined #ruby
<hojuruku> http://theothermccain.com/2018/05/30/coraline-ada-ehmke-transgender-feminist-satanic-sjw/ rubycon keynote speaker exposed as a SJW OTO.org (toddler orgy ritual cult) who made the creator "covenant" pedophilia normalization manifesto: https://8ch.net/pol/res/11616373.html Corey's rival anti-sjw devs are tweeting it out: https://twitter.com/pmjones/status/1002186358813798401
jottr has joined #ruby
aufi has quit [Ping timeout: 268 seconds]
sj0rz has left #ruby ["l8r"]
n3b has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
GodFather has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
grilix_ has quit [Quit: Ooops]
cagomez has joined #ruby
apparition has quit [Quit: Bye]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
n3b has joined #ruby
psychicist__ has quit [Ping timeout: 256 seconds]
<havenwood> !troll hojuruku
hojuruku was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
synthroid has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 245 seconds]
amar has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 240 seconds]
amar has joined #ruby
dbugger_ has joined #ruby
conta1 has joined #ruby
bhaak has quit [Ping timeout: 240 seconds]
bhaak has joined #ruby
arkinor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has joined #ruby
OS-35301 has joined #ruby
jcarl43 has joined #ruby
synthroid has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
grilix has joined #ruby
sysvalve has quit [Quit: Leaving]
amar has quit [Ping timeout: 244 seconds]
cajone has quit [Ping timeout: 240 seconds]
TomyWork has quit [Ping timeout: 240 seconds]
dbugger_ has quit [Ping timeout: 276 seconds]
russt has quit [Quit: That's all, folks!]
russt has joined #ruby
dbugger_ has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
dbugger_ has quit [Read error: Connection reset by peer]
eckhardt has joined #ruby
dbugger__ has joined #ruby
thapakazi has quit [Ping timeout: 240 seconds]
psychicist__ has joined #ruby
dbugger__ has quit [Read error: Connection reset by peer]
dbugger_ has joined #ruby
thapakazi has joined #ruby
OS-35301 has quit [Quit: Textual IRC Client: www.textualapp.com]
cajone has joined #ruby
thapakazi has quit [Ping timeout: 248 seconds]
fullstack_ has quit [Ping timeout: 256 seconds]
eelster has joined #ruby
fullstack_ has joined #ruby
minimalism has joined #ruby
VladGh has joined #ruby
jinie has quit [Ping timeout: 248 seconds]
jinie has joined #ruby
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
sytherax has joined #ruby
mikecmpbll has quit [Ping timeout: 248 seconds]
VladGh has quit [Remote host closed the connection]
gizmore has joined #ruby
sytherax has quit [Remote host closed the connection]
cyberg has quit [Ping timeout: 260 seconds]
sytherax has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
derp10327 has joined #ruby
sytherax has quit [Remote host closed the connection]
sytherax has joined #ruby
<derp10327> Is it possible to use string interpolation in such a way that I could perform something like https://gist.github.com/blarosen95/8d0fae2066524458e21056d5b11a31a9
sytherax has quit [Remote host closed the connection]
yohji has quit [Remote host closed the connection]
fullstack_ has quit [Ping timeout: 256 seconds]
dbugger_ is now known as Dbugger
sytherax has joined #ruby
eckhardt has joined #ruby
sanscoeur has joined #ruby
thapakazi has joined #ruby
amar has joined #ruby
fullstack_ has joined #ruby
fmcgeough has joined #ruby
<eam> derp10327: if you want to take the string "seconds" and refer to the variable named seconds you would use eval or binding.local_variable_get
<derp10327> thanks!
<derp10327> Fairly new to ruby and focusing on some niche solutions with it lol
<havenwood> derp10327: units.map { |unit| binding.local_variable_get unit }
<havenwood> what eam said
<derp10327> awesome thanks!
cyberg has joined #ruby
RougeR has joined #ruby
<havenwood> derp10327: Or: units.map { |unit| [unit, binding.local_variable_get(unit)] }.to_h #=> {"seconds"=>2, "minutes"=>2}
<baweaver> Question is though, why do you need it?
<baweaver> You could just use a hash instead
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
p0p0pr37_ has joined #ruby
<baweaver> >> {seconds: 2, minutes: 2}[:seconds]
<ruby[bot]> baweaver: # => 2 (https://eval.in/1013391)
<havenwood> derp10327: It is suspicious. Usually there's a better way than getting and setting local variables with metaprogramming.
<baweaver> faster, more idiomatic, and doesn't need binding or eval
amar has quit [Ping timeout: 244 seconds]
p0p0pr37 has quit [Ping timeout: 240 seconds]
p0p0pr37_ is now known as p0p0pr37
<derp10327> Honestly? While trying to teach myself Ruby, I'm solving fairly trivial problems. This one has gotten convoluted as I need to not only keep track of whether the method's parameter (seconds) calculated a figure for years/days/hours/minutes/seconds but also if it is a plural unit to be outputted
cyberg has quit [Ping timeout: 240 seconds]
<derp10327> I'm sure I could use Ruby's time library but I want to teach myself how to go about using the fundamental features
<havenwood> derp10327: Show us more code if you're interested in alternative solutions.
karapetyan has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 244 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<derp10327> It's a mess, I know. I promise I wrote out (and discarded) many algorithms
havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
clemens3 has quit [Ping timeout: 268 seconds]
<derp10327> So, in short, my goal is to output the string so that it contains no "0 unit(s)" and for values of 1, uses the singular form of the unit
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
<derp10327> I'll probably refactor the case statements into one-line ternaries
sagax has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
<derp10327> Okay, I caught the issue with putting the 2nd case statement's end too soon, but I'm still going to just use 5 ternary lines instead of all of those case statement lines
lytol has joined #ruby
nowhere_man has joined #ruby
amelliaa has joined #ruby
dviola has joined #ruby
cyberg has joined #ruby
<baweaver> >> seconds = 1_000_000; [60, 60, 24, 365].reduce([seconds]) { |units, size| units[-1] = units[-1].divmod(size).reverse; units.flatten }.reverse.zip([:seconds, :minutes, :hours, :days, :years]).to_h
<ruby[bot]> baweaver: # => {0=>:seconds, 11=>:minutes, 13=>:hours, 46=>:days, 40=>:years} (https://eval.in/1013399)
thapakazi has quit [Ping timeout: 248 seconds]
<baweaver> hrm, whoops, reversed the wrong way
<baweaver> >> seconds = 1_000_000; total_units = [60, 60, 24, 365].reduce([seconds]) { |units, size| units[-1] = units[-1].divmod(size).reverse; units.flatten }; [:seconds, :minutes, :hours, :days, :years].zip(total_units).to_h
<ruby[bot]> baweaver: # => {:seconds=>40, :minutes=>46, :hours=>13, :days=>11, :years=>0} (https://eval.in/1013400)
<baweaver> There we go.
<baweaver> havenwood: folding divmod \o/
<derp10327> Now that's why I want to learn Ruby lol
phaul has joined #ruby
<derp10327> Coming from Java and similar languages, I'm amazed at what you can do with a line of ruby lol
<baweaver> I'd have to write it a bit clearer later.
<baweaver> The idea is we're basically divmod'ing everything by the next increment
<baweaver> If you add a `p units` before it, you'll see exactly what it's doing
<gizmore> i started to recode my php framework in ruby.... please roast my tests: https://github.com/gizmore/gdo/blob/master/spec/gdo_spec.rb
<derp10327> Right, I mean I've got all the math working, I just need to parse it and get the output all pretty tbh
<baweaver> divmod returns an array so you get to flatten it back down afterwards, leaving the remainder of the previous unit and the unaltered current unit
<baweaver> If you use something like that it cuts out a huge amount of code
<baweaver> then it's just a matter of doing something along the lines of doing pluralization for each unit
<baweaver> you could also: seconds, minutes, hours, days, years = total_units
<baweaver> which would give you vars with every single value
<derp10327> right :)
<baweaver> This should give you some fun to start with - https://medium.com/rubyinside/triple-equals-black-magic-d934936a6379
<baweaver> Read through some of those articles and it should give you ideas
<baweaver> Though Eloquent Ruby is the fastest way to learn to Ruby like a Rubyist
kapil___ has joined #ruby
<baweaver> it won't let you do something like that, per-se, that's more of flipping the thinking paradigm towards FP.
joast has quit [Quit: Leaving.]
BTRE has joined #ruby
<baweaver> Granted, not well, but it works for a one-liner.
<baweaver> havenwood / eam: Knock knock
<havenwood> baweaver: Who's there!??
orbyt_ has joined #ruby
venmx has quit [Ping timeout: 276 seconds]
<baweaver> Goat
<havenwood> Goat who?
<baweaver> GOTO Statements considered harmful - https://twitter.com/philcrissman/status/982359274754985984
<havenwood> boo!
<havenwood> hah
<gizmore> User input considered harmful: BOO
karapetyan has joined #ruby
<Eiam> those damn side effects and their... effects
<derp10327> thanks, I'll give it a read. I just threw together a regex pattern for gsub'ing the output of the local_variable_get. It was outputting like "[x]" where I only wanted the number x to output. I'm amazed at how powerful gsub can be compared to the regex methods for other languages I've learned
<baweaver> >> "[xyz]"[1..-2]
<baweaver> regex not required ;)
<ruby[bot]> baweaver: # => "xyz" (https://eval.in/1013401)
za1b1tsu has joined #ruby
amar_ has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
raynold has joined #ruby
cyberg has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
joast has joined #ruby
sytherax has quit [Remote host closed the connection]
<derp10327> lol, that might be the least pointless bit of code I've done for this... I'm on the second (of three) planned conditional output snippets and I'm realizing I should've just used an each_with_index
amar_ has quit [Remote host closed the connection]
amar has joined #ruby
ldepandis has joined #ruby
clemens3 has joined #ruby
thapakazi has joined #ruby
thapakazi has quit [Client Quit]
thapakazi has joined #ruby
conta1 has quit [Ping timeout: 248 seconds]
karapetyan has quit [Remote host closed the connection]
cyberg has joined #ruby
clemens3_ has joined #ruby
cagomez has quit [Remote host closed the connection]
beefjoe70 has joined #ruby
TomyLobo has joined #ruby
karapetyan has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
alfiemax has joined #ruby
mtkd has joined #ruby
<derp10327> Thanks :) I'm gonna go ahead and practice folding divmod and implement it so I can remove the need for the local_variable_get
orbyt_ has joined #ruby
regedit has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
aspleenic has joined #ruby
cyberg has quit [Ping timeout: 244 seconds]
aspleenic has quit [Client Quit]
scrptktty has joined #ruby
sytherax has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cyberg has joined #ruby
suukim has quit [Quit: Konversation terminated!]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
axsuul has quit [Ping timeout: 264 seconds]
phaul has joined #ruby
synthroid has quit [Remote host closed the connection]
NingaLeaf has joined #ruby
axsuul has joined #ruby
cagomez has quit [Ping timeout: 276 seconds]
cyberg has quit [Ping timeout: 244 seconds]
quobo has joined #ruby
sauvin has quit [Remote host closed the connection]
thapakazi has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
jatto has joined #ruby
<baweaver> Cleaned up pretty version
RougeR has quit [Ping timeout: 248 seconds]
<derp10327> ooh sweet, and thanks :D. Yeah when I submitted the code to the challenge website's test units and it passed them, I was able to see other user's Ruby solutions. Let me go find the one I found the most clever lol
cagomez has joined #ruby
synthroid has joined #ruby
sytherax has quit [Remote host closed the connection]
<derp10327> getting the output of my program to meet the test case's expectations was what did me in. They did that in one line though lol
sytherax has joined #ruby
<derp10327> oh no.. I liked your tweet while logged into my oauth account for my startup company lol
za1b1tsu has quit [Quit: WeeChat 2.1]
cagomez has quit [Ping timeout: 260 seconds]
sytherax has quit [Ping timeout: 240 seconds]
cyberg has joined #ruby
cyberg has quit [Ping timeout: 244 seconds]
kmurphy4 has joined #ruby
coderphive has joined #ruby
dendazen has quit [Ping timeout: 245 seconds]
<havenwood> Here's a silly one:
<havenwood> >> Time.at(1_000_000).utc.strftime('%S %M %D %H %Y').split.map(&:to_i).yield_self { |*units, year| [*units, year - 1970] }
<ruby[bot]> havenwood: # => undefined method `yield_self' for [40, 46, 1, 13, 1970]:Array (NoMethodError) ...check link for more (https://eval.in/1013409)
<havenwood> Ruby too old!
<havenwood> #=> [40, 46, 1, 13, 0]
thapakazi has joined #ruby
<derp10327> The first college I went to used fortran for their intro to programming course. I'm glad I wasn't going for a compsci major there...
<derp10327> wait, they used ADA
<havenwood> derp10327: Ruby was going to be called ADA 2.0.
* havenwood lies...
AshLee has joined #ruby
<derp10327> gross
<derp10327> This was only a few years ago mind you lol
<dminuoso> havenwood: Haha. I started reading ruby from the bottom right to top left.
<dminuoso> Ive been doing too much Haskell.
<derp10327> We already had the ability to program iOS in VS and they wanted to teach you ada
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AshLee has quit [Client Quit]
<derp10327> I wonder how long it would've taken me to learn what I've learned about Ruby if I didn't have RubyMine at my disposal
* derp10327 thinks hard
Guest8837 has quit [Read error: Connection reset by peer]
eelster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
devyn has joined #ruby
<gizmore> https://github.com/gizmore/gdo/blob/master/spec/gdo_spec.rb#L60 # the test passes.... tell me why
<gizmore> also be astounded by what a single identity cache does
clemens3 has quit [Ping timeout: 240 seconds]
cagomez has quit [Remote host closed the connection]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raynold has quit []
beefjoe70 has quit [Ping timeout: 256 seconds]
ldepandis has joined #ruby
alex`` has quit [Ping timeout: 260 seconds]
grilix_ has joined #ruby
Jiaoyin has quit [Quit: Page closed]
dreamthese has quit [Ping timeout: 245 seconds]
dreamthese has joined #ruby
mtkd has quit []
grilix has quit [Ping timeout: 260 seconds]
Guest53857 has quit [Ping timeout: 268 seconds]
tectonic has joined #ruby
alex`` has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mtkd has joined #ruby
cyberg has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
karapetyan has left #ruby [#ruby]
fullstack_ has quit [Ping timeout: 256 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
fullstack_ has joined #ruby
sytherax has joined #ruby
fmcgeough_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
fmcgeough has quit [Ping timeout: 244 seconds]
fmcgeough_ is now known as fmcgeough
tdy has quit [Ping timeout: 240 seconds]
NingaLeaf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mostlybadfly has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
VladGh has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
phaul has joined #ruby
jenrzzz has joined #ruby
orbyt_ has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
Mike11 has quit [Quit: Leaving.]
synthroid has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
Dark_Arc has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
za1b1tsu has joined #ruby
anisha__ has joined #ruby
anisha_ has quit [Read error: Connection reset by peer]
rkazak has joined #ruby
<gizmore> it is scary that here are almost no questions..... ruby is scarily solid? ;)
<gizmore> is there a #ruby-chat?
eckhardt has joined #ruby
t0xik has joined #ruby
<gizmore> havenwood: hi .... i would like to explain my framework to you. it will show rails and laravel to their place when it comes to handle data and requests in even more protocols
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gizmore> first check out https://github.com/gizmore/gdo/blob/master/spec/gdo_spec.rb#L60 # the test passes.... tell me why
amelliaa has quit [Quit: -]
Dark_Arc has joined #ruby
eelster has joined #ruby
anisha__ has quit [Quit: This computer has gone to sleep]
scrptktty has quit [Quit: Connection closed for inactivity]
c0ncealed1 has quit [Remote host closed the connection]
vikaton has joined #ruby
<Eiam> gizmore: this place seems to double as -chat sometimes, seems to be OK? conversations ebbs and flows...
SeepingN has joined #ruby
c0ncealed1 has joined #ruby
<gizmore> Eiam: imho, as long as nobody gets bad feeling everything should be allowed
<gizmore> in terms of irc chat here and elsewhere
<Eiam> gizmore: again, I've not seen any major issues with this channel in terms of chat discussions and thats been 5+ years so.. ?
<gizmore> yeah, just wondered
<Eiam> haskell has a -chat, and the mac/ios channels also prefer a -chat.
<gizmore> yeah and it makes sense
<gizmore> it puts people like me into a more aprropiate channel when i feel chatty
plexigras has quit [Ping timeout: 256 seconds]
<gizmore> and still the topic includes the main topic i am chatty about then, (ruby f.e)
<gizmore> but it is nice to see ruby does not need this
rkazak has quit [Quit: Sleep.....ing....]
plexigras has joined #ruby
jjwhoops has quit [Quit: Leaving]
NingaLeaf has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tdy has joined #ruby
fullstack_ has quit [Ping timeout: 256 seconds]
fullstack_ has joined #ruby
snickers has joined #ruby
Dark_Arc has quit [Ping timeout: 240 seconds]
itismeamario1 has joined #ruby
<itismeamario1> hello! is there a 1-liner to turn foo = [{ title: '51 Shades', orders: 1 }, { title: 'Hobbit', orders: 1 }, { title: '51 Shades', orders: 5 }] into [{ title: '51 Shades', orders: 6 }, { title: 'Hobbit', orders: 1 } ] ?
Dark_Arc has joined #ruby
<itismeamario1> I have a solution but it's pretty long, and I am certain there's a way more elegant way in Ruby to achieve adding things in ruby
<Eiam> yes
<Eiam> also im laughing at yesterdays discussion about Rubyists obsession with 1 liners =)
<gizmore> Eiam: i do many def as oneliner
<gizmore> Eiam: https://github.com/gizmore/gdo (the readme is not there yet)
jatto has quit [Ping timeout: 240 seconds]
<gizmore> checkout lib/GDO
reber has quit [Quit: Leaving]
Dark_Arc has quit [Ping timeout: 248 seconds]
<gizmore> Eiam: also checkout my spec file :P ... https://github.com/gizmore/gdo/blob/master/spec/gdo_spec.rb .... yet another test driven ruby gem =)
n3b has quit [Ping timeout: 240 seconds]
psychicist__ has quit [Ping timeout: 244 seconds]
Dark_Arc has joined #ruby
<gizmore> Eiam: i am recoding my gdo stuff in ruby.... i did the last version in php, and it was awe
<gizmore> the bad thing about gdo6 is that it is written in php
<gizmore> also in php i dont know how to rspec
n3b has joined #ruby
synthroid has quit []
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
jcalla has quit [Quit: Leaving]
za1b1tsu has quit [Quit: WeeChat 2.1]
loincloth has joined #ruby
jenrzzz_ has joined #ruby
itismeamario1 has quit [Ping timeout: 260 seconds]
mtkd has quit []
mikecmpbll has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
<baweaver> >> [{title: '51 Shades', orders: 1},{title: 'Hobbit', orders: 1},{title: '51 Shades', orders: 5}].group_by { |h| h[:title] }.map{ |k, vs| {title: k, orders: vs.map{ |v| v[:orders] }.reduce(0,:+)} }
<ruby[bot]> baweaver: # => [{:title=>"51 Shades", :orders=>6}, {:title=>"Hobbit", :orders=>1}] (https://eval.in/1013469)
<baweaver> If itismeamario1 shows back up, show them that.
thapakazi has quit [Quit: thapakazi]
jalcine has quit [Quit: ZNC 1.6.6 - http://znc.in]
phaul has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Eiam> baweaver: meh, was tinkering with a merge solution still
<Eiam> figured a .reduce({}) and .merge would be sufficient but trying to sort out what I'm missing
<Eiam> baweaver: foo.reduce({}) { |sum,val| sum.merge(val) {|a,b,c| b + c }; sum } basically
grilix_ has quit [Ping timeout: 244 seconds]
tomphp has joined #ruby
rfoust has joined #ruby
SolarAquarion has joined #ruby
peterR`` has joined #ruby
<peterR``> can someone help me with the guard gem?
phaul has joined #ruby
<SolarAquarion> i keep on getting this error
<derp10327> If full stack development had a different name, I bet it would pay less lol
orbyt_ has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
alex`` has joined #ruby
beefjoe70 has joined #ruby
<Eiam> now thats weird, huh...
<Eiam> >> [{ title: '51 Shades', orders: 1 }, { title: 'Hobbit', orders: 1 }, { title: '51 Shades', orders: 5 }].reduce{ |sum,val| sum.merge(val) {|a,b,c| a == :orders ? b + c : b }; sum }
<ruby[bot]> Eiam: # => {:title=>"51 Shades", :orders=>1} (https://eval.in/1013471)
alfiemax has quit [Remote host closed the connection]
<Eiam> >> { title: '51 Shades', orders: 1 }.merge({ title: '51 Shades', orders: 5 }) {|a,b,c| a == :orders ? b + c : b }
<ruby[bot]> Eiam: # => {:title=>"51 Shades", :orders=>6} (https://eval.in/1013472)
<Eiam> what am I missing here? Isn't the 3rd iteration on the reduce the same as the last example?
alfiemax has joined #ruby
<Eiam> oh no, its an array
codymj has quit [Quit: Leaving]
ur5us has joined #ruby
cyberg has quit [Ping timeout: 240 seconds]
alfiemax_ has joined #ruby
brendan- has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 240 seconds]
millerti has joined #ruby
loincloth has quit []
sagax has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
arkinor has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
chouhoul_ has quit [Ping timeout: 276 seconds]
wolfshappen has quit [Quit: Waffs have technical problems too]
<peterR``> what's this error? C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/guard-livereload-2.5.2/lib/guard/livereload/reactor.rb:48:in `_start_reactor': undefined method `epoll?' for EventMachine:Module
alfiemax_ has quit [Remote host closed the connection]
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fmcgeough has joined #ruby
NingaLeaf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wolfshappen has joined #ruby
blackmesa has joined #ruby
<dminuoso> peterR``: epoll is not available on windows.
nowhere_man has quit [Ping timeout: 240 seconds]
zululee has quit [Ping timeout: 256 seconds]
<peterR``> oh
<peterR``> so what to use instead?
Dark_Arc has quit [Ping timeout: 260 seconds]
sanscoeur has quit [Ping timeout: 248 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyberg has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
ramfjord has joined #ruby
<apeiros> gizmore: there is #ruby-offtopic
<gizmore> ah thx
schleppel has quit [Quit: Konversation terminated!]
<apeiros> it's less frequented than #ruby, though
<gizmore> of course :)
<gizmore> did you look at my spec?
Dark_Arc has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
ramfjord has quit [Ping timeout: 260 seconds]
<derp10327> Apparently I switched up my scroll lock and prt screen buttons while cleaning the keyboard last night
cyberg has quit [Ping timeout: 256 seconds]
eckhardt_ has joined #ruby
ramfjord has joined #ruby
eckhardt has quit [Ping timeout: 260 seconds]
k0mpa has quit [Remote host closed the connection]
nowhere_man has joined #ruby
<apeiros> gizmore: no, watching expanse atm, way more interesting ;-) (no offense)
wolfshappen has quit [Quit: Waffs have technical problems too]
jenrzzz_ has quit [Ping timeout: 256 seconds]
beefjoe70 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ramfjord has quit [Ping timeout: 244 seconds]
noobineer has joined #ruby
jrafanie has quit [Ping timeout: 256 seconds]
plexigras has quit [Ping timeout: 256 seconds]
sytherax has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
arkinor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyberg has joined #ruby
arkinor has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
zululee has joined #ruby
arkinor has quit [Client Quit]
arkinor has joined #ruby
cyberg has quit [Ping timeout: 240 seconds]
cschnei__ has quit [Remote host closed the connection]
wolfshappen has joined #ruby
cschneid has joined #ruby
amar has quit [Remote host closed the connection]
noobineer has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
<baweaver> Eiam: problem with merge is they're distinct units, and merging them into a hash doesn't take care of that.
cschneid has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ramfjord has joined #ruby
eelster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: inabit. zz.]
DLSteve_ has joined #ruby
* derp10327 ponders whether it should be "Ruby On Rails" or "Web Development On Ruby Rails"
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
jalcine has joined #ruby
Dbugger has quit [Ping timeout: 276 seconds]
amar has joined #ruby
gizmore has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
peterR`` has quit [Ping timeout: 256 seconds]
amar has quit [Ping timeout: 244 seconds]
venmx has joined #ruby
coderphive has quit [Quit: coderphive]
brucebag has left #ruby [#ruby]
tomphp has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 256 seconds]
TomyLobo has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mikecmpbll has joined #ruby
tomphp has joined #ruby
cyberg has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
alex`` has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
ramfjord has quit [Ping timeout: 268 seconds]
tomphp has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
arkinor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has quit [Client Quit]
gr33n7007h is now known as al2o3-cr
amar has joined #ruby
DLSteve_ has quit [Quit: All rise, the honorable DLSteve has left the channel.]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
roshanavand has joined #ruby
armyriad has quit [Ping timeout: 268 seconds]
amar has quit [Ping timeout: 244 seconds]
<Radar> derp10327: wat
<derp10327> Well, using ruby on rails for web dev makes the whole process fast, or "on rails". but saying that Ruby is the thing "on rails" implies it makes writing ruby faster...
<derp10327> it's philosophical I know
jenrzzz has quit [Ping timeout: 240 seconds]
<derp10327> unless you believe this dick https://stackoverflow.com/a/193525
zenspider has quit [Ping timeout: 256 seconds]
zenspider has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
vikaton has quit [Quit: Connection closed for inactivity]
<eam> I always assumed it meant lines of cocaine
shinnya has joined #ruby
venmx has quit [Ping timeout: 256 seconds]
<eam> crystal being the natural evolution
arkinor has joined #ruby
<derp10327> That does make sense tbh
<derp10327> also, why did the devs of clojure miss out on the chance to call it clothure
<eam> couture?
<derp10327> clothure, you know, like closure but with a Lisp
<eam> oh haha
jenrzzz has joined #ruby
<derp10327> But in all seriousness, I watched one of the clojure dev's talks online and it was inspiring and motivating
<derp10327> https://www.infoq.com/presentations/Simple-Made-Easy I fell asleep when he started talking about Clojure though (like actually fell asleep).
peterR`` has joined #ruby
<derp10327> the embed is messing up on my end, https://videoh.infoq.com/presentations/11-sep-simplemadeeasy.mp4 if you want to watch it
<baweaver> Rich Hickey, and most of his talks are great
arkinor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 240 seconds]
<derp10327> Agreed
<derp10327> However, I think his name sounds like a country rap group
arkinor has joined #ruby
<havenwood> +1 Rich Hickey talks
<havenwood> so good
SeepingN has quit [Quit: The system is going down for reboot NOW!]
sytherax has joined #ruby
Utility has joined #ruby
mrBen2k2k2k_ has quit [Ping timeout: 256 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: inabit. zz.]