Hey,
I have a DropDownList, and when SelectedIndex is changed any event is triggered.
I'm putting on it for exemple msgbox, but it's not working.
What's the problem ?
Hey I have this kinda structure in my ini file I want to be able parse a variable inside a variable value
site.url = "www.example.com"
site.url.images = site.url "/images"
However, site.url is not parsed inside the site.url.images.
I am using zend config ini to parse my ini files. Is there a solution beside adding this feature myself?
Hey all,
I use MySQLdb a lot when dealing with my webserver. I often find myself repeating the lines:
row = cursor.fetchone()
while row:
do_processing(row)
row = cursor.fetchone()
Somehow this strikes me as somewhat un-pythonic. Is there a better, one-line way to accomplish the same thing, along the lines of inline assignment in C:
while (row = do_fetch()) {
do_processing(row);
}
I've tried figuring out the syntax using list comprehensions, but I can't seem to figure it out. Any recommendations?
Thanks,
Erik
Hey
This is a problem, that has annoyed me for a long time. If I have a textarea with long text in it, overflow doesn't work, even if content goes over the visible area. How to fix this?
Martti Laine
Hey folks,i am developing a RTP client on an Android device which can play streaming videos from a server.
I am confused regarding how should i start about?
i am thinking of developing a web app, using HTML,CSS and Javascript, which can later be wrapped in Android.is this approach correct? does javascript support real time media player?
please guide me, i am a fresher and completely clueless..:(
Hey guys,
I'm wondering if anyone has been able to Drag some item (let's say an image with an id) in silverlight and drop it in a listbox in WPF.
If you have please help ;)
Thanks,
S
hey guys,
i am trying to convert a date from yyyy-mm-dd to dd-mm-yyyy
however i dont know how the date function requires a timestamp and i cant get a timestamp form this string...
anyone an idea?
thanks
Matthy
Hey,
I created a class ServerModel for my app and in it I want to make a connection to the Sqlite database I have on the device, but anytime I go to check my NSManagedObjectContext it is returning null.
While the same work well in my other class RootViewController
In my appdelegate I am doing
rootViewController.managedObjectContext = self.managedObjectContext;
serverModel.managedObjectContext = self.managedObjectContext;
Hey guys,
I'm using http://ar.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#M000086 to validate records.
My form is currently a remote form, using RJS. My question, is how to I return the :message (for errors) to the page through ajax (and I assume the create.rjs file)?
Best,
Elliot
Hey, I've a TimeZoneInfo object and from this one I want to create a TIME_ZONE_INFO struct.
Bias, StandardDate and Daylightdate are pretty easy to obtain. However, I'm having problems getting standardbias and daylightbias. So the question is, How can I get the standardbias from a TimeZOneInfo object and how can I get the same thing for daylightbias (there is a AdjustmentRule.DaylightDelta, but as you can see I need the offset not the delta).
Thanks.
Hey guys,
I'm almost finished developing my large project, however I would love it if I could make it so instead of having the users profile pages at: http://mydomain.com/profile/username/USERNAME
(i'm currently using .htaccess to rewrite the GET data into forward slashes and profile(.php) being read as just 'profile')
But it would be some much better if I could do it so that it's like http://www.mydomain.com/USERNAME (preferred) or http://www.USERNAME.mydomain.com
Any ideas or resources?
Thanks,
Stefan
Hey all! I currently have a preg_match to detect http:// and www. etc..... but I want to detect domain.com or domain.co.uk etc etc...
Sorry... to clarify: i'm detecting in a string.
Any ideas i need to scratch up on my regex!
Thanks,
Stefan
Hey guys,
Is it possible to limit an integer in the NSUserDefaults?
Off course you can limit it within your app but I am thinking of the TextFields in Settings.
Would be great to get some hints.
Thanks a lot.
Hey,
You probably already know about this
I guess it's a programming question.
I've been trying to find with google the info, but the amount of results using "open stackoverflow" pointing to questions here in stackoverflow is making the search a bit hard. So what better place to ask than here.
Where can i find information/documentation on how to install/use/extend the SO q&a system?
I want to create a clone for a local community from my city.
Hey, how can I edit the text in a windows form element if the code that is editing the text 'belongs' to a seperate thread from the one that contains the windows form? I get the exception:
Cross-thread operation not valid: Control 'textBox1' accessed from a thread other than the thread it was created on.
Thank you.
Hey,
I have just started to study computer sciences at the university where they teach us programming in scheme.
Since i have learned c++ for the last 6 years, scheme appears a little odd to me. But they tell me you can write any program you can write in C or Java with it.
Is anybody really using this language?
Hey guys IM Looking at Implementing MVVM in Silverlight. Kind of new to Silverlight and I'm Definately new to MVVM Pattern.
I get it all But I want A set of small Prism VB.Net MVVM exmaples if that makes sense.
Anyone have anything
Hey all-
I'd like to add an index to a table that already contains data. I know that there a few records currently in the table that are not unique with this new index. Clearly, MySQL won't let me add the index until all of them are.
I need a query to identify the rows which currently have the same index. I can then delete or modify these rows as necessary. The new index contains 6 fields.
Thanks-
Jonathan
Hey there,
I never seem to get this right. I've got a method that returns a mutable array. What is the proper way to return the array and avoid potential memory leaks?
If I plan to store the results locally inside another view controller, does that affect the way the array should be returned?
Lastly, what if it's just an non-mutable array? Does that require a different technique?
thanks,
Howie
Hey, Basically i have an issues (in IE6) where the last three characters of a line of text in a div are being repeated further down the page even though they are only in the HTML once.
http://www.disturbmedia.com/jason/test/
please see the numbers in black, its always the last three characters that get repeated, so strange.
I have never seen this before, its only in IE6? Anyone have any info?!
Am super confused as to how this is happening.
Thanks
Jason
Hey Everyone,
I am looking for a good tutorial or sample code, that would show how to crop an image taking from iphone camera
something in lines of
http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/
but you would control the corners with your fingers
any tip would be greatly appericated, as i am new to iphone dev.
Thanks,
Amir
Hey all,
I have an ArrayAdapter powering a ListView. I would like to change the data behind the ArrayAdapter and update the ListView's. Sounds like notifyDataSetChanged(); would be exactly what I am looking for, but it updates the entire ListView, and I would prefer to update on a row-by-row basis.
Is there a way to do this with ArrayAdapter, or do I need to manage my data some other way if I want this functionality?
Hey,
I'm a newbie to iPhone dev...
I want a boolean Variable which switches between YES and NO when I click on a UIButton.
Really easy I think ?! But I weren't able to find anything. :(
Thx :)
Sebastian
Hey,
I want to enable the user to select a video file from the on-device iPod library (so that I can play it in my own app). Is that possible?
I was thinking on using MPMediaPickerController but I am not sure if it is able to select video files or just audio files.
Any help will be greatly appreciated.
Thanks,