tips-and-tricks

Hidden features of C

I know there is a standard behind all C compiler implementations, so there should be no hidden features. Despite that, I am sure all C developers have hidden/secret tricks they use all the time. ...

How do I get people interested in my open source projects?

I've been working on two personal projects that I now posted on Launchpad with the idea to get some input from the broader community. How do I get people to actually run or least look at the code? Tips on what would make it easier for people to try out an opensource web app is also welcome. ...

Is there anyway to tell Visual Studio not to open all the documents when I load solution?

When you open a solution in Visual Studio 2008 (or ealier versions for that matter), it opens all the documents that you did not close before you closed Visual Studio. Is there anyway to turn this functionality off, or a plugin that fixes this behavior? It takes forever to load a solution with 50 files open? Thanks in advance ...

Adding a caption to an equation in LaTeX

Well, it seems simple enough, but I can't find a way to add a caption to an equation. The caption is needed to explain the variables used in the equation, so some kind of table-like structure to keep it all aligned and pretty would be great. ...

Tips/Tricks for DataFlex

Is anyone out there still using DataFlex? If so, what are you favorite tips and tricks for this venerable 4GL? ...

What can I do to increase the performance of a Lua program?

I asked a question about Lua perfromance, and on of the responses asked: Have you studied general tips for keeping Lua performance high? i.e. know table creation and rather reuse a table than create a new one, use of 'local print=print' and such to avoid global accesses. This is a slightly different question from Lua Patterns,Tips ...

Any tips for managing a project with basecamp?

I'm going to be using basecamp for the first time on new project. Does anyone have any good tips / pitfalls for using basecamp. For example, can you end up spending more time playing with the to-do lists than actually getting on with the project? ...

Dependence on DependencyObject and DependencyProperty

I'm building a Silverlight application and one of my caveats from last time was that if you need anything done right in Silverlight/WPF way you'd need to model your objects as a DependecyObject and use DependencyProperty(ies) I find this model to be rather cumbersome, requiring static fields and initializers in half the classes I use, ...

PHP Development - lot of (newbie) questions

Hi! I'm a Engineering student and I'm attending a Database and Information Systems class this semester. It's required that I produce a website/application that uses a database, using PHP/PGSQL. My questions are: which IDE would you recommend? does anyone have good tips and advices for a new developer? it would help me (a lot) to devel...

.NET time sinkholes?

What .NET issue have you run into that wasted hours and hours of your time, was nearly impossible to debug, and could have been easily avoided if you had known just one quirk of the framework? ...

What is your favorite Firebug tip or trick?

I think every web developer loves Firefox's Firebug extension for solving CSS, Javascript or HTTP problems. I use it very often, but I'm sure that I'm not aware of some hidden gems. What is your favorite (not evident) trick or tip for Firebug? ...

Hidden features of Perl?

What are some really useful but esoteric language features in Perl that you've actually been able to employ to do useful work? Guidelines: Try to limit answers to the Perl core and not CPAN Please give an example and a short description Hidden Features also found in other languages' Hidden Features: (These are all from Corion's a...

Perl - Common gotchas?

The question on Hidden features of Perl yielded at least one response that could be regarded as either a feature or a mis-feature. It seemed logical to follow up with this question: what are common non-obvious mistakes in Perl? Things that seem like they ought to work, but don't. I won't give guidelines as to how to structure answers,...

Java - Common Gotchas

In the same spirit of other platforms, it seemed logical to follow up with this question: What are common non-obvious mistakes in Java? Things that seem like they ought to work, but don't. I won't give guidelines as to how to structure answers, or what's "too easy" to be considered a gotcha, since that's what the voting is for. See als...

Apache Webserver security and optimization tips

Hi. I'm about to deal with managing and running my first Internet connected Apache webserver and I was wondering if there are any sys admins and developers out there that would like to share some of their knowledge regarding security and optimization tips for running Apache webserver. Maybe you can share your top five (or ten) list of ...

jQuery Tips and Tricks

Miscellaneous Creating an HTML Element and keeping a reference, Checking if an element exists, Writing your own selectors by Andreas Grech The data function - bind data to elements by TenebrousX The noConflict function - Freeing up the $ variable by Oli Check the index of an element in a collection by redsquare The jQuery metadata plug...

Is there a site that emails out daily C# tips and tricks?

I subscribe to a newsletter from www.sqlservercentral.com that I like because each day I get an email digest with some interesting headlines & summaries of SQL Server articles that are already out there on the web. It's a great way to learn something new a bit at a time. Is there something like this for C#? (If your favorite one is ...

Visual Studio 2008 -- Can I change which "add reference" tab is selected by default?

Every time you start Visual Studio, the first time you click "Add Reference" to add a DLL reference to a project, by default, the .NET tab on that dialog box is selected. As most people reading this have probably noticed, it can take a long time -- often more than 30 seconds -- for the full list of .NET components to fill in. Because ...

Visual Studio debugger tips & tricks for .NET

I've been working for years with VS's debugger, but every now and then I come across a feature I have never noticed before, and think "Damn! How could I have missed that? It's so useful!" [Disclaimer: These tips work in VS 2005 on a C# project, no guarantees for older incarnations of VS or other languages] Keep track of object instanc...

Are there any other useful attributes for c# properties?

Possible Duplicate: Most Useful Attributes in C# besides: [DefaultValue(100)] [Description("Some descriptive field here")] public int MyProperty{get; set;} What other C# Attributes are useful for Properties, after learning these I feel like I'm Missing out. Related Questions Most Useful Attributes in C# ...