Id int64 1.68k 75.6M | PostTypeId int64 1 2 | AcceptedAnswerId int64 1.7k 75.6M ⌀ | ParentId int64 1.68k 75.6M ⌀ | Score int64 -60 3.16k | ViewCount int64 8 2.68M ⌀ | Body stringlengths 1 41.1k | Title stringlengths 14 150 ⌀ | ContentLicense stringclasses 3
values | FavoriteCount int64 0 1 ⌀ | CreationDate stringlengths 23 23 | LastActivityDate stringlengths 23 23 | LastEditDate stringlengths 23 23 ⌀ | LastEditorUserId int64 -1 21.3M ⌀ | OwnerUserId int64 1 21.3M ⌀ | Tags list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4,034,168 | 1 | 4,035,665 | null | 1 | 186 | Im currently evaluating Drupal to see if we can use it to replace our framework. My problem is I have this legacy tables which I would want to try to reflect in Drupal. It involves a join table. There's quite a lot of this kind of relationship in our existing web app so I am looking for possible ways to solve it.
![alt... | How do I do this in Drupal? | CC BY-SA 2.5 | 0 | 2010-10-27T14:09:47.943 | 2011-09-17T19:18:17.323 | null | null | 258,219 | [
"drupal",
"drupal-6"
] |
4,034,303 | 1 | 4,257,800 | null | 2 | 976 | I have a button.
The button is constructed from the StateListDrawable (made of 3 9-patch images).
I need to add an extra drawable that will reside on the button's right side, and i need it to be aligned with the button's right side.
I tried to use the following:
```
<?xml version="1.0" encoding="utf-8"?>
<layer-list x... | Android Layer_Drawable as a button | CC BY-SA 2.5 | 0 | 2010-10-27T14:24:06.490 | 2010-11-23T15:38:44.983 | null | null | 312,288 | [
"android",
"image",
"alignment",
"drawable"
] |
4,034,919 | 1 | null | null | 4 | 7,698 | I'm working on a photography website. One of the things we're trying to aim for is a 'film strip' type of display for the images, as opposed to the usual thumbnail or 'tabulated' formation.
It works with tables. No problemo. The only thing that makes me not want to use a table is the fact that I'm not showing data, th... | Align DIVs horizontally within a scrolling div | CC BY-SA 2.5 | 0 | 2010-10-27T15:29:00.303 | 2010-10-28T03:48:57.263 | null | null | 379,619 | [
"html",
"css"
] |
4,035,099 | 1 | 4,035,116 | null | 0 | 498 | I have a blog of code written such as this:
```
<div class="box">
<div class="statusbox">
<div class="cleft">some stuff</div>
<div class="cright">some more stuff</div>
</div>
</div>
```
and this is the CSS code for it:
```
.box{padding:10px; border: 1px black solid;width: inherit;}
.statusbox{bord... | CSS class not inheriting | CC BY-SA 2.5 | 0 | 2010-10-27T15:49:35.817 | 2010-10-27T15:52:07.317 | null | null | 114,865 | [
"html",
"css"
] |
4,035,211 | 1 | null | null | 0 | 546 | I have code to rotate and size a scrollview, such that when the iPhone is landscape the orientation is correct.
This is what the view looks like before rotating:

The scroll view is in yellow.
This is what it looks like after: :
name = models.CharField(max_length=150)
value = models.DecimalField(max_digi... | Handling presentation logic in Django templates | CC BY-SA 2.5 | 0 | 2010-10-27T17:01:28.003 | 2010-10-28T16:03:25.550 | null | null | 46,928 | [
"django",
"django-templates"
] |
4,035,767 | 1 | null | null | 19 | 39,502 | Is it possible to have add a row to an SSRS 2008 Matrix that spans all of the matrix's columns?
This crude diagram shows roughly what I'm looking for:

The basic idea is that each line item is a person, and each column is a fi... | Is it possible to create a row that spans all columns of a Matrix in SSRS 2008? | CC BY-SA 2.5 | 0 | 2010-10-27T17:07:51.103 | 2020-03-12T16:31:06.650 | 2010-11-09T16:57:12.453 | 16,911 | 16,911 | [
"ssrs-2008",
"reporting-services",
"ssrs-grouping",
"ssrs-tablix"
] |
4,036,081 | 1 | 4,036,493 | null | 9 | 9,189 | I already know how to create shortcuts programmatically from my C# applications using `IWshRuntimeLibrary` and `WshShellClass`. Or I could use `IShellLink`.
Now, if the user's PC is running Windows Vista or Windows 7, I would like to be able to set the property of that shortcut programmactically as well.
![alt te... | Create shortcuts programmatically from C# and set "Run as administrator" property | CC BY-SA 2.5 | 0 | 2010-10-27T17:46:18.867 | 2022-11-01T21:58:58.720 | null | null | 287,311 | [
"c#",
"windows-7",
"uac",
"shortcut"
] |
4,036,398 | 1 | 4,037,281 | null | 40 | 13,907 | I want to create a reusable component (a custom control) for the iPhone. It consists of several standard controls prearranged on a View, and then some associated code. My goals are:
1. I want to be able to use Interface Builder to lay out the subviews in my custom control;
2. I want to somehow package the whole thi... | iPhone: Create a reusable component (control) that has some Interface Builder pieces and some code | CC BY-SA 2.5 | 0 | 2010-10-27T18:22:20.147 | 2011-01-31T16:09:36.847 | null | null | 179,675 | [
"iphone",
"xcode",
"interface-builder"
] |
4,036,761 | 1 | null | null | 0 | 1,900 | See below - the tableView cells are getting cut off. Why doesn't this work? The width of the popover is 240.
(In a subclass of UITableViewController)
```
- (void)viewDidLoad {
[super viewDidLoad];
self.tableView.frame = CGRectMake(0,0,200,200);
}
```

| UITableView width when inside a popover | CC BY-SA 2.5 | null | 2010-10-27T19:11:32.243 | 2012-11-09T07:13:14.660 | null | null | 426,860 | [
"uitableview",
"ipod",
"uipopovercontroller"
] |
4,036,990 | 1 | 4,053,458 | null | 35 | 10,706 | I have a GridView in my Android application that has a number of ImageViews in it. The space on my screen is limited and I want the images to take up as much of the available space as they can. Unfortunately, the GridView always leaves 5 pixels of empty screen space around the outside edge of the ImageViews (the space ... | Why are there extra pixels around my Android GridView? | CC BY-SA 2.5 | 0 | 2010-10-27T19:35:32.823 | 2013-10-25T13:55:47.293 | 2010-10-28T20:39:52.393 | 65,180 | 65,180 | [
"android",
"gridview",
"imageview"
] |
4,037,535 | 1 | 4,038,201 | null | 1 | 1,660 | I have set up some database connection parameters on an OpenDS ldap server, using my own schema. It looks as the attached screenshot.

when I try to query the LDAP using following URL, it fails.
`ldap://localhost/db-configname=local1,ou=eways,dc=rep... | LDAP Query URL - how to refer an attribute? | CC BY-SA 2.5 | null | 2010-10-27T20:41:49.213 | 2010-10-28T19:54:01.473 | 2017-02-08T14:30:43.350 | -1 | 212,211 | [
"java",
"url",
"ldap"
] |
4,037,657 | 1 | 4,038,004 | null | 1 | 3,372 | Currently my ListView is filling up with the given String[] but I wanted to alternate some styles on the ListView items.
Something weird is happening (I'm surely missing something obvious); The ListView Index is not fixed and the styles are not alternating as supposed.
My Code is the following:
```
package com.blah.b... | Alternating styles on ListView using extended ArrayAdapter<E> random results | CC BY-SA 2.5 | 0 | 2010-10-27T20:56:23.543 | 2010-10-27T21:50:46.403 | null | null | 356,828 | [
"android",
"listview",
"styling",
"android-arrayadapter"
] |
4,037,795 | 1 | 4,038,195 | null | 288 | 160,884 | Is there an easy way to add padding between the checkbox in a CheckBox control, and the associated text?
I cannot just add leading spaces, because my label is multi-line.
As-is, the text is way too close to the checkbox:

| Android - Spacing between CheckBox and text | CC BY-SA 2.5 | 0 | 2010-10-27T21:14:36.927 | 2021-11-01T11:26:32.693 | null | null | 205,192 | [
"android",
"checkbox",
"padding"
] |
4,038,138 | 1 | null | null | 1 | 1,527 | I'd like to develop simple 2d games on linux. Something like one below. The only decent tecnology I've found was PyGame. Is there any other worth taking a look? Is there a possibility to develop flash games on linux?
Thanks in advance.

| simple game development on linux | CC BY-SA 2.5 | null | 2010-10-27T22:12:28.000 | 2011-06-15T02:34:01.810 | null | null | 282,307 | [
"linux",
"pygame"
] |
4,038,470 | 1 | 5,597,029 | null | 3 | 658 |
Given a Classpath Container I've written as a plugin/extension, how do I add it to the classpath, automatically?
Ok so I'm an experienced Java Developer but extremely new to writing Eclipse Plugins. I've been googling, following tutorials and reading source code of other plugins for a couple days. I know exactly... | Eclipse Extension Point for Updating the Classpath | CC BY-SA 3.0 | null | 2010-10-27T23:12:09.883 | 2011-04-12T13:53:51.040 | 2011-04-12T13:53:51.040 | 178,433 | 178,433 | [
"eclipse",
"eclipse-plugin",
"m2eclipse",
"eclipse-jdt"
] |
4,039,041 | 1 | 12,713,114 | null | 6 | 2,783 | Webkit allows the use of an external SVG file as a mask for any HTML element. Ie:
```
<img src="kate.png" style="-webkit-mask-image: url(circle.svg)">
```
Resulting in:

(More information here: [http://webkit.org/blog/181/css-masks/](http://webkit.org/blog/181/css-... | Is it possible to use webkit css masks with SVG without an external file? | CC BY-SA 2.5 | 0 | 2010-10-28T01:30:42.493 | 2012-10-03T16:48:36.467 | 2017-02-08T14:30:44.413 | -1 | 188,729 | [
"javascript",
"css",
"webkit",
"svg"
] |
4,039,219 | 1 | 4,039,327 | null | 1 | 2,243 | Let's say you have a website where the body's background color is red and a content area with a white background that is 1,000 pixels wide. Now let's say you want a drop shadow on the content area that is darkest at the juncture of the content area and the red background, and gets less opaque as it goes off the the lef... | Making a div that sits outside the content area but doesn't cause the horizontal scroll bar to appear when browser window is shrunk | CC BY-SA 2.5 | 0 | 2010-10-28T02:16:27.887 | 2011-04-17T13:41:55.433 | 2010-10-28T02:48:59.367 | 385,950 | 385,950 | [
"css"
] |
4,039,229 | 1 | 4,041,286 | null | 41 | 17,474 | For a personal project, I'd need to find out if two cubic Bézier curves intersect. I don't need to know where: I just need to know if they do. However, I'd need to do it fast.
I've been scavenging the place and I found several resources. Mostly, there's [this question here](https://stackoverflow.com/questions/109364/be... | Checking if two cubic Bézier curves intersect | CC BY-SA 2.5 | 0 | 2010-10-28T02:19:03.487 | 2021-09-18T14:03:49.987 | 2020-06-20T09:12:55.060 | -1 | 251,153 | [
"c++",
"intersection",
"bezier"
] |
4,039,325 | 1 | 4,039,438 | null | 5 | 3,266 | If a 32bit Operating System operated with a segmented memory model would their still be a limit?
I was reading the and it states that with a Segmented memory model that it is possible map up to of memory.
> "In a segmented model of memory
organization, the logical address
space consists of as many as 16,383
... | Assembly Segmented Model 32bit Memory Limit | CC BY-SA 2.5 | 0 | 2010-10-28T02:38:47.883 | 2018-04-04T18:00:18.083 | 2018-04-04T18:00:18.083 | 124,486 | null | [
"assembly",
"x86",
"operating-system",
"paging",
"memory-segmentation"
] |
4,039,639 | 1 | null | null | 1 | 3,436 | I got this error message in Eclipse today:

Any idea what went wrong?
| An internal error occurred while processing dirty regions | CC BY-SA 3.0 | null | 2010-10-28T04:01:39.980 | 2014-01-14T21:41:48.847 | 2014-01-14T21:41:48.847 | 321,731 | 276,101 | [
"java",
"eclipse",
"regions"
] |
4,039,671 | 1 | null | null | 4 | 2,153 | I'm trying to get an image of an offscreen window to use in a `CALayer`-based animation, but no matter which method I try I cannot get an image out the other side. Here is the code I've been using on a custom `NSWindow` subclass in my project:
```
CGImageRef windowImage = CGWindowListCreateImage(CGRectNull,
... | How to grab an image of an offscreen NSWindow? | CC BY-SA 2.5 | 0 | 2010-10-28T04:09:06.613 | 2010-10-28T04:22:25.927 | null | null | 63,580 | [
"cocoa",
"nswindow",
"cgimage"
] |
4,040,206 | 1 | null | null | 1 | 3,766 | So I have an ASP.net application, with an ActiveX Control which brings up a pop up
- -
I then get this weird
Microsoft .net Security Warning
Never enter personal information or passwords into a window unless you can verify and trust the source of the request.
Source: xxx.xxxxxx.com
The site is in the trusted lis... | Microsoft .net Security Warning : Never enter personal information or passwords | CC BY-SA 2.5 | null | 2010-10-28T06:01:02.560 | 2012-02-10T21:32:28.653 | 2010-10-28T06:21:41.880 | 109,141 | 109,141 | [
"c#",
".net",
"asp.net",
"iis-7",
"activex"
] |
4,040,244 | 1 | 4,043,044 | null | 5 | 7,161 | How do I change the color of the horizonal and vertical lines? I'd like to make them a little lighter, yet leave the X and Y axis black, probably.

Edited:
indyfromoz suggestion resulted in this:

The effect I want is th... | Visual Studio 2010 Chart control - line color | CC BY-SA 2.5 | 0 | 2010-10-28T06:06:25.243 | 2012-03-06T20:29:52.783 | 2010-10-28T12:00:24.700 | 109,676 | 109,676 | [
"asp.net",
"visual-studio-2010",
"charts"
] |
4,040,307 | 1 | 4,040,345 | null | 4 | 12,028 | I am planning to use jQuery UI Autosuggest for a search form. So I need a json output which can be used by jQuery UI Auto suggest.
Here's the database 
Table name recent_tags
I have tried this
First connect to db
```
$do = mysql_query("SELECT * FROM recent_tags wher... | mysql table to json | CC BY-SA 3.0 | null | 2010-10-28T06:20:41.023 | 2016-02-06T16:56:56.647 | 2016-02-06T16:56:56.647 | 13,302 | 411,023 | [
"php",
"json"
] |
4,040,616 | 1 | 4,059,685 | null | 12 | 10,411 | As seen in the image

I draw set of contours (polygons) as GL_LINE_STRIP.
Now I want to select curve(polygon) under the mouse to delete,move..etc in 3D .
I am wondering which method to use:
1.use OpenGL picking and selection. ( glRenderMode... | OpenGL GL_SELECT or manual collision detection? | CC BY-SA 3.0 | 0 | 2010-10-28T07:14:53.547 | 2016-04-14T14:50:18.580 | 2016-04-14T14:50:18.580 | 895,245 | 180,904 | [
"opengl",
"3d",
"geometry",
"collision-detection",
"picking"
] |
4,040,669 | 1 | 4,040,793 | null | 0 | 379 | Somewhere resets ol's padding to 0
```
ol { padding:0; }
```
I need to set it back to default which padding is growing depends on the number
```
ol { /* ??? */ }
```
Uploaded here: [http://jsfiddle.net/jGxLS/](http://jsfiddle.net/jGxLS/)
As you can see, the padding is not growing (overflow to the left):
![alt... | Set OL padding back to default after reset | CC BY-SA 3.0 | null | 2010-10-28T07:24:21.120 | 2017-10-09T06:23:30.447 | 2017-10-09T06:23:30.447 | 1,033,581 | 351,564 | [
"css"
] |
4,040,739 | 1 | 4,212,332 | null | 1 | 395 | I added
```
<key>UIInterfaceOrientation~ipad</key>
<string>UIInterfaceOrientationLandscapeRight</string>
```
in Info.plist
When I run the app, app can't show full.

Why and how to make full to rightbar in UISplitview ?
| UISplitview can't show full with UIInterfaceOrientation~ipad | CC BY-SA 2.5 | null | 2010-10-28T07:35:43.007 | 2011-01-10T12:31:43.103 | null | null | 215,939 | [
"iphone",
"uisplitviewcontroller"
] |
4,040,804 | 1 | null | null | 3 | 914 | is it somehow possible to have horizontal scrollable tabbar if there are more than e.g. 10 tabs in it?
Have anybody implemented something like this?

Mur
Ps.
It was not nice, what I did: I've deleted almost the same topic, I'd started yesterday. A big SORRY for man, w... | Android scrollable Tabbar | CC BY-SA 2.5 | 0 | 2010-10-28T07:46:40.280 | 2014-06-16T20:31:33.847 | null | null | 408,780 | [
"android",
"tabs",
"tabbar"
] |
4,040,999 | 1 | 4,067,895 | null | 5 | 11,230 | I have an alert dialog which lists around 100 cities. Is there a way to search within it? Or maybe autocomplete?

I want to add a textbox which will filter the list according to what I type.
EDIT: I'm very SORRY. What I meant was that I wanted to FILTER the above list ... | Searching within AlertDialog | CC BY-SA 2.5 | 0 | 2010-10-28T08:23:59.113 | 2017-03-28T01:40:41.173 | 2010-10-28T10:01:20.003 | 481,239 | 481,239 | [
"android",
"search",
"dialog"
] |
4,041,642 | 1 | null | null | 0 | 1,705 | A bit similar to [this question](https://stackoverflow.com/questions/807428/wpf-how-can-i-make-a-brush-that-paints-graph-paper-like-squares).
My aim is to evocate a notebook-like look of the textbox.
 to be pushed... | Custom UINavigationController UINavigationBar | CC BY-SA 3.0 | 0 | 2010-10-28T10:48:51.917 | 2013-05-31T09:34:26.593 | 2013-05-31T09:33:07.197 | 1,571,232 | 414,972 | [
"iphone",
"uinavigationcontroller",
"uinavigationbar"
] |
4,042,137 | 1 | 4,042,424 | null | 11 | 8,031 | I'm having an odd issue with whitespace in a design I'm building.
I created a `<div>` to contain voting elements - it holds an upvote button, downvote button, and vote total, each inside their own `<div>` element, and using `<img>` for the buttons.
Source:
```
<div class="votebox">
<div class="vote"><img src="upvo... | Unknown whitespace appearing inside <div> without padding or margins | CC BY-SA 2.5 | 0 | 2010-10-28T10:51:42.397 | 2010-10-28T11:40:38.120 | 2010-10-28T11:28:44.780 | 1,588 | 1,588 | [
"html",
"css",
"image",
"rendering",
"whitespace"
] |
4,042,179 | 1 | 4,059,630 | null | 2 | 1,438 | I've this simple Entities from DB tables

```
public class Country
{
public string ID { get; set; }
public string Name { get; set; }
public string LocalName { get; set; } // this localized
public string Region { get; set; }
public IEnumerable<Ci... | How to Support Localization by mapping two entities to one POCO in EF 4 | CC BY-SA 2.5 | 0 | 2010-10-28T10:55:10.663 | 2015-07-27T20:51:53.433 | 2010-10-30T10:24:55.783 | 105,445 | 105,445 | [
".net",
"entity-framework",
"localization",
"entity-framework-4",
"poco"
] |
4,042,218 | 1 | 4,155,731 | null | 0 | 178 | We've built a windows service which uses some COM+ components (developed by us). It runs on a Windows server (virtual through vmware) and something is eating memory.
I did a small application which runs through all `Process.GetProcesses` and return their total memory usage:
First run:
```
C:\Temp>ProcessExplorer.e... | Where did all the memory go? | CC BY-SA 2.5 | null | 2010-10-28T11:01:41.547 | 2010-11-11T15:00:04.657 | null | null | 70,386 | [
".net",
"memory-management",
"com+"
] |
4,042,385 | 1 | 4,113,693 | null | 1 | 1,843 | in my web page i have a table and i want its first column to be resizeable. it works fine in IE8 but on Mozilla it shows resize icon in bottom right corner of the document. this is the code
```
$(".resizable").resizable({
maxHeight: 25,
maxWidth: 350,
minHeight: 25,
minW... | jquery Resizeable malfunctioning in Firefox | CC BY-SA 2.5 | null | 2010-10-28T11:24:20.287 | 2013-08-09T08:07:09.900 | 2010-10-28T11:37:45.650 | 331,174 | 331,174 | [
"jquery",
"resizable"
] |
4,042,447 | 1 | 4,044,547 | null | 5 | 8,914 | After a lot of searching, I have not found any solution for the following problem.
I need a treeview control with "checkboxed" treeview items and the `CheckedItems` property for convenient data binding (for example, treeview of folders' structure, when user checks folders, the size of checked folders is displayed in a ... | WPF TreeView with checkboxes | CC BY-SA 3.0 | 0 | 2010-10-28T11:33:04.733 | 2016-09-21T04:14:08.260 | 2016-09-21T04:14:08.260 | 490,018 | 490,018 | [
"wpf",
"data-binding",
"treeview",
"checkbox"
] |
4,042,542 | 1 | 4,042,605 | null | 0 | 1,618 | In my Flash File I have a wheel. The user is able to rotate the wheel by using arrows to jump to the next "segment" (think 20 images attached to each other forming the circumference of the wheel).

Clicking the arrows initiates this code:
```
protected function rotate():vo... | Acceleration and Deceleration in AS3 | CC BY-SA 2.5 | 0 | 2010-10-28T11:45:05.907 | 2010-10-28T11:53:03.187 | null | null | 418,146 | [
"flash",
"actionscript-3",
"rotation",
"physics",
"tween"
] |
4,042,627 | 1 | 4,042,807 | null | 0 | 195 | The question:
>
This view has two levels. The first level will list all members who have associated Journal or Conference Paper records. The second level lists the titles of the papers for a selected member; the entries in this view are links to the actual papers.
And all I can find from my professor's notes:
![... | Multi-Level Views in Drupal | CC BY-SA 3.0 | null | 2010-10-28T11:55:23.780 | 2012-01-30T12:58:35.210 | 2012-01-30T12:58:35.210 | 11,621 | 431,790 | [
"php",
"drupal",
"drupal-views"
] |
4,043,418 | 1 | 4,043,488 | null | 1 | 8,763 | first some background. Here is the SQLite script I created:
```
create table Person(
ID integer not null primary key autoincrement,
Name text not null
);
create table Department(
ID integer not null primary key autoincrement,
Name text not null,
Leader integer not null references Person(ID)
);
```
It generates the ... | How can I save a foreign key using Entity Framework? | CC BY-SA 2.5 | null | 2010-10-28T13:36:10.247 | 2021-10-06T06:11:59.853 | 2010-10-28T14:33:55.307 | null | null | [
"c#",
"entity-framework",
"sqlite"
] |
4,043,446 | 1 | null | null | 2 | 2,693 | this is a mockup i want to buid...
I"ve having trouble properly laying out with just css/js ... is there a jquery plugin/tool that could help with this?
Could this be called a reverse orientation calendar?
Writing it from scratch has been hell so far, and i'm not remotely close.

I can show and hide, but im not followi... | Animate visibility modes, GONE and VISIBLE | CC BY-SA 3.0 | 0 | 2010-10-28T13:33:40.837 | 2018-03-24T01:31:24.217 | 2014-02-12T22:09:36.890 | 901,200 | 382,115 | [
"android",
"animation",
"visibility",
"slide"
] |
4,043,559 | 1 | 4,043,756 | null | 0 | 219 | I know that this has been discussed several times in many other topics, blogs, book, youtube, etc. But, let me explain my case. I want so that when an application opens up, it shows a facebook connect button to login. After the user login, then it will bring up the tabBarView. In my app delegate I first add the MainVie... | UITabBarController + UINavBarController | CC BY-SA 2.5 | null | 2010-10-28T13:54:07.593 | 2010-10-28T14:15:29.213 | 2010-10-28T14:01:54.630 | 95,265 | 95,265 | [
"iphone",
"objective-c"
] |
4,043,593 | 1 | null | null | 2 | 2,638 | If I set the properties of "`buttonMode`" and "`useHandCursor`" to true in `DataGrid`, it does not work as I expect. Only if I move the cursor to the edge between two rows, the hand cursor displayes.
What I expect is that no matter where the cursor is moved, it should always show hand cursor.
The following the `item... | buttonMode and useHandCursor property in DataGrid doesn't work | CC BY-SA 2.5 | 0 | 2010-10-28T13:58:36.943 | 2011-04-19T23:40:23.863 | 2011-01-25T02:20:01.590 | 419 | 422,390 | [
"apache-flex",
"actionscript-3"
] |
4,043,859 | 1 | 4,105,743 | null | 9 | 29,294 | I'm getting the following exception in my log when I try to perform an XA transaction:
> javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc_SQLServerException: failed to create the XA control connection. Error: "The EXECUTE permission was denied on the object 'xp_sqljdbc_xa_init_ex', database 'master' sche... | Exception with MS-SQL Server,JDBC and XA Transactions | CC BY-SA 2.5 | 0 | 2010-10-28T14:29:01.630 | 2010-11-05T12:14:20.737 | 2010-11-01T15:33:40.243 | 170,013 | 170,013 | [
"java",
"sql-server",
"jdbc"
] |
4,043,950 | 1 | 4,044,004 | null | 1 | 63 | I'm not a SQL server expert by any means, and I'm hoping this is something simple. The scenario: I create a new database with all the defaults, then add a table with a primary key and two nvarchar(max) fields, but I forget to set the identity specification on the key so I go back and try to change it the IsIdentity pr... | Is there any way to avoid the 'saving changes is not permitted' error when trying to change the schema | CC BY-SA 2.5 | null | 2010-10-28T14:39:34.190 | 2010-10-28T14:46:56.217 | null | null | 398,546 | [
"ssms"
] |
4,044,101 | 1 | 4,044,707 | null | 7 | 1,198 | I have the following collection of nodes and edges. What I want to do is to find all the distinct graph from it.
```
my %connections=(36=>[31],10=>[3,4],31=>[30,22],30=>[20],22=>[20,8],20=>[1],8=>[5],5=>[2],2=>[1,20], 3=>[7]);
```
In this example it will yield:
```
my %all_graph = {
graph1 => {36=>[31],31=>[30... | How can I find the connected components of a graph in Perl? | CC BY-SA 2.5 | null | 2010-10-28T14:56:38.080 | 2010-10-31T01:54:03.430 | 2010-10-31T01:54:03.430 | 67,405 | 67,405 | [
"linux",
"perl",
"unix",
"graph"
] |
4,044,107 | 1 | 4,044,159 | null | 11 | 9,341 | Previously, when I first design a stock application related software, I decide to use `java.util.Date` to represent date/time information of a stock.
Later, I realize most of the methods in `java.util.Date` is deprecated. Hence, very soon, I refactor all my code to make use of `java.util.Calendar`
However, there is 2... | Migrating from Java Calendar to Joda Date Time | CC BY-SA 3.0 | 0 | 2010-10-28T14:57:49.587 | 2016-07-08T14:08:12.707 | 2014-03-25T10:57:52.747 | 12,960 | 72,437 | [
"java",
"jodatime"
] |
4,044,123 | 1 | 4,044,153 | null | 0 | 283 | I'm new to android sdk. I started with the HelloAndroid program. I followed all specified instructions, but to my surprise, the emulator is not diplaying the "Hello Android" text.

Instead the emulator looks like the one shown above(You can see "LogCat" at the bottom of... | HelloAndroid Program | CC BY-SA 2.5 | null | 2010-10-28T14:59:23.323 | 2010-10-28T15:03:48.423 | null | null | 441,575 | [
"android",
"android-emulator"
] |
4,044,146 | 1 | 4,044,236 | null | 2 | 901 | I I want to show some kind of confirmation tick type thing by a textbox - (it's traditional windows forms stuff, not WPF) - but not sure if it's a bit naff. I would like some kind of slick way of showing that a value is incorrect or valid after some tests have been done i.e. a web service is valid with that name or S... | Best practice for visual validation of textbox control data | CC BY-SA 2.5 | null | 2010-10-28T15:02:11.290 | 2010-10-28T15:12:59.410 | null | null | 5,175 | [
"c#",
"winforms",
"validation"
] |
4,044,759 | 1 | 4,045,533 | null | 0 | 541 | For a small timer app I want to write a GTK interface where I can set the desired time. Here is a picture of the interface:

However, I am having trouble reading out the fields of the spin buttons. My envisaged procedure for this is the following:
1. Read out the butt... | How can I properly read out spin buttons in pyGTK? | CC BY-SA 2.5 | 0 | 2010-10-28T16:02:48.430 | 2010-10-28T17:42:46.853 | 2010-10-28T17:14:00.627 | 429,653 | 429,653 | [
"python",
"pygtk"
] |
4,045,007 | 1 | null | null | 0 | 399 | I made some changes to one of my web pages (CSS and HTML) and now Firefox is not rendering this textarea properly. It has a sort of jitter effect happening in the middle of the top line. I'm not sure if it has anything to do with the changes I made, but what could be causing this?

| Creating a linear transparent gradient to a div | CC BY-SA 2.5 | 0 | 2010-10-28T17:01:37.143 | 2014-09-12T09:05:12.277 | 2010-10-30T21:16:01.847 | 370,927 | 370,927 | [
"javascript",
"jquery",
"css",
"opacity",
"raphael"
] |
4,045,335 | 1 | null | null | 1 | 5,356 | ** Solved as of now. Please see Edit 2 and Edit 3 **
I am NHibernate Newbie- a week old but I though working with it will save me time on new project and not otherwise. I have been banging my head trying to get Nhibernate to save Parent - Child Collection to SQL server database.

And I can't get ride of it...
Biggest problem is that on other browser I do get the same behavior with this ghost CSS, and it's driving me crazy!
On the image above I'm using Firefox 3.6.11 with Firebug 1.5.4
I have this `... | where does `resource://gre/res/html.css` come from? | CC BY-SA 2.5 | 0 | 2010-10-28T17:14:28.160 | 2019-11-06T00:24:09.737 | null | null | 28,004 | [
"css",
"firefox",
"firebug"
] |
4,045,753 | 1 | 4,047,771 | null | 0 | 4,472 | I have css code to do layout. i have basic header panel, footer, left panel, and center panel. I want to have left panel and center panel automatically stretch to bottom(blue and gray part all the way to black footer). is there any way to do that?
following are my codes.
thank you,
" is/are so I can do more research and implemented it on my own. If you see the attached image, I like those expandable sections, reference (1) and (2) sections. They are circled in red and the ... | Silverlight Guidance - How to do this from Telerik? (reference attached image) | CC BY-SA 2.5 | 0 | 2010-10-28T21:31:18.743 | 2011-09-27T16:51:36.620 | null | null | 118,190 | [
"silverlight",
"telerik"
] |
4,048,012 | 1 | 4,048,036 | null | 0 | 336 | I have a UILabel in a UITableCell, and when I make the label's background transparent, I get these strange ghost characters (see image below), and it looks terrible. Here's my code:
Left:
```
UILabel *unreadLabel = [[UILabel alloc] initWithFrame:CGRectMake(270, 7, 25, 25)];
unreadLabel.text = [NSString stringWithForm... | UILabel ghosting when printing NSInteger with transparent background | CC BY-SA 2.5 | null | 2010-10-28T23:44:48.943 | 2010-10-28T23:52:46.743 | null | null | 310,385 | [
"iphone",
"objective-c",
"uilabel"
] |
4,048,056 | 1 | 4,068,668 | null | 2 | 4,364 | I currently have a `Use Case Diagram` that is similar to the above one:

In my final application I will probably share the same `Login` form for both `Employees` and `Employers`. Should I reflect that in this `Use Case Diagram`, having both `Actors` using the same `Logi... | Should different actors in a Use Case Diagram share the same Login Use Case? | CC BY-SA 2.5 | 0 | 2010-10-28T23:57:15.747 | 2010-11-01T12:02:28.127 | null | null | 130,758 | [
"use-case",
"uml"
] |
4,048,389 | 1 | 4,048,420 | null | 1 | 4,827 | I have a logo that is a transparent png and i want to overlay it on my bg image but when i do it shows only the background color.
Here is an example:

I am using a modified copy of the WP theme Colourise
The Css is here: [http://files01.s0urc3.ismywebsite.c... | Transparent png not showing bg image just bg color in html | CC BY-SA 2.5 | null | 2010-10-29T01:38:43.157 | 2010-10-29T01:51:51.620 | null | null | null | [
"html",
"css",
"png",
"transparency",
"background-color"
] |
4,048,528 | 1 | 4,048,664 | null | 0 | 5,909 | How to add pause button in this jQuery image slider? I want to add button at last after ?
Like this: see example pic [http://shup.com/Shup/431390/110929231254-My-Desktop.png](http://shup.com/Shup/431390/110929231254-My-Desktop.png)

[http://www.sohtanaka.com/web-desi... | How to add "pause" button in this jquery slider? | CC BY-SA 3.0 | null | 2010-10-29T02:23:24.570 | 2013-04-06T04:43:40.300 | 2013-04-06T04:43:40.300 | 969,612 | 84,201 | [
"javascript",
"jquery",
"css",
"xhtml",
"slider"
] |
4,048,682 | 1 | 4,048,703 | null | 5 | 843 | I have tried to remove specific items from a listview using the `RemoveAt()` method. But When I remove it the first time some items will stay.
For example: see the image below

```
private void button1_Click(object sender, EventArgs e)
{
for (int i = 0;... | Specified items will not be deleted when using ListView.Item.RemoveAt() | CC BY-SA 2.5 | null | 2010-10-29T03:05:00.153 | 2010-11-01T16:16:21.453 | null | null | 416,801 | [
"c#",
"winforms",
"listview",
"listviewitem"
] |
4,048,712 | 1 | null | null | 0 | 405 | I am working on a sinatra app with datamapper connected to a mysql database and am having problems retrieving/finding records from only one specific table. I can insert into it with datamapper find but when I try to do @sleepEntries = Sleep_Log.all I get the following error: ArgumentError: argument out of range. When I... | can't find/retrieve results from a specific table with datamapper | CC BY-SA 2.5 | null | 2010-10-29T03:14:48.223 | 2011-04-22T20:28:45.700 | 2010-10-29T08:04:04.330 | 485,810 | 485,810 | [
"ruby",
"sinatra",
"haml",
"datamapper"
] |
4,048,894 | 1 | 4,048,913 | null | 4 | 5,193 | I'm wanting to make a password unlock screen for my app, and I'm not sure how I'd go about it.
I'm wanting it to look like the Apple-designed version of it, which is the passcode lock setting screen.

How might I go about doing something like this, where as soon as all... | Making a password lock for an app? | CC BY-SA 2.5 | 0 | 2010-10-29T04:03:09.087 | 2014-01-17T03:28:23.150 | null | null | 456,851 | [
"iphone",
"objective-c",
"locking",
"passwords"
] |
4,049,104 | 1 | 4,053,735 | null | 0 | 1,105 | In one of my apps, I have a custom drawn semitransparent `UIView` that I use as a cover on top of another UIView for a special effect.
Lower View:

Lower View with Custom View on Top:

It works, its great on the iPhone wh... | CGContextSetLineWidth of varying width around path | CC BY-SA 2.5 | 0 | 2010-10-29T05:01:08.127 | 2014-03-08T17:50:24.897 | null | null | 69,634 | [
"iphone",
"cocoa",
"cocoa-touch",
"core-graphics"
] |
4,049,120 | 1 | null | null | 0 | 649 | I've had this app on app store with no problem until iphone 4 came out.
My home page has an image covering the whole screen.
UIImageView added in interface builder, and image path added in interface builder.
In all phones this image shows up; however, the image does not show up in any iphone 4, and instead the user see... | iphone 4 - Application doesn't show image? | CC BY-SA 2.5 | 0 | 2010-10-29T05:04:28.677 | 2013-09-08T19:03:03.157 | 2020-06-20T09:12:55.060 | -1 | 242,769 | [
"uiimageview",
"iphone-4"
] |
4,049,666 | 1 | null | null | 6 | 10,991 | i want to change layout without calling the onCreate method. i also define android:configChanges="orientation|keyboardHidden" in my activity and it is not calling the onCreate method but the layout not adjust appropriately on landscape mode.
my current layout look like as follows.

i have tried searching for this kinda of examples but i couldn't find... | animate number change | CC BY-SA 2.5 | 0 | 2010-10-29T08:17:53.073 | 2012-12-17T21:48:38.207 | null | null | 448,192 | [
"android",
"uiviewanimation"
] |
4,050,169 | 1 | 4,080,722 | null | 3 | 1,327 | This is weird. I have a with a button inside. I have added a to this button whose command target is another user control which is again added to the same window.
What could be the reason. Am I missing something in here ?!?
*A better representation of my words as an image. Also I have uploaded my source code ... | Command Binding not working when the host control is added programatically in wpf | CC BY-SA 2.5 | 0 | 2010-10-29T08:23:36.233 | 2010-11-02T18:07:34.450 | 2010-11-02T04:50:27.437 | 119,044 | 119,044 | [
"wpf",
"xaml",
"user-controls",
"command",
"commandbinding"
] |
4,050,303 | 1 | 4,050,486 | null | 3 | 4,406 | I am creating a Text Editor Type app. I can have multiple editors open via tabs. In my first try, I used simple `TextBox`es to edit text. Everything worked ok. Then I created a `UserControl` encapsulating the text box + buttons to perform text manipulation eg. bold/italic etc. I found out that when I open different tab... | Can I have multiple instances of the same UserControl in 1 app? | CC BY-SA 2.5 | null | 2010-10-29T08:42:44.833 | 2010-11-06T11:49:57.693 | 2010-10-30T15:05:03.720 | 229,044 | 292,291 | [
"c#",
"wpf",
"user-controls",
"mvvm",
"tabcontrol"
] |
4,050,653 | 1 | 4,098,795 | null | 0 | 653 | im working a project lately to get download progress info remotely when im away.
i googled a bit but i couldnt find any useful info. on this issue
im using Internet Download Manager.
please help :/ i appreciate any suggestions
im thinking about making software with python but Also C is Ok. if there is a solution
![alt ... | How to get download progress info from I.D.Manager to python? | CC BY-SA 2.5 | 0 | 2010-10-29T09:36:26.377 | 2010-11-04T16:22:02.237 | 2010-10-29T13:27:09.153 | 401,006 | 401,006 | [
"python",
"download",
"status"
] |
4,050,651 | 1 | 4,050,698 | null | 1 | 105 | Here's my issue,
I'm using a namespace to remove ambiguity from a factory class which is creating domain objects from entity framework entity objects (a POCO factory,.. if that makes sense!). Call me old fashioned but I like things this way :-)
The namespaces I'm working with are aliased as such -
```
using Entities... | Odd bug in C#4 compiler? Alias namespaces getting mixed up | CC BY-SA 2.5 | null | 2010-10-29T09:36:01.393 | 2010-10-29T09:43:13.703 | null | null | 5,559 | [
"visual-studio-2010",
"c#-4.0",
"alias"
] |
4,050,749 | 1 | 4,051,432 | null | 1 | 5,239 | this is a question how to override themable items in Drupal 6.
According to the book "Pro Drupal Development", we can override themable items in two ways:
1. overriding via Theme functions
2. overriding via Template files
So for example, in order to reformat the breadcrumb, I can:
1. via function theme_breadcru... | Why is Drupal not aware of my template file? | CC BY-SA 2.5 | null | 2010-10-29T09:49:14.760 | 2010-10-29T13:32:45.567 | 2010-10-29T11:20:05.217 | 33,006 | 462,547 | [
"drupal",
"themes"
] |
4,050,786 | 1 | null | null | 0 | 378 | I set up the facebook like button on my blog and when I click "LIKE", on my facebook profile, it says "XXX (my name) likes Yeok-Rin « GOINGNOWHERE on raw.herobo.com."
Only problem is that at facebook recent activity page, it doesn't show the link, as shown here
---
 on Windows Phone 7 forum, I just heard about limitation of Silverlight on Windows Phone 7 that it display only 16-bit color-depth image on Silverlight application just like p... | Which is the real color-depth on Windows phone 7 product? | CC BY-SA 2.5 | null | 2010-10-29T10:59:27.397 | 2011-01-13T18:20:49.547 | 2010-10-29T11:15:39.547 | null | null | [
"windows-phone-7",
"color-depth"
] |
4,051,223 | 1 | 4,051,428 | null | 0 | 5,503 | I have several tables in my ERD which which I would like to combine in a relational manner.
I have several use cases, but I completely lost track of what kind of relations to use between the tables.
- - - -
I used a bridge model in table 'roles' with 2 PK's to link the users and projects together and defining a rol... | ERD diagram and SQL relationships linking user, project and dataset tables | CC BY-SA 2.5 | null | 2010-10-29T11:08:18.503 | 2010-10-29T14:15:07.910 | 2010-10-29T14:03:09.660 | null | 475,967 | [
"sql",
"mysql",
"relational-database",
"erd"
] |
4,051,319 | 1 | 4,060,260 | null | 0 | 1,198 | I have a simple data structure (the properties are of course Dependency Properties):
```
class MenuData{
public string Header {get; protected set;}
public ObservableCollection<MenuData> Items { get; protected set; }
}
ObservableCollection<MenuData> Menus {get; protected set;}
```
I want to bind the Menus pr... | Binding Menu ItemsSource to a recursive data structure | CC BY-SA 2.5 | 0 | 2010-10-29T11:24:31.330 | 2010-10-30T19:13:37.523 | 2010-10-29T13:01:52.467 | 38,256 | 38,256 | [
"c#",
"wpf",
"binding",
"menu",
"itemssource"
] |
4,051,373 | 1 | 4,051,413 | null | 15 | 42,016 | A table of width 100% is not filling its parent div.
Example html:
```
<div style="width:100%; margin-top:20px;">
<div style="width:100%; padding:5px; background:#ccc; font-weight:900;">Table Top</div>
<table width="100%" border="0" cellspacing="0" cellpadding="5" style="border:1px solid #aaa;">
<tr s... | Table of width 100% not filling parent <div> | CC BY-SA 3.0 | 0 | 2010-10-29T11:31:28.587 | 2018-02-21T17:58:49.953 | 2018-02-21T17:58:49.953 | 1,028,230 | 137,954 | [
"html",
"css"
] |
4,051,414 | 1 | 4,076,180 | null | 6 | 2,685 | I trying to build a tree with BioPython, Phylo module.
What I've done so far is this image: 
each name has a four digit number followed by - and a number: this number refer to the number of times that sequence is represented. That means 1578 - 22, that node should repres... | Phylo BioPython building trees | CC BY-SA 2.5 | 0 | 2010-10-29T11:36:36.133 | 2010-11-03T07:33:09.537 | 2010-11-02T15:05:44.977 | 426,176 | 426,176 | [
"python",
"numpy",
"graphviz",
"biopython"
] |
4,051,433 | 1 | 4,051,813 | null | 2 | 628 | 
| How to create a custom WPF Window like this one? | CC BY-SA 2.5 | 0 | 2010-10-29T11:39:36.590 | 2010-10-29T12:25:10.117 | null | null | 132,917 | [
"wpf"
] |
4,051,446 | 1 | 4,053,571 | null | 2 | 5,341 | I'm trying to write my first groovy class. When I do so, Eclipse complains about syntax errors as though it's parsing a Java file. It wants semicolons on the end of each line, it doesn't recognize the "def" keyword, etc.
I have both Groovy 1.7.5 and the latest Groovy Eclipse plugin installed. I have also converted ... | Groovy not compiling properly in Eclipse | CC BY-SA 2.5 | 0 | 2010-10-29T11:40:54.227 | 2011-03-15T00:57:47.003 | 2010-10-29T18:17:44.883 | 178,433 | 178,433 | [
"eclipse",
"groovy"
] |
4,051,384 | 1 | 4,052,487 | null | 5 | 8,932 | I’m trying to launch an application (Operating System, My Application and the application I want to launch are all 32 bits), from .NET 3.51.
The code that launches the Process is used for other applications, but there’s one that is giving us a headache. If we “double click” on the application’s icon, it works as expec... | Problem launching a System.Diagnostics.Process under Windows 7 | CC BY-SA 2.5 | 0 | 2010-10-29T11:33:03.640 | 2010-12-09T10:15:05.963 | 2010-12-09T10:15:05.963 | 2,684 | 2,684 | [
"c#",
".net",
"windows-7",
"system.diagnostics"
] |
4,051,745 | 1 | 4,129,082 | null | 4 | 2,082 | I need some examples or tutorial, how to implement iPhone side index for Android.

I read already [this topic (https://stackoverflow.com/questions/1201962/android-equivalent-to-iphone-indexed-uitableview)](https://stackoverflow.com/questions/1201962/android-equivalent-t... | iPhone section index for android? | CC BY-SA 2.5 | 0 | 2010-10-29T12:16:16.467 | 2010-12-08T05:39:45.033 | 2017-05-23T12:30:36.930 | -1 | 408,780 | [
"android"
] |
4,051,816 | 1 | 4,052,120 | null | 6 | 29,360 | How to test fileupload using SOAP UI.
There is a service which accepts file as input
I want to simulate that using SOAP UI
It gives me .
content should be inline .

| How to test fileupload using SOAP UI | CC BY-SA 2.5 | 0 | 2010-10-29T12:25:37.150 | 2012-08-01T18:14:41.377 | 2010-11-14T10:21:38.080 | 70,604 | null | [
"java",
"soap",
"file-upload",
"webservice-client"
] |
4,051,853 | 1 | 4,052,956 | null | 5 | 635 | Is there a way to prevent closed branches from showing up when running the hg view command? I know about the 'limit' option. I don't really need closed branches to completely disappear from the view, but it would be nice if they would stay down (they were closed long ago), rather than popping up near the top every t... | Suppress closed branches in hg view | CC BY-SA 2.5 | 0 | 2010-10-29T12:31:51.920 | 2018-02-27T15:12:30.620 | 2012-03-30T12:35:48.823 | 110,204 | 27,600 | [
"mercurial",
"branch",
"dvcs"
] |
4,052,232 | 1 | 4,052,287 | null | 3 | 917 | How would i prevent text from being automatically formatted when added to a RichTextBox, or better yet, override the formatting that does occur?
For instance, the following code sets the text, but then creates a formatted link to a server.
```
rtbSomeField.Text = "\\\\just some text";
```
Results in
]
public partial class InstallerClass : Installer
{
public InstallerClass()
{
Initialize... | Why is my Uninstall method not being called? | CC BY-SA 2.5 | 0 | 2010-10-29T14:11:11.607 | 2010-11-01T16:42:42.220 | 2010-10-29T14:31:57.713 | 117,039 | 117,039 | [
"c#",
".net",
"installation",
"windows-installer"
] |
4,052,766 | 1 | null | null | 5 | 6,332 | I would like to create an [Options Menu](http://developer.android.com/guide/topics/ui/menus.html) in my Flash AIR application for Android.
I've figured out already, that this ActionScript code could be used for capturing the hardware button press event:
```
stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);... | How to create Android Options Menu in Adobe AIR? (not Java) | CC BY-SA 2.5 | 0 | 2010-10-29T14:27:09.697 | 2013-05-15T07:04:58.010 | 2010-10-29T14:34:42.597 | 165,071 | 165,071 | [
"android",
"flash",
"actionscript-3",
"air"
] |
4,052,940 | 1 | 4,201,472 | null | 109 | 65,370 | Rendering contexts usually have a solid color on the background (black or whatever, see the image below):

I'm wondering if it's possible to setup a window, with no decorations AND with the transparent background, while allowing me to render OpenGL stuff on it.
This wo... | How to make an OpenGL rendering context with transparent background? | CC BY-SA 3.0 | 0 | 2010-10-29T14:47:25.787 | 2021-01-04T23:24:23.373 | 2012-11-19T02:45:01.603 | 1,487,475 | 176,769 | [
"c",
"winapi",
"opengl",
"transparency"
] |
4,053,361 | 1 | null | null | 1 | 971 | I am looking for a click based single select list. Instead of the normal drop down list, I want an overlay menu (similar to how we see on facebook when we change privacy settings, the single select list that appears). Is that CSS based or any code examples to creating a similar list? All the lists i found of the net ar... | CSS single select list example | CC BY-SA 2.5 | null | 2010-10-29T15:31:07.337 | 2010-10-29T16:10:25.180 | 2010-10-29T16:10:25.180 | 82,548 | 491,472 | [
"javascript",
"css",
"list"
] |
4,053,396 | 1 | 4,053,792 | null | 3 | 3,160 | I'm coding a flocking algorithm in Java but I'm stuck at a certain point (using the Ardor3D libraries, in a 2D plane).
Basically, I need to find the angle difference to add to the current rotation. If you can only get the way it should be pointing with polar coordinates with 0 degs at north and not the difference, not... | Find delta angle to use for rotation given entity with position, initial rotation and target point to 'face toward' | CC BY-SA 2.5 | null | 2010-10-29T15:33:56.960 | 2010-11-27T03:50:27.133 | 2010-10-29T18:55:46.187 | 87,197 | 87,197 | [
"java",
"math",
"vector",
"rotation",
"ardor3d"
] |
4,053,531 | 1 | null | null | 1 | 4,888 | On my MS SQL Server 2008, I've created a temporary table like this :
```
create table #test
(
A varchar(50),
B int,
)
insert into #test select 'a',45
insert into #test select 'b',587
insert into #test select 'a',4
insert into #test select 'b',58
```
Now the following request take forever
```
select A,SUM(B) from #... | Very slow request on temporary table | CC BY-SA 2.5 | null | 2010-10-29T15:47:14.807 | 2010-10-29T15:51:27.050 | null | null | 47,341 | [
"sql",
"performance",
"sql-server-2008"
] |
4,053,738 | 1 | 4,053,795 | null | 14 | 3,226 | It feels strange to me to be casting null to a type so I wanted to double check that this is the right way to do this:
```
decimal? d = data.isSpecified ? data.Value : (decimal?)null;
```


NOTE: I am marking the answer... | Is it right to cast null to nullable when using ternary expression assigning to a nullable type? | CC BY-SA 2.5 | 0 | 2010-10-29T16:09:46.753 | 2010-10-29T16:33:06.440 | 2010-10-29T16:33:06.440 | 398,546 | 398,546 | [
"c#",
"nullable"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.