Search results

  1. A

    having real hardtime to remove last comma within a loop

    This is generally the way to go. Strings are immutable in many languages so it's often slower to concatenate strings over and over instead of just adding to a list and joining at the end. Plus it makes for cleaner code. IMO, it doesn't matter whether or not this app is for internal use --...
  2. A

    GoDaddy holding domain hostage!

    Have you "unlocked" the domain?
  3. A

    Storing Dates in MySQL

    If only this forum had "like" buttons for posts.
  4. A

    iPhone app returns array item 0 during search every time (confused on indexPath.row)

    Ok, still not enough info (for example, I don't understand your model at all but let's go with it). I would look up NSPredicate and the filteredArrayUsingPredicate: method on NSArray. This example isn't a complete sample and isn't directly applicable (since I don't know your model) but it...
  5. A

    iPhone app returns array item 0 during search every time (confused on indexPath.row)

    Can you share the code that populates filteredListContent? Are you clearing filteredListContent prior to each search?
  6. A

    iPhone app returns array item 0 during search every time (confused on indexPath.row)

    The indexPath passed in to willSelect or didSelect is the index path from the list of search results when searching. You're likely grabbing the item in the full array of items instead of indexing into the array of search results, which should be a separate data structure. Try doing something...
  7. A

    How old is your dev laptop and is coding still comfortable?

    Macbook Pro (late 2k8 unibody) for coding exclusively. I use my desktop to check email and play an occasional game. It's aging well. I did put in a decent SSD to help w/ build times (and it did help by about 15-25% depending on the build script I run). I don't plan on upgrading until next year...
  8. A

    Java get variable by string

    You could always use a hashmap Map<String, MyType> foo = new HashMap<String, MyType>(); foo.put("blah", new MyType()); later.. MyType something = foo.get("blah");
  9. A

    ObjC: NSDictonary question

    NP. Nope, not using that data structure. The idea behind hashmaps is quick lookup. You basically give up order to get that since one hashes the key to find the location of the object it maps to. You'll need to take care of it with further code. How to do that depends on how often you need to...
  10. A

    ObjC: NSDictonary question

    Yep, hashmaps do not guarantee order so the behavior you're seeing is expected. You're right, it is not random. It's implementation specific.
  11. A

    VPS providers (alternatives to Dreamhost)

    Highly recommend ASmallOrange and Linode. Both have excellent support, in my experience. Disclosure: I know the founder of ASmallOrange but we have a regularly priced server from them.
  12. A

    Will we have to re-buy iPad Edition apps?

    No, you don't have to pay for iPhone apps you've already purchased. Although they will run on the iPad, they will either be scaled up (not look so great..) or run in the middle of the screen w/ a big black border around them. That wasn't the OP's question though. His question is whether or not...
  13. A

    Will we have to re-buy iPad Edition apps?

    The primary reason top apps (e.g. Pocket God and Doodle Jump) continue to give away updates is it helps keep the revenue coming. I wouldn't expect it for free, though, because most apps do not make enough to warrant free feature updates forever. When you buy an app, you're buying the current...
  14. A

    Java VS .NET

    Really? Android SDK IS java based. Yes, there's a native SDK but it's less used... http://developer.android.com/reference/android/media/package-summary.html
  15. A

    In this tough economy..

    Just make sure it isn't performance related and you're good as long as you like your job, IMO.
  16. A

    In this tough economy..

    I'm in the same boat. Side business helps too. Not too concerned about it (don't tell my employer that! ;)).
  17. A

    anyone willing to build a site?

    serious suggestion: consider google checkout for some of this. if could can make even a marginal site using basic html and css, you can embed google checkout links for various products and let them deal with the security and so on.
  18. A

    Where do you get images for websites from?

    I pay a designer or istockphoto.com
  19. A

    E-mail subscription and registration software?

    I HIGHLY recommend MailChimp. http://mailchimp.com. I've used them for newsletters before and they offer signup/unsubscribe stuff. Also, their web app for creating and managing email campaigns is terrific, IMHO. Oh yea, and it's cheap and the support is excellent. Disclosure: A friend of mine...
  20. A

    Just another web critique...

    edit: no, it's not..weird. disregard.
  21. A

    List the programs you use.

    textmate gcc xcode eclipse (rarely..) versions svn and git clients ant javac ruby + gems apache mysql vim and so on..
  22. A

    What are some of the most useful iPhone apps people have?

    Biased b/c I'm one of the developers but BillMinder is useful for tracking bills. It has more features than competing apps and we try to be responsive to users as well. :)
  23. A

    Completely stuck in developing iPhone app. Anyone take a look at it?

    Yep, well certainly not rags or riches, but one of our apps, BillMinder, does alright :)
  24. A

    Completely stuck in developing iPhone app. Anyone take a look at it?

    Not insulted by this -- tons of dishonest folks out there. I don't think the OP is worried, though.
  25. A

    Completely stuck in developing iPhone app. Anyone take a look at it?

    happy to take a look. can't promise i'll find the problem though. u stepped thru the code? BTW: You should consider using Core Data
  26. A

    XBOX 360 ELITE-$255 at dell. Free shipping as well

    Full downloadable games are coming soon via XBOX Live.
  27. A

    The reason for get/set functions

    Also useful if one wants to do things like make properties read only to objects other than self. e.g. One could implement a getter but not the setter.
  28. A

    Strategy for dealing with Comcast

    Only going to mention this because I've done it before, accidentally. If you use a decent router w/ QoS built in, check to make sure the settings are high enough for your connection. I say this b/c I use a wrt-610n w/ ddwrt on it and it's glitchy. I had turned on QoS and turned it back off...
  29. A

    XML element order

    Sorry for asking a silly question, I'm trying to understand, but how does this hurt parsing? Your deserialization algorithm shouldn't have to depend on order. I'm probably missing some key piece of information.
  30. A

    $90 off Technet new subscription

    Looks like MS just put up some alternate links so you might wanna try again
  31. A

    Please help my create an SQL query for this...

    You're right, apologies. I looked at his code block and didn't read the text above it.
  32. A

    Please help my create an SQL query for this...

    One should be able to use a sub-select, although they're generally not thought of as speedy. select something, count(something) from blah where somethingelse in (select somethingelse from blah) ... group by something;
  33. A

    Mac Mini stolen. Can i extract source code from app on iPhone?

    I took his response to mean he wasn't using any VCS. :\
  34. A

    Mac Mini stolen. Can i extract source code from app on iPhone?

    Not really. You can disassemble it, but that that's not going to get your XCode project back. You didn't use version control on a server someplace?
  35. A

    where/how to go about setting up a realiable database for an iPhone application?

    Lots of questions. Are you sure you can't use the embedded SQLite3 (C) APIs or CoreData (requires iPhone 3.0+) or do you need global data management (e.g. something like global high scores for a game that you want to be able to access from all devices)? What are you writing the web services...
  36. A

    Randomly Dissolving Image with JavaScript

    probably the best solution to this problem
  37. A

    Randomly Dissolving Image with JavaScript

    i can't think of another way. IE doesn't have great canvas support.
  38. A

    c# to log into a website and retreive data

    Those use programs use web services/APIs to fetch information instead of relying on screen scraping. They probably integrate with a single data provider (such as Yodlee), instead of directly with Citi, since they support hundreds of institutions.
Back
Top