All Questions

Filter by
Sorted by
Tagged with
14
votes
7answers
2k views

How do you make a case for Django [or Ruby on Rails] to non-technical clients [closed]

Businessmen typically want a web application developed. They are aware of .net or J2EE by names, without much knowledge about either. Altho' Rails and Django offer for a much better and faster ...
0
votes
2answers
774 views

Converting a pthreaded program to MPI?

I understand the differences between a multithreaded program and a program relying on inter-machine communication. My problem is that I have a nice multithreaded program written in 'C' that works and ...
9
votes
3answers
3k views

Fixtures and Selenium and Rails (oh my?)

What data do you use with Selenium tests on Rails apps? Do you load from fixtures? Use an existing dev db? Use a separate (non-fixture) db? I'm considering my options here. I have a Rails app with a ...
62
votes
13answers
50k views

iPhone Development on Hackintosh

My question is in regards to developing code for the iPhone / iTouch. What with Apple's transition to the Intel platform for their chip, it is obviously now possible to run their OS on a PC. So, ...
2
votes
2answers
536 views

Resource injection in webapplication JBoss 5

Is it possible to inject resources (like message queues, EJBs) using the @Resource annotation in webapplications running in JBoss 5? The webapp is part of an .ear file.
2
votes
4answers
475 views

What are the most important points when getting involved in an open source project? [closed]

Disclaimer: I did check other questions that seemed related, but this one is much broader and less specific, its goals are completely different, too (so, please do read first before deleting!): Now, ...
7
votes
9answers
6k views

How do I add a method to a property?

Let's say I create a class with a property: public class User { private string _userID; public string UserID { get { return _userID; } set { _userID = value; } } } What do I ...
2
votes
3answers
2k views

DotNetNuke intermodule communication

I'm looking into doing inter-module communication with DotNetNuke 4.8.4 - and am wondering if anyone has any good examples of doing this. I understand that you implement IModuleCommunicator on the ...
32
votes
4answers
25k views

How do I re-map python dict keys

I am working on a program that (among other things) reads a CSV file in (it gets stored as an array of dicts in the form [{col1:data1a,col2:data2a},{col1:data1b,col2:data2b}] ). For each row, as part ...
61
votes
5answers
69k views

How does Python sort a list of tuples?

Empirically, it seems that Python's default list sorter, when passed a list of tuples, will sort by the first element in each tuple. Is that correct? If not, what's the right way to sort a list of ...
53
votes
32answers
124k views

What is a practical, real world example of the Linked List?

I understand the definition of a Linked List, but how can it be represented and related to a common concept or item? For example, composition (EDIT: originally said 'inheritance') in OOP can be ...
1
vote
2answers
2k views

Adding to/Delete from zip file can't find temp files

My program lets users add files to a zip file one upload at a time. The first upload creates a zip file, and subsequent uploads add to the created file. It also displays a list of all the files in ...
2
votes
1answer
1k views

Is it possible to have Castor marshal/unmarshal an EnumMap?

I'm using Castor to marshal/unmarshal my Java objects, one of which contains an EnumMap. Can Castor marshal/unmarshal EnumMaps? I have a mapping file with some nested HashMaps, but I've never pushed ...
16
votes
3answers
9k views

Experiences with UI Automation and WPF [closed]

We are developing a rather large WPF based application and would like to include some automated UI testing in our test suite (which already contains a number of unit tests). The UI Automation ...
1
vote
5answers
3k views

AS3:Best practice for getting image from Loader()

When loading images using Loader, what's the preferred way to add the image to the display list? Grabbing the data in an Event.COMPLETE handler like new Bitmap( Bitmap(LoaderInfo(e.target).content)....

15 30 50 per page