Reading List

The most recent articles from a list of feeds I subscribe to.

Letstalkaboutp4

Let’s talk about Perforce.

Letstalkaboutp4

Let’s talk about Perforce.

10 to 1 Rule

Similarly, the ratio of “code churn” to “lines of code” in mature and non-trivial software is also at least 10:1. Keep this in mind the next time a manager or customer asks you for a time estimate! To build a 10,000 line app, expect to write roughly 100,000 lines.

10 to 1 Rule

Similarly, the ratio of “code churn” to “lines of code” in mature and non-trivial software is also at least 10:1. Keep this in mind the next time a manager or customer asks you for a time estimate! To build a 10,000 line app, expect to write roughly 100,000 lines.

UAC Notes

Random UAC permissions for C# applications notes:

  • Ask for elevated permissions via app.manifest - see <requestedExecutionLevel level="highestAvailable"/> or requireAdministrator - https://msdn.microsoft.com/en-us/library/6ad1fshk.aspx
  • Can’t change elevation of a running process, need to start a new process.
  • To run an elevated cmd.exe and make it look like you’re request permissions mid-run for things like file operations (when you’re really starting new elevated process), set Verbs property of ProcessStartInfo to "runas"