discussion

best way for open database connection - discussion

hi what is the best way for open connection to database ? open in form1 - and close and open again in form2 ? open in form1 as static - and use it for all form's (stay open all the time) ? after I clossing the connection is it good to do - Connection.dispose() ? I work on C#, and connect to sqlCE, Windows mobile 2005 thank's in a...

Why does HTML 5 not have editable combobox or local menus built in?

I was wondering, in the new HTML 5, we will get <audio> and <video> tags, but why not native editable combobox and built in local menu support? The reason I'm asking this is because these are the most common problems I face when I have to design a web solution to a typical table based application (e.g. order management app). On a proper...

Favorite C# windows forms books/blogs/websites

Which are your favorite windows forms books/blogs/websites? (I don't think this is a dup...have checked other related questions) ...

Managing a difficult manager

I have a situation here at work. We are redeveloping our basic architecture across the entire company. Currently we have the following hierarchy; SQL Database <= Stored Procs not allowed. nHibernate Classes to convert nHibernate into our own objects Web Service <= for all external and [internal] calls. Class...

What should be the minimum hardware specifications for web developer machines? And Why?

I have been using my old upgraded Acer Travelmate 3273 for quite some time now since I started for my current employer. I've been using my own laptop instead of the company's standard machines because they still use Pentium 4 with only 512 MB RAM, and I just can't work on those machines. Slow and doesn't quite work well with my preferre...

The most abusive C++ you've ever seen used?

I'm curious to know, what is the most abrasive, caustic, abusive but perfectly legal and correct C++ you've ever seen ship out the door? This question isn't meant to be a C++ bashing session, but a humorous introspection into the world of C++ we allow ourselves (or others) to get away with. ...

C# Game Development

Is C# an appropiate language to develop advanced games using XNA? ...

Are concerns on starting an open source project using Mono right or wrong?

As Mono plans to soon implement ASP.NET MVC, Linq to SQL and other nice .NET stuff, I'm considering to start an open source project based on these technologies. The problem is, there have been concerns on Mono's future; there is an article by RMS stating that "free software shouldn't depend on Mono or C#". I've heard many comments, ran...

What is a use-case? How to identify a use-case?

The question is quite generic. What are the points that should be kept in mind to identify a valid use case? How to approach a use case? ...

Is it worth learning OOP in C++?

My personal opinion is that any programmer should learn (procedural) C/C++. You can only benefit from learning it, even if you don’t use it regularly. But is it worth programming with OOP in C++? Are there any advantages that you can gain from doing this? What do you think? ...

What is the state of ado.net entity framework?

I get the impression that Microsoft is putting a significat investment into this framework, conversely I have heard the who's who (who?) of the object relational professionals think it sucks, and I have to agree. I have asked a simple question a while ago and I do not think it is unsolvable, given the commonality of that problem it shoul...

Is the Delphi runtime code open-source or not?

In this question I've called the Delphi runtime source code "open source", simply because it's open. Others disagree with this because Delphi itself is a commercial product. According to Wikipedia, open source must comply to a set of rules. I've done a quick scan in the Delphi license but can't find a clear note about it's licensing sta...

Places to get feedback for a program (developer's tool)?

I have a program (tool for Visual Studio users), but it's kinda immature and I need good feedback of potential users before release. What's the best places for this task? Any links to active forums/communities would be nice. ...

What are the active J2ME forums?

I'm interested in J2ME programming, and so it would be nice to discuss with other experienced people about issues and ideas during my development process. Do you know what are the active J2ME forum websites? Forums where J2ME devs visit frequently? Thank you. ...

what is client side javascript and what is server side javascript ?

Hi all Will any one please explain me what is server side java script and client side java script Because i recently heard about livewire javascript is server side and navigator javascript is client side. kindly any one explain me the difference Thanks in advance Fero ...

Have you attempted a refactoring only to give up on it?

I recently attempted a large refactoring (yes I know smaller increments and unit testing along the way is preferred) that I just had to walk away from. It's not that I couldn't have done it, but I realized that the time to do it right wasn't justified in the business sense. Normally I am one to tackle refactoring with no fear because of ...

Online games/quizes/contests for programmers/developers

I know some on-line contest for programmers: Top Coder Python Challange : to get to the next level you have to write small program in Python which gives you the solution. In each level you have to use different Python library. You proceed to the next level by manipulating the URL in the browser. Project Euler : write simple program to ...

Global variable vs DI Container.

Can someone describe pros and cons of both methods, and when you prefer one over another? interface IService { object GetSomething(); } class Service:IService{...} DI Container.Register<IService, Service>(); class A { public A(IService service) { _service = service; } } Global class Config { publi...

How can we teach managers how Software Development works?

In my current company the management does not understand how software development works. You may have heard the quote: "But why can't we develop this from a external company? Ferrari does not produce their screws themselves!" Which is somewhat correct, but does not apply to Software development. I am getting tired to explain ...

Static Variable in Web Application

Hello All, It's well known fact that static variable cannot be used in Web Application as it remains static through out application.But,is there any scenario where static variable can be used in Web Application to achieve the functionality? Thanks ...