hi all, i m facing some problem in find function. im fetching value fro find function.i have model.contian another model .
Can i give conditions in contain in cakephp
is it possiblehi
Im trying to record the contents of the iPhone screen to video , in the app I'm working on there able to create a little animation.
I'm just not sure how to encode the screen contents/animation to video?
The problem with using something like ffmpeg is that its LGPL which can lead to licensing issues, is there a better option?
Im making a windows mobile app and i was wondering how i go about doing background processing (ie. threading)
The built in .NET class doesnt seem to work properly, they just run the code in the same process, unless thats just the emulator.
Anyway, is there a special way to do this with windows mobile?
I'm writing an app code to do video recording on iPhone much like all the available apps :) ...
All im trying to do is capture screen from iPhone camera on 3g mobile and sending them to server .. but want some time efficient approach for sending to server and capturing image sequences ...
its like i want to send 15 images / second to server in one single go :P
i've set up server with FFMPEG and other codecs so their is no issue in generation of live video / stream ....
Help me ...special reward for best helping answer
Hello,
Im using wxGrid which has 3 columns. I would like cursor to be
differen (Hand) when mous is over cells from 2 and 3 column. How can I
do that ?
Thanks for help
In the case of an IM client. I have made 2 separate threads to handle sending packets (by std io) and receiving packets. The question is how to make these 2 threads run simultaneously so that I can keep prompting for input while at the same time be ready to receive packets at any time?
I have already tried setting a timer but the data is always lost receiving.
Im trying to sort any array with array_multisort and everything is working great. However, based on conditions in my script, I need to change the options. So What I have so far is this:
array_multisort(
$sort1,SORT_ASC,
$sort2,SORT_ASC,
$sort3,SORT_ASC,
$arraytosort
);
and what I would like to have is something like this:
$dynamicSort = "$sort1,SORT_ASC,$sort2,SORT_ASC,$sort3,SORT_ASC,";
array_multisort(
$dynamicSort,
$arraytosort
);
Any suggestions?
Hi
I am using two update panel..in nested way.. can i use like this and also
in my project im using clientscript.RegisterScript along with update panel , its not giving any error but , my pop up is not being displayed when i click one item on grid. the pop up is in update panel which is inside (nested)..
can anyone help ???
Thank you
Should I write the meta-tags in utf-8 format?
For example, is it okay to have double-quotes in the meta-keywords like this:
19" wheels
or special characters like the & sign... ?
Thanks
NOTE: Im using utf-8 encoding on all my pages!
I have a site im running through an iframe in a uiwebview for a native iphone app, the problem is that I guess since the iframe and the html page are on different servers the session will not keep its state. My thought is to store the session data to the database and then just use the stored session data. Is this possible? If so can anyone send me to a guide on how to set up stored sessions with zend framework, I can't seem to find a good example. thanks
Im using Doctrine and i dont quite understand this code here:
$this->hasColumn('id', 'integer', 8, array(
'type' => 'integer',
'length' => 8,
'fixed' => false,
));
what is the 2nd and 3rd argument in hasColumn for?
the 2nd is the type and the 3rd the length? if so, why do we specify them again in the array?
Hi,
Im writing a tool c# (and System.Net.Mail) which will be sending around 4000 emails fornigtly.
Can i simply loop through a list of 4000 email addresses and send emails one at a time?
or will this cause any potential problems?
Is there a better way to do this?
Thanks
I'm cocking this up and it should be really simple but the value of sortdate is none (note im only doing this because converting a string to a date in Python is a bugger).
DateToPass = str(self.request.get('startdate'))
mybreak.startdate = DateToPass
faf = DateToPass.split('-')
sortdate = str(faf[2] + faf[1] + faf[0])
That should work? but its just being stored as null though the datetopass is being stored fine.
I have a contact page on my site that seems to have been latched on to by a spammer.
The error itself is:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at System.Web.UI.ObjectStateFormatter.DeserializeIndexedString(SerializerBinaryReader reader, Byte token)
at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
Google turns up little.
I assume they are submitting an invalid viewstate, but the exception has no line number so im stumped.
Alright, im trying to understand this,
so a class is simply creating a template for an object.
class Bow
{
int arrows;
};
and an object is simply creating a specific item using the class template.
Bow::Bow(arrows)
{
arrows = 20;
}
also another question, public specifiers are used to make data members avaible in objects and private specifiers are used to make data memebers only avaialble inside the class?
Hi, im using datepicker v2. And I have a question. Is there a possibility to let the currentdate have a offset of 2 days. For example; today is it 14may. Can i let the datepicker start today with 16may? And that 14&15 aren't selectable?
Greetz from Belgium
I would like to learn Computer Graphics and be good for
my career but the only thing i know is python programming.
where should i start and go next? Im also studying from home.
Basically i have binary data, i dont mind if it's unreadable but im writing it to a file which is parsed and so it's importance newline characters are taken out.
I thought i had done the right thing when i converted to string....
byte[] b = (byte[])SubKey.GetValue(v[i]);
s = System.Text.ASCIIEncoding.ASCII.GetString(b);
and then removed the newlines
String t = s.replace("\n","")
but its not working ?
Using HttpClient 4.0, Im having an issue where the response I get from the ResponseHandler is only about half of what the actual page content should be (~61k bytes in the string vs ~125k in the page returned to a browser). I cant seem to find any place where there might be some sort of limit that would limit this. Any ideas?
hello friends
how can i download all CSS used in a site, for example im interested to www.MSN.ca and i want to know about style-sheets yous in MSN !
thanks
Hi,
im presently working with data in text files i need to use algorithm called principal component analysis so i have counted the words in text filw which occurred more than one time in text file for eg
relation occured times
help occured 6 times
between OCCURED 3 TIMES
Analysis occurred 4 times
component occured 5 times
present occurred 6 times
so by taking count of above distinct words i need to form matrix of m x n
in c# help me its bit urgent for me
Hi all, i'm using
putClientProperty("terminateEditOnFocusLost", Boolean);
to make jtable end editing and clear current selected rows when it lose focus or when simply click over an other GUI component.
This is very useful, but with "terminateEditOnFocusLost" there are some strange behaviours if it is used with editCellAt and changeSelection.
There are also some undesiderable TableModelEvents fired for some fake table updates.
So, im looking for an hack to simulate "terminateEditOnFocusLost without using it, is this possibile?
Thanks all.
what im trying to archive is to load some images from external servers flickr, but i want to re-size the image before rendering, i want to know if there is any way to load that external image check the size and if its too big then with some c# code do the resizing and then send it to the client?
Thx in advance.
hello, im trying to delete a foreign key with the following syntax (5.0.45-community-nt):
alter table [table] drop foreign key [fk_name]
but I'm getting the folling error:
The table '#sql-5f8_9c' is full – 99543 ms
any ideas?
thanks!
hi, im currently learning stacks in java and have a quick question. what will the following code display if the stack is empty? my guess would be "true"?
System.out.println(st.isEmpty());