Live data from Hacker News

Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

webrtchacks.com

11–20 of 31 posts

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#11
post #9

"Last year, Google announced Stadia, and It blew my mind. That idea is so unique and innovative." How is it unique and innovative if such services existed for over a decade (OnLive)?

Most of the initial innovations seem to be in the hardware, e.g. controllers that hop over your PC/console, game servers in edge nodes, etc. They're incremental improvements, but my latency on Stadia gets down to single-digits at times (though is usually low-mid double-digits), which is something I never saw with OnLive (not a direct comparison since I have better Internet now). There's some interesting software inno…

> predicting button presses to buffer a stream before they happen

That sounds a lot like the server and client-side prediction (or p2p 'rollback') netcode that is in a lot of online games.

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#12
This is a really interesting technical write-up, but please no.

Adding more streaming to the cloud bullshit only adds dependencies, points of failure, costs and energy consumption. Especially when it's for playing games that can easily be emulated on any phone today.

Humanity's first goal should be to reduce its energy consumption! This is the opposite of the way forward.

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#13
post #5

I recently had the unfortunate situation of watching my girlfriend struggle with doing her job (QC for a AAA game publisher) via RDP (and over a VPN). I looked at Parsec as a solution and it.. didn't work. Although watching her do normal things over the RDP/VPN combo was still painful, writing emails or using internal chat applications was incredibly latency ridden.. But it made me think very seriously about cloud re…

I don't know about purely remote, but I use Emacs, and I've been doing most of my work through TRAMP mode (which uses SSH to access a remote shell and load/save/list files).

I'm working with Clojure mainly right now, so I TRAMP into my large dev machine, and CIDER will automatically connect the interactive REPL, debugger, etc. through SSH rather than locally. All of the editor functionality; syntax highlighting, keys, extra modes etc.; is running on the local machine, but the running instance and the filesystem are remote. It's a good way to go.

The other thing I've done in the past is use Syncthing to sync the working directory between a remote and a local machine; but this can have some latency issues (it generally takes about a second for a saved file to sync, probably because of internal anti-thrashing timers in Syncthing), so TRAMP is much better.

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#14
post #5

I recently had the unfortunate situation of watching my girlfriend struggle with doing her job (QC for a AAA game publisher) via RDP (and over a VPN). I looked at Parsec as a solution and it.. didn't work. Although watching her do normal things over the RDP/VPN combo was still painful, writing emails or using internal chat applications was incredibly latency ridden.. But it made me think very seriously about cloud re…

Visual Studio (including Code) have live share, never tried it but seems to be what you're looking for: https://visualstudio.microsoft.com/fr/services/live-share/

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#15
post #5

I recently had the unfortunate situation of watching my girlfriend struggle with doing her job (QC for a AAA game publisher) via RDP (and over a VPN). I looked at Parsec as a solution and it.. didn't work. Although watching her do normal things over the RDP/VPN combo was still painful, writing emails or using internal chat applications was incredibly latency ridden.. But it made me think very seriously about cloud re…

code-server perhaps? https://github.com/cdr/code-server

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#16
post #5

I recently had the unfortunate situation of watching my girlfriend struggle with doing her job (QC for a AAA game publisher) via RDP (and over a VPN). I looked at Parsec as a solution and it.. didn't work. Although watching her do normal things over the RDP/VPN combo was still painful, writing emails or using internal chat applications was incredibly latency ridden.. But it made me think very seriously about cloud re…

Visual Studio (including Code) have live share, never tried it but seems to be what you're looking for: https://visualstudio.microsoft.com/fr/services/live-share/

> In VS Code, your browser will launch while a notification will appear launch asking you to sign in.

Sign into what? I was assuming this was a peer to peer solution and that I wouldn't be giving my code to a third party.

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#17
post #5

I recently had the unfortunate situation of watching my girlfriend struggle with doing her job (QC for a AAA game publisher) via RDP (and over a VPN). I looked at Parsec as a solution and it.. didn't work. Although watching her do normal things over the RDP/VPN combo was still painful, writing emails or using internal chat applications was incredibly latency ridden.. But it made me think very seriously about cloud re…

AWS Cloud9 sounds like exactly what you're describing.

https://aws.amazon.com/cloud9/

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#18
post #5

I recently had the unfortunate situation of watching my girlfriend struggle with doing her job (QC for a AAA game publisher) via RDP (and over a VPN). I looked at Parsec as a solution and it.. didn't work. Although watching her do normal things over the RDP/VPN combo was still painful, writing emails or using internal chat applications was incredibly latency ridden.. But it made me think very seriously about cloud re…

> Does anyone know of any IDE that is purely remote? as in you type locally and it's automatically syncing in the background on save?

Googlers use such an IDE internally. Externally Amazon Cloud9 and gitpod.io are similar options.

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#19
post #8

> the Golang garbage collector is uncontrollable, so sometimes there are some suspicious long pauses. This greatly hurts the realtime-ness of this streaming application. That doesn't sound ... inspiring confidence?

I also don't know what that's referring to. There's usually quite a lot you can do to optimize for GC here. Depending on the root cause, you can create fewer allocations using buffers, arenas, etc and you can also trigger manual collections or disable collection for certain intervals. Hard to know what limits he ran into without more detail.

Re: Show HN: I wrote an open source cloud gaming service by WebRTC and Golang

#20
post #5

I recently had the unfortunate situation of watching my girlfriend struggle with doing her job (QC for a AAA game publisher) via RDP (and over a VPN). I looked at Parsec as a solution and it.. didn't work. Although watching her do normal things over the RDP/VPN combo was still painful, writing emails or using internal chat applications was incredibly latency ridden.. But it made me think very seriously about cloud re…

What's the difference between a purely remote IDE vs ssh-ing into a server with VSCode? The latter is my current setup for a homework that requires multi-cpus.
Post reply on HN