havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 2.7.2, 2.6.6, 3.0.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first! | BLM <3
Azure has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
JoshAshby has quit [Quit: WeeChat 2.9]
ashby has joined #ruby
ashby is now known as JoshAshby
shoshin4 has joined #ruby
rbuchberger has joined #ruby
shoshin has quit [Read error: Connection reset by peer]
shoshin4 is now known as shoshin
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cnsvc has joined #ruby
vondruch has quit [Remote host closed the connection]
vondruch has joined #ruby
ap4y has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
ap4y has quit [Ping timeout: 240 seconds]
cthulchu has quit [Ping timeout: 240 seconds]
TCZ has quit [Quit: Leaving]
clemens3 has quit [Ping timeout: 256 seconds]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3 has joined #ruby
powerhouse has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
powerhouse has joined #ruby
powerhouse has quit [Read error: Connection reset by peer]
vondruch has joined #ruby
Rudd0 has quit [Ping timeout: 256 seconds]
rbuchberger has quit [Ping timeout: 240 seconds]
ap4y has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
joast has quit [Quit: Leaving.]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
chouhoulis has quit [Remote host closed the connection]
vondruch has quit [Client Quit]
vondruch has joined #ruby
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
roshanavand_ has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
roshanavand_ is now known as roshanavand
dasher00 has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adu has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
ap4y has quit [Ping timeout: 240 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
ChmEarl has quit [Quit: Leaving]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
_whitelogger has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
swaggboi has quit [Quit: C-x C-c]
summerisle has quit [Quit: In my vision, I was on the veranda of a vast estate, a palazzo of some fantastic proportion.]
summerisle has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
Rudd0 has joined #ruby
swaggboi has joined #ruby
orbyt_ has joined #ruby
greypack has quit [Quit: All your IRC are belong to ZNC]
evdubs has quit [Quit: Leaving]
evdubs has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
envex has joined #ruby
ap4y has joined #ruby
bocaneri has joined #ruby
greypack has joined #ruby
powerhouse has joined #ruby
_whitelogger has joined #ruby
imode has quit [Ping timeout: 246 seconds]
ur5us has joined #ruby
adu has quit [Quit: adu]
dcunit3d has quit [Ping timeout: 265 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
dcunit3d has joined #ruby
BSaboia has joined #ruby
akem has quit [Remote host closed the connection]
braincrash has joined #ruby
dasher00 has joined #ruby
summerisle has quit [Quit: In my vision, I was on the veranda of a vast estate, a palazzo of some fantastic proportion.]
cd has quit [Quit: cd]
ur5us has quit [Ping timeout: 260 seconds]
summerisle has joined #ruby
stdedos has joined #ruby
braincrash has quit [Ping timeout: 265 seconds]
stdedos has quit [Quit: Connection closed]
dviola has joined #ruby
dviola has quit [Quit: WeeChat 2.9]
dcunit3d has quit [Ping timeout: 260 seconds]
alnk has quit [Ping timeout: 272 seconds]
alnk has joined #ruby
Pillus has quit [Ping timeout: 272 seconds]
integral has quit [Ping timeout: 272 seconds]
darthThorik has quit [Ping timeout: 272 seconds]
Pillus has joined #ruby
integral has joined #ruby
darthThorik has joined #ruby
meinside has quit [Ping timeout: 272 seconds]
meinside has joined #ruby
jnoon has quit [Ping timeout: 272 seconds]
vqrs has quit [Ping timeout: 272 seconds]
jnoon has joined #ruby
vqrs has joined #ruby
dcunit3d has joined #ruby
ap4y has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
envex has quit []
dcunit3d has quit [Ping timeout: 260 seconds]
akem has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
rbuchberger has joined #ruby
rbuchberger has quit [Quit: leaving]
rippa has joined #ruby
powerhouse has quit [Quit: Leaving]
ur5us has joined #ruby
powerhouse has joined #ruby
TCZ has joined #ruby
universa1 has quit [Quit: ZNC 1.6.1+deb1~ubuntu14.04.0 - http://znc.in]
universa1 has joined #ruby
powerhouse has quit [Remote host closed the connection]
ellcs has joined #ruby
braincrash has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 260 seconds]
LenPayne has quit [Quit: ZNC 1.8.1 - https://znc.in]
LenPayne has joined #ruby
impermanence has joined #ruby
TCZ has quit [Quit: Leaving]
jmcgnh has quit [Ping timeout: 256 seconds]
jmcgnh has joined #ruby
ChmEarl has joined #ruby
TCZ has joined #ruby
timwis has quit [Quit: Connection closed for inactivity]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<impermanence> havenwood: are you around? I have a quick question
<impermanence> https://bpa.st/24IQ
<impermanence> hm. alright then:
<impermanence> the small block above is sleeping Random.rand(0.5..10) and then writing to a file
<impermanence> I'm noticing some weird behavior when I take the averages of time differences from this file
<impermanence> basically as the numbers of log lines considered gets very large the avg tends to either 6 or 7
<impermanence> as the log lines considered gets very small the avg tends to 1, 2 or 3
<impermanence> for *everything* in between the avg tends to 5
<impermanence> basically without exception
<impermanence> so it is seemingly not random
<impermanence> I don't know if anyone can help me think through this :)
<impermanence> I should/could of course provide more specifics
rippa has joined #ruby
akem has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
<impermanence> hm.
<impermanence> okay so I was able to reduce the behavior lol.
<adam12> impermanence: not sure what you were trying to determine out of all this
<impermanence> adam12: consider the following paste.
<impermanence> one second here.
<impermanence> https://bpa.st/6P6A
<impermanence> I thought it was my code
<impermanence> but Random.rand has some powerful convergance
<impermanence> I guess it's law of large numbers at work?
<impermanence> basically as ARGV[0] gets fairly large the avg starts to heavily converge on a number
<impermanence> which threw me at first because I thought I was doing something wrong
<impermanence> and I don't write Ruby at all
<impermanence> so I figured it was with my (python) code
banisterfiend has joined #ruby
<impermanence> am I doing something wrong?
<impermanence> I mean...I think the average is being calculated correctly
<impermanence> adam12: any thoughts?
<adam12> impermanence: Code looks fine. You're likely right in the sense that it's LLN at play.
<impermanence> thanks. I am relieved.
<impermanence> I did like 10 hours of work on this algorithm
<impermanence> ultimately which culminates in a CLI
<impermanence> and at the end of all of it...despite whatever flags I was giving it the same arithmetic mean kept coming back
<impermanence> so I was just sitting there slackjawed staring at my screen with this super hard to read code like: "damn. guess there is a bug..."
<impermanence> '=D
<adam12> LOL.
<impermanence> yeah. it's for an interview too.
<impermanence> so now I'm quite self-conscious about how to broach the topic.
<impermanence> because I don't want to embarrass anyone.
<impermanence> and they're all ruby heads I think.
<impermanence> maybe they knew, however.
<impermanence> idk maybe it'll be like charlie and the chocolate factory and they'll be like "congratulations!!! you won the factory!!!"
<impermanence> k i'll shut up now :)
<impermanence> l8r
<adam12> impermanence: Are you interviewing for a Ruby job?
<impermanence> god no. well I hope not.
<impermanence> it's an SRE position effectively so I'm sure python will be warmly welcomed.
<impermanence> but their test app is ruby 2.4.
<impermanence> which is what I was writing all my code against.
<adam12> Ah I see. OK.
<impermanence> and that first bpaste I posted...
<impermanence> not sure if you saw it. sounds like you did.
<impermanence> but that's where they're using Random.rand.
<impermanence> basically they say hey `sleep Random.rand(0.5..10) and then do something`
<impermanence> problem is: Random.rand(0.5..10) converges powerfully between 5 - 7.
<impermanence> so my statistics of course converged powerfully as well!
<impermanence> so it makes my CLI seem kind of stupid LMAO dude.
<impermanence> but I think everything I've done is totally correct.
al2o3-cr-tmp has joined #ruby
al2o3-cr is now known as Guest39806
al2o3-cr-tmp is now known as al2o3-cr
cliluw has quit [Ping timeout: 260 seconds]
Technodrome has joined #ruby
TCZ has quit [Quit: Leaving]
meinside has quit [Quit: Connection closed for inactivity]
orbyt_ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
akem has joined #ruby
kindwindfall has joined #ruby
davispuh has joined #ruby
cd has joined #ruby
dasher00 has quit [Ping timeout: 256 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apotheon> 15:07 < impermanence> god no. well I hope not.
<apotheon> That seems rather Ruby-hostile for the #ruby channel.
`Alison has quit [Ping timeout: 260 seconds]
`Alison has joined #ruby
roshanavand has joined #ruby
greypack has quit [Quit: All your IRC are belong to ZNC]
al2o3-cr has quit [Quit: WeeChat 2.9]
kristian_on_linu has joined #ruby
teardown has joined #ruby
Guest39806 has quit [Quit: WeeChat 2.9]
<leah2> hell is other people's ruby code ;)
al2o3-cr has joined #ruby
<leah2> she said and is soon working on a rails project again :p
imode has joined #ruby
weaksauce has quit [Ping timeout: 260 seconds]
bocaneri has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
cnsvc has joined #ruby
Liothen has quit [Ping timeout: 260 seconds]
Liothen has joined #ruby
Rudd0 has quit [Ping timeout: 265 seconds]
weaksauce has joined #ruby
greypack has joined #ruby
queip has quit [Remote host closed the connection]
queip has joined #ruby
kristian_on_linu has quit [Read error: Connection reset by peer]
queip has quit [Excess Flood]
queip has joined #ruby
<apotheon> leah2: Hell is other people's code regardless of language, pretty much.
<apotheon> I need to figure out how easily I can write a Roda application and deploy to Netlify.
<leah2> yeah, but in ruby they have so many possibilities :)
<apotheon> I'm not sure what you're saying.
ap4y has joined #ruby
ap4y has quit [Ping timeout: 260 seconds]
TCZ has joined #ruby
chouhoulis has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
howdoi has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
ap4y has joined #ruby
ellcs has quit [Ping timeout: 256 seconds]
banisterfiend has joined #ruby
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
ap4y has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
davispuh has quit [Ping timeout: 240 seconds]
bvdw has joined #ruby
nofxx has joined #ruby
powerhouse has joined #ruby
powerhouse has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby
TCZ has quit [Quit: Leaving]
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
bvdw has joined #ruby
SuperLag has quit [Quit: reboot reboot reboot]
powerhouse has joined #ruby
Rudd0 has joined #ruby
powerhouse has quit [Remote host closed the connection]
powerhouse has joined #ruby
SuperLag has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
ap4y has joined #ruby
TCZ has joined #ruby
banisterfiend has joined #ruby
joshuacronemeyer has joined #ruby
joshuacronemeyer has quit [Client Quit]