HN user

redraw

6 karma
Posts3
Comments5
View on HN

I did something similar here https://github.com/redraw/dotfiles, along with some installation scripts

although, nice idea on tracking the whole / instead of just ~/!

the only thing I miss after aliasing dotfiles to git, is that you lose git's autocompletion features. I once tried to set it up in zsh with autocomp, but without success, should review that

Hey thanks! right, that's the link. It's hosted on glitch so you can see/edit/fork it.

I've tried to keep it simple, but couldn't improve latency anymore. No matter if it's using socket.io or some faster network transport, there will be some latency. So I've used server's time as reference for clients to adjust the player's current time across devices.

However, there's still a delay added by the YouTube player when triggering the play action. It's an async action, and YouTube's embed player API _seekTo_ method seems to be rounding or not updating if the player is already playing in the nearby time. I'm not sure what else to do to achieve a perfect sync.