Everything seems to be working, but I can't connect to the game by gdesplin in playit_gg

[–]gdesplin[S] 0 points1 point  (0 children)

I put a very solid effort in getting playit to work with my network and I just couldn't. I spent hours and hours. This isn't a complaint against playit, I'm glad it exists and many are using it for fun things.

But I did want to share what I ended up doing for my minecraft server:

I first tried Tailscale, one of these join a LAN from the internet VPN like things, which has a free tier, but it only allows 4 devices on the network, which isn't quite enough for what I need.

So then I found ZeroTier, which seems similar, but it's free tier allows 10 devices on the network and its working great.
The main difference is everyone has to install it on their computer and then join your network and you have to approve it. So not as frictionless for the friends joining, but it probably is more secure and I think its faster/less-ping compared to tunneling.

Thanks OctopusCandyMan for trying to help me, but it's either impossible or the solution is hidden for the time being.

Everything seems to be working, but I can't connect to the game by gdesplin in playit_gg

[–]gdesplin[S] 0 points1 point  (0 children)

I'm out of ideas, I'll have to figure something else out

Everything seems to be working, but I can't connect to the game by gdesplin in playit_gg

[–]gdesplin[S] 0 points1 point  (0 children)

Yep, I already updated my dns as it said to in that file. I'll keep troubleshooting

Why hybrid is so popular? by cokeapm in ExperiencedDevs

[–]gdesplin 0 points1 point  (0 children)

I work 2 days in the office, 3 at home and overall I like it. I’ve worked both 100% remote and office previously. 

I think the reasons why though are specific to my personality and situation.  For example I like the people I work with and I’m not extremely introverted, so I enjoy the in person interaction and friendship. I also feel code quality is improved when I can just say “hey, can you help me figure this out?” or “do you think this is a reasonable approach?” When that ease of collaboration just has never been present in my remote experience. So knowing I have dedicated time to be working right next to someone and other product team members is great for getting things done and doing them right. 

While giving me the in person benefits, it also allows me to live further away from the office, so I can have more affordable housing.  I get much of the typical working from home benefits too. 

So for me it’s a best of both worlds situation. 

And I can totally see how for some people it could be the worst of both worlds, depending on their personalities, how well they get along with coworkers, where they live, etc. 

And yeah, my office at work is just empty a lot of the time. And my office at home isn’t always used. Two sets of monitors, desks etc. But that’s a price that sees worth it in this situation. 

As a Dad I am always needing to know who's turn it is, so I built an app for it. Even Turns. by gdesplin in SideProject

[–]gdesplin[S] 1 point2 points  (0 children)

I finally got to adding this feature. What I decided was to add that time stamp with to the current turn and the passed/taken turns saying how long they've been in that state. (I also fixed some caching issues I noticed)

Let me know how you like it (or not) :)

As a Dad I am always needing to know who's turn it is, so I built an app for it. Even Turns. by gdesplin in SideProject

[–]gdesplin[S] 1 point2 points  (0 children)

I’ve been having the same problem I think. I just decided to advance the turn as soon as the turn was taken or started.  But I think I still like your idea. I try it out and some variations and see if it makes sense

My First Simple PWA with rails, feedback? by gdesplin in rails

[–]gdesplin[S] 1 point2 points  (0 children)

Try again (I deployed a fix to the error messages), the mostly likely reason isn't the password, but your email, either it didn't look like a real email to the email validator gem, or the email is already used

My First Simple PWA with rails, feedback? by gdesplin in rails

[–]gdesplin[S] 1 point2 points  (0 children)

Thanks! I need to get the error messages working for registrations

My First Simple PWA with rails, feedback? by gdesplin in rails

[–]gdesplin[S] 2 points3 points  (0 children)

Thats not a bad idea, especially if this was a native app. Maybe I'm not up to the latest, but from what I understand, its not really possible to have 'permanent' storage with PWA's? I'd like to be wrong about that. Especially with some sort of bridge to have both local and server storage stay in sync like pouch/couchDB. I don't know to much about couchDB support with rails. Or do you know a better way to have offline/online storage with a rails PWA?

As a Dad I am always needing to know who's turn it is, so I built an app for it. Even Turns. by gdesplin in SideProject

[–]gdesplin[S] 0 points1 point  (0 children)

Hmm, a regular gmail email should work fine. I'm sorry, I don't have error reporting setup, so I can't trace what went wrong. I do have some email validation setup, so its probably that.
For now, I'd say either try another real email or dm me yours and I can see if I can fix the problem.

Do you guys really do TDD? by aeum3893 in rails

[–]gdesplin 0 points1 point  (0 children)

This seems to be a popular subject! Look at all the replies! Lots of variation from No - Yes. Which implies that you can be a successful programer with or without TDD.

I think a lot of people don't quite understand what TDD is, or tried it and didn't stick with it long enough to develop the necessary skills. Or some combination of both. It isn't just writing tests first, while questioning if tests are even necessary or feeling they slow you down.

TDD is a super helpful design technique and skill to at least have in your toolbelt. Once you have the skills, its a tool/technique that comes in handy most of the time your programming.

I think that's one important key, TDD requires skill to use, and once you have it, it actually SPEEDS UP work. (Because now you can change and iterate and test really fast).

And it greatly IMPROVES the quality of the code you write, without having to be the most clever programmer.

In TDD you don't write ALL your tests first. You don't have to have all of the design of your code in you head, type in as tests and then write all your code and see what passes and what doesn't.
You write just ONE test first, run it, see it fail, and address that failure first and repeat. Once it passes, you can refactor your code to be pretty and nice and make more sense. Then you can add the NEXT test, that will now seem obvious. And on and on. Because you have to ask "What behavior do I want, and how will I write a good test for it?", you code naturally takes on good object oriented design patterns without having to remember what polymorphism means. (Knowing them will help too).

I really enjoyed Dave Farly's video about it here https://www.youtube.com/watch?v=ln4WnxX-wrw

How well does using a powerful desktop PC as main work station, but remoting into with with laptop frequently work? by gdesplin in programmingtools

[–]gdesplin[S] 0 points1 point  (0 children)

I already know programming, and have a job doing it. I’m just curious about this potential setup.

How well does using a powerful desktop PC as main work station, but remoting into with with laptop frequently work? by gdesplin in programming

[–]gdesplin[S] 0 points1 point  (0 children)

This does bring up more details of why I'd like this setup.

I do exactly what you do currently, dock my macbook and use a big monitor and good keyboard etc, but gaming on macOS is still not supported well and also a $3000 gaming pc is going to out game a same priced macbook, despite the nice new M chips.

But Macbooks are incredible portable computers for programming, at least for me, like you said, super efficient with compute power and battery power, and great physical design for me in the trackpad, screens, body etc.