tips-and-tricks

What steps do you take to increase performance of a Sharepoint site?

Sharepoint isn't the speediest of server applications, and I've read about a few tips to speed it up. What steps do you think are necessary to increase performance so it can be used to host a high traffic site? ...

Master Pages fail to recognize new controls

So, from my experience, masterpages sometimes can lag when you do updates. This is not a new occurance, you make a change, you build, you go to test and the MasterPage is still looking for the old control. Anyone have any tips/tricks they use when this happens? Usually it goes away after a while, but I don't have a while. I am using ...

How to improve Netbeans performance

hello and good day for everyone This is my question. Exists a real way to get Netbeans load faster and working time too? It is to slow and when you have some time coding is worse it eat all my ram with no more.... bye bye ...

Tips from ASP.NET MVC and lessons for ASP.NET WebForms developers

What are some helpful things that ASP.NET MVC developers could suggest that would help us ASP.NET WebForms developers to write better code/web apps? I'm a WebForms guy but with all the new hype around MVC I'd value some comments on helpful tips, tricks and strategies that might be able to be used in a webforms app. ...

How can SQL procedures from the Master database help db developers?

There are a lot of procedures and functions in the master database of SQL Server that provide handy tools for the database developer. For instance, sp_help [database object] will provide several results sets with useful attributes of the specified object; sp_helptext [procedure or function name] will return the body of a procedure or f...

Best Practices for Robustness

I just came across this question about initializing local variables. Many of the answers debated simplicity/readability vs. robustness. As a developer of (remotely deployed) embedded systems, I always favor robustness and tend to follow several seemingly conflicting rules: Handle every error to the best of your ability in a way that ...

What techniques can you use to profile your code...

Some of the platforms that I develop on, don't have profiling tools. I am looking for suggestions/techniques that you have personally used to help you identify hotspots, without the use of a profiler. The target language is C++. I am interested in what you have personally used. ...

Visual Studio - tips for managing work on many open files

How do you feel about VS making you hunt for a tab that you used just minutes ago when you have a bazillion open tabs? What about constantly dragging tabs around to keep the ones you use close together? Oh, so you think AARGH, too? Then read on. I work on a piece of software with dozens of projects and hundreds of files. It's really ea...

How to align checkboxes and their labels consistently cross-browsers

This is one of the minor CSS problems that plagues me constantly. How do folks around StackOverflow vertically align checkboxes and their labels consistently cross-browser? Whenever I align them right in Safari (usually using vertical-align: baseline on the input), they're completely off in Firefox and IE. Fix it in Firefox, and Safar...

Tips on making good documentation for developers

I'm preparing documentation for an open source project. My target audience are developers. Right now, I'm working on the API, porting and code design sections. Anyone has any tips on making documentation for developers? ...

Best Practice for Multi-programming-language Projects

Does anyone have any experience with doing this? I'm working on a Java decompiler right now in C++, but would like a higher level language to do the actual transformations of the internal trees. I'm curious if the overhead of marshaling data between languages is worth the benefit of a more expressive and language for better articulatin...

Tricks to speed up Eclipse

Which tricks do you know to make the experience with Eclipse faster? For instance: I disable the all the plugins I don't need (Mylyn, Subclipse, ). Instead of using a plugin for Mercurial I configure TortoiseHG as an external tool. ...

Ruthlessly compressing large images for the web

I have a very large background image (about 940x940 pixels) and I'm wondering if anyone has tips for compressing a file this large further than Photoshop can handle? The best compression without serious loss of quality from Photoshop is PNG 8 (250 KB); does anyone know of a way to compress an image down further than this (maybe compress...

Preventing a file overwrite with Git

Hi, my company started recently to use Git for source version control, and due to the incompetence of the coders - that's me and my boss :-P - we have a really nice spaghetti of files being overwritten here and there. Is there a way to mark certain files as 'untouchable' so if when updating a branch from another either do(es)n't overwrit...

What are your favorite, but less obvious, Visual Studio 2008 tips and tricks?

The nuance of the question is what are the features of the Visual Studio environment, that not everyone knows about, that you have come to depend on and that you would like others to know about. ...

Do you have any favorite ergonomic exercise or habit?

I've read somewhere that ergonomic problems accounts for 70% of injury... And i don't want to be one of those guys who think, ahh it's just a slight sore, and go on and discover that i have CTS and have to operate on my hands!!! So are the any good ergo habits that you follow religiously each day? Or some cool tools that would send any ...

JSP Struts Performance/Memory Tips

I am working on a basic Struts based application that is experience major spikes in memory. We have a monitoring tool that will notice one request per user adding 3MB to the JVM heap memory. Are there any tips to encourage earlier garbage collection, free up memory or improve performance? The application is a basic Struts applicat...

CodeRush Tricks of the Trade

I was using CodeRush quite while ago and now I'm planning to use it again. I've installed the trial but I forgot all the cool features except Alt + Home (drop a marker). And when you don't know some cool tricks it's really like burning money (since it's not cheap for personal use). What do you like about it? What are your best features?...

what's the best way to aid your tester?

my company is small with only one full time tester, and mostly we're doing web apps. so i'm glad that we have tester as i think i would probably be bias or lazy when debugging my own code... and our tester is actually located in another country, so usually we communicate via IM or email only. usually i try to do as much white box testin...

.Net Compact Framework Tips, Tricks, and Gotchas

Hey everyone, We work extensively in the .Net Compact Framework and Windows Mobile. I've seen plenty of questions come up regarding specifics to development of ASP.Net apps or other .Net based desktop apps but nothing CF specific. Anyone else a mobile developer out there that can share some things to start doing, stop doing, and avoid ...