Live data from Hacker News

Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game

twitchinstalls.com

81–90 of 266 posts

Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game

#81
post #44

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

Twitch creates two state solution agreed to by Israel and Palestine.

Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game

#82
post #44

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

I wouldn't honestly be surprised if Twitch managed to get better returns than a lot of automated trading software...

Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game

#83
post #34
post #26

Earlier quoted context omitted.

They should read the book "Popular Unix text editors and how to exit them"

quit ? exit ? end ? done ? bye ? quit! ? ^X ? ^C ? ^C ? help ? ? ? ^Z $ killall ed $ vi

You mean that isn't how to exit 'ed'?

Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game

#85
post #80

The 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.

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

#86

Earlier 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.

Can't you just modify the script to add 1 char at the time and the event handler will get it anyways?

Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game

#88
post #85
post #80

Earlier 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.

You're talking about `sleep` specifically here, right? Or general use of timers/polling for flow control?

Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game

#89
post #68

Earlier 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.

If you append /hls to the URL you'll get to the HTTP Live Streaming player.

Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game

#90

The 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.

Pretty sure it's just a splash screen, but yeah :p
Post reply on HN