apentlander

u/apentlander



r/tipofmytongue•

There's an electronic song that starts off with just the sounds of hitting a tennis ball back and forth, and then over time electronic elements are overlaid. Then towards the end those elements fade out and it's only the tennis sounds again.

I think there was a previous TOMT asking about the same song, but they just link to a removed YouTube video and don't mention the name of the song at all. I also don't know if that's actually the right song.

110

r/rust•

So I've been trying to write a very simple gossip protocol daemon using Tokio and UDP sockets. I'm at the point where I have a very simple program that is able to send heartbeats and will print any messages that it receives.

The problem is that I'm at the point where I want to mutate the state (e.g. increment the heart beat for the Gossiper), and I'm having a difficult time trying to figure out how to do this. I was thinking of using a RWLock, but that would block the event loop. The other solution I was thinking of was to send all of the state change requests over a futures channel and just do all of the state changes in a separate thread.

Is there something here I'm missing? It seems pr

56

r/Unity2D•

Hi, I'm new to game programming and I come from a more traditional programming background. As such, I am used to more traditional methods of OOP, mostly using interfaces and inheritance. From what I have done so far, it seems like interfaces aren't first class citizens in Unity land.

I'm just wondering what kind of workflow everyone uses to make modular game components, and what the advantages/disadvantages are of each of the above methods of doing so. Thanks a lot!

66

r/vim•

For some reason, there is a bar on the left hand side and the color on the bottom half is different. Here is what it looks like. Here are links for my Xresources and my [vim colorscheme] (https://github.com/pentla/dotfiles/blob/laptop/vim/.vim/colors/monokai.vim). Changing the vim Normal fg and bg colors to "none" makes no difference.

Any help would be very much appreciated, been trying to figure this out for a while. The terminal is urxvt 256 colors and i checked that it's actually using 256 colors. Thanks!

62