text stringlengths 8 267k | meta dict |
|---|---|
Q: NameError occurs after switching from vendored gems to Bundler in Rails 2.3.8 /Users/me/.rvm/gems/ree-1.8.7-2011.03@evokat25/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:105:in `const_missing':NameError: uninitialized constant Rails::Initializer::Paperclip
There is no mention of Rails::Initializer::Pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: nested RadAjaxPanel Telerik do not update I create a RadAjaxPanel with some of inside controls.one of inside control is a nested radajax
with a TextBox and a button.both of radajaxpanel update mode are always(in code behind).
when i click on button in nested radajax parent radajax will be update an nested radajax wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: pattern recognition and string matching I have two files taken from two different server. In these two files are presents the matches of some football teams. As you know football teams can be called with differents names.
I would like implement a code that can recognise the same football match in the two files in o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best practice for maintain users? aspnet_Users or create new user table I installed the database asp.net Membership but I want to ask what is best practice here should I use the aspnet_Users table as a main table for Website user or should create new user table to store the website users login informati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Profiling synchronization operations in Linux I want to profile synchronization operations, such as locking and unlocking of mutexes, semaphores etc. in Linux.
I know that deep down they are implemented using futexes, so maybe it is enough to profile locking and unlocking of futexes (please correct me if I'm wrong ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Unidentified Errors.Please notify... error instead of my simple forms.ValidationError OK, trying to add a clean method to a ModelForm in Django. I'm adding a simple raise statement just to see if it works, and instead of my message, I get "Unidentified Errors. Please notify..."
Here's my (simple) test:
class Confi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WebGL and rectangular (power of two) textures WebGL is known to have poor support for NPOT (non-power-of-two) textures. But what about rectangular textures where both width and height are powers of two? Specifically, I'm trying to draw to a rectangular framebuffer as part of a render-to-texture scheme to generate s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Plotting fluctuation in R I will try to be as less vague as possible. The below data set consists of a device's power measurement and I have to plot a graph which would show the average fluctuation of the power (watt) during the Time column. I have to accomplish this in R but i really don't know which function or ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get Hudson to correctly build multiple modules changed by a single commit Consider a Maven project with multiple interdependent modules: let's say, three jar modules A, B, and C, which are dependencies for a war module Z. I have a separate Hudson build for each of these modules, so that only modules that have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to configure PHP engine with Apache 2.2.x? i have installed Apache 2.2.x but when i turned to instal PHP V5.2.17 i didn't find the apache 2.2.x radio button in the web server setup step !! only the fast CGI,other CGI and don't install a web server radio buttons is appearing, what i can do ??
A: I suspect you're... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are my options for building an desktop app with web technologies that needs to invoke a process on the client? I have a local desktop app that needs a UI overhaul, the data in this app is largely driven by a back end DB and the best tools available to make a user friendly UI for this kind of system seems to be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a custom page with Codeigniter, not as controller I have a website which is built on Codeigniter and I want to create some pages with information like terms or privacy, their address should be:
http://domain.com/terms
http://domain.com/privacy
My question is: should I create for each page a controller... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to exit a chroot inside a perl script? While writing a perl script intended to fully automate the setup of virtual machines (Xen pv) I hit a small maybe very simple problem.
Using perl's chroot function I do my things on the guest file system and then I need to get back to my initial real root. How the hell I do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I add/remove an element to/from the first td of the table before text? I have a div with id (titlediv_1265601). How can I add/remove a * to the first td of the table before "Adjuster Name:" based on the following condition using jquery?
if(a == 'addSpan')
{}
else if(a == 'RemoveSp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Structure of C language Why does this work
printf("Hello"
"World");
Whereas
printf("Hello
""World");
does not?
ANSI C concatenates adjacent Strings, that's ok... but it's a different thing.
Does this have something to do with the C language parser or something?
Thanks
A: The string must be terminated before the e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Set Base URL in Yii Framework When I do
print_r(Yii::app()->request->baseUrl)
I get an empty string. A post on the Yii forum says this is blank by default. How can I change its default value so that I can use absolute URLs?
A: You can edit /path/to/application/protected/config/main.php to change the default... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: c++ inheritance: error C2614 calling base class' constructor I have a base class 'A' which has a subclass 'B' which has a subclass 'C' which has a subclass 'D'.
I want D to call 'A's constructor,
D(int x,int y):A(x,y){};
but I am getting the error message:
error C2614: 'D' : illegal member initialization: 'A' is no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Trigger a function inside a JQuery file jquery.js from a html Lets say This is my html form definition:
<form id="feedback" action="" enctype="multipart/form-data" method="post">
The jQuery file is defined in the head tag:
<script type="text/javascript" src="js/ajaxarchive.js"></script>
I've also... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Slerp with more than two points The correct way to interpolate between two points on a sphere is using slerp.
How would one interpolate between more than two points on a sphere? So summing a set of points with different weights on the surface of a sphere?
Simply summing the points multiplied by their weights and the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: The operation has timed out--Exception in a WCF Service RSS Hello I have created a WCF Service which has a method as
public List<AppharborDbModel.MMTS_Stations> GetStations()
{
db = new AppharborDbModel.AppHarborDBEntities();
var x = from n in db.MMTS_Stations select n;
return x.ToList<AppharborDbModel.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Programmatically apply an XSL transform outside the browser I have XML data which I want to be able to display in a browser through an XSL Transform, and also compile with XeLaTeX. Inside the XML file, I have set the stylesheet to be the one for the browser, and currently, to get LaTeX output I have to go into the X... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: lose data in the form when clicking the back button on any browser (Django) My current application has a form which the user fills and hits the submit button to get the output data. But, I loose all the data which was entered into the form when I click the back button on the browser. All the drop down select list ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delete rows in table view associated with core data My table view is populated from an array containing data in the core data, I want to delete rows while updating the core data correspondingly, here is my code of deletion.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)ed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why Can't I access src/test/resources in Junit test run with Maven? I am having a problems running the following code:
configService.setMainConfig("src/test/resources/MainConfig.xml");
From within a Junit @Before method.
Is this the way Maven builds out its target folder?
A: Access MainConfig.xml directly. The src... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: Ruby: day selection program (select next available day from a list) I'm tryind to build a helper to select the next available day from a list.
I have a list of days as a reference (those are the day where I want something to happen)
class_list = ["Monday","Saturday","Sunday"]
I need to check the current day and mat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Simply getting fields from django query set class Question(models.Model):
question_text = ...
class Answer(models.Model):
question = models.ForeignKey ...
user = models...
Basically, what I'm trying to do is return the set of questions that have been unanswered by the user. So basically, lets say answers = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: using frameset in Spring 3 I am a newbie to Spring 3 , and am learning on my own. I have run into a issue regarding framesets.
In my page , I have included 3 framesets , something like this
<frameset rows="10">
<frame src="/WEB-INF/views/frame1.jsp" name="frame1"scrolling="no">
<frameset cols="20%,*">
<frame src="/W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Assigning relevant splash screens in config.xml for PhoneGap I am currently developing an application using PhoneGap for multiple devices. How do we configure it in config.xml so that we can specify the size of splash screen (and matter of fact for icons) for the different devices (e.g. iPhone, iPad, Android)?
A: F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cygwin - Running msbuild with switches I'm trying to improve our build automation using bash. My shell scripting leaves a lot to be desired but essentially I want to be able to use a bash shell script to run MSBuild.exe passing in certain build switches. So in myscript.sh there's a line :
C:/Windows/Microsoft.NET/F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: using .asmx using lighttpd and mono fastcgi I have deployed a web service to a ubuntu server running lighttpd and fastcgi-mono-server2. The .asmx page loads correctly but when I test the method I get a 404.
My web service is called Import.asmx and my method is called download and the 404 comes back saying import.as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AJAX Horizontal Scrolling with scrollbar I need to create something like this site, I found many jQuery infinite scrolling scripts that allow you to load contents using AJAX while you're scrolling. What I need is very similar, except I want it to be horizontal and I want to set the size of the scroll bar according t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ Type Traits Overview Has anybody put together a list of all the type traits available in standard <type_traits> (GCC-4.6.1) and Boost's own <boost/type_traits.hpp>?
A: The full lists of traits are available online:
*
*The Boost documentation lists the traits in <boost/type_traits.hpp>;
*The C++0x draft list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any quick way to determine first k digits on n^n I am writing a program where I need to know only the first k (k can be anywhere between 1-5) numbers of another big number which can be represented as n^n where n is a very large number.
Currently I am actually calculating n^n and then parsing it as a string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Autorelease CFMutableDictionary How do I autorelease a CFMutableDictionary?
I'm creating it like this:
self.mappingByMediatedObject = CFDictionaryCreateMutable(NULL, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
And in dealloc:
self.mappingByMediatedObject = nil;
A: CoreFoundation doesn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Caliburn Micro - is it possible to intercept calls to execute a command? I want to add error handling to my view-models so that when a command is executed and an exception thrown, the error is handled gracefully and a modal dialog displayed.
I've got this working but my approach is a too wordy. Errors are trapped w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to use the required property in IE? I have code like this:
<input required>
In good browsers I can use jquery like this to add a class of error to the input:
$('input[required]').addClass('error');
It doesn't work in IE though. I will resort to this otherwise, but it's not as neat...
HTML:
<input da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Java Annotations removing string literals from them? Not sure if this is a decent question or not but here it goes. We are trying to implement a UI testing framework (selenium web-driver) and want to use a Page driven design for example
class HomePage {
@FindBy(how = How.Id, id="myPageHeaderID")
private String page... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to access C# MessageHeader Concrete types I receive a System.ServiceModel.Channels.Message from a WCF service, it has a message header that at runtime is of type System.ServiceModel.Channels.ToHeader but I can't find this type anywhere to upcast it to use the ToHeaders properties.
Is this a dynamic type that ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Implement geocoding in android 2.2 Friends...
i'm woking on a project on geocoding.I tried to implement it several times.But i'm not able to retrieve the latitude and longitude values corresponding to a location.Please help me out to complete my project..
A: try this code hope this will help you:
package com.exampl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android, rotate 18x18 pixel circle icon, result: icons of different sizes? I'm drawing a bunch of icons on a map. Actually the icons come from the same image rotated. But on the map the images take on two different sizes, I don't know why. This is what the result looks like: http://orangesoftware.net/iconmap.png
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: c++ win32 prevent application from running on windows xp I've developed a application which uses Vista (or higher) API's and i would like to add a popup message if the application detects a unsupported OS.
I would like to add a popup message when a user runs my application on windows XP. Currently the application ju... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: In excel how to set a cost of 29.00 to a 11 digit no decimal point format How do I tell excel I want the first two digits to be assummed to be decimal places using NNNNNNNNNNN format? thx
I'm trying to use excel format to convert 29.00 to following:
00000002900
but it keeps look like the following:
00000000029 // ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I go about finding memory leaks in Java applications? I wrote an app for the production team to measure their scores, it runs fine for 2-3 weeks and then the machine that the copies are running on slows down and a restart fixes it.
What are the best practice steps for fixing this?
A: You need to analyse the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: see who entered profile with facebook api I have recently see facebook api, I am interested in that.
Does Facebook have any API that help me to visit who entered my profile.
I want to know is there any way to track who entered my Facebook page.
A: To build an app that tracks profiles is against the Facebook platfor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Attach keyboard events to html5 canvas It looks like mouse events will add listeners to canvas elements fine, but keyboard events don't seem to be working for canvas elements.
Example:
http://jsfiddle.net/H8Ese/1/
Browsers:
Chrome 14.0
FF 5.0.1
I know I can use the document level listeners, but I'm trying to get the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Facing XML Parsing Error while creating XULRunner application I tried creating an XULRunner app as given in the tutorial - http://pyxpcomext.mozdev.org/no_wrap/tutorials/pyxulrunner/python_xulrunner_about.html
But when I tried running the app it gave me the following error -
XML Parsing Error:
Location: chrome://p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FPGA TCP implementation Does anybody know of an implementation of TCP on a FPGA WITHOUT using any sort of microblaze? Preferably open source, because it is for an university/research project.
A: I know Easics has a TCP core. You can find a presentation on it here
A: Depending on what you want you maybe can get awa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: In SQL, are there non-aggregate min / max operators Is there something like
select max(val,0)
from table
I'm NOT looking to find the maximum value of the entire table
There has to be an easier way than this right?
select case when val > 0 then val else 0 end
from table
EDIT: I'm using Microsoft SQL Server
A: Not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Data structure for storing chord progression rules? What would be the most appropriate (naturally suited) way to represent the various chord progression (musical) rules in a data-structure such that each chord had a weighted set of options that it could progress to?
This data structure would be implemented in a proc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Rollapply & xts. Can I output the time of max value in the window? I'm studying some yahoo finance data via quantmod.
How would I determine not only the Max and Min price over a rolling window of data, but also the exact Timestamp of those highs and lows? I have tried which.max() with rollapply but this only reports... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Refreshing webpage after browser back button? Let me begin by saying I do not want to "disable" or otherwise prevent the proper usage of the browser history buttons.
What I need is a javascript-based procedure (cross-browser compatible, hopefully) to refresh a webpage (staying on the same URL) after navigating to it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rake aborted - uninitialized constant Rake::DSL
Possible Duplicate:
Ruby on Rails and Rake problems: uninitialized constant Rake::DSL
I'm in the early stages of learning Rails. I'm following the tutorial in the Agile WebDev book. When I tried to apply my first migration, I got the following error:
rake aborted!
u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting the Current username when impersonated I am using something like the following method to impersonate a user in my code:
How do you do Impersonation in .NET?
In another class, I need to find out the current user (like "mydomain\moose"), but I won't have any idea if I'm currently impersonating another user or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: how to open many text files with python I have 800 text files about protein. Actually I should make a matrix 800 in 800 to compare interaction between proteins. I entered their names in a list. Because writing all names in program is difficult. Now I want to open them in the python programming to use. But I don’t k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Divs in normal flow overlapping I'm attempting to position a series of div's (which are dynamic in height) one after another so that they are the same width as their parent. My understanding is that this is what the normal flow should do, but instead they end up overlapping.
See http://www.euro-endo.nl/technologies.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: View Hierarchy with UIToolBar and UITabBarController I have a rootViewController that is a UITabBarController. A UIToolBar is present in that controller since it has a SearchBar that is global to the app. In certain tabs, there should be specific UIBarButtonItems, or UISegmentedControl, along with the searchBar. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Insert tracks into a big mp3 file I need to insert audio tracks to a big mp3 file. The mp3 file is about 40 minutes long and I would like to add tracks so that I can skip a track or go back to a track. Instead of doing this manually by using tools like audacity, I would like to automate this by using a script (any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Coded UI - how to identify the grid row and columns inserted dynamically In the control properties, new row has name equals to Volume Row 62 and Row Index equals to 61 - as recorded and add values in few columns.
When I insert a new row with external data and fill the respective columns, it tries to override the col... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to generate a client ssh key at each connection? For now, I think that the public key that is used on a client-side is reused several times (maybe as long as the config dosn't change I think). I assume we are using the password method.
This worries me. I would prefer my ssh client to automatically generate a RSA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hudson build scripts location - recommendation? I'm already finishing my project build automation :) with Hudson and Nant.
My project structure is something like
$/Project
build.scripts
script1.build
script2.build
build.properties.xml
Code
Project1
Project2
So Hudson downloads from the root ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ArrayAdapter and ListView display only specific items I am trying to impement a school planner app. There is a timetable overview implemented as a ListView for each day wrapped into a Tab Layout. So the user can switch between days Monday to Friday and gets his timetable for the specific day.
public class TimetableA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook-style API access scenario with Azure ACS and OAuth 2.0: how to implement app authorization? I am building a social website that will expose REST API (WCF WebAPI) to the world so any developer would be able to create a client application for the website, integrate it with other services, etc.
I would like t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating a new Hibernate table So I'm still pretty new to Hibernate, and I'm working on a large-ish application that already has a database with several Hibernate tables. I'm working on a new feature, which includes a new @Entity class, and I need these objects to be stored in a new table. The class is declared li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: algorithms for modular inverses i have read section about The Extended Euclidean Algorithm & Modular Inverses,which states that it not only computes GCD(n,m) but also a and b such that a*n+b*b=1;
algorithm is described by by this way:
*
*Write down n, m, and the two-vectors (1,0) and (0,1)
*Divide the l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: XSL - Escaping an apostrophe during xsl:when test I have the following code which appears to be failing.
<xsl:when test="$trialSiteName = 'Physician's Office'">
Also, visual studio is complaining saying
"Expected end of expression, found 's"
How am I supposed to escape the character?
XSLT v1.0. Apache XSL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: jqgrid load from multiple urls I have a page, that has jqgrid, it is fetching json from a url. I want to load data from multiple urls instead on one url, on the same grid.
How can I achieve that. The reason is, I have to display data from different sources, the ids will be unique no-matter if its from which source.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I run a program in msys through Python? I've got a short python script that will eventually edit an input file, run an executable on that input file and read the output from the executable. The problem is, I've compiled the executable through msys, and can only seem to run it from the msys window. I'm wonder... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I get Java's hasNextInt() to stop waiting for ints without inputting a character? I was given the following code and asked to write the Solution class extending from TestList. I wrote a constructor for it (which just called super) and the printSecond2() method invoked in the last line of the code below. All o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jqGrid treegrid, Expand Node Programmatically I am experimenting with the jqGrid treegrid feature. Can anyone explain why the 'expandNode' method doesn't work in this example? (Testing under Chrome and JQ 1.4.2).
Note 1: I can't get any of the expand or collapse methods to do anything. They change the appearance of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Restrict passed parameter to a string literal I have a class to wrap string literals and calculate the size at compile time.
The constructor looks like this:
template< std::size_t N >
Literal( const char (&literal)[N] );
// used like this
Literal greet( "Hello World!" );
printf( "%s, length: %d", greet.c_str(), gre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to load a XML into a DataSet via XSL with C# I'm trying to load a xml which contains metadata, for example:
<DataSet>
<DataTable id="Estrutura">
<Columns>
<Column FieldName="ORDEM" DisplayLabel="ORDEM" DataType="Integer" Required="0" Size="0"/>
<Column FieldName="NOME" D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Method improvement on data access via ADO.NET Which of the two code segments below would you prefer? Why? Are there any circumstances where the other would be preferable? Could you make any further improvements?
i.
private int GetSize(string deptName)
{
QueryHelper dqh = new QueryHelper... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: validation of viewstate mac failed Exception I have a question and i searched on stack-over flow and found some answer but none of it works for me ,i have a web application it works on the local host but when i host it online it gives me and error that :
<customErrors mode="Off" >
must be off i made that then i gon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: YAML - substituting values for variables? consider the following yaml
hadoop:
storage: '/x/y/z/a/b'
streaming_jar_path: '/x/c/d/f/r/*.jar'
commands:
mkdir: 'hadoop dfs -mkdir dir'
copyFromLocal: 'hadoop dfs -copyFromLocal from_path to_path'
run: 'hadoop jar $streaming_jar_path -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Adjusting table cell width Let's take 4 table columns - ID, Text, Date, Action. In my case table have always constant width - in example 960px.
How can I create such table as :
*-*------------------------------------*----------*----*
|1| Some text... |May 2011 |Edit|
*-*-----------------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Increase font size chrome console How can i increase the font-size in the chrome console?
It seems Paul Irish did it:
http://www.youtube.com/watch?v=4mf_yNLlgic
UPDATE
Here are some tips on how customize the theme:
https://plus.google.com/115133653231679625609/posts/UZF34wPJXsL
A: Windows 7, Google Chrome 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "127"
} |
Q: Generate PDF in ASP.NET from Fully Rendered Page Does anyone know of a component (open source or 3rd party) that would allow you to export a fully rendered HTML page to PDF in c#? We have a page that has its DOM modified with jquery but the methods we have tried (ABCpdf.NET, WebClient, etc) don't register any DOM ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Can I view resolved files after a merge in hg? I'm using mercurial and one problem I found while merging was the fact that it's hard for a single developer to merge with the default trunk after a lot of changes.
So even if the developer resolves the conflicts by hand there is always a change to miss some of the inte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hierarchical data - Parent id or Nested set model I'm working on a project that required categories, I used a nested set model and it worked out well. I have another portion of the same project, however it requires a different type of hierarchy, there will only ever be a parent. So, an item can only EVER relate to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a common UIToolbar helper file and methods for Objective C I have build a view with a UIToolbar which is working great.
This toolbar will be appearing right across the app, and right now I am copy/pasting the code into lots of different files.
I do not want to repeat myself, and am looking to create a helpe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: finding duplicate rows on more than one field I am using this query to find duplicates based on two fields:
SELECT
last_name,
first_name,
middle_initial,
COUNT(last_name) AS Duplicates,
IF(rec_id = '', 1, 0) AS has_REC_ID
FROM files
GROUP BY last_name, first_name
HAVING COUNT(last_name) > 1 AN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OCaml: Declaring a function before defining it Is there a way to declare a function before defining it in OCaml? I'm using an OCaml interpreter.
I have two functions:
let myFunctionA =
(* some stuff here..... *) myFunctionB (*some stuff *)
let myFunctionB =
(* some stuff here .... *) myFunctionA (* some stuff *)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Adding Views to an Android Viewgroup Programmatically This seems to be a common question yet documentation is very hard to find. I'm looking for examples that show me how to create my own view group (preferably by extending an already existing one) and then add views programmaticly.
Thanks.
A: ViewGroup
ViewGroup ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: ActiveModel fields not mapped to accessors Using Rails 3 and ActiveModel, I am unable to use the self. syntax to get the value of an attribute inside an ActiveModel based object.
In the following code, in save method, self.first_name evaluates to nil where @attributes[:first_name] evaluates to 'Firstname' (the value... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to open text in Notepad from .NET? When I click a button on a Windows Forms form, I would like to open a Notepad window containing the text from a TextBox control on the form.
How can I do that?
A: You don't need to create file with this string. You can use P/Invoke to solve your problem.
Usage of NotepadHelper... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Java - how do I prevent WindowClosing from actually closing the window I seem to have the reverse problem to most people. I have the following pretty standard code to see if the user wants to do some saves before closing the window:
frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
frame.addW... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Call a controller's method in other controllers (staying DRY) I'm slightly new to Rails (i.e. stupid and need some teachin').
I have a controller (call it ControllerFoo) that performs a particular task (theMethod) which could be useful in other controllers (say, from within ControllerBar). So, of course, the method... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Order of listeners in Java I wrote my own table cell editor that extends an AbstractCellEditor and implements a TableCellEditor, an ItemListener, and a MouseListener. Is there a way I can have the mouseClicked method be executed first before the itemStateChanged method? I'm trying to do the following:
private int r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Pointing at array There is such code:
int tab[14][2];
int (*wskk)[2] = tab; // &tab makes error
int tab2[2];
wskk = &tab2; // tab2 makes error
Why is it possible to use one pointer to point at two arrays of different dimensions?
A: To understand what's going on you must be familiar with a few key-concepts:
*
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Php recursive function optimization My recursive php function looks like that. It generates menu from db table based on parent-child structure
function generateMenu($parent, $level, $menu, $db){
$q = $db->query("select id, name FROM menu WHERE parent = '$parent' AND showinmenu='$menu'");
if($level > 0 && $q->num... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I build my own personal android app store? How does one create a personal app store for Android built from either custom or open source software.
A: *
*Build a website using custom or open source software that presents applications so people can download them
*Devise a means for developers to register & u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: HQL / Nested Eager Loading I am wondering what the best way is to load nested values for lazy loaded objects. I'm providing an example to help explain this better.
public class A{
private B b; //Lazy loaded
private C c; //Lazy loaded
private D d; //Lazy loaded
}
public class B{
private E e; //Lazy l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Error While posting Data to a web application from a windows service."The remote server returned an error: (500) Internal Server Error." I'm getting this error while trying to post data to a hosted web application from a windows service.
PostSubmitter post = new PostSubmitter();
post.Url = "http://192.1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Drupal displaying "region" instead of content everywhere? My completely finished website started displaying "region" in all the regions instead of the content. This was shortly after I enabled "Calendar Multiday" so perhaps it was related (although I have now disabled that module). Calendar and Date were previously ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What doesn't get inherited in .Net? I guess I was surprised to learn that Implements or <Serializable()> do not get inherited from class to class which means that it must be redefined each I want to recreated those behaviors. I was wondering what else isn't inhertible in .Net? Thanks
A: These are 2 different item... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: random username generator i am trying to create a random username generator.
i have looked at several random string generators, but none of them look like actual usernames.
i am wondering how i would go about creating a script like the one featured on this page: http://generator.my-addr.com/generate_usernames-free_u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Change Page Title on Canvas App This is a shot in the dark, but is it possible to update the page title of a canvas app using Javascript? While the page title does seem to reflect the app, is it possible to update it once the page has rendered?
I'd like to be able to add an active counter to the title (e.g. "(0) Tit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where should infrastructure services contracts live? I have UI, Application, Domain and Infrastructure Layers.
In my Infrastructure Layer take reference of Domain and Application Layer to register services interfaces of both using Ninject.
But I need in my Application Layer a service in Infrastructure Layer, then i ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What are your best practices for working with test data in Django? I currently use a single fixtures file per application, but as projects grow, the tests are taking far too long and I believe that the (now large) fixtures being loaded for each test class are at fault.
I've avoided having lots of smaller fixtures be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JUNG: which libraries are required dependencies? I'm looking at JUNG for visualizing directed graphs. The JUNG 2.0.1 download comes with 17 different jar files, and some of them appear to be samples and demos.
Does anyone know which are the real libraries that are required if you want to use JUNG?
A: never mind, th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7613619",
"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.