text stringlengths 8 267k | meta dict |
|---|---|
Q: Execute Javascript *after* ajax update I need to execute a certain javascript function after the ajax update has been applied. I tried jsf.ajax.addOnEvent(ch.ergon.newom.ajaxUpdate) to
get informed about the request, but that seems to be execute after the ajax response arrived, but before it got applied (that is: th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hide the a saved password from the source I have a login form and an option to remember the password. The password is encrypted in a cookie on the users computer. At the moment it is decrypted and placed in the password field. This isn't that flash as you merely view the source to see the users password.
Whats the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: find optional middle of string surrounded by lazy, regex I'm using python and regex to try to extract the optional middle of a string.
>>> re.search(r'(.*?)(HELLO|BYE)?(.*?END)', r'qweHELLOsdfsEND').groups()
('', None, 'qweHELLOsdfsEND') #what I want is ('qwe', 'HELLO', 'sdfsEND')
>>> re.search(r'(.*?)(HELLO|BYE)?(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Vim: brace matching unreliable I'm using Vim to edit JSP files with JavaScript. Somehow the % key (jump to matching brace) doesn't work most of the time: Sometimes it works, sometimes it works only in one direction, but most of the time it doesn't work at all. Of course Vim is able to highlight the right matching br... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Check whether a path is absolute or relative How do you check whether a path is absolute or relative, using C on Linux?
A: It's absolute if it begins with a /, otherwise relative.
A: Check if the path starts with / or not. if path starts with / you can assume it is absolute.
A: Check if the path starts with / or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: 2 submit buttons I have a webpage which has 2 submit buttons.
How do I post a value to another page based on the button clicked.
Lets say the 2 buttons on the form are yes and no. If the yes button is clicked, I want to post the value 1, if the no button is clicked, I want to post the value 0.
Does anyone know how ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Web Service Authentication Inside Application First let me apologize in case I'm repeating a question, it seems I should be since it seems such a fundamental matter, but I can't seem to find an answer...
We have an application deployed on a web server (Web Logic). We have been given a task of providing a web service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to match the whole string in RegEx? I'm want to have two patterns:
1. "number/number number&chars"
2. "number_number"
1. "\d/\d \s"
2. "\d_\d"
These don't really work. For example the second one also matches "asdf894343_84939".
How do I force the pattern to match the WHOLE string?
A: You need to use the start... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GPS LocationManager and ListenerManager Management in a Base Activity My need is that,
all most of my activities need location of user to get updated data which is based on location. So, instead of define in all activities seperately I define a base activity (BaseActivity.java) and declared all activities have to i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to conditionally define the ON value of a JOIN in SQL? I am facing an issue with a conditional join.
This is my query :
SELECT table_b.name
FROM table_a
LEFT JOIN table_b
ON table_a.id = table_b.a_id
The description of my table_b :
id, a_id, ref_z, name
----------------------
1 | 0 | 1 | James
2 | 0 | ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to release the NSMutableArray about to return but NOT the objects inside? As the following code, I pass objects to make some data reset in this method, contained by a NSMutableArray. All good, code works.
But when I use Xcode Build and Analyze, it warns me "Potential leak" for the *newObjs.
If I add autorelease ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WebView does not launch with a normal URL My WebView does not launch with a normal URL
I have done everything I could, The browser is simply not launching...
I have tried attaching webclient too, doesnt works. I have the internet permission in the manifest. Could anyOne help me here? :(
Its so simple and its not wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get Table in DataRelation at runtime I try to explain with an example what i need
I have a Patient and Order tables in db. Patient can have multiple orders through stored procedure i will get patient attributes and orders related to that patient and i will put it in dataset. But patient attributes will be in one Dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Symfony bhLDAPAuthPlugin doubt i'm working on a Symfony project and using the bhLDAPAuthPlugin to connect my app with the Company's Active Directory.
Its a nice plugin, easy to install and use, but i need to customize it. I have to add one parameter to the login form (i've already done this) and assign its value t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to implement Https(SSL Middleware) in Django I am a newbie in Django and web development. I want to implement
Exactly this Question, but in django. I have searched many blogs and questions, nowhere was i able to find,exactly how to implement this. The SSL Middleware Django, is something i couldnt grasp very ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: error in gmail contextual gadget i'm working on a gmail contextual gadget (GWT) to deploy on the google market place.
the gadget is triggered correctly but when i try to get content matches it fail.
<Module>
<ModulePrefs author="xxx" author_affiliation="xxx" author_email="xxx"
directory_title="Test GMail Context... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: If there is string.Empty why there is not char.Empty?
Possible Duplicate:
Why is there no Char.Empty like String.Empty?
I want to pass an empty char as a method parameter and I was wondering why I cannot say
char.Empty
while C# allows me to specify string.Empty ?
If not do I have '' as the only option ?
A: The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to understand USB, using C I have searched for these answers but had no luck :( I have been working with a RFID device from China, so I know next to nothing about it. I am trying to write a program (actualy i'm trying to use someone else's library) to interact with it. When a tag goes over the RFID device the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Autocompile SASS stylesheet when a partial stylesheet is changed I've just started working on a project using SASS on a windows machine. The main stylesheet (styles.scss) inports several partials (_typography.scss etc), and styles.scss is watched by sass and gets automatically compiled to styles.css.
On a mac, any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why would Openlayers always render over other divs? I'm having trouble getting an Openlayers div to allow other divs to appear above it.
Having tried the solution proposed here as well as the more classy-looking one here, I haven't had any luck yet. Openlayers always orders itself over other divs. I've also set the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I copy code from Kindle PC and preserve formatting Has anyone figured out a good way to copy code from Kindle PC?
I've just downloaded a programming book to Kindle PC for the first time. The code in the book is formatted very nicely, and I'd like to copy the code directly from the Kindle PC book to Visual ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: c++ macro concatation not worked under gcc #include <iostream>
void LOG_TRACE() { std::cout << "reach here"; }
#define LOG_LL_TRACE LOG_TRACE
#define LL_TRACE 0
#define __LOG(level) LOG_##level()
#define LOG(level) __LOG(##level)
int main()
{
LOG(LL_TRACE);
return 0;
}
The code is worked under Visu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to call a Spring MVC controller by ui:include? I am working on a legacy project that was built with JSP. The JSP page included an HTML page via <jsp:include>. But the included page was essentially a mapping to a Spring MVC controller.
Now I switched to JSF and replaced the <jsp:include> with a <ui:include>. But ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cross-domain redirect to a partially filled form on Django web application I have an HTML form in my Django web application (NOT implemented using Django forms) that does POST request.
Now I want to implement a feature so that other web apps, not necessarily django, from different domains, can send some data to my a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Imported flash builder project unable to open swc I wanted to import an older FB project into the flash builder on my new pc, but I only have the filestructure. So I used 'import>existing projects into workspace'.
The files seem to be intact still, but the project now gives me an error regarding an swc in the bin fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP precision rounding question Wanted to as a simple question.
Code:
$myarray = array(5.0000);
echo round($myarray[0],2);
Ouput:
5
Why is the output 5 and not 5.00 ?
Thanks
A: It's because round actually rounds off the data you give to it, it doesn't change how that data is printed.
If you want to specify how th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prevent Googlebot from running a function We have implemented a new Number of Visits function on our site that saves a row in our Views database when a company profile on our site is accessed. This is done using a server-side "/addVisit" function that is run each time a page (company profile) is loaded. Unfortunatel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why appears a duplicate section cell while-in-search-mode in UITableViewController? Why appears a duplicate section with one empty cell (or even maybe table) behind my cells that are the results of the search? That dummy cell appears when I'm dragging my real on-top cells to the bottom.
UPDATE: However, I do not se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Lowercase or uppercase for SQL Statements Is there a fundamental difference between these statements
"select * from users where id = 1"
OR
"SELECT* FROM users WHERE id = 1"
OR
'select * from users where id = 1'
OR
'SELECT * FROM users WHERE id = 1'
I was just wondering... I always used the 2nd method, but some co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Delphi Chromium Embedded: ICefBrowser.GetMainFrame returns NIL I'd like to use TChromium component which is part of Delphi Chromium Embedded (http://code.google.com/p/delphichromiumembedded/). Unfortunately once I build the application and run it (it's inside 'bin' directory which contains all the CEF binaries, so n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iPhone app - Review guidelines - Contest rules i've just had my iPhone app rejected on the 20.2 statement of the Review Guidelines:
Official rules for sweepstakes and contests, must be presented in the app and make it clear that Apple is not a sponsor or involved in the activity in any manner
Now, I have a problem. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Backbone.js appending more models to collection I have a following code that fetches data from the server and add to the collection.
// common function for adding more repos to the collection
var repos_fetch = function() {
repos.fetch({
add: true,
data: {limit:curr_limit, offset:(curr_offset*curr_limit)},
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Execute InsertQuery command from SqlDataSource in JavaScript I am using ASP.NET
If I want to execute my Insert command from my SqlDataSource in my code behind I would do this.
SqlDataSource1.Insert()
But how would I be able to do this in JavaScript?
<script type='text/javascript' language="javascript">
function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I draw something on window, that does not belongs to me, using opengl? I heard you can hook window handle and use this window as OpenGL canvas. I know how to hook windows, but I can't find how can I draw on this window.
PS. I'm using Qt if it helps.
A: OpenGL contexts are only usable in one thread at a time and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Saving advanced state of an Android Listview I know that Android provides a mechanism to allow developers to save and restore states in an Activity via the following methods:
protected void onSaveInstanceState (Bundle outState)
protected void onRestoreInstanceState (Bundle savedInstanceState)
I've seen numerous exa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Local class definitions: why does this work Why does the following style of code work:
BroadcastReceiver receiver = new BroadcastReceiver() {
public void onReceive(Context context, Intent intent) {
//do something based on the intent's action
}
}
I would expect it to be:
private class MyBroadcastRece... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: When should you use the as keyword in C# When you want to change types most of the time you just want to use the traditional cast.
var value = (string)dictionary[key];
It's good because:
*
*It’s fast
*It’ll complain if something is wrong (instead of giving object is null exceptions)
So what is a good example... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: How to populate the pull down menu? I'm trying to populate the pull down menu. so far ive got:
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
<HTML>
<HEAD>
<TITLE>NZ Currency Converter</TITLE>
</HEAD>
<BODY>
<p><tr>
<td colspan="2" align="right"> The other currency is:</td>
<td>
<select n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTTP response code after redirect There is a redirect to server for information and once response comes from server, I want to check HTTP code to throw an exception if there is any code starting with 4XX. For that I need to know how can I get only HTTP code from header? Also here redirection to server is involved so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: jQuery hide if clicked outside the button I want to show a paragraph by clicking on the button with the jQuery. But when it is visible, then I want to hide it by clicking anywhere else than the button (ie. anywhere outside the button).
For example, here is my code:
<p style="display: none">Hello world</p>
<button>S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Virtual Path Issue Hello Code Experts,
I am uploading some files to a virtual directory. For the virtual directory I am giving the path like
"/Uploads/" + DatabaseName + "/" + REOID + "/" + "ExternalDocument" + "/";
It works fine in my local but not in live server. It is not uploading files in live server.
If I ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHPExcel: Date formatting difference between 1.7.4 and 1.7.6 I've two different results with the same code between two PHPExcel versions (same server, same code, same data). I've tried two ways to write in the cell, same behaviour.
PHPExcel_Cell::setValueBinder( new PHPExcel_Cell_AdvancedValueBinder() );
$sheet->get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make css a:active work after the click? I am trying to make a menu working as tabs. The tabs themselves are working fine and the menu links are great aswell.. But I'd like to remove the buttom border of the active tab, to make it look like you're on that actual page. I've tried using #id a:active but it seems... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How to Annotate Index on a MappedSuperclass I have a mapped superclass with two already indexed properties. now i want to create a group index over both properties. until now it worked with:
@MappedSuperclass
Class A {
@Index(name="pa")
int a;
@Index(name="pb")
int b;
}
According to the hibernate do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Divide files depending on X and put into individual folder How do I create a script in a command prompt (or shell script in a bash) to divide files depending on a number, say X, and put into individual folder.
Example: I have 10 files and the number X is 4 (I can set it inside the script). So, the system will create... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: set 'secure' flag to JSESSION id cookie I want to set 'secure' flag to JSESSIONID cookie . Is there a configuration in tomcat 6 for this ?
I tried by setting 'secure="true"' in 'Connector' (8080) element of server.xml , but it creates problems ....thats Connection is getting reset .
Note that in my application ,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get val from fileds inside table inside div with JQuery Can somebody help me how to collect data from input fields from tbl_number in one array array_tbl[number] and object_number in other arrays_object[number] with JQuery when HTML looks like
<div id="devices" style="width:95%;">
<div id="device_1" style="b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to put line break in excel sheet cell I've so many rows in database table and i want it to be exported in excel sheet.
My each row represent an individual sale, this sale may contain one or more product and if there is more than one product i'm showing it like this
above image represent my single row that cont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Using var for type declaration instead of explicitly setting interface type I'm not sure if I'm overthinking this but in the past, I've done something like this when declaring a class:
IMyService myService = new MyService();
Jumping into myService will take you to the IMyService interface.
However, doing the follow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Inner join help in mysql SELECT MsgID, Name FROM tbl_message INNER JOIN tbl_user on tbl_message.UserID = tbl_user.UserID WHERE OrgID ='1' order by MsgID
I have a message table
msgid msg userid Orgid
24 Hi 2 1
25 hsa 4 1
User table
userid Name Orgid
2 cas 1
4 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Save File to a remote Url first of all sorry for my english , not my main lang.
I need to export some data to a remote folder from android.
I have a file on android "file.xml" and i need to export it to a folder (under iis)
"http://192.168.x.xx/folder/fileuploaded.txt"
It seems most of the examples out there are u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL Server: hour and minute average In SQL Server, I have a start time column on a table such as:
2011-09-18 08:06:36.000
2011-09-19 05:42:16.000
2011-09-20 08:02:26.000
2011-09-21 08:37:24.000
2011-09-22 08:22:20.000
2011-09-23 11:58:27.000
2011-09-24 09:00:48.000
2011-09-25 06:51:34.000
2011-09-26 06:09:05.000
201... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: display subsets of vtkPoints using different glyphs I am trying to display some timeseries data in 3D using colormapped values using VTK.
I have a single array of 3D positions for two different kinds of objects, say cones and spheres. These positions are interspersed. I also have a 2D array with timeseries data for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: extjs standardSubmit and grid inside a form problem I'm having some weird issue with extjs. I have a form and a grid, each works great separately but when I put the grid inside the form, everything starts to fall to pieces.
My point by doig so would be to be able to submit ids from rows of the grid and at the same t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when Joining table I am getting the error, Incorrect syntax near the keyword 'WHERE'
All i want to do is use some columns from another table
SELECT unitCode, studentID, s.studentFName
FROM Student As S Right outer Join
(SELECT unitCode, studentID,
SUM(CASE WHEN subStatus = 'Yes' ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Start a specific part of an application only one time after installation On my app I've got a Database which i have to fill one time with some entries. I have packed this step in my splashscreen. Now I got the problem every time i open up my application it puts again all entries to my database.
I'm looking for a way... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to connect to a Sybase Database using Android? I want to use data, and put data, in a sybase database using android.
How can I access it?
A: http://iablog.sybase.com/mobiledatabase/2011/05/database-programming-on-android-with-ultralite/
I think this has some nice information on how to do it. Hope it helps!
Assu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Implement ELSE expression from SQL data, is it possible? Suppose there're 2 tables with data like below:
-- Table #Detail
TelNO
----------
001xxxxx
020xxxxx
021xxxxx
800xxxxx
400xxxxx
28011111
82188888
22223333
...
...
-- Table #FeeRate
Expression Price Description
-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: NSPredicate for max(arrayOfNSDates) I got problem with NSPredicate.
I got some engine where the predicates are constructed from a definition coming from a web service.
I use somethning like that:
[NSPredicate predicateWithFormat:@"max({1,2,3})==3"]
it's great, but I need max function for NSDate objects.
Here http:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: On top datagridview I have 4 datagridviews.
based on user's selection I'll bring on of them to front.
I have a button that use top datagridview for calculating something.
How can I recognize which datagridview is on top?
A: Use .Visible = true; or .Visible = false; Property to either hide or show your current grid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make Search and Archives match homepage I have my homepage http://www.faberunashop.com set up as a directory. When you click on the post image, it takes you over to the artists site. Here is the code that I used to make this happen by adding it to the functions.php:
function print_post_title() {
global $post;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TortoiseHg 'No space left on device' error while pushing We are using TortoiseHg as our Mercurial client UI. Today we ran into an issue while trying to push from one particular workstation. It was receiving the following error:
abort: No space left on device
[command returned code 255 ..........]
This error occurs ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: analyze program performance I have a program and I have encountered some performance issues.
I want to be able to track how long it takes for every single function in my code to run.
please recommend me a tool that can do as stated.
EDIT:
are there any free/open source tools?
A: Have a look at DotTrace, JetBrains a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: AppDelegate never being called on iphone/ipad I am developing an app that runs on both ipad/iphone, so for ipad
I am using a view controller in mainWindow_ipad.xib and then I am loading a new view using navigation vc, but I cant access my appDelegate method. The app directly starts and loads the newView which I am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RefreshEventName for filtering on ria services for visual studio 2010 In ria services for silverlight 3 there was a functionality through RefreshEventName in order to control when a filter should be applied to the domain service query. (usually set to TextChanged)
In the new implementation of ria (visual studio 201... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Servicemix - OSGi classloading issues with embedded dependencies I'm developing project with multiple OSGi bundles, deployed on ServiceMix (FuseESB compilation, v. 4.3.1). The issue is, one of this bundles is connecting to EJB on WebLogic, therefore it embeddes weblogic.jar.
The solution is working, however a trick ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SVN-difference between lock on working copy of file and lock on repository file What is the difference if I lock the file in the working copy that I have downloaded and the same file in the repository. The syntax is :
svn lock TARGET
So target can be URL for the file in repository and file in the working copy.
What... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Efficiently Computing Text Widths I need to compute the width of a column with many rows (column AutoSize feature). Using Canvas.TextWidth is far too slow.
Current solution: My current solution uses a text measurer class that builds a lookup table for a fixed alphabet once and then computes the width of a given stri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do I convince the JVM to inline an interface method? I have an class hierarchy rooted in an interface and implemented with an abstract base class. It something looks like this:
interface Shape {
boolean checkFlag();
}
abstract class AbstractShape implements Shape {
private boolean flag = false;
protected... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Newbie: Errors in an iPhone app I'm really newbie in iOS and I have to handle a complicated situation. I was given an iPhone app developed by someone and I have to make it work. The guy who developed it has told me that it worked, but sometimes crashed in an iPhone. I've never developed using iOS and I don't really ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where should log4j.properties be located when using Maven Exec Plugin? I am trying to use log4j in a project I am executing with the exec-maven-plugin. I have tried placing the file in the following locations:
$PROJECT_HOME
$PROJECT_HOME/src/main/resources
$PROJECT_HOME/target
$PROJECT_HOME/target/classes
For all ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to enter text in uppercase? I need enter text only at uppercase. How can I do it in vaadin with TextField?
I need that text is really uppercase not only visualy using styles....
A: An easy way to achieve this is to set the style and change the string to uppercase by yourself.
Here's the VAADIN code:
TextField d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: rails 3 habtm filtering with multiple entries i have a product model and a product category model. and theres a habtm between those.
i have categories like 'men' and 'jeans' and i would like to filter these. to do a filter on men is no problem but i need to filter multiple parameters (men and jeans). i tried some va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Readonly public property redeclared as readwrite in private interface.. understanding a bit more I've read the Property redeclaration chapter in The Objective-C Programming Language document and I'd like if some of you can clarify me the following property redeclaration:
// MyObject.h public header file
@interface ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: why my uialeartview alway change position when rotage My uialeartview code.
when it show in Landscape or Portrait it ok but when
change Portrait to Landscape or Landscape to Portrait
it will always move up not in center of window like before
how can i make it it center of window when rotage.
UIAlertView *over;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when executing SQLCommand using C# i'm pretty new to ADO.NET using C# (Visual Studio 2010). Using LinqToSql isn't an option because underlying database is a Compact Edition 3.5 (unfortunealty).
with the code displayed underneath I get an error: "There was an error parsing the query. [ Token line number = 2,Tok... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: are there any samples on how to use chat api with facebook c# sdk Can I use the Facebook Chat API with the Facebook C# SDK? If so, are there any samples for using the Chat API?
A: Facebook C# SDK doesn't support the Facebook chat API.
Facebook chat is based on the XMPP protocol, so you might want to search for XMPP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Index xml output of a rest web service into a solr server How can i index a solr server with the content of webservice.
my webservice output looks like this
now i want to index the solr serverwith the content under xml as shown above
how can i index thiss into apache solr.
A: You will need to loosely follow the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Asp.net website custom logins i have made a simple web application which uses a table from a database to show the data also for the logins i used asp.net membership provider. which made the aspnet.mdf database. Now i don't want to use 2 databases for this. I just want a single database which also contains the users ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linking HTML table with MySQL table I have a table that displays data from a MySQL table. I have an extra column that adds a checkbox for each entry.
Is it possible to link that column row with the other data in the columns containing the MySQL data?
The checkbox entries will then be saved to a new mysql table upon ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to round to the next multiple in JavaScript? I'm looking for a JavaScript function which will round to the next multiple:
function arrondiSuperieur($nombre, $arrondi) {
return ceil($nombre / $arrondi) * $arrondi;
}
echo arrondiSuperieur(6, 5); //display 10
echo arrondiSuperieur(16, 7); //display 21
Have yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to wrap accordion pairs with outer container? I have the following problem with the accordion. I have pairs of elements with an outer container "accordion" but I need to wrap each pair with another container. As I understood I can't wrap them before because the accordion won't work.
So I need to wrap them after ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Mapping a UserType column of oracle in Hibernate I have a user defined datatype that can contain a list of numbers. How can I map it in Hibernate.
While using the reverse engineer feature of hibernate, I get a Serializable datatype corresponding to this field.
I desire to have some concrete Class for the same.
I ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to see which commits in one branch aren't in the other? I have two branches devel and next. In devel I have a more or less huge amount of commits. Some of the commits are cherry picked in next. Also I added some commits to next which are merged to devel.
Now I would like to see what is missing in next, so I can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "208"
} |
Q: sql exception while updating data While updating data, I get the following exception:
Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information.
Can anyone help me please?
string cs = ConfigurationManager.ConnectionStrings["DBCS"].Connecti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error "Unable to find the requested .Net Framework Data Provider. It may not be installed" I am using Visual Studio 2008 and oracle database 10g.
I trying to connect to the backend like this:
Subwindow "Server explorer". Push button "Connect to database" and make next chain
Data Connection->Choose Data Source->Oracl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Select All tables / not? I have the following master & child tables (All of them require ADD/EDIT/DELETE)
tblSchool
tblStudent
tblClass
tblTests
|
> tblSchoolClass
> tblClassStudent
> tblStudentTest
So, while specifying a new ADO.net Data Entity model, Do i need to select ALL the tables or group and select them (c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: setTimeout Jquery help how can i settimeOut of 1 sec, for the following animation to take place, i tried using SetTimeout, but it didnt work, heres the code
$(document).ready(function(){
$('.caption_logo .flying-text').css({opacity:0});
$('.caption_logo .active-text').animate({opacity:1, marginLeft: "-350px"}, 500);... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WebP library for C# It seems like there is no code samples for WebP in C#. Is there any? I don't need to display WebP images directly but saving & transferring as WebP would be nice.
A: WebP-wrapper
Wrapper for libwebp in C#. The most complete wapper in pure managed C#.
Exposes Simple Decoding API, Simple Encoding ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: ie7 css; position relative problem? Please have a look at the following url: http://server.patrikelfstrom.se/johan/fysiosteo/
I want the image to be on the right side of the content, so i made the container position: relative and the image position: absolute. Works great, except in IE7. So I would like to know how t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OpenCV - How to defined a variable of type CvvImage in Opencv 2.3? I'm writing a program to capture image frames from a camera and to dispay them on the MFC picture control window. My program is using MFC in OpenCV 2.3 and Visual studio 2010.
but I am not able to use the function CvvImage.
It says it is undefined.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use Integer in freemarker template? Yesterday, when I attempted to get a variable value from action,
if I set the variable's which defined in ftl value up to below ten , the result always got empty.
<input type="hidden" name="orderId" id=orderId" value="9" />
public class OrderVo {
private Long id;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Load Database - how to show progress in progressBar? I'm trying to use a ProgressBar, which shows the progress of loading a database, which is in the local assets folder. I don't know if it's even possible this way, because I'm using code which was before for downloading a file from the internet.
I think that I wou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can ClickOnce deployment technique be used in combination with Systems Management Server (SMS)? Can ClickOnce deployment technique be used in combination with Systems Management Server (SMS)?
What I have seen so far is that we have to publish an application on Web Server, FTP or network to be eligible for clickonce ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NHibernate map to inconsistent Data I am using NHibernate to map a DataModel. Unfotunatley the DataBase contains some inconsistent data due to lack of keys/constraints. Currently I am stuck with an m:n mapping where some keys on the map Table reference missing data.
Here is some sample Data:
Table: Foo
id Value
0 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sql Job running for 30 minutes then report successful We have a job that runs every night and rebuild the indexes on a customer database, however after installing the job, it runs successfully every night according to the history and finishes in around 30 minutes every night, however we found that the indexes that i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Two threads communicating I have a richTextBoxLog which is public and static.
After I declare it, I start a new thread which initializes new variable named proba. richTextBoxLog should get the value from proba.
The problem is, proba needs time to be initialized, and I want richTextBoxLog to initialize while proba is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WCF + EF 4.1 Eager Loading and Serialization Problem The simple case where my OperationContract implementation is like:
public List<Directory> GetDirectories(bool includeFiles)
{
if (includeFiles)
{
return this.db.Directories.Include(e => e.Files).ToList();
}
else
{
return this.db... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a way to add and detach an event handler without loosing scope? Working with asynchronous classes, often I find that I am always having to store state in fields so that I have access to them in the completed method. Ideally, I'd like to avoid having to store state in fields as this means I need to worry abo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# 3D wpf gradient colour depending Z C#
I want to t ouse the LinearGradientBrush with absolute cordinates so the pixel colour
of each objects reflactes the height but I do not understand how to use the LinearGradientBrush.
But how is this applied to "only" the Z value of each object.
In my example I want the colou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7566474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.