No affiliation, but the second to top deceased site is still alive and kicking [0] Spot checking the top results might give a better estimate for how many are actually alive vs. just using bot protection. [0] https://news.ycombinator.com/item?id=35543668
Track HN: Survival Rate of Show HN Stories
21–30 of 75 posts
Re: Track HN: Survival Rate of Show HN Stories
#22Thanks for making and sharing this - although I'm surprised it's not a "Show HN" itself! I was curious about the top post that didn't survive - an HTML5 game called "airma.sh" - and I wanted to check it out. I think I found a working mirror: https://www.crazygames.com/game/airmash It's possible that this is a different game, but it seems to fit the description. Interestingly, the person who submitted that post stoppe…
The original author was never to be heard from again.
Re: Track HN: Survival Rate of Show HN Stories
#23Re: Track HN: Survival Rate of Show HN Stories
#24I'd actually be interested in factors that make a Show HN a success vs failure.
Objectively, there's an obvious one your dataset: time of submission. Tuesday afternoon (which timezone? I assume US west coast?) seems to be key. No way this correlates with the quality of submissions.
Subjectively: it seems to become much harder recently. I managed once a couple of years ago for a short time to reach the front page with an Android app, now I'm barely able to get above 20 points, even though the product is (again, subjectively) cooler and has a possibly wider audience (https://news.ycombinator.com/item?id=35671245).
Not complaining, but perhaps nowadays Show HN is not an easy way anymore to "get the word out" and get some early user feedback for and from indie hackers? Any other sites that might be of interest?
Re: Track HN: Survival Rate of Show HN Stories
#25Re: Track HN: Survival Rate of Show HN Stories
#26https://news.ycombinator.com/item?id=22650725
In fact we were so successful that we were able to shut it down less than a year after we started (It's on the list as a very reasonable Type II error ;))
Thanks to the HN community for helping us get an amazing Temporary product out and shut down successfully
Re: Track HN: Survival Rate of Show HN Stories
#27Neat idea, thanks for sharing. Curious choice to highlight Show HNs that didn't survive, but not the ones that did. Is there a reason for this?
Re: Track HN: Survival Rate of Show HN Stories
#28^(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:\/\n?]+).
It even gave reasonable detailed explanations which convinced me. Later tests revealed that this regex doesn’t work for url with @ in path, such as https://foo.com/@./bar. The correct one should be
^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+).
---------------------
The trick is to ask ChatGPT what the right tool for the job is in your language of choice. For python, ChatGPT will happily give you:
from urllib.parse import urlparse
extract_domain = lambda url: urlparse(url).netloc.replace('www.', '', 1)
# Example usage
url = 'https://foo.com/@./bar'
domain = extract_domain(url)
print(domain) # Output: foo.com
-------------I don't think RegEx is typically the "most" correct tool for the job for things which likely have built-in parser libraries (XML, HTML, URLs, JSON, etc)
Re: Track HN: Survival Rate of Show HN Stories
#29Re: Track HN: Survival Rate of Show HN Stories
#30Just a silly aside with regards to the regex to extract domains from URLs, my little tool called unfurl [0] exists to solve that exact sort of problem :) [0] https://github.com/tomnomnom/unfurl