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
971,016
1
974,472
null
6
9,768
I'm currently getting the total thread CPU time using JMX in the following manner: ``` private long calculateTotalThreadCpuTime(ThreadMXBean thread) { long totalTime = 0l; for (ThreadInfo threadInfo : thread.dumpAllThreads(false, false)) totalTime += thread.getThreadCpuTime(threadInfo.getThreadId());...
Efficient way of getting thread CPU time using JMX
CC BY-SA 3.0
0
2009-06-09T16:03:46.773
2015-06-19T21:12:33.167
2015-06-19T21:12:33.167
1,159,643
112,671
[ "java", "jmx" ]
971,854
1
971,868
null
1
763
Is there any way to increase code intellisense height on ASP.NET? ![alt text](https://content.screencast.com/users/uzay95/folders/Jing/media/17b0183e-5f57-4e0f-a4b1-1d540f32468e/2009-06-09_2154.png)
Is there any way to increase code intellisense height in Visual Studio?
CC BY-SA 2.5
0
2009-06-09T18:57:15.363
2009-06-09T19:02:37.647
2017-02-08T14:12:42.333
-1
104,085
[ "visual-studio", "intellisense" ]
975,320
1
null
null
1
2,926
Picture is worth more than a thousand words :) ![alt text](https://i239.photobucket.com/albums/ff175/mlakilud/Labels.jpg) Here is the code: ``` // Initialization code UIView *myContentView = self.contentView; UIImage *image = [UIImage imageNamed: @"bg_top.png"]; UIImageView *imageview = [[UIIm...
iPhone custom cells - transparent label background
CC BY-SA 2.5
null
2009-06-10T12:43:04.353
2011-01-14T18:28:26.687
2017-02-08T14:12:44.540
-1
115,873
[ "iphone", "label" ]
975,652
1
975,828
null
26
111,136
I have a web page with embedded PDF on it. My code looks like this: ``` <embed type="application/pdf" src="path_to_pdf_document.pdf" id="pdfDocument" width="100%" height="100%"> </embed> ``` I have this javascript code for print my PDF: ``` function printDocument(documentId) { //Wait until ...
Silent print an embedded PDF
CC BY-SA 3.0
0
2009-06-10T13:35:50.017
2017-08-04T10:05:19.137
2017-08-04T10:05:19.137
1,473,071
27,507
[ "javascript", "html", "pdf", "acrobat" ]
979,750
1
1,263,211
null
10
28,121
I am having problems with properly displaying background image of navigation view. Here is the pic: ![alt text](https://i239.photobucket.com/albums/ff175/mlakilud/Picture3.jpg) Here is the code: ``` - (id)initWithStyle:(UITableViewStyle)style { if (self = [super initWithStyle:style]) { UIImage *image =...
Background image for navigation view
CC BY-SA 3.0
0
2009-06-11T07:19:14.010
2013-06-04T08:16:30.780
2017-02-08T14:12:45.210
-1
115,873
[ "iphone", "uinavigationbar" ]
981,020
1
null
null
45
45,070
I have a problem concerning the listings package in latex. I need to embed a source code of the following XML document [http://www.sparxsystems.com.au/downloads/profiles/EP_Extensions.xml](http://www.sparxsystems.com.au/downloads/profiles/EP_Extensions.xml) in my master thesis' appendix. The problem is, no matter what ...
How to force line wrapping in listings package?
CC BY-SA 3.0
0
2009-06-11T13:18:48.403
2018-05-15T19:19:44.250
2017-02-08T14:12:45.880
-1
121,305
[ "latex" ]
981,015
1
987,956
null
0
7,553
We started getting the 'Object reference not set to an instance of an object' error when accessing any reports in our SQL Server 2005 Reporting Services. ![alt text](https://lh3.ggpht.com/_1RtF2lqDv2g/SjEA_OnVmZI/AAAAAAAAGJ8/wx5IqmyORNk/s800/report_error.jpg) If we go to the report designer and debug it, it works. I ha...
Reporting Services Object Reference Error
CC BY-SA 2.5
null
2009-06-11T13:18:25.627
2010-03-22T07:02:29.523
2020-06-20T09:12:55.060
-1
64,334
[ ".net", "sql-server", "sql-server-2005", "reporting-services", "business-intelligence" ]
982,210
1
983,978
null
4
2,347
I'm using the Superfish jQuery menu system and have a requirement to show all children regardless of level. The menu only shows the children of the selected item. Perhaps someone can help me figure how to modify the code to make it work this way. [Superfish menu](http://users.tpg.com.au/j_birch/plugins/superfish/) H...
Show all children in Superfish jQuery menu
CC BY-SA 4.0
0
2009-06-11T16:37:32.390
2019-03-25T08:33:31.293
2019-03-25T08:33:31.293
7,079,025
12,252
[ "jquery", "html", "css", "superfish" ]
985,223
1
null
null
1
952
I have a User table and a Group table. Between these is a UserGroups intersection table to allow a user to belong to any number of groups. The groups table is already populated with values. How do I add a group to this user so that in the intersection table the relationship between the user and a group is created? My P...
Entitry Framework Add To Intersection Table
CC BY-SA 4.0
null
2009-06-12T06:09:58.613
2023-01-12T06:24:25.553
2023-01-12T06:24:25.553
3,404,097
105,254
[ "entity-framework", "foreign-keys", "entity-relationship", "wcf-data-services" ]
985,529
1
991,575
null
0
7,485
``` <asp:UpdatePanel runat="server"> <ContentTemplate> <div style="padding: 0px 45px 0px 45px"> <asp:FormView ID="fvAccounts" runat="server" DataKeyNames="AccountId" DataSourceID="edsAccounts" EnableModelValidation="True" Width="100%"> <EditItemTemplate> <%-- continuing --%> ``` ...
Problem with HTML DIV style-padding
CC BY-SA 2.5
null
2009-06-12T07:58:40.100
2012-03-28T02:56:07.383
2017-02-08T14:12:47.927
-1
75,500
[ "html", "css" ]
985,997
1
986,018
null
3
2,170
When you right-click an .exe file, you can see various details, such as file description. I'm looking for way to retrieve that data programmatically (preferably, from C#). (Program's name, program's description, Vendor's name, Vendor's site etc) ![alt text](https://trotsenko.com.ua/stackoverflow/notepad_properties.p...
retrieving executable information
CC BY-SA 2.5
null
2009-06-12T10:20:46.467
2009-06-12T10:28:40.067
2017-02-08T14:12:48.267
-1
58,768
[ "c#", ".net", "shell" ]
987,028
1
987,077
null
6
5,942
I'm kind of lost, I try to deploy my application on a shared dreamhost server. Now everything works fine locally. It's my first try at Rails, and I'm not really a programmer or sysadmin, just hacking something together. On Dreamhost, if I start webrick, it works fine on port 3000, but webricks gets killed pretty quick...
How to deploy a Rails app to Dreamhost?
CC BY-SA 2.5
0
2009-06-12T14:46:24.987
2009-07-08T15:04:28.683
2017-02-08T14:12:48.600
-1
2,037,537
[ "ruby-on-rails", "deployment", "dreamhost" ]
987,304
1
987,400
null
1
947
I am using asp.net mvc and I am working on a tab menu which is displaying an unwanted space between each tab. This only happens when I have each image tag on its own line as opposed to having it all in one. ![alt text](https://imgur.com/WjPkX.png) The top images are on their own line which is what is causing the unwa...
How to get rid of an unwanted space in a tab menu?
CC BY-SA 2.5
null
2009-06-12T15:29:19.237
2009-08-31T12:28:07.207
2009-06-12T15:30:34.990
2,635
117,792
[ "html", "css" ]
991,587
1
991,615
null
2
4,536
I'm working on allowing users to upload profile pictures for my site. The classic example of what I'm trying to avoid is [plentyoffish.com](http://plentyoffish.com) where each users image is skewed and looks very ugly: ![alt text](https://imgur.com/5qz59.png) So, how can I progmatically crop/create standard sized ve...
How can I crop/scale user images so I can display fixed sized thumbnails without skewing and stretching?
CC BY-SA 2.5
null
2009-06-13T21:51:09.543
2010-05-08T10:35:06.597
2010-05-08T10:35:06.597
1,431
64,878
[ "image", "image-processing", "crop", "image-scaling", "user-profile" ]
993,273
1
993,552
null
0
2,055
i have a problem on below image: ![alt text](https://content.screencast.com/users/uzay95/folders/Jing/media/6fdd63a3-c6bf-4f46-9654-a80c60d12ce4/2009-06-14_1838.png) I have detailsview, but i can't show border left and right on commandrow cell. Here is the css codes: ``` .dvCommandRow td { border-right: solid 1p...
How can i add border to the asp.net detailsview commandrow cell?
CC BY-SA 2.5
null
2009-06-14T17:34:14.973
2009-06-15T07:27:32.360
2017-02-08T14:12:51.357
-1
104,085
[ "asp.net", "css", "detailsview" ]
995,705
1
null
null
0
1,867
Here is how the page should look like: ![alt text](https://i239.photobucket.com/albums/ff175/mlakilud/datePicker.jpg) It should have the following functionality: - By clicking the period on segmented control start date gets the value of present time - the interva and end date gets the value of the present time. - By...
Date picker + Segmented control + some labels
CC BY-SA 2.5
0
2009-06-15T11:55:56.020
2009-06-16T14:22:17.437
2017-02-08T14:12:52.060
-1
115,873
[ "iphone", "objective-c", "uipickerview" ]
996,693
1
996,704
null
5
4,346
If I have the following html: ``` <body> <div id="mainTop"> </div> <div id="main"> <h2> <%= Html.Encode(ViewData["Message"]) %></h2> <p> To learn more about ASP.NET MVC visit http://asp.net/mvc</a>. </p> </div> <div id="mainBottom"> ...
Why do the <p> and <h1> elements cause gaps in my layout?
CC BY-SA 2.5
0
2009-06-15T15:13:59.163
2009-06-15T17:39:58.210
2009-06-15T16:53:21.347
41,981
64,878
[ "html", "css" ]
997,086
1
1,022,197
null
5
2,070
I am trying to have a list of large (256x256) icons in a listview similar to vista explorer windows, but the winforms' listview control doesn't look like vista's listview. Before I dig into WPF, can someone tell me if WPF listview can do this? Basically I get this (solid blue selection): ![alt text](https://www.howt...
Vista style explorer/folder view
CC BY-SA 4.0
0
2009-06-15T16:34:47.953
2019-03-22T17:59:45.833
2019-03-22T17:59:45.833
4,751,173
51,816
[ "c#", ".net", "wpf", "winforms", "user-interface" ]
997,106
1
1,013,951
null
15
2,509
I save 100.000 Vectors of in a database. Each vector has a dimension 60. (int vector[60]) Then I take one and want present vectors to the user in order of decreasing similarity to the chosen one. I use [Tanimoto Classifier](http://en.wikipedia.org/wiki/Jaccard_index) to compare 2 vectors: ![alt text](https://upload....
Efficient comparison of 100.000 vectors
CC BY-SA 2.5
0
2009-06-15T16:40:18.583
2010-08-11T12:41:27.250
2017-02-08T14:12:52.740
-1
101,375
[ "java", "database", "visual-studio", "math", "vector" ]
998,506
1
998,520
null
1
2,670
please just point me in the right direction or tell me what to look up to solve this: I have a "tree" object that holds "node" objects. (actually it's called a directed graph). Each node holds the fields string "name" and "list" that contains the next nodes. How can I create lists of all possible node names from the ...
how can i list every path in a directed graph? (C#)
CC BY-SA 2.5
0
2009-06-15T21:31:34.147
2012-10-31T03:02:41.867
2017-02-08T14:12:53.410
-1
123,355
[ "c#", "list", "recursion", "tree" ]
1,000,623
1
1,012,783
null
6
19,906
We are investigating alterntive control libraries for a new project we are working on. One of the requirements is to display data in the form of a surface map, as per the ComponentOne Chart below. ![alt text](https://i.stack.imgur.com/83QXo.jpg) We've used the C1 control in the past but are not entirely happy with i...
Alternative to ComponentOne 3D Surface Map Chart
CC BY-SA 3.0
0
2009-06-16T10:13:08.407
2019-03-23T14:59:38.887
2015-06-19T20:47:44.350
1,159,643
770
[ ".net", "winforms", "controls", "charts", "componentone" ]
1,002,373
1
1,002,392
null
3
126
I have a main container div in the center of my webpage. This is already in place and has various elements in it. However, now I'm trying to place a large content div (Div #1) on the left that takes about 70% of the Main Container Div. What I'm having difficulty doing is getting the CSS right for having Div's #1, #2...
How can I layout some divs in the following arrangment?
CC BY-SA 2.5
null
2009-06-16T15:48:27.310
2009-06-16T16:10:42.667
null
null
64,878
[ "html", "css" ]
1,002,459
1
1,002,856
null
2
4,731
I use a modal popup extender, i followed all the instructions on the toolkit sample page, except that i didn't set the property BackgroundCssClass. this is what happens: ![alt text](https://farm4.static.flickr.com/3322/3632160421_861d1f18e3_o.jpg) Is there a way I can get rude of it without setting the cssclass prop?...
Ajax:ModalPopup js exception, BackgroundCssClass is null
CC BY-SA 2.5
null
2009-06-16T16:01:00.733
2012-11-22T09:18:12.033
2017-02-08T14:12:54.503
-1
75,500
[ "exception", "ajaxcontroltoolkit", "modalpopupextender", "css" ]
1,004,944
1
1,005,085
null
13
10,196
I have a simple Indexed View. When I query against it, it's pretty slow. First I show you the schema's and indexes. Then the simple queries. Finally a query plan screnie. ### Update: Proof of Solution at the bottom of this post. ### Schema This is what it looks like :- ``` CREATE view [dbo].[PostsCleanSubje...
How can i speed up this Indexed View?
CC BY-SA 3.0
0
2009-06-17T03:19:27.947
2020-05-17T03:17:36.693
2015-06-19T20:58:45.177
1,159,643
30,674
[ "sql", "sql-server", "tsql", "sql-server-2008", "indexed-view" ]
1,010,617
1
1,012,327
null
5
4,025
I am currently hoping to use a PropertyGrid to allow users to edit some of my classes, however I've hit a wall with passing objects to the UITypeEditor(s) they use. When the user presses the drop down I want to show a listbox of already loaded textures to choose from, if they want to use a texture the application hasn'...
Passing objects to a UITypeEditor
CC BY-SA 3.0
0
2009-06-18T03:18:10.513
2015-06-19T20:57:49.587
2015-06-19T20:57:49.587
1,159,643
113,504
[ "c#", "propertygrid", "uitypeeditor" ]
1,011,760
1
13,825,154
null
28
8,116
In [this article](http://www.pcmag.com/article2/0,2817,2339629,00.asp) Jonh Dvorak calls Itanium "". While he describes the over-optimistic market expectations and the dramatic financial outcome of the idea, he doesn't go into the technical details of this epic fail. I had my chance to work with Itanium for some period...
What are the technical reasons behind the "Itanium fiasco", if any?
CC BY-SA 2.5
0
2009-06-18T09:36:38.757
2019-05-21T18:47:25.410
2017-02-08T14:12:56.940
-1
2,351,099
[ "hardware", "itanium" ]
1,014,672
1
1,014,711
null
1
366
I am trying to place some text over a button image. I manage to align it center from left to right on the button, but vertical alignment doesn't do the trick for the rest of it. Is there a way in the CSS in order to be able to center that text vertically. ![alt text](https://imgur.com/3whJr.png) ``` .selectedTabOnPla...
How to place text centered over an image?
CC BY-SA 2.5
0
2009-06-18T19:19:18.343
2009-06-19T04:15:34.657
null
null
117,792
[ "html", "css" ]
1,015,120
1
1,015,130
null
1
5,569
My form looks like this with a DataGridView: ![Screenshot](https://i.stack.imgur.com/bwKLW.jpg) I would like to make it look more professional. Can someone recommend a "makeover" for it? Perhaps there is a more attractive way to display this data.
Creating a More Attractive DataGridView
CC BY-SA 3.0
null
2009-06-18T20:49:08.690
2014-06-09T08:56:33.403
2013-07-20T05:54:50.490
2,556,654
117,700
[ "vb.net", "datagridview", "datagrid", "spreadsheet" ]
1,015,174
1
6,000,598
null
1
665
When I navigate to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\myfirstproject\202aebd2\f0e764e2\assembly\dl3 in Windows explorer, there are 108 folders with 8 character hexadecimal names. Explorer won't sort this folder by name (or value ). What gives? ![alt text](https://i.stack.imgur.com/...
Why won't windows explorer sort directories under the 'Temporary ASP.NET Files' directory by name?
CC BY-SA 3.0
null
2009-06-18T21:04:45.133
2015-06-19T21:16:14.693
2015-06-19T21:16:14.693
1,159,643
18,051
[ "asp.net", "sorting", "directory", "explorer", "temporary-files" ]
1,018,679
1
1,018,837
null
4
1,795
I have a view that will look like this: ![alt text](https://imgur.com/85y84.png) I'm trying to figure out how I should represent my ViewModel for this view. Each "Agency" can have multiple "Business Units" and each "Business Unit" can have several "Clients". In the database I easily represent this with a mapping ta...
How should I structure my ViewModel for this hierarchical data I need to display in ASP.NET MVC?
CC BY-SA 2.5
0
2009-06-19T15:44:08.103
2009-06-21T15:04:14.483
2009-06-21T15:04:14.483
64,878
64,878
[ "asp.net-mvc", "treeview", "tree", "viewmodel" ]
1,019,573
1
1,019,587
null
279
43,800
I'm working on a project where the user is able to save their work (most likely to the HDD but also possibly any other media, including floppy disks). Sure, the popular > option is there but what about a toolbar button? By far the most popular icon is the floppy disk. However, the chances the user will write to the ...
Save icon: Still a floppy disk?
CC BY-SA 4.0
0
2009-06-19T19:07:06.983
2020-10-28T13:10:46.517
2018-05-30T14:32:36.220
13,860
307,338
[ "user-interface", "icons", "user-experience" ]
1,020,146
1
1,022,648
null
7
2,948
I have this blank project, just to check out System.totalMemory variable. As far as I can see, i get this values: ``` 3076 3092 3096 3088 3092 3096 3100 3104 3108 3112 3117 3121 3125 3129 3133 3137 3141 3145 3149 ... And so on ``` I had no Flash open, no Internet Browser, no other instance of flash. The project is ...
Why Sytem.totalMemory keeps increasing?
CC BY-SA 3.0
0
2009-06-19T21:39:14.353
2015-06-19T21:14:17.600
2015-06-19T21:14:17.600
1,159,643
80,766
[ "flash", "actionscript-3", "memory", "actionscript" ]
1,020,682
1
1,021,217
null
3
14,934
I have put together an [example page detailing my problem](http://tinyurl.com/lgk9ny) My website is going to have a main wrapper that is set to a max-width property for compatible browsers. It will stretch to 940px across at max. When scaled down I would like the swf to scale proportionately with it. Like an image wit...
How to make flash movie to scale proportunatly to div width?
CC BY-SA 2.5
0
2009-06-20T01:04:44.967
2012-04-04T09:22:57.563
2017-02-08T14:13:00.080
-1
73,119
[ "javascript", "jquery", "css", "flash", "actionscript" ]
1,021,548
1
2,053,090
null
1
2,110
I host a WAVE-file, which plays fine, it's URL is entered in Mobile Safari directly. Trying to embed it in a simple HTML page shows me a "can't play" icon: ![](https://i.stack.imgur.com/eKa2z.jpg) What's wrong with my embed code? ``` <embed href="http://localhost/test.wav" type="audio/wav"/> ```
Embed WAVE-files in iPhones' Mobile Safari
CC BY-SA 3.0
null
2009-06-20T12:50:32.290
2018-04-24T05:39:48.647
2018-04-24T05:39:48.647
6,083,675
76,371
[ "iphone", "html", "safari", "quicktime", "mobile-safari" ]
1,021,692
1
1,021,937
null
3
1,043
Trying to map the following schema using the Entity Framework. - - - ![alt text](https://imgur.com/ZbEGD.gif) this results with the following mapping in VS. ![alt text](https://imgur.com/CZyp5.gif) --- Here's the DB Script : ``` USE [TestDb] GO /****** Object: Table [dbo].[Customer] Script Date: 06/20/...
Entity Framework Mapping Question
CC BY-SA 2.5
0
2009-06-20T14:04:24.043
2009-06-20T16:17:47.070
null
null
199,771
[ "entity-framework", "orm" ]
1,021,721
1
null
null
12
3,685
I would like to write a Python script that would generate a 3D [CAPTCHA](http://en.wikipedia.org/wiki/CAPTCHA) like this one: ![teabag captcha](https://i.stack.imgur.com/60KlL.png) Which graphics libraries can I use? Source: [ocr-research.org.ua](http://ocr-research.org.ua/teabag.html)
Generating a 3D CAPTCHA [pic]
CC BY-SA 3.0
0
2009-06-20T14:30:17.733
2014-09-05T04:09:47.493
2014-09-05T04:09:47.493
31,676
null
[ "python", "graphics", "captcha" ]
1,028,304
1
1,267,921
null
1
1,363
I'm trying to replicate some image filtering software on the Android platform. The desktop version works with bmps but crashes out on png files. When I come to xOr two pictures (The 32 bit ints of each corresponding pixel) I get very different results for the two pieces of software. I'm sure my code isn't wrong as i...
Bitwise operations on a png and bmp give different results? (Same 32 bit ARGB representation)
CC BY-SA 2.5
0
2009-06-22T16:51:59.243
2009-08-12T18:33:48.320
2017-02-08T14:13:01.827
-1
111,734
[ "java", "image-processing" ]
1,028,636
1
1,030,858
null
4
782
The result of my Delaunay triangulation on 1000 unifomally random points doens't look right at all (see image). Some points seem to belong an abnormally high number of triangles... Any idea? ![alt text](https://i.stack.imgur.com/t3NvV.png) Detail: CGAL 3.4, windows XP This is the types I used: ``` typedef CGAL::...
CGAL: erroneous Delaunay result?
CC BY-SA 3.0
null
2009-06-22T18:05:25.573
2015-06-19T21:58:53.723
2015-06-19T21:58:53.723
1,159,643
null
[ "c++", "cgal" ]
1,029,041
1
1,029,059
null
3
183
I am working on a web app. One of the views has been divided into different portions in order to display different information utilizing the whole view and make stuff more manageable. The problem is that the beginning of the information on placementContainerRight gets lined up with the last information from placementCo...
How can I line up the two containers in view?
CC BY-SA 2.5
null
2009-06-22T19:39:10.913
2009-06-22T19:42:32.000
null
null
117,792
[ "html", "css" ]
1,030,607
1
1,031,012
null
-1
332
I have uploaded [a website to the internet](http://midiamantedegel.com). Firebug claims that no file is missing and yet on both IE and FF it doesn't look good as expected and also the script doesn't work (no errors). Here are the [files](https://dl-web.getdropbox.com/get/Agel%20Premotional%20Site.rar?w=fa40df...
Why does my website work only on my machine?
CC BY-SA 3.0
0
2009-06-23T04:22:11.780
2013-07-29T11:23:29.217
2013-07-29T11:23:29.217
366,904
85,140
[ "html", "css" ]
1,031,135
1
1,299,227
null
23
7,170
I recently used NDepend and it produced a good report on my .net assemblies and related pdbs. The most interesting thing I found in the report was abstractness vs. instability graph. I wanted to understand this in real detail, I read their docs and online metrices but it could only help to an extent. Primarily I wish...
What is Abstractness vs. Instability Graph?
CC BY-SA 3.0
0
2009-06-23T07:39:02.940
2015-08-12T09:12:29.390
2014-10-06T10:51:16.883
2,932,052
89,556
[ "architecture", "code-metrics", "ooad", "ndepend" ]
1,032,743
1
1,032,752
null
35
43,792
Firefox is set as Windows' default browser. I want to change the default browser used by Visual Studio for debugging. Normally the route I'd take to do this is right clicking on an .aspx file and setting the default from the `Browse With...` dialog. Unfortunately, ASP.NET MVC Views don't have the `Browse With...` o...
Change Visual Studio Default Browser in an ASP.NET MVC project
CC BY-SA 2.5
0
2009-06-23T14:00:22.420
2017-01-10T22:57:48.240
2017-05-23T11:46:34.517
-1
15,691
[ "asp.net-mvc", "visual-studio" ]
1,041,312
1
1,041,759
null
5
4,255
I have 3 kinds of objects: Agency, BusinessUnit and Client (each with their own respective table) In terms of hierarchy, Agencies own BusinessUnits, and BusinessUnits own Clients. I have 3 C# POCO Objects to represent them (I usually select new {} into them, rather than use the LINQ generated classes): ``` public cl...
How can I query this hierarchical data using LINQ?
CC BY-SA 2.5
0
2009-06-24T22:20:27.690
2009-06-25T17:07:45.110
2009-06-25T00:58:47.933
64,878
64,878
[ "c#", "linq", "linq-to-sql" ]
1,042,182
1
null
null
2
6,775
![alt text](https://www.codeproject.com/KB/WPF/AdvancedCustomTreeViewLyt/AdvancedCustomTreeViewLayout_before.png) I Have Treeview (shown as above) in my app, I have binded it with collection... now the problem is whenever I expand on by default should get selected, means whenever I expand first item that Node should...
WPF Treeview Item select Problem
CC BY-SA 2.5
0
2009-06-25T04:25:36.823
2013-04-19T04:27:56.253
2017-02-08T14:13:06.873
-1
85,606
[ "c#", "wpf", "treeview" ]
1,045,257
1
1,051,725
null
1
432
I have a generated (via MSBuild) Web.config that runs prior to the Build target whose content includes, among other things, <compilation debug="true">. The generated Web.config is copied to the root and put in the Content item group. But when I run the Debug build in Visual Studio 2008 (via F5) I get the following dial...
Why does Visual Studio 2008 ask about enabling debugging when debugging is already enabled?
CC BY-SA 2.5
null
2009-06-25T17:39:56.360
2009-06-26T23:44:22.230
2017-02-08T14:13:07.887
-1
59,180
[ "asp.net", "visual-studio-2008", "msbuild", "debugging", "web-config" ]
1,046,029
1
1,046,205
null
9
21,208
I am trying to draw a series of rectangles using OpenGL but some of the ones that should appear below a rectangle appear above it. To enable the depth function I am using ``` glClearDepth(1.0f); glDepthFunc(GL_LESS); glEnable(GL_DEPTH_TEST); ``` I am using gluLookAt at the begining of each draw. Here is an image o...
Depth Buffer in OpenGL
CC BY-SA 3.0
0
2009-06-25T20:23:33.613
2018-07-19T20:32:36.587
2015-06-19T21:24:03.710
1,159,643
107,183
[ "opengl" ]
1,046,370
1
1,050,337
null
5
2,076
One last question about Client Profile installation. I downloaded the Microsoft .NET Framework Client Profile Online Installer because we want to put it in the installation CD because our end user might not have either .net framework 3.5 or internet. So we want to be able to handle both cases. In the prerequisites I'm...
Client Profile Application prerequisites
CC BY-SA 3.0
0
2009-06-25T21:33:11.820
2019-07-26T17:07:14.063
2015-06-19T20:57:54.170
1,159,643
62,642
[ ".net", "installation", ".net-client-profile" ]
1,048,373
1
null
null
11
28,323
When working in Visual Studio 2005/2008/2010/1012/2013 the dates and times are shown in mm/dd/yyyy hh:MM:ss format. Is there a way to change it to the same settings as the computer?? The displayed date that interests me is in the Watch window. My system is in non English but the Visual Studio 2005 installation is in E...
Visual Studio change date & time format
CC BY-SA 3.0
0
2009-06-26T10:25:34.130
2017-05-09T15:10:08.520
2015-03-09T21:04:17.987
58,553
null
[ "visual-studio-2010", "visual-studio", "visual-studio-2012", "visual-studio-2013" ]
1,048,885
1
1,062,353
null
0
574
I have a small problem with a SWT.Browser widget who throws a quite puzzling alert. I tried to test the Google StreetView API in a browser so I made this page (actually I did not make anything, juste pasted it from Google's snippet.) and I get the following message : ![alt text](https://www.developpez.net/forums/attac...
Strange Google StreetView Internet Explorer warning
CC BY-SA 2.5
0
2009-06-26T12:29:47.577
2009-06-30T08:05:53.373
2017-02-08T14:13:08.560
-1
112,637
[ "api", "browser", "google-street-view" ]
1,051,090
1
1,136,776
null
28
5,026
Here's a [sample page](http://jsbin.com/omoya) with a couple datepickers. Here's the Drip result for that: [alt text http://www.picvault.info/images/537090308_omoya.png](http://www.picvault.info/images/537090308_omoya.png) This page leaks indefinitely in IE6sp1 when I click the Refresh button repeatedly (IE6sp3+, Ope...
How can I control IE6+jQuery+jQuery-ui memory leaks?
CC BY-SA 3.0
0
2009-06-26T20:21:36.863
2015-06-19T20:37:07.097
2015-06-19T20:37:07.097
1,159,643
29
[ "javascript", "jquery", "jquery-ui", "memory-leaks", "internet-explorer-6" ]
1,054,558
1
1,054,681
null
2,320
748,135
I have a `UILabel` with space for two lines of text. Sometimes, when the text is too short, this text is displayed in the vertical center of the label. How do I vertically align the text to always be at the top of the `UILabel`? ![image representing a UILabel with vertically-centered text](https://i.stack.imgur.com/T...
Vertically align text to top within a UILabel
CC BY-SA 3.0
0
2009-06-28T08:54:03.973
2021-09-09T14:23:16.393
2020-01-03T13:45:53.410
74,118
76,371
[ "ios", "cocoa-touch", "uikit", "uilabel", "text-alignment" ]
1,054,675
1
null
null
1
4,434
For the issue pls see the screenshot: ![enter image description here](https://i.stack.imgur.com/fyxl1.jpg) The above code has been generated by the html. ``` <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <head...
Table column width increases despite setting it to a fixed value
CC BY-SA 3.0
0
2009-06-28T10:31:53.263
2016-09-29T15:56:40.230
2016-09-29T15:56:40.230
4,370,109
null
[ "html", "css", "css-tables" ]
1,058,991
1
1,059,022
null
77
220,132
We have a j2ee application running on Jboss and we want to monitor its memory usage. Currently we use the following code ``` System.gc(); Runtime rt = Runtime.getRuntime(); long usedMB = (rt.totalMemory() - rt.freeMemory()) / 1024 / 1024; logger.information(this, "memory usage" + usedMB); ``` This code ...
How to monitor Java memory usage?
CC BY-SA 3.0
0
2009-06-29T15:41:19.490
2021-04-15T13:46:17.433
2017-05-23T12:26:08.287
-1
59,704
[ "java", "garbage-collection", "monitoring", "memory-management" ]
1,059,291
1
1,059,310
null
8
37,488
I am trying to give the effect of general headings in this table and then subdivide such heading into three categories. The table should continue this subdivisions all the way to the end. I see that I can probably insert a table within a row insert, but don't want to saturate myself with tables. Is there a way to get t...
How can I display rows within rows in table?
CC BY-SA 2.5
0
2009-06-29T16:43:57.970
2009-06-29T17:07:33.657
null
null
117,792
[ "html" ]
1,060,799
1
1,060,892
null
1
2,231
I am writing a replacement Windows shell in C#, and the feature I am currently implementing is having all IO inside the same shell window - ie, not opening cmd.exe in another window. Right now, I have a partial solution to output. This is my code (where p is the running Process): ``` while ( !p.HasExited ) { /* ....
C# Shell - IO redirection
CC BY-SA 2.5
0
2009-06-29T22:01:13.680
2009-07-03T03:06:27.077
2009-06-29T22:25:46.033
41,981
41,981
[ "c#", ".net", "io" ]
1,065,408
1
1,065,431
null
7
14,194
I have the following situation, presented in the picture. Grey div is the parent of magenta and blue divs. Magenta div scales vertically with the content. I would like to have blue div always scale to the bottom of the containing grey, div. I've searched and tried various combinations, but all to nil effect. ![alt tex...
How to make div scale vertically all the way down?
CC BY-SA 2.5
0
2009-06-30T19:05:01.893
2012-12-02T18:44:51.010
2009-07-02T16:19:44.143
68,869
68,869
[ "html", "css" ]
1,066,234
1
1,073,337
null
51
24,305
I just came across this little problem on [UVA's Online Judge](http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=41) and thought, that it may be a good candidate for a little code-golf. You are to design a program to assist an architect in drawing the skyline o...
The Skyline Problem‍​​
CC BY-SA 3.0
0
2009-06-30T21:41:55.180
2015-04-03T16:36:01.843
2017-05-23T12:00:17.880
-1
126,781
[ "code-golf", "rosetta-stone" ]
1,066,665
1
1,348,944
null
3
1,479
My Code: ``` foreach (PicasaEntry entryAlbuns in feedAlbuns.Entries) { AlbumAccessor ac = new AlbumAccessor(entryAlbuns); PhotoQuery photos = new PhotoQuery(PicasaQuery.CreatePicasaUri("admin@localhost", ac.AlbumTitle)); PicasaFeed feedPhotos = service.Query(photos); } ``` When debugger step i...
Picasa API returns "The remote server returned an error: (404) Not Found."
CC BY-SA 4.0
null
2009-06-30T23:48:03.490
2019-03-26T09:02:59.837
2020-06-20T09:12:55.060
-1
127,891
[ "c#", "gdata-api", "picasa" ]
1,066,809
1
1,069,412
null
174
168,804
I'm using subclipse for connecting to my SVN. There are some folders and files I would like to add to svn:ignore, but it's grayed out. Is there an easy way to get subclipse to ignore files and directories? ![subclipse](https://i.stack.imgur.com/i2xoH.png)
Subclipse svn:ignore
CC BY-SA 4.0
0
2009-07-01T00:42:01.493
2022-12-29T03:19:53.990
2022-12-29T03:19:53.990
11,107,541
74,894
[ "eclipse", "svn", "subclipse" ]
1,069,718
1
null
null
1
769
Everytime something gets wrong .. i got to see this. ![alt text](https://i.stack.imgur.com/I2Xb2.png) How can i make a simple Errorpage with stacktrace in jsf ?
How can i make errorpages in jsf?
CC BY-SA 3.0
0
2009-07-01T15:14:38.353
2015-06-19T22:37:34.603
2015-06-19T22:37:34.603
1,159,643
126,040
[ "jsf", "netbeans", "error-handling" ]
1,070,710
1
1,071,009
null
7
1,379
I'm having a tricky issue (bear with me as I'm new to MVC) with trying to use a controller (and a route subsequently) with the name PropertiesController. I believe this is because there is a directory (which I can't really remove) called "Properties" in my solution. Is there a way round this? The route setup is just ...
ASP.NET MVC Routing with a controller named "PropertiesController"
CC BY-SA 3.0
0
2009-07-01T18:45:39.407
2015-06-19T22:47:29.027
2015-06-19T22:47:29.027
1,159,643
5,777
[ "asp.net", "asp.net-mvc", "iis-7", "routes" ]
1,070,872
1
1,077,132
null
3
1,343
I'm an experienced git user now working with people who use Mercurial. I really miss 'git gui' for helping me with my commits. I see that two tools, [qct](http://qct.sourceforge.net/) and [hgct](http://repo.or.cz/w/hgct.git), both support Mercurial. The things I like best about git gui is that it shows all uncommitt...
Which is the better commit tool, qct or hgct/gct?
CC BY-SA 2.5
0
2009-07-01T19:23:45.103
2018-02-28T11:44:57.293
2017-02-08T14:13:14.370
-1
41,661
[ "git", "mercurial", "git-gui" ]
1,071,398
1
1,113,593
null
0
991
I have written an apex class that will create a PDF quote and attach it to an opportunity. I'm trying to figure out how I can access those attachments when I go to send an email from within SalesForce and then click on Attach File. ![alt text](https://na6.salesforce.com/servlet/servlet.ImageServer?id=01580000000jYJS&...
Add a new file location to the SalesForce File Selector Drop-down
CC BY-SA 2.5
null
2009-07-01T21:05:59.217
2011-05-10T16:54:44.250
2011-05-10T16:54:44.250
21,234
2,863
[ "salesforce", "apex-code" ]
1,071,728
1
1,071,750
null
13
18,131
I am having trouble getting a background-image to overlay the border of another div. We have a sidebar panel with various sidebars, including a navigation menu. To the right is the content panel. We'd like anything selected on the sidebar to appear connected to the content panel: ![alt text](https://imgur.com/8ACzR...
Create CSS background image that overlays border?
CC BY-SA 2.5
0
2009-07-01T22:52:44.587
2009-07-02T00:40:44.230
null
null
257,954
[ "html", "css" ]
1,071,959
1
1,072,039
null
1
313
Take a look at the image below. I defined the red boxes inside the blue box however they drift left into the black box. Interestingly enoguh, in older browsers or with compatibility mode checked, they look the way I want them to. It also looks the way I wish it to look in VS2008. Does any one have any ideas? Here is t...
CSS Issue with aligning panels within panels
CC BY-SA 2.5
null
2009-07-02T00:24:45.213
2009-07-02T02:19:23.343
2009-07-02T02:19:23.343
120,226
127,257
[ "html", "css", "alignment" ]
1,072,401
1
1,072,464
null
31
16,786
I've inserted a UITableViewController and it's corresponding UITableView into a simple IB document. The goal is to include the UITableView inside of a parent UIWindow (or UIView) with other "stuff" (anything really) adorning the table. Here's what that might look like in Interface Builder. ![enter image description he...
Can you add a UITableViewController's TableView to another View?
CC BY-SA 3.0
0
2009-07-02T03:58:33.900
2013-04-17T18:05:54.737
2013-04-17T18:05:54.737
664,177
111,321
[ "iphone", "objective-c", "interface-builder", "uitableview" ]
1,072,574
1
null
null
0
218
I have to write kind of a complicated query to get some statistics for the rules in our system for each Agency we have in our database. It looks something like this: ![alt text](https://imgur.com/wwGyP.png) There will be an arbitrary number of columns (rules) and rows (agencies) for this data. For example, here ther...
What datastructure would you use to represent this format of data?
CC BY-SA 2.5
null
2009-07-02T04:54:47.933
2009-07-02T05:03:55.207
null
null
64,878
[ "asp.net-mvc", "linq", "data-structures", "model" ]
1,073,336
1
1,084,899
null
223
178,361
I have a line from A to B and a circle positioned at C with the radius R. ![Image](https://i.stack.imgur.com/QpgMZ.png) What is a good algorithm to use to check whether the line intersects the circle? And at what coordinate along the circles edge it occurred?
Circle line-segment collision detection algorithm?
CC BY-SA 3.0
0
2009-07-02T09:15:10.203
2022-03-22T16:02:35.563
2014-12-06T23:51:48.977
202,229
56,763
[ "algorithm", "math", "line", "collision-detection", "geometry" ]
1,073,606
1
1,073,628
null
76
76,043
In a similar way that generates a sawtooth wave. It doesn't have to be continuous. here is what i mean: ``` int m = 10; int x = 0; int i = 0; while (i < m*3) { printf("%d ", x); x++; x = x % m; i++; } ``` generates a sequence 0..9, three times which looks like this: ![sawtooth wave graph](https://...
Is there a one-line function that generates a triangle wave?
CC BY-SA 3.0
0
2009-07-02T10:23:07.227
2015-07-27T10:46:53.623
2015-07-27T10:46:53.623
411,022
23,973
[ "c" ]
1,073,706
1
1,073,731
null
1
1,899
I'm loading a 8bppIndexed greyscale image into memory and reading the pixel values. The problem is that the values I am getting from the pixels do not seem to match the actual image, they are always darker. My image is a simple grey gradient like this: ![alt text](https://farm3.static.flickr.com/2591/3681486860_85d9...
Greyscale darkening problem with Bitmap image in C#
CC BY-SA 2.5
null
2009-07-02T10:52:25.373
2009-07-06T02:22:24.423
2017-02-08T14:13:14.713
-1
3,614
[ "c#", "image", "pointers", "image-processing" ]
1,077,171
1
1,077,277
null
1
2,564
I am creating a business application that has a variable width sidebar and content area, along with a footer. For the life of me, I can't figure out how to make the footer ALWAYS display correctly using CSS, regardless of sidebar height. Here's an illustration of the issue: ![alt text](https://imgur.com/NBQBR.jpg) ...
Equal height columns w/ footer using CSS?
CC BY-SA 2.5
null
2009-07-02T23:21:07.660
2009-08-07T08:21:46.547
null
null
257,954
[ "html", "css" ]
1,078,146
1
1,078,209
null
323
167,800
I have run into a bit of a problem here: I had a problem-specific branch `28s` in Git, that I merged in the general `develop` branch. Turns out I had done it too fast, so I used git-revert to undo the merge. Now, however, the time has come to merge `28s` into `develop`, but git-merge command sees the original merge, an...
Re-doing a reverted merge in Git
CC BY-SA 3.0
0
2009-07-03T07:15:28.257
2021-04-22T04:38:19.587
2016-10-11T16:11:37.723
2,747,593
123,144
[ "git", "git-merge", "git-revert" ]
1,080,638
1
1,081,021
null
4
3,449
I need to initialize some three dimensional points, and I want them to be equally spaced throughout a cube. Are there any creative ways to do this? I am using an iterative Expectation Maximization algorithm and I want my initial vectors to "span" the space evenly. For example, suppose I have eight points that I want ...
Equidistant points across a cube
CC BY-SA 3.0
0
2009-07-03T19:53:33.127
2017-09-26T13:00:56.570
2017-09-26T13:00:56.570
3,923,281
111,327
[ "algorithm", "matlab", "math", "3d", "expectation-maximization" ]
1,081,132
1
1,081,210
null
3
810
I'm modeling a force-based physics simulation where several particles are interacting with each other. The particles can move in such a way that a static viewport can easily lose track of them (imagine the whole group of particles moving off the screen to the right and the viewport displaying a blank background). My ...
Moving Objects in Center-of-Mass Viewport
CC BY-SA 2.5
null
2009-07-03T23:31:41.707
2009-07-04T00:37:35.520
2017-02-08T14:13:16.060
-1
61,332
[ "language-agnostic", "graphics", "viewport" ]
1,081,302
1
1,081,310
null
23
68,714
: A person has zero, one or many pets. Using Linq to Sql, the need is to get an `IQueryable` list of pets for the given personID. Here's the poorly mangled/butchered/obfuscated portion of the ERD: ![alt text](https://i.stack.imgur.com/sbEHt.jpg) ``` public IQueryable<Pet> GetPersonPets(int personID) { ...
Cannot implicitly convert type IEnumerable<T> to IQueryable<T>
CC BY-SA 3.0
0
2009-07-04T01:41:34.267
2015-06-20T02:17:07.977
2015-06-20T02:17:07.977
1,159,643
23,199
[ "linq", "linq-to-sql", "collections", "iqueryable" ]
1,082,683
1
1,082,853
null
5
511
I have a weird problem where after setting `nocheck` on a foreign constraint and re-enabling it, I am getting a same out-dated execution plan that was used with `nocheck` on. Why would SQL server generate an execution plan as if foreign constraint `FKBtoA` is disabled even after adding the check again with following...
Execution plan oddity after re-enabling foreign key constraint
CC BY-SA 2.5
0
2009-07-04T17:56:04.350
2011-06-08T16:54:12.453
2017-02-08T14:13:17.087
-1
4,035
[ "sql", "sql-server", "tsql", "sql-execution-plan" ]
1,082,901
1
1,082,935
null
1
3,478
I'm attempting to solve the Project Euler [Problem 8](https://projecteuler.net/problem=8) with C++, and the problem is to find the greatest product of 5 consecutive numbers in a 1000 digit number. So I'm trying to figure out how to use file io to read the numbers into a char array that I will later convert to integers....
Reading input from file prints strange symbols
CC BY-SA 3.0
null
2009-07-04T20:15:29.497
2015-01-22T17:56:59.387
2015-01-22T17:56:59.387
null
90,537
[ "c++", "file-io" ]
1,083,769
1
1,083,789
null
0
3,790
Can anyone list the requirements (i.e. any books, tutorials, libraries etc) to build an application in Java, which could communicate with my MySQL Database which is running on web. I am running an online webstore built in PHP and MySQL. I would like to build a Java Application through which I can (CRUD) Products, Cate...
What is required for building Java Windows Application to access Online MySQL Database
CC BY-SA 4.0
0
2009-07-05T09:51:46.927
2019-11-25T04:22:02.607
2019-11-25T04:22:02.607
1,033,581
103,132
[ "java", "mysql", "user-interface", "jdbc" ]
1,083,939
1
null
null
0
1,350
My idea is that a PNG overlaying some text, with transparency ranging from 0% to 100%, all colored in the same color as the CSS background, would fade out the text underlying it. Turns out the transparent PNG is visible also in the areas where it's supposed to be transparent. Also, the colors of the PNG and the CSS ar...
Aligning a transparent PNG over same-colored CSS background
CC BY-SA 2.5
0
2009-07-05T12:02:49.330
2009-07-05T15:59:46.677
2017-02-08T14:13:17.757
-1
9,872
[ "css", "png", "transparency", "colors" ]
1,084,873
1
1,084,968
null
16
12,565
I'm looking to write a Truth Table Generator as a personal project. There are several web-based online ones [here](http://www.brian-borowski.com/Software/Truth/) and [here](http://www-cs-students.stanford.edu/~silver/truth/). ![alt text](https://imgur.com/t1S9u.png) `(Example screenshot of an existing Truth Table Gen...
How can I build a Truth Table Generator?
CC BY-SA 2.5
0
2009-07-05T21:40:44.167
2015-04-25T14:43:23.430
2009-07-06T06:44:10.487
47,738
64,878
[ "c#", "parsing", "boolean-logic", "parser-generator", "truthtable" ]
1,089,688
1
1,095,731
null
1
1,392
I have a `ListView` that I am populating with items from an `ObservableCollection`. All was working well until I decided to add a second list view to filter some of the items. What I have setup right now is that the main listview has `ItemGroup` objects as the rendered items, with the item being shown being the first...
WPF ListView not rendering templates
CC BY-SA 3.0
0
2009-07-06T23:38:13.310
2015-06-20T02:39:34.373
2015-06-20T02:39:34.373
1,159,643
32,140
[ "c#", "wpf", "listview", "datatemplate" ]
1,089,719
1
null
null
3
11,490
I'm trying to create a curve that passes through three given points in Java (I'm drawing the curves through a class that extends JPanel). How can I make it? ![enter image description here](https://i.stack.imgur.com/loG65.png)
How to draw a curve that passes through three points?
CC BY-SA 3.0
null
2009-07-06T23:47:36.910
2013-11-11T11:14:06.590
2013-03-04T21:44:11.690
1,730,272
null
[ "java", "java-2d" ]
1,090,690
1
1,092,937
null
1
2,147
I'm implementing some boundary based clustering on the server end of markers to display on my google maps. What I'm doing is that I have a function that is called everytime the map is moves or panned or zoomed which takes the bound of the map and makes an ajax call which in turn the server side script runs a simple sql...
Google Maps - Panning and Zooming into areas - markers not appearing when I zoom in or pan
CC BY-SA 4.0
null
2009-07-07T06:32:05.387
2019-03-27T09:01:40.230
2019-03-27T09:01:40.230
4,751,173
89,752
[ "php", "javascript", "google-maps", "coordinates" ]
1,092,684
1
1,100,679
null
4
360
An object is positioned at and wants to move to . I want to calculate a movement vector there that doesn't move within the of the to-be-avoided points in . So if the move vector (B-A) normalized and multiplied with the objects speed would bring it within D of any point in C the vector is rotated so that it doesn't. ...
Motion planning without a graph across an infinite plane
CC BY-SA 2.5
null
2009-07-07T14:31:18.690
2009-07-08T21:38:23.083
2017-02-08T14:13:19.580
-1
56,763
[ "algorithm", "language-agnostic", "math", "2d", "motion-planning" ]
1,093,328
1
1,099,251
null
1
5,136
I want to align a Custom Button Field (the Star on the Screenshot) to the center in a Horizontal Manager ![alt text](https://files.getdropbox.com/u/357576/saves/bb_screen_01.jpg) Definition of the HFM ``` final HorizontalFieldManager _navigation = new HorizontalFieldManager(HorizontalFieldManager.NO_VERTICAL_SCROLL ...
Blackberry - Field - Horizontal alignment
CC BY-SA 2.5
null
2009-07-07T16:19:31.167
2011-12-04T16:50:37.237
2017-02-08T14:13:19.917
-1
107,004
[ "java", "blackberry", "user-interface" ]
1,095,073
1
1,182,982
null
0
551
After countless tries I got my animation animating right (Why oh why is the layer's coordinate system Y flipped from the view's coordinate system, I will never guess) but it seems that it degrades the image quality for some reason: ![](https://imgur.com/PZOR0.png) (green circled are examples of the original good qual...
Image getting pixelated when used as part of an animation in iPhone animation
CC BY-SA 2.5
null
2009-07-07T21:49:31.623
2009-08-16T14:00:07.727
2009-07-07T21:56:37.787
23,942
23,942
[ "objective-c", "iphone", "core-animation", "core-graphics" ]
1,095,980
1
1,096,008
null
16
6,076
I can't seem to find any help on this but under the Net tab in Firebug, one of my sites is showing red highlighted items. Unfortunately the site is protected right now so I can't post the link. ![Firebug](https://imgur.com/hueWT.gif) Can anyone explain what this means?
What does RED text mean in the Firebug net tab?
CC BY-SA 3.0
0
2009-07-08T03:17:45.987
2012-01-19T15:04:32.443
2012-01-19T15:04:32.443
110,204
null
[ "firebug" ]
1,096,526
1
1,096,537
null
1
514
We are giving a demo in a couple days and I have to go in and mock-up a lot of our views. This includes making a lot of fake data, etc. I figured I would drop in a loop and an extension method that returns random numbers so I don't have to make up this hard-coded data myself. Here is my view code: ``` <% for(int i ...
Why is my random number html extension method returning the same values?
CC BY-SA 3.0
null
2009-07-08T07:06:22.240
2011-08-28T17:12:04.497
2011-08-28T17:12:04.497
64,878
64,878
[ "asp.net-mvc" ]
1,097,006
1
1,097,122
null
120
216,014
I have a page with a row of about 10 `img`s. For readability of the HTML, I want to put a linebreak in between each `img` tag, but doing so renders whitespace between the images, which I do not want. Is there anything I can do other than break in the middle of the tags rather than between them? Edit: Here is a screens...
Removing whitespace between HTML elements when using line breaks
CC BY-SA 3.0
0
2009-07-08T09:13:06.900
2020-03-09T09:16:59.897
2014-09-27T06:04:57.780
1,402,846
49,376
[ "html", "css", "image" ]
1,097,923
1
null
null
3
1,449
I have a Java web application running in JBOSS with Tomcat with two web applications (contexts) running on it. A button press on one of the applications opens runs a javascript command to open a new window with a page from the other. The problem I seem to be having is that this raises a security alert in IE. with the...
Issue with IE security on page opened from javascript
CC BY-SA 3.0
null
2009-07-08T13:01:10.660
2015-06-20T02:01:02.723
2015-06-20T02:01:02.723
1,159,643
20,400
[ "java", "javascript", "security", "internet-explorer" ]
1,098,350
1
1,106,586
null
0
533
When I try to generate a CRUD test for a new project I am getting a PHP Warning and a Fatal Error. The errors relate to files that it cannot find, however, I have checked and the files are definitely there. The error text is 'require_once(lib/model/map/QuestionMapBuilder.php): failed to open stream: No such file or d...
Error with propel-generate-crud in Symfony 1.0
CC BY-SA 2.5
null
2009-07-08T14:12:06.233
2009-07-09T21:34:46.710
2009-07-09T15:15:40.437
42,106
42,106
[ "php", "command-line", "symfony1", "crud" ]
1,099,787
1
1,109,261
null
337
347,160
Having trouble with what I thought was a relatively simple jQuery plugin... The plugin should fetch data from a php script via ajax to add options to a `<select>`. The ajax request is pretty generic: ``` $.ajax({ url: o.url, type: 'post', contentType: "application/x-www-form-urlencoded", data: '{"method":"ge...
jQuery $.ajax(), $.post sending "OPTIONS" as REQUEST_METHOD in Firefox
CC BY-SA 3.0
0
2009-07-08T18:26:00.663
2017-03-30T14:07:42.107
2013-01-22T15:00:28.333
1,249,581
135,121
[ "ajax", "firefox", "jquery-plugins", "jquery" ]
1,101,986
1
1,102,009
null
0
281
I'm generating an image out of text using php. My code works perfectly on my localhost and the text is generated fine. However on my online host it doesn't generate the whole text just bits and pieces of it. Like if I were to pass the text 'This is some text' to it - it would generate just maybe an S or t. The code is...
Generating Image from text in php - not generating on my online host?
CC BY-SA 4.0
null
2009-07-09T05:34:41.943
2019-03-27T21:37:26.770
2019-03-27T21:37:26.770
4,751,173
89,752
[ "php", "image-processing" ]
1,102,716
1
1,102,780
null
35
4,569
Very occasionally, despite all testing efforts, I get hit with a bug report from a customer that I simply can't reproduce in the office. !["Works on my machine" syndrome]](https://i.stack.imgur.com/kaxff.png) [Apologies to Jeff](http://www.codinghorror.com/blog/archives/000818.html) I have a few "tools" that I can u...
"Works on my machine" - How to fix non-reproducible bugs?
CC BY-SA 3.0
0
2009-07-09T09:11:07.800
2013-07-29T06:28:19.430
2013-07-29T06:28:19.430
1,488,917
1,737
[ "debugging", "testing" ]
1,104,016
1
1,104,832
null
2
2,047
There seems to be a fault with my access to directories on Team Foundation Server. See the image below. I'm the only one with this problem. All of the other clients can connect to the server fine, so it must be my local copy of Team Foundation Server thats gone haywire. Any ideas? ![enter image description here](ht...
Team Foundation Server (TFS) - can't browse folders properly using Visual Studio
CC BY-SA 3.0
null
2009-07-09T13:49:48.310
2016-10-30T08:25:20.623
2016-02-18T15:31:14.467
781,754
107,409
[ "tfs" ]
1,104,289
1
1,104,331
null
0
1,202
I got an app running on my SQL Server that is starting to slow down on a specific task. I ran SQL Profiler and noticed that the following query is taking an enormous (1-2 minutes) amount of time. Is there anything I can tune/change in the database? The PC10000 table in the statement below has approx. 119000 record...
Tune Slow SQL Query
CC BY-SA 2.5
0
2009-07-09T14:36:35.180
2009-07-09T15:06:41.873
2017-02-08T14:13:22.623
-1
18,991
[ "sql-server", "sql-server-2000" ]
1,104,285
1
1,104,594
null
10
14,292
I have a number of relatively simple (auto-generated) graphs in graphviz dot format. These show the path through a state machine, but dot has a slightly confusing habit of deciding that two nodes must be on the same rank when I would like the graph to be in state order. I've tried a lot of settings (including the `:n...
How do you force rank on a node in dot?
CC BY-SA 3.0
0
2009-07-09T14:36:00.547
2021-11-04T16:42:07.503
2016-02-09T01:21:31.683
62,163
72,791
[ "graph", "graphviz", "dot", "state-machine", "graph-layout" ]
1,105,625
1
1,149,288
null
4
3,321
In company that I work for, I was given the opportunity to write an application, which would replace the old Excel workbook, which is used to plan the production queue. Because VBA was simple and Excel was easy to use, for few years this workbook was used by several people to plan/add changes/notes about current produc...
Visual C++ application as a frontend to MS Access database - multiuser data access and canvas-like GUI questions
CC BY-SA 2.5
null
2009-07-09T18:13:39.487
2009-07-19T05:21:10.380
2009-07-13T14:48:55.120
5,640
126,781
[ ".net", "database", "forms", "visual-c++", "canvas" ]
1,106,694
1
null
null
0
730
I was wondering if it's possible to reuse objects in web references in an ASP.NET Server control? (basically keeping the same web reference name) I have a few web services (.asmx) that I want to group with the same web reference name, however when I consume them using the same name they append a 1 at the end and with ...
ASP.NET Server Control - Reuse Type/Objects in Web References
CC BY-SA 3.0
null
2009-07-09T22:08:58.667
2011-12-04T08:16:30.180
2011-12-04T08:16:30.180
84,042
null
[ "visual-studio-2008", "custom-server-controls" ]
1,106,741
1
1,113,597
null
12
11,844
I am having trouble displaying a raw YUV file that it is in NV12 format. I can display a selected frame, however, it is still mainly in black and white with certain shades of pink and green. Here is how my output looks like ![alt text](https://i.stack.imgur.com/cU579.png) Anyways, here is how my program works. (This is...
Display YUV in OpenGL
CC BY-SA 4.0
0
2009-07-09T22:20:12.560
2020-07-11T10:21:43.393
2020-07-11T10:21:43.393
507,043
125,450
[ "objective-c", "opengl", "rgb", "yuv" ]