Hi
I have a question about how to catch the exception in the initialization list.
For example, we have a class Foo derived from Bar
class Foo {
public:
Foo(int i) {throw 0; }
}
class Bar : public Foo{
public:
Bar() : Foo(1) {}
}
This question came up today and I couldn't find any historical answer as to why a database is always represented as a cylinder. I am hoping someone in the stack world would know why and have a link or something backing it up.
I have a dynamically generated rss feed that is about 150M in size (don't ask)
The problem is that it keeps crapping out sporadically and there is no way to monitor it without downloading the entire feed to get a 200 status. Pingdom times out on it and returns a 'down' error.
So my question is, how do I check that this thing is up and running
A follow-up (sort of) to this question: in the Xcode build tab, I set my Base SDK to 3.1 but after uploading to the App Store, I see it being listed as requiring 2.2 or later. Why is that?
Both Base SDK and Deployment Target are set to 3.1.
I have a program that generates a .shp file, and exports this as a kml file. I would like to be able to display my output using the standard google map 'map' style (gray background, yellow streets, etc) in google earth.
Is there a style guide or method that I should be using?
Any thoughts appreciated - I wasn't sure how to structure this question.
Thank you.
I have a situation where I think I need to daisy chain my xslt transformation (i.e. that output of one xslt transform being input into another). The first transform is rather complex with lots of xsl:choice and ancestor xpaths. My thought is to transform the xml into xml that can then be easily transformed to html.
My question is 'Is this standard practice or am I missing something?'
Thanks in advance.
Stephen
I think I've seen Gmail do it in Chrome or Internet Explorer, but I've never seen it in Firefox. I thought I'd ask anyways. Is it possible to do a file upload without requiring an <input type="file" />? I see that you can use iframes to automatically submit the file input, so my question is
Can you programmatically pop up a file upload dialog?
If so, what browsers is it supported on?
What C++ static code analysis tool are there on Microsoft Windows, and which would you recommend?
Please state whether a particular tool relies on cygwin, and whether it cost money. One per post as per for voting up & down.
Similar Question: http://stackoverflow.com/questions/141498/what-open-source-c-static-analysis-tools-are-available
The question is about the structs. When I declare a struct type variable/object (don't know which one suits better) or an array or list of structs, do I have to call the constructor explicitly like objects or just declaring will suffice like variables?
I'm very new to Java/COLT so apologies if this is a dumb question... But, is it possible to define (2d) matrices of type "long" using the cern.colt.matrix stuff? If so, how?! I can find an abstract class for "Object" and a concrete implementation for "double", but then I am stuck... Thanks,
I have a question, which Unicode encoding to use while encoding .NET string into base64? I know strings are UTF-16 encoded on Windows, so is my way of encoding is the right one?
public static String ToBase64String(this String source) {
return Convert.ToBase64String(Encoding.Unicode.GetBytes(source));
}
I had asked a question on how to implement real time updates in ASP.NET and received a very explanatory and a helpful answer from "jdk" at:
http://stackoverflow.com/questions/2347771/how-to-implement-real-time-updates-in-asp-net
I understand that memcached or .net caching application block can be used as the caching layer. Currently, I am looking for a very simple mechanism to implement this and do not have the resources for using memcached or the caching application block.
Can someone suggest a solution?
Hello...
Fortunately our first application is in App Store now..
And in my itunesconnect account some of the fields are editable like screenshots, support url etc..
So, my question is if I update some of my screenshots or if I update the support url field when it will be reflects to itunes ?
Or it will directly reflects once I update my current application ?
Thanks in advance...
In my Python script which uses Curses, I have a subwin to which some text is assigned. Because the text length may be longer than the window size, the text should be scrollable.
It doesn't seem that there is any CSS-"overflow" like attribute for Curses windows. The Python/Curses docs are also rather cryptic on this aspect.
Does anybody here have an idea how I can code a scrollable Curses subwindow using Python and actually scroll through it?
\edit: more precise question
Hi.
I have made an Android app that shows a MapView with two overlays, one MyLocationOverlay and one custom overlay. I am programmatically zooming and panning to what I want the map to show. It also auto pans to my current location.
The auto pan is moving the map away from what I want to show.
So my question is simply: How can I disable the auto pan?
Thanks,
Ola
Why are there so many Database management systems? I am not an DB expert and I've never thought about using another Database other than mySQL.
Programming languages offer different paradigms, so it makes sense to choose a specific language for your purpose.
Question
What are the factors in choosing a specific Database management system ?
Hey,
I have an input text :
<input name="Email" type="text" id="Email" value="[email protected]" />
I want to put a default value like "What's your programming question ? be specific." in StackOverFlow, and when the user click on it the default value disapear.
Hello,
We are planning on building a pay per view (PPV) video solution but we have no idea from where to start. Here are the current givens:
it will be hosted on Linux
using PHP
Database: MySQL
And by PPV I mean:
- going to website, selecting a movie to watch/download
- going to payment portal and paying
- being now able to watch/download
So here is my question, from where to start?
is there an existing (recommended) solution that we can download/buy?
Any information would be really appreciated
I learnt a lot about weak_ptr working with share_ptr to break cyclic reference. How does it work? How to use that? Can any body give me an example? I am totally lost here.
One more question, what's a strong pointer?
The program print "hi" contains 10 characters and outputs a string with length 2. Therefore its ratio of output length to program length is 2/10.
My question is what Ruby program has the largest output length to program length ratio
(For program length let's only count non-whitespace characters (i.e., it's easy to minify a program))
First of all, I'm completely aware that doing this will get my app rejected by Apple, that it's a poor user experience, and so on.
My question is fairly simple, is there a way using private APIs to disable the home button? The aim is to effectively put an iPad into kiosk mode.
Hi,
I posted one question on same site ( site Link ) .
Got one solution but i don't know How to modify the sharepoint list content type (which defines new/edit forms) and the view (which defines list views)?
I’m looking for Silverlight component libraries (preferably commercial). So far I’ve found these:
ComponentOne
Telerik
DevExpress
Vectorlight
Infragistics
Xceed
Am I missing any?
I previously posted this question, I’m (still) searching for a Silverlight Image Editor. As part of my exploration I have to document that I at least checked "all the major vendors".