text stringlengths 8 267k | meta dict |
|---|---|
Q: Best way to build a multiple filter in rails I want to build dynamics filters with rails for one of my model but i don't know the best way to do that.
My model is en Event witch has a Continent, a Country and a Month.
So i want to be able to find an event with several filters. For example, "Found all events in Euro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Why are there no Makefiles for automation in Python projects? As a long time Python programmer, I wonder, if a central aspect of Python culture eluded me a long time: What do we do instead of Makefiles?
Most ruby-projects I've seen (not just rails) use Rake, shortly after node.js became popular, there was cake. In m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Connection from MySQL to remote DB - possible? is it possible to create a connection from a MySQL DB to a remote database (probably Oracle) using something like an ODBC/JDBC connector? I need to create a trigger on the MySQL side that performs an insert/update on a table in the remote DB.
Can MySQL act as a client i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Safety concerns about short circuit evaluation
Possible Duplicate:
Is short-circuiting boolean operators mandated in C/C++? And evaluation order?
AFAIK Short circuit evaluation means that a boolean expression is evaluated only up to the point that we can guarantee its outcome.
This is a common idiom in perl where... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Set selected item in ComboBox by Code I want to selected the first item of a comboBox by code if the value list have only one item. I've tried this:
Comboitem item = new Comboitem();
for(Empresa e : empresasList){
item.setValue(e.getEmpId());
item.setLabel(e.getEmpNombre());
item.setParent(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Logging in Http Module We have created an http module to mobile detection and redirection. What the http module will do is according to the coming request it will find the device and redirect accordingly.
So here we want to log the methods in the http module. But i don't know whether it is a good practice to log all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use ALAssetsLibrary in unit test? I wonder how I can use ALAssetsLibrary in my unit test in Xcode 4?
Right now I get "Data unavailable" when calling ALAssetsLibrary.
A: Plug in a phone and run the test target on the phone. Doing so is the same as running your app on the phone, but instead of the normal a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Set frame position on application launched in shared workspace Mac OSX I am opening the system preferences application from within my application. I also would like to set the the applications frame so it is aligned at the left side of my application. The problem is that I do not know how to access the applications ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Socket buffer size dynamic I develop a speed test software with a graph. Each seconds, i draw the throughput on the graph. I use socket with a loop on socket.read(...)
The problem is the buffer size. If i set the buffer to 32ko, when the speed is low, my graph is wrong (block on read function until the buffer isn't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: CQRS and service bus CQRS is about separating commands and queries. We can add it easily using several patterns & technologies like Event Sourcing, DDD, NoSQL, etc... but is ServiceBus mandatory?
A: No serviceBus is not mandatory, it's simply one of the technologies that be used to implement CQRS, for example Event... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: loop in javascript function DC() {
var elements = $(".panel");
elements.first().fadeOut(1000, function() {
$(this).insertAfter(elements.last());
$(this).fadeIn(1000);
});
}
$(document).ready(function() {
var i =0;
for (var i=0; i < 10; i++) {
DC();
};
});
I want DC()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: cursor position issue in activity I have created one activity i.e loginpage. it contains some edit textboxes, when I run the application the cursor is defaultly going to last edit text field. My requirement is cursor should be defaultly in first edit text field.
A: EditText yourEdittext1=(EditText)findview...();
Ed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ruby OCI8 DBI, how to check query generated after parameter binding? need to check for "in" queries While using Ruby-DBI I am facing issues with parameter binding for where "in" queries.
Two questions:
*
*How do I get sql generated after parameter binding?
*Does in parameter for sql work properly if using DBI an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get the wallpaper file name for the currently displayed wallpaper in a theme in Windows 7? I am using JNA to call system libraries on Windows 7 and need a way to get the current wallpaper file name that is being displayed from a theme where it randomly changes the wallpaper at a set interval.
I have used the SPI_GET... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jquery show hide single link menu-unable to hide on mouse out <html>
<head>
<script src="jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".link").click(function(){
$(".myList").show();
$(".link1").click(function(){
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FedEx 556 - No valid services available. when there should be Hi I'm trying to use the wsdl api to get shipping cost calculated for my website.
I'm using opencart and this module (http://www.opencart.com/index.php?route=extension/extension/info&extension_id=2055&filter_search=fedex&sort=e.date_modified&order=DESC).
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to release the NSUrlConnection class object,NSMutableData class object? iam making one applciation.In that iam using the NSUrlconnection class.Below one is my code.
- (void)viewDidLoad {
[super viewDidLoad];
responsedata = [[NSMutableData data] retain];
NSString *url = [NSString stringWithFormat:@"https://www.g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find and replace with incremental number at the end I have an xml file with multiple nodes:
<member>
<screen_name>User</screen_name>
<username>username</username>
</member>
What I want tis to find an replace User with User1,User2,User(n) and username with username1,username2, username(n)
Is that possible?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get QueryString from inside a WebControl I have a page which contains a dynamic number of custom WebControls. What I want to do is get the containing page's query string via "Request.QueryString".
If I understand the problem correctly I need the containing page's HttpRequest object?
Is there a way to do this?
I pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: PhoneGap Facebook Plugin compilation error in Xcode 4 on my attempt to build a PhoneGap-based iOS app, I stumbled upon this problem. The app is using facebook connect plugin provided by phonegap team. I followed the instructions on the README, and encountered this compilation error on Xcode:
/../facebook-ios-sdk/s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding custom OnTextChange event handler on custom TextBox I currently have a custom text box, it implements majority of the base implementations a normal text box has, by doing something like:
public string Text
{
get { return customTextBox.Text; }
set { customTextBox.Text = value; }
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get cookies in Webdriver how? There is a method in Webdriver Ruby bindings for getting the cookies:
(Array<Hash>) all_cookies
with the following description:
Returns:
* (Array<Hash>) — list of cookies
Could you please, provide an example of its usage.
Thanks!
A: Try this:
driver.manage.all_cookies
A: Here is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make more than one listview respond for different onItemClickListener? I'm using 4list views with class extending Activity. I have to perform different list item click function. Can i use the following method code for it? So how to set a single onItemClickListener for multiple ListViews?
public void onItem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to differentiate onclick fun on multiple anchor tags with id in JQuery Could you please suggest me how to handle multiple anchor tags for click functionality?
My code is like :
<a id="test1" href="#" >test1</a>
<a id="test2" href="#" >test2</a>
My jQuery functionality is :
$('a').click(function(event) {
al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Issue with radio buttons while firing Validations Hi all i have my form with some controls as follows
2 Radio buttons 1 Text Box, 1 Required field validator and a button
I wrote my sample code in such a way that if one radio button is selected i will enable or disable the text box that i will have.
I am having a re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7580998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: No child processes error ... again I have a process running (call it main proc if you will) doing something. At some point it forks a process say proc1 that does something else. At some other point proc1 decides it needs a child process to do some chores, let's call it proc2.
proc2 does it's business or runs in an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I to run several projects in one solution for debugging in VS 2010 Ultimate? I have a solution consisting of several executable projects (formally speaking server and its clients). But start-up project is only one (server) but I need to debug and clients too. Now I start their (clients) from folder from shell ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Changing how the attributes are presented in Wicket Datatable I'm developing a new application in Wicket and have run into a small problem.
I'm using a Wicket DataTable, but I want some of the attributes in the dable to be presented different from their "actual" values. For example, I have a Date that is presented a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can you make animations multithreaded? How to improve animation performance I'm using the FluidKit Cube Animation in my WPF application.
The animation is smooth when the application window is not in full-screen, but when the application is running in full screen (maximised - borderless window with no controls), the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to overcome keyboard configuration in VMWare Player ? Sorry for asking a stupid question but I have a problem that makes me crazy. I am trying to install a program on my VMware Player, but while writing the password since it includes " # " character inside of the password I always get incorrect login error.
I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I fetch first n rows from a TopLink query? For optimization purpose, I want to fetch first N results in a subquery (I'm getting first N ID values) and in the main query fetch full rows for the ID values in the subquery and order them. What I have now is
// This just adds params to the subquery
Expression man... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java - vector has always the same results I read an .ini File and put every property into an temporary array which i put at the end into a vector - until here it works fine.
But if I want to access every array in that vector, I get ALWAYS the same results, which is impossible. I tried it with different ways, differe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EXC_BAD_ACCESS when calling cvThreshold Im getting EXC_BAD_ACCESS error when calling cvThreshold. Without that line (if I comment it), the image is displayed perfectly.
void CVWindow::processImage()
{
sourceImg = cvCreateImage(cvSize(640,480),8,1);
cvSetData(sourceImg, &m_img, sourceImg->widthStep);
cvT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SSIS - VB Script Component to Convert Input to XML Im completely new to (VB) scripting, and am trying to find a way in an SSIS script component to convert 3 input columns into one XML structured output column.
Input:
ID NAME DATE
1 AAA 2011-01-01
2 BBB 2011-02-01
3 CCC 2011-03-01
Expected Ou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: replace images in data from webservice android Hi all,
How can i replace the text or symbol from web service with local images in drawable folder.
I get a symbol and text from web service. I need to replace that symbol with my image that is saved in local drawable folder in the application.
Please suggest few ide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ribbon menu in Android app I want to use ribbon menu(as on Microsoft Word 2007 or 10) in my android application. Anyone have any suggestions? If it impossible to implement, may be anyone have other ideas how to implement similar functionality? In Android development i am newbie, so i can not imagine how to modulate ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic Linq for dates I want to build dynamic Linq. Following is my code which works fine for one date. But user can select many dates from calendar. And I need to make Linq for all those selected dates.
saleDate = calendarSales.SelectedDate;
List<SaleDetails> saleDetials = new List<SaleDetails>();
saleDetials = Ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IIS Restart (cannot start any process and call iisreset) from the website itself public static void RestartIIS()
{
string path = Environment.GetFolderPath(Environment.SpecialFolder.System) + @"\iisreset.exe";
System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo(path);
info.U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ActiveX in HTML My requirement is to instantiate an object using new ActiveX() in html.
I have created a COM component SimpleActiveX using ATL. I have created the dll SimpleActiveX.dll for the same. In order to instantiate this component in html file I need to register the dll. So I registered the dll using the comm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Hibernate querying results format I have a web service that provides queries functionality using hibernate.
A query can return multiple results - each results contains multiple parameters.
The question is: how should I return the result:
*
*Can serialize everything into 1 string nd client will parse it.
*I know ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I save a MovieClip as an image in Actionscript 3? I have created a customized dress up avatar using flash. Now I have to do that a registered user can make his avatar. After user creates his/her avatar how can I save the customized avatar in a database?
A: Save image from Flash, send it to PHP and return a U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get all network printers in asp.net 4.0 Please any one help me to get all network printers.
I get all printers installed in the local machine using "System.Drawing.Printing.PrinterSettings.InstalledPrinters".
But I can't get the printers which are in the Network.
I try with "ManagementObjectSearcher" but I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Scala: Constraining a generic type parameter to a type within another parameter I'm still trying to grasp the Scala language, so please bear with me and all my questions.
Can I reference an abstract type from one type parameter in the bound for another? For instance, is there a way in which the following code can be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Facebook Android SDK - There was a problem generating the Feed story from the provided data FB publishing for all my Android applications stopped working today saying - ""There was a problem generating the Feed story from the provided data"". They had been working fine for the last 6 months
All the applications did ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the equivalent of Oracle’s REF CURSOR in MS-SQL when using JDBC? In Oracle I can declare a reference cursor.
but MS-SQL I don't know.
private Connection conn;
private CallableStatement stmt;
private OracleResultSet rset;
stmt = conn.prepareCall("{ ? = call " + call + "}");
stmt.registerOutParameter(1, <b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to block keyboard input selectively in Windows? How? My app (in C#) need to interface with a USB bar-code scanner, which is basically working like a keyboard. It inputs the bar-code with an enter key at the end.
The app need to be work even when it's at background, so I am using low level keyboard ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: as2 video resume How can I do resume video.
general.video_button.onRelease = function(){
if (general.stop_button._visible == false){
general.video.resume();
}
general.video.play(0);
general.video_button._visible = false;
general.stop_button._visible = true;
}
Thanks for answers.
A: If V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mod_rewrite, can't rewrite existing file I'm trying to pass all images in a directory to watermark.php using mod_rewrite in .htaccess.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule \.jpg$ /watermark.php?path=%{REQUEST_FILENAME} [L]
It works fine on local machine, but on my online production server... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Problem in Naming the Audio file in Facebook Post in Android Friends, I posted the Audio link to Facebook Friends wall without Dialog.
I'm able to play the Posted Audio link within Facebook, but i am unable to give title , name for it. Refer the Picture - I want to Post like ..
Following is my code :
try{
String... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: To fetch Random/different records each time I have 3 thumbnails which i want to rotate each time a user refresh the page. Therefore want to show different thumbnail each time. I have image name stored in the database. I am using this SQL query to fetch "select thumbnail from tablename order by rand() limit 1". It is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Decomposing big member function Decomposing a member function
In a class there is a member function that is rather long. Let's say we have
class Customer {
public:
void process();
...
};
The method process is by nature long and consists of a couple of different
steps. You'd like these steps to be functions... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to parse CIMPLICITY's ctx file I have to parse CIMPLICITY's ctx file. Ctx file sample:
(Version 42)
(DocumentSummary)
(GmmiToplevelDocument
(GmmiDocumentObject
(GmmiContainerObject
(GmmiObject "" 0
(Help "" "" "")
(GmmiPointMap
(GmmiPoint "MODBUS.HOIST.HST1.HST" 8 0 1)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Rails linked tables belongs_to or has_many not working I have three tables User, User_types and Purchases.
*
*user: id etc
*user_purchase_types: id, typename, user_id
*purchases: id, user_id, user_purchase_type_id, note
Users can have any number of purchases and user_types. A purchase can have one user_purcha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: want to know the list of users who liked my brand page
Possible Duplicate:
Querying Users who 'like' my Facebook Page
I am new to Facebook development and I created one Brand page. I would like to know the list of users who liked my brand page.
I can see the list of people who liked my page on left side of menu ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HttpWebRequest work differently in debug/release Ive a problem with a code because it work differently if I test it in Visual Studio either I test it on my site.
i am trying to do an autologin on an external web site. If I test it from VS, I am correctly redirected on the external site. From my site i obtain i am re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Write Selenium Test to test text wrapping? I am trying to write the selenium test using selenium 2.0 for the attached scenario.
HTML code is as follows
<div width="100px" style = "background-color:blue">
This%is%Normal%Text%on%page%without%dynamic%view%and%not%width%set.
</div>
I need to verify whether text is wra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to increase line height in NetBeans 7? I found a hack how to increase it in 6.9, but it does not work in NetBeans 7. Is there any way to increase the space between the lines in ver. 7? Please help, googled it too - no info about it :/
A: Here you go,
*
*Find org-netbeans-modules-editor-settings-CustomPrefere... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: android - fitting image in imageview I'm implementing a widget where i'm trying to display a large image inside an image view (8mpx) like this :
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orien... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can't load new url using if / else javascript statement - help? I've appropriated some code to create a countdown timer for the launch of a new site. The timer itself, which uses a custom typeface, works very well.
However, when the if / else statement for timesup is true and goes to 'else', I can't get any other f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Magento CLI install: in table "core_resource" column "data_version" remains null, why? i try to install Magento 1.5.1 via cli.
As far as i can see all database tables are created with relevant content, but in table core_resource i can see the data_version comming from sql dir (mysql4-data-upgrade... files) is missin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apple HTTP LIVE streaming Is it possible to use the Live streaming method to create a Voice call or Video call app ?
thanks
A: HLS is not the ideal technology for your purpose due to
*
*Latency HLS video stream is broken down into mpegts chunks of 10secs each which has to be transferred fully before it can be pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to apply concatenated classes within another class using Less? Let's say I have the following Less setup:
.box {
border: 1px solid #333;
&.error {
background-color: Red;
}
}
If I wanted to declare another class which applied the full style of .box.error, as .error-box for example, what's the correc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Selected item in asp menu control to look like a button with rounded corners using CSS2.1? I am trying to make my selected menu item look like a rounded corner button using images and CSS2.1.
.StaticSelectedStyle a
{
display: block;
padding-left:5px;
height:35px;
width: 100%;
background:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to enable the default highlight menus in android webview? How to enable the default text highlights menu like: Copy/Paste/Search/Share in android webview ?
A: Working on Android 1.5 - 2.3 you can use emulateShiftHeld() made public since 2.2 but now is deprecated. this method put your WebView into text selectio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: How can I read a JSON in the script-tag from JavaScript? I have a dynamically generated page where I want to use a static JavaScript and pass it a JSON string as a parameter. I have seen this approach used by Google (see Google's +1 Button: How do they do it?).
But how should I read the JSON string from the JavaScri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "104"
} |
Q: Styling a Google Map - Javascript I have followed two different tutorials for my google map, one to run the map from a MySQL database, and another to style the map.
I'm having trouble combining the two of them, I haven't got much experience with javascript...
the code i have for the map working with the database is:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to redisplay the value in html page I have a signup.jsp page, there are some input boxes of html on this page, there is a input box for email-id also, when i submit form after fill up there is server side checking of email address, if email address already exist in database then signup.jsp page will redered ag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make my app stay on top of fullscreen apps I have an app which must always stay on top of other applications.
I'm currently using the setLevel property for the main window to keep it on top of other desktop applications.
I'm trying to fix my app so it can also stay on top of full-screen apps in Lion.
Any ide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: datatemplate issue in silverlight(when assigning value to property) Consider this code:
public class customlistbox : ListBox
{
public customlistbox()
{
this.itemtemplate = this.gettemplate();
}
private string gettemplate()
{
return ".......<locall:CustomGrid Background='" + B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to use lapack under windows I want to use lapack and make C++ matrix wrapper for it, but lapack is written in Fortran, there are some clapack but I want to use it from source. compile firstly *.f and *.cpp files to object files then link it into a application..
the following apps and sources that I have.
*
*v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there any way in Vim to test that I have no file opened at start? At the end of my .vimrc I want to conditionally launch a command opening my TODO list.
The problem is that I only want that behaviour when I am using vim or gvim.
And currently, I also load that buffer if I launch vim foo.bar, which is pretty incon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Preventing certain things from being committed in XCode Situation: I have a few things in my code repository that I only want to be in my own working copy, but I still want to be able to modify the rest of the codebase and do commits without putting in those certain things I mentioned. Is it possible to lock those d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call for a Maven goal within an Ant script? Is it possible to call or execute a Maven goal within an Ant script?
Say I have an ant target called 'distribute' and inside which I need to call a maven 'compile' goal from another pom.xml.
A: You may use a java task (this example is similar to @mateusz.fiolka ans... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: WPF Toolkit: display a label above each line in LineSeries Chart I'm trying to display a label on a lineseries in a WPFToolkit chart. The result I'm looking for would be something like this:
LineSeries with labels
Is there a way to easily do this?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7581158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Problem with $.each() in jQuery I want append some from array by jQuery.each and data hotel_id, number each hotel_id is 4, and this loop $.each(data[0].hotel_id,... }); run 4 times contents inside self, in case that there are or inserted in database rows residence_u and residence_p 3 times (each of they there are 3,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WCF Authentication for a Javascript (Sencha) web app I work on a mobile web app in Javascript(Sencha)/HTML5 with WCF Rest services that needs to use authentication to authenticate users from a custom (MySQL) database in order to customize services responses during the user session.
I search about WCF authentication ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript convert huge float to string
Possible Duplicate:
How to avoid scientific notation for large numbers in javascript?
Javascript: how to avoid scientific notation when displaying large unumber
I have this code:
var f = 1000000000000000000000; // 1e+21
var fstr = f.toString(); // return "1e+21"
But I don'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: not able to load a view when I disable javascript rails 3 Here is my controller code:-
def image_test
respond_to do |format|
format.js {render :layout => false}
format.html {redirect_to image_test_path}
end
end
I have got a partial by the name of _image_test.html.erb and and a simple view im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RewriteRule for the same file which is currently targeted I have a file like
www.domain.com/test.php
I want to write a rule that when ever this is called i am sending an argument to this file but I don't want them to show in the URL I.E. when the above path is in the browser the actual rule should be:
www.domain.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keep a view alive while switching activity I created a game, where I rotate through multiple activitys. Each activity stays just for a few seconds. Now I should add ads to the game. Since it doesn't make sense if the ad refreshes after just a few seconds I have to create a view which stays alive the whole time even ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Regular Expression for email for a specific domain name This is my code:
<asp:RegularExpressionValidator ID="regexEmail"
runat="server" ValidationExpression="(\w+@[test]+?\.[com]{3})"
ErrorMessage="Please Enter Valid Email Id"
ControlToValidate="txtEmailAddress" />
which is not working. But my pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Feed dialog generating errors with iOS SDK UPDATE: This problem was resolved when facebook fixed their service.
I'm trying to get the feed dialog to work for sharing with facebook. I had it all working before with the old, deprecated API and SDK, but have just moved to using the current iPhone SDK and am trying an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Deploying *.war application with Java Web Start (JNLP) I want to rollout a web application (*.war) with Java Web Start (JNLP). My starting condition is that I have a running configured Tomcat 6.0 server available at the client.
Normal deployment at tomcat is pretty clear to me. Just put the *.war file to the webapps... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Autorenewable Subscriptions won't be autorenewed Sorry for that millionth question on autorenewable subscriptions, but i don't get it.
I've done everything as describet in Apples In-App Purchase Guidelines but it didn't solve the problem.
My problem is that i have created autorenewable subscriptions but they won't b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How did malloc and calloc end up with different signatures?
Possible Duplicate:
Why calloc takes two arguments while malloc only one?
There are lots of resources describing the difference in functionality between malloc and calloc, but I can't easily find one that describes the history behind the differing functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: How do I remove duplicate entries in this T-SQL query containing LEFT OUTER JOIN I am having issues taking out duplicate entries from this query containing multiple LEFT OUTER JOINs
SELECT s.Category,
SUM(spons.SPONS) AS SPONSOREDAMT,
SUM(priv.PRIV) AS PRIVATEAMT FROM (SELECT ID AS ID,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Double status bar when showing modal view controller I have a modal view, which I show after application launch. The problem now is that the Modal view leaves 20 pixels for the status bar (See picture)
double status bar http://k.minus.com/j1vKSpCmFJXie.png
This is what my MyViewController looks like in Interface bui... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to remove the 5s delay of the Silverlight Unit Testing Framework I use the Silverlight Unit Testing Framework and it works pretty well.
However every time I launch my tests, I have to wait 5 seconds or click the "No, run all tests" button.
Is there a way to skip this step that I don't need?
A: In the App.xaml... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Binary Typing Problem I am trying to work with the Haskell Bson and I want to save and load them. The saving seems to be no problem, but I get a typing error with the Binary.get functions.
Here's my code:
{-# LANGUAGE GeneralizedNewtypeDeriving, TypeSynonymInstances, FlexibleInstances #-}
module Database.Axiom where... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: in a xcode webview: how to get the name or id of input tag selected? Inside an xcode application, I have an webview with a variable number of text input.
There is a method to get to xcode the attribute "name" or "id" when I selected the field?
My problem is that I don't know how to pass the name or id of selected fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use Apple Header doc for auto-generated documentation for iOS development? I have used Doxygen tool for document generation. But later on I have come to know that Apple itself provides "Documentation Set Guide".
Here is the reference link:
http://developer.apple.com/library/mac/#documentation/DeveloperTools... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Regex matching of simple expression I'm new to regex and can't figure out how to match the following in C# using Regex.Matches
left -> right
I tried "(\w) -> (\w)" but I think I'm way off.
A: Not way off, you need:
(\w+) -> (\w+)
I would recommend this guide for learning regex.
A: Match m = Regex.Match("left -> ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Very slow java application start up I have a very strange problem. My java application is starting up very slow. Here is a snippet of code:
public static void main(String[] args) {
System.out.println("Is this going to be printed really fast?");
if (args.length == 0) {
//other code below
The thing is even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to print time in micro seconds using ctime() function? HI how to print time in macro second also with the use of following function in c++, I am using,
time_t rawtime;
time(&rawtime);
std::cout<<"Cuuent TIme is :: "<< ctime(&rawtime)<< std::endl;
Above code will give me only hours, minutes and second. I also n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: returning a reference fom a local (within function) variable from a function back to the caller my Q is quite similar to these, but not exactly the same to:
Returning const reference to local variable from a function
Returning function-local variable as reference
I have a bit of code that is used to parse an xml fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to detect a level=2 memory warning in iOS? Apple defines lev=1 and lev=2 memory warnings as very different (one is "hmm. not much memory around. Be careful", the other is "I am about to kill a process, you have 5 ... 4 ... 3 ...")
...but how do you find out programmatically which one you've received?
I have an i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Left join resulting in null rows for column with no null rows This has me confused, I'm getting NULL columns for this query even though the table movie_image doesn't have any NULL values in the column mi.filename.
SELECT m.*, mi.filename, COUNT(p.movieid) AS publicationsCount
FROM movies m
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I persist some data with a Magento Quote Item for reference on checkout? I need to persist some data associated to a product and then process it on checkout. This is internal data that isn't visible to the user, however it is calculated when a user is adding an item to the cart.
I've tried extending the Cart... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Soft-delete user table? Or is there another alternative? My head's spinning from reading all the pro's & con's articles about soft-delete. But that's the only way I know to achieve this:
maintain the foreign keys & user info (history data)
Even if the user is deleted/inactive, there are foreign keys in commen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: HTML: Can I mark/highlight a drop-down list menu item? Say I've got a list. I want to let the user know that one of the indices was the one that was previously set. I would like it so that when the user opens the drop down menu he can see that one of the options is marked so it looks different from the rest.
Is the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7581242",
"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.