Hello,
Maybe someone know how to write your own framework, best practices, maybe any books or samples. I think that writing own framework gives one better understanding of how it all works, thanks for help
Hi,
I am using the below js code in order to change the class when a link is clicked.
document.getElementById("gifts").setAttribute("class", "gkvSprite selected");
This is not working in IE but it does in FF and Chrome
Then I changed the code to :
document.getElementById("gifts").setAttribute("className", "gkvSprite selected");
Then it worked in IE stopped working in FF and Chrome.
Could someone please help me out here?
Thanks in Advance
Alloi
I am looking at a practice test that doesn't have explanations about the correct answers. The question I'm confused about basically asks why the following SQL statement can never work:
SELECT oi.order_id, product_jd, order_date
FROM order_items oi JOIN orders o
USING(order_id);
The answer it gave was: "The statement would not execute because the column part of the USING clause cannot have a qualifier in the SELECT list"
Can someone elaborate on this? I am pretty stumped.
How do i read in char type by users if they are a- , b+ , o+ ? I don't seem to have problem reading in char like a , b , c or d. i am using read(X) . Can someone help me out with this ? Thanks in advance.
As I understand it, Mach-O should be part of the Darwin open source packages. Could someone please help me locate the loader? I've no idea where it is and where to download that code from.
Any help would be greatly appreciated!
I have a website that looks fine in my resolution and even in the more common 1024 x 768. Yet, in someone else's browser in 1024 x 768, it's too wide and the website doesn't even center correctly.
Is there a way to have a proper width layout that doesn't change when the resolution is changed?
This is kind of a philosophical question.
Basically people often ask if I am logging - and since I am not a full time programmer, but someone who programs often but is actually more of a requirements analyst, I don't know all the best practices.
I use Java a lot so I often do things like
System.out.println()
What's the difference in theory between the two? Ultimately aren't I also logging? Esp, if I prefix my comments with something like "ERROR:" or "WARN:" ?
Hello,
So not to reinvent the wheel, I would like to know what has already been done about generating random statements from a context-free language (like those produced by yacc, etc.). These grammars are primarily for parsing, but maybe someone has done some generation for testing the parsers?
Thanks
Hi, Python newbie here.
I have a list L = [a, b, c] and I want to generate a list of tuples :
[(a,a), (a,b), (a,c), (b,a), (b,b), (b,c)...]
I tried doing L * L but it didn't work. Can someone tell me how to get this in python.
I started doing when I reached to pull the XML data, both simple ways and XML data category overview example
Someone who can help me here? possible. with links to some simple ways to do it.
I have a problem with reading empty string in c.I want to read string from the following -
1.ass
2.ball
3.(empty)
4.cat
but when i use gets() it does not treat (empty) as string[3].it read 'cat' as string[3].So how
can i solve this problem.Which thing should i use?? plz someone help.
Hi all
I am very confused about the const version and mutable version member function like below::
value_type& top() { return this.item }
const value_type& top() const { return this.item }
What is the different these two functions? In what situation they would be used? Could someone give me some explanation about it?
Best Regards,
I see how to mount an SD card in the emulator, but I'm not sure how you move files back and forth between the userdata image and the SD card image. Can someone tell me how to do this?
Hi,
I've taken over a legacy application and I have the exe created. If I can configure the BDE then in theory it should be possible to run this. Someone indicated that Delphi needs to be installed in order for the app to run. I'm unsure of that - it doesn't quite make sense to me as there is an exe file. Any input from Delphi experts would be appreciated.
Roddy
Hi all. I have an ecommerce website and I am currently accepting payments from visa, master card and all the other major cards. However, one issue I am having is accepting payment from customers using local debit cards. Say someone from China doesn't have a major credit and he wants to use his local debit card, I want be able to accept payment from him as long as its legal. How do I go about this? Thanks.
I get several results with the same outputs.
I want to get jack,jane only one time, but I get it two times.
How can I avoid this? I tried setof but I couldn't get it done. Please can someone help me on this?
I get this very strange error message when trying to use Rhino.Commons with my asp.net mvc application.
Error 3 'Rhino.Commons.Repository<Web.Models.Poll>.FindAll()' is not supported by the language C:\frank\dev\SampleApplication\Web\Models\Repositories\IPollRepository.cs 15 20 Web
Someone got any experience with this error?
Can someone help me with url hash?
I use this code to get the current url and then send the data as json, but the hash part seems to be stripped then.
i tryed to use href and hash and i always get the default.aspx but no hash part like #anchor.
var location = String(window.location);
var title = String(document.title);
var text = { 'url': location, 'title': title };
I'v got some problem to understand the difference between Logarithmic(Lcc) and Uniform(Ucc) cost criteria and also how to use it in calculations.
Could someone please explain the difference between the two and perhaps show how to calculate the complexity for a problem like A+B*C
(Yes this is part of an assignment =) )
Thx for any help!
/Marthin
Can someone point me to a good tutorial explaining the Entity Framework using an XML file instead of a database?
I have seen some good tutorials with SQL databases, but I can't make the leap to an XML file.
Thanks!
Can someone advice which is the recommended version of Java Run time for Windows 7, since older version may have some incompatibilities etc?
Thanks in Advance
I am currently trying to add 301 redirect to my routes in MVC
to do this I have tried to inherit from the MvcHandler.
The handler gets instantited with the right values. but I am never able to debug the overridden methods.
can someone show me a working attempt at this? the asp.net pipe simply seems to the doing its own thing...
public class CodeHttpHandler : MvcHandler
{
public CodeHttpHandler(RequestContext p_requestContext)
: base(p_requestContext)
{
}
protected override void ProcessRequest(HttpContext p_httpContext)
{
}
protected override void ProcessRequest(HttpContextBase p_httpContext)
{
}
}
I would like to create an upload script that doesn't fall under the php upload limit.
There might be an occasion where I need to upload a 2GB, or larger file and I don't want to have to change the whole server execution to above 32MB.
Is there a way to write direct to disk from php?
What method might you propose someone would use to accomplish this? I have read around stack overflow but haven't quite found what I am looking to do.
Is it possible to hack someone's session variables and create a new shadow user?
What are the common ways of avoiding such surprizes?
SSL certificate installation or ....?