tips-and-tricks

Best work from home tips ?

What tips can one provide to get the best programming results when working from home? When kids and spouse are home, is it possible to get any programming done in these circumstances? Please share your success tips and strategies for making the most out of your working from home experience. Answer: Thanks everyone for your input! To...

What are your learning tips?

You know, developers learn during all their life and I think that to be a better developer you should be able to learn faster than average people. So I'd like to know if you have learning tips to learn faster. For example to learn a book in one week (~1000 pages) to pass an exam certification, I worked with Visio aside and every new c...

embedding one kind of syntax inside another: is it kludge or clever?

Background: Recently while looking at a "structured text editor" I noticed they used a trick to change python/perl/c++/java et al. into a "structured" outline by sneaking XML into the comments of the respective languages. I remembered seeing this trick inside a windows bat file once as well. The REM statements of the bat file were used ...

What is the best CSS trick to reduce how much HTML you need?

What is the cleverest CSS technique that lets you use less HTML? One of the advantages of using CSS well is that it can let you simplify your HTML, and produce look-and-feel effects entirely in the CSS. In the beginning this was just replacing deprecated HTML presentation mark-up and spacer-GIFs with CSS, but recent years have shown mor...

Preparing for a CS degree and college. Any tips?

I will be attending college in the near future and would love to be prepared and ahead of of the curve. Will be attending to get a BS in Computer Science. Are there any recommendations on what to read/study before starting classes? I already started reading some books on C++ and will be starting with some java books next along with pyth...

Development Environment Setup Tips

Can anyone offer tips on how to setup the ideal windows development environment? Contemplating on moving to vmware or virtual box setup for development and keeping the development tools off of my main system but then think that would cause a headaches if I want to just try something really quick. Just looking for suggestions from other...

Any recommended websites for SQL puzzles?

Is there any website that contains SQL puzzles, tips/tricks etc? Any version of SQL (Oracle, MSSQL etc) will do. Just want to solve some general SQL puzzles and want to learn more about SQL. Thanks in advance! ...

Best tips for beginning programmers?

I'm just starting out learning to program. After tinkering with a couple of other languages I've settled on learning Python as my first programming language. I've learnt a couple of things the hard way: It's better to do a little programming every day than a lot one day and then none for ages Use an MP3 player to block out distractions...

Coding tip - intersection types and java enums

Intersection types allow you to (kinda sorta) do enums that have an inheritance hierarchy. You can't inherit implementation, but you can delegate it to a helper class. enum Foo1 implements Bar {} enum Foo2 implements Bar {} class HelperClass { static <T extends Enum<T> & Bar> void fooBar(T the enum) {} } This is useful when you ha...

Tips and tricks for VS2005 specifically for C# developers

Hello, Let's get the duplication allegation out of the way. I saw couple of variations of this question, notably, link. However, it doesn't address issue specific to C# developers. I want to collect a list most used/powerful/cool tricks--tips in VS from people who are using C# under visual studio 2005 (it's ok to mention for 2008 as w...

Favorite ruby trick?

Hello, I'm interested in hearing what your favorite ruby trick is. I'm a big fan of using inject in new and unique ways. You? ...

Deploying DotNetNuke and separate ASP.NET Application together - Possible Issues?

I am making this in a proactive attempt to head off any potential problems which could arise from this. The situation is that we are developing an ASP.NET application for a client which will handle the online ordering from their customers. This application is going to be using the same database that their current WinForms application use...

Switching from Win32 to Windows Mobile 6: any tips?

I'm starting on a Windows Mobile project (no .NET Compact Framework - just native code). Having been a Win32 programmer (managed and native) for many years, I probably have some "desktop-isms" built in my brain that just don't translate well to the mobile world. Are there any tips you may want to share about typical pitfalls for someone...

What is your favorite C programming trick?

For example, I recently came across this in the linux kernel: /* Force a compilation error if condition is true */ #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) So, in your code, if you have some structure which must be, say a multiple of 8 bytes in size, maybe because of some hardware constraints, you can...

PowerShell Tips & Tricks for Developers

What are the some of the PowerShell tips & tricks that you use to increase your productivity as a .NET developer? ...

Favourite command line trick

bash, bat, whatever... What is your favourite command line hyperproductivity trick? ...

list of c++ tricks with names

I've been browsing around c++ and I found a link to: Barton-Nackman trick Curiously recurring template pattern I'm wondering is there some sort of master list of these tricks? I'm trying to improve my skills. ...

NetBeans Tips and Tricks

I just saw an Eclipse tips & tricks post and was wondering if anyone had any tips & tricks for my IDE of choice: NetBeans. Here's a few I know and find to be useful: Removing a package: After you remove a package in NetBeans, it sticks around as a grayed-out package in your Project view. To get rid of that, switch to Files view and d...

Blackberry Development Tips, Tricks & Gotchas

I'm looking to get into developing software for the Blackberry platform. I know they've got a great IDE plug-in for Eclipse and I've got their Storm simulator running on my laptop, it's fantastic. So, that being said, anyone have any tips, tricks or gotchas to watch out for when using the Blackberry SDK? Anything specific to various mo...

What is your favourite Hibernate trick?

What is your favourite Hibernate trick? ...