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
lelliott has joined #ruby
despai has joined #ruby
mgraf has joined #ruby
mgraf has quit [Client Quit]
schneider has joined #ruby
|ifei5g00d has quit []
ta_ has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 268 seconds]
ta_ has joined #ruby
schneider has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 276 seconds]
cyberg has quit [Remote host closed the connection]
bonhoeffer has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
lelliott has quit [Remote host closed the connection]
lelliott has joined #ruby
amar has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 276 seconds]
lelliott has quit [Read error: Connection reset by peer]
cats has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
cats has joined #ruby
tdy has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
tdy has joined #ruby
gizmore|2 has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 268 seconds]
schneider has joined #ruby
bmurt has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
schneider has quit [Ping timeout: 256 seconds]
govg has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
mroutis has quit [Read error: Connection reset by peer]
ResidentBiscuit has joined #ruby
mroutis has joined #ruby
ta_ has joined #ruby
Toasttifyy2 has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 264 seconds]
mroutis has quit [Ping timeout: 256 seconds]
schneider has joined #ruby
hph^ has quit []
mtd^ has joined #ruby
mtd^ has quit [Max SendQ exceeded]
mtd^ has joined #ruby
mtd^ has quit [Max SendQ exceeded]
mtd^ has joined #ruby
mtd^ has quit [Max SendQ exceeded]
mtd^ has joined #ruby
mtd^ has quit [Max SendQ exceeded]
mtd^ has joined #ruby
mtd^ has quit [Max SendQ exceeded]
schneider has quit [Ping timeout: 268 seconds]
schneider has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
schneider has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
ta_ has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
ResidentBiscuit has quit [Quit: leaving...............]
nowhere_man has quit [Ping timeout: 256 seconds]
dstrunk has joined #ruby
noobineer has quit [Ping timeout: 265 seconds]
gnufied has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
schneider has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
ciscam has quit [Ping timeout: 255 seconds]
schneider has quit [Ping timeout: 264 seconds]
noobineer has joined #ruby
ciscam has joined #ruby
icarus has quit [Ping timeout: 240 seconds]
konsolebox_ has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
konsolebox has joined #ruby
despai has quit [Quit: ...]
despai has joined #ruby
schneider has joined #ruby
noobineer has quit [Ping timeout: 264 seconds]
dinfuehr_ has quit [Ping timeout: 264 seconds]
cschneid_ has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
icarus has joined #ruby
schneider has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
ta_ has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
schneider has joined #ruby
dviola has quit [Quit: WeeChat 2.1]
cschneid_ has quit [Ping timeout: 256 seconds]
icarus has quit [Ping timeout: 260 seconds]
armyriad has quit [Quit: Leaving]
schneider has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
cschneid_ has joined #ruby
jdawgaz has joined #ruby
schneider has joined #ruby
alfiemax has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
mjolnird has joined #ruby
schneider has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
shinnya has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
schneider has quit [Ping timeout: 264 seconds]
despai has quit [Quit: ...]
arescorpio has joined #ruby
schneider has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
armyriad has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
dr3w_ has joined #ruby
schneider has joined #ruby
ta_ has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
mikecmpbll has quit [Quit: inabit. zz.]
Bored1238 has joined #ruby
apparition has joined #ruby
Yxhuvud has joined #ruby
schneider has joined #ruby
erlend has quit [Ping timeout: 260 seconds]
AJA4350 has quit [Remote host closed the connection]
erlend has joined #ruby
cadillac_ has joined #ruby
noobineer has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
Bored1238 has quit []
kapil___ has joined #ruby
schneider has joined #ruby
Bored1238 has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
BTRE has quit [Quit: Leaving]
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
karapetyan has joined #ruby
comet23 has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
schneider has quit [Ping timeout: 240 seconds]
gix has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<comet23> is there something wrong with me in not being able to pass upwork tests?
karapetyan has quit [Ping timeout: 240 seconds]
gix- has quit [Ping timeout: 265 seconds]
segy has joined #ruby
cagmz has joined #ruby
<baweaver> comet23 What do they test?
<comet23> they have tricky code
<comet23> and trick questions, maybe you have to be an expert
schneider has joined #ruby
<baweaver> you're going to have to be a lot more specific than that
<baweaver> whining about something being tricky is defeatist
<cagmz> How does the block in the first line know what 'tree_block' is? `tree_block = lambda{|h,k| h[k] = Hash.new(&tree_block) } ; opts = Hash.new(&tree_block)`
<baweaver> all problems are solveable
<baweaver> you just have to find the pieces to get there
madgen has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 256 seconds]
<cagmz> ie how does `Hash.new(&tree_block)` know what `tree_block`? What exactly is `tree_block referring to?
<baweaver> cagmz: that's a screwy way to make a vivified hash
<comet23> baweaver: what do you think is that like expert level stuff?
<baweaver> >> viv = Hash.new { |h,k| h[k] = Hash.new(&h.default_proc) }; viv[1][2][3] = 4; viv
<ruby[bot]> baweaver: # => {1=>{2=>{3=>4}}} (https://eval.in/988495)
<baweaver> comet23: are you allowed the use of Google?
<comet23> i don't think so
<comet23> i didn't use google
<comet23> i don't think so because it's timed you get 2 minutes per question
<cagmz> baweaver, so is `default_proc` self-referencing?
<baweaver> Honestly they're all pretty basic and you'd get to know a lot of them from just typical Rails development
<baweaver> yep.
schneider has quit [Ping timeout: 240 seconds]
<cagmz> HOW
<baweaver> caps
<comet23> well i guess i should just give up lol
<baweaver> comet23: build rails applications
<baweaver> they probably don't hire novices, so it's already an uphill battle
<cagmz> sorry, can't contain my excitement. this is weird
<comet23> is there a place for novices?
<baweaver> this test will weed out most novice people
pabs has joined #ruby
<baweaver> Not that I know of. Most remote work wants an Intermediate or better
<comet23> so i have to work at a company then for a little bit is what you're saying
<baweaver> cagmz: The Hash constructor can take a default value or a block that it calls whenever it hits a key it can't find
<cagmz> `class HashHash < Hash; def default(key = nil); self[key] = self.class.new; end; end;` is this autovivifying as well?
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> that block is called the default proc
<baweaver> and because you're passing the hash in that block it can access said default_proc
<baweaver> Try it
<baweaver> comet23: pretty much, or start building actual apps for yourself
<comet23> what is the best way to get a job as a novice
<baweaver> They're not tricky or really hard questions, the assume a foundational knowledge of Rails or ability to find things
<baweaver> Look around locally
<cagmz> ah, so is `{ |h,k| h[k] = Hash.new(&h.default_proc) }` the default proc?
<baweaver> yep
<cagmz> nice, thanks
<baweaver> want me to blow your mind cagmz?
schneider has joined #ruby
<baweaver> You can do a _lot_ more with blocks and procs in Ruby
<cagmz> sure
<baweaver> Qo is going deep down that rabbit hole
<baweaver> people.select(&Qo[name: Qo.or(/Wallace/, /William/), age: 40..50]) # All people with William or Wallace in their name between 40 and 50 years of age
ta_ has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
<baweaver> Yeah, see the Rakefile
<cagmz> ah ok. higher `i/s` is better, right?
<baweaver> I need to improve some of it later, but now it's not terrible.
<baweaver> Yep. Benchmark.ips
<cagmz> what's the main bottleneck? or better yet, how do you find bottlenecks in the first place?
Bored1238 has quit []
<baweaver> Those are mainly sanity checks honestly
<baweaver> Like they made me realize strict equality was 40x slower so I added a strict equality check before everything to get that down to 20x
<baweaver> Mostly the slowdowns are from the fact that Qo tries to be very smart where possible
<baweaver> I have some ideas pre-1.0.0 to reduce that substantially
<cagmz> are any branches up with your ideas?
<baweaver> Not yet. Was writing an article on how it works first
<cagmz> ah nice!!
schneider has joined #ruby
<baweaver> Needs editing and some refinements, but mostly ready
<baweaver> just need to fix the Proc bit
Dimik has quit [Ping timeout: 256 seconds]
<cagmz> was the strict equality check before everything a way to "short circuit" something?
<baweaver> Basically don't bother checking if the key/method doesn't exist
<baweaver> I was hung up on making it permissive or strict
schneider has quit [Ping timeout: 264 seconds]
<cagmz> whoa. `-> a { a > 5 } === 6`. is the proc being called with 6?
<baweaver> yep
noobineer has quit [Ping timeout: 260 seconds]
<baweaver> By interfacing with both to_proc and === you can leverage a massive amount of power in Ruby
schneider has joined #ruby
<baweaver> especially post 2.6 after Enumerable methods take === responding objects
<baweaver> 2.5 supports it for any?, all?, none?, and one?
eckhardt has joined #ruby
<baweaver> Trying to make it a bit more digestible for Intermediate devs as it veers super advanced in some areas
<baweaver> ohai eckhardt
* eckhardt waves
schneider has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
duderonomy has joined #ruby
dstrunk has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
noobineer has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
bmurt has joined #ruby
noobineer has quit [Max SendQ exceeded]
dstrunk has quit [Quit: Textual IRC Client: www.textualapp.com]
noobineer has joined #ruby
<eckhardt> baweaver whoa...i'm going back and *actually* reading about the === and that IPAddr trick *is* nice
<eckhardt> mindblown.gif
schneider has quit [Ping timeout: 264 seconds]
fullstack has quit [Disconnected by services]
fullstack_ has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yxhuvud has joined #ruby
schneider has joined #ruby
noobineer has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
noobineer has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
AndBobsYourUncle has joined #ruby
schneider has joined #ruby
arescorpio has quit [Quit: Leaving.]
schneider has quit [Ping timeout: 240 seconds]
noobineer has quit [Read error: Connection reset by peer]
schneider has joined #ruby
apparition has quit [Quit: Bye]
schneider has quit [Ping timeout: 240 seconds]
<baweaver> Because IPAddr tries to do the same dang thing on ==, and crashes for non-serializable items XD
schneider has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 260 seconds]
jdawgaz has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
<baweaver> So if you want to find all types of fun tricks for functions in Ruby give it a look
schneider has joined #ruby
erlend has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby
erlend has joined #ruby
psychicist__ has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
schneider has joined #ruby
alfiemax has joined #ruby
ryzokuken has joined #ruby
ciscam has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
Asher1 has joined #ruby
Asher has quit [Read error: No route to host]
schneider has quit [Ping timeout: 265 seconds]
Asher1 is now known as Asher
schneider has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 263 seconds]
ta_ has quit [Ping timeout: 256 seconds]
claudiuinberlin has joined #ruby
schneider has joined #ruby
ta_ has joined #ruby
mtkd has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
reber has joined #ruby
schneider has joined #ruby
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 256 seconds]
schneider has joined #ruby
frewsxcv_old has joined #ruby
frewsxcv_old has left #ruby [#ruby]
schneider has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
Strepsils has quit [Read error: Connection reset by peer]
nadir has joined #ruby
schneider has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 265 seconds]
karapetyan has joined #ruby
alfiemax has quit [Remote host closed the connection]
ciscam has quit [Ping timeout: 256 seconds]
cschneid_ has quit [Ping timeout: 276 seconds]
ciscam has joined #ruby
schneider has joined #ruby
ta_ has joined #ruby
darkhanb has joined #ruby
karapetyan has quit [Ping timeout: 265 seconds]
schneider has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
<kapil___> I am using erb template. I want to print some variable at top of the file but the variable is calculated throughout the file
schneider has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
darkhanb has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
darkhanb has quit [Client Quit]
schneider has quit [Ping timeout: 265 seconds]
cschneid_ has joined #ruby
booqu has joined #ruby
schneider has joined #ruby
<mozzarella> oh yeah?
<mozzarella> you're doing complex calculation in your template files?
<kapil___> Yes
cadillac_ has quit [Ping timeout: 264 seconds]
<mozzarella> is there any reason why it's not done elsewhere, such as in your controller or in a helper?
cadillac_ has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
darkhanb has joined #ruby
<kapil___> No it's because I want to know is actually printed or not?
<kapil___> Like I should only import file if it's used
ta_ has quit [Ping timeout: 264 seconds]
<mozzarella> show us the file
booqu has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 268 seconds]
schneider has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 276 seconds]
ciscam has quit [Ping timeout: 265 seconds]
ciscam has joined #ruby
ta_ has joined #ruby
schneider has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erlend has quit [Ping timeout: 268 seconds]
erlend has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
basic has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
suukim has joined #ruby
cschneid_ has quit [Ping timeout: 264 seconds]
schneider has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
ianfleeton has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
cschneid_ has joined #ruby
alex`` has joined #ruby
mikecmpbll has joined #ruby
schneider has joined #ruby
<mozzarella> kapil___: why can't you just move the code higher up?
ta_ has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
ta_ has joined #ruby
ianfleeton has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Puffball has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 240 seconds]
imode has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
VladGh_ has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
VladGh has quit [Ping timeout: 264 seconds]
apparition has joined #ruby
schneider has joined #ruby
ianfleeton has joined #ruby
oleo has quit [Quit: Leaving]
venmx has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
oleo has joined #ruby
tvw has quit [Remote host closed the connection]
schneider has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
mtkd has quit []
schneider has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
phaul has joined #ruby
ciscam has quit [Ping timeout: 276 seconds]
ciscam has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
govg has joined #ruby
biberu has joined #ruby
zach has joined #ruby
zach is now known as Guest97120
ta_ has joined #ruby
comet23 has quit [Quit: Connection closed for inactivity]
zapata has quit [Quit: WeeChat 2.1]
Guest97120 is now known as _zach
cschneid_ has quit [Ping timeout: 260 seconds]
roshanavand has joined #ruby
roshanavand has quit [Client Quit]
cschneid_ has joined #ruby
sidx64 has joined #ruby
hkais has joined #ruby
sidx64_ has joined #ruby
sidx64 has quit [Ping timeout: 264 seconds]
hkais has quit [Ping timeout: 255 seconds]
imode has joined #ruby
clemens3_ has joined #ruby
imode has quit [Ping timeout: 260 seconds]
mtkd has quit []
FastJack has quit [Remote host closed the connection]
ianfleeton has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
mtkd has joined #ruby
venmx has quit [Ping timeout: 264 seconds]
Matthew1 has joined #ruby
venmx has joined #ruby
mtkd has quit []
mtkd has joined #ruby
marr has joined #ruby
cschneid_ has quit [Ping timeout: 264 seconds]
oleo has quit [Ping timeout: 265 seconds]
oleo has joined #ruby
erlend has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
amar has joined #ruby
erlend has joined #ruby
cschneid_ has joined #ruby
ianfleeton has joined #ruby
alfiemax has quit [Remote host closed the connection]
shinnya has joined #ruby
Burgestrand has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
venmx has quit [Ping timeout: 265 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
sameerynho has joined #ruby
\void has joined #ruby
ciscam has quit [Ping timeout: 256 seconds]
ciscam has joined #ruby
clemens3_ has quit [Ping timeout: 256 seconds]
clemens3_ has joined #ruby
ianfleeton has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
madgen has joined #ruby
cschneid_ has joined #ruby
ianfleeton has joined #ruby
schneider has joined #ruby
clemens3_ has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 260 seconds]
psychici1t__ has joined #ruby
psychicist__ has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
psychici1t__ has quit [Client Quit]
psychicist__ has joined #ruby
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
camilasan has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
venmx has joined #ruby
schneider has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
schneider has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
apeiros has quit [Remote host closed the connection]
sylario has joined #ruby
cschneid_ has quit [Ping timeout: 264 seconds]
ellcs has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
nowhere_man has joined #ruby
schneider has joined #ruby
cschneid_ has joined #ruby
kapil___ has joined #ruby
<kapil___> mozzarella: I can't move code higher up because it prints something
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
apeiros has joined #ruby
Burgestrand has quit [Quit: Closing time!]
schneider has quit [Ping timeout: 276 seconds]
envex has quit []
AJA4350 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
alfiemax has quit [Remote host closed the connection]
ianfleeton has quit [Ping timeout: 260 seconds]
Matthew1 has quit [Remote host closed the connection]
ellcs has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 245 seconds]
claudiuinberlin has joined #ruby
erlend has quit [Ping timeout: 260 seconds]
sidx64_ has quit [Read error: Connection reset by peer]
erlend has joined #ruby
schneider has joined #ruby
sidx64 has joined #ruby
<mozzarella> kapil___: use a temporary variable then?
the_drow has joined #ruby
sidx64_ has joined #ruby
<the_drow> How do I raise a different exception if its('stderr') { should match Regexp.escape("Connection to #{LXC_CONTAINER_IP} 22 port [tcp/ssh] succeeded!") } fails with a specific value?
schneider has quit [Ping timeout: 264 seconds]
sidx64 has quit [Ping timeout: 240 seconds]
<the_drow> I'd like to retry the test only if a specific failure has occured
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
karapetyan has quit [Remote host closed the connection]
banisterfiend has joined #ruby
karapetyan has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
schneider has joined #ruby
ciscam has quit [Ping timeout: 255 seconds]
redlegion has quit [Ping timeout: 268 seconds]
ciscam has joined #ruby
redlegion has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
<kapil___> Mozzarella thanks a lot
BTRE has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
Vamava has joined #ruby
<Vamava> Anyone here know how to use Azure SDK for ruby with SAS (shared access signature)?
schneider has joined #ruby
chihhsin has quit [Quit: leaving]
x0f has quit [Quit: quit]
x0f has joined #ruby
<the_drow> How do I shut down a process I spawned using Ruby?
schneider has quit [Ping timeout: 240 seconds]
despai has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
TinkerT has quit [Read error: Connection reset by peer]
TinkerT has joined #ruby
cschneid_ has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
deadnull has joined #ruby
tomphp has joined #ruby
deadnull has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 276 seconds]
Guest41814 has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cadillac_ has quit [Read error: Connection reset by peer]
cadillac_ has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
karapetyan has quit [Remote host closed the connection]
jdawgaz has joined #ruby
karapetyan has joined #ruby
schneider has joined #ruby
ryzokuken has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
banisterfiend has joined #ruby
cschneid_ has quit [Ping timeout: 264 seconds]
p0p0pr37_ has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
despai has quit [Quit: ...]
p0p0pr37 has quit [Read error: Connection reset by peer]
p0p0pr37_ is now known as p0p0pr37
schneider has quit [Ping timeout: 265 seconds]
cschneid_ has joined #ruby
p0p0pr37 has quit [Read error: Connection reset by peer]
p0p0pr37 has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
Guest41814 has quit [Ping timeout: 276 seconds]
chihhsin has joined #ruby
schneider has joined #ruby
mtkd has quit [Ping timeout: 265 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raynold has quit [Quit: Connection closed for inactivity]
dr3w_ has joined #ruby
mtkd has joined #ruby
the_drow_ has joined #ruby
dr3w_ has quit [Client Quit]
schneider has quit [Ping timeout: 265 seconds]
the_drow has quit [Ping timeout: 240 seconds]
despai has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
ryzokuken has joined #ruby
claudiuinberlin has joined #ruby
Guest41814 has joined #ruby
alfiemax has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
despai has quit [Quit: ...]
alfiemax has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
apeiros has joined #ruby
cschneid_ has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
apeiros has quit [Ping timeout: 256 seconds]
dr3w__ has joined #ruby
erlend has quit [Ping timeout: 245 seconds]
erlend has joined #ruby
dr3w__ has quit [Read error: Connection reset by peer]
dr3w_ has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
kies has quit [Quit: baaaaiiiiiiiiiii~]
kies has joined #ruby
darkhanb has joined #ruby
apparition has quit [Quit: Bye]
kurko_ has joined #ruby
dr3w_ has quit [Ping timeout: 256 seconds]
Asher has quit [Ping timeout: 260 seconds]
the_drow__ has joined #ruby
Dimik has joined #ruby
Strepsils has joined #ruby
the_drow_ has quit [Ping timeout: 256 seconds]
the_drow has joined #ruby
cschneid_ has joined #ruby
the_drow__ has quit [Ping timeout: 264 seconds]
Guest39892 has quit [Ping timeout: 240 seconds]
mtkd has quit [Read error: Connection reset by peer]
^mtkd has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
tomphp has joined #ruby
venmx has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
cschneid_ has quit [Ping timeout: 264 seconds]
Strepsils has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
karapetyan has joined #ruby
cschneid_ has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
yeticry has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkhanb has joined #ruby
schneider has quit [Ping timeout: 255 seconds]
tvw has joined #ruby
schneider has joined #ruby
^mtkd has quit []
mtkd has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
shinnya has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
kapil___ has joined #ruby
chouhoulis has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Ping timeout: 264 seconds]
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
Mike11 has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zautomata has quit [Ping timeout: 240 seconds]
<Guest41814> Is there some kind of syntax or Ruby convention for linking, say, a DomainRegistrar class with a Domain class, within a project? Like, in SQL I can say that "DomainRegistrar HAS Domain"
comet23 has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has joined #ruby
schneider has joined #ruby
schneider has quit [Ping timeout: 245 seconds]
nicesignal has quit [Quit: WeeChat 1.4]
nicesignal has joined #ruby
alfiemax has joined #ruby
schneider has joined #ruby
hkais has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
TinkerT has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
schneider has joined #ruby
TinkerT has joined #ruby
<cagmz> the_drow, how did you spawn it?
<the_drow> nm already got it...
schneider has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
<cagmz> if I call `super` from in method :name in Person < User, will the call return to the Person class after calling `name` in User?
nicesignal has quit [Quit: WeeChat 1.4]
jeffreylevesque has quit [Ping timeout: 240 seconds]
nicesignal has joined #ruby
despai has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
despai has quit [Quit: ...]
cschneid_ has joined #ruby
erlend has quit [Ping timeout: 264 seconds]
minimalism has quit [Quit: minimalism]
erlend has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
venmx has quit [Remote host closed the connection]
schneider has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
chouhoulis has quit [Remote host closed the connection]
mtkd has quit [Read error: Connection reset by peer]
ryzokuken__ has joined #ruby
chouhoulis has joined #ruby
mtkd has joined #ruby
the_drow has quit [Ping timeout: 268 seconds]
ryzokuken__ has quit [Client Quit]
schneider has joined #ruby
venmx has joined #ruby
cyberg has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
schneider has joined #ruby
quarters has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
<quarters> hello. I was trying to run bundle install with rbenv but am getting this message: "rbenv: ruby_executable_hooks: command not found"
leitz has joined #ruby
<leitz> Ideas on how to fix a missing symbol? symbol lookup error: /usr/local/lib/ruby/2.0.0/x86_64-linux/openssl.so: undefined symbol: rb_str_new_static
<leitz> had od rebu-devel rpm installed. Removed it, then tried again with same effect.
SirFunk has quit [Quit: ZNC - http://znc.in]
<leitz> "old ruby-devel", different keyboard, different angle..
schneider has quit [Ping timeout: 265 seconds]
alfiemax has quit [Remote host closed the connection]
SirFunk has joined #ruby
apeiros has joined #ruby
alfiemax has joined #ruby
schneider has joined #ruby
SirFunk has quit [Client Quit]
cschneid_ has quit [Ping timeout: 256 seconds]
dr3w_ has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
noobineer has joined #ruby
dr3w_ has quit [Ping timeout: 260 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
dr3w_ has joined #ruby
jdawgaz has joined #ruby
<havenwood> ?rbenv quarters
<ruby[bot]> quarters: Missing command under rbenv? Did you try `rbenv rehash`?
<havenwood> Or you might even say: Missing a command under rbenv? Switch to chruby.
<havenwood> ;-)
<havenwood> quarters: Though executable hooks looks like you have RVM remnants.
<havenwood> quarters: What do you get for?: command -v bundle
<havenwood> quarters: And: gem which bundler
schneider has quit [Ping timeout: 264 seconds]
imode has joined #ruby
<havenwood> quarters: With your rbenv Ruby, try: gem install bundler && rbenv rehash
cschneid_ has joined #ruby
<quarters> havenwood: I'm trying to work on a project here: github.com/github/classroom which requires rbenv. Otherwise, I'd use another ruby version manager. but yeah, I moved from rvm and ran rbenv rehash
<havenwood> quarters: And bundler is installed with the rbenv Ruby?
noobineer has quit [Ping timeout: 260 seconds]
<havenwood> (The fact that executable_hooks are involved makes me thing you're hitting an RVM bunder executable.
<havenwood> )
<havenwood> think*
<quarters> command -v bundle => ~/.rbenv/shims/bundle and gem which bundler => ~/.gem/ruby/2.4.0/gems/bundler-1.15.3/lib/bundler.rb
mtkd has quit []
\void has joined #ruby
schneider has joined #ruby
<havenwood> quarters: Maybe a?: gem pristine bundler
<havenwood> quarters: Same error?
<quarters> ah, I had jruby-1.7.4 installed and running bundle install led to it prompting me that bundle install exists on that version of ruby
<quarters> so I just uninstalled it for now
<quarters> kind of a brute way of doing it. hopefully I'll figure out how to keep that version of ruby and get it to work
<quarters> but uninstalling jruby made the script work
cschneid_ has quit [Ping timeout: 264 seconds]
schneider has quit [Ping timeout: 260 seconds]
chouhoul_ has joined #ruby
SirFunk has joined #ruby
Mike11 has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
schneider has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
cschneid_ has joined #ruby
schneider has joined #ruby
Guest41814 has quit [Ping timeout: 245 seconds]
mtkd has joined #ruby
mynameisdebian has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
orbyt_ has joined #ruby
phate408 has joined #ruby
<leitz> I had forgotten how hard compiling Ruby from soruce was.
schneider has quit [Ping timeout: 260 seconds]
<leitz> Well, it has jumped into the impossible, absent deeper understanding.
schneider has joined #ruby
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
SirFunk has quit [Quit: ZNC - http://znc.in]
AndBobsYourUncle has joined #ruby
mtkd has quit []
SirFunk has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
jaredrhine has quit [Remote host closed the connection]
<phaul> codewars has MRI 2.5.0! \o/ no more inject :+ :)
jaredrhine has joined #ruby
schneider has joined #ruby
GodFather_ has joined #ruby
GodFather has quit [Read error: No route to host]
schneider has quit [Ping timeout: 260 seconds]
kurko_ has joined #ruby
Vamava has quit [Quit: Connection closed for inactivity]
schneider has joined #ruby
mtkd has joined #ruby
sameerynho has quit [Ping timeout: 265 seconds]
schneider has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
schneider has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
icarus has joined #ruby
schneider has joined #ruby
apeiros has joined #ruby
jdawgaz has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
erlend has quit [Ping timeout: 264 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
erlend has joined #ruby
schneider has joined #ruby
amar has quit [Remote host closed the connection]
cadillac_ has joined #ruby
amar has joined #ruby
elopnrocs has joined #ruby
<elopnrocs> Does someone think they can help me transliterate 3-4 liner scripts in an mirc bot into some kind of ruby irc bot framework? It's just writing to text files, filtering out links and commands with prefixes, then reading random lines from said text file.
<elopnrocs> Well I can't figure out how to use mirc to do the regex filtering, I'm sure ruby has something I can use that's much more efficient and fast
<leitz> Documenting my effrots to compile Ruby afer a desktop rebuild. Not going so hot. https://github.com/LeamHall/ruby_compile/blob/master/docs/process.txt
schneider has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
Asher has joined #ruby
<havenwood> leitz: Try my ruby-install-nightly script! :-)
<havenwood> I guess I shouldn't hardcode --with-jemalloc >.>
<havenwood> I haven't generalized it into a tool yet.
<leitz> Or zsh. :)
<havenwood> well, the zsh bit is intentional
<havenwood> who doesn't have zsh?
venmx has joined #ruby
<havenwood> typically those who don't have bash either
* leitz looks and Usage and says "plbbght"
<havenwood> "plbbght"? whaat? haha
<leitz> not really.
schneider has quit [Ping timeout: 240 seconds]
<leitz> You can load most anyting on a desktop. But if you're just doing desktop, wy use Linux?
<leitz> Run it as root?
elopnrocs has quit [Quit: elopnrocs]
DELL_ has joined #ruby
<havenwood> I was just doing git subcommand example in bash, zsh and crystal. It's interesting to compare.
<leitz> First error: /usr/bin/env: zsh -e: No such file or directory
<leitz> Right after zsh is installed.
<havenwood> hrmmmm
<havenwood> why doesn't env know about it?
<havenwood> is it the -e flag?
sameerynho has joined #ruby
<havenwood> leitz: that's disturbing.
schneider has joined #ruby
<leitz> Gimme a sec, working on it.
<leitz> Yup, removing '-e' lets it move forward.
<havenwood> leitz: Oops, I didn't know that wasn't portable. Thanks!
<leitz> Will send you the error file in a sec. :)
<havenwood> Without the -e it'll try to proceed after an error. I should probably inline the -e so env doesn't bork.
DELL_ has quit [Client Quit]
<leitz> And sorry for being grumpy. I was hoping to work on rspec this weekend and have spent all my code brain time trying to update Ruby.
schneider has quit [Ping timeout: 240 seconds]
mtkd has quit []
schneider has joined #ruby
fiachetti has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
fiachetti has joined #ruby
suukim has quit [Quit: Konversation terminated!]
schneider has quit [Ping timeout: 245 seconds]
<leitz> havenwood, especially since it fails make and then says it installed successfully. :)
<havenwood> leitz: that's just because of the removal of -e
<leitz> What I had set up was 1. Use Ruby 1.8.7 (default) to build Ruby 2.0.0. Then use Ruby 2.0.0 to build 2.6.0. I'm missing some rpm though, the 2.0.0 build is failiing.
<havenwood> leitz: I made the script of macOS, and haven't yet tried to make it portable at all.
<leitz> havenwood, CentOS 6 here.
schneider has joined #ruby
<leitz> I was just pointing out, elsewhere, that Go quit supporting some of the older Macs. LIke most of the ones we have. :(
<havenwood> leitz: Can you use SCL packages? The rh-ruby24 would be very tempting to me if I was on CentOS right now.
<leitz> I'm trying to get to 2.6.0. I really got tired of people telling me to upgrade after several dozen times of telling them I can't upgrade at work. So I just code for myself and have failed to get Ruby any traction at work.
<havenwood> ah
<havenwood> leitz: I should make that ruby-install-nightly script portable.
<havenwood> leitz: I'd personally shoot for 2.5.1, just since 2.6 won't be out 'till Christmas.
alfiemax has quit [Remote host closed the connection]
<leitz> I had one that sort of worked, was writing an Ansible playbook for it.
<havenwood> The nightly is a slightly better bet than master.
<havenwood> (If you want bleeding edge.)
n008f4g_ has joined #ruby
clemens3_ has joined #ruby
<havenwood> leitz: Though in 2.6-nightly you get #filter, so that's a pretty good reason. :-)
mtkd has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
<leitz> I'm more the "either sit still or keep moving forward" type.
darkhanb has joined #ruby
<leitz> And, like I said, the whole "you should upgrade" think left a very bad taste in my mouth.
<leitz> So now it's "Can't stay still, can't go forward.".
<havenwood> I typically shoot for latest stable.
<leitz> Forturnately on IRC you can't hear what I'm trying hard not to say. :P
<leitz> I usually go for "It if can't be installed or used, find something else."
schneider has joined #ruby
<leitz> I would like to figure out what I'm missing and document that. Not smart enough, it seems.
<phaul> quick one liner challange. https://www.codewars.com/kata/5acd142a2ec8c48521000104 who can come up with the shortest code?
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 240 seconds]
tvw has quit [Remote host closed the connection]
<havenwood> phaul: Well, not exactly golf - but here's my solution: digits.map(&:abs2).reverse.join.to_s
<havenwood> err, to_i
<havenwood> >> 64.digits.map(&:abs2).reverse.join.to_i #phaul
<ruby[bot]> havenwood: # => undefined method `digits' for 64:Fixnum (NoMethodError) ...check link for more (https://eval.in/988660)
<al2o3-cr> that's exactly the same as mine :)
<havenwood> well, ruby 2.4+
<havenwood> #=> "3616"
<havenwood> 3616*
n008f4g_ has quit [Ping timeout: 264 seconds]
<havenwood> phaul: n.digits.reverse.map(&:abs2)*''
<havenwood> phaul: 31
<phaul> that's indeed shorter :)
Bored1238 has joined #ruby
schneider has joined #ruby
<havenwood> oh yeah, to_i
<havenwood> I guess if it wan't golf I might not use a string at all.
<leitz> And -e
<apeiros> "Spacing shouldn't be more than 30% of your total to avoid possible cheats"
mtkd has quit [Ping timeout: 265 seconds]
<apeiros> reminds me of when I used newlines+spaces+eval
<phaul> the abs2 trick was nice, TIL abs2
mtkd has joined #ruby
karapetyan has quit [Remote host closed the connection]
<phaul> also the * for join. Never seen that one either
cschneid_ has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
<apeiros> the problem with * is that it's difficult to chain
<phaul> or read
mjolnird has quit [Remote host closed the connection]
schneider has joined #ruby
<phaul> but none of that matters here :)
cschneid_ has quit [Ping timeout: 264 seconds]
<havenwood> phaul: Here's a solution that doesn't use a string: 64.digits.map(&:abs2).zip(0.step(by: 2).lazy.map { |n| 10 ** n }).map { |a, b| a * b }.sum #=> 3616
Azure|dc has joined #ruby
alfiemax has joined #ruby
<havenwood> phaul: Better written as: 64.digits.map.with_index { |n, i| n.abs2 * 10 ** (i * 2) }.sum
<havenwood> #=> 3615
<havenwood> 3616*
Azure has quit [Ping timeout: 264 seconds]
schneider has quit [Ping timeout: 268 seconds]
<havenwood> phaul: This come in just below the golf limit while still keeping it mathy: n.digits.map.with_index { |n, i| n * n * 10 ** (i * 2) }.sum
armyriad has quit [Quit: Leaving]
schneider has joined #ruby
mrush has joined #ruby
antoine has joined #ruby
antoine has quit [Client Quit]
tomphp has joined #ruby
dionysus69 has joined #ruby
<leitz> havenwood, before the need to rebuild, this is the update script I was using. https://github.com/LeamHall/ruby_admin_tools/blob/master/bin/make_new_language.sh
cschneid_ has joined #ruby
armyriad has joined #ruby
<leitz> Needs work, though.
Yzguy has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
jaredrhine has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
biberu has quit []
jaredrhine has joined #ruby
alfiemax has joined #ruby
<havenwood> And the benchmarks confirm, mathy is fast: https://gist.github.com/havenwood/09d6d9389835339ce42e2ec359f36da3
schneider has joined #ruby
mtkd has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 265 seconds]
mtkd has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leitz> Finally got Ruby 2.6.0 to build. Looks like it needs some libraries from the rpm list. https://github.com/LeamHall/ruby_compile/blob/master/docs/added_rpms.txt
schneider has quit [Ping timeout: 240 seconds]
<leitz> Not sure how to figure out which one(s).
TvL2386 has quit [Ping timeout: 256 seconds]
Tempesta has quit [Quit: See ya!]
schneider has joined #ruby
Tempesta has joined #ruby
dr3w_ has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
Dimik has quit [Ping timeout: 268 seconds]
schneider has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
sameerynho has quit [Ping timeout: 260 seconds]
quobo has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ltem has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
<leitz> Any comment on why L23 can't seem to replace L26? https://github.com/LeamHall/expense_tracker/blob/chapter_5/spec/unit/app/api_spec.rb
cadillac_ has quit [Read error: Connection reset by peer]
<leitz> Getting "undefined local variable or method "body".
<leitz> Ah, using @body works.
schneider has joined #ruby
karapetyan has joined #ruby
erlend has quit [Ping timeout: 263 seconds]
cadillac_ has joined #ruby
erlend has joined #ruby
TvL2386 has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
mynameisdebian has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
mynameisdebian has joined #ruby
schneider has joined #ruby
noobineer has joined #ruby
dkphenom has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
cadillac_ has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
TvL2386 has quit [Ping timeout: 260 seconds]
Ltem has quit [Quit: good night]
schneider has joined #ruby
dionysus69 has quit [Ping timeout: 264 seconds]
n008f4g_ has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
schneider has joined #ruby
sidx64_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yzguy has quit [Quit: Zzz...]
neohunter has joined #ruby
Yzguy has joined #ruby
<neohunter> Hi there!!
schneider has quit [Ping timeout: 265 seconds]
<neohunter> is there any recommendation about the limit of nested namespaces?
Yzguy has quit [Client Quit]
Yzguy has joined #ruby
<neohunter> I've this: `BatchInterface::SampleProvider::DataStructure::LovDictionary
<neohunter> is too much?
Yzguy has quit [Client Quit]
Yzguy has joined #ruby
eb0t_ has quit [Read error: Connection reset by peer]
Yzguy has quit [Client Quit]
despai has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Client Quit]
Yzguy has joined #ruby
madgen has quit [Ping timeout: 256 seconds]
Yzguy has quit [Client Quit]
eblip has joined #ruby
eb0t_ has joined #ruby
schneider has joined #ruby
eb0t has quit [Ping timeout: 255 seconds]
<leitz> neohunter, usually try to keep good screen spacing. That says whatever is using that namespace may know a lot about the insides of your classes.
schneider has quit [Ping timeout: 264 seconds]
<leitz> That said, I'm just a wannabe coder. :)
<konsolebox> if LovDictionary is an example of a DataStructure i wouldn't agree with the style
dviola has joined #ruby
eckhardt has joined #ruby
mtkd has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
c0ncealed1 has quit [Remote host closed the connection]
c0ncealed1 has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
TvL2386 has joined #ruby
axsuul has quit [Ping timeout: 255 seconds]
axsuul has joined #ruby
schneider has joined #ruby
psychicist__ has quit [Ping timeout: 260 seconds]
alex`` has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
mtkd has quit [Client Quit]
schneider has joined #ruby
banisterfiend has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
ellcs has joined #ruby
<banisterfiend> baweaver jesus you have so many unfathomable SJW douchebags working at stripe
<banisterfiend> ;)
<banisterfiend> (yourself not included, ofc)
alfiemax has joined #ruby
schneider has joined #ruby
chouhoulis has quit [Ping timeout: 263 seconds]
<mr-robert> hi banisterfiend
<banisterfiend> mr-robert hey what's up
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mr-robert> nothing much. good to see you here
<banisterfiend> you too. brb gogtta change treins, just seeing ruby in amsterda, now heading home
<banisterfiend> gotta change trains in schipol
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mr-robert> alright
alfiemax has quit [Ping timeout: 264 seconds]
schneider has quit [Ping timeout: 256 seconds]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
schneider has joined #ruby
banisterfiend has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
hkais has quit [Quit: Leaving.]
<banisterfiend> mr-robert rusp
<banisterfiend> sup
<mr-robert> yo
<mr-robert> heading to sleep
ur5us has joined #ruby
d5sx43_ has joined #ruby
jud has joined #ruby
jud has joined #ruby
jud has quit [Changing host]
schneider has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<banisterfiend> mr-robert sleep well
d5sx43_ has quit [Remote host closed the connection]
ur5us_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
cyberg has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
cyberg has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
amar has quit [Remote host closed the connection]
Synthead has joined #ruby
neohunter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Synthead> I'm trying to send raw XML via Faraday, and the server is giving 500s where cURL'ing the same data works fine
schneider has joined #ruby
<Synthead> is there some way that I have to configure Faraday to make this work? perhaps it's trying to encode the data somehow?
Azure|dc is now known as Azure
leitz has quit [Quit: Nappy time]
d5sx43_ has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
d5sx43_ has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 255 seconds]
axsuul has joined #ruby
jaredrhine has quit [Read error: Connection reset by peer]
schneider has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 260 seconds]
jaredrhine has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
schneider has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
John_Ivan has quit [Read error: Connection reset by peer]
mynameisdebian has quit [Remote host closed the connection]
mynameisdebian has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
jeffreylevesque has joined #ruby
erlend has quit [Ping timeout: 264 seconds]
gnotc has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
erlend has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ruby
sameerynho has joined #ruby
schneider has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
reber has quit [Remote host closed the connection]
jamesaxl has quit [Quit: WeeChat 2.1]
alfiemax has joined #ruby
AndBobsYourUncle has quit [Quit: Textual IRC Client: www.textualapp.com]
cschneid_ has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
dr3w_ has joined #ruby
dr3w_ has quit [Client Quit]
<Synthead> is there a way I can see the submitted body in faraday requests?
postmodern has joined #ruby
ta__ has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
cschneid_ has quit []
ciscam has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
Asher has quit [Quit: Leaving.]
karapetyan has quit [Remote host closed the connection]
Asher has joined #ruby
karapetyan has joined #ruby
venmx has quit [Ping timeout: 264 seconds]
gnufied has joined #ruby
Synthead has quit [Ping timeout: 240 seconds]
eblip is now known as eb0t
schneider has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
schneider has joined #ruby
ryzokuken has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
Synthead has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
alfiemax has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
schneider has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
dr3w_ has joined #ruby
dviola has quit [Quit: WeeChat 2.1]
diego2 has joined #ruby
diego2 has quit [Client Quit]
redlegion has quit [Remote host closed the connection]
redlegion has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
sameerynho has quit [Ping timeout: 240 seconds]
neohunter has joined #ruby
Synthead has quit [Ping timeout: 268 seconds]
schneider has joined #ruby
n008f4g_ has quit [Ping timeout: 256 seconds]
schneider has quit [Ping timeout: 256 seconds]
schneider has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
madgen has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
schneider has joined #ruby
ResidentBiscuit has joined #ruby
clemens3_ has quit [Ping timeout: 268 seconds]