4
голосов
8ответов
271 просмотров

Have you ever been the victim of a bug in a programming language or technology?

Bugs can be difficult enough to resolve when they're your (or a coworker's) fault. However, we all know that the technology we use to implement our programs is written by infallible people such as ourselves. So it stands to reason that some people have been affected by bugs in the implementatio...

3
голосов
1ответов
7746 просмотров

Create VCards with iPhone Address Book Contacts

I am wondering if there is some way to create and send VCards based upon the iPhone Address Book information from my own app. On the Mac, there is some easy function in the built in app to do this, but I have not seen something on the iPhone like this. So, is there some framework or otherwise t...

1
голосов
1ответов
441 просмотров

Near People With Core Location

I am wondering if there is some way to find people that are near you using data supplied by the Core Location Framework. If you can get the other person's CLLocation's description attribute, I assume there must be some way to compare this in terms of location to your location. Thanks for any he...

0
голосов
1ответов
1759 просмотров

iPhone #import ApplicationServices?

I'm trying to use CGBitmapContextCreate. According to Apple's documentation the ApplicationServices framework is required. When I went to add it, it wasn't in the list available (the latest version of Xcode changes things a bit), but I managed to find it manually in the Frameworks folder. However...

3
голосов
1ответов
132 просмотров

Frameworks that support complex nested forms ala Rails' accepts_nested_attributes_for?

I'm working on a small side project for a friend and I need to build complex forms dynamically from a set of predefined types which in-turn are persisted via the underlying object model. So far I'm using Rails 2.3.4, accepts_nested_attributes_for, and a bit of Javascript. There's nothing wrong ...

3
голосов
3ответов
3060 просмотров

NSSound undeclared on iPhone?

sound = [[NSSound alloc] initWithContentsOfFile:@"staticbeam09.wav" byReference:YES]; Code referenced from Apple docs. Getting an error when I put this in viewDidLoad. If I put NSSound *sound; in the header file, I get the specifier-qualifier error at the top of my implementation file. What ...

11
голосов
12ответов
7728 просмотров

Which java web framework to learn?

I'm interested in a learning a java web development framework and I'm looking for some recommendations/suggestions on which one I should learn (and why). Ideally, I'd like the framework to: Be MVC based. Have minimal if any configuration Have an easy to use ORM Have decent session m...

0
голосов
3ответов
624 просмотров

Older frameworks in Xcode

I got the latest version of Xcode (3.2) When I open an older project in Xcode all the frameworks appear in red. When I replace them with the current frameworks i get a ton of errors in my code. I want to run the 2.2.1 simulator but it isn't in the list of active SDK's. Is there a way to fix this?

3
голосов
1ответов
628 просмотров

C framework like Qt?

is there a full-featured framework for C that is similar to Qt?

2
голосов
6ответов
1336 просмотров

small footprint dependency injection java

I am looking for a very lightweight dependency injection framework for java. With minimum possible dependencies and minimum features. Just something along the following lines: receive a java.util.List of Classes, instantiate them and just auto-wire all the objects one into the other.

4
голосов
6ответов
598 просмотров

How can I determine which framework was used to build a particular Windows desktop application?

How can I determine which platform or programming language was used to build a particular Windows desktop application?

1
голосов
2ответов
194 просмотров

Can a WIN32 program authenticate into Django authentication system, using MYSQL?

I have a web service with Django Framework. My friend's project is a WIN32 program and also a MS-sql server. The Win32 program currently has a login system that talks to a MS-sql for authentication. However, we would like to INTEGRATE this login system as one. Please answer the 2 things: I w...

1
голосов
2ответов
1207 просмотров

Why can't I save an object in Django?

thechan = Score.objects.filter(content=44)[0:1] thechan[0].custom_score = 2 thechan[0].save() I do print statements, and it shows everything fine. However, it's not SAVING! I go into my database, and I run a simple SELECT statement..and it's not changed! select custom_score FROM music_score w...

12
голосов
5ответов
5199 просмотров

Am I making the right choice in choosing Yii as my PHP Framework?

I am about to begin development of a new website and have been doing research on PHP Frameworks. I'm not an advanced PHP developer, but I have been developing web sites and apps (in asp.net) for a few years now. My website will primarily be AJAX-based (using jQuery) and making lots of calls to ...

4
голосов
1ответов
4315 просмотров

How to load IOSurface in OpenGL for Mac OS X Snow Leopard application

Apple added the new IOSurface framework as part of the 10.6 Mac OS X firm update. Since this framework relatively new, I haven't found the much need documentation on how to properly use this. I was wondering if there anyone on StackOverflow that can assist me with IOSurface usage. Anyways, this...

6
голосов
3ответов
6554 просмотров

