tips-and-tricks

linux/bash tips for developers?

Possible Duplicates: Favourite command line trick useful linux commands for programmers? What is your single most favorite command-line trick using Bash? I have recently become accustomed to doing most of my development (in various languages) from the bash shell, using command-line tools and interfaces. I have discovered it ...

How to Recruit Great Developers?

A question for all you interviewers/recruiters out there. How do you evaluate candidates at job interviews? How do you differentiate the good from the bad? (please, no "FizzBuzz" answers...) Which kind of questions do you feel that have the best results? Personally, I find that asking about all kind of .Net internals subjects usually pro...

Less known but useful features in Eclipse

I have been using Eclipse for a long time, the feature that is less known but very useful is the Scrapbook Page, that allows you to execute sections of the Java code without having them to be complete classes. For example, if I need to execute this simple for-loop I can do this by creating a scrap page (File->New->Other->Scrapbook Page) ...

Offline GuestBook with Pen-Input and PC-Camera Input

I have a requirement to create a Offline GuestBook on Windows Vista platform. The visitors will use the Lenovo Tablet PC to write their Feedback using it's Pen Input. It is also desirable for the Visitor to show his Business Card at the Tablet PC's built-in Cam to record an image too. I am thinking about using Microsoft Access for this p...

wordpress plug-ins, themes and widgets tips and tricks

Many times, while developing Wordpress plug-ins, themes or widgets, we use unnecessary lines of code and logic. As the time goes we find and get better solutions for same logic which is tidy, simple and good in performance. Here I would like to know such Tips & Tricks, that makes our wordpress development life simple and enjoyable. (...

What's your Modus Operandi for solving a (programming) problem?

While solving any programming problem, what is your modus operandi? How do you fix a problem? Do you write everything you can about the observable behaviors of the bug or problem? Take me through the mental checklist of actions you take. ...

Blackberry - run menu item from dialer Phone App

I'd like to describe one trick I learned at supportforums.blackberry.com There is a native dialer Phone Application in blackberry: The trick is to programmatically run menu items of dialer after incoming call, call fail or any other call event. ...

Hibernate Tips and Tricks

Following the theme of other threads. What are your most favorites tricks or techniques involving Hibernate? My favorite is binding non-Hibernate generated classes to existing classes with additional functionality (i.e. summarization). ...

Is there an easy way to find unused assembly references in my .NET project?

Possible Duplicate: Tools for finding unused references I inherited a brownfield project and am in the process of refactoring the code to support new requirements. The number of assembly references has grown considerably over time, and I would like to know if any references are no longer being used. What is the best approach t...

I'm an experienced C# developer, what things should I know to code effectively in c/c++?

I have a little bit of experience in c/c++ from college but have not worked in it for years. What sorts of things do I need to know to even be considered for a c/c++ job position? ...

Hidden features of x86 assembly language?

What are some hidden-features of x86 Assembly Language? What Tips and Tricks do you have for working with x86 Assembly language? ...

What are some quick tips for increasing jQuery performance?

What are some quick tips for increasing jQuery performance? ...

Hidden Features and Dark Corners of STL?

C++ developers, all know the basics of C++: Declarations, conditionals, loops, operators, etc. Some of us even mastered the stuff like templates, object model, complex I/O, etc. But what are the most hidden features or tricks or dark corners of C++/STL that even C++ fans, addicts, and experts barely know? I am talking about a seasoned...

What are unusual and creative usages of html5 canvas

Canvas from html5 was introduced some time ago. Currently it's used (almost) only for demonstrations how cool it is - it's mainly related to painting, games and charts. Many of them can be found at Canvas demos. How creatively / unusually can canvas be used? Some examples: jsAscii - ASCII art from images with Javascript and Canvas (...

Eclipse for Visual Studio dummies

Looking for links to good information for Eclipse beginners. I've been a c# developer for sometime and I feel like I'm swimming in molasses. I'm especially interested in anything like the snippets functionality and how to use it (for example the prop snippet to create a property) ...

mootools Tooltip Open

Hi, How Can i force one Mootools ToolTip (Tip) to Open? Regards, Pedro ...

Quick way to find what thread asserted in gdb?

When my Cocoa app hits an assertion in the code, gdb gives me a prompt as expected, but it's never (ok, rarely) in the right thread. I know I can use Xcode's GUI debugger and it makes it a little less painful, but I'm thinking there has to be a gdb command line trick I don't know. Is there an easier way of finding the thread that asse...

What shapes can you Draw in Css?

I recently came across a trick for drawing triangles in css (it's the 'point' of the comment). And it's obvious how to draw a circle and rectangle/square. It seems like this would be enough to draw pretty much any shape (as long as you don't mind ignoring IE for circles) <span class='red-triangle'></span> <span class='blue-circle'></spa...

Tips or tricks for translating sql joins from literal language to SQL syntax?

I often know exactly what I want, and know how tables are related in order to get it, but I have a real hard time translating that literal language knowledge to SQL syntax when it comes to joins. Do you have any tips or tricks you can share that have worked for you in the past? This is a basic, but poor example: "I have Categories, whi...

SQLite column aliasing

Premise I recently ran into a bug in a select statement in my code. It was fairly trivial to fix after I realized what was going on, but I'm interested in finding a way to make sure a similar bug doesn't happen again. Here's an example of an offending query: select the, quick, brown fox, jumped, over, the, lazy, dog...