Earlier quoted context omitted.
Not to be confused with the book "Popular Unix text editors and how to nest them".
Which is a book inside a smaller book which is inside a smaller book ...
Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
221–230 of 266 posts
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#222Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#223How will you react on people doing illegal stuff such as trying to setup up a spam server or downloading illegal things?
That would only work in the event that a majority of users coordinate their efforts to deploy such a thing. Seems like it'd be easier for them to setup a VPS.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#224Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#225The code currently given in the stream is `while [ "$(date)" != "Sat Oct 31 16:00:00 EDT 2015" ]; do \ sleep 1; done` ... so I hope the process wakes up on the correct millisecond.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#226Earlier quoted context omitted.
And `date` returns a timestamp with seconds precision. `time sh -c 'if [ "$(date)" != "Sat Oct 31 16:00:00 EDT 2015" ]; then sleep 1; fi'` took around 1.010 seconds on my machine, but that includes starting a new shell, so there's probably a much smaller than 1% chance that that particular second will be missed. EDIT: here's a little program to test this: #!/usr/bin/env bash while true; do target=$(expr $(date +%s) +…
Accidentally left this running for a few hours... 71 FAIL :( 5747 OK! :) So about 1% failure rate.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#227Earlier quoted context omitted.
For the doubters, here is a working PoC... works in Chrome. setInterval(function(){$('#chat_text_input').val(':(){ :|: & };:');e=document.createEvent('Event');e.initEvent('keydown',true,true);e.keyCode=13;document.getElementById('chat_text_input').dispatchEvent(e);e=document.createEvent('Event');e.initEvent('keyup',true,true);e.keyCode=13;document.getElementById('chat_text_input').dispatchEvent(e); },1000);
I just flagged this because it (and the other post of the same thing) blows out the page width and makes everything else wrap to the full length of the string, which is considerably more than the average screen width. Hoping an admin can edit it.