text stringlengths 8 267k | meta dict |
|---|---|
Q: Sum of 3 variables: strange behavior
Possible Duplicate:
Is JavaScript's Math broken?
Why can't decimal numbers be represented exactly in binary?
What will be result of next code:
if(0.3 == ( 0.1 + 0.1 + 0.1 ))
{
alert(true);
}
else
{
alert(false);
}
It is strange, but result will be false.
Reason is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: jQuery get the next sibling hidden value on click I'm trying to get the hidden field value on click event of a link. Here's where those elements are:
<p>
<a class="showCommentAttachment cboxElement" href="#">Attachments</a>
<input type="hidden" value="13" id="ctl00_ContentPlaceHolder1_lvComment_ctrl3_hfComme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Facebook user Authentication process I am trying out this example http://thinkdiff.net/facebook/new-javascript-sdk-oauth-2-0-based-fbconnect-tutorial/
But I am getting xml error which says permission denied.
I have changed the application ID also. I am bit confused about the new UI of developers.facebook.com I was c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error after updating to the latest version Azure SDK After I updated to the newest version the Azure SDK I have started to get this error several times each day when I press build in Visual Studio. The only way for me to fix it at the moment is to restart my visual studio.
The error I get is:
Windows Azure Tools: In... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Android fill_parent to match_parent What was the reason behind introducing match_parent and deprecating fill_parent since both mean the same thing. won't this change be a hindrance to backward compatibility?
A: Android Doc says:
FILL_PARENT (renamed MATCH_PARENT in API Level 8 and higher), which means that the vie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Ajax styled file upload & session there are two things which is important
*
*send any file from client to server & save it somewhere in the server location
*get the saved location of uploaded file and send back to client. e.g.
context name : project
predefined folder : upload -> /project/upload
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Compilation error in one case but not the other, when all expressions have same types I have a pieces of code:
The method is as follows:
public IEnumerable<c> Test(){
var collection = new a();
IEnumerable<c> bs = collection.Where(item => item.Id > 10).Select(item => item);
return from item in collection
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it faster/better way to force authentication with NSURLConnection rather then using delegate method? If I know that authentication is required for my server API, is it faster/better to directly force authentication using http header instead of waiting for the server to return 401 response and then respond to it i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: accesoryView out of the screen on iPad We have the same code for a UITableView on iPhone and on IPad.
For every row we show an accesory view with an specific icon.
In iphone works perfectly, but in iPad ... for some reason the accessory doesn't appears, and when you select one of the rows, you could see them in the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Code works in an HTML page but not in an ASP.NET page I'm using a dateplustimepicker control which works fine on an HTML page but does not work when used on an ASP.NET page. Here's the code I'm using on the ASP.NET page:
<div>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Autorun the Application using C# I want to create an application that's automatically run after booting the machine.
Can anyone help me on how can I do it on C#.
A: Create a windows service for your application register that windows service and set startup property as automatic .
Now your service will start automat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Will an object live while there is reference to interface which It implements? I have a class implementing an interface. I don't need a reference to objects of that class - only reference to their interfaces. It looks like:
interface A {}
class B : A {}
//in code:
A a = (A) new B();
My question is: Will instance ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Preprocessor token pasting in GCC’s _Pragma operator I’m trying to do something similar to another question, namely, conditionally include OpenMP pragmas in my program. However, I want to go one step further and avoid that the user needs to specify omp every time they use the pragma. In other words, I want the follo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: DB select two Tables I've searched around and can't seem to understand how to get this to work. At least, not the way my code is written. What im having trouble doing is changing this:
// ...
$sql3 = new db;
$sql3->db_Select(DB_TABLE_ROSTER_TEAM_MEMBERS, "*", "team_id = ".intval($row1['team_id'])." ORDER BY member_t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Intercepting GWT RequestFactory requests Is there a way to intercept RequestFactory requests on client side?
I want to intercept calls like this:
dummyRequest.dummyOperation().fire( new Receiver<String>() {
@Override
public void onSuccess(String response) {
}
});
The idea is to show some loading indic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Smooth scrolling in Delphi For years I have been using smooth-scrolling plugins in my browsers (firefox/chrome).
They give a precise feel both for the eye and for navigating.
No line by line flickering.
Is this functionality possible in the Delphi editor ?
Or for that matter in any of the VCL controls TMemo/TStringG... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Jquery Show/Hide In a .net Datalist I have a .net Datalist returning news articles what I want to happen is for only the headlines to show and then when you click the headline link the body to show.
This is what I have so far
HTML
<asp:DataList ID="dlNewsArticles" DataSourceID="SqlDataSourceNewsArticles" runat="serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Not able to overwrite kml file I generate KML files on-the-fly.After generating, I call Google maps like this :
http://maps.google.com/maps?q=http://<my ip>:8081/<location>/<name>.kml . The name of the file I use is based on the lat/long of the starting location entered by the user. Obviously, when the locatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is dp the same as dip?
Possible Duplicate:
Difference of px, dp, dip and sp in android
I've found several topics on this. But none really answers my question.
Dp and dip in android. What is the difference? Is it the same thing?
A: Yes, they are the same. There is no difference, its just an alias.
Documentation:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "101"
} |
Q: C++ populating vectors inside class constructors I have troubling addressing elements inside objects of Class3, please look at this simplified classes:
class Class1 {
public:
std::vector<Class2> c2v;
Class1();
};
class Class2 {
Class1 *instance;
int id;
public:
std::vector<Class3> c3v;
Class... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to persist child entity in SEAM using EnitityHome persist method? I have two entity with a relationship of one-to-one namely Customer and CustomerDetails mapped on their specific tables.
I have a form in the page that captures each values to the property of each Entity.
How am i going to persist this in SEAM?
si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Searchbutton click event When I press enter it works great. However I also want to perform search by clicking the searchbutton in the text box. I added oncommand attribute, it performed the search however after search ended, searchbutton changed into a cross. I clicked the cross it performed the search again. I chec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to achieve start sync and stop sync using post method in android? I want to upload array of pictures , array of videos to server which I want do in synchronization. I want to manage this sync as start whenever i needed and stop it whenever i don't want or WiFi or net connection is disconnected.
Please help on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create label and check box dynamically in javascript? I want to create label and check box dynamically.
when i enter text in text box and give submit button,a check box and label with the text i entered in text box should be created..How to create ?
A: For the label try this:
var newlabel = document.createEl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: A fully open-source software LAMP-like stack for GPGPU? There is a lot of open-source options for web developers. For example, the LAMP stack is fully open-source and if you build you software on it you are not dependent on different vendors, proprietary licenses, etc.
Does something similar exist for general-purpos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Images sometimes falling to the bottom of the page in IE I have an issue with images sometimes falling to the bottom of the page when viewing in Internet Explorer.
http://www.comptonandwoodhouse.co.uk/jewellery
http://www.comptonandwoodhouse.co.uk/figurines
home-decor
collectables
bears
fashion
<< also try these lin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I validate that a string value is in the format "\/Date(1239018869048)\/"? How do I validate that a string/JSON value is in the format "\/Date(1239018869048)\/"?
I'm iterating through a JSON object, I know I may have a serialized JSON date string but because the JSON object is dynamic, I don't know which prop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: use distinct keyword for 3 tables in sql server? I want to use distinct keyword for 3 different tables like intern_data_copy, fresher_data_copy, exp1_data.
These tables have three different columns. Now I want to use join in then and also use use distinct for that column.
select DISTINCT a.sec_s, b.sec_skill, c.sec_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iPad shows a wrong state of a website/app after app switch I found nothing related to my problem, maybe I use the wrong keywords. But let me explain:
I have a strange problem with the iPad. We have a little javascript app/website, nothing special. It runs in a native app container via UIWebView. The problem is:
When... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Custom Class in Zend Framework I'm using Zend Framework with Propel. It's easy enough to use Propel objects as my models for things that are stored in the database, but how do I go about creating a custom model such as a shopping cart that uses propel objects?
I'm thinking of creating a class called CartItem and Car... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Run a function each time a page loads in CodeIgniter I have previously only made web applications in Asp.Net MVC, and there you can use OnResultExecuted in an "ActionFilter" set on the BaseController to run a method each time an action method is executed (i.e. basically each time anyone visits any page in the applic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get a specific string inside a String delimited by ";"?
Possible Duplicate:
How do I split strings in J2ME?
I have a String data which is like csv , that is there are ";" inside the String data. But in my case there is always a ";" at the end of the String. I want to create a method which gives a String at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to create xml file for animation in android for diferrent screen size I had created a Transform animation in android using xml.I am running it on larger screen. I had set the value for x and y coordinates in the xml itself.It is running fine on larger screen but when I run it on small screen it works according t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: security check in matlab I've finished a matlab GUI development.
Now the distribution is under discussion.
Concerning the security, we want to have a authentication prior to running the GUI, to see if the user is in the valid network. Our first proposal is to check network domain/user account as an option.
How can i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OSX/Cocoa : Listening for system wide mouse drag events Hi I am new to cocoa programming and would like to know how to create a listener for system wide events (such as mouse drag). I've added this to my app (I saw it on another post):
static CGEventRef eventFunction(CGEventTapProxy proxy, CGEventType type, CGEventR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: jQuery or other JS to get server time and sync ticking clock and set event launch on exact time I need to fetch exact time from server to client side by jQuery,
tha best approach maybe would be to read the GET headers where the date is formatted like this
HTTP/1.1 200 OK =>
Server => nginx
Date => Fri, 30 Sep 2011 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Crash when parsing protobuf message containing a string using C++ and Android NDK I have two programs, both running on an Android 2.3.4 platform - one is a C++ binary in a daemon form, compiled with cmake, the other is a apk with jni part compiled with ndk-build. I'm using android-ndk-r6. I'm using protobuf messages... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to execute a Method when a User close the Browser or visit another Page? I use c# asp.net 4 web.forms.
I have a page (lets called it X) I need execute a method on X in this situation only:
*
*When User visit another URL, directly input in the Browser or clicking another link on the Page.
*When User Log Out f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android - Cant access TextView within a Timer in a Service Im facing the following problem:
public class StatCounterService extends Service {
private TimerTask updateTask_ref = new TimerTask() {
//Get the element by Id as common practice in Android
TextView hungerValue_ref = (TextView)layout... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Restrict installation to multitasking-capable devices? Is there a way to restrict the installation of my app to allow only multitasking-capable devices?
My app needs to do some background task (finish a download in the background when minimized).
I could work around it (abort the task and start over next time), bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Javascript function and PHP session variable I have the following script in my Body Tag inside a PHP page:
<script type="text/javascript">
function goNext()
{
<?php
if(isset($_SESSION['current']))
{
?>
window.location="step2.php";
<?php
}
else
{
?>
alert('Pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 2-adic number of given integer i am reading section about A Binary Recursive Gcd Algorithm,where this definition is given
let v_2(a) denotes the 2-adic valuation of a, i.e. the number of consecutive zeroes in the least signicant bits of the binary representation of a ,so i am trying to find v_2(a) here is cod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Placing ads in my android app I am planning to create an android application that may contain some ads. The ads shall be pushed from a web site that hosted in my server. I can push different ads from my server and the users of the application can be able to like, dislike the ads. Based on the user's like/dislike inp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AS3 - How can I dispacth an Event.CHANGE from an Array/Vector? I would like to subclass an Array or Vector to dispatch and Event.CHANGE when any elements value changes.
How would I go about doing this?
A: How about using an ArrayCollection and listen to the CollectionEvent (mx.events.CollectionEvent.COLLECTION_CHAN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom allocator fails to rebind to Other type All
I have code for my custom allocator that is written with intent to be a proxy for other allocators to be able for example to gather allocation statistics or whatever else
template<int Id, class T, class BaseAlloc>
class SelfTracingAllocator
: public BaseAlloc
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cross-origin XMLHttpRequest does not process ASP.NET_SessionId cookies - what could be the case? I'm struggling with the problem in title for already couple of days with no success. I have an ASP.NET MVC 3 REST server which requires basic authentication. I want to write JS API accessing this server in AJAX way using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Storing image using NSDocumentDirectory not working? I'm developing this application for an iPad. My first screen will show 2 UIImageView (ImageView, ImageView2) and 2 UIButton (Confirm, Browse).
I will give a brief description of what my application does.
When the 'Browse' button is tapped, it will show photos fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is this query possible SELECT * FROM mytable WHERE ([myExpression]); i'v got a question about sql in access 2007.
it's possible to generate a query like this:
SELECT * FROM mytable WHERE ([myExpression]);
in [myexpression] should be something like date between date1 AND date2
or even id > 123.
if it's possible: how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: No notifications when sending apprequest
Possible Duplicate:
“apprequests” dialog reports success, recipients receive nothing
I am developing a facebook app, and one of the main functions, is to allow a user to send a apprequest to another user, notifying him that he has been challenged.
However, in the past coup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Click button, display css class name When I click button (eg.input type="button" class="test"),
I want to display style sheet class name.
I already tried like this.
$(this).get(0).style.name
But i get only undefined message.
Please let me know how to get it.
@@Edit
Let me show you my coding.
<html xmlns="http://ww... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to draw smooth / rounded path? I am creating Paths and adding multi lines in each path by using path.moveTo(x, y) and path.lineTo(x, y). Then canvas.drawPath(path, paint) is drawing all paths. But there are 1-2 pixel space between lines in some paths. How can I remove these spaces? My code is something like that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Selenium Grid: Identify WebDriver node where a test failure occured We use Selenium WebDriver for testing our web app, and we run the tests via Selenium Grid 2.
This usually works well, but some tests fail randomly when run via Selenium Grid. The error message usually is "error reading zip file".
We tracked this dow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Adobe Flex 3: width and height specified in percentage not working for children of a viewstack I have a ViewStack which is dataProvider for a TabBar. There are two VBoxs as children for this ViewStack. It works fine with absolute values for width and height for these VBoxs, but when specified in percentages, the VBo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SSIS - what do I look for? "Invalid column type from bcp client for colid 1." I have an issue with a SSIS package which was working up till now but suddenly starts throwing up an error which I don't know were to place.
I'm uploading bulk records into a OLE DB Destination, inside a view, and I get this error:
An OLE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I check a group of numbers are consecutive in T-SQL? If i was to have a table with an integer column containing n number of rows and wanted to check if they were consecutive, how could I do this?
DECLARE @Temp TABLE
(
IntegerValue INT,
Processed BIT
)
I have a solution that works for 3 rows but thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: EntityFramework to Json workaround? ( A circular reference was detected while serializing an object of type...DynamicProxies) so heres the deal i have
Models
public class News
{
public News()
{
this.Created = DateTime.Now;
}
public int Id { get; set; }
public string Title { get;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Connect Twisted IRCClient through a http proxy I am playing around with Twisted and while trying to rewrite an old java IRC bot in Python (2.7), I built upon the IrcLogBot example.
I need to connect to the IRC server through a (non auth) HTTP proxy - but there does not seem to be any support for this neither in the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: roo gem in Ruby I am using 'roo' gem for reading and writing the excel sheets.
How can I get the last column of each row in excel sheet using 'roo' gem in Ruby
Please give me some suggestion on this...
A: http://roo.rubyforge.org/
You can use a for with the method last_column as stated on the link above.
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unity run-time resolving? I have the following code in a console program.
interface I { ...; string X { get; }; string Y {get; }; string Z {get; } ...}
class A : I {...}
class B : I {...}
class C : I {...}
The program accept command line parameters like test.exe b -x 10 -z 20. And it will create an instant of B and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to escape? data that is being inserted into sqlite database. I'm making an apple app using phone gap (which uses sqlite database).
All my inserts work fine except for when I try to insert a weblink. This errors because there are " characters in the weblink.
Using the following:
var content = 'hello, this is my <... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Image thumbnail from pdf not displaying in IE8 I have a very strange problem with an thumbnail image, which generates from an uploaded PDF via paperclip in a rails app. The uploaded files are stored on Amazon S3. Paperclip generates a thumbnail image of the first page of the uploaded pdf. This works fine and the thu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: any example augmented reality in iphone any code best tutorial or code available for the augmented reality in iphone?
I am facing lots of problem with the capturing of image with attaching other image on that.
add any overlay or something.
any sample code is more then appreciated.
A: Please go through https://githu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Image uploading on android I am in a strange problem right now.
I've been trying to upload an image from my android app to the server, however it works fine when i am using wifi connection but when i am on GPRS the application just keeps on processing for an infinite amount of time. Below is the code:
try
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to truncate table in sqlite in android I am new in android. Can anyone help me to hows truncate table in sqlite in android..
Can anyone give me example of that delete table?
Please help me.
A: What do you want to do? If you want to truncate the table (delete all data) you can use the DELETE query without a wher... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Drag n Drop sections on the BBC website, how is it done? I have a new project to plan and the client likes the BBC's drag / drop sections on the home page. How is that done ? Is it with a framework like Sencha or jQuery ?
Thanks
Rich :)
A: The BBC uses its own JavaScript framework called Glow. What you're looking a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Chosing language in application - objective-c
Possible Duplicate:
How to force NSLocalizedString to use a specific language
How to change language in my application? I have 2 localizations: english and russian. Language changes when i change my system language in iPhone. But i want to change language in my own ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to see exactly what happend in git merge I'm in
branch_X
I do
git log -p lib/foo
to see differences in the file foo, but the interesting thing I want to see is just written as:
commit aaaaaaaaaaaaaaaaaaaa
Merge: bbbbbbbb cccccc
Merge branch 'branch_X' into branch_Y
Conflicts:
lib/foo
How c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Class with builtin marshalling. Why are the field converters not working? I have the following questions:
*
*Should the marshalling be placed in a class helper instead? Or is it quite OK to place it "inside" the class?
*Why are the field converters not working?
Using Delphi XE - consider this:
type
TMyClass ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Update listview's viewitems without notifyDataSetChanged I have an android application with a listview which .. blablabla .. presents a title and adress of a location. Furthermore it displays a distance in meters and a compas.
http://i.stack.imgur.com/k5XHF.jpg (Sorry cant post screenshots yet :)
Whenever i get new... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use Spring SimpleThreadScope? Spring 3.0 defines a SimpleThreadScope. Looking at all known implementing classes of the Scope interface, I see: AbstractRequestAttributesScope, PortletContextScope, RequestScope, ServletContextScope, SessionScope, SimpleThreadScope.
The first observation is that I don't see a Pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to convert the WordOpenXML property into a System.IO.Packaging.Package? I've been experimenting with building an Outlook 2010 addin in C#, using Visual Studio 2008. I am able to obtain a Microsoft.Office.Interop.Word.DocumentClass object from a Microsoft.Office.Interop.Outlook.Inspector object, which represents... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: how to upload, download file from tomcat server with username,password in swing I want to make a program in swing which connect to tomcat server running locally. with username,password authentication, then user able to upload file in server directory. ie.http://localhost:8080/uploadfiles. from user defined file pat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to implement search Token (like in mac Lion )in Java? I am thinking to implement search token (see below) in java. I have my different fields to search from and text to search. I am a little confused on how to make the UI like the rectangular ellipse and text in it and a cross button on it. How do we make that i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IBM MQ vs JMS - Spring Implementation I am working on a Spring application where we have implemented code to send messages through IBM MQ.
Now we have been advised not to directly use MQ APIs directly and instead use JMS.
The steps I followed :
*
*created a JNDI name to connect to the Message queue configured as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Implement facebook authentication How many methods to implement facebook authentication on my website? My approach are:
*
*Display a facebook login button on my website
*When user click on it, they will be asked for username password or grant some permissions etc...
*After they logged, display their face and na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Additive Skeleton Animation Im having a hard time to code additive skeletal animation.
Everything work fine if I playback each animation separately so I know that the pose of each animation is correct... What I can't figure out is how to additively blend them.
I got the following:
void MD5ANIM_additive_blending( MD5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Tomahawk + seam does not work So I have a Seam Project and I'm trying to integrate Tomahawk 1.2. I've copied the tomahawk12.jar in WebInf/lib and I have the following configuration in web.xml:
<filter>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making network-intensive code more robust I have code which interacts with amazon S3 and the files transferred are usually big - couple of gigs so what suggestions can you make to make them more robust in case of failure. Also what is the (if any) general strategy for implementing robustness in network code. Is some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Database index error when importing contact entity in crm 2011 organisation Our company has a crm 2011 dev environment and some customers. I recently exported a solution which contained the contact entity from dev and tried to import it in an other organisation (one of our customers). At approx 30% import i get the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android - custom UI with custom attributes I know it is possible to create custom UI element (by way of View or specific UI element extension). But is it possible to define new properties or attributes to newly created UI elements (I mean not inherited, but brand new to define some specific behavior I am not able to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "115"
} |
Q: BDD Style UI testing for Compact.Net Forms I am used to using Cucumber or StoryQ with Selenium/Webdriver (based upon my platform) for automated UI testing in a continous integration environment, I have looked at White for winforms testing before now however the problem I am facing is that my next project is targetti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ctrl-space function on roo shell unable to work on mac osx despite changing shortcut keys I'm on mac osx snow leopard running eclipse 3.7 with sts 2.7.2 roo 1.1.5 plugin. Under roo shell, pressing cmd+Space will trigger spotlight so I disabled spotlight shortcut, but still roo content assist doesn't show up. Then I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails migration: update_all with dynamic code is possible? I'd like to add a new field in a table.
My new "secret_code" field in my User model should be equal to Digest::SHA1.hexdigest([Time.now, rand].join)[1..12].
What I'm trying to do is generate a migration that would add the field to the table and also populate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create memory DC with 24 bits per pixel? I need it to work with RGB24 data using GDI functions (specifically StretchBlt() which is pretty fast) and I can't use CreateCompatibleDC() since it can create memory DC only with color depth of other DC. Usually it's used with screen DC (by transmitting NULL pointer t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is a container app in iPhone? Our client wants us to make a container app, but I am not exactly sure what he means by this. I have to extend the functionality of his existing app but he does not wish to share his code with me.. so he says I should make a container app... I know it something similar to making in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL foreign keys with non-identifying relationships All I need is to create 2 tabeles with next structure:
The SQL:
CREATE TABLE IF NOT EXISTS `ds_cats` (
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `module_news_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Visual studio setting or extension to highlight edited lines? I want to be able to see background highlighting on lines I have edited in Visual Studio 2010.
I know the thin strip next to the line numbers column shows edits in Green, but this isn't large enough/obvious enough.
Is there any setting or extension to he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Crystal Reports export to HTML I use CrystalReports 13 (13.0.2000.0) in an ASP.NET 4.0 application.
I need to export report in HTML because i want a static report page, without reporviewer that allows user interaction.
If i try the following code:
Source1.ReportDocument.ExportToHttpResponse(
CrystalDecisio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Rails by Example (by Michael Hartl), Lesson 9, Sign In tests won't pass I am following Lesson 9 for sign-in, yet the signin test just won't pass! I followed the code to the letter and it still wont pass.
when testing with the browser - the sign in works with no errors..
Failures:
1) SessionsController POST 'create' ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delphi Word automation - print merged document My D5 application can currently mail merge multiple members data to a Word document using:
wrdapp := CreateOleObjct(word.application);
wrdDoc := wrdApp.Document.Open(TemplateLocation);
wrdMailMerge := wrdDoc.MailMerge;
populateMailMergeDateFile;
wrdMailMerge.execute;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Data in ListActivity not cached when going back to it I've got a ListActivity filled by an adapter extending SimpleCursorAdapter. Some category buttons can be clicked, which fills the listview with a list of articles in the corresponding category. When clicking on an item in the list a new activity is launched which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: XCode 4. Keyboard doesn't hide on iPad I have a problem with my iPad app.
I perform authorization in social networks (facebook, twitter etc.) to post information from app. Several webviews change each other (login, content of post, captcha). They have text fields and I have to show keyboard. After posting I return t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PyPy on Windows 7 x64? I am trying to use PyPy on a Windows 7 x64 machine but do not find any way to do it.
Apparently there is a win32 binary, but no x64 binary or installation guide.
I am currently using Python 2.7.2 win64 (Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] on win32).
Instal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: using precompiled header from different project I have two projects in Visual Studio 2010 that I want to share the precompiled header outputs .pch(i) file: one builds it and the other should only use it.
After Clean, and Rebuild Project1, the .pchi file is created.
Rebuild Project2 does a strange thing, it Deletes t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get CPU Usage of a Silverlight application from code? I need to build a widget which would show (and monitor) CPU usage by a Silverlight instance (the control will be part of the silverlight application and would track the running instance). I could not find Process/PerformanceMonitor class in Silverlight.
Is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In Android how to decode a jpeg in cmyk color format? I'm trying to decode a jpeg that is in CMYK color format. BitmapFactory returns null. I googled around but with no luck. Is it possibile Android team did not the right job supporting all kind of color format?
I'm using Android 2.2.
Thank you so much.
A: Found t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Combine two maven based projects on two frameworks I have two maven projects say MvnSpring and MvnGuice.MvnSpring is working on spring and hibernate frame works.
And MvnGuice is working on google guice and mybatis. I need to combine both the features together.
Both are following singleton pattern. I need to get some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java POI : How to read Excel cell value and not the formula computing it? I am using Apache POI API to getting values from an Excel file.
Everything is working great except with cells containing formulas. In fact, the cell.getStringCellValue() is returning the formula used in the cell and not the value of the cell.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "71"
} |
Q: Is there any even function that occurs in the case of deleting the app? The iPhone app i developed save user data (id, pw) to keychain of iOS by using open source SFHFKeychainUtils
Problem is that the id,pw data still remains intact upon deleting the app,
which cause trouble when reinstalling the app.
Would it be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .htaccess to redirect to sub folder without causing errors on ajax JS calls to BE dir I need help with setting up 100% working .htaccess , I Googled a lot, came to several suggestions, part-working ones but still not 100%. The "problem" is quite simple: the site is hosted at: public_html/ dir, but my site is in /pub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.