tips-and-tricks

Hidden Features of Windows.Forms

Despite the growing popularity Web Applications, and WPF, there's still a lot of work being done in "old-style" Windows.Forms, especially for in-house ("bespoke") business software systems. So, what are the best (and most hidden) features and tricks of Windows.Forms, the things that can help us turn out useful applications faster? (I w...

Javascript dialog script feedback needed

Hello, I am writing a Javascript dialog script which is seen in a lot of typical Role Playing Games. At the moment I got an array with text strings which you can skip trough. I got at the point where you can make a decision and based on the input a different string will show. However I don't think this is the right way to do it. These...

How to code startup tips to be easily localized

I'm writing a new Java 6 Swing application and want to have a "Show tips at start-up" feature. I've done this before, but never with localization in mind. In the past, my tips dialog used an XML file to hold the tips, but I'm afraid this will make things difficult when it comes time to translate these tips into different languages. I'v...

Tips for quick web-app prototyping

I've got the upcoming month of December off and with graduation and a job search looming, I've decided to work on some projects to show off my skills to potential employers. For every week in December I'm aiming to churn out a prototype, and so I'm looking for some tips for getting an idea up and running in a short time frame. I know t...

Transitioning from .NET to Lisp. Has anybody here done it?

I use ASP.NET during my day job, but I'm always looking to expand my programming knowledge. I've tinkered with everything from Ruby to 6502 assembly language, and now I want to learn Lisp. I guess I have Paul Graham to blame for that. I've heard about "Practical Common Lisp" and I know how to Google, but I'm curious if there are any ....

Using new languages in an Apache/PHP/JavaScript world

I am stuck in a MySQL/Apache/PHP/JavaScript world. Is it possible to stay inside that stack yet incorporate other languages and technologies to advantage and increase interest? The idea is to still serve pages with PHP, but they might have been made with another technology or the JavaScript might have been built with a tool rather th...

Navigating through code with keyboard shortcuts

I'm starting to feel the need to run fastly through code with keyboard shortcuts, to arrive faster where I want to make any changes (avoiding use of mouse or long times holding [up], [left], [right] and [down]). I'm already using some: [home] - first position in current line [end] - last position in current ...

eclipse layout tips

Is there a setup of windows and menus that proves especially useful while coding? For example on my laptop I hide the toolbar so I have more editor space. I use ctrl-F7 to open views so I don't need to have them visible all the time. Note: the PHP tag is only because I use PHP. This is not a PDT or PHP specific question. ...

Tips to develop a software adapting agile developement methodologies

I know Agile development is a different way of managing software development projects and it fundamentally differs from a more traditional waterfall approach to software development Some of the principles of agile software development are: Develop small, incremental releases and iterate The team must be empowered to make decisions s...

Android App. Development

I am hoping to learn how to develope Android Applications but know little to nothing about how to go about the process. I was hoping to hear your recommendations on what equipment (preferrably free if possible) to use as well as the best way to learn go about developing. I am sorry if this question is too broad. ...

How to search all open files in Eclipse?

Simple question: how do I search all the files currently open in Eclipse? Note: I don't wanna search all the files I have in that workspace, just the ones open in tabs. Is there an easy way to do this? ...

Guidance, tips/tricks for larger scale php development.

Hi A project that I maintain and develop in asp.net so far has over 500 c# files (including code behind), 150 aspx, dozens of web controls, masterpages, split over various projects; web, business, cms. There are other projects that are accessed as web services (FYI developed mostly in Java by other teams). This current project is hoste...

Things to do before upgrading Ruby

What should I do before upgrading to the latest version of Ruby? any tips? Update sorry for my unclear question. my condition: I've upgraded my Ruby from 1.8.7 to 1.9.1p243. It makes me can not use all installed gems. so, what should I do before upgrading Ruby? uninstall all my installed gems? I was looking in other SO posts in here...

Enforce semicolons in my Javascript?

How best does the developer who's decided he likes semicolons at the end of his Javascript statements enforce that expectation technically for himself? I'm using Visual Studio (ASP.NET webapps), but I'd love to hear about solutions for any environment. ...

Tips for lightweight Android Applications

Hello, i am starting to develop Android applications and i would like to know if there are any tips for creating lightweight applications. This is my first attempt to write applications on a mobile platform but i hope that my experience in programming will help. I have in mind the "Better, Faster, Lighter Java" book, but will this be "t...

SEO Tips and Tricks for web developers

I know most of the Users of Stackoverflow would have knowledge about Search Engine Optimization(SEO).. Any tips and tricks about SEO for your fellow web developers ... EDIT: Good book about SEO? Good blogs/websites about SEO? ...

Tips for learning two new technologies at the same time?

Have you ever learned two new technologies at the same time? I'm learning Java at work and ASP.NET MVC at home. Are there any pitfalls to learning two technologies at the same time? What about some benefits? Do you find yourself fighting burnout? ...

Managing Code Written for learning

I want to ask about the different techniques they used to remember various programming techniques. We go through various books and various online tips and tutorials we also get so many ideas from the code written by somebody else. Now all these inputs are memorized or stored in some format so that it can be found easily when referred. A...

C - How to create a pattern in code segment to recognize it in memory dump?

I dump my RAM (a piece of it - code segment only) in order to find where is which C function being placed. I have no map file and I don't know what boot/init routines exactly do. I load my program into RAM, then if I dump the RAM, it is very hard to find exactly where is what function. I'd like to use different patterns build in the C ...

What do I need to set up my web app to accept input via email and sms?

I'm trying to enable some basic commands via email. Currently I have shared hosting accounts with shell access at dreamhost and site5. I usually use php/drupal, but am open to other options. I found this question, but I'm looking for something more basic: what do I need to configure where to create a hello world app that responds to emai...