4 ms·
Toss this into a cronjob and the website will never die ;) curl -XPOST -d 'body=you cant die. you will never die' "https://www.thiswebsitewillselfdestruct.com/
by kiernanmcgowan 6y ago
Toss this into a cronjob and the website will never die ;)
curl -XPOST -d 'body=you cant die. you will never die' "https://www.thiswebsitewillselfdestruct.com/api/send_letter" https://www.thiswebsitewillselfdestruct.com/api/send_letter"
- baddox 6y agoWell, that would just be a “who lives longer” contest between the two servers. :)
- 361994752 6y ago... Or hundreds of "who lives longer" contests simultaneously. And the website must win them all to self-destruct
- mrichards212a 6y agoI wonder how such tactics will evolve over the long run
- thanksforfish 6y agoEasy. Add it to a Lambda function on an AWS account. Run once a day, it shouldn't generate a bill on it's own. Outlive an AWS account that never generates a bill? That could be a challenge.
- surround 6y agoIt ought to only allow one message per IP address, then things would get interesting.
- deepsun 6y agoFinally the use case for IPv6!
- FemmeAndroid 6y agoHi! I made this. I'm not going to talk too much about the back end of the system, but that won't work. :)
- saagarjha 6y agoWould you be willing to talk about it once it self-destructs?
- vulcan01 6y agoHopefully it doesn't come to that...
- FemmeAndroid 6y agoYeah, I'll definitely do a postmortem of some kind, and go into the moderation tools I built for this.
- EKSolutions 6y agoIt's a shame really, I both really want to see the technical details from that post-mortem but, at the same time, I don't want to see such an amazing project go.
- duckmysick 6y agoThe cynic in me thinks the website won't self destruct, but instead will stop working because the domain isn't renewed or the server isn't responding.
- kiernanmcgowan 6y agoAwesome, glad you were already ahead of me!
- quickthrower2 6y agoWhattabout a puppeteer job?
- 6y ago
- collinmanderson 6y agomaybe have a cronjob keep an eye on https://www.thiswebsitewillselfdestruct.com/api/get_ttl https://www.thiswebsitewillselfdestruct.com/api/get_ttl and ping you if it gets low. Maybe run something like this hourly, which would give about 2 hours notice: curl https://www.thiswebsitewillselfdestruct.com/api/get_ttl https://www.thiswebsitewillselfdestruct.com/api/get_ttl -s | wc -c | grep -v 26 (Though don't run it right on the hour as too many people doing that might temporarily take down the website.)
- deleted 6y ago[deleted]