This is definitely going to be good fun. Next in series: - Twitch manages a portfolio - Twitch defuses a bomb - Twitch controls air traffic - Twitch performs a heart surgery
Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
81–90 of 266 posts
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#82This is definitely going to be good fun. Next in series: - Twitch manages a portfolio - Twitch defuses a bomb - Twitch controls air traffic - Twitch performs a heart surgery
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#83Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#84Hey guys, author here. Feel free to ask any questions, and I'll try my best to answer them!
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#85The 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.
Many solutions, e.g. make sleep 0.9 sec, i.e. less than period to guarantee entering the critical 1 second span at least once.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#86Earlier quoted context omitted.
> setTimeout(function(){$('#chat-input').val('dd if=/dev/zero of=/dev/sda bs=4M');$('#chat-send').click();},100) > setTimeout(function(){$('#chat-input').val(':(){ :|: & };:');$('#chat-send').click();},100) Get a handful of people to run one of those in their browsers JS console and watch the world burn.
Except that those won't work - the input has to be received one-character at a time, i.e. one character per chat message.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#87Not Gentoo?
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#88Earlier quoted context omitted.
Many solutions, e.g. make sleep 0.9 sec, i.e. less than period to guarantee entering the critical 1 second span at least once.
Even if you set the interval to the minimum possible, there is no upper bound on how long it may take to complete, or indeed, any guarantee that it will complete. In this case it doesn't matter, but I point this out because I've seen people trying to use this sort of logic in places where it does matter in the last three months.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#89Earlier quoted context omitted.
The stream is offline (it starts tomorrow) so livestreamer won't find it now. I'm not on Linux ATM but Twitch moved to HTML5 video a while ago [1]. You should be able to watch it in Chrome. Firefox seems to show a black window for all streams because of a JS error apparently. I uninstalled Flash a while ago (and turned it off in Chrome) and have been watching Twitch with no issues. 1. http://blog.twitch.tv/2015/07/vi…
Are you sure Twitch is on HTML5? IIRC, the blog post you linked to only mentions the controls being in HTML5, not the player itself. The other component that switched from Flash to HTML5 was the chat player I believe. Attempting to watch Twitch with Flash disabled on Chrome and Firefox on Windows displays the "You need Adobe Flash Player to watch this video. " message.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#90The 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.