text stringlengths 8 267k | meta dict |
|---|---|
Q: How does GitHub change the URL without reloading a page? Go to any GitHub page and click on any of the directories/files and observe how the URL changes but only part of the page is updated. There's no whole page reloading.
How do I do something similar using jQuery?
Does this work on most browsers (I'm using Chrome... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Loadin new images with jQuery How can i load a new image in place of another using jQuery?
I hope to do this possibly by clicking a button for previous or next. See below for an example. Important: i dont know how many pictures on server (1 or 100). So, i cant load them all on web page load. and cant do array in jav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Capybara switch_to.alert (dialog box) intermittent failure I'm trying to interact with a dialog box in FF using RSPEC / Capybara.
Found a elegant solution in: How to test a confirm dialog with Cucumber?
page.driver.browser.switch_to.alert.accept
However we're getting intermittent failures when the switch doesn't ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: detect printscreen simply put I want my program which runs in the background to check whether the print screen button has been pressed (which mostly triggers a function within another program to generate a screenshot of the current window. eg a game screen).
I have seen lots of possible answers, but most seem overki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Zend subform view script render I would rather not deal with decorators as my form design is not exactly straight forward, but i would like to keep the functionality of validating the forms.
So i have it set up where sub forms are working correctly, but when i try to style it manually in my viewscript i get the nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Determining whether a feed is Atom or RSS I'm trying to determine whether a given feed is Atom based or RSS based.
Here's my code:
public boolean isRSS(String URL) throws ParserConfigurationException, SAXException, IOException{
DocumentBuilder builder = DocumentBuilderFactory.newInstance()
.n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: CALayer delegate callbacks in a UITableViewCell - Workflow I'm using several CALayers to draw my content in a UITableViewCell subclass. The actual drawing is supposed to happen by calling the CALayer delegate method drawLayer:inContext:. However the delegate methods never gets called.
Here is my structure:
*
*Cu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you get the type of widget used by a Django form field? I've got a form factory that dynamically builds a form based on data coming back from the MailChimp API. I'm building a test case for each of the types of widgets that the form may use (select, radio, and checkbox). Right now I'm searching for a substrin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Help with CSS navigation, text positioning and spacing All,
http://rich2233.comoj.com/
Three things I want to do:
*
*I need the navigation bar to sit below the header. This is probably
a simple fix, but for the life of me, I can't figure it out.
*I need the text in the navigation to be centered vertically.
*H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Combine three tables into one when viewing I have three tables as seen in this image and I want to present it as seen in the last table. I can't figure out how to solve it - right now I'm using three nestled calls to display it.
First I loop through Customer to display all of them. Inside this loop I have a loop th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Seeker For Media Player I would assume that someone would have found an easy solution to this but I haven't found a straight-forward method. I want to build a seeker bar for playing back audio through the MediaPlayer. I haven't been able to find something like an onSeekChanged listener in the MediaPlayer object so I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to create a bar that stays on top when scrolling? I'm trying to create a div that stays fixed on top when a user scrolls down and when he scrolls back up, goes back to the original position.
I need this exact same behaviour that 9gag offers -> http://9gag.com/gag/293756
Thanks!
A: Do the following:
*
*Creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Silverlight: ScrollIntoView, find the column number where a control is I need to scroll into a specific cell in a datagrid in silverlight, i'm trying to use the ScrollIntoView method, but I need the column and I don't have it.
How can I scroll into a specific cell in a datagrid control?
Thanks in advance.
A: I thin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CoffeeScript Refactoring shared variable I'm new to CoffeeScript and trying to understand how to refactor this example. Since both functions share canvas and context is there a way to pull them out side the functions and share them instead of repeating myself? I'm sure it is something obvious I'm missing, but I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is the probability of collision with a 6 digit random alphanumeric code? I'm using the following perl code to generate random alphanumeric strings (uppercase letters and numbers, only) to use as unique identifiers for records in my MySQL database. The database is likely to stay under 1,000,000 rows, but the abs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Programmatically call a firefox extension from javascript I have seen this excellent firefox extension, Screengrab!. It takes a "picture" of the web page and copies it to the clipboard or saves it to a png file. I need to do so, but with a new web page, from an url I have in javascript. I can open the web page in a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Move a file using bat from folder I'm trying to move a file from the folder the batch file is in to a folder on the C:\ drive, and I just can't figure out how.
I tried using dir to get the parent folder, but it registered an error.
What would I use?
move dir\test.bat C:\Some folder
A: I think you are missing the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Question about rendering .tiff image in HTML In my html page, I created an tag to render some of my .tif format images.
Since .tif images can not be rendered directly in "src" attribute of the tag, so I created the following code to render it:
<object width="200" height="200" type="image/tiff" data="Test.tif">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I pass a variable from inside a movieclip into another movieclip in Flash? The title kinda says it all..
I am creating a quiz and I set one quiz block with questions into a movieclip. When the person answers the correct answer I want it to add to a counter and pass that value onto the next movieclip. So movie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Disable chunking per request I have a web service backed by a Java Servlet. The service is used by an older version of Flash. We discovered through some pain that in this version of Flash, URLLoader won't work with chunked responses. Any chunked response is never received from the server.
I am using Glassfish to hos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Are Process::detach and Process::wait mutually exclusive (Ruby)? I'm refactoring a bit of concurrent processing in my Ruby on Rails server (running on Linux) to use Spawn. Spawn::fork_it documentation claims that forked processes can still be waited on after being detached: https://github.com/tra/spawn/blob/master/l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: time() to DateTime I have an application that uses time() to record the time a topic was posted. I have done this for a long time and the only glitch i ever had with the method was that the time was always off by an hour (mainly a DST issue i never looked into).
I'm want to switch to the DateTime method, since I'm a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cakephp Acl Component and Inheritance cakephp acl component make roles like this:
*
*admin
*
*add_post
*delete_post
*edit_post
*view_post
*add_link
*delete_link
*edit_link
*view_link
*add_page
*delete_page
*edit_page
*view_page
*
manager_1:
*
*a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: performing tests over variables in SAS I was wondering if it was possible to perform a ttest (proc ttest) over all variables in a dataset in SAS. Possibly through looping over the data?
Here's what I have currently but it's not running correctly:
data test;
set work.wisc;
array Avar(30) V1-V30;
do variable = 1 to 3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: GlPaint not accepting my image for brush Ok I'm not sure how much details I can really give, but I'm having a crazy weird problem. I'm using the GLPaint code in my app from Apple, and the PaintingView.m code is the same exact code from Apple-nothing else. Yesterday, everything was working fine and the brush image fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Batch To get Count Of 0 Byte Files I'm trying to run a batch to get the number of 0 byte files in a directory. If the count is one or more then I want to delete the files otherwise quit. Here is what I have so far.
@echo off
if "%~z1" == "" (
echo File does not exist.
) else if "%~z1" == "0" (
echo File is emp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Exporting Layout Positions for a Graph Using NetworkX After generating x/y layout coordinates for a graph in NetworkX, how do I export the graph, along with node positions, as part of the node definition using something like GraphML?
The layout algorithms don't seem to annotate the graph directly? Or do they?!
A: T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: itunes music developer app referral How do App developers get a referral bonus for sending users to the itunes store to purchase a song? If i'm not mistaken theres a 30% referral bonus, so to speak, just trying to determine how to tap into that.
A: It's documented here. I'm pretty sure the referral fee is 5%. Not 3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PHP file download problem: Server freezes for several minutes when user cancels a download then retries I'm using the following the PHP script to download a 20mb file:
(filepath & filename are set earlier in the script)
$fullPath = $filepath.$filename;
if ($fd = fopen($fullPath, "r")) {
// http headers fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WP7 dragging a pushpin on a map Does anyone have any insight into how to implement a draggable pushpin on a map on a WP7 client running Mango? I have a pushpin bound to a geo-location on a map and I want the user to be able to drag it on a map and record its new location. I've seen some resources, but they're for n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is it hard to beat AOT compiler with a JIT compiler (in terms of app. performance)? I was thinking that JIT compilers will eventually beat AOT compilers in terms of the performance of the compiled code, due to the inherent advantage of JIT (can use information available only at runtime). One argument is that AOT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "44"
} |
Q: Workaround for TextField bug in FP 10.3.183.5 and 10.3.183.7 I have a client who is having a big problem with an AS2 application we developed a few years ago.
As far as I can tell, it is being caused by an acknowledged bug in recent versions of Flash Player (see http://forums.adobe.com/message/3859034 and https://bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I modify the output of the PRINT function using Tie with a Moose implementation? I can't exactly wrap my head around TIE just yet but the examples ( example-1 example-2 example-3 ) I've seen so far use a non-Moosy implementation, is there anyway to do this:
package MY_STDOUT;
use strict;
my $c = 0;
my $malfo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Utf8 Linux filenames and C I am working at a OS independent file manager, using SDL_ttf to draw my text.
On Windows, everything works well, but on Linux I have to use the UTF8 functions of SDL_ttf, because the filenames can be UTF8 encoded.
This works well, but if I have my own C string (not a file name) such as "Ää... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Service not saving SharedPreference for Main Activity? I am using a service to download and retrieve a list of URL's and put them in a sharedpreference.
With this..
SharedPreference images_article = this.getSharedPreferences("images_articles", MODE_WORLD_READABLE);
editor.putString("article2", urlImage2);
editor.put... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Initializing array on the fly in constructor (Java) public class A{
public A(int[] a){}
}
public class B extends A{
public B(double[] b){
super({b.length}); //ERROR
}
}
I want to be able to compile the code above. To clarify, I have class A and B that extends it. Class A does no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to Parse a Glossary Section of a Website with BeautifulSoup & strip HTML tags I'm trying to Parse this page
http://www.lib.uts.edu.au/about-uts-library/corporate-information/library-glossary
and get just the
Title,
Description
for each section and that's it, no tags.
I parse the page and try to search for all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting/setting a global variable in InstallShield I have InstallScript code that executes a particular task. The task will either work or will not work. If the task works, I want to set a global variable to 1. If it does not work, I want to set a global variable to 0.
Somewhere down the line, I have another Inst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Iterative piping implementation for linux in c I know this question gets asked a lot but I am still really confused as to how to go about fixing my problem. I have attempted to write code that handles command line input for the possibility of several pipes. However, I am unsuccessful and my code, although executing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: using if with scope on model I am trying to make a named scope called :current_season where the it will correctly identify the records associated with the year we are in. Mostly easy enough except I want everything June and later to use the current year and everything prior to June to use the previous year.
in rail... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: JSON read 4700 records from database My android application use this code for to read and import 4700 records from mysql database on the web with JSONArray :
@Override
protected String doInBackground(Void... params) {
try{
httpclient = new DefaultHttpClient();
Http... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to display point cloud in vtk in different colors? I have a point cloud which I want to visualize in vtk. I want to see them in different colors depending on some conditions. I am using python.
Any suggestions on how to do that?
Thanks a lot
A: Here is an example that sets the point color based on z-axis value.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: can't have a file larger than 10*10 characters what makes it only be able to input 10*10 text files
package game;
import java.io.*;
import java.util.*;
public class Level {
static public void main(String[] args) throws IOException {
File f = new File("Data1.txt");
int[][] m = Map(f);
for (int x = 0; x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic linq: passing entire query as string Looking at Dynamic Linq, it's possible to use strings to define the key parts of the query. My question is, is it possible to pass the entire query in as a string?
ie: var foo = "from..."
A: That's not possible in dynamic LINQ -- dynamic LINQ only replaces specific piec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Installing Remote Zoom-In on non-dev PC When developing for Windows Mobile I use "Remote Zoom-In" to take screen shots of the mobile device. This is part of Visual Studio 2008. I want to install this on a document-writer's PC but I don't want to install Visual Studio. How can I do this?
A: You can't install Remote ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: android-Java- converting a WeakReference to a normal Bitmap Ive been working on an app for a while that uses lots of Bitmaps and Ive gotten it to the point where its working really well on most devices that Ive tested it on except for a newer droid bionic that runs 2.3.4
I get an out of memory error and I can see th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How To make scope of variable Global(Without making it actually Global) How can I make scope of a String variable(In Java) global.So that it is accessed from another function
Eg
//String b="null"; I don't want to do this... because if i do this, fun2 will print Null
public int func1(String s)
{
String ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: counting source code lines in python project How do I calculate the number of lines written in a project containing multiple sub dirs in a python project. for example a dir structure is like
A
\ <*some files here*>\
B
\ <*some files here*>\ ... and so on...
A: You could use the find utility in linux.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Import troubles Here is part of my module: gm.py
def avg_list(list):
sum = 0
for num in list:
sum += num
avg = float(sum)/len(list)
print avg
def median(list):
i = len(list)
if not i%2: # if i divided my 2 has no remainder
return (list[(i/2)-1]+list[i/2])/2.0 # return t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WPF height and scroll at listbox - imposible To keep things simple all i am trying to do is to place a listbox and a button below it. Although it seems simple it isn't. It is not, because it is in a GRID...
The row size is star size and listbox having verticalAlign top works great all the time. The problem is that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: LINQ to XML issue due to xml namespace I am trying to use Linq to select from XML. Here is an example of the XML:
<?xml version="1.0" encoding="UTF-8"?>
<listingexport xmlns="http://websitexmlfeed.com/webservice/2/listings"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://websitexml... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How does one install the FFTW package under Fedora and get Octave to recognize it as loaded? All the references to FFTW in Octave make it sound like it is a package only for Octave (not quite true, but close), and give instructions for installing a tar.gz file by typing on the Octave command line, "pkg install ". Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to send inbox messages with facebook sdk php I would like to send a private message to inbox, like:
$facebook->api('/me/feed','POST',array(
'message'=>'mensagem aqui',
'name'=>'nome aqui',
'caption'=>'caption aqui',
));
but send it to inbox.
it's possible do to?
I mean it:
A: Not possible. See Facebook Permis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What does "./" (dot slash) refer to in terms of an HTML file path location? I know ../ means go up a path, but what does ./ mean exactly?
I was recently going through a tutorial and it seems to be referring to just a file in the same location, so is it necessary at all? Can I just not use it if that's all it's doing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "302"
} |
Q: If NoSQL is schemless how can it be good for massive updates? I was thinking in a schema for a problem where "people" got a country, in RDBMS i can make two tables, one for people and other for country and make a key to connect the two... if i want to change the name of a country then i just change it in "country" t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Editing xml using SQL I'm new the xml data type in SQL Server. I have a field with some xml that I want to edit. In essence I want to delete certain nodes if they have a certain datatype or value. There are many subtype nodes and each subtype can have many SubtypeFieldInfo.
In cases where a SubtypeFieldInfo node con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Fast n-gram calculation I'm using NLTK to search for n-grams in a corpus but it's taking a very long time in some cases. I've noticed calculating n-grams isn't an uncommon feature in other packages (apparently Haystack has some functionality for it). Does this mean there's a potentially faster way of finding n-grams... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: iframe alternative Before I ask my question I have gone through this: Better alternative to an iframe?, and haven't found a solution to my problem, or maybe I did not understand correctly!
I have a HTML-page which contains a Dojo-tree on the left hand side. When I click on an element on the left-hand tree (Say eleme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Drupal Installation PDOException http://localhost got problem:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal_test.semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => variable_init ) in lock_may_be_available() (line 165 of /var/www... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Using Code Project (CPOL) licenced code on Google Code I have a piece of software that I would like to open source via Google Code Project Hosting. The problem is that I have used some code from Code Project which is licenced with the Code Project Open Licence (CPOL).
Are any of the available licences I can choose f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a difference between calling a member function from a leaf class in or out of the destructor body? I have a specific case which is hard to isolate in a code snippet here but I can explain it...
I have a class A : public B and A has a member pointer of some type foo * f. In the virtual destructor for A, I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Looking for windows equivalent of the unix script command The unix command "script" allows a user to run programs/commands, and when ctrl-d is pressed, the output is written to a file. A timestamp of the session is also written in this file. Is there is a equivalent command in Windows/Visual Studio?
A: is Cygwin an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Renaming MS-DOS internal commands Is it possible by any means to rename the internal commands of DOS? Firstly, I am doing this to learn a bit about the internals and possibilities of DOS. So far I have changed the internal command CLS to XLX (on Windows XP). But the command name XLX isn't executing. I am attaching 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how do you pass a parameter to a function when it is called by reference? I've created a global variable to pass informatin to a method that is called via a method reference
d_g.onerror=i_bm_err_fix;
I tried passing it the variable like this(below) but it did not work.
d_g.onerror=i_bm_err_fix(d_g);
All I'm trying... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OnCheckedChanged event not firing when Checkboxes within Repeater are checked I am a relatively new developer, and have only been doing this for about 6 months full time, so thank you in advance for reading and/or responding to my question
I have a databound repeater. Inside this repeater, I have a gridview, SQLDS, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is the correct type required for the delete operator in C++? void * intptr = new int;
delete (int *) intptr;
Is the (int *) type cast required?
A: Yes. Since C++ is not an everything-is-and-object language, the delete command must know the type of what you want to delete in order to know how to delete it.
A: Yes.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Setting multiple truststore on the same JVM I have an Java application running on a weblogic server. The application has two distinct modules which use SSL to connect to external web services - let's say module A and module B.
Module A - Built on Axis - Uses truststore A
Moudle B - Built on Spring-ws - Uses truststo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: TeamCity Visual Studio Plugin We use TeamCity at work. It would be nice to be able to keep an eye on checkin, build, and test run status without having to have a browser window open.
I have seen references to a TeamCity Visual Studio plugin here and here. The second page is their Professional vs. Enterprise Editio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Find string in another string using python Lets say that you have an email address xxx@yyy.com and you want to create something like this in python:
email = 'mystuff@yyy.com'
try:
if "@yyy.com":
#do something
if "@zzz.com":
#do something else
except:
#do something
How would I do this?
A: email_add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a self resizing grid of buttons in tkinter? I am trying to create a grid of buttons(in order to achieve the clickable cell effect) with Tkinter.
My main problem is that I cannot make the grid and the buttons autoresize and fit the parent window.
For example, when I have a high number of buttons on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "61"
} |
Q: Create an xtable of a data.frame containing logical values I want to use xtable to display a simple data frame containing two vectors with logical values:
ia = c(TRUE, TRUE, FALSE)
ib = c(FALSE, TRUE, TRUE)
i.df = data.frame(ia, ib)
xtable(i.df)
This produces:
\begin{table}[ht]
\begin{center}
\begin{tabular}{rll}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Facebook Canvas url using routes.rb I'd like my FB canvas app
apps.facebook.com/coolapp
to behave the same as my web app
coolapp.com
I've set up the canvas url in facebook developer page
http://coolapp.com/canvas/
Using Rails 3.1, I'd like to know how I can easily route the /canvas into my app so that going to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I refresh a databound dropdown list without refreshing the whole page? I've created a insert and update form for a PRODUCTS table using PHP and MySQL.
Each form contains a, databound, SELECT field that queries a COMPANIES table to populate.
The record ID, of each company, is used in the PRODUCTS table to gr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Skip before filter with Active Admin I am using devise and recently added active admin, which created a separate table of admin_users to keep admins.
All works fine with Active Admin when I try to log in and browse around. However, my application controller has this for general users:
before_filter :authenticate_use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Hidden Markov Models inplementation in R or python Do you know any good literature and/or tutorials about how to implement HMM in python, R (Bioconductor)? (especially for sequence analysis)
A: There is the HMM package on CRAN, which might be a good place to start.
http://cran.at.r-project.org/web/packages/HMM/ind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Garbage Collection in Flash Player I build a simple Flex view state based video application on Flash Builder 4.5. There are 4 states. Everytime I go from State1->State2->State3 or State1->State2->State4, the memory in internet explorer increases, but is not released. What am I not deallocating?
Do i have to manually... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any complete guide to the building and installation of ITK 4.0? I want to use the python bindings with the ITK 4.0. Is there any complete guide that how to build and install and correctly set the options for the wrappers? I am using Linux 11.04.
Thanks a lot.
A: http://www.itk.org/Wiki/ITK_Release_4/Wrappi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to properly use the each() in jQuery? I have the following:
<div class="io-section-header">
<ul>
<li class="advanced">Eat</li>
<li class="advanced">Sleep</li>
<li class="advanced">Be merry</li>
</ul>
</div>
I have the jQuery (which is tied to a click() handler:
$('io-section-header').each(fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Fast Image Downscaling in C/C++ I'm looking for fast C/C++ libraries to perform fast downscaling using mainly linear and cubic interpolation. Are FreeImage and/or FFMPEG libswscale good alternatives. Any more suggestions?
A: Have you looked at imagemagick? http://www.imagemagick.org/
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7591326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to check for Duplicates when Importing Excel Sheet into MySQL table using vb.net I have a upload excel file on my web application. When the file is uploaded it is supposed to be openned and then import the data into a mysql table. It works fine in that it adds the information just fine. However there ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fading the start of a sound with Python I'm a student in a programming class and I just can't get this fading in to work... Right now it's just muting the first few samples of length fade_length... can anyone tell me why it does so so I can find out a way to fix it?
<code erased>
Help without direct answers would b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Rails 3.0 to 3.1 Javascript error I am trying to learn to use Javascript in Rails and am following a Tutorial at http://net.tutsplus.com/tutorials/javascript-ajax/using-unobtrusive-javascript-and-ajax-with-rails-3/
Even though the tutorial is written for 3.0, since Rails 3.1 is out I am using it and running into an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating 3 Perfectly Equal Columns that take up 100% on the Browser Window Width I have 3 square images of the same size that are floating next to each other. I want the three images, in total, to take up the full 100% of the browser window width, with no gaps. Giving each image a width of 33.33333333% works in Fire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: New to Objective-C. Trying to pass arguments through a void function, guessing I can't do that? I am new to Objective C. I am trying to write a void function in my implementation file with arguments however xcode doesn't like that. I did some research and it appears I can't do that.
This is what I am trying to do b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get my "radio" buttons to show up on my email? I have a form that I have been working on and I've been having problems only with the radio buttons not showing up on the emails I receive. I have tried everything to get the right code but I am not sure what to do...PLEASE HELP!
here is my code for the visual ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: work around stack overflow error when going through recursive function 300+ times in groovy? I have the following code, trying to find the first number of the Fibonacci sequence with over 1000 digits:
z = 0g
def fib
fib = {a,b->
if(a <= 10g**1000){
z++
fib(b.toBigInteger(), (a+b).toBigInteger()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: serverfbml returns 404 on one page and not a clone This case seems unbelievable.
I have two versions of a fbml page to display a list of users to invite. The two pages return identical html. The only difference is that one has a url like http://mydomain/user/myFriends and the other has a url http://mydomain/facebo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sql Optimizer for Large Db Table i have table that has millions of rows that i need to join to do selects. the response time is not so good, how can i improve its response? i have tried adding index to the columns i do select by, is there a tool i can use to optimize the sql or how can i diagnose on the bottlenecks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to create a master/detail relationship with Telerik and OData? I have an OData WCF ADO.NET service created with Entity Framework using protocol version 2. The entity model looks like this:
I now wish to consume this using a Telerik RadGrid. Here's the markup so far:
<telerik:RadGrid ID="radGrid" runat="server" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you reduce a long query running up mysql resources that requires you to run multiple searches? I want to allow users to subscribe to other users, similar to twitter. So lets say john is subscribed to updates by tom, chris, david and 10 others.
When john checks his news feed, how can I display news from everyo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to map existing tables into a inheritance hierarchy in NHibernate? The problem is trying to map inheritance given an existing table structure. The table is also used by legacy apps using raw sql, ie, the table can't delete any existing schema details, but can add more to it.
The existing table is already mapped... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery How to stop functions so they happen one at a time I have a form where a user can enter a page title into an input field and it will generate a URL. On the submit button click the value is displayed in a different input field(URL). If they are not happy with their URL they can manually edit it inside that fie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Expressionengine interpreting jQuery curly braces as EE tags I'm using EE2.2 along with jQuery and jQuery templating plugin. In my template i have allot of curly braces that is part of how jQuery Templating works. The problem is EE is not differentiating between JavaScript curly braces and EE tags which also comes i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to eval / constantize a string to a method, then pass arguments to it Given:
s = "foo_bar_path"
How can I eval or constantize s, and pass arguments to it, such as my final result would be the equivalent of:
foo_bar_path(@myvar, @foobar)
I was trying eval(s).send but that doesn't seem to work. And constantize s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What causes this ArrayIndexOutOfBoundsException? I am new to scala.
here is simple code
object SimpleIfStatementDemo {
def main(args: Array[String]) {
var numA: Int = args(0).toInt
var numB: Int = args(1).toInt
if(numA>numB) {
print(numA)
} else {
print(numB)
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a doctype with TagBuilder The ! in the doctype tag I cannot create. Is there a way to put the ! in a doctype tag using tagbuilder.
A: Since the Doctype is not an HTML tag, you can't use TagBuilder.
Although, you can return a normal MvcHtmlString.
public static class CustomHelpers
{
public ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Checking XML using Google Maps API I have been playing around with Google Maps API for the past couple of days. I got up to the point where I'm stuck because of my lack of PHP skills. After running the PHP code below, the XML returned is:
<?xml version="1.0"?>
<markers/>
The link I'm using is: http://www.icliqz.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automatically update web application when data is updated on server Is it possible to send update (or automatic response) from a SERVER to a WEB APPLICATION?
I have a SERVER that updates data every 5 min (sometimes random). I want to update the new data on a running WEB APPLICATION without making a request from brow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing the Color of a Path Using Animation - iPhone Dev I am working on a "connect the dots" app and would like the line that is drawn from one dot to another to flash briefly to indicate to the user that they have successfully completed the correct line. I initially thought the best way to do this would be to alt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting bulleted, bold, embedded text to display in Flash CS5 I am dubious that anyone will be able to help, but thought I'd post just in case...
I'm trying to get Flash to display a bulleted list using bold embedded fonts.
What I'm finding is that I can get bold fonts with bullets, but not embedded. Or embedded fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7591389",
"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.