text stringlengths 8 267k | meta dict |
|---|---|
Q: How do I draw an outline on a specific wedge of a flex pie chart? I want to have a different coloured stroke (outline) used on the pie wedge under the mouse from the outline used on the other wedges.
The PieSeriesItem referenced by the mouseover event doesn't have a stroke parameter, and it looks like it is an all o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Castle Windsor throw a ComponentNotFoundException in this simple example? I'm just getting started with the Castle Windsor IoC, and I'm having a hard time following the examples. Can somebody please explain why this simple console application fails? I must be missing something easy. Thanks.
using System;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mysql Simple Query question I wrote out this Mysql query, but return a lot of blank fields for the customers_telephone table
since it was never a required field. I would like to return some dummy data on my
query (without inserting it into the database) if the field is NULL. I know MySQL
uses if clauses but I think ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: shutting down android sub activity I'm trying to implement a sub-activity to play an mp4 movie using MediaPlayer. In trying to finish the activity with setResult and finish inside of onCompletion proved problematic. Then I started searching and searching for examples of closing a sub activity and learned that it mus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Boost.Regex vs C++11 Regex Could someone explain the differences between the two? Which would be better to learn right now? How would knowledge transfer from one to the other and vice-versa?
A: One major difference is, that C++11 does not provide the Perl syntax for regular expressions. So, if you tend to use Perl ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: PHP curl authentication question I have my own site that store login info only in session.
I need to use CURL to submit form, but trick is you need to login first before you can access page with form. So i tried to create two requests but it dont seem to work as intended even though i do get login on login page page... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Codeigniter: Can't seem to get my edit to work So basically I am trying to combine what I found in these two tutorials to make a working CRUD:
http://fwebde.com/php/simple-crud-with-codeigniter/
http://ie.mirror.twsweb-int.com/codeigniter/user_guide/tutorial/create_news_items.html
Basically, where I am is that I can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Autotools include path I have a directory structure like
Makefile.am
Configure.ac
src/
hello.c
Makefile.am
include/
hello.h
How to specify the include path in Makefile.am of src so that it includes header files from include/ dir as well as c file depends on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Weird control characters in ruby test output inside emacs buffer I'm using ruby-test to run rails tests from inside emacs into the *Ruby-Test* buffer. It works great except that the output is cluttered with ascii color-control characters (not sure what the right terminology is).
Example:
MyTest:
^[[32m PASS^... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: execute sql returned in sql query I have a query that runs against a sql server database that produces a sql statement for each row of the query returned.
EG.
DROP PROCEDURE dbo.[Proc1]
DROP PROCEDURE dbo.[Proc2]
etc
In the same script, how can I execute the sql returned in the query?
A: Check out sp_executesql
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Counting values in table joined several times I have a problem counting a table joined several times.
The question table :
+----+----------+
| id | question |
+----+----------+
| 1 | Foo? |
+----+----------+
The answer one :
+----+-------------+--------+
| id | question_id | choice |
+----+-------------+------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Java - Program accepting negative numbers when it shouldn't I have to make a program that uses nested loops to collect data and calculate the average rainfall over a period of years. First, the program should ask for the number of years. (The outer loop will iterate once for each year.) The inner loop will iterate 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: configure akka debugging Using Akka 1.0 I cannot stop stdout-debug-output although I have set the event-handler-level to ERROR in my akka.conf which is definetely being read correctly.
My sys-out is polluted with these messages:
[akka:event-driven:dispatcher:global-3] DEBUG akka.actor.Actor$ - Scheduling timeout for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using qmake to generate a makefile that has FLTK fluild files? I was wondering if anyone might have an idea how
to use qmake to generate a program that has
FLTK fluid files ?
I have foo.fl that generate fl.cxx and fl.hxx which get compiled.
I don't know how or if it is even possible to get qmake to do this pre-pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OnPreviewTextInput not always providing Text We have an existing application we are trying to replace with a new WPF application.
One of the controls we use in the legacy application has a specialized behavior where the control redirects any text input by the user to be processed externally. After which the result i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Mainline DHT bootstrap process Can somebody clarify me the statement from the specification of mainline DHT?
Upon inserting the first node into its routing table and when starting up thereafter, the node should attempt to find the closest nodes in the DHT to itself. It does this by issuing find_node messages to clo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Learning C# and ASP.NET MVC for a Django/Pylons programmer We have a project coming down the line that's likely going to be in ASP.NET of some sort. I really hope this means ASP.NET MVC :)
I've created a SOAP web service and a small website in ASP.NET (non-MVC) before, so I'm familiar with the bare basics of C#, AS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Social Network Database Design - Friend/Block Relationships I'm working on a social networking site and need users to be able to friend each other and/or block each other. The way I see it, 2 users can either be Friend, Pending, Block, or NULL. I'd like to have a single view that shows a single row for each confirme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: what does the @d mean in ''xterm -display @d' An existing .bat script running on Windows XP has a call to xterm with the flag '-display @d'. I need to alter the display value being passed through to xterm, to point to a different IP address. However, it would help to know what the @d currently stands for and passes ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Class function that creates an instance of itself in Delphi Can you have a class function that creates an instance of a class:
TMyClass = class(TSomeParent)
public
class function New(AValue : integer) : TMyClass;
end;
TDerivedClass = class(TMyClass)
public
function Beep;
end;
and then use it as follows
... ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: css inline list needs width, height and vertical-alignment, for background-image swap on hover, using sprite I have placed the corresponding code at http://cssdesk.com/QSwDG
The sprite (referenced as 'circle.png' in the code) is at:
http://i54.tinypic.com/34jas79.png
Objectives:
- To get the list items inline while ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Silverstripe: Excluding current page from list of the parent's children Using Silverstripe's "ChildrenOf" syntax, I've been successfully able to list all children of a page's parent. It's being used in a "see also" style list on a page.
I'd like to exclude the current page from the list but unsure how to determine w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combining several tables with some common fields into a single table I have a series of text files (one per year) which contain the answers to an annual survey/questionnaire. Column headings in the files refer to question numbers, and each row represents one person's answers to the questions e.g.
Q1, Q2, Q3, ...... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to merge Setup.exe, Setup.msi and .NetFramework prerequisite in a single installer? How can the setup files and prerequisite files from a vs2010 setup project be merged together?
..in my release directory there are 3 files:
setup.exe
Setup1.msi
DotNetFX40Client/dotNetFx40_Client_x86_x64.exe
and I need these fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to find average without using group by statement in sql I want to know if its possible to get the functionality of group by with using it.
I need to find average without using group by.
basically I am looking for an alternative for the below simple query without using group by.
SELECT
AVG(salary)
, g.emp_id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I define an XSL variable and assign a value in xsl:choose I want to define a variable named 'category' in XSL, assign a value to it, and reuse that variable a bit down in my code.
if objecttype=1 the variable value should be 'car'
if objecttype=2 the variable value should be 'bus'
How can I achieve that?
<xs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Exporting data to excel in vb.net I am unable to export my data into excel.
I have tried the suggestions on S/O, but have not had any luck.
Dim sqlString As String = "spExportRateProfile" & Session("OfficeNumber") & "," & Session("SalesRepID")
Dim conn As SqlConnection = New SqlConnection(Utils.Get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Command /usr/sbin/chown failed with exit code 1? Each time I try to archive my application to submit it to apple Xcode keeps giving me this error! I'v Triple checked that in the Cocos2d libraries Target i made that my Install Group & Install Owner are correct and i;v restarted my computer & reinstalled Xcode. It run... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Change last octet of IP returned by gethostentry Was wondering if anyone could help me out here. I don't dont much with c# but its easy for what im trying to do.
I am making a small application that will take in the hostname on my network and then return the full ipaddress(ipv4) ....From there i have options to pi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to export Jar with Jfreechart library I am looking to export a Java project into a Executable Jar file from eclipse.
I have tried to export from Eclipse a) as Jar b) as Executable Jar. There are Jfreechart libraries in project, although I check the option "export all referenced libraries" the UI run from export... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I access the nth character(s) in an NSString? I've got HEX colors as NSStrings and want to check if a particular string contains an F at the first, third, or fifth character, but to ignore it if it contains an F at the second, fourth or sixth character.
This is to identify if the color in question is a light... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Auto-responding to http traffic on local computer I am looking for a small utility that can perhaps sit in the tray that functions similar to Fiddler's Auto-Responder. I would be willing to write such a utility that supports taking a request and responding with data located in a file containing the response headers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: adding mobile browser detection, rule selection, into a ruleset I would like to add functionality to a ruleset that fires a distinct rule based on whether or not the browser is mobile or not. (one rule fires for a standard browser, a different rule fires for a mobile browser) I know that the browser detection can be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Oracle query that will list of the database objects referenced by a view Is there an Oracle view that will list all of the database objects referenced by the DDL of a given view, procedure, or function?
So if a view is defined as:
CREATE OR REPLACE VIEW_B AS
SELECT * FROM TABLE_A INNER JOIN VIEW_A
running a query o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java searching option I have drop down that has list of column name. When user selects column name and enters serach value i populate the page but I am trying to bring everything from table if they dont enter search value but seleted one of the drop down column name. I tried to do this way if search value is null do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I use C libraries in assembler? I want to know how to write a text editor in assembler. But modern operating systems require C libraries, particularly for their windowing systems. I found this page, which has helped me a lot.
But I wonder if there are details I should know. I know enough assembler to write pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Objective-C JSON - Convert JSON object to native object? {"status": "FRE", "list": [{"make": "Toyota", "id": 1, "model": "camry", "engine": "Four Cylinder"}{"make": "Ford", "id": 3, "model": "focus", "engine": "Four Cylinder"}]}
How do I extract each "car" JSON object and put it into a native object? I'm using SBJ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove an attribute option in Magento? For example, I want to delete an unnesesary option for a customer's entity "gender" attribute. How can I do this programmatically (not from admin panel)?
A: you can disable this attribute from system > configuration > customer > customer options > name and address optio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Inline if Statement not working For some reason, when I add the ternary if statement to this bit of code, a NullPointerException is thrown. I'm not sure quite why...any ideas? This is the method for jqGrid - returning the Json data.
var gridModel = from entity in vendorList.AsQueryable()
select new
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Send http headers from servlet to app in another environment I need to send a request from a servlet to an application running in other environment (IIS) with certain information in custom headers.
I know redirecting doesn't send the headers and getServletContext().getRequestDispatcher(url) is to be used in the serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: UIViewController encodeWithCoder fails when view contains a UIButton with custom image Basically, my problem is exactly what it says in the title. When I try to encode a subclass of UIViewController, calling [super encodeWithCoder] gives an NSInvalidArgumentException. Specifically, I get -[UIImage encodeWithCoder:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't we have automatically deduced return types? Recently I was working a friend who wanted to make C++ more Haskell-y, and we wanted a function that's basically like this:
auto sum(auto a, auto b) {
return a + b;
}
Apparently I can't use auto as a parameter type, so I changed it to this:
template<class A,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: PHP multidimensional array recursion problem
Possible Duplicate:
Walk array recursively and print the path of the walk
Anyone can help me on this code?
<?php
function buildMenuWalk(&$array, &$depth, $currentDepth = 1)
{
# start new level html
$html = '';
# walk till the depth defined ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How would I achieve a unique result using the Linq method syntax I have the following data in a table:
e.g. data
0, 'Ford'
1, 'Toyota, Toyota'
2, 'BMW'
3, 'Porsche, Porsche'
4, 'BMW'
I need to place this data in the following type List<Tuple<int, string>> carList so that the results within my list woul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JQM back button binds itself to every click event when it isn't targeted Using jQuery Mobile (jquery.mobile-1.0b3.min.js). If i apply a click event to a form, the back button seems to get the click event binding as well. It does this no matter how specifically targeted to an element the selector is. For example:
Usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .net JSON Date format As response from .net service I get this date format:
/Date(1233323754523+0100)/
1233323754523 is date in timestamp format, but I don't know what +0100 mean and how to generate this from java code?
Thanks
A: I assume that the timestamp is in UTC and the offset is the UTC offset of the desire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: agrep function in R I am trying to isolate the strings "24!!07!!10", "15!!08!!12", and "10!!08!!12" from the 4 lines of data below.
> z
LEGAL
1 MAP #1166
2 SE1/4 NE1/4 24!!07!!1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update a widget from a service I'm trying to update a widget from a service... the service start a thread that execute this code
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(Worker.this);
RemoteViews remoteViews = new RemoteViews(Worker.this.getPackageName(), R.layout.mywidget);
ComponentName pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a correct way to mask a 15 digit credit card number? 15 digit bank card numbers are formatted 0000-000000-00000[1].
If I show the last 4 digits, it becomes xxxx-xxxxxx-x0000 which looks slightly goofy.
Is there a correct way to format a masked 15 digit number?
(I expect we will not show more than the last 4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: XML Encoding error while writing it in to file I think I am following the right approach but I am still getting an encoding error:
from xml.dom.minidom import Document
import codecs
doc = Document()
wml = doc.createElement("wml")
doc.appendChild(wml)
property = doc.createElement("property")
wml.appendChild(propert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to select element name, not value, using XSL/XSLT? We are using XSL to convert a XML file into a pipe-delimited format.
<?xml version="1.0" encoding="UTF-8"?>
<ns:tradedata xmlns:ns="http://schemas.com/enterprise/util/extractservice/v1">
<tradedata_item>
<ORDER_ID>113632428</ORDER_ID>
<CUSIP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript Event Listener on Text Field I have a text input on a form that I need to check if the value has changed at anytime. Essentially the text input is a date field and I'm using a 3rd parties script to popup a calendar where you can select a date which is then set as the text field value.
So here is my probl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: asp:TabContainer not styled after deployment, then just fixes itself? I have an asp:TabContainer on a form and after the app is re-deployed to the server, the tabs aren't styled. If I take the Webresource.axd URL and try to load it in the browser, I get a redirect to a login page, so it seems like an authentication... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: About generating sound waveform in an ActionScript 3 Bitmap I am generating Bitmap object to show the sound waveform of a loaded sound. The bitmap is 1024x120 and after it has been generated I shrink its size to 655x120. My problem is the player that loads the bitmap in task manager becomes 260MB heavy.
I am also ad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why doesn't this CSS :first-child selector work? I'm working on an Asp.Net MVC 3 project and have run into a brick wall on why this doesn't work like I think it should.
My markup is:
<fieldset>
<input type="hidden" value="2">
<div class="editor-label">
<label for="Name"> Name</label>
</div>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Which parser generator would be useful for manipulating the productions themselves? Similar to Generating n statements from context-free grammars, I want to randomly generate sentences from a grammar.
What is a good parser generator for manipulating the actual grammar productions themselves? I want the parser gen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How is insertAdjacentHTML so much faster than innerHTML? About a month ago, Firefox 8 implemented the insertAdjacentHTML method, which was added to IE4 along with innerHTML. According to this benchmark, insertAdjacentHTML is usually an order of magnitude faster than innerHTML.
I assume both call the same HTML parser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Change C object instance to Python subclass Is it possible to change a class of a C object to a python subclass?
I am using PyGTK, and I have a ListModel that I have wrapped my own class around, but I want to turn it into a TreeModelFilter. The directions tell me to create it by doing:
class MyListStore(gtk.ListStor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: capturing project/product whiteboard: recommendation webcam + webapp solution We are doing kanban and have a whiteboard with colored stickers. As sometimes the team is distributed (like home office) we need to have another visual access to that board. We want to do this with stationary webcam everybody can access.
O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook Like Meta Tags not showing correct image
Possible Duplicate:
How does Facebook Sharer select Images?
I'm using javascript to set the metatags for og: values and the FB Debugger is telling me that I need to explicitly set the meta tags for URL, Title and Image. I am seeing the metatags show up correctly i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make browser not to refresh full page when it goes to URL? I tried to understand - is it any method to ask browser not to refresh entire page when user clicks onto . Hash adding method is seen - I need another method, working with links without hashes.
May be any headers should be sent ? Or something another ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL update function, know which cell I want, how to find row I want to update a row like this:
_id, AttributeA, AttributeB, AttributeC
I need to find a row based on AttributeC so that I can update it, lets say the desired AttributeC contains value "X"
How would this be done?
I believe this would be done with a WHER... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get right page? I use htmlunit library for scrapping Yellowpages.com site. I want to type search term into and click on Find button. But after that I get 2 pages: http://www.yellowpages.com/ny/sport?g=NY&q=Sport and https://dealoftheday.yellowpages.com/join?ic=deal_pop-under_signup-v-
First one is what I want... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: facebook app not redirecting when aurizing When I first authorize a user it goes and stays on the Canvas URL(my site) instead of redirecting back to the Canvas Page on facebook.How can I make sure once the user authorizes they go to the Canvas Page?
$(function() {
FB.init({ appId: 'myappid', status: true, cookie: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How dangerous is Django's built in test server when run remotely? Concerning the built in debugging server started with the manage.py runserver command, the Django docs state, "DON’T use this server in anything resembling a production environment."
If I wanted to develop a Django application over ssh on a remote m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: In C, how to initialize a pointer-to-pointers from inside a function? Following this answer, I made a simple example to be sure I properly understood:
#include <stdlib.h>
#include <stdio.h>
typedef struct
{
int x;
} data;
void fill_data (data *** ptr_all, int l)
{
int i = 0;
*ptr_all = (data**) calloc(l, siz... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I preserve directory structure when compiling CoffeeScript? I am new to Coffeescript and I wonder where I should put them.
Eg. I have my app folder:
app/app.js
tests/unit/all.js
etc
When I use the "coffee" runner on node.js to watch my files in the root folder it will generate js files to a folder I specify ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Rails devise registration How can I modify attributes of User instance before save in custom registrations controller, inherited from Devise::RegistrationsController?
A: You gave the answer yourself. In your model do:
class User < ActiveRecord::Base
before_save :set_attributes
def set_attributes
// ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Cannot uninstall Language Pack 0 because it is not deployed" when attempting to uninstall-spsolution on sharepoint 2010 foundation I continue to get this error message "Cannot uninstall Language Pack 0 because it is not deployed" when running the uninstall-spsolution cmdlet. I've attempted a number of alternate sy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Android - Save HTML 5 Canvas to png I have a webapp that uses an HTML 5 canvas to allow the user to draw.
I need to save this to the sdcard as a png.
I can get the base64 by using .toDataURL() but I can't figure out how to use that to save the file.
I am using Phonegap, not sure if that can be used to help.
Or m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting controls in a Telerik GridView cell Here's a concrete example of what I am attempting to do with the Telerik GridView control. Let's say I have an application that will read a delimited file (say CSV) which will have n columns. The value n can vary from file-to-file but is constant within a file. The applica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Automatically dismiss underling modal view I'm sharing this as it took me A while to figure out. This is if you need to get rid of a double stack of modal views IF it is pressent.
if(self.parentViewController.parentViewController)
[self.parentViewController.parentViewController dismissModalViewControllerAnim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to force html/css padding/margin on an element? How can I add/force bottom margin/padding to the following <a> element ?
<p>
<h31>Testing?</h31>
<a style="margin-bottom: 200px">Create a new Entry</a>
testing padding
/*more stuff here...*/
Styles are very convoluted and the margin-bottom: 200... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Filling multidimensionnal array in JavaScript I've a little problem in JavaScript.
I need to get an array width date as keys and events as values.
In PHP I would do something like this :
$var = new array();
Loop
$var[$date][] = $event;
End loop
Do you know what I mean ?
Thanks,
Regards
A: In javascript, you can cr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: coldfusion using cfoutput with a variable in a variable name I've got multiple files that have are using the same template cfm files
I have chunks of content of the pages in a template file content.cfm that I can retrieve through various variable names : content_home content_contact title_home title_contact
I'd like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Error while getting properties types of large class in objective-C In Objective-c, I am trying to get properties of some Object that contains about 14 property using the following code:
-(NSDictionary*) getPropertiesOfClass:(Class) clazz
{
NSMutableDictionary* dict = [NSMutableDictionary dictionary];
unsigne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PicklingError caused by p4a.calendar.interfaces.ICalendarSupport when migrating from 3.3.5 to 4.0.7 I am trying to migrate a Plone 3.3.5 installation to 4.0.7.
Before migrating, it was decided that Plone4Artists Calendar should be removed.
We followed the procedures proposed here http://plone.org/documentation/kb/c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How should I share Maven DepdendencyManagement from multiple sources? I have a Maven project multimodule project. Some of the modules create custom packaging for the libraries produced by the other modules. The packaging being used has its own suite of versioned dependencies that I need to play nice with.
As an ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Common lisp, undefined intersection function behaviour? According to CLHS entry for the INTERSECTION function (http://www.lispworks.com/documentation/HyperSpec/Body/f_isec_.htm):
For every pair that satifies the test, exactly one of the two elements
of the pair will be put in the result.
My problem is that i need ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Load Multiple Functions from a Single File in Matlab
Possible Duplicate:
Is it possible to define more than one function per file in MATLAB?
Is it possible to load multiple functions from the same .m file in Matlab? I find it cumbersome to create a single file for each function for many small alias utility functi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Gson on Appengine I am trying to use Gson to parse a class for storing as a blob on Google Appengine. I have added the file gson-1.7.1.jar to my build path and the web-inf/lib folder. My app compiles fine, but when attempting to run, the program fails with an error on Gson g = new Gson();
The error message is:
java.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When to "release" after setting a property/instance variable? We have a property declared:
@property (retain) MyClass *myProperty;
What is the difference between this one from Apple example Code:
MyClass *aux = [[MyClass alloc] init];
myProperty = aux;
[aux release];
and this one:
myProperty = [[MyClass alloc] ini... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to clear specific marker with gmap3 I got a simple code that generate 10 different marker, actually i use :
$("#test").gmap3(
{action:'addMarker', name:'marker', latLng: (my lat & lng value)},
... (10 times)
});
In order to clear my marker i user {action:'clear', name:'marker'} bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to download file from filesystem in rails 3 I have a filesystem in my app where files are been uploaded via paperclip and i dont know how to download the uploaded files that have been saved in the file system. if i do something like this <%= link_to "Download", file.video.url %> it brings out the download dialog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When to call YUI destroy? When should destroy be called? Does it ever get called automatically by YUI lifecycle? Does the page unload cause the YUI lifecycle to call destroy on all objects created during the page processing? I have been working under the assumption that I need to make all my own calls to destroy ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iOS App Version Upgrade - Does Bundle content get deleted? Looking for some concrete detail on how version to version upgrade works in iOS, specifically what happens to bundle content that has been removed in the new version? For example, if version 1.0 has a file called "foo.png" in the bundle, but version 2.0 does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Flex 4 States -- "correct" syntax OK, can someone please tell me the REAL syntax for doing states in mxml in Flex 4???
I've seen both of the following (and implemented both) and don't know which way is "right" or preferred.
In the <fx:Declarations>
<fx:Declarations>
...
<s:State name="state1" />
<s:State name=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OpenGL: glGenBuffer vs glGenBuffersARB What is the difference between the functions glGenBuffers()/glBufferData()/etc, and the functions with ARB appended to the function name glGenBuffersARB()/glBufferDataARB()/etc. I tried searching around but no one ever points out the difference, merely they just use one or the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: beforecopy event If you go to the Google Chrome developer tools then Scripts > Event Listener Breakpoints > Clipboard you will find the event beforecopy. Two questions:
1) What is it?
2) Why is it useful?
A:
Occurs before the selection is copied to the clipboard and before the
oncopy event.
*
*In Intern... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to read an inode table from an ext2 block group? In writing an ext2 driver for my hobby OS, I ran into a problem reading the inode table from a block group descriptor.
The third field of the block group descriptor is the block ID of the inode table for that group. In my case for the root directory of my file sys... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Effecient MySQL SELECT for text in columns in InnoDB I have a large large table (InnoDB) that essentially has a location name with the location's latitude and longitude. my query is something like
SELECT columns FROM table
WHERE latitude BETWEEN latMin AND latMax
AND longitude BETWEEN longMin AND longMax
AND loca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TortoiseGit shows clean directory as conflicted I have a git repository that I'm working on which I am using TortoiseGit to manage in Windows. Show modifications and diff show that there are no differences between working directory and head. However, a little red X shows up over one of my folders.
Is there a way... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Inverse filtering on OpenCV - accessing DFT values and multiplying DFT matrices I am trying to perform an inverse and a pseudo-inverse filtering in the frequency domain.
However I am having trouble accessing DFT coefficients and multiplying DFT matrices afterwards, since I got complex numbers and, therefore, actuall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7589999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: ARM v4 Returning the value stored in r0 from a C function making a SWI call I've got a function as follows:
int foo()
{
asm("swi 1");
}
The underlying handler for swi 1, places the return value correctly into r0, I want foo() to correctly return this value. ARM-ELF-GCC warns about control reaching the end of a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7590007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get .val() on keydown *not* keyup I'm writing a library that amends a widget to a text area, so I need to detect when the user starts typing something:
this.$input.bind('keydown keyup', function() {
if (this.$input.val() == …) { … }
}
The .val() only updates when keyup is triggered. That's too much of a delay. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7590011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do these Android location options affect the LocationManager isProividerEnabled method? I'm trying to figure out the location services options under Android 2.3.3 on my Verizon Droid X, I have 3 options:
*
*Google location services
*Standalone GPS services
*VZW location services
Enabling or disabling Go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7590014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Avoid multiple columns in printing FlowDocument I am writing code to print from a FlowDocument.
PrintDialog printDialog = new PrintDialog();
bool? result = printDialog.ShowDialog();
if (result == true)
{
FlowDocument fd = new FlowDocument();
fd.Blocks.Add(new ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7590022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: when to use the various sort methods of NSArray? The doco explains what the NSArray sort methods are, but is anyone able to give a bullet point say on when/why you'd use a particular method? i.e. under what circumstances in you code would you use method XXX over method YYY. For:
*
*sortedArrayUsingComparator
*s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7590027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Python non-ascii characters I have a python file that creates and populates a table in ms sql. The only sticking point is that the code breaks if there are any non-ascii characters or single apostrophes (and there are quite a few of each). Although I can run the replace function to rid the strings of apostrophes, I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7590030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Append a word between empty element How can by jquery know that if between a element is empty append between same element word "there is not"?
<div>Ok</div>
<div>No</div>
<div></div> // i want append between this div "there is not" that is empty. Like: <div>there is not</div>
<div>Hello</div>
A: Try -
$("div:empt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7590032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.