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
3,223,058
1
3,223,163
null
0
81
Suppose that we have the following partial ER diagram: ![An ER diagram with 5 entities: messages, submissions, attachments, assignments, and lectures](https://dl.dropbox.com/u/151329/schema.png) Notice that the `attachments` table will subsequently be used for the messages', submissions', assignments', and lectures' ...
Is it OK to use "semantically reversed" associations, like Message blongsTo Attachment, in CakePHP?
CC BY-SA 2.5
null
2010-07-11T12:38:47.737
2010-07-11T13:25:18.420
2017-02-08T14:28:18.707
-1
1,173
[ "sql", "database-design", "data-modeling", "associations", "erd" ]
3,224,434
1
3,224,886
null
0
1,439
Im posting from my phone so please excuse stupid typos and formatting issues. I have an activity which lists saved games that the player can load. I created a simple layout xml file which defines a ScrollView. On load, I grab all the saved games and programatically add a view for each saved game to a vertically or...
Problems vertically aligning a Button and horizontally oriented LinearLayout within a vertcally oriented LinearLayout
CC BY-SA 2.5
null
2010-07-11T19:56:12.940
2010-07-11T22:33:18.623
2010-07-11T20:20:03.050
1,742,702
1,742,702
[ "android", "user-interface", "vertical-alignment" ]
3,224,848
1
null
null
0
1,101
I'm trying to install PEAR, but I'm confused by the locations suggested. I'm using [Wampserver](http://www.wampserver.com/) to run my PHP scripts, and I wanted to do unit tests. So I found PEAR. I tried installing via the go-pear.bat file, but that didn't work. I found out more about this here: [http://blog.pear.php....
PEAR location on install?
CC BY-SA 2.5
null
2010-07-11T22:22:58.870
2010-09-21T13:56:46.340
2010-07-12T15:15:03.833
80,907
80,907
[ "php", "windows", "pear", "wampserver" ]
3,225,113
1
3,229,439
null
4
1,303
In interface builder I added a menu item to the main menu. I can click on the menu and access its contents, however the title of the menu item doesn't show when running the program. The image shows the application and its menu on top and on the bottom is the application as it appears in IB. Notice that where the menu ...
Menu item doesn't show when creating menu in Interface Builder
CC BY-SA 2.5
null
2010-07-11T23:49:55.310
2010-07-12T15:55:17.573
2010-07-12T09:33:55.253
209,512
209,512
[ "cocoa", "interface-builder" ]
3,225,138
1
3,225,161
null
3
10,262
I have a class which I use to plot things then save them to a file. Here's a simplified version of it: ``` import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt class Test(): def __init__(self, x, y, filename): fig = plt.figure(1) ax = fig.add_subplot(111) ax.plot(x, y,...
Matplotlib: plot multiple graphs using same figure, without them overlapping
CC BY-SA 2.5
null
2010-07-11T23:59:13.823
2010-07-12T00:06:39.170
null
null
287,491
[ "python", "matplotlib" ]
3,226,116
1
3,228,550
null
3
640
I'm not sure if this is possible, but basically I have two degrees that will change the width/size and skew of an image. In a tranformation matrix (`<Matrix3DProjection/>`), it works like this: So if I have `X = 30°` and `Y=40°`, my matrix is: So ![normal](https://lh6.ggpht.com/_vm4C26HAULw/TDqpHdeCOeI/AAAAAAAAAI...
Creating a Skew AngleY from a Skew Factor for a Rhomboid in XAML
CC BY-SA 2.5
0
2010-07-12T05:45:03.263
2010-07-12T12:37:50.050
2017-02-08T14:28:19.730
-1
149,573
[ "wpf", "silverlight", "math", "geometry", "skew" ]
3,226,666
1
3,226,822
null
-1
235
For an example input of: ``` <a href="abc" something=b foo="bar" baz=cool> ``` I am trying to match: ``` something=b baz=cool ``` However, everything I end up with will only match the first one (something=b), even when using preg_match_all. The regular expression I am using is: ``` <\w+.*?(\w+=[^"|^'|^>]).*?> ``...
Regex: matching all improper tag attributes
CC BY-SA 2.5
null
2010-07-12T07:49:32.057
2011-11-13T12:20:57.647
2010-07-12T08:18:07.267
51,133
51,133
[ "php", "regex" ]
3,226,721
1
null
null
0
232
I want to know How does this menu? menu like this: ![enter image description here](https://i.stack.imgur.com/JE8Dn.jpg)
How can i make this menu on iphone?
CC BY-SA 3.0
null
2010-07-12T07:58:47.813
2012-03-07T17:44:04.217
2012-03-07T17:44:04.217
689,356
389,273
[ "iphone" ]
3,226,730
1
null
null
0
3,899
I have a simple page to run commands I enter using and show the output. - - - However, calling PHP with an invalid parameter () shows PHPs usage:Usage: php [-q] [-h] [-s] [-v] [-i] [-f ] php [args...] I attached a couple of images to show what I mean. doesn't produce expected output ![PHP -v doesn't produce ...
PHP - Calling .php file from command line produces no output
CC BY-SA 2.5
null
2010-07-12T07:59:45.780
2012-06-11T11:56:22.847
2010-07-12T08:08:04.030
308,124
308,124
[ "command-line", "php" ]
3,226,975
1
3,630,937
null
34
42,991
I'm using the resp. the in Eclipse. It always opens in the tab : ![Editor tabs](https://i.stack.imgur.com/Zx8NH.jpg) Is it possible to tell Eclipse it should always open this editor in the tab?
How to set default editor tab in Eclipse?
CC BY-SA 3.0
0
2010-07-12T08:46:39.760
2017-01-10T20:02:18.553
2017-01-10T20:02:18.553
880,772
32,043
[ "eclipse", "settings" ]
3,227,105
1
null
null
0
661
I use just UITableViewCell. It occur only in real device(version 3.1.2) and in simulator(version 3.1.2) doesn't have any problem. Thank you for your advice. Here is my problem image ![http://www.freeimagehosting.net/image.php?00252c143c.png](https://i.stack.imgur.com/fQRcC.png)
Issue about vertical text alignment in UITableViewCell (iPhone)
CC BY-SA 3.0
0
2010-07-12T09:08:39.260
2011-11-28T06:32:30.107
2011-11-28T06:32:30.107
234,976
387,397
[ "iphone", "mono", "vertical-alignment" ]
3,227,737
1
3,229,063
null
0
444
I'm using . I styled my "input file" that looks like this: ![](https://i.stack.imgur.com/Iuvp3.jpg) Here is the code: (live example [here](https://jsfiddle.net/ZDzbq/1/)) HTML: ``` <div id="wrapper"> <div id="customButton"> <img src="http://i28.tinypic.com/2nv5lww.png" /> <span>Choose Files</s...
Styling “input file” - works great, but there is a little annoying problem
CC BY-SA 4.0
null
2010-07-12T10:40:30.167
2019-08-01T21:04:20.883
2019-08-01T21:04:20.883
4,751,173
247,243
[ "css", "file-io", "firefox3.6" ]
3,228,323
1
3,249,678
null
1
1,362
How to put the vertical scroll bar on the left hand side of the tree? ![alt text](https://i24.photobucket.com/albums/c31/plasticfloor/scroll.jpg)
SWT tree > move the vertical scrollbar to the left of the tree without changing the orientation
CC BY-SA 4.0
0
2010-07-12T12:06:02.963
2018-09-23T19:24:12.037
2018-09-23T19:24:12.037
1,033,581
216,275
[ "java", "tree", "swt", "scrollbar" ]
3,228,361
1
3,229,367
null
15
18,583
I am trying to convert a PIL image into an array using NumPy. I then want to convert that array into Lab values, modify the values and then convert the array back in to an image and save the image. I have the following code: ``` import Image, color, numpy # Open the image file src = Image.open("face-him.jpg") # Atte...
Using PIL and NumPy to convert an image to Lab array, modify the values and then convert back
CC BY-SA 2.5
0
2010-07-12T12:10:02.080
2010-07-14T21:33:50.683
null
null
239,241
[ "python", "colors", "numpy", "python-imaging-library", "color-space" ]
3,229,442
1
3,229,845
null
15
10,468
I don't quite understand what makes matrix multiplication in C#/.NET (and even Java) so slow. [source](https://www.tommti-systems.de/go.html?http://www.tommti-systems.de/main-Dateien/reviews/languages/benchmarks.html) Trying to find an updated benchmark. ![Java vs C# vs C++ breakdown](https://web.archive.org/web/2013...
Why is matrix multiplication in .NET so slow?
CC BY-SA 4.0
0
2010-07-12T14:39:26.357
2022-12-30T11:14:59.447
2019-08-01T21:05:41.880
4,751,173
57,776
[ "c#", ".net", "performance", "xna", "matrix-multiplication" ]
3,229,459
1
3,229,582
null
44
12,699
Let's imagine we have a plane with some points on it. We also have a circle of given radius. I need an algorithm that determines such position of the circle that it covers maximal possible number of points. Of course, there are many such positions, so the algorithm should return one of them. Precision is not important...
Algorithm to cover maximal number of points with one circle of given radius
CC BY-SA 3.0
0
2010-07-12T14:44:12.860
2019-10-25T11:12:36.110
2012-02-12T17:11:01.327
241,039
241,039
[ "c++", "algorithm", "geometry", "points" ]
3,230,171
1
3,237,210
null
6
2,194
I'm not sure if this is the right place to ask, but here goes... I'm trying to compute the orientation of a triangle on a plane, formed by the intersection of 3 edges, without explicitly computing the intersection points. I need to triangulate a PSLG on a triangle in 3D. The vertices of the PSLG are defined by the ...
Computational geometry, tetrahedron signed volume
CC BY-SA 2.5
0
2010-07-12T16:18:30.537
2017-06-19T00:56:43.780
2015-03-05T01:48:13.227
1,118,321
203,500
[ "math", "geometry" ]
3,231,683
1
3,231,754
null
0
489
I am dealing with a pretty standard (or so I thought) page. What I would like to do is allow the page to have it's width determined by the `<body>` tag and a top level `.page` style that I've defined in my css. My site has a left navigation pane that is ALWAYS a certain width. The "content" area stretches with the page...
How to configure a child div to display scrollbars only when a parent div percentage settings require it
CC BY-SA 2.5
null
2010-07-12T19:41:11.530
2010-07-12T20:09:17.210
2017-02-08T14:28:23.120
-1
84,406
[ "html", "css" ]
3,232,430
1
20,021,991
null
3
6,713
How to make menu HTML/CSS? `li` ![100% horizontal cross-browser menu HTML/CSS example](https://lh4.ggpht.com/_aamJGQI2gQ0/TDt-ZwIJMTI/AAAAAAAAAO0/6J_Yni4FQmI/nav.gif) Example for example: ``` /*CSS doesn't make `block` right/left space between `li` items (see attached image)*/ #nav{ text-align:justify; } #nav l...
100% horizontal cross-browser menu HTML/CSS?
CC BY-SA 2.5
0
2010-07-12T21:30:58.147
2013-11-16T18:16:46.357
2017-02-08T14:28:23.467
-1
351,900
[ "html", "css", "menu", "cross-browser", "html-lists" ]
3,232,489
1
null
null
0
515
I have boxes that have been designed like this ![imgur.com/vMN0T.gif](https://i.stack.imgur.com/J9p1p.gif) Basically I need to code them so that they can be any size height-wise and width-wise depending on the content inside. Plus the shadow effect needs to be transparent because the background color can change. Bes...
Best way to code curved shadowed boxes for cross-browser compatibility
CC BY-SA 3.0
null
2010-07-12T21:41:58.557
2011-12-04T01:44:28.307
2011-12-04T00:41:03.267
84,042
389,893
[ "html", "css", "rounded-corners", "shadow" ]
3,234,338
1
null
null
0
707
Is it possible to add images and columns to Picker View in XCode Interface Builder? Image here: ![example](https://i.stack.imgur.com/Vi59v.jpg) [http://media.tumblr.com/tumblr_l5fgqaBrEo1qar71d.jpg](http://media.tumblr.com/tumblr_l5fgqaBrEo1qar71d.jpg) I'm supposed to come up with something similar.. and I'm quite n...
XCode- is it possible to add columns and images to PickerView in Interface Builder?
CC BY-SA 3.0
null
2010-07-13T05:08:45.413
2011-12-21T22:27:33.833
2011-12-21T22:27:33.833
53,195
328,447
[ "iphone", "xcode", "view", "picker" ]
3,235,190
1
3,235,322
null
12
18,422
I know that each file has metadata like title, subject, keywords and comments: ![enter image description here](https://i.stack.imgur.com/5eloC.jpg) But what if I need custom metadata like for example? Is it possible to do it with C#?
Is it possible to add custom metadata to file?
CC BY-SA 4.0
0
2010-07-13T08:03:33.003
2022-10-28T06:35:31.863
2022-08-04T16:05:26.277
14,438,770
2,246,271
[ "c#", "file-io", "metadata", "xmp" ]
3,236,399
1
3,237,923
null
17
11,998
I lost the squiggly red underline feature in Visual Studio 2010. I experimented with some plugins/extensions like Coderush/Code map. I have reset all settings for fonts and colors to "use default" but the squiggly red underline feature does'nt return. Any ideas? ![alt text](https://spsexton.files.wordpress.com/2010/06/...
I lost the squiggly red underline feature
CC BY-SA 2.5
0
2010-07-13T10:52:54.093
2019-08-02T03:04:39.463
2017-02-08T14:28:24.143
-1
138,078
[ "visual-studio-2010" ]
3,238,547
1
3,238,737
null
4
3,993
I'm trying to get Time Profiler to play nice with me. I am able to set it up with my iPhone and capture data. However, Instruments doesn't really show much information about where the virtual bottlenecks exist in my code. If I click on the memory addresses to show more detail Instruments tells me that they're unavailab...
How to use Time Profiler Instrument with iPhone Device
CC BY-SA 3.0
null
2010-07-13T15:09:36.320
2012-01-17T15:01:17.637
2012-01-17T15:01:12.363
237,260
389,608
[ "iphone", "optimization", "time", "profiler", "instruments" ]
3,239,120
1
3,243,276
null
8
6,511
This is a fairly lengthy (not overly complex) design question so please bear with me. I'm trying to implement a person/role management system with POJOs and JPA. I'm fairly new to ORM and this is mostly a mapping problem. I've got this working as POJOs and am comfortable with the caller-level API, but would now like t...
Inheritance mapping with JPA/Hibernate
CC BY-SA 2.5
0
2010-07-13T16:16:57.207
2010-07-14T10:40:24.733
2017-02-08T14:28:24.820
-1
145,348
[ "hibernate", "inheritance", "oop", "jpa", "seam" ]
3,239,336
1
3,239,413
null
16
13,283
I remember solving a lot of indefinite integration problems. There are certain standard methods of solving them, but nevertheless there are problems which take a combination of approaches to arrive at a solution. But how can we achieve the solution programatically. For instance look at the online integrator app of Mat...
How to calculate indefinite integral programmatically
CC BY-SA 2.5
0
2010-07-13T16:39:30.760
2010-07-13T17:08:41.603
2017-02-08T14:28:25.180
-1
364,402
[ "algorithm", "math" ]
3,240,571
1
3,240,639
null
0
125
![alt text](https://imgur.com/UfBcj.jpg) Here's what I have so far: ``` create table rubro ( id_rubro int primary key, nombre_rubro nvarchar(150) ) go create table cliente ( id_cliente int primary key, direccion nvarchar(400), telefono int, nit int ) ```
How can I create a table like this in Microsoft SQL?
CC BY-SA 2.5
null
2010-07-13T19:11:53.543
2010-07-13T19:20:24.583
2010-07-13T19:12:59.050
135,152
112,355
[ "sql", "sql-server" ]
3,240,900
1
3,240,993
null
3
358
At work, we use Perforce for version control. There are problems with this: 1) with this centralized model, we can't check in changes until they are ready for regression. This means that we have no revision control during the development process. 2) We don't back up our client view of the depot, so our work is unsaf...
Efficiently backup many versions of a git repo with branch namespacing
CC BY-SA 3.0
null
2010-07-13T19:49:56.747
2012-09-04T07:50:33.097
2012-09-04T07:50:33.097
6,309
86,432
[ "git", "perforce", "dvcs", "git-p4" ]
3,241,420
1
3,266,375
null
12
20,942
Consider the scenario of a user creating a new Team Project. The user is a developer who wants to create and manage their Team Project. - - The exception is > TF218027: the following reporting folder could not be created on the server running SQL Reporting Services. SQL Reporting services is running under an Acti...
Error TF218027 when creating a Team Project in TFS 2010
CC BY-SA 2.5
0
2010-07-13T20:50:39.227
2013-02-01T21:45:57.657
2010-07-14T02:59:46.107
23,199
23,199
[ "tfs", "permissions", "reporting-services" ]
3,241,519
1
3,242,562
null
1
1,367
I'm curious as to the 'proper' method for achieving the following functionality using Quarts2D: I want to have a view, and to be able to add a circle at any coordinate. As soon as I add the circle it should expand at a predefined rate; I'd also like to repeat this process and have a number if these expanding circles. ...
iPhone Quartz2D render expanding circle
CC BY-SA 2.5
0
2010-07-13T21:05:20.403
2010-07-14T00:29:28.637
2017-02-08T14:28:25.863
-1
168,610
[ "iphone", "graphics", "quartz-2d" ]
3,241,698
1
3,241,710
null
3
224
I'm not math savvy, but this Mathematica plot caught my eye and I was hoping you could help me identify it. I've searched the various functions and keywords found in the pictured code, but none of the results suggested anything specific to me about whatever algorithm is at work in this plot. ![Screenshot from Mathema...
Identify the plot in this image
CC BY-SA 3.0
null
2010-07-13T21:28:02.650
2011-11-23T15:33:54.127
2011-11-23T15:33:54.127
390,911
390,911
[ "geometry", "wolfram-mathematica" ]
3,242,028
1
3,242,337
null
2
482
This is very programming related but a somewhat non-programming question. I am performing image scaling in a web based application and I need to maintain my image relative to a fixed location even though it scales anchored by its top, left corner. Hope the graphic make this possible. ![alt text](https://lh6.ggpht.com/_...
Image scaling geometry
CC BY-SA 2.5
0
2010-07-13T22:20:39.017
2010-07-14T10:31:52.673
2017-02-08T14:28:26.880
-1
64,262
[ "asp.net", "css", "geometry" ]
3,242,505
1
3,242,524
null
14
9,989
I am creating a service using [CreateService](http://msdn.microsoft.com/en-us/library/ms682450%28VS.85%29.aspx). The service will run again fine if it happens to crash and I would like to have Windows restart the service if it crashes. I know it is possible to set this up from the services msc see below. ![Windows Ser...
How to create service which restarts on crash
CC BY-SA 2.5
0
2010-07-14T00:15:20.413
2022-10-26T11:57:29.307
2017-02-08T14:28:27.217
-1
1,675
[ "c++", "windows", "winapi", "service" ]
3,242,796
1
3,243,006
null
4
2,330
In MATLAB, is it possible to create a single graph of two related data sources with the first source plotted along the bottom of the x-axis and the 2nd source plotted down from the top of the x-axis? I can't find anywhere in the MATLAB documentation where this is done. The final graph I need is in a form like this: ...
Matlab, graph two data series in one graph
CC BY-SA 3.0
null
2010-07-14T01:39:05.560
2016-03-28T08:15:08.860
2016-03-28T08:13:25.723
97,160
296,238
[ "matlab", "plot", "graph", "bar-chart", "stacked-chart" ]
3,242,986
1
null
null
4
759
I want to use EGit in a small eclipse project with my colleagues, but we don't want to Submit the project to the github.com. What I should do with the next picture ? The ip address is 192.168.16.40 and the project is in D:\EclipseProjects\ForwardA.git. How I should fill the URI,Host,Repository Path ? Is the Authentia...
Can I use git in local area network?
CC BY-SA 2.5
0
2010-07-14T02:26:41.447
2011-07-06T12:19:35.700
2017-02-08T14:28:27.883
-1
292,084
[ "java", "eclipse", "git" ]
3,243,796
1
3,243,852
null
2
40
In the image below, why does task X, appear two times for unit 0 at clock cycles 4 and 5? have to make a program for the arrangement of the pipeline, but I need to know why the above happens to complete it. Is it just because the author wants it to repeat?? ![Diagram of pipeline](https://i.stack.imgur.com/3ZY1Z.jpg)...
Why does task X, appear two times for unit 0 at clock cycles 4 and 5?
CC BY-SA 3.0
null
2010-07-14T06:17:05.897
2012-04-29T13:38:03.657
2012-04-29T13:38:03.657
null
287,745
[ "cpu", "pipeline", "cpu-architecture" ]
3,243,999
1
null
null
0
130
I was wondering what kind of model / method / technique might use to achieve this model: ![alt text](https://1.bp.blogspot.com/_CkizHsl86-c/Spg-yOnC3EI/AAAAAAAAARI/-rB0DbJDIXs/s400/over+time+trendly.png) [It tries to find the moments where significant changes set in and ignores random movements] Any pointers very w...
How to detect a trend inside unsteady data (e.g. Trendly)?
CC BY-SA 2.5
null
2010-07-14T07:03:26.460
2010-08-09T19:30:16.360
2017-02-08T14:28:28.567
-1
213,730
[ "math", "google-analytics" ]
3,244,320
1
3,244,377
null
45
34,617
After doing some search on SO, Google and MSDN forums I've become frustrated that there is so little information for what might seem like an obvious question and possibly a dumb question. I need to use source control in Visual Studio 2010 Professional. I do not have separate Team Foundation Server 2010. Some people hav...
Source control in Visual Studio 2010?
CC BY-SA 4.0
0
2010-07-14T08:02:50.023
2023-01-03T11:09:50.730
2023-01-03T11:08:20.277
4,751,173
274,117
[ "visual-studio-2010", "git", "version-control", "visual-studio-2012", "visual-sourcesafe" ]
3,244,407
1
null
null
1
1,147
I want to use the Eclipse which uses to , but some of my properties are multi line (e.g. Description). Problem: ![alt text](https://3.bp.blogspot.com/_hsp14iFkRLs/Sg28gW12WnI/AAAAAAAADk4/Y_bxy5lHIvI/s320/PinActionRemoved.png) I tried using WrapTextPropertyDescriptor instead of TextPropertyDescriptor, but it doesn...
Eclipse PropertySheetPage - Can it support a multi line property?
CC BY-SA 2.5
null
2010-07-14T08:17:13.897
2012-11-17T18:03:25.313
2017-02-08T14:28:29.257
-1
11,710
[ "java", "eclipse", "view", "properties", "line" ]
3,246,717
1
null
null
1
58
Currently i'm having a problem. I want to access the data available in the 4th table of my DB. Db image: ![enter image description here](https://i.stack.imgur.com/j1mhr.png) I have the tables in this way: Categories --> Categories_Companies --> Companies --> Affiliates Like it shows in the image i'm on the categori...
How to the data available in a 4th column in cakephp?
CC BY-SA 3.0
null
2010-07-14T13:45:40.730
2013-04-18T09:53:22.980
2013-04-18T09:53:22.980
664,177
391,388
[ "php", "mysql", "cakephp", "frameworks" ]
3,247,065
1
3,247,242
null
4
1,688
I am trying to do the design of a [Bejeweled](http://en.wikipedia.org/wiki/Bejeweled) game. I have basically 3 classes. The `Game` class, which is what is going to be used by the player, a `Board` class, that represents the board, and a `SwitchController` class that is responsible for checking if the wanted switch on t...
Problems designing Bejeweled game
CC BY-SA 2.5
null
2010-07-14T14:23:11.467
2010-07-14T22:59:04.800
2017-02-08T14:28:29.590
-1
130,758
[ "c#", "java", "oop" ]
3,248,106
1
3,252,420
null
3
21,811
I'm coding a tab system for my website that must be entirely CSS/HTML/JS (without using any images). Problem is, I keep hacking the code until when I'm finished its just a mess. I don't know whether to use positioning, or float the tabs or what. Basically one of the big problems is that after I take away the bottom-...
Best way to code an HTML/CSS/JS tab navigation system (no images)
CC BY-SA 2.5
null
2010-07-14T16:02:03.067
2010-07-15T11:13:14.597
null
null
364,969
[ "javascript", "html", "css", "xhtml", "tabs" ]
3,248,569
1
3,248,623
null
0
194
I am puzzled by why it does not retrieve the data and keep saying i have a error "InvalidCastException", i am currently doing these in compact framework and is totally new to it, i searched around looking for a way to get data into a listview base on what little i know about java . these are my creation of table and in...
Conversion error in vb.net?
CC BY-SA 2.5
null
2010-07-14T17:00:42.787
2010-07-14T17:43:02.997
2010-07-14T17:43:02.997
267,738
267,738
[ "vb.net", "visual-studio-2005", "compact-framework" ]
3,249,062
1
3,250,250
null
5
8,814
I'm using the `listings` package for syntax highlighting, set up with the following arguments: ``` \lstset{ language=Java, captionpos=b, tabsize=3, frame=lines, numbers=left, numberstyle=\tiny, numbersep=5pt, breaklines=true, showstringspaces=false, basicstyle=\footnotesize, identifierstyle=\colo...
LaTeX listings package: different style for constants/classes/variables
CC BY-SA 2.5
null
2010-07-14T18:06:40.713
2010-07-15T07:18:48.117
null
null
154,306
[ "latex", "package", "tex", "listings" ]
3,250,744
1
3,557,579
null
6
2,781
I have an image with and have a few values to make it a perspective in Silverlight, but can't quite figure out what I need to do mathmatically to make it happen. The most important thing is I have an angle called a "Field of View" (). This is the normal picture: ![normal](https://lh6.ggpht.com/_vm4C26HAULw/TDqpHdeCOeI...
How to Set this Kind of Perspective Transform in Matrix3D?
CC BY-SA 2.5
0
2010-07-14T21:37:38.677
2010-08-26T15:36:07.973
2017-02-08T14:28:32.043
-1
149,573
[ ".net", "silverlight", "image", "matrix", "gdi+" ]
3,251,700
1
3,252,317
null
1
345
In VS2008 Team System how do I select some Code Analysis rules? The window is empty. ![alt text](https://farm5.static.flickr.com/4077/4795107164_373a078b71.jpg) When I build, there is the error: ``` CA0053 : * Failed to load rules file '\rules': Unable to find the specified file. ``` Obviously this means the rule...
How to configure VSTS2008 Code Analysis?
CC BY-SA 2.5
null
2010-07-15T00:50:55.710
2010-07-15T03:47:31.263
2017-02-08T14:28:32.380
-1
90,837
[ "visual-studio-2008", "configuration", "code-analysis" ]
3,252,382
1
3,261,091
null
1
4,089
I have a <select> element that I dynamically populate with different values at runtime. I use the code below to clear the <option> elements and then reload it with new ones. It works in Firefox 3.6.6 and Chrome 5.0. ``` function loadPickerFromObject(pickerControl, values) { pickerControl.empty(); for (var nam...
Why does dynamically populating a select drop down list element using javascript not work in IE?
CC BY-SA 2.5
null
2010-07-15T04:07:56.697
2011-03-08T11:15:09.503
2017-02-08T14:28:33.077
-1
80,282
[ "javascript", "jquery", "select", "internet-explorer-8" ]
3,252,717
1
null
null
5
1,318
I have a grid of 3D terrain, where each of the coordinate `(x,y,z)` of each grid are known. Now, I have a monotonously increasing/ decreasing line, which its start point is also known. I want to find the point where the terrain and the line meets. What is the algorithm to do it? ![](https://docs.google.com/drawings/pu...
On a 3D Terrain, Given a 3D Line, Find the Intersection Point Between the Line and the Terrain
CC BY-SA 2.5
0
2010-07-15T05:33:11.280
2010-07-16T06:03:23.730
2017-02-09T15:09:21.050
-1
3,834
[ "c#", "graphics" ]
3,254,437
1
3,255,574
null
1
139
Visual Studio 2008 breaks at the following line with the following message: ![VisualStudio8Debugger](https://wiki.mcneel.com/_media/people/weirddebuggerbehaviour.png) I don't want it to stop there, it's making debugging a nightmare. Somehow the exception thrown at line 998 is causing this, even though there is a try.....
VS2008 debugger breaks at unwanted line
CC BY-SA 2.5
null
2010-07-15T09:57:22.063
2010-07-15T12:47:42.713
2017-02-08T14:28:34.437
-1
81,947
[ "visual-studio-2008", "debugging", "exception", "breakpoints" ]
3,255,698
1
3,256,051
null
0
5,266
What's the best way to implement an Android Market-like tabbar (Apps/Games/Downloads)? ![alt text](https://farm4.static.flickr.com/3505/3967919035_ec51923ac2.jpg) It would be great if I could use TabHost, but I believe it doesn't allow this level of customization.
Android Market-like tabbar
CC BY-SA 2.5
0
2010-07-15T12:59:13.290
2011-11-22T12:20:32.330
2017-02-08T14:28:35.473
-1
143,378
[ "android", "tabbar", "android-tabhost" ]
3,256,420
1
3,265,031
null
7
18,286
I'm trying to get the output from a servlet on an Android phone. This is my servlet: ``` /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package main; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletEx...
Call Java servlet from Android
CC BY-SA 3.0
0
2010-07-15T14:18:44.203
2018-02-13T06:06:04.083
2011-12-30T10:12:46.273
63,550
373,207
[ "java", "android", "servlets", "httpclient" ]
3,256,639
1
null
null
3
2,952
We've got a surprisingly complex workflow that needs to be monitored by a quasi-technical employees with an in-house webapp. There's about 30 steps, some of which are manual (editing), some are semi-automated stop points (like "the files have been received" or customer approval of certain templates), and some are comp...
Designing a complex workflow diagram
CC BY-SA 2.5
0
2010-07-15T14:39:18.727
2010-09-03T12:51:45.323
2010-07-15T14:46:40.600
53,060
53,060
[ "user-interface", "flowchart" ]
3,257,204
1
3,258,948
null
3
597
Say I want to animate a ball rolling 1000 pixels to the right, specifying a timing function in the process – something like this: ``` UIView *ball = [[UIView alloc] initWithFrame:CGRectMake(0,0,30,30)]; CABasicAnimation* anim = [CABasicAnimation animationWithKeyPath:@"transform.translation.x"]; anim.toValue = [...
CAAnimation that calls a method in periodic animation-progress intervals?
CC BY-SA 2.5
null
2010-07-15T15:37:56.620
2010-07-15T18:58:29.157
2020-06-20T09:12:55.060
-1
45,018
[ "cocoa", "core-animation", "progress" ]
3,258,146
1
3,258,211
null
2
5,495
I have data in data table like below. ![alt text](https://i700.photobucket.com/albums/ww5/vsrikanth/graphdata.jpg) I am trying to make graph like below using asp.net chart control (made graph in excel with some test data) ![alt text](https://i700.photobucket.com/albums/ww5/vsrikanth/graph.jpg) points are X and Y val...
Line and Points using asp.net chart control
CC BY-SA 2.5
null
2010-07-15T17:16:56.113
2010-07-15T17:27:36.307
2017-02-08T14:28:36.507
-1
158,008
[ "c#", "asp.net", "vb.net", "charts" ]
3,258,136
1
3,258,196
null
7
1,742
In my latest ASP.NET MVC 2 application I have been trying to put into practice the concepts of [Domain Driven Design (DDD)](http://en.wikipedia.org/wiki/Domain-driven_design), the [Single Responsibility Principle (SRP)](http://en.wikipedia.org/wiki/Single_responsibility_principle), [Inversion of Control (IoC)](http://d...
Options for IoC Auto Wiring in Domain Driven Design
CC BY-SA 3.0
0
2010-07-15T17:14:58.770
2013-10-24T19:27:39.393
2017-05-23T12:30:39.447
-1
61,654
[ "c#", "domain-driven-design", "inversion-of-control", "ioc-container", "autowired" ]
3,258,163
1
3,258,231
null
5
763
I'm making a program that displays some info in ncurses, and then opens vim (using `system`) to allow the user to edit a file. After vim is exited, though, the ncurses screen won't redraw. `refresh` and `wrefresh` don't do anything, resulting in the complete trashing of my beautiful menu. So, I get sent back to the ...
C - going from ncurses ui to external program and back
CC BY-SA 2.5
null
2010-07-15T17:19:29.230
2010-07-15T17:30:59.050
null
null
219,604
[ "c", "ncurses", "external-process" ]
3,260,204
1
null
null
0
525
Ordered list - html : How to make point(ol{style-list:disc;}) position in midde height of image? - ![](https://t2.gstatic.com/images?q=tbn:MezWc3ku_XBiwM:http://www.whereisacar.com/images/cars/bill-gates-car.jpg) - ![](https://t0.gstatic.com/images?q=tbn:98OwBE0-icyCNM:http://www.comparecheapinsurance.com/car-insu...
Ordered list - html : How to make point(ol{style-list:disc;}) position in midde height of image?
CC BY-SA 3.0
null
2010-07-15T21:23:14.893
2012-02-26T21:06:20.070
2017-02-08T14:28:37.880
-1
342,984
[ "html", "css", "html-lists" ]
3,260,392
1
3,260,436
null
18
26,721
Looking for the easist/most scalable way to do a set "difference" in SQL Server see below. ![alt text](https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Venn0110.svg/384px-Venn0110.svg.png) If you can't tell from the picture i am looking for everything that is not in the intersection. I have seen one way to do ...
SQL Server Difference (opposite of intersect)
CC BY-SA 2.5
0
2010-07-15T21:53:13.150
2012-11-08T09:47:59.223
2020-06-20T09:12:55.060
-1
256,793
[ "sql-server", "sql-server-2008" ]
3,263,227
1
3,263,253
null
0
951
This a screenshot from a Tkinter Listbox in a program I'm writing: ![Screenshot of the problem](https://content.screencast.com/users/jeff2342/folders/Jing/media/4c796049-0a0a-42f6-9357-262160661c12/00000001.png) Why does the `\t` character show up as a black bar? On a Mac it shows up normally (as a tab), but on Wind...
Python: Why does the tab character show up weird in Tkinter?
CC BY-SA 2.5
null
2010-07-16T08:42:46.367
2010-07-16T08:49:24.403
2017-02-08T14:28:39.930
-1
429,898
[ "python", "character-encoding", "special-characters", "tkinter" ]
3,265,986
1
3,279,877
null
98
16,673
This problem actually deals with roll-overs, I'll just generalized below as such: I have a 2D view, and I have a number of rectangles within an area on the screen. How do I spread out those boxes such that they don't overlap each other, but only adjust them with minimal moving? The rectangles' positions are dynamic ...
An algorithm to space out overlapping rectangles?
CC BY-SA 4.0
0
2010-07-16T14:40:29.400
2019-05-29T10:20:19.610
2019-05-29T10:20:19.610
1,481,116
128,585
[ "algorithm", "user-interface", "language-agnostic", "graphics" ]
3,266,578
1
3,267,658
null
2
425
I'm trying to make a table view with an appearance much like the default Weather application provided by Apple. However I'm struggling a bit to make the table cells look correctly. I would like all the cells, except the first one to be deletable. The problem is that the default cells have the small delete button on th...
Appearance of table cells when deleting
CC BY-SA 2.5
null
2010-07-16T15:44:56.307
2015-07-08T21:47:50.300
2017-02-08T14:28:41.300
-1
293,024
[ "iphone", "uitableview" ]
3,267,285
1
null
null
0
807
If, for example, I have the following requirements: 1. Dog is an Animal 2. Zoo has Animal(s) Do I still need the 2nd diamond connector (the lower one) as shown here: ![diagram image](https://i.stack.imgur.com/RYYuM.png)
Does the Derived class need diamond link?
CC BY-SA 3.0
null
2010-07-16T17:09:56.817
2013-06-13T22:24:40.170
2013-06-13T22:12:04.313
320,111
387,474
[ "inheritance", "uml", "composition", "aggregation", "diagrams" ]
3,268,118
1
null
null
1
3,506
How can I create graphs like this.. ![alt text](https://i.imgur.com/03LZA.png) ``` <?= format_size($this->space_used); ?> out of <?= format_size($this->total_space); ?> ```
creating bar graph in php
CC BY-SA 2.5
null
2010-07-16T19:16:39.473
2012-05-01T10:40:07.780
2012-05-01T10:40:07.780
1,292,730
393,796
[ "php", "bar-chart" ]
3,269,806
1
3,269,869
null
4
1,512
I have 3d mesh and I would like to draw each face a 2d shape. What I have in mind is this: for each face 1. access the face normal 2. get a rotation matrix from the normal vector 3. multiply each vertex to the rotation matrix to get the vertices in a '2d like ' plane 4. get 2 coordinates from the transformed vertices ...
draw 3d faces as 2d
CC BY-SA 2.5
0
2010-07-17T01:17:19.417
2010-07-18T23:37:37.043
2017-02-08T14:28:41.980
-1
89,766
[ "math", "opengl", "3d", "vector", "matrix" ]
3,270,209
1
3,442,396
null
16
47,047
I put in a partially transparent PNG image in Tkinter and all I get is this ![alt text](https://i.stack.imgur.com/CHyXq.png) How do I make the dark triangle on the right clear? (like it's supposed to be) This is python 2.6 on Windows 7, btw.
How do I make Tkinter support PNG transparency?
CC BY-SA 4.0
0
2010-07-17T04:05:23.080
2022-02-15T18:51:12.853
2019-09-09T09:16:56.803
918,959
433,417
[ "python", "png", "transparency", "tkinter" ]
3,270,372
1
4,743,364
null
2
5,903
im using report viewer in visual studio 2008, in my report, everything is display correctly except table. check the image for more details ![http://i26.tinypic.com/2luq3rc.jpg](https://i.stack.imgur.com/VNUPD.jpg) the table is left aligned, how do i center align it please help
how to center align table in reportview in asp.net
CC BY-SA 3.0
null
2010-07-17T05:24:59.427
2012-08-13T09:44:13.080
2012-08-13T09:44:13.080
1,573,667
336,009
[ "report", "viewer" ]
3,270,717
1
3,270,765
null
2
3,891
I am using SQL Server 2008 express, any reason?? however, if i convert to decimal(6,4) is work. e.g. Select CONVERT(decimal(6,4),'1.1234'); thanks you. ![alt text](https://imgur.com/8pggu.png)
SQL Server 2008 cannot define decimal type with 4 decimal places?
CC BY-SA 2.5
null
2010-07-17T08:07:16.367
2010-07-17T09:26:12.637
2010-07-17T09:26:12.637
27,535
83,952
[ "sql", "sql-server" ]
3,270,840
1
null
null
10
9,354
Is there anyway that allows me to find all the intersection points between a line and a grid? ( The intersection circles are not drawn to scale with each other, I know) ![](https://docs.google.com/drawings/pub?id=1UzRWHH8tbGtNMltEy-LUkroKPKUHvU0Nrja1uBIGPMw&w=960&h=720) A brute force way is to compute very intersecti...
Find the intersection between line and grid in a fast manner
CC BY-SA 4.0
0
2010-07-17T08:45:31.527
2022-03-11T03:07:47.630
2020-04-29T06:55:41.717
3,834
3,834
[ "c#", "geometry" ]
3,271,815
1
3,271,834
null
0
85
Can anybody tell me what program is this? ![Mystery App](https://i.stack.imgur.com/JeK3A.png) Is this for memory measurement or what?
Question about program
CC BY-SA 3.0
null
2010-07-17T14:13:59.217
2011-07-14T08:17:44.530
2011-07-14T08:17:44.530
21,234
null
[ "debugging", "memory-management" ]
3,272,532
1
3,272,787
null
3
2,807
I'm making [an overloaded TableLayoutPanel which draws some fancy borders](https://stackoverflow.com/questions/3265202/how-do-i-make-an-custom-drawn-resizable-container), but for some reason the call to `Graphics::DrawImage` isn't working as expected. It seems to fade out my 1x10 pixel source image when I stretch it: ...
Why doesn't Graphics::DrawImage stretch images as expected?
CC BY-SA 2.5
null
2010-07-17T17:27:54.280
2010-07-17T18:44:54.713
2017-05-23T12:01:33.300
-1
15,369
[ ".net", "windows", "winforms", "c++-cli", "drawimage" ]
3,272,618
1
4,993,182
null
0
1,195
I'm using the following 9 patch image as the row background in a list view. [alt text http://img39.imageshack.us/img39/9346/rowbackground9.png](http://img39.imageshack.us/img39/9346/rowbackground9.png) (the image is right above this line, in case you missed it) I've placed this image in drawable-hdpi. When I run the...
9 patch row background appears irregularly in Android
CC BY-SA 2.5
null
2010-07-17T17:54:21.457
2012-05-06T16:49:49.690
2017-02-08T14:28:35.473
-1
143,378
[ "android", "nine-patch" ]
3,273,067
1
3,290,271
null
2
1,878
I've declared a Telerik `RadRibbonBar` in my application, but the title window's text is white, and looks like this: ![alt text](https://imgur.com/5NL7L.png) In my opinion, it looks pretty bad. Does anyone know of any way to change it? This is the XAML I'm using: ``` <telerikRibbon:RadRibbonWindow x:Class="TestApp.M...
How can I change the color of a (Telerik) RadRibbonBar's title text?
CC BY-SA 2.5
null
2010-07-17T20:04:19.267
2010-07-20T13:14:13.050
null
null
18,505
[ "wpf", "telerik-radribbonbar" ]
3,273,732
1
3,274,281
null
2
2,284
How do you remove the dotted line around the currently selected tab on a JTabbedPane. For example: ![alt text](https://i.imgur.com/Ui5o4.png) See the dotted line around it?
Remove the JTabbedPane "currently selected" dotted line
CC BY-SA 2.5
0
2010-07-17T23:56:34.790
2010-07-18T04:16:25.863
null
null
null
[ "java", "swing", "jtabbedpane" ]
3,274,186
1
3,274,328
null
1
666
How would I go about making the length of the tabs automatically resize based on how much room is left in that row of tabs. Picture: ![alt text](https://i.imgur.com/9t12T.png) As you can see the tab's width is based off the text in the tab. If you need me to explain what I want better then just ask me because I don...
Centering the JTabbedPane but not the actual tabs
CC BY-SA 2.5
null
2010-07-18T03:20:31.453
2010-07-18T14:24:27.597
null
null
null
[ "java", "swing", "jtabbedpane" ]
3,275,250
1
3,278,596
null
3
669
My little game project is a physics based platform jobbie created with Chipmunk (via SpaceManager) in Cocos2d. I wanted something a little different to the a-typical tile mapped level design, so I'm creating levels as SVG files in Illustrator, which I then parse to create the landscape, platforms, spawn points etc et...
I need a strategy for developing graphics for a Cocos2d-iPhone project
CC BY-SA 2.5
0
2010-07-18T11:01:50.023
2011-03-11T13:42:50.653
2017-02-08T14:28:47.227
-1
64,586
[ "graphics", "cocos2d-iphone" ]
3,276,733
1
4,368,392
null
2
1,107
I have a drawing procedure (it works) it draws to a bitmap "OBJmap" it then puts OBJmap into Wholemap. This all works but there is a issue. It seems to treat the undefined parts of objmap as white even though objmap and wholemap is set as PF32Bit, and hence when it puts objmap into wholemap I get a white box behind t...
AggPas Delphi Drawing Transparencies
CC BY-SA 2.5
null
2010-07-18T18:33:47.543
2011-03-24T10:20:14.607
2017-02-08T14:28:49.037
-1
53,915
[ "delphi", "graphics", "bitmap", "drawing", "transparency" ]
3,277,141
1
3,277,189
null
1
1,028
Im getting the error: > You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10', '16:39:02', '292.35')' at line 1 this is the query im running in php: ``` mysql_query("INSERT INTO `copper` (`month`, `time`, `price`)...
mysql syntax error inserting decimal, timestamp with php
CC BY-SA 3.0
null
2010-07-18T20:29:12.533
2013-05-07T00:45:57.130
2013-05-07T00:45:57.130
815,073
115,949
[ "php", "mysql", "mysql-error-1064" ]
3,278,270
1
null
null
0
762
![menu sample](https://i.stack.imgur.com/ngOtf.png) I have an accordion menu that currently expands and collapses all with the same container of the menu system boundaries. My question is, (see menu sample), how can I take the sub-menu of my accordion menu, i.e. the expanded bit, that currently shows "Pool & Spa Maint...
Accordion menu/sub-menu offset
CC BY-SA 4.0
null
2010-07-19T03:22:33.437
2019-08-17T10:19:01.253
2019-08-17T10:19:01.253
472,495
111,479
[ "jquery", "html", "css" ]
3,279,488
1
3,293,921
null
1
447
i just created a subclass of uitableviewcell and used it in my cellforrowatindexpath. after adding a simple uilabel my cell looks currently something like this: ![alt text](https://dl.getdropbox.com/u/6357394/Bildschirmfoto%202010-07-19%20um%2010.28.26.png) my aim is to style the cell like ![alt text](https://dl.ge...
UITableViewCell subclassed - background for specific position
CC BY-SA 2.5
0
2010-07-19T08:33:05.757
2010-07-22T14:50:29.100
2017-02-08T14:28:49.713
-1
253,288
[ "iphone", "objective-c", "uitableview" ]
3,279,904
1
null
null
1
651
I have a file that is being included, in that file there's Server.MapPath('../_data") which doesn't work since that file included is not in the same Server.MapPath as the file executed. any Idea of how I can get the included file's path? To clarify the situation, I added a picture ![alt text](https://imgur.com/Ue...
get path to an included file on Classic ASP?
CC BY-SA 2.5
null
2010-07-19T09:38:16.403
2010-07-19T10:38:58.447
2010-07-19T10:38:58.447
333,283
333,283
[ "asp-classic", "path" ]
3,279,950
1
3,280,250
null
4
341
I am having problem finding a memory leak with Instruments. Usually it helps me a lot and I am able to find the leak, but in this case I'm lost. I am creating a view controller that controls a views loaded from NIB file. The view has Map View with "Show user location" on true. Once user location is found I use MKRever...
tracing a memory leak with Instruments in iPhone app
CC BY-SA 2.5
0
2010-07-19T09:44:24.597
2010-07-19T10:31:10.460
2017-02-08T14:28:50.053
-1
255,710
[ "iphone", "memory-management", "memory-leaks" ]
3,281,685
1
3,288,440
null
14
3,684
I'm developing an application for Google App Engine which uses BigTable for its datastore. It's an application about writing a story collaboratively. It's a very simple hobby project that I'm working on just for fun. It's open source and you can see it here: [http://story.multifarce.com/](http://story.multifarce.com/)...
Tree structures in a nosql database
CC BY-SA 2.5
0
2010-07-19T13:56:55.020
2010-07-21T21:31:57.273
2017-02-08T14:28:50.387
-1
119,081
[ "google-app-engine", "google-cloud-datastore", "nosql", "bigtable" ]
3,282,021
1
null
null
4
233
I'm wondering what UI library is used on the images below (it's from CityEngine). Does anyone know other UI libraries with similar capabilities (free floating, connected nodes with arbitrary UI elements)? I think it might be a part of Eclipse/JFace/SWT toolkit. ![alt text](https://content.screencast.com/users/zbychs/f...
What UI is used on this pictures? (node based ui)
CC BY-SA 2.5
null
2010-07-19T14:32:35.980
2012-09-13T11:12:08.073
2017-02-08T14:28:51.080
-1
395,913
[ "eclipse", "user-interface", "swt" ]
3,282,411
1
3,283,534
null
3
907
I'm writing a simple web report with a simple layout for internal use. The layout consists in a header on top and a content below, usually a table and a little more (very simple). My problem is that when the table is larger than the browser's viewport, the layout messes up: the header is wide as the viewport and not ...
CSS issue with header and missing right space between table and page's border
CC BY-SA 3.0
0
2010-07-19T15:22:46.837
2013-02-21T07:16:38.360
2013-02-21T07:16:38.360
1,581,050
91,696
[ "html", "css", "layout" ]
3,282,935
1
null
null
22
21,985
I'm interested in drawing a [treemap](http://en.wikipedia.org/wiki/Treemapping): ![treemap example](https://i.stack.imgur.com/4wb1q.png) What is the easiest way to make one in Python? Is there a library that could produce such a graphic, given the proper input data?
Treemap visualization in Python
CC BY-SA 3.0
0
2010-07-19T16:26:02.787
2020-04-24T12:56:55.967
2012-03-25T23:44:30.063
2,683
396,007
[ "python", "data-visualization", "treemap" ]
3,284,111
1
3,284,299
null
10
9,948
In my iPad app Viewfinder ([iTunes Link](http://itunes.apple.com/gb/app/viewfinder-photo-search-download/id379028031?mt=8)), I'm trying to recreate the look of a UISegmentedControl as seen in the footer of Keynote's Build In popover: [](https://i.stack.imgur.com/o31oG.png) The iPad HIG suggests using a bottom-aligne...
Using a UISegmentedControl in the footer of UIPopoverController
CC BY-SA 4.0
0
2010-07-19T19:01:01.713
2019-08-03T01:06:45.200
2019-08-03T01:06:45.200
4,751,173
96,455
[ "iphone", "ipad", "uisegmentedcontrol", "uipopovercontroller", "hig" ]
3,284,326
1
3,342,550
null
9
6,405
![An image clarifying things](https://imgur.com/7LOn5.png) How do I change the vertical alignment of the text in a CTFramesetter frame? I want my text to be in the middle instead of being at the . I am using Core Text framework. There is a setting of the paragraph to change horizontal aligment but not vertical.
Vertical align with Core Text?
CC BY-SA 2.5
0
2010-07-19T19:28:52.710
2013-12-10T17:00:07.263
2011-02-09T19:30:31.393
30,461
160,868
[ "alignment", "core-text" ]
3,285,349
1
3,286,226
null
0
1,497
the problem is that I first have to convert the two-dim to a one-dim, then find the selected index and then convert again and then save the new index. after that I have to use the right string.format to show the right output.. I'm just confused =( In the program there are two text boxes that ask for "row" and "col" s...
How do I convert a two-dim array to a one-dim?
CC BY-SA 3.0
0
2010-07-19T21:44:42.460
2012-05-01T10:40:23.273
2012-05-01T10:40:23.273
588,306
396,252
[ "vb.net" ]
3,285,568
1
3,285,885
null
2
3,012
I have a web form with a dropdown list `<asp:dropdownlist>`, but for the sake of formatting I want the actual control (before you open the dropdown list) to be relatively narrow. When the user opens the contents of the dropdown, I want the actual list to appear wider than the control. Something like this: ![alt text](...
asp:dropdownlist width: How to make the control narrower than the dropdown list
CC BY-SA 2.5
0
2010-07-19T22:23:19.020
2010-07-20T11:25:20.770
2020-06-20T09:12:55.060
-1
116,810
[ "c#", "asp.net", "html" ]
3,286,503
1
3,287,467
null
0
714
this is my code : ``` <style type="text/css"> #draggable { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; border:1px solid #DDDDDD; color:#333333; background:#F2F2F2; } #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; border...
how to clean the css style of jquery-ui be added automatically when someone use ".draggable()"
CC BY-SA 3.0
null
2010-07-20T02:09:26.843
2013-04-04T11:47:40.933
2013-04-04T11:47:40.933
569,101
234,322
[ "javascript", "css", "jquery-ui", "drag-and-drop" ]
3,287,318
1
3,287,343
null
1
100
i am on windows/apache/mysql/php setup. i have recently reinstalled PHP. but i found that it broke certian things. simple scripts like just `phpinfo()`, `echo`, simple OO class definitions etc works. but my Zend Framework app failed. same as the doctrine 2 sandbox i am working on. they both returned the ... below ... s...
Some PHP (Zend Framework/Doctrine) fails after reinstalling PHP (on Windows/Apache)
CC BY-SA 2.5
null
2010-07-20T05:46:11.477
2011-01-21T21:52:09.630
2017-02-08T14:28:53.853
-1
292,291
[ "php", "apache" ]
3,287,753
1
3,294,609
null
1
881
I have a `UIWebView` that works fine for viewing an Word or Excel document stored in the app's local Documents folder. I can use either: ``` [webView loadData:documentData MIMEType:mimeType textEncodingName:textEncoding baseURL:baseDocumentURL]; ``` Or: ``` [webView loadRequest:[NSURLRequest requestWithURL:baseD...
How to properly deal with encrypted Word and Excel documents for viewing in a UIWebView?
CC BY-SA 2.5
0
2010-07-20T07:12:52.720
2015-02-24T21:27:39.987
2017-02-08T14:28:54.187
-1
19,410
[ "iphone", "excel", "uiwebview", "ms-word", "credentials" ]
3,290,036
1
3,290,351
null
10
13,453
is there any way to apply to a table cells' both the separate and the collapsed border properties to have collapsed but separated? Thanks : this is the wanted result: ![alt text](https://www.image-share.com/upload/302/57.gif)
CSS: table border separated horizontally and collapsed vertically
CC BY-SA 2.5
null
2010-07-20T12:47:53.230
2015-06-16T16:53:24.733
2017-02-08T14:28:54.887
-1
42,636
[ "html", "css" ]
3,290,557
1
3,382,049
null
1
96
I have been using analytics software for a while, and An example: ![alt text](https://i.imgur.com/lprwg.png) --- A major problem I encountered is . (account panel, form journeys, etc...) I guess this could be achieved by sending the html with the usability data, but I see this as a major performance problem....
How does Analytics and Usability software do this?
CC BY-SA 2.5
null
2010-07-20T13:44:25.153
2010-08-01T12:47:22.697
2010-07-20T13:52:13.797
208,827
208,827
[ "javascript", "html", "session", "iframe", "screen-scraping" ]
3,291,389
1
3,294,670
null
1
1,047
so i created a facebook app (fbml). canvas url = `http://mydomain.com/fb/canvas/` tab url = `tab.html` i authenticated my app with my profile and added the tab to my profile. but the tab keeps loading and loading. sometimes i also get redirected to my profile page after a short tab loading time ![alt text](https:/...
Facebook Tab not loading
CC BY-SA 2.5
null
2010-07-20T15:06:36.327
2010-07-23T13:09:34.597
2017-02-08T14:28:55.943
-1
253,288
[ "php", "html", "facebook", "fbml" ]
3,291,477
1
3,291,546
null
1
525
I created an iPhone application which can take photos and allow the user to edit them (moving and scaling), by setting the property `allowsEditing` to YES. My problem is that while editing, the bar at the bottom has a too long title (in french). ![title of app](https://i.stack.imgur.com/qvuAJ.png) So do you have any...
Change the toolbar title in UIImagePicker
CC BY-SA 3.0
null
2010-07-20T15:15:02.590
2011-12-10T04:57:51.267
2011-12-10T04:57:51.267
56,338
396,958
[ "iphone", "objective-c", "uiimagepickercontroller", "editing", "title" ]
3,294,457
1
null
null
4
505
I want to be able to define everything about a form field in one place, as opposed to having some info in the DB, some in HTML, some in JavaScript, some in ASP... Why do I have to worry about possibly changing things in four separate places (or more) when I want to change something about one field? I.e., I don't want...
How do I control the definition, presentation, validation and storage of HTML form fields from one place?
CC BY-SA 2.5
0
2010-07-20T21:21:35.280
2010-08-11T15:32:44.623
2017-02-08T14:28:56.620
-1
12,293
[ "sql", "html", "forms", "methodology" ]
3,294,673
1
3,295,080
null
1
213
I would like to conditionally enable the `objc_exception_throw` global breakpoint for my app, only when I am doing a Debug build (not when doing a Release or Distribution build). ![alt text](https://farm5.static.flickr.com/4135/4812968163_7530528c46_b_d.jpg) Is there a way to specify this build condition in Xcode's ...
How to specify build condition for objc_exception_throw?
CC BY-SA 2.5
0
2010-07-20T21:48:33.327
2010-07-20T23:03:13.873
2017-02-08T14:28:56.963
-1
19,410
[ "iphone", "objective-c", "xcode", "exception", "breakpoints" ]
3,294,987
1
3,295,089
null
5
572
I have no idea what this error is about, the deadline for that application is tomorrow. I have no idea what is it about but it is refusing to compile. It is a giant project with over 150 source files and with about 20 3rd party dependencies. > Internal error occurred while creating dependency graph: -[PBXTargetBui...
XCode is not building my application because of some random thing
CC BY-SA 2.5
null
2010-07-20T22:46:32.797
2011-06-06T14:39:03.977
2011-01-31T00:21:02.563
160,868
160,868
[ "xcode", "pbx" ]
3,295,057
1
3,296,097
null
40
28,193
Consider a XAML TextBox in Win Phone 7. ``` <TextBox x:Name="UserNumber" /> ``` The goal here is that when the user presses the `Enter` button on the on-screen keyboard, that would kick off some logic to refresh the content on the screen. I'd like to have an event raised specifically for `Enter`. Is this possibl...
Determining the Enter key is pressed in a TextBox
CC BY-SA 3.0
0
2010-07-20T22:58:52.113
2013-07-18T12:17:22.963
2012-01-14T17:27:13.593
13,154
23,199
[ "silverlight", "xaml", "windows-phone-7" ]