choice

iPhone Dev - Which way should a member be added as a subview

(We're talking about code inside custom UIViewController subclasses -- And by the way I don't use IB) Ok so I set the self.view member in - (void)loadView, and then I create my controls and views and whatever in - (void)viewDidLoad, and then add them to the subview. If the control isn't a member, if I create it and release it locally in ...

Which Haskell XML library to use?

I see that there is a few of XML processing libraries in Haskell. HaXml seems to be the most popular (according to dons) HXT seems to be the most advanced (but also the most difficult to learn thanks to arrows) xml which seems to be just the basic parser HXML seems to be abandoned tagsoup and tagchup libXML and libXML SAX bindings So...

Boost.Any vs. Boost.Variant

Hello, I'm having trouble choosing between Boost.Any and Boost.Variant. When should I use each one? What are the advantages and disadvantages of each? I am basically looking to store some states from external sources. Thanks, Omer ...

When to use Processing language?

When it comes to online or desktop presentation we've options like actionscript, java, picolo, flare, prefuse. Now choosing a perfect language for needs is subjective and depends on project. But if you've to choose Processing (language), then on what basis you'll choose? what are the pro's and con's of processing in your opinion? ...

Choosing between a directory server (a.k.a LDAP database) and an RDBMS

In my project, where I'm the lead developer, we earlier had a network configuration that was stored a single XML file. The configuration contains info about a network layout - its constituent hosts, various details about each host like OS, platform, users configured in each them, several attributes for each user and so on. In the forthco...

iPhone + Multiple choice option

Hello, While creating any iPhone application, which is the best way in terms of UI design (considering the end user view perspective), to provide multiple choice options to user, from which he/she can choose one option. The UIPickerView controller is available but not efficient enough in terms of UI display. Also the controls available...

Storing Multi Choice Field into in SQL Server 2008

I'm writing an app in .NET, and using a dropdown checkbox. I'm not sure what the best practice is for storing this info in the db. Currently I'm writing back a comma delimited string to an SP in SQL Server 2008 ie "apple, banana, pear", storing this in a nvarchar(MAX) and then splitting this in the SP into another table holding the ID ...

Pros And Cons Of Haskell

Hello, I've learned much languages, but now I want to choose one, but the language that I most liked was Haskell, it is like a interpreted language, but is a compiled. Then I want to know the pros and cons of this powerfull language(just to make the correct choice). ...

ASP.NET Design Consideration

We are developing a Medical Data Analysis Application. We have a discussion to go for either NHibernate or DB4o.Can you please give a suggestion for choosing the efficient one. ...

Best android layout for a set of columns

On an Android layout, I'd like to have a set of rows, each with two TextViews. The leftmost column of TextViews should be right-aligned, just left of an imaginary centerline down the screen. The rightmost column should be left-aligned. Examples of this can be seen at http://stuff.greenberg.org/ScopeCalc.htm What's the best layout to u...

Share Point Choice Field

Hi All, Is there any way to get to data to sharepoint list choice field when user want to add an item in the Sharepoint list Thank ...

Issues to consider when choosing data access technologies?

There were times when we had to choose between 2 or 3 technologies/strategies to develop modules. Now for every small or large component/module/project, we have almost uncountable options. It might be easy for those with years of experience, but not for those who are new to programming, say less than a year. I get frustrated sometimes ...

Where JSF and struts2 fails/goods

I am begining a web system and can't decide what technology use! Struts2 and JSF (with jboss seam) are a nice choices, but I can't decide which's better. In JSF have some that I don't like, maybe its "paradigm" no action like. And Struts2, the peoples here don't use more. The system is a map collaborative web site. ...

Relational Database arrays (H2, Java)

I seem to have two options on how to implement arrays, and I want to know which I should go with: Use the ARRAY data type and (from what I understand) effectively serialize data objects into the database (which in my case are just wrapped primitive types; don't know of another way to make this work). Use a separate table and map with f...

Storing multiple checkbox values in database

Hi, I want to store multiple column values in table.Lets take a example .. What are your favourite colors? the choices can be red,blue,green, orange. So lets assume, the user selects atleast 2 values. Is there any way to store the multiple values in table. I have implemented by concatinating choices of users in a column in the table....

How can I make a custom layout / change header background color … with Tex, Latex, ConTeXt ?

Hi, currently I produce dynamically this document http://download.stephane-klein.info/exemple_document.png with Python Report Labs… to produce pdf documents. Now, I would like try to produce this document with Tex / Latex / ConTeXt… I've some questions : how can I make the layout ? how can I make header background color ? how can I ...

How to choose database management system?

Basic requirements Fault tolerant (ex. has to work even when an entire data center goes down) Maximum number of records are about 1-5 billion Has to work properly and comparatively fast under high load Compatible with JavaEE Prefer relative DB but in general it doesn't matter Free of charge Do you have any ideas? ...

How to read a Choice Field from Sharepoint 2010 Client Object Model

Hello, I'm using Sharepoint 2010 Object Model. I'm trying to retrive the content of a Custom List. Everything works fine except if when I try to retrieve a Choice Field. When I try to retrieve the choice field, I got an PropertyOrFieldNotInitializedException exception... Here is the code I'm using: ClientContext clientCon...

Small desktop app, simple GUI, easy deployment: language / framework choices?

I have to build an application that converts one file format to another file format. So at the start of the program, it pops up a file picker dialog, where the user can select which file to convert, then it pops up a save file dialog where the user can select where to save the converted file. Requirements: No installation. Distributab...

C++ "Choice" Union

Not sure if there is a term for this, "choice" seems to work. I'm working in C++, and I have a bunch of unions I need to create where the union represents a choice of one of the members of the union. The current "choice" is tracked and is always available. I am currently coding these "unions" manually, but I'm wondering whether there is ...