Reputation
6,602
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 20 31
Newest
 Guru
Impact
~113k people reached

Jul
14
comment Best practices for logging user actions in production
This specific type of logging was all about the real-time user experience, so I wouldn't be the author. I was Mr. Hardcopy. When you hit Print I took the internal representation of the document, converted it to a page description language, then sent it over this weird thing called Ethernet to the world's first laser printers, which were just down the hall. The groups I interacted the most with were the US Senate Typography Department and the IMF's printing group, 2 of our best, most demanding beta test sites. I learned a lot about layout, fonts, etc. from those guys. Good Times.
May
16
awarded  Guru
May
3
comment What characteristics does software have that's easily modified by other developers 6+ months after initial release?
Actually I think this is a great question that should be asked and answered by all professional programmers. One-off cruft for fun or a class assignment is one thing, but long-lived production code needs to be treated as such from the beginning. Since answers are currently blocked I'll toss one more item into the fire: 10,000 foot documentation. This is a brief, concise description of why the program is being done, followed by slightly lower elevation docs on why particular approaches/algorithms were chosen over others. 6 months/years from now that reasoning may aid/prevent a rewrite.
May
3
comment Some people told me that finding all prime factors of a number is an unsolvable problem. Is that real?
Speaking as someone who quit school 2 quarters short of a degree in Finance, I would like to emphasize the truth in @Giorgio's comment. Through 40+ years I found that 90+% of what I did benefited from a solid grounding in formal logic, which fortunately was something I had a least a little of. However, more than a few projects forced me to "go back to school" to really understand things like Cosine Coefficients, algorithm complexity, etc., all of which would have been easier if I had a better foundation in mathematics.
Apr
29
comment Copyright for collaborative group
This is an important question, and one that can be difficult to answer. You need to have a clear vision of how you (your group) want to share this project, and then you have to Do Your Homework. MIT is similar-but-different from BSD, BSD is very different from GPLv2, which is, in turn, very different (at least in some respects) from GPLv3. Note that changing your license at some point in the future can be difficult once there are more than a small number of developers involved. Good Luck!
Apr
23
comment Is it better to document functions in the header file or the source file?
To paraphrase Donald Rumsfeld (a man I did not like), "You program with the tools you have, not with the tools you wish you had." Every language I've worked with in the last 40+ years has had at least one major wart (if not more). Our solution a) worked, b) used tools that existed at the time, c) let us spend our time getting revenue-generating code out the door.
Mar
2
awarded  Nice Answer
Feb
15
awarded  Yearling
Nov
11
comment What constitutes a programming language and how does one copyright a programming language?
But that wasn't the real point of my post. After the total debacle of Oracle's power-play with Java, no one in their right mind, and with any knowledge of history, will knowingly place this kind of noose around their company's or project's neck. If anything, the reversal by the Appellate Court only serves to give even greater weight to the argument for using only OSS tools and languages. It's amazing, and deeply ironic, that an a**hole like Larry Ellison should be the person to drive home the true value of Libre/Free software to even the most hard-headed capitalist or business person.
Sep
25
awarded  Nice Answer
Sep
8
awarded  Great Answer
Jul
2
awarded  Nice Answer
Jun
5
awarded  Reversal
Jun
4
awarded  Nice Answer
Mar
22
comment What is a good way to store geographical data for distance calculations
Check out MaxMind's free GeoLite databases and code. They may not completely cover your needs, but we found them very useful in a couple of projects.
Mar
22
comment Best practices for introducing testing to a large, stable, legacy Java application?
"Selling" is a key point here. To do this effectively, remember that you need to see the problem from the other person's point of view, and then show them how they benefit. BTW, convincing non-tech-savy management of anything that enhances long-term code maintenance is almost doomed from the start. They don't understand the "problem," so they can't understand the "benefit."
Feb
15
awarded  Yearling
Oct
4
awarded  Nice Answer
Jun
11
awarded  Nice Answer
Mar
7
awarded  Nice Answer