hello.
In meta-programming number of classes grows quite fast.
Is maximum number of classes modern compiler allows, for example g++, something to be concerned about?
Thank you
Hello,
I'm hoping somebody knows the answer :).
Within wordpress in the users section I would like to add a new row which will data pulled in from the Register Plus plugin.
Where would I need to create a new row?
My Example:
Username Name E-mail Role **Website** Posts
Admin Admin [email protected] Administrator google.com 2
Thanks.
Hello all
I am just a beginner in programing i wish covert some code from C# to F#,
I have encotered this code: "float[] v1=new float[10]"
I need to use this pointer to pass to the function:
"ComputeBuffer bufV1 = new ComputeBuffer(Context, ComputeMemoryFlags.ReadWrite | ComputeMemoryFlags.UseHostPointer, v1);"
If i creat an array in F# like this: "let v1 = [| 1.0..10.0 |]"
and call now the funaction like this:
"let bufV1 = new ComputeBuffer(Context, ComputeMemoryFlags.ReadWrite ||| ComputeMemoryFlags.UseHostPointer, v1)"
Is it an error?? How do i pass a pointer??
Hello everyone
I have been coding procedural php for a while and I feel I got a pretty good hang of it.
I feel like learning something new. Any ideas on what is good/hot to know?
I have read some about zend mvc and it seems interesting, but im not sure..
I feel like procedural php is so unorganized and hard to debug when the project grows big.
help me out thanks
Hello,
old problem now getting new. Anyone has a good idea for storing currency values in a sharepoint list? Problem is - there is a currency field, but it is not multi-currency enabled.
I could obviously store the value in two fields (currency lookup from a list, value in second field), but I take it as wondering whether there is a more viable approach that.
hello all
i have a problem i have some dynamic button and i want to put some style on it
like my other button(Xaml button).how can i fetch the xaml code using c#?
Hello everyone,
I'm trying to pass an SQL query string from a Java Applet to Servlet as a parameter.
Problem is that in Applet I have something say: sql=select * from p where(+p=1)
The resulting sql parameter in the Servlet is sql=select * from p where(+p=1).
So anyone knows how to prevent the browser from removing the + character from parameters?
Is there a escape character?
Thank you.
Hello,
Our current web application url reveals the class package structure to the end user. This is because in web.xml the servlet mapping tag is as follows
Servlet_ name
/servlet/com.xxx.yyy.ClassName
Is there any way by which i can hide the package structure. i.e com.xxx.yyy.ClassName to just ClassName?
Thanks
Sameer
hello everybody!
can anyone tell me how to create 2 different thumbnails of same images with different sizes and location in codeigniter. I have created a upload function and another thumbnail generation function, it works fine but can't sort out how to create 2 different thumbnail at accordingly at once. any help will be appreciated.
Hello,
I want to run bmail from the command prompt to send a mail.I am using exchange sever 2003 as as the mail server,when ever i enter the script it tells me that socket closed.Plz can any one help..
Hello everybody,
I've noticed that layout_alignBaseline of TextVew control doesn't work with Spinner control.
I'm trying to place a text to the left of spinner, but it goes to the top of the parent control.
Is it a bug or I do something wrong. The same technique works fine with EditText controls.
Environment:
Windows 2003
JBoss 5.1
Code:
@WebService
@Stateless
@SOAPBinding(style = Style.RPC)
public class MyWebService {
public String sayHello() {
return "Hello";
}
}
wsdl is deployed in:
http://localhost:8080/ear-project-ejb-project/MyWebService?wsdl
I would like to define another path for this webservice, something like:
http://localhost:8080/MyApplication/MyWebService?wsdl
How to configure that in JBoss 5.1? Is there some kind of configuration that will work in any JEE server?
Thanks
Hello in my database date / time are stored in this format
2010-06-01T18:20:25+0000
I'd like to echo that out to time passed since that date / time
e.g.
2 minutes ago or 2 days ago
is this possible?
Hello,
I need to know the current keyboard type. I was setting an instance variable in
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
However, testing has shown that this is not always reliable because of the asynchronous nature of notifications.
What I am wondering is if anyone can tell me how to determine the current keyboard type within
a notification?
- (void)keyboardDidShow:(NSNotification *) {
// Need way to determine keyboard type here
}
Thanks.
Hello,
I have noticed that my application that is running on Tomcat 5 starts with 1gig of memory and as soon as it starts receiving requests from client, the memory starts dropping until it is down to 100MBs and troubles start from there. I am looking at /manager/status page of tomcat under JVM section where "Free Memory", "Total Memory", "Max Memory" is listed.
Is this an indicator of memory leak? Memory does not seem to be freed-up automatically even if there are no requests coming from client machines.
Hello,
I have a xml file with 100 records, but I want it to limit it to just 5 records
for ($i=0;$i<=5;$i++) {
foreach($xml-entry as $result){
if ($result->updated == $result->published) {
}
}
}
When I put in the above code, it display one record 5 times.
Thanks
Jean
Hello,
How can I share html/js widget? Javascript, iframe or what way is good?
Now I have html page, css file and js file. I want to share this widget with people so they can attach it to their blogs, websites etc.
I use this in FMBL = echo "<p>Hello, <fb:name uid=\"$user_id\" useyou=\"false\" />!</p>";
But it dont work on the iFrame option. What i need to do in order to see the user name in a iFrame? Thanks
Hello,
I have a huge controller in codeigniter, with many functions. I want to limit access to certain functions. How should I proceed?
And can I call the functions using cron daemon???
Hello,
How can I read from mysql and write the same in http output stream.
So its like if send a request http://www.xyz.com/download/A
it should return me data for A from mysql through php.
The data is plain text.
Thanks
PS: I am new to php.
Hello,
Is possible to change hibernate.jdbc.batch_size programmatically? I understand
hibernate.jdbc.batch_size is a application level parameter, wanted to know if i can use it
specifically for certain HQL inserts and not others. I would change the code only for those HQL inserts
The big picture is that i need to introduce batch inserts to make the web application performant in some scenarios, but i do not want to jeopardize the normal inserts which work right now.
Any pointers would help
thanks
Sameer
Hi i have 2 div
<div style="width:50px;height:100px;overflow:auto" id="outer">
<div class="kind_div">hello</div>
</div>
i tried the draggable function of jquery ui:
$("div.kind_div").draggable({ cursor: 'crosshair', containment: 'document', appendTo: 'body' });
i can drag the kind_div but it remains into the outer div
I want drag it in all body of my page
how can i do?
thanks
function ram(){
document.write("Hello World!")
alert("ok");
}
India
Autralia
England
Ameriaca
Pakistan
In this above code the event will not fire for combo box ..i try by using focus and click event....i can i do this....and i want 1 more thing if i select combo box value as India,i want to create a combo box with state(elements are TN,DL..) updation...
Hello.
I'm tuning documentation generator for internal purpose that generates HTML documentation for C++ classes and methods. Is it any example available of good HTML documentation design? MSDN ( like this ) looks kinda outdated, same is doxygen / javadoc / sphinx results. Anyone ever see an documentation that looks REALLY good?