would anybody care to comment on this piece of code?
It allows you to do "prev" or "next" once in the detail view of a uiviewcontroller.
So, if you have 4 uiviewcontrollers, you can navigate from #3 to #2 with previous or #3 to #4 with next. It works, but, my question is, is this the best way to implement this? or, is there a better way.
http://github.com/joop23/UIViewController
What's the best way to determine if a given SQL Server table is readonly, either because of account permissions or the database being marked as read-only?
Hi,
This is a hypothetical question. If one would develop an iPhone/iPad (Universal) odds application, whould apple allow this to the appstore?
This application would not let you bet on odds directly, but would collect odds from different odds sites and show them to the user. The user can launch these sites and make their bets there (not using the application).
Any thought on Apple's "feelings" towards that idea?
Best regards,
Paul Peelen
I'm trying to pass a cookie to the wmv player in Firefox.
What's the best way to do so? Can cookies be passed via ? Should I be using the URL?
Any help appreciated
I have 2 samples that effectively do the same thing --
Sample 1:
command.Parameters.Add(ParamFoo, SqlDbType.Int)
command.Parameters(ParamFoo).Value = fooVal
Sample 2:
command.Parameters.AddWithValue(ParamBar, barVal)
Which sample would be recommended? I know that the second sample is making some conversions. Wouldn't it be best to not require conversions and go with the first sample?
I am trying to use Jquery to display dates in a dropdown with interval of half month...
so the first value would be the coming month's 1st, then second will be the coming month's 15th and third value would be next to next month's first and so on...
If today date is less than 15th then the first value would be the 15th of current month.
What will be the best or a cleaner way to do this... (want to display in the dropdown)
Thanks
NoSQL has been getting a lot of attention in the industry recently. Really interested in peoples thoughts on the best use-cases for its use over relational database storage. What should trigger a developer into thinking that particular datasets are more suited to a NoSQL solution like Redis/CouchDB/MongoDB/Cassandra etc. Would also be really interested to hear what people have ported from relational db's to NoSQL and what improvements they have seen.
I'm still trying to determine an answer to my question from a few minutes ago, "Should client-server code be written in one 'project' or two?" and I think it would benefit me to see how other projects organize their code (and hopefully deduce the pros and cons of why they chose to do it that way).
What are some open source client-server projects which might be best to look at and mimic their code organization style?
Java is preferred but not required.
I'm in the beginning stages of writing (and learning as I go) a Python database app using SQLite.
I have the db structure planned on paper, and I have the queries I'll need in mind, but before I start coding I want to fully test the db design so I know it's right and ready.
What's the best free software to use to test the db structure quickest?
I have two points in 3D:
(xa,ya,za)
(xb,yb,zb)
And I want to calculate the distance:
dist = sqrt((xa-xb)^2 + (ya-yb)^2 + (za-zb)^2)
What's the best way to do this with Numpy, or with Python in general? I have:
a = numpy.array((xa,ya,za))
b = numpy.array((xb,yb,zb))
I have dotnetopenauth working fine as a provider except when a user clicks the submit button multible times. Then the following error occurs:
Throw New InvalidOperationException("There's no pending authentication request!")
What is the best way to prevent this happening?
I am new to programming and only know html,css,PHP and would like to start learning another new language. I am focused on web development and would just like to get your opinion on ASP.net and python.
Which language would serve me best in making sites as to general programming? ASP.NET or django python?
I know Python is "easy to learn" and similar to PHP, but ASP.net is also a good language.
Yes, i have Myopia and that's really annoying and make me blame myself why i've choosen this field. And i think a lot of people like me here who should stay a maximum of 12inches to see the laptop screen clearly :'(
What did you choose/Or the best choice in order to correct your short-sight?
Glasses
Contacts
Overnight Contacts
Lasik
I'm really confused because some people say glasses are decreasing the sight more, other say Lasik is just a luck, others prefer overnight contacts which you sleep with'em.
I'm going to create widget which needs to update its content every minute (it shows time-related data).
However, there is no need to update widget if it is currently invisible, which means:
screen is turned off
another app is running
widget is placed on another (invisible) home screen tab
What is the best way to update only visible widget every minute - without waking up device nor doing unnecessary computations? After widget becomes visible, small lag before update is acceptable.
Hi,
I'm creating an interactive e-book for the iPad. This book will contain multiple pages that will consist of a lot of animations (frame and motion animations), transitions,... I was wondering what my development options are, should I use OpenGL, Quartz,...?
I've use UIImageView.animationImages before and found that it had really bad performance. What's the best way to draw frame based animations?
Does anybody have some good pointers to resources on this?
thanks in advance,
Thomas
Hi everyone,
I'm trying to develop web service client by using VC++6.0 and I need to create digital signature base on pkcs12 standard. Can anyone tell me the way to create and verify digital signature. Thank you very much
Best regards.
Tuan Tu
I need to measure the length of time requests are taking to be processed on an ASMX ASP.NET web service. What is the best approach for this? Is there an support in ASP.NET that "natively" supports this without me having to write code? Thanks.
I'm looking for a flex 4 compatible way of adding a sprite generated with graphics library to a skin.
If I generate the sprite like this:
private function drawShape():void {
theshape = new Sprite();
theshape.graphics.beginFill(0x666666);
theshape.graphics.drawCircle(3,5,10);
theshape.graphics.endFill();
}
What would be the best way to add it such that I can control its presence by state
I am writing a simple multithreaded socketserver and I am wondering how best to handle incoming connections:
create a new thread for each new connection. The number of concurrent threads would be limited and waiting connections limited by specifying a backlog
add all incoming connections into a queue and have a pool of worker threads that process the queue
I am inclined to go for option 2 because I really don't want to refuse any connections, even under high loads, but I am wondering if there are any considerations I should be aware of with accepting effectively unlimited connections?
I would like to know, if you people out there could help me out, regarding the best practices or the a better way for creating a flash website... Actually I would like to know whether we should load the xml first and then the swf and other components or the other way round ?
I am bit confused, even if anybody could refer some book to dig upon the steps or most common practices regarding the development... it would of great help...
Thanks
shane amon
hi
when I append jquery datepicker to my asp textbox, by clicking on it, my browser auto shows the history of the dates i typed in a dropdownlist. Can I prevent this?
Set textbox to readonly isn't a good idea because asp.net doesn't read the values from read only fields in code behind.
any other ideas?
thank you and best regards.
marc
I need to:
- start / stop sounds with lengths between 0.1 and 10 seconds
- change the playback volume
I want to / would like to / would be nice to have to:
- change the playback speed
- change the playback pitch / frequency
- pause an sound and resume playing it later
- play a sound backwards
Is Finch my best friend here?