Hi,
When I use file functions in PHP, I check for EOF. I wonder if EOF actually exist in a file. When I create an empty text file, it displays 0KB. How does EOF exist in a file with 0KB?
Hi,
I have here a view with an image and the text view (with finite frame size) .
I've already implemented the textview keyboard notification but the problem is that when inputting in the textview it still behind the keyboard (the text is not visible). It seems this problem occur when I have an Image view as background.
Pls advise me how to fix this.
Here's my sample code:
http://snipplr.com/view/35758/textview-input-is-behind-the-keyboard/
Thanks
Hi,
Guys, how to route inbound message between different endpoints.
I need to expose the single endpoint that could accept different credentials. I guess, solve this by intercept the incoming message and based on message header then do forward message to appropriate endpoint.
Thanks.
Hi,
I got a model with 2 fields: latitude and longitude. Right now they're 2 CharFields, but I want to make a custom widget to set it in admin - was thinking about displaying Google Maps, then getting the coordinates of the marker.
But can I have 1 widget (a single map) to set 2 different fields?
Hi all,
I have a similar problem as a previously solved problem of mine, except this time solution doesn't seem to work:
http://stackoverflow.com/questions/2991365/how-to-auto-insert-the-current-user-when-creating-an-object-in-django-admin
Previously i used to override the save_model to stamp the user submitting the article. Now i need to do the same for comments, it doesn't seem to work anymore.
Anyone have any ideas?
Thanks a lot!
Jason
Hi,
I'm wondering what the difference is if any between SQL Express and SQL Plus. I know SQL Plus is used with Oracle but not sure if SQL Plus is a modification of SQL Express or a totally different installation.
Thanks
Hi,
Can anyone please tell me how I can free objects in C#?
For example, I have an object:
Object obj1 = new Object();
//Some code using obj1
//Here I would like to free obj1, after it is no longer required and also more importantly its scope is the full run time of the program.
Thanks for all your help
Hi,
I need to build some kind of listener,
now this listener suppose to run activies of diffrentz appz
,
i want this listener to be as a service that will run the appropriate activity,
should i make it as a remote service or local service(for this i need some app to hold it - make sense?) what will fit in?
thanks,
ray.
Hi All,
I need to implement the lazy loading concept for the images in my tableview, so that the user will be provided with the textual data initially and later the images.
How can i implement this in to my app.. help needed.. please
Thanks in advance
Shibin
Hi,
After reading the topic "Is MD5 really that bad", I was thinking about a better solution for generating hashes. Are there better solutions like Adler, CRC32 or SHA1? Or are they even broken?
HI,
I have a string:
NEW ALPINESTAR?S SMX PLUS WHITE
MOTORCYCLE BOOTS! 44/9.5$349.95 Time
Left 1h 2m NEW AGV BLADE FLAT MATTE
WHITE LARGE/LG HELMET$75.53Time Left
1h 2m
I want result in array like this:
Productname
Price time NEW ALPINESTAR?S SMX
PLUS WHITE MOTORCYCLE BOOTS! 44/9.5
$349.95 Time Left 1h 2m
Hi, everybody.I am a senior student in CS.I have not much idea about what to do with my senior project.I think any idea will be very helpful to me.I'm very much interested in algorithms and the math behind them.Thanks for any project idea with this subject.
Hi,
Question related to PHP memory-handling from someone not yet very experienced in PHP:
If I set a PHP session variable of a particular name, and then set a session variable of the exact same name elsewhere (during the same session), is the original variable over-written, or does junk accumulate in the session?
In other words, should I be destroying a previous session variable before creating a new one of the same name?
Thank you.
Hi all,
Quick question: How do I specify the number of characters in a split window? C-x-3 Splits my window into two windows evenly, but a subsequent split will split one of the windows in half. I'd like 3 equal sized windows. The documentation says that I should be able to specify the number of characters for the left buffer as a parameter, but I cant seem to get that to work. Any ideas for syntax?
Thanks.
Hi, I got it right to create a SQL Server CE database table using the code below:
string connectionString = "DataSource=\"test.sdf\"; Password=\"mypassword\"";
SqlCeEngine en = new SqlCeEngine(connectionString);
en.CreateDatabase();
But how do I create my database tables and insert data? I've got the SQL created statements stored in the application Resource location.
Hi,
I am using 32 bit openSUSE OS, and I am using a cross compiler to build 64 bit application( it does not support building 32 apps) as our software will be deployed on a machine which is 64 bit OS. As testing on target is not always possible, is there anyway to run this applications on my 32 bit OS.
Hi,
For a .NET Developer applying tgo a job requiring 1 year's experience, what technical tasks would you assign such a developer? And what not?
Likewise, for a .NET Developer applying to a job requiring 2-3 years experience, what would you assign to this developer, technically?
Also, how would the expectations be different?
Thanks
hi.
I am learning C++ exceptions and I would like some clarification of the scenario:
T function() throws(std::exception);
...
T t = value;
try { t = function(); }
catch (...) {}
if the exception is thrown, what is the state of variable t?
unchanged or undefined?
Hi, I've looked around, but don't see this question - maybe its too easy, but I don't have it.
If I have file containing color values like:
255,
65535,
65280 ( I think this is green)
is there a way to either:
convert these to a System.Drawing.Color type or....better yet..
have .NET accept them as is to represent the color?
thanks,
Hi,
how do I set the value of a field element after a form has been submitted but has failed validation? e.g.
if form.is_valid():
form.save()
else:
form.data['my_field'] = 'some different data'
I don't really want to put it in the view though and would rather have it as part of the form class.
Thanks
Hi I'm out of setting up an TFS server and I want to set some check-in rules.
I for example want to be able to set rules about method lenght, complexity and so on, I found NDepend very convenient can I somehow use NDepend to run some rules on the files trying to check in.
I also want to be able to bypass the rules sometimes.
Are there any blogs or discussions around this, if it wont work with NDepend are there any other tools or ways I can use?
Hi
I've tried to setup a controller for a document in a document based application, and i'm not sure what is the correct for doing that.
In MyDocument.xib I have set the File's Owner as MyDocument class and the I connected the outlets and actions to it but it doesn't seem to work
Could anybody give me a hand on this?
Cheers
Hi,
I am using a forever frame (COMET streaming technique) and in IE6 whenever a user clicks on a link (to even just basic JavaScript method) the connection is immediately dropped and has to be manually refreshed.
Has anyone come across a similar issue and / or know how to address it?
hi programmers
i'm trying to send a bitmap screenshot over network , so i need to compress it before sending it, so if anyone have a librery or methode just tell me , thanx a lot