tips-and-tricks

Android Development Tips, Tricks & Gotchas

I'm starting down the road of Android Development. At this point I'm looking for some insight from other developers who have been doing 'droid development and have some experience to share with someone who is just starting out. This can be anything from API to AVM to IDE. Any unexpected things come up while building your apps? Any ti...

What are some programming problems you initially get WORSE at?

In programming, as many professions, there are mistakes you'll make now that you may not have made as a beginner. For instance, consider pointers: In C++, is there any difference between arrays and pointers? The beginner will say yes, they are two completely different concepts, and treat them as such. The intermediate programmer (...

Shortcut to collapse all documentation headers/comments in Visual Studio

Is there a way to collapse all documentation headers (/// comments) in the current file in visual studio (2008+)? ...

XCode + svn tips, tricks, etc

Hi, I'm curious to know your tips and tricks using XCode and Subversion. Not necessarily only focused on actions that can be done to a svn repo from xcode itself - but what things have you done to make your life easier when working with a svn managed folder that contains an xcode project? What files did you ignore? Any custom built scrip...

Xcode Tips for Eclipse users?

Hi, I've been slowly working my way through the examples in Beginning iPhone Development and there are a few things that I have not been able to figure out, but I'm sure you guys can help me with it. In Eclipse there is a Source->Generate Getters/Setters, can you do something similar to synthesize properties in Xcode I also cannot see...

Tips and Tricks about query optimization [SQL Server 2005]

I am asking this question in stackoverflow because its the right place to ask... I know its a very vast topic to start but some small ones which may be really handy... It might be useful for young developers like me to know about query optimization.. Some Tips and Tricks about query optimization in SQL Server 2005.. ...

Eclipse 3.5 "Delete getters and setters together with a field"

Hi, i've read in the eclipse help that it is possible to "Delete getters and setters together with a field". I somehow cannot manage to get it work. Does somebody use this feature and could give me a hint what i'm doing wrong? In the eclipse help file the following is written: "When you delete a field from within a view, Eclipse can pro...

Tips for writing a file parser in Java?

EDIT: I'm mostly parsing "comma-seperated values", fuzzy brought that term to my attention. Interpreting the blocks of CSV are the main question here. I know how to read the file into something like a String[] and some of the basic features of String, but I don't think using methods like contains() and analyzing everything character by...

When is Visual mode used in Vim?

I'm relatively new to the world of Vim. I've been learning my way around it but have yet to find a practical purpose to enter visual mode. What are some scenarios when visual mode is especially useful? Are there actions that can only be performed from within visual mode? ...

Tips For Dealing With Huge RAM Working Sets

I am working on a .Net 3.5 application designed specifically for a high-powered PC that does lots of data manipulation and computation. I recently encountered a need for a 4000 x 5000 two-dimensional array of objects, which is very large for a 32-bit PC and will give me an OutOfMemoryException. The only way to avoid using an array like t...

Vala: Gotchas, Tips and Tricks.

As a programmer who is new to Vala, what is your number one piece of advice to someone who is new to the language? ...

Tips about Connection pooling [Sql Server 2005]

Many of the users of Stackoverflow might have very well known connection pooling... As i am a newbie i am interested in knowing, Connection pooling tips and tricks [sql server 2005] ...

Input asked for better programming practices

As I'm learning C++ I started implementing some common datastructures as a form of practice. The first one being a Stack (this was the first to spring in mind). I've done some programming and it's working, but now I need some input as to what I should do otherwise. Like deleting certain stuff or other pro tips. What should I do different...

Tips and Tricks of WCF

After working with WCF with one of my asp.net web application , i really like the way that the ajax stuff works with my application... Some useful Tips and Tricks about WCF from experts would be really helpful for beginners like me... Any useful tip and trick .... ...

What are some key gotchas when working with Json responses?

I'm working on an ASP.Net MVC project and have been learning a few little tricks with JSON objects that made me scratch my head for quite a while. For example, ensuring that when I call $.getJSON() from jQuery, I actually need to make sure my JSON is returning an object, not just a string value (well, D'uh! right?). What are some of th...

What best practices do you use for programming in R?

What are some good practices for programming in R? Since R is a special-purpose language that I don't use all the time, I typically just hack together some quick scripts that do what I need. But what are some tips for writing clean and efficient R code? ...

Expression Blend 3 Tips and Tricks

I have been using Expression Blend 3 for a few months and am curious to know what are your favorite 'power user' tips and tricks with this development application? ...

Are there any online SQL interpreters with working databases for free?

I'm looking for a free online SQL interpreter that also has a database associated with it. I want to play around with SQL statements, but I don't want to setup my own database. I've looked around google for a bit, but I only found one web site that has interactive courses, an interpreter functionality and a small database: http://sqlco...

Vim - yank into search register

Is there any easy/quick way to "yank" into vim's "last search" register ("/)? From the vim documentation, it appears that the answer is no, but that it can be assigned via a "let" command: It is writable with ":let", you can change it to have 'hlsearch' highlight other matches without actually searching. You can't yank or delete into ...

As a Java programmer learning Python, what should I look out for?

Much of my programming background is in Java, and I'm still doing most of my programming in Java. However, I'm starting to learn Python for some side projects at work, and I'd like to learn it as independent of my Java background as possible - i.e. I don't want to just program Java in Python. What are some things I should look out for? ...