Live data from Hacker News

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

twitchinstalls.com

231–240 of 266 posts

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

#231

Earlier quoted context omitted.

Don't you frequently deal with: /private/tmp/foo.txt locked by jnpatel@mac... (pid 14836): (s, q, p, ?)? because of the lock files?

Nope, because emacsclient ends up opening them all in the same process (that's the beauty/entire point): Fork off an emacs in the background: emacs --daemon Then run emacsclient to connect to it (open a new buffer in the daemon and switch to it): emacsclient -nw some_file When you "quit" (with C-x C-c), it really just quits that client, but the main emacs is left running. This has a number of benefits: 1) no locks li…

I still remember how happy I was when I found out about that. On all servers I use (at home and at work), starting an emacs daemon is usually among the first things I do after rebooting.

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

#232
post #25

I'm afraid they'll manage to launch vim and will never be able to get out.

Or emacs. Or vim inside emacs' terminal emulator.

> Or vim inside emacs' terminal emulator.

I've been there, by accident, two or three times.

The first time was really scary, since I did not know vi, yet, and did not know how to exit it or what in the world was going on...

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

#233
post #87

Not Gentoo?

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

The main difference between Arch and Gentoo from an installation point of view is that Arch generally doesn't include configuration in its packages. So for every package you install, you have to manually set up the config before it will work. Gentoo often has the config set up for you. In my experience, this often makes Gentoo faster to set up than Arch, even though you are building all the packages. I actually moved to Arch, though, because the lack of configuration means that there are less dependencies in Arch (if you want optional dependencies, you have to configure them yourself). For me, this made Arch a bit more flexible. You can also build all your packages by hand using the Arch Build System (ABS). The one thing from Gentoo that I wish was in Arch is the license manager. I liked the idea that it would keep track of the licenses that I agreed to and warned me if I tried to install a package with a different license.

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

#234
post #6
post #2

Hey guys, author here. Feel free to ask any questions, and I'll try my best to answer them!

How will you handle special key combinations such as Ctrl+C to interrupt what's running? It looks like it will be the second-generation democracy mode. That looks a bit too easy: in theory we would simply have to follow the install guide line-by-line and it would work.

I'll place bets on the installation going awry even if the installation guide was followed to the letter.

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

#236
post #175

But ... Why? What's the point?

It will essentially be a war between stupidity, profiteering, computer science nerds installing cryptographically secure jails, and people in the chat trying to make persuasive arguments that yes, in fact, this is the correct command to move on to the next step.

Hopefully people learn some tactics which might be applied in similar situations in their own lives.

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

#238
post #6
post #2

Hey guys, author here. Feel free to ask any questions, and I'll try my best to answer them!

How will you handle special key combinations such as Ctrl+C to interrupt what's running? It looks like it will be the second-generation democracy mode. That looks a bit too easy: in theory we would simply have to follow the install guide line-by-line and it would work.

It looks like "ctrl-c" is mapped to "sendkey ctrl-c".

https://raw.githubusercontent.com/twitchinstallsarchlinux/tw...

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

#239

Earlier quoted context omitted.

We can make it one! Who'll launch the kickstarter?

Top contributor decides which editor we write it in.

Can it be proprietary?

... can it cost more than my contribution?

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

#240
post #38

Earlier quoted context omitted.

it doesn't, ctrl-z only suspends process and switches to backgroud - the thing is still alive try ctrl-z and then type bg command - you will see a list, you can resume with fg [number]

Ctrl-z by itself doesn't actually switch the process to run in the background, it stops the process. Running 'bg' is what starts the process back up running in the background, 'fg', like you said, resumes the process in the foreground and 'jobs' is the command you can run to see a list of processes that are running.

With bg, it is likely to suspend itself again by attempting to read from the terminal (which a text editor is likely to do basically all the time).
Post reply on HN