Using otool (recursively) to find shared libraries needed by an app

I have a Cocoa app that uses otool to find required shared libraries that an app needs to function properly. For example, say I run otool -L on an app that uses QTKit.framework. I get a list of the shared libraries used by the program (including the basic frameworks like Cocoa.framework and AppKi...

15
голосов
4ответов
2267 просмотров

Is it possible to use NHibernate without altering a DDD model that is part of a framework

I dig a lot of things about the DDD approach (Ubiquitous language, Aggregates, Repositories, etc.) and I think that, contrary to what I read a lot, entities should have behavior rather then being agnostic. All examples I see tend to present entities with virtual automatic properties and an empty ...

9
голосов
4ответов
2035 просмотров

Is there any Non-blocking IO open source implementation for Scala's actors?

I have quite large files that I need to deal with (500Meg+ zip files). Are there any non-blocking IO open source implementations for Scala's actors?

1
голосов
5ответов
602 просмотров

Is there any framework like RoR on Python 3000?

One of the feature I like in RoR is the db management, it can hide all the sql statement, also, it is very easy to change different db in RoR, is there any similar framework in Python 3000?

13
голосов
19ответов
1397 просмотров

I've learned jQuery, should I go back and learn "proper javascript"?

I'm primarily a server side developer, working professionally with PHP. For javascript I always use a framework (jQuery/mootools), will this be a professional disadvantage for me down the line? Should I put the time in to learning straight javascript, or are most developers moving over to framewo...

9
голосов
1ответов
6359 просмотров

Full stack versus non-full stack MVC PHP frameworks - what's the difference?

I keep seeing CakePHP and CodeIgniter referred to as full stack MVC frameworks, whereas Zend Framework is said to be non-full stack. What exactly does this mean?

1
голосов
2ответов
958 просмотров

implementing GCMathParser on iphone

i am trying to use the GCMathParser for an iphone application and i cannot find any support on implementing this framework. people keep saying its easy and im kinda confused, any help would be great thanks!

0
голосов
3ответов
1644 просмотров

ConnectionKit framework in xcode doesn't work with me

I've tried to make a Cocoa application that connects to ftp server. All answers do suggest using connection Kit framework but somehow Im not able to use it. As I compile the framework and add it to my xcode project and build it. Im not able to run the application anymore. I got error in left down...

-1
голосов
3ответов
2105 просмотров

Dumping frameworks for iPhone 3.0 not working?

Hey I need some extra capabilities for my program and I would like to use some Undocumented APIs for my iPhone program. I downloaded: DumpFrameworks as Dumpframeworks.pl and class-dump from : http://ericasadun.com/HeaderDumpKit/ I put DumpFrameworks.pl in Downloads and class-dump file in /usr/l...

0
голосов
1ответов
1423 просмотров

cakePHP Table Field naming convention

So it seems that cakePHP tables need a field called "name" or else the id number is displayed while testing out table relationships in the scaffold. Is there a way around this? instead of 'id' 'name' 'last_name' in my table, I want 'id' 'first_name' 'last_name'. I have to have a "name" field ...

7
голосов
4ответов
1098 просмотров

What are the most useful third party iPhone frameworks?

What really super useful third party frameworks / toolkits / projects are out there that people have used and have found to be a huge help in building their iPhone apps? Bonus points if you include a story about how it helped you on a real world project. I'll go first: cocos2d JSON.framework ...

0
голосов
2ответов
43 просмотров

Slow start of interpreters and frameworks: whose convenience is more important?

Usually if you write a program using a well-known interpreter/script language or framework, there's usually a thing the developer can't control - how long it will take for program to start. But due to innovative nature such languages are easier to develop and reflects the infamous RAD concept. On...

3
голосов
1ответов
1775 просмотров

Adding headers to framework for release

I'm building a framework project in XCode and everything builds and looks great except there is no Headers directory in the built Foo.framework. Do I have to add an explicit build phase for this or is there just a setting to which I'm oblivious? PUBLIC_HEADERS_FOLDER_PATH looks promising, but I'...

196
голосов
18ответов
103089 просмотров

What Scala web-frameworks are available?

I've just started learning Scala, and the first thing I'm going to implement is a tiny web application. I've been using Erlang for the last year to implement server-side software, but I've never wrote web applications before. It will be a great experience. Are there web-frameworks for Scala exce...

187
голосов
15ответов
610926 просмотров

Finding the max/min value in an array of primitives using Java

It's trivial to write a function to determine the min/max value in an array, such as: /** * * @param chars * @return the max value in the array of chars */ private static int maxValue(char[] chars) { int max = chars[0]; for (int ktr = 0; ktr < chars.length; ktr++) { if (c...