so today in my Java class....
someone bluntly stated today, it's piece of ** and the professor laughed too.
some girl said she's slower in coding because of Java....
why such hatred for Java ?
When writing C++ code is there any difference between:
#include <cstdlib>
and
#include <stdlib.h>
other than the former being mostly contained within the std:: namespace?
Is there any reason other than coding standards and style to use one over the other?
I just uploaded files(doc & pdf) in my web server(with my coding). I want to stream those files when I click download link on my page.
please share any tutorials or any suggestions?
Certain programming languages require the frequent typing of awkward key combinations.
As an example, I find myself typing -> all the time when coding in PHP, which I find to be awkward.
Which programming languages force you to type irksome key combinations frequently?
What are the things to consider and watch out for when designing a website with AJAX? Must take care of conditions, say timeouts, error handling, for instance?
Best practices? What parameters to take care of while designing and coding?
I need to get the path (not the executable) where my application is running from:
System.AppDomain.CurrentDomain.BaseDirectory()
When I run the above statement with & "/images/image.jpg" on my local machine it works fine but when I install the application on another machine it says it cannot find the file and there is a lot of extra path information some.
I just need the directory of where the app is running. I am coding in VB.NET with Visual Studio 2008.
Thanks!
At a certain time each day, I'd like my browser to pop open a tab to a certain URL.
My goals:
1. be able to set the URL from the scheduled task
2. use the default browser (rather than hard-coding it)
I can't seem to accomplish both of these goals at once. I'll post my partial solutions as answers, but I'm hoping someone will have something better.
Currently, i have a google web search. If a user searches starbucks, I would only want to retrieve the company or product information, not some other weird links like blog pages, using javascript, is it possible to do so? if yes, how am i able to do it? Kind of a newbie in the data mining part..thanks!
Added my coding for download for clearer understanding : http://www.mediafire.com/?mzgo233kngm
Hello everyone,
I am using SQL Server 2008 Enterprise. I met with issue which says line 9 of store procedure foo is meeting with dead lock issue. My question is how to find exactly the 9th line of the store procedure?
My confusion is because of coding format issue, how to locate 9th line correctly.
thanks in advance,
George
Hi,
Do you know any Javascript Tree Creator that lets you add or remove nodes up to 3 levels deep?
I'm currently using the jQuery treeview but is currently coding the add and remove of node items which is hard.
Cheers,
Mark
Hi Guys,
I am new to web development, I am coding some ASP.NET,
I checked a lot of examples using MVC in ASP.NET, But I am looking for verbal answers from senior programmers, about why using MVC?
can U as seniors and team leaders show me the benefits?? and why not keeping using asp.net webforms?
thanks
I started coding in C# and have never had the opportunity to use callbacks though I have used delegates for event wiring. What is the real application of callbacks. I would be grateful if you could give some link that explains about callbacks in a straight forward way without C++ prerequisites.
I'm coding an advanced web browser. The bad thing is, is that whenever you move your cursor over the window, a wait cursor is displayed. I tried to deselect the wait cursor but it doesn't work!
I'm using Visual Basic 2010 Beta 2...
Please help!!
Having used ViewModels in MVC, I was wondering if applying the same to the MVP pattern is practical. I only have a few considerations, one being that MVP is already fairly hard to implement (with all the additional coding, not much on the seeming complexity) or that ViewModels already have a slightly similar way of modeling data or entities. Would adding another layer in the form of ViewModels be redundant or is it a logical abstraction that I, as one implementing the MVP pattern, should adhere to?
I want to convert a tab delimited text file to a XML file. I was able to do it with a single character delimiter. But how do i extend it to tabs? I am coding in C# and using Visual Studio 2010.
In my last Drupal project we were 5 people doing coding and installing new modules, at the same type our client was putting up content. Since we chose to have only one server for simplicity there were times were many people needed to write to the same files like style.css or page.tpl.php or when someones broken code would prevent others from working
Are there any best practises for a team that works with Drupal? How can leverage code repositories or sandboxes?
Hi,
In my application I m using following coding pattern to vibrate my iPhone device
Header File:-
AudioServices.h
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
////////////////////////////////////////////////////////////////
My problem is that when I run my application it gets vibrate but only for second but I want that it will vibrate continuously until I will stop it.
How it could be possible .Please help me out its urgent
Thanks in Advance
it's a very easy question maybe, but i can't find any "working" plug in for WYSIWYG (what you see is what you get) HTML editing ,you know like dream weaver
i'm developing a web site which is a mix of php and python, coding is comfortable but designing is very hard with out such a plug in
thnx :)
I searched the site but didn't see anything quite matching what I was looking for. I created a stand alone application that uses a web service I created. To run the client I use:
c:/scriptsdirecotry "run-client.bat" param1 param2 param3 param4
how would I go about coding this in python or F#. seems like it should be pretty simple but I haven't seen anything online that quite matches what i'm looking for.
Thanks in advance.
I am facing a really tough time doing this. I haven't done much on web development before this. I know HTML and dats it. What else do I need to learn in order to start coding a good facebook app (specifically scripting languages like JS, PHP etc). I have already created a test application using a web hosting site. Time is of the essence here.
I'm a coding a JavaScript reporting component, that requires multiple LI's i.e. lists to be selected collectively as a bunch with visual feedback.
I'm thinking of adapting the onfocus event. Is it possible for multiple HTML elements to receive focus at the same time?
Hi,
I'm a coding newbie, but I really wanna learn how to do multithreading and event handling.
Does anyone know of any good tutorials out there, or can they explain it to me in a nutshell?
It seems that StackOverflow is more concerned about programming techniques and coding skills (which is a good thing!)..
But I am asking if anyone knows another "StackcOverflow"-like site, but which is mainly concerned about Machine Learning and AI?
BTW: I have asked this question after nearly a week without an answer for Question
I'm coding a WYSIWYG editor width designMode="on" on a iframe. The editor works fine and i store the code as is in the database.
Before outputing the html i need to "clean" with php on the server-side to avoid cross-site-scripting and other scary things. Is there some sort of best practice on how to do this? What tags can be dangerous?
UPDATE: Typo fixed, it's What You See Is What You Get. Nothing new :)