real-world

API for real world safety

I have been looking for free for commercial use way to get information on police, fire, hospitals etc.. near an arbitrary location. (middle of a large city, or a desert). What are some good sources for this kind of information that I may have missed? free or not. ...

What do people use class loading for?

So, every Java text book talks about how flexible Java is since it can load classes at run time. Just cobble together a string and give it to Class.forName(), and catch the ClassNotFoundException and handle it. So much for the theory. Can you give examples of how you've been using Java class loading to achieve a feature which otherwise...

Real-world software development methodologies?

I'm currently learning for an exam in Software Engineering. However, I'm becoming frustrated by the apparently impractical and unrealistic techniques for producing high-quality code suggested in the lecture. [edit:added this illustration from response to a comment] For example, it was suggested that one could use linguistic analysis to d...

Client app updates...what is the proper way to deal with them?

I do a lot of freelance work and clients often have me build apps from existing packages and applications (i.e.: Wordpress, Magento, Firefox [extensions] etc.). Six or seven months down the line, an update is usually available for the package which I built the apps from. With Wordpress, it's likely that it's a security update; sometimes ...

What trivial real-life example do you use to explain programming to total non-programmers?

Possible Duplicate: What is a good example to show to a non-programmer to explain what programming looks like? Programmers seem to live in a world of their own (as this site indicates), with their own vibrant culture - and their own premises and vocabulary. Once we've been in the field for a bit, we take a lot of things for gr...

Real website/-application use cases where dependency injection was useful (excluding unit testing/mocks)?

In what concrete web project(s) (you don't have to name them by name of course), specifically what part of the web-application/website, that you have worked on, has dependency injection proven to be a good choice. Can you give concrete examples where you actually substituted one component for another with DI during the life span of the p...

Reimplementing data structures in the real world

The topic of algorithms class today was reimplementing data structures, specifically ArrayList in Java. The fact that you can customize a structure for in various ways definitely got me interested, particularly with variations of add() & iterator.remove() methods. But is reimplementing and customizing a data structure something that is...

What Are Some Prominent Real-World Applications of Java?

I'm a beginning programmer and the I&CS program at our school starts us off learning Java. It seems to me like C and its spin-offs are way more prevalent in the real world. Is this true? How do expert programmers use Java for their work? To be more precise, I want to know in what situations would a programmer prefer to use Java over oth...

Classes / instances in Ontology

Hi, I'm trying to comprehend ontology basics. Here's an example: car (class) 2009 VW CC (sub-class or instance?) My neighbor's 2009 VW CC (instance) My issue is understanding what is "2009 VW CC" (as a car model). If you're making product model a sub-class in the ontology - all of a sudden your ontology becomes bloated with thousand...

App.Config or XAML

Hi ladies(?) and gents, I am currently evaluating my options for a rewrite of the projects I'm working on and I am a bit miffed by the stringly-typed nature of our app.config files. I'd like to move to a more structured approach, so I have two options: Use custom SectionHandlers in the app.config Scrap app.config and use XAML instead...

A simple project that uses the basic principles of OOP in Java

Hi everyone. I believe that we will never learn any programming language in depth until we apply all the theories on a real world application. And I kinda suck at the creativity thing :c So I would want to ask for ideas on any simple application that the basic principles in OOP (inheritance, interface, encapsulation, and polymorphism) c...

C# Threading in real-world apps.

Learning about threading is fascinating no doubt and there are some really good resources to do that. But, my question is threading applied explicitly either as part of design or development in real-world applications. I have worked on some extensively used and well-architected .NET apps in C# but found no trace of explicit usage.Is th...

Real world pre/post-order tree traversal examples

I understand pre-order, in-order, and post-order tree traversal algorithms just fine. (Reference). I understand a few uses: in-order for traversing binary search trees in order, pre-order for cloning a tree. But I can't for the life of me come up with a real world task that I'd need post-order traversal to accomplish. Can you give me ...

Tips for Database Design of Website with international Users

Hello Friends, i am developing a dating website, in which users can register from all over the World. The Dating section is divided into cities from again, all over the World. The Problem i see here is, i do not have a database that covers all cities around the Globe. I am confirming every user by hand so this gives me the opportunity...