What is the most convincing command in Vim
By : Jorge
Date : March 29 2020, 07:55 AM
this will help . (dot) - repeats the last editing action. Really handy when you need to perform a few similar edits.
|
Convincing others of Ruby over Python and PHP
By : trav
Date : March 29 2020, 07:55 AM
this one helps. Don't get sucked into comparative arguments - unless you're experienced in all three languages, you'll just be revealing your ignorance - especially when claiming "X can't do Y". The true fans will take you down. Instead, show off what ruby can do. It's a great language, but that has nothing to do with how well people talk about it. What matters is the code. So show off. Demonstrate your productivity, reliability, and flexibility with the language. Make it the easiest thing to follow at the code review. Have suites and suites of tests. Read up on sneaky techniques from RedHanded if you have to. Win your coworkers with your code -- it'll be far more convincing than your words ever could be.
|
Convincing Coworkers To Use MVC
By : lpedrosa
Date : March 29 2020, 07:55 AM
like below fixes the issue There's a good post you should read "what is the most important thing they didn't teach in school". One of them is social skills. It looks to me like you're falling on your face here. First, you're the newbie on the team. Who are you to tell them what to do or how to do it? If you rewrite the code, if it's worse you're an idiot. If you succeed, you're an ass. Either way, you're either the laughingstock or on your way out.
|
Convincing a colleague about their if not being nested
By : Merito Meri
Date : March 29 2020, 07:55 AM
like below fixes the issue Per C 2011 6.8.4 1, the grammar for a selection-statement includes this production: code :
if(something) doA();
else
if(something2) doC();
else doD();
|
How do I render a convincing skydome?
By : Tony McManus
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , The problem is, that you use the same vertices at an angle of 0° and 360°. So you now have a triangle where the first vertex has a texture coordinate of 15/16, 0 and the second has 0, 0 instead of 1,0. To fix that, you have to open up the sphere so you have a pair of vertices at the same spatial positions, one for 0° and one for 360°. That way the two vertices can have different texture coordinates and there won't be any disturbed textures. To rotate them you have to use the wrapping modes, make sure, that the texture wrapping is set to repeat. If you haven't changed it, it should be set up correctly, but it can be set with function glTexParameter, the parameters are GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T and the value has to be GL_REPEAT. Then if a texture value is > 1 it won't wrap around but repeat the texture. Now you only need to be able to tell the vertices at the start of the sphere (for vertices at 0°) from those at the end (for vertices at 360°) so you can correct tex_u, you probably need an additional attribute for that.
|