when i create a new web application project it does not show the datanucleus.core.1.1.5.jar but this jar file should be exist asdefault. how to rectify this problem.
Suddenly in this article ("problem 2") I see a statement that C++ Standard prohibits using STL containers for storing elemants of class if that class has an overloaded operator&().
Having overloaded operator&() can indeed be problematic, but looks like a default "address-of" operator can be used easily through a set of dirty-looking casts that are used in boost::addressof() and are believed to be portable and standard-compilant.
Why is having an overloaded operator&() prohibited for classes stored in STL containers while the boost::addressof() workaround exists?
I am writing a simple REST service, which responds to requests from clients. All in PHP.
My concern is, that when my server responds to a request, it could end up tying up resources if the client side is too slow in sending back "ok" response.
How do I send a POST request via lib_curl setting it to not wait for any responses, but rather quit immidiately after the POST data have been sent?
Is this even possible? Thank you !
I'd like to set up a LAMP (or LAPP) web server for hosting Internet sites. Assuming no more than moderate traffic, are there practical concerns against setting it all up on the same machine (or, in this case, VPS?)
Hello,
I am having issues correcting an encoding type issue on a site. Unfortunately the site is non work safe (gay porn).
For the brave: http://www.alphamalemedia.com/index/news
Ive tried setting the meta content from utf8 to iso-8859-1.
Ive switched tables over to utf8 from latin1_swedish_ci but no luck.
Hi guys,
I have a class which in C# doing RSA encryption where I used the default RSACryptoServiceProvider class. But I have a concern regarding the following; If you have the word hello for an input and the encrypted string is returned as ABCDE, if you perform another encrypt operation on the input hello, using the same keys (public and private) for the RSA will the output be again ABCDE?
Thanks in advance
The current convention where I work is to use SQL Server schemas like namespaces (e.g. Company.Employees, Company.Branches, etc.) Is it possible to get an ActiveRecord migration to use anything other than the default "dbo" schema in SQL Server?
I had an issue can you suggest some idea , I remember we spoke aboutsomething around this issue
Iam in head office Dubai I had developed my winform application with sql server here in my office ....
Now its time for deployment but what the issue is before implementation it should be tested by the clients in Kenya.I cannot hold the
expense of traveling to Kenya and setting up the server there
i TRIED OF TEAMWEAVER bUT IT S HARD TO GO WITH IT ,
Is ther any idea for sharing my application via internet??
moreover like connection string through internet/tcp/ip
Scenario:
Local git repo, default master branch
FTP server with content of the repo (non git), synchronized daily with the local repo, master branch
Workflow:
user1 is working on local git repo (git add, working directory clean)
user2 (non git user) changed files directly on the FTP server
How can I import all files changed on FTP to the local git repo and see what has changed?
I read this MSDN like about it and ran its example.
when I change the uSerAgnet to something like "blah", the output is wrong but when I use the same thing that is in the example of even when I comment out the line of code that is setting the UserASgent, the output is correct.
what is UserAgent at all ? when should I set it ? How to know to what value should I set it ?
thanks
In Visual Source Safe 6.0, you could "reset" a working folder by setting it to a blank string. This meant that the working folder would be determined by the working folder of the parent.
How do I do this in Visual Source Safe 2005?
It seems to me that if I enable proxy server in TortoiseSVN then pure command line svn client also starts work via proxy server.
Is it correct?
If yes - where TortoiseSVN stores this setting?
I have a select box that calls window.open(url) when an item is selected. Firefox will open the page in a new tab by default. However, I would like the page to open in a new window, not a new tab.
How can I accomplish this?
I've never understood the need of #pragma once when #ifndef #define #endif always works.
I've seen the usage of #pragma comment to link with other files , but setting up the compiler settings was easier with an IDE.
What are some other usages of #pragma that is useful, but not widely known?
I usually add the clear form button to HTML forms by default, but tonight I had what alcholics call a "moment of clarity". Why the hell do we add this? In all my years of using the internet I have never gotten to the end of the form and thought "crap!, I screwed up, I need to reset this!". Is this button actually necessary or a hold over from another time?
I've got several input text fields, and my design requirement is to have gold text on a black background that, when highlighted, is black text on a gold background; however, Flash's default selected text highlight color scheme is white text on a black background and there is no way to change this.
Does anyone have any workarounds that are easy to implement and don't require additional classes (the design requests minimal outside classes).
I am working on a Visual Studio 2008 project that is already added to TFS server.
I am not sure which settings and policies have been configured for the TFS (this is done by a separate dept, not developers)
Every time I make an edit to a code file , the file is checked out automatically (without explicitly checking out the code file myself)
Please help me locate this setting or policy because it is not very useful at the moment. Sometime you want to make a local change to try out something, and not necessarily check out the code....
Hi Friends
Can you please send me any example code on label color , by default it shows black color i want to change the color for look and feel in UI please help me ..
Thanking you
In my Java application I use a DateFormat instance to parse date inputs.
DateFormat fmt;
fmt = DateFormat.getDateInstance(DateFormat.DEFAULT) // dd.MM.yyyy for de_DE
The problem is that the user insists to enter dates in the form 31.12.11.
Unfortunately this is parsed to 31.12.11. (0011-12-31 in ISO format) Instead I want the parsed date to become 31.12.2011 (2011-12-31 in ISO format).
Can I modify the date format to somehow parse inputs that way?
I need to set the menu help text of my shell context menu popup menu item just like winzip shellContext menu. I tried IContextMenu_GetCommandString but it is only setting menu help for sub menus of my main popup menu. Please help me and let me know how to set the menu help for my main poup menu?
Thanks
I am generating large PNG files from a Scala program. Currently, I am doing it the same way I would do it in java. I am creating a new BufferedImage and setting each pixel to the correct color. This works fine, but I am wondering if there are any good libraries for working with images in Scala? I am looking for something like Ruby's RMagick library.
I am using a few page validation tools one problem i have is they tell me textarea must have rows and cols attribute. If i am setting this in CSS or using display:none (and using it to hold raw text data) can i do something to skip? it seems like the only answer is rows="0" cols="0" each time i use it. But i have a feeling that is not a good solution.
I have one GtkWindow with one GtkVBox and GtkEntry.
Some times it happens that i am unable to access buttons Buttons, lists, entries.
But i am able to add widgets to GtkVBox and it gets updated with new widgets too.
Looks like it loses Focus. i tries with setting focus but it does not helps.
What might be wrong.
Hi there,
occasionally when hitting the landing page after signing in, the users personal space is displayed instead of the default guest page. This is does not happen often, but my boss does not want it happening. I am hard pressed for an explanation.