Live data from Hacker News

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

twitchinstalls.com

131–140 of 266 posts

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

#131

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.

[deleted]

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

#132

This is going to be amazing

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

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);

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

#134

Any idea how to play this on Fedora without flash? I've tried gnome-twitch that crashes a LOT and now trying to use livestreamer-twitch-gui which is not able to find the stream. livestreamer http://www.twitch.tv/twitchinstallsarchlinux says it cannot find any streams on this URL.

mpv with youtube-dl also supports live twitch streams so you can give that a try too.

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

#135

Earlier quoted context omitted.

Note to those objecting to '$': I have PS1 set to '$' on every account. It just saves confusion.

Don't you think it is prettier with the space?

Nah, just adds clutter.

[Fixed in the great-grandparent.]

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

#136
post #63
post #41

Earlier quoted context omitted.

this has got to be trolling. right? right?! i'm so confused.

Back when I first started my CompSci degree, a friend of mine always "quit" emacs with ctrl-z. Or, at least he did until he managed to fill his entire home directory quota with emacs backup files that were never cleaned up...

Ha, I still do that!

    $ jobs
    [4]   Stopped                 emacsclient -a '' -nw [redacted]  (wd: [redacted])
    [5]   Stopped                 emacsclient -a '' -nw [redacted]  (wd: [redacted])
    [6]   Stopped                 emacsclient -a '' -nw [redacted]  (wd: [redacted])
    [7]   Stopped                 emacsclient -a '' -nw [redacted]  (wd: [redacted])
    [8]   Stopped                 emacsclient -a '' -nw [redacted]  (wd: [redacted])
    [9]   Stopped                 emacsclient -a '' -nw [redacted]  (wd: [redacted])
    [10]   Stopped                 emacsclient -a '' -nw [redacted]  (wd: [redacted])
    [11]   Stopped                 emacsclient -a '' -nw [redacted]  (wd: [redacted])
    [12]-  Stopped                 emacsclient -a '' -nw [redacted]  (wd: [redacted])
    [13]+  Stopped                 emacsclient -a '' -nw [redacted]
But since they're all emacsclients it doesn't really matter.

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

#137

Any bets on how long it will take Twitch to enter "rm -rf /" once the filesystem is set up?

That's already half of the chat. That and attempting to launch a reverse shell and give an unknown party terminal access outside of the channel.

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

#138

Earlier quoted context omitted.

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

It would blow all the money on commission fees.

$25,000 in a Robinhood account allows you to trade on margin and commission free.

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

#139

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.

Why would it have to be the exact millisecond? "$(date)" will have that value for 1 second, assuming the format is correct. There is some very small timespan in which it could fail, but the chances are very much in favor of successfully exiting the loop.

`sleep` sleeps for seconds.
Post reply on HN