Live data from Hacker News

Show HN: Universal Pause Button

github.com

61–70 of 174 posts

Re: Show HN: Universal Pause Button

#61
post #57
post #44

Earlier quoted context omitted.

On debian the program is cpulimit.

The kill -STOP command works on linux too

It does, but cpulimit repeatedly stops/continues the program to keep it within a certain amount of CPU.

It works pretty good, but I have had flash games crash if you limit them too low for a while.

Re: Show HN: Universal Pause Button

#62
Nice idea and app. Having a quick look at the code I had forgotten how much work needed to be done for old-skool Windows applications. They do give you great lean applications though which is something I miss.

I will always have a soft spot for small, lean single function applications. I guess it takes me back to my UNIX days. Some of my favourite more modern programs are SumatraPDF, uTorrent (the older 2.x versions) and Notepad2, lovely single exe programs that are self-contained. No installers and messy configs all over the place or in the registry.

Re: Show HN: Universal Pause Button

#63
Without reading the explanation, immediately my roommate and I figure out how to do it via the linux terminal by pausing the main thread. It seems so obvious, don't know why I wasn't doing this myself.... since I have the same problem as the OP.

Re: Show HN: Universal Pause Button

#65
post #47

"I've already gotten great value out of the program, as there are lots of cut scenes in The Witcher 3, that I don't want to skip." The Witcher 3 pauses cutscenes when the window is not in focus. So the example is probably not the greatest.

So then every time his wife walks in to ask a question, he immediately Alt-Tabs to another window, and she thinks he's watching porn all the time.

Well, I run fullscreen windowed, so something on one of my other two screens just take the focus. The game is still visible and is just paused.

Re: Show HN: Universal Pause Button

#66
post #9

Earlier quoted context omitted.

I encountered this problem with babies. They definitely don't pause. My solution was the DS/3DS line of consoles... snap 'em shut, bam, paused. I've called them the consoles of choice for the discriminating father. (If you've never had kids and find yourself wondering what horrible father would be playing video games while taking care of his children, well, you see, it turns out that sometimes your child wants to sle…

Does the Xbox One not do this? I mean suspend gameplay and resume with just a touch of a button?

It does.

Re: Show HN: Universal Pause Button

#67
post #43
post #24

This should be a basic requirement for all games. Even before I was married my mom would call or someone would ring the doorbell. And when I was a kid I had to go down to dinner or take out the trash.

That reminds me of the old "Supervisor Key" in classic early games.

Yeah! Like the boss key in Leisure Suit Larry: http://www.mobygames.com/game/leisure-suit-larry-goes-lookin... Now THAT is a job ad ;-)

Re: Show HN: Universal Pause Button

#68
post #5

"I like to play video games. I also have a significant other, and she often walks into the room to talk to me while I'm playing a video game." Looks like the real solution would be to pause your SO ;)

"Universal Pause Button" my eye, I tried it and the universe just kept going.

you have to focus the right window, can you do that?

uh and you'd need to find that pause key the dimension above...

Re: Show HN: Universal Pause Button

#69

This is nice! On OSX, processes can be paused and continued too (by name via killall, and by PID via kill): kill -STOP 1234 kill -CONT 1234 killall -STOP -c "Pandora" killall -CONT -c "Pandora" A more nuanced control is to throttle down the CPU, via cputhrottle[1]. If I'm running a CPU-intensive calculation and don't want to bog down the rest of my system I will use it to give me enough cycles for Sublime Text to wor…

"This is nice! On OSX, processes can be paused and continued too"

Every once in a while I am reminded how wonderful, and perhaps unlikely, it is that I have a nice, slick, mass market consumer device (apple computer running OS X) that is honest to god UNIX underneath.

And then sad, knowing that this is a brief golden age that will probably pass.

Re: Show HN: Universal Pause Button

#70

"I've already gotten great value out of the program, as there are lots of cut scenes in The Witcher 3, that I don't want to skip." The Witcher 3 pauses cutscenes when the window is not in focus. So the example is probably not the greatest.

My son has been playing Witcher 3 for the last few weeks, and literally every time I walk by, there's a cutscene. I'm pretty sure I have yet to see anything but cutscenes. It's all cutscenes. Listening to it in the background, it sounds more like an episode of Sons of Anarchy than a traditional videogame.
Post reply on HN