Live data from Hacker News

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

twitchinstalls.com

91–100 of 266 posts

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

#92

Earlier quoted context omitted.

wait, you mean "sudo shred /dev/sda1 &"?

wait, �ջ;Y?�2�c�Ig7aus�_1��S���^���{9��§5�?�a B'����W�E��ʧ�X*C��J�4���ѡ�s�]q������a]���

Random binary dumps aren't what they used to be. You should manually decode some 8-bit ascii by hand:

    $ python
    Python 2.7.6
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import random
    >>> print(''.join([chr(random.randint(32,255)) 
         for x in range(50)]).decode("latin-1"))
    ¿IBÄõq½¦Áºn}@õÖhzUÌÓQ£m5ë¢ümÇ®=ÇÆªLÛHt
Now that's quality random binary garbage.

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

#93
post #87

Not Gentoo?

Gentoo is real hard, but I've heard from people the Arch install is even more painful :/

Really? I didn't find it too difficult, easily done in ~10 minutes. I mean, a Gentoo Stage 3 install is pretty easy these days as well, but I think Arch is still substantially quicker to get running.

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

#94

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.

simple pseudo-code PoC, another 2 minutes of coding to fix that limitation.

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

#95
post #86

Earlier quoted context omitted.

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?

yes, you can.

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

#96
post #86

Earlier quoted context omitted.

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?

How do you know that char[x] went through, and you should switch to spamming char[x+1]?

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

#99
post #83
post #34

Earlier quoted context omitted.

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

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

Technically, the official method of exiting ed, if you're running as root, is:

    $ed a_file
    ... (normal usage)
    r /etc/motd
    w /boot/vmlinuz-3.19.0-16-generic (replace with specific kernel)
    !reboot
The alternative of "w /dev/sda1" is also acceptable.

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

#100
post #70

Earlier quoted context omitted.

Vi is everywhere. Its part of the POSIX standard and comes out of the box (in one flavor or another) with every Linux Distro, OSX, HP-UX, AIX, Solaris, Darwin, FreeBSD, OpenBSD, and DragonFlyBSD. ViM is just Vi iMproved. They share most their keybinds but VIM has the whole plugin architecture thing. This is a big sticking point for a lot of VIM users [1]. If you ever end up on a Unix box that doesn't have VIM, you ca…

At least on Ubuntu, vi is really VIM: zck@zck-desktop:~$ vi --version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 2 2014 19:39:32)

Eh, yeah, but it usually links to the "basic" version (which, I assume, is compatibility mode for old school vi).

    root@dicks:~# which vi
    /usr/bin/vi
    root@dicks:~# file /usr/bin/vi
    /usr/bin/vi: symbolic link to `/etc/alternatives/vi'
    root@dicks:~# file /etc/alternatives/vi
    /etc/alternatives/vi: symbolic link to    `/usr/bin/vim.basic'
    root@dicks:~# file /usr/bin/vim.basic
    /usr/bin/vim.basic: ELF 64-bit LSB  executable, x86-64, (snip)
    root@dicks:~# vi --version
    VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan  2 2014 19:39:32)
Post reply on HN