Hacker Newsnew | past | comments | ask | show | jobs | submit | 21stio's commentslogin

Hey Chris,

thanks for sharing the article. I think I spotted a minor logical error in it tho.

> This is because on average, you will gain $1 with every coinflip. For those interested in the maths, you have a 50% chance of winning $2, and a 50% chance of losing $1. 50% * (+2) + 50% * (-1) = +$1.

Isn’t it an average gain of $ 50ct per coin flip? That way the calculation would be correct aswell.


Yeah, I'm also pretty confident it's an average of +50 cents per flip.

E.g. if you get 50 heads and 50 tails in 100 flips, that's +$50, which maps to 50 cents per flip.


Good pick up!


Hallo HN,

I was looking for a go module that exposes runtime metrics with little compile and runtime overhead, and an idiomatic interface. I couldn't find one, so I just built one. I hope this might be helpful to anybody out there.

There's also https://github.com/go-echarts/statsview https://github.com/aalpern/go-metrics-charts

Have a nice weekend, and stay happy!


Thanks for pointing this out. No idea, why it appeared on the list. There's already a github issue https://github.com/MetaMask/eth-phishing-detect/issues/3835


yeah agreed, we will add it. Thanks for pointing it out! :)


it’s a different application


I'm happy, that you like it! Yeah, you are right and thanks for the read. I'll have a look into it


Thanks! MetaMate's HackerNews service relies on hn.angolia.com under the hook, which only returns a maximum of 1000 hits for any given term unfortunately


Hey dyeje,

> I'd like to see the same visualization on posts and submissions

Would you like to see the same visualization for the top-stories feed? If not, could you elaborate on your request?


Hm not sure. Basically, I think Submissions graph is cool because the Y axis is points and it's fun to see your most popular posts. I'd like to see that same visualization applied to the comments graph (so replacing replies with points as the Y axis). Sometimes you can have a really popular comment that doesn't get many replies because people agree with it. Replies feels more like an indicator of controversial-ness, which are posts I'm probably not going to look as fondly back on.


Points for comments are not public, so the only way to create that visualization would be to scrape your own comment history.


Hey James, it makes sense! Will be added to the backlog, cheers for the heads up


thanks for the kind words!

good spot, unfortunately, the points for comments aren't publically available as well as the upvotes of a user


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: