Hey all,
About my question, I'm asking a theoretical question here about Base case or the halting case in a recursive method, what's its standards?
I mean, is it standard not to have body in it, just a return statement?
Is it always like the following:
If(input operation value)
return sth;
Do you have different thoughts about it??
Hey, I'm a little confused about a simple jQuery statement...
I want the operation to proceed only if A and B are true. If A isn't true, stop. If A and B are true, then continue.
Thanks!
Hey
I have a data layer which is returning lists of classes containing data. I want to display this data in my form in WPF. The data is just properties on the class such as Class.ID, Class.Name, Class.Description (for the sake of example)
How can i create a custom control or template an existing control so that it can be given one of these classes and display its data in a data-bound fashion.
Thanks :)
Hey guys,
If I have an array structured like this:
$array[index]['first_name']
$array[index]['last_name']
Is there an easy way to implode it into something like first_name last_name,first_name last_name, etc. for all the indices?
Implode didn't seem to do what I wanted for something like this. Currently I'm just looping over the whole thing, but it's a SIGNIFICANT bottleneck.
Hey, here's a dumb question: how can I set an object property given its name in a string. I have a dictionary being passed to me and I wish to transfer its values into namesake properties using code like this:
for entry in src_dict:
if entry.startswith('can_'):
tgt_obj[entry] = src_dict_profile[entry]
I'm still a bit of a noob with Python so would appreciate some help.
- dave.
Hey, I am looking for PHP login script that allows a user to sign in, confirm his email and save his login/password if he wants. Is there something free and simple to support and modify?
Thank you.
Michael
Hey guys,
I'm just getting started with c++ development and I would like to use emacs to write the code and then compile and run it from within emacs using the visual studio 6 compiler. I have already googled around a bit but just can't seem to find an explanation of how this is done.
Any pointers?
Thanks for your help,
joerg
Hey guys,
I have a load of signatures I wish to compare (all in ISF - ink serialized format).
Does anyone know how to compare these signatures?
Thanks in advance
For example:
<v:roundrect style="display:block;width:100px;height:100px;" fillcolor="#eee">
Hi
<v:roundrect style="display:block;width:50px;height:50px;" fillcolor="#c00">
Hey
</v:roundrect>
</v:roundrect>
I can't see the background of the inner roundrect when I use this markup.
Any ideas?
hey in my application i use web browser component on a windows form and display any website that user types in say "google.com"
but that website does not fit in properly with the screen size
how can i do that through code?
i cant find any property of windows mobile...
can somebody help!
Hey everyone.
Let's say I have a bunch of DIVs with a class of "apple", and another bunch of DIVs with a lass of "orange".
All these DIVs have various positions, but I want to use a jQuery function to assign them new positions relative to their parent containers live on the page without any reloading.
So, for example, how do I set all DIVs with the class of "apple" to a "top" value of "200px" relative to the parent container without reloading the page?
Thanks!
Hey,
I was wondering, what was a good cross-platform utility for doing audio recording/ playback/ seeking in C++? I was thinking going the route of ALUT (OpenAL), but is there a better way? If not, do you guys know of any good tutorials/sample code for ALUT?
Hey,
I'm new in the developer business, and I'm interested in the way, how other programmers start to develop, design an application.
What are the factors, I should keep when I sit down and start thinking about the app? How do you do it?
I'm really interested, because I think the design, and the main thoughts of an application affect the future of it.
Hey
Let's say I have String Table that have a few strings (like mother, father, son) and now in this String Table I want to find every word that contains string "th" for example.
How should I do it? Method string.equals(string) won't help here.
Hey,
I need to implement a ruby on rails project using XML-RPC. I have no idea where to get started but I've used ruby on rails before (just never with XML-RPC). Can someone help me out on get started with this?
Hey all,
Simply my question is about defining the type of an instance in run time, and this type is user-defined.
Something which looks like this:
Type instance1;
In run time, the user is going to choose for example "int", then there 'll be,
int instance1;
Any suggestions?? is downCasting efficient here?
Hey there
i wanted to know, is it possible let say windows wants to collect my Flash serial number for verification, and i want to over ride it and send fake info to bypass the checking step
if yes and there is a guide please inform me
Hey guys,
I'd like to know if there is a way in latex to show the following:
Example 1: problem statement here
Solution: solution here
and wrap that in a box so that it will be noticeable.
Seems like a common enough problem that there should be ready made solutions
If there are any suggestions it would be much appreciated!
Hey All. Atm im working with native API calls and i have to get RtlInitUnicodeString to work.
The way i use:
const WCHAR wcMutex[] = L"String1";
UNICODE_STRING unicodeMutexBuffer;
RtlInitUnicodeString(&unicodeMutexBuffer,wcMutex);
now my problem the project doesnt compile , i get this error:
Error argument of type "UNICODE_STRING*" is incompatible with type of "PUNICODE_STRING"
but in my old Driver kit , i used same way to initialize the unicode string struct
hey, i want to format a date in mysql using
DATE_FORMAT(tblnews.datead, '%M %e, %Y, %l:%i%p')
i cant seem to get the quotes right , so i keep getting errors. how would you put this in a query?
Hey All,
I know that this is not the right forum to ask this question but I thought I would ask here first...
I need to make a button where when you click it you are asked to provide your email and then click a "send" button... When you do it sends a default email to the email provided... And I would like to use this on my web-site so if it could be in HTML...
ANY HELP IS APPRECIATED, THANKS
-Gibson of GBSoftware and Island Games Limited-
Hey folks,
does serialization in Java always have to shrink the memory that is used to hold an object structure? Or is it likely that serialization will have higher costs?
In other words: Is serialization a tool to shrink the memory footprint of object structures in Java?
Hey,
In SICP 1.2.1 there is a function that makes a rational number, as follow:
(define (make-rat n d)
(let ((g (gcd n d)))
(cons (/ n g) (/ d g))))
I'm just curious how you can implement the same thing using lambda instead of let, without calling GCD twice. I couldn't figure it out myself.
hey guys, i just installed xampp and i downloaded silverstripe, which is a cms, but i cannot figure out how to install it. i am using jolicloud on a netbook.