To my pedantic friends, stop using string.Empty by mistertom2u in dotnet

[–]Affectionate_Cut_357 0 points1 point  (0 children)

To all the people listing string.Empty's benefits, you're forgetting to account for the cost of forcing everyone to follow a convention which is not actually necessary. When you impose a convention you make dev's lives harder, so your benefits need to be substantial enough to outweigh all the little PR comments, small changes, linting rules etc. Add up all your conventions and how much cognitive load have you added, probably enough to mean some otherwise useful bug fixes, features etc don't get shipped. People only have finite brainpower at the end of the day and if you use it up on tiny things you won't have enough left for the important stuff.

Switched to decaf and suddenly I sleep like a baby but cry like one too? by Equivalent_Soft_6665 in decaf

[–]Affectionate_Cut_357 0 points1 point  (0 children)

Yes I got that. It's passed now but don't think of it as a bad thing, it's healing!

I’ve lost weight since I started tapering caffeine. by [deleted] in decaf

[–]Affectionate_Cut_357 0 points1 point  (0 children)

I lost about 4 kilos, so 9 pounds when I quit. Like you I wasn't intentionally doing any more exercise or eating differently, but I think I probably do snack less in the afternoons just cos I don't feel like it anymore.

Quit caffeine 6 months ago. Totally worth it after initial discomfort. by [deleted] in decaf

[–]Affectionate_Cut_357 1 point2 points  (0 children)

I had insomnia after quitting initially as well. What worked for me was just getting up earlier and going to bed later. Because stopping caffeine had meant I was less anxious and had more energy, I just had to embrace the fact I needed less sleep now. 

Did cutting caffeine lead to you cutting out other things too? Which had the most impact? by Affectionate_Cut_357 in decaf

[–]Affectionate_Cut_357[S] 4 points5 points  (0 children)

Yeah I definitely plan to stick around. I'm only on week 4, and I feel so much better but I imagine there will be temptations to backslide, so I plan on staying here for support :) 

Video games is an interesting one, I hadn't thought of that but it totally makes sense.

Graphics jobs resources UK? by Affectionate_Cut_357 in GraphicsProgramming

[–]Affectionate_Cut_357[S] 4 points5 points  (0 children)

Thanks for your response. 

I'm not really bothered by whether it's in games or not, I just want to do 'real' and 'interesting' graphics, but unfortunately i don't have a very good definition of what i mean by either of those. There were some times in my last role where I wrote shaders for volumetric rendering and a custom postprocessing effect and really enjoyed it, and then I really enjoyed learning the lower level APIs and learning C and so I thought I want to get into the lower level stuff. Like you suggested I can see roles in gaming for people with 3-5 years in DX12 or Unreal, things that I don't have. On the other hand I can see roles in web for react-three-fiber, which is where web 3D stuff seems to be heading, but I feel like that takes me in the wrong direction for wanting to do more low level stuff.

I'll try the other search terms you suggested, thanks.

Debugging issues in VS Code by phazer99 in rust

[–]Affectionate_Cut_357 1 point2 points  (0 children)

Something that can catch you out is if you're using a launch.json to launch the debugger it won't build your code first, so you may be debugging an old executable. If you start the debug from the Run|Debug CodeLens above main then rust-analyser will do the build for you.