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
784,123
1
785,116
null
1
424
[WP-o-Matic](http://wordpress.org/extend/plugins/wp-o-matic/) is a wordpress plugin to auto post based on some configured feeds, it read feeds everything time interval i setup, its working on my blog, my blog is on shared windows web hosting, i want to know how it auto work like that, and because i am on a shared hosti...
How WP-o-Matic works and how to do the same using ASP.Net? Cron job equivalent in .NET?
CC BY-SA 2.5
null
2009-04-24T00:34:57.327
2009-04-24T09:16:21.207
2017-02-08T14:11:38.747
-1
20,126
[ "asp.net", "wordpress" ]
784,920
1
784,930
null
0
375
Accidentally I pressed some keys while writing C# code in VS2008 and space characters replaced by . and enter key replaced by some square boxes, now how do I reset the editor ![alt text](https://lh4.ggpht.com/_M5W2QFQgto4/SfFzUDSaH5I/AAAAAAAADUg/cieNm6UXXHQ/dots.jpg)
How to avoid dots in VS2008
CC BY-SA 2.5
null
2009-04-24T08:11:22.533
2009-04-25T10:33:36.567
2017-02-08T14:11:39.080
-1
85,606
[ "c#", "visual-studio-2008" ]
786,783
1
null
null
2
1,539
I've got a database table with one huge column: . ![One Entity](https://i.stack.imgur.com/uDktk.gif) I'd rather lazy load that one column so I'm not querying all that when I get a list of all my images. I know I can put the data into its own column and entity like this: ![Two Entities](https://i.stack.imgur.com/1a...
Can I lazy load scalar properties with the ADO.Net Entity Framework?
CC BY-SA 3.0
0
2009-04-24T17:08:21.493
2015-06-19T21:01:15.070
2015-06-19T20:44:03.020
1,159,643
83
[ ".net", "entity-framework", "lazy-loading" ]
786,885
1
786,894
null
0
489
: Visual Studio 2008 SP1 with Resharper 4.1, .NET 3.5 I have a class with a static method, `GetProperty<T>` that returns a property value lazily. ``` private static T GetProperty<T>(T backingField, Func<T> factory) where T : class { if (backingField == null) backingField = factory(); return back...
Is my approach to lazy loading flawed?
CC BY-SA 2.5
0
2009-04-24T17:41:05.130
2009-04-24T18:56:15.243
2017-02-08T14:11:40.100
-1
4,035
[ "c#", "resharper", "lazy-loading", "warnings" ]
787,156
1
null
null
0
7,901
I have 2 tables, ticket and ticket_custom. Here are how the tables are set up.![alt text](https://lh3.ggpht.com/_BExRqkFgz70/SfIKYSErMxI/AAAAAAAAAHk/pALtXucgIS8/howTablesAreDefined.jpg) I have a web interface where I can change the state (value in the table ticket_custom) The web interface adds a new entry instead of ...
SQL - Nested select statement?
CC BY-SA 2.5
null
2009-04-24T19:08:26.590
2009-04-25T03:37:50.187
2017-02-08T14:11:40.440
-1
7,617
[ "sql", "nested" ]
789,816
1
null
null
14
78,915
I'm doing a job for a guy with a site online. It's an alien site to me, and I'm slowly working through the strange code. I have MAMP locally and my [http://localhost/](http://localhost/) has many client folders coming off from that. Inside this code there is a lot of $_SERVER['document_root'] commands and references li...
How to set the DOCUMENT_ROOT and site root in my local PHP dev setup?
CC BY-SA 2.5
0
2009-04-25T22:12:15.280
2016-06-29T19:11:54.980
null
null
null
[ "php", "settings", "document", "localhost", "root" ]
790,951
1
790,972
null
5
361
I'm used to git, where you can run gitk and get something like the following: ![gitk showing the difference between the local and remote branches](https://1.bp.blogspot.com/_nzN39P0Ykuk/SfRuvDcGsOI/AAAAAAAABEs/nbPb0Jtd-7I/s200/gitk-diff-branch.png) Here you can see that there are a couple of changes that need pushing...
Using Mercurial, how can I see what changes have yet to be pushed?
CC BY-SA 2.5
0
2009-04-26T14:35:11.050
2009-04-26T14:42:45.883
2017-02-08T14:11:42.143
-1
4,596
[ "mercurial" ]
791,036
1
null
null
3
251
I'm not sure if this question is appropriate for Stack Overflow but I'll give it a try anyway. I have some data as follows: ![alt text](https://i.stack.imgur.com/c2Jaz.png) I also have another set of data that I believe follows a similar distribution but I only know the total percent (e.g. 30% rather than 17%.) Can a...
Statistical estimation algorithm
CC BY-SA 3.0
null
2009-04-26T15:20:09.477
2015-06-19T20:59:45.537
2015-06-19T20:59:45.537
1,159,643
80,825
[ "algorithm", "math" ]
791,709
1
791,740
null
0
160
I am interested in the floating effect of SO when pressing the newest link: ![alt text](https://i.stack.imgur.com/3eJgh.png)
Unable to make a SO floating effect for browsing messages in jQuery
CC BY-SA 3.0
null
2009-04-26T22:15:26.623
2012-01-31T10:24:49.333
2012-01-31T10:24:49.333
368,070
54,964
[ "javascript", "jquery" ]
792,891
1
792,906
null
6
1,628
I'm not sure exactly what went wrong here, but ReSharper 4.5 RTM seems to have stolen my Visual Studio colour theme. I normally use [Fredrik Kalseth's wicked theme](http://www.frickinsweet.com/tools/Theme.mvc.aspx), and I've been using ReSharper since version 2.0. Never before has this happened - not even while using t...
Resharper 4.5 has broken my colour scheme
CC BY-SA 3.0
null
2009-04-27T09:55:41.477
2015-06-19T21:12:44.733
2015-06-19T21:12:44.733
1,159,643
1,107
[ "visual-studio-2008", "resharper", "themes", "colors" ]
794,128
1
794,154
null
3
4,204
I am trying to create a general method for disposing an object that implements [IDisposable](http://msdn.microsoft.com/en-us/library/system.idisposable(loband).aspx), called `DisposeObject()` To make sure I am disposing an object pointed by original reference, I am trying to pass an object by reference. But I am gett...
Passing an IDisposable object by reference causes an error?
CC BY-SA 2.5
0
2009-04-27T15:47:24.300
2022-03-11T11:44:33.450
2017-02-08T14:11:42.817
-1
4,035
[ "c#", "dispose", "idisposable", "pass-by-reference" ]
794,263
1
null
null
3
225
I am hoping that someone (or some people) could help us with a problem that we have wrangled with for a few days. How to organize our business objects given the attached diagram? We are looking for any assistance (ideas about where to or how to search for the design pattern(s)/object model(s) we could use in order ...
Company & Contacts Object Design Help
CC BY-SA 2.5
0
2009-04-27T16:28:38.337
2009-04-27T16:38:09.670
2017-02-08T14:11:43.160
-1
35,555
[ "design-patterns", "ooad" ]
796,824
1
7,143,467
null
107
30,668
I love the syntax of [railroad diagrams](https://en.wikipedia.org/wiki/Syntax_diagram) on [json.org](https://www.json.org/) which are a graphical representation of the BNF language. I haven't found any tools that can produce results as eloquently. ## Can anyone identify the tool used to generate these diagrams? ![](...
Tool for generating railroad diagram used on json.org
CC BY-SA 4.0
0
2009-04-28T08:31:36.210
2021-05-16T09:13:44.163
2021-05-16T09:13:44.163
153,049
50,475
[ "bnf", "diagramming" ]
801,740
1
801,794
null
79
109,524
What algorithms can be used to draw a binary tree in the console? The tree is implemented in C. For example, a BST with numbers: 2 3 4 5 8 would be shown in the console as: ![alt text](https://i.stack.imgur.com/8a1M8.jpg)
C How to "draw" a Binary Tree to the console
CC BY-SA 3.0
0
2009-04-29T10:19:32.357
2016-10-04T14:07:16.240
2015-07-09T11:42:09.967
3,198,508
1,205,130
[ "c", "algorithm", "layout", "binary-tree" ]
804,740
1
805,187
null
1
1,014
I'm rather new to working with multiple threads in a database (most of my career has been spent on the frontend). Today I tried testing out a simple php app I wrote to store values in a mysql db using ISAM tables emulating transactions using Table Locking. I just wrote a blog post on the procedure Here: [Testing ...
Testing for concurrency and/or transactional integrity in a web application with JMeter
CC BY-SA 2.5
null
2009-04-29T23:18:55.413
2009-04-30T04:33:54.330
2017-02-08T14:11:46.257
-1
18,149
[ "mysql", "concurrency", "transactions", "myisam", "data-integrity" ]
807,428
1
808,251
null
21
11,683
How might I create a brush that paints a regular, repeated grid of 1-unit thick lines spaced evenly in both the horizontal and vertical axes? Imagine graph paper, if you will. Ideally the solution would allow control over the brushes used for the lines and the background (the regions within the squares). In this way...
WPF - How can I make a brush that paints graph-paper-like squares?
CC BY-SA 3.0
0
2009-04-30T15:12:28.587
2013-01-11T21:52:10.213
2013-01-11T21:52:10.213
24,874
24,874
[ ".net", "wpf", "grid", "brush" ]
809,706
1
809,760
null
3
2,233
I'm trying to create a sitemap in an ASP.NET MVC project. This code in my Node controller... ``` Function Sitemap() As ContentResult Dim db As New EfrDotOrgEntities Dim Nodes = db.Node.ToList Dim RequestUrl As Uri = Url.RequestContext.HttpContext.Request.Url Dim AbsoluteRoot As String = String.Format(...
How do I insert a bit of XML into an XDocument using Visual Basic?
CC BY-SA 3.0
null
2009-05-01T00:22:46.097
2015-06-19T21:31:57.503
2015-06-19T21:31:57.503
385,996
83
[ ".net", "asp.net-mvc", "xml", "vb.net", "sitemap" ]
812,532
1
812,548
null
1
1,150
I'm building a UITableView programmatically without NIB files here. I'm doing something silly however, as my navigationBar shows up fine, as does my UITableView. However, the UITableView is not properly fitting onto the screen. You'll see roughly 20 pixels separating the UINavigationBar and the UITableView. I set my wi...
Why is my UITableView not occupying the bounds of the screen?
CC BY-SA 3.0
null
2009-05-01T18:16:58.133
2011-08-03T10:26:59.087
2011-08-03T10:26:59.087
128,662
40,882
[ "iphone", "objective-c", "cocoa-touch" ]
814,088
1
null
null
0
384
I'm trying to figure out a simple drawing program in Flash and it's giving me trouble. The main drawing area is a MovieClip named drawZone. However, when displaying something, the author uses another MovieClip embedded in the drawZone Symbol named zone. The drawZone Symbol has 2 layers, a mask layer and a masked sublay...
MovieClip inside another MovieClip for a drawing applet. Why and how?
CC BY-SA 3.0
null
2009-05-02T03:46:37.390
2013-04-19T11:18:53.100
2013-04-19T11:18:53.100
664,177
89,812
[ "flash", "actionscript" ]
815,973
1
816,002
null
13
1,093
How do you create the special links which show under sites in search results? Say I search for at , I get a result close to this: ![alt text](https://i.stack.imgur.com/RE3nB.jpg) The links I am asking about are outlined in red in the image above. What do you put in your page to have them show in search results, or ...
How to create special links in search results?
CC BY-SA 3.0
0
2009-05-03T00:16:48.527
2017-11-28T15:24:38.540
2017-11-28T15:24:38.540
5,836
5,836
[ "html", "seo" ]
816,256
1
816,421
null
2
10,295
In ZedGraph, how do I show text labels for each point and in the `XAxis` all together? If I do ``` myPane.XAxis.Type = AxisType.Text; myPane.XAxis.Scale.TextLabels = array_of_string; ``` I get labels on the XAxis like this ![Enter image description here](https://i.stack.imgur.com/RdFvG.png) And if I do ``` for ...
ZedGraph labels
CC BY-SA 3.0
0
2009-05-03T03:28:35.740
2019-03-14T14:00:44.083
2012-09-02T18:13:29.847
63,550
32,173
[ "asp.net", "controls", "charts", "zedgraph" ]
819,990
1
858,274
null
2
2,598
I have a WPF application (.NET 3.0, VS2008) that displays data in a tab control. Custom colors are required on virtually all controls in this application : basically white foreground and green background. My problem is that when an XP theme (say Luna) is active, it is automatically applied to render controls so that m...
How to disable XP themes in WPF application?
CC BY-SA 2.5
0
2009-05-04T13:00:45.017
2009-05-13T15:03:58.080
2017-02-08T14:11:51.127
-1
8,696
[ "wpf", "windows-xp", "themes", "tabcontrol" ]
820,473
1
820,580
null
3
493
Im trying to think how to do this with html elements. ![alt text](https://i.stack.imgur.com/pip4W.png) There is nothing special about the colors, so I don't need to make them images. Do note that the text is right aligned. Also, the color bar goes up to the text from the left. So this could be implemented by having ...
Width absorbing HTML elements
CC BY-SA 3.0
null
2009-05-04T14:57:52.580
2015-06-19T20:48:37.877
2015-06-19T20:48:37.877
1,159,643
93,380
[ "javascript", "html", "css" ]
822,899
1
3,110,836
null
38
52,180
I've always wanted to create custom components in Java, or customize existing ones, but my searches never resulted in anything useful. So I decided to ask the StackOverflow community: And when I mean customizing, I'm not talking about changing colors, fonts etc. I mean customize them. Here are two mockup example co...
How to create a custom Swing Component
CC BY-SA 3.0
0
2009-05-05T01:19:23.400
2020-08-18T14:26:20.843
2015-07-27T14:47:19.223
411,022
2,644
[ "java", "swing", "jcomponent" ]
823,080
1
1,266,131
null
13
25,292
How to create that black/gray modal popup kind of view that many apps use, when some long pending operation is in progress? Like when using location based services, loading a webpage, the screen goes dim and there is a modal view showing a spinning icon "Please wait..." Example in the following screenshot: ![Screen...
Creating a "loading..." view using iPhone SDK
CC BY-SA 3.0
0
2009-05-05T02:41:07.447
2019-08-19T09:07:13.043
2017-02-08T14:11:51.463
-1
90,165
[ "iphone", "cocoa-touch" ]
829,601
1
829,871
null
2
261
I'm not that familiar with COM and was hoping that someone out there, who is, could help verify what I have below is correct. If I have two completely separate Requests (request 1 & request 2), then this creates two separate instances of my WebApplication. So far so boring. If each instance then contacts the SAME ...
ASP.NET, IIS and COM
CC BY-SA 3.0
null
2009-05-06T13:36:20.687
2015-06-19T20:44:13.273
2015-06-19T20:44:13.273
1,159,643
7,140
[ "asp.net", "iis", "com" ]
830,366
1
830,449
null
4
1,595
I have a probably very basic problem with PIL's crop function: The cropped image's colors are totally screwed. Here's the code: ``` >>> from PIL import Image >>> img = Image.open('football.jpg') >>> img <PIL.JpegImagePlugin.JpegImageFile instance at 0x00 >>> img.format 'JPEG' >>> img.mode 'RGB' >>> box = (120,190,400,...
Python's PIL crop problem: color of cropped image screwed
CC BY-SA 3.0
null
2009-05-06T16:07:18.340
2011-07-26T16:50:04.430
2011-07-26T15:39:13.540
128,662
102,181
[ "python", "image-processing", "colors", "python-imaging-library", "crop" ]
830,645
1
830,676
null
22
9,193
I'd like to be able to highlight the wrap margin/text width in vim by changing the background color (or maybe just a line?). A lot of IDEs have this. I mocked up what I'm talking about: ![](https://farm4.static.flickr.com/3598/3508086136_6c075936a5_o.jpg) Anyone know if this can be done in macvim or gvim?
Changing background color in vim at a certain column
CC BY-SA 2.5
0
2009-05-06T16:59:00.823
2013-04-17T14:28:41.483
2017-02-08T14:11:53.160
-1
3,029
[ "vim", "macvim" ]
830,943
1
831,068
null
2
892
So the last couple of days my dev webpage for ssrs has been looking really weird, as if it's not getting styled by css at all. I'm not the only person that is seeing it like this. We just rebooted the server and it didn't have any effect. If you know what it causing this, please help. another symptom is that i can'...
SSRS css messing up?
CC BY-SA 2.5
0
2009-05-06T18:16:28.360
2009-06-05T16:50:35.010
2017-02-08T14:11:53.833
-1
95,710
[ "sql-server", "css", "reporting-services", "reportingservices-2005" ]
830,921
1
830,948
null
1
3,429
I am developing a website using forms and one of the browsers being targeted is unfortunately IE 6 and 7. I am having an issue with CSS and IE's rendering of form elements that are styled. I have written a test case, and it is as such (also available online at [http://xistence.osnn.net/testcases/ie67fieldset/](http://...
CSS Styling Forms -- IE 6/7 bug
CC BY-SA 3.0
null
2009-05-06T18:10:31.277
2013-04-18T08:21:53.593
2013-04-18T08:21:53.593
664,177
13,986
[ "css", "xhtml", "internet-explorer-7", "rendering", "internet-explorer-6" ]
837,351
1
838,298
null
5
15,664
I'm getting this error when I run or debug my GA/AI from MyEclipse: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space eclipse.ini looks like this: ``` -showsplash com.genuitec.myeclipse.product --launcher.XXMaxPermSize 256m -vmargs -Xms128m -Xmx512m -Duser.language=en -XX:PermSize=128M -XX:Max...
How do I Save the Heap (Dump to a File) in Eclipse?
CC BY-SA 2.5
0
2009-05-07T22:17:19.550
2021-09-26T18:25:05.210
2021-09-26T18:25:05.210
5,459,839
43,199
[ "java", "memory-leaks", "heap-memory" ]
837,454
1
null
null
0
2,489
I'm writing a console program that can accept 1 to 3 files. I'm using `OpenFileDialog` three times to accept the files, but the second and third time the file dialog is behind the console window, making it hard to notice. Any way to get it to appear above? An image of the problem: ![enter image description here](http...
Making the second and third OpenFileDialog appear above the console in .NET/C#?
CC BY-SA 3.0
null
2009-05-07T22:46:31.057
2012-01-09T10:12:02.793
2011-12-18T19:44:35.717
214,668
103,168
[ "c#", ".net", "winforms", "console", "openfiledialog" ]
838,265
1
839,906
null
2
5,417
I want to make voronoi treemaps for statistics data, like ![alt text](https://codezine.jp/static/images/article/3516/09.png) [newsgraphy](http://newsgraphy.com/) Do you know how I can do that in Perl, PHP, Ruby, or Python?
How can I make voronoi treemaps?
CC BY-SA 2.5
0
2009-05-08T04:38:48.963
2014-08-16T13:07:13.537
2017-02-08T14:11:55.177
-1
76,509
[ "statistics", "voronoi", "treemaps" ]
839,085
1
839,187
null
4
17,316
I have a problem about div position relative alignment. I want the second div to be fixed in position even if I remove the first div. The problem is that the second div adjusts its position when the first div is removed. My question is how can I retain the position of the second div even if I remove the first div? Th...
CSS: Div position:relative alignment problem
CC BY-SA 2.5
0
2009-05-08T09:53:41.170
2014-06-26T21:09:37.763
2017-02-08T14:11:55.850
-1
95,322
[ "html", "css" ]
841,206
1
1,719,307
null
2
14,479
I'm want to create a CRM app for me just for fun and to learn more about Cocoa, because CRM application evolve based on a Calendar, I wonder where can I get that cool Calendar control that iCal has in the iPhone. I can't see it in my Library and I'm using SDK 3.0 beta 5. And by the way, where can I get a free/paid co...
Calendar control for cocoa touch
CC BY-SA 3.0
null
2009-05-08T18:36:05.493
2015-06-19T21:50:42.020
2015-06-19T21:50:42.020
1,159,643
28,004
[ "iphone", "cocoa-touch", "controls", "calendar" ]
843,016
1
843,027
null
2
2,526
I have a site that lists several upcoming events, and each event has a comment button to leave comments. It looks like this (it's in swedish, but I think you can figure out the structure): ![](https://i.stack.imgur.com/trals.png)[shipit.se](http://www.shipit.se/dump/event.png) The div containing the textarea for writ...
Put focus inside a textarea with variable name using javascript
CC BY-SA 4.0
null
2009-05-09T09:19:20.083
2019-03-16T02:00:08.360
2019-03-16T02:00:08.360
4,751,173
91,098
[ "php", "javascript", "html" ]
843,683
1
843,713
null
21
11,452
Using interface builder you can select the corners an object should stick to when resizing. How can you do this programatically? ![Interface Builder](https://i.stack.imgur.com/Jsp4f.png)
Cocoa NSView changing autosizing properties
CC BY-SA 3.0
0
2009-05-09T17:15:56.827
2015-06-19T21:42:17.260
2015-06-19T21:42:17.260
1,159,643
null
[ "objective-c", "cocoa", "macos" ]
843,779
1
844,669
null
0
419
I'm not 100% sure it wasn't always this way and I never noticed... but I'm pretty sure this is new and something got messed up somewhere. I am able to assign work items to a user named LOCAL SERVICE (see screenshot) in TFS 2008 (Workgroup Edition). This seems wrong, but I have no idea how to fix the issue. It's not ...
Why am I able to assign tasks to LOCAL SERVICE in TFS 2008?
CC BY-SA 3.0
null
2009-05-09T18:12:50.920
2015-06-19T21:11:55.097
2015-06-19T21:11:55.097
1,159,643
4,050
[ "tfs" ]
845,480
1
null
null
3
846
I'm an artist involved with building various sorts of computer controlled machines. I've started prototyping a gimble-based XY painting machine and have realized that the maths needed are out of my reach. I'm a decent enough programmer but not strong in math- esp. 3D math. To get a sense of what I'm needing to do, it ...
Math programming help for a gimble-based painting machine
CC BY-SA 3.0
0
2009-05-10T14:57:06.087
2013-07-19T14:09:58.873
2013-07-19T14:09:58.873
1,053,021
null
[ "math", "printing", "vectormath" ]
847,666
1
847,929
null
9
5,798
Are there any frameworks for building squarified treemaps in C# 2.0 WinForms? Something similar to this: ![](https://www.codeproject.com/KB/recipes/treemaps/smartmoney2.gif) (from [http://www.codeproject.com/KB/recipes/treemaps.aspx](http://www.codeproject.com/KB/recipes/treemaps.aspx))
Visual Treemap in Winforms
CC BY-SA 2.5
0
2009-05-11T11:18:33.680
2009-08-06T07:30:40.330
2017-02-08T14:11:57.927
-1
4,653
[ "c#", "winforms", "data-visualization", "treemap" ]
849,149
1
null
null
367
342,422
Is there a way in SQL Server Management Studio 2005 (or later) to change the Windows Authentication user (as you could in SQL Server 2000 and older)? This is the general connection properties dialog(note the greyed out UID/PWD when selecting Windows Auth): ![dialog](https://i.stack.imgur.com/ontH5.png) FYI - One wor...
Connect different Windows User in SQL Server Management Studio (2005 or later)
CC BY-SA 3.0
0
2009-05-11T17:31:21.540
2021-07-07T16:18:09.977
2016-04-22T00:10:58.523
6,083,675
104,925
[ "sql", "sql-server-2008" ]
849,323
1
864,894
null
1
3,243
I feel really stupid for asking this but I have been thrashing for over 8 hours. How do I get the Selected Item to show its text in my WPF combo box when selected? ![Diplay Options](https://i86.photobucket.com/albums/k83/Aaronls79/DisplayerOptions.jpg) Above is an option dialog that allows users to select and confi...
Text Will not show for selected Item in ComboBox
CC BY-SA 2.5
0
2009-05-11T18:10:51.117
2009-06-11T15:05:08.680
2017-02-08T14:11:58.957
-1
71,608
[ "wpf", "windows", "wpf-controls" ]
857,916
1
857,975
null
103
99,090
I have outer div and inner div. I need to place inner div at the bottom of the outer one. Outer div is elastic (width: 70% for example). I also need to center inner block. Simple model of described make-up is shown on the picture below: ![enter image description here](https://i.stack.imgur.com/CJWr9.png)
Positioning a div near bottom side of another div
CC BY-SA 3.0
0
2009-05-13T13:22:46.403
2015-08-15T04:02:11.623
2014-12-04T12:58:10.377
100,516
100,516
[ "html", "css", "layout" ]
870,627
1
886,594
null
3
2,780
Why is my table view blank? It was fine until I added "initWithStyle" Here is what it looks like: ![alt text](https://i.stack.imgur.com/6ox52.png) And here is what my code looks like: Here is my .h: ``` #import <UIKit/UIKit.h> @interface TableViewController : UITableViewController { NSMutableArray *jokes; IBOut...
Cocoa: Why is my table view blank?
CC BY-SA 3.0
0
2009-05-15T20:04:39.090
2015-09-14T16:37:52.540
2015-09-14T16:37:52.540
1,527,934
null
[ "ios", "objective-c", "iphone", "uitableview", "cocoa-touch" ]
872,461
1
872,490
null
5
13,435
I am overloading the delegate method `-tableView:heightForRowAtIndexPath:` and using `-sizeWithFont:constrainedToSize:` to programmatically set the height of the cell, based on the text in that cell: ``` - (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { switch (indexPa...
Resetting custom UITableViewCell height when iPhone is rotated
CC BY-SA 2.5
0
2009-05-16T13:44:56.030
2011-07-21T14:16:26.890
2017-02-08T14:12:04.680
-1
19,410
[ "iphone", "uitableview" ]
874,662
1
875,509
null
2
626
I have been trying very hard to achieve rounded corners with IE6+jquery ui tabs. I have this page prepared: [http://jsbin.com/uzoko](http://jsbin.com/uzoko) (w/out dd_roundies) Ofcourse, the rounded corners work in FF but not IE6. Because some of the properties used in CSS are specific to FF and Chrome. I had as...
fixing css for ie6 need help!
CC BY-SA 2.5
null
2009-05-17T13:59:17.363
2009-05-17T21:05:20.653
2017-05-23T11:53:15.420
-1
null
[ "jquery", "html", "css", "internet-explorer-6" ]
875,035
1
null
null
2
2,234
Does anyone have an example of how to draw the blue "unread dot" used in Apple's Mail App? This one in specific: ![enter image description here](https://i.stack.imgur.com/CDVms.jpg) Drawing an ellipse is straight forward with Quartz2d, but the subtle use of shadows+gradients make this look really 3d.
Drawing the blue "unread dot" on the iPhone Mail app
CC BY-SA 3.0
0
2009-05-17T17:25:52.590
2012-09-04T03:44:18.723
2011-08-03T10:03:52.200
128,662
40,882
[ "iphone", "objective-c", "cocoa-touch", "quartz-graphics" ]
875,027
1
881,439
null
8
5,750
I'm onto [problem 245](http://projecteuler.net/index.php?section=problems&id=245) now but have hit some problems. I've done some work on it already but don't feel I've made any real steps towards solving it. Here's what I've got so far: We need to find n=ab with a and b positive integers. We can also assume gcd(a, b) ...
Project Euler Problem 245
CC BY-SA 2.5
0
2009-05-17T17:20:00.097
2021-03-07T16:29:09.843
2017-02-08T14:12:07.790
-1
null
[ "python", "algorithm", "math" ]
876,504
1
876,537
null
2
483
I need to run an application on the server. I have an executable file, which runs perfectly well on my own permissions through terminal services. It also runs well on my own machine through the asp.net when I run the site with my VS. When I tried running my site on the real IIS it just hanged. I tried changing the cre...
trying to run a process from an asp.net application
CC BY-SA 3.0
null
2009-05-18T06:52:40.227
2015-06-19T20:58:39.400
2015-06-19T20:58:39.400
1,159,643
93,031
[ "asp.net", "iis" ]
878,775
1
878,842
null
3
12,758
I'm taking a look at this widget, and it appears to be a UIPickerView, however I haven't seen anything provided by the iPhone SDK API that allows for horizontal scrolling only. Mostly it's all done vertically. Also there appears to be a custom graphic around this picker, so it might not be that either. I'm curious if ...
UIPickerView that scrolls horizontally on the iPhone?
CC BY-SA 3.0
0
2009-05-18T17:09:38.280
2013-01-23T21:32:00.493
2011-07-28T15:50:21.810
128,662
null
[ "iphone", "objective-c", "cocoa-touch" ]
883,510
1
885,053
null
4
11,575
I think I've found the cause: Document Info window in IB has a warning: Bummer. --- I've built nib in Interface Builder that has `UITabBarController` at top level and switches between `UINavigationController`s. It works fine when everything is in a single `nib` file, but I'd like to use separate `nib` files for...
Loading UINavigationController from another nib automatically by UITabBarController
CC BY-SA 3.0
0
2009-05-19T15:38:39.033
2012-12-10T11:37:14.280
2012-12-10T11:37:14.280
27,009
27,009
[ "iphone", "cocoa-touch", "xib" ]
886,853
1
888,330
null
0
1,439
![alt text](https://lh5.ggpht.com/_M5W2QFQgto4/ShPATpz_zXI/AAAAAAAADzc/4oPbuX2xNhY/Login.png) in above image you would notice that, doted rectangle indicating ComboBox is focused But the problem is it exceeding the text area of ComboBox... how do I align it with text area ? Thanks
Control focus styling
CC BY-SA 2.5
null
2009-05-20T08:39:45.887
2011-08-16T16:31:51.787
2017-02-08T14:12:08.127
-1
85,606
[ "wpf", "wpf-controls", "styles" ]
891,292
1
891,364
null
1
641
What's the best way to implement an interface that looks like this in rails? ![interface example](https://i.stack.imgur.com/r39Jh.png) Currently I'm using Searchlogic, and it's a tad painful. Problems include: - Making sure certain operations remain orthogonal -- for example, if you select "Short Posts" and then sea...
Best way to implement simple sorting / searching in Rails
CC BY-SA 3.0
0
2009-05-21T03:29:30.083
2015-06-19T21:10:25.143
2015-06-19T21:10:25.143
1,159,643
25,068
[ "ruby-on-rails", "search", "sorting", "searchlogic" ]
891,643
1
929,360
null
597
97,890
: That's it folks! Bounty deadline is here, and after some tough deliberation, I have decided that [Boojum's entry](https://stackoverflow.com/questions/891643/twitter-image-encoding-challenge/929360#929360) just barely edged out [Sam Hocevar's](https://stackoverflow.com/questions/891643/twitter-image-encoding-challen...
Twitter image encoding challenge
CC BY-SA 3.0
0
2009-05-21T06:37:52.093
2017-07-17T12:55:56.927
2017-07-17T12:55:56.927
229,044
69,755
[ "twitter", "unicode", "compression" ]
895,382
1
null
null
12
4,678
I'm using the ASP.NET MVC and the ADO.NET Entity Framework together. I want my Views and Controllers strongly-typed. But how am I supposed to handle entity associations? Here's a simple example: A Person has one Department. A Department has zero or more People. ![Entity Data Model of Person and Department entitie...
Entity Framework with strongly-typed MVC
CC BY-SA 3.0
0
2009-05-21T21:49:29.403
2015-06-19T20:44:21.183
2015-06-19T20:44:21.183
1,159,643
83
[ "c#", ".net", "asp.net", "asp.net-mvc", "entity-framework" ]
903,637
1
903,645
null
2
7,326
The code below working for only first div. I can't display other divs when i clicked on the other "img"s. Do you know a method to reach second (next) element? ``` $(document).ready(function() { $('.imgOpenClose').click(function() { if ($(this).attr("src") == "images/openTree.gif") { ...
How to select second element with JQUERY when clicked on image?
CC BY-SA 2.5
0
2009-05-24T12:08:03.410
2009-05-24T13:05:00.050
2017-02-08T14:12:13.567
-1
104,085
[ "jquery" ]
904,381
1
904,784
null
23
809
Why on sites like Stack Overflow, Techcrunch, Smashing Magazine, etc. are the page titles (i.e. the text at the top of the page) clickable URLs that redirect to the same page that the user is on? Some examples: ![enter image description here](https://i.stack.imgur.com/rgMCc.png) I believe that this does not effect S...
Why are page titles on some websites clickable URLs?
CC BY-SA 4.0
0
2009-05-24T18:29:03.183
2019-02-02T04:18:35.383
2019-02-02T03:55:34.463
712,334
2,699
[ "usability", "standards" ]
907,887
1
907,955
null
0
784
I am currently designing a role based authentication system for resources where many users have different access rights to it. A role may be a single user, or a group of roles (so a role is a tree of roles). (see graphic below) ![The other image here](https://yuml.me/diagram/scale:65/class/%5BAdministration%5D-%3E%5B...
Scalable role based authentication
CC BY-SA 2.5
null
2009-05-25T20:04:39.250
2009-05-26T04:36:02.803
2017-02-08T14:12:15.990
-1
21,566
[ "authentication", "scalable", "role-based" ]
911,137
1
911,285
null
21
27,289
I'd like to create a pop-up menu similar to the one found in the mail app when you want to reply to a message. I've seen this in more than one application so I wasn't sure if there was something built into the framework for it or some example code out there. ![UIActionSheet example](https://i.stack.imgur.com/ia15x.jp...
Creating iPhone Pop-up Menu Similar to Mail App Menu
CC BY-SA 3.0
0
2009-05-26T14:56:02.723
2019-06-15T00:25:24.007
2016-04-01T11:15:23.253
709,671
26,861
[ "ios", "objective-c", "cocoa-touch", "uiview" ]
911,644
1
911,775
null
12
37,440
Assuming the following markup: ``` <fieldset> <legend>Radio Buttons</legend> <ol> <li> <input type="radio" id="x"> <label for="x"><!-- Insert multi-line markup here --></label> </li> <li> <input type="radio" id="x"> <label for="x"><!-- Ins...
How can I make multi-line, vertically and horizontally aligned labels for radio buttons in HTML Forms with CSS?
CC BY-SA 3.0
0
2009-05-26T16:44:38.650
2020-09-21T11:24:23.863
2015-06-19T21:00:31.033
1,159,643
94,120
[ "html", "css", "cross-browser", "radio-button", "label" ]
912,356
1
912,378
null
4
7,738
I am getting married this coming Saturday (May 30 2009). We are poor. So, instead of hiring a DJ, I want my friend to kick off mp3 playlists from a laptop to be played through a PA system. Well I had a vision for some software that would be perfect for this. Here is that vision: ![alt text](https://lh3.ggpht.com/_1RtF2...
Play MP3 from .net code
CC BY-SA 2.5
null
2009-05-26T19:44:55.527
2010-08-24T19:49:24.603
2020-06-20T09:12:55.060
-1
64,334
[ ".net", "audio", "mp3" ]
912,793
1
913,280
null
1
158
I am using Windows XP and flex builder 3. Here is the error I am receiving: ![Error Screenshot](https://i.stack.imgur.com/Tpw5t.jpg) I am trying to debug a flex application by toggling a break point. When I try to debug, I get the above error. so far the only thing I installed is flex builder 3.
Error when trying to debug Flex Application
CC BY-SA 3.0
null
2009-05-26T21:13:57.030
2015-09-30T10:57:29.957
2015-09-30T10:57:29.957
1,213,296
1,748,769
[ "apache-flex", "flex3" ]
916,145
1
916,195
null
4
3,596
Have been scatching my head about this - and I reckon it's simple but my geometry/algebra is pretty rubbish, and I can't remember how to do this stuff from my school days! EDITED: I have a list of coordinates with people stood by them - I need an algorithm to order people from top left to bottom right in a list (array...
Ordering coordinates problem
CC BY-SA 3.0
0
2009-05-27T14:46:11.497
2016-01-24T06:46:42.947
2017-02-08T14:12:17.347
-1
5,175
[ "java", "arrays", "algorithm", "coordinates" ]
917,610
1
917,636
null
361
945,604
How do I put an icon inside a form's input element? ![Screenshot of a web form with three inputs which have icons in them](https://i.stack.imgur.com/V0Tjp.png) Live version at: [Tidal Force theme](http://www.elegantthemes.com/preview/TidalForce/?p=9)
Put icon inside input element in a form
CC BY-SA 3.0
0
2009-05-27T19:36:46.683
2023-02-24T15:03:09.263
2020-06-23T07:52:18.597
2,214,789
80,222
[ "html", "css", "forms", "input", "icons" ]
918,483
1
918,544
null
2
4,341
I have the following html/css that is causing problems in Firefox 1.5 and 2, but is working correctly in IE6/7/8, Safari, Chrome, Opera and Firefox 1 and 3. ``` <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Firefox Bug</title> <style type="text/css"> ...
Firefox 1.5 and 2 css absolute position bug
CC BY-SA 2.5
null
2009-05-27T23:29:00.677
2009-05-28T02:37:41.980
2017-02-08T14:12:18.033
-1
57,639
[ "css", "firefox", "firefox2" ]
918,734
1
918,862
null
2
2,137
in my (puzzle) game the pieces are drawn on-screen using a `CALayer` for each piece. There are 48 pieces (in an 8x6 grid) with each piece being 48x48 pixels. I'm not sure if this is just too many layers, but if this isn't the best solution I don't know what is, because redrawing the whole display using Quartz2D every f...
Core Animation with contentsRect jerkiness
CC BY-SA 3.0
0
2009-05-28T01:12:34.960
2012-10-21T17:18:37.667
2012-10-21T17:18:37.667
249,690
47,612
[ "iphone", "core-animation" ]
920,279
1
921,440
null
2
2,453
I'm building a software repository on top of the Django framework. Because it will contain a lot of files, i want it to make some sense when looking at it through a file manager. So i grouped the files first by the URL of a program they belong to and then by first two letters of that URL. Here's how it looks: ![screen...
File uploads in Django: prevent FileField from writing the full path to the database
CC BY-SA 2.5
0
2009-05-28T10:57:36.293
2009-05-28T17:59:03.433
2009-05-28T17:40:37.917
60,655
60,655
[ "django" ]
921,106
1
921,303
null
1
2,045
I'd like to create the context extension methods described in [Cesar de la Torre's blog post](http://blogs.msdn.com/cesardelatorre/archive/2008/09/04/updating-data-using-entity-framework-in-n-tier-and-n-layer-applications-short-lived-ef-contexts.aspx). But I'm not sure how to declare the class that holds my extension ...
How to create ADO.NET Entity Framework ObjectContext extensions
CC BY-SA 2.5
null
2009-05-28T14:22:39.063
2009-05-28T16:24:37.633
2017-02-08T14:12:18.720
-1
83
[ "c#", ".net", "entity-framework" ]
921,416
1
923,070
null
8
2,333
Greetings. I've been using vim for years, and I've recently started toying with XCode. One of the things I really like about XCode is that it will complete words me hitting `<TAB>`. For instance, in this image below I only need to type `NSSObj` and the rest is filled in automatically, no special keystroke required....
XCode-like auto completion in vim (without tab)?
CC BY-SA 2.5
0
2009-05-28T15:17:50.247
2012-11-29T03:28:06.750
2017-02-08T14:12:19.073
-1
110,644
[ "xcode", "vim", "autocomplete" ]
921,455
1
921,473
null
23
6,655
In this [xkcd comic](http://xkcd.com/378/): ![Real Programmers](https://imgs.xkcd.com/comics/real_programmers.png) they mention that real programmers use `cat`. Well, I was asking myself: how could you program using the `cat` command?
How do I program using cat?
CC BY-SA 2.5
0
2009-05-28T15:22:26.993
2015-04-03T16:45:27.573
2017-02-08T14:07:59.957
-1
63,825
[ "bash", "command-line", "code-golf" ]
925,311
1
959,503
null
1
5,550
Im writing my jasper report problem with . Following is the code that I'm trying to execute : struts.xml contains : ``` <action name="myJasperTest1" class="temp.JasperAction1"> <result name="success" type="jasper"> <param name="location">/jasper/our_compiled_template.jasper</param> <param name="da...
JasperReport Issue using with struts2 - getting null in final PDF file
CC BY-SA 3.0
null
2009-05-29T10:14:49.860
2016-03-18T08:01:11.937
2016-03-18T08:01:11.937
876,298
87,942
[ "java", "jasper-reports" ]
925,440
1
925,634
null
2
1,490
I am quite new to Cocoa and to iPhone programming. I am using the Xcode template to implement a simple app that has: - - I think this represents my in the MVC pattern. I created a simple class to store the username and to do all connection work that represents my and instantiated it inside the AppDelegate. H...
Cocoa Touch App Architecture - MVC controller?
CC BY-SA 3.0
0
2009-05-29T10:55:28.750
2015-06-19T21:32:35.460
2015-06-19T21:32:35.460
1,159,643
114,181
[ "cocoa", "cocoa-touch", "model-view-controller", "controller" ]
926,172
1
926,192
null
34
32,297
I discovered that it is possible to extract the hard-coded strings from a binary. For example the properties view of [Process Explorer](http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx) displays all the string with more than 3 characters. Here is the code of a simple executable that I wrote to simply test...
How to hide strings in a exe or a dll?
CC BY-SA 3.0
0
2009-05-29T14:10:17.407
2022-09-28T12:21:09.800
2015-06-19T20:57:52.810
1,159,643
113,438
[ "c++", "security", "obfuscation", "reverse-engineering", "defensive-programming" ]
926,729
1
926,735
null
2
5,829
I recently encountered a problem with my Profile provider: it wouldn't retrieve profiles correctly (see error below). It worked locally, but when I put the code compiled by a Web Deployment project on a server it would crash. > Value cannot be null. Parameter name: type Description: An unhandled exception ...
Activator.CreateInstance throws ArgumentNullException for parameter 'Type'
CC BY-SA 2.5
0
2009-05-29T15:53:49.830
2017-08-05T18:38:37.667
null
null
810
[ "asp.net", "profile", "web-deployment-project", "activator" ]
930,815
1
930,835
null
1
739
I have and an AJAX script in a page that works just fine with no bugs in firefoex, but IE6 loads the page with an ugly error icon on the status bar. What is the best way i can go about fixing/debugging this? Here is the error report: ![alt text](https://i.stack.imgur.com/CGbyR.jpg) I have checked line 323 many time...
How can i debug this ajax script for IE?
CC BY-SA 3.0
null
2009-05-30T22:54:37.760
2015-06-19T21:16:56.300
2015-06-19T21:16:56.300
1,159,643
98,204
[ "javascript", "ajax", "internet-explorer" ]
931,807
1
931,830
null
3
2,631
: I was recently playing around with GDI+ to draw a "Disc" displaying a sweeping color change through 360 degrees. (I dug up some HSL to RGB code to loop through HSL(1,1,1) -> HSL(360,1,1)) Regarding the disc, I first drew a full solid circle using the above, and then a second circle in Grey over the center to give t...
Calculating the bounding points for the area of a "Pie Segment" and "sub areas"
CC BY-SA 2.5
0
2009-05-31T10:26:05.537
2012-03-13T15:39:56.833
2017-02-08T14:12:22.123
-1
30,155
[ "c#", "math", "gdi+", "pie-chart" ]
933,088
1
933,271
null
2
5,034
Audio processing is pretty new for me. And currently using Python Numpy for processing wave files. After calculating FFT matrix I am getting noisy power values for non-existent frequencies. I am interested in visualizing the data and accuracy is not a high priority. Is there a safe way to calculate the clipping value t...
Clipping FFT Matrix
CC BY-SA 3.0
0
2009-05-31T23:15:35.170
2019-03-19T11:01:09.103
2015-06-19T20:59:42.773
1,159,643
40,948
[ "python", "audio", "signal-processing", "fft" ]
934,050
1
null
null
2
234
I am making a favorite list where you can add items through javascript and remove them again. The values are stored in cookies to remember the list when the user returns. The problem I have is that the method to remove the items from the list doesn't get run, unless there has been a postback first. My code to remove it...
Javascript method
CC BY-SA 2.5
0
2009-06-01T08:55:56.510
2009-06-01T10:04:42.907
null
null
79,465
[ "javascript", "methods" ]
934,873
1
934,960
null
5
11,769
So I have a StackPanel that I am using as a ContentControl. I have a place where I want buttons to be generated based on data that I am binding to, and that is all working good, but I want the buttons to be laid out horizontally, not vertically as is what is currently happening. Here's a screenshot: ![alt text](http...
Using StackPanel as ContentControl (WPF)
CC BY-SA 2.5
0
2009-06-01T13:41:30.597
2011-08-01T15:52:30.617
2017-02-08T14:12:23.473
-1
39,337
[ ".net", "wpf", "xaml", "itemscontrol", "stackpanel" ]
935,202
1
935,213
null
2
1,207
How do you build your own FastCGI interface in PHP? I'd like to do something similar to what [they're doing in Perl](http://www.perl.com/doc/manual/html/lib/CGI/Fast.html), but in PHP. Is it even possible? Would it be faster? (That is, I'd like to be able to load a web app framework into memory, and then just have F...
Custom PHP FastCGI interface? (Faster?)
CC BY-SA 2.5
null
2009-06-01T15:01:45.333
2012-07-12T05:31:49.190
2017-02-08T14:12:23.807
-1
111,647
[ "php", "apache", "fastcgi", "lighttpd" ]
937,957
1
937,967
null
1
1,706
I created a plist that contains an NSDictionary structure. The key is a label (which I use to populate tableview cell.text) and the value is a file name that I want to use to 'dynamically' populate cell.image. The exact png filenames are loaded into the project. To make things easier (so I thought), I load the plist i...
Baffled at trying to set cell.image using UIImage: imageNamed:
CC BY-SA 4.0
null
2009-06-02T04:59:36.343
2019-03-19T14:01:31.317
2019-03-19T14:01:31.317
4,751,173
112,317
[ "iphone", "uiimage" ]
938,169
1
938,253
null
1
219
I want to create a component as below: ![alt text](https://content.screencast.com/users/uzay95/folders/Jing/media/061f1a24-06f0-412f-a322-f9b755a20589/2009-06-02_0922.png) It will be something like dropdownlist. I want to use this component every cell (td) of table rows. So my problem that to show second div(item lis...
Different dropdownlist component
CC BY-SA 2.5
null
2009-06-02T06:30:16.553
2009-06-02T07:04:04.863
2017-02-08T14:12:25.597
-1
104,085
[ "css", "html" ]
942,164
1
942,181
null
1
97
I moved my project from my computer to another computer, and when I opened it I was faced with this problem with LINQ: ![enter image description here](https://i.stack.imgur.com/m7pT3.gif) > Expression of type System.Data.Linq.Table(Of Homework) is not queryable. Make sure you are not missing an assembly reference and...
Error mentioning LINQ
CC BY-SA 3.0
null
2009-06-02T22:13:37.083
2012-05-09T01:34:44.070
2012-05-09T01:34:44.070
105,971
null
[ "asp.net", "linq" ]
946,915
1
946,971
null
0
992
Attached Firefox to fiddler and got following error. What would cause this error? ![alt text](https://lh3.ggpht.com/_iyd5d9iK650/SibmdZG_AeI/AAAAAAAAARs/YQTup02cLXs/s800/response_does_not_start_with_http.PNG) Interesting thing to note is that the HTTP header is getting rendered on the page ![alt text](https://lh4.g...
Response does not start with HTTP
CC BY-SA 2.5
null
2009-06-03T20:08:37.767
2014-01-11T08:02:35.247
2017-02-08T14:12:26.627
-1
37,759
[ "asp.net", "http", "iis", "firefox", "httpresponse" ]
948,336
1
949,097
null
10
1,887
Calculating the [k-core](http://en.wikipedia.org/wiki/K-core) of a graph by iteratively pruning vertices is easy enough. However, for my application, I'd like to be able to add vertices to the starting graph and get the updated core without having to recompute the entire k-core from scratch. Is there a reliable algorit...
incremental k-core algorithm
CC BY-SA 2.5
0
2009-06-04T02:39:51.770
2013-06-26T20:57:36.423
2017-02-08T14:12:28.390
-1
40,180
[ "algorithm", "language-agnostic", "graph-theory" ]
951,233
1
null
null
0
839
Good afternoon, we're having a semi-weird problem here with a legacy activex dll that needs to be used in a .net project and strangely it works perfectly fine (adding it as a reference and all its functionality) on one developer's machine, but on no other ones, the build-server complains about a faulty reference etc e...
Adding an ActiveX dll to a .Net project as reference works on one dev's machine, but not on another one?
CC BY-SA 2.5
null
2009-06-04T15:20:23.687
2009-10-12T13:00:01.403
2017-02-08T14:12:31.123
-1
2,591
[ ".net", "assemblies", "reference", "activex" ]
952,263
1
952,324
null
19
25,318
I'm trying to put some folders on my hard-drive into an array. For instance, vacation pictures. Let's say we have this structure: - - - - - - - - - - - - I want to have something like that, as an array. Meaning I have 1 big array and in that array are more arrays. Each set and subset gets its own array. I'm trying...
Deep recursive array of directory structure in PHP
CC BY-SA 2.5
0
2009-06-04T18:23:16.527
2022-10-18T12:05:54.623
2017-02-08T14:12:31.460
-1
80,907
[ "php", "arrays", "recursion" ]
952,607
1
952,623
null
27
62,427
Where am i doing wrong? This is the normal print preview: ![this is the first picture](https://content.screencast.com/users/uzay95/folders/Jing/media/94cfeaca-046d-4301-a2df-0fbf3941474f/2009-06-04_2219.png) But I want to see this picture (without dragging margin arrows) ![alt text](https://content.screencast.com/use...
How to set margins 0 on print preview?
CC BY-SA 2.5
0
2009-06-04T19:24:28.123
2017-10-12T11:11:20.223
2017-02-08T14:12:32.473
-1
104,085
[ "css", "internet-explorer", "margins" ]
953,396
1
953,420
null
5
24,600
I need to display some HTML content as it will be printed. Basically, I want to emulate the browser print preview feature. I'm not sure how to do this just with HTML/CSS/JavaScript. The only solution I came up is to convert the HTML to PDF so it´s split into pages and then convert that PDF to images and print each im...
How to display a print preview of an HTML document
CC BY-SA 2.5
0
2009-06-04T22:12:30.780
2011-05-26T00:14:18.530
2009-06-04T22:22:42.850
25,578
25,578
[ "html", "browser", "printing", "preview" ]
953,602
1
953,689
null
1
908
I'm using TinyMCE textareas or textboxes for an event logger app, and I need the text to be formatted a certain way. Something like this: ![alt text](https://imgur.com/on27Z.jpg) I can't figure out how to do this without a table, which I cannot nest in the textarea or textbox. Any suggestions?
How do I get table-like formatting in a textbox or textarea?
CC BY-SA 2.5
0
2009-06-04T23:21:24.433
2009-06-05T00:35:16.420
null
null
856
[ "html", "formatting" ]
954,634
1
954,648
null
0
3,484
![alt text](https://i239.photobucket.com/albums/ff175/mlakilud/Graph.jpg) Hi guys, I am making some iPhone graph thingy. Here is my problem. I have one view controller and inside it two views graphView and segmented control view. I first draw graph view, than segmented control one. I want to have the functionality tha...
iPhone - views and segmented control
CC BY-SA 2.5
0
2009-06-05T07:20:11.903
2011-06-16T06:13:07.300
2017-02-08T14:12:33.483
-1
115,873
[ "iphone", "graph" ]
954,857
1
955,113
null
0
654
I was just wondering how to handle a lot of states using ASP .NET and postbacks. See this image: ![see the image](https://i.stack.imgur.com/OJy6h.jpg) I know someone can use: - `<input type="text" style="display:none"/>`- - This introduce a lot of overhead, variables, states, messing and confusing code. I would n...
How to handle multpile ASP .NET events, states, and postbacks on the same page?
CC BY-SA 3.0
null
2009-06-05T08:40:07.797
2013-07-21T02:23:57.340
2013-07-21T02:23:57.340
2,556,654
113,934
[ "asp.net", "postback" ]
954,936
1
955,149
null
4
4,625
How do I get the "Copy to Output Directory" property for content files in a C++/CLI Windows Forms Project? ![alt text](https://sites.google.com/site/roughnotebook/Home/crop.png?attredirects=0) I am presently using the post-build event to copy my content files.
"Copy to Output Directory" in a C++/CLI Project
CC BY-SA 2.5
null
2009-06-05T09:04:48.933
2009-06-05T10:38:04.767
2017-02-08T14:12:33.833
-1
45,603
[ "visual-studio", "ide" ]
958,888
1
958,928
null
3
10,706
Whenever I add the min0height property to the DIVs to make them 100%, it doesn't work. I have added them to all of the DIVs, including height: 100%; and min-height: 100%; but nothing works. What would I do to make it extend all the way? It just cuts off the background of the sidebar and the background color of the cont...
CSS: min-height does not work
CC BY-SA 3.0
null
2009-06-06T02:57:19.693
2015-06-19T20:50:05.037
2015-06-19T20:50:05.037
1,159,643
118,342
[ "css", "height", "html" ]
959,024
1
959,027
null
48
26,042
Does anyone know what the keyboard shortcut to scroll a method's overloads that appears in the tooltip is? I presently have to resort to using the mouse to click the ^ and v labels in the tooltip, which isn't particularly effective. Thanks! ![alt text](https://i.stack.imgur.com/5DJvG.png)
Visual Studio keyboard shortcut to scroll method overloads tooltips?
CC BY-SA 3.0
0
2009-06-06T04:50:56.777
2022-04-06T14:56:31.773
2017-08-15T08:38:14.053
1,000,551
90,755
[ "visual-studio", "keyboard-shortcuts" ]
962,003
1
963,847
null
4
2,942
I'm trying to save data with following structure: ![alt text](https://i.stack.imgur.com/EyLMV.png) As you can see, there is HABTM association between and table. And another HABTM between and . I created following form: ``` <?php echo $form->create('Experience', array('action' => 'addClassic'));?> <?php ec...
How do I write data to a HABTM association of a HABTM join table in CakePHP?
CC BY-SA 3.0
0
2009-06-07T14:45:11.463
2015-06-19T21:03:02.243
2015-06-19T21:03:02.243
1,159,643
69,535
[ "cakephp", "has-and-belongs-to-many" ]
962,545
1
962,551
null
87
107,700
So I think I'm going to get buried for asking such a trivial question but I'm a little confused about something. I have implemented quicksort in Java and C and I was doing some basic comparissons. The graph came out as two straight lines, with the C being 4ms faster than the Java counterpart over 100,000 random intege...
O(N log N) Complexity - Similar to linear?
CC BY-SA 2.5
0
2009-06-07T18:59:16.417
2015-11-19T08:33:37.010
2017-02-08T14:12:38.240
-1
111,734
[ "language-agnostic", "complexity-theory", "quicksort" ]
963,279
1
963,408
null
0
7,827
The directory 'C:\temp' has two files named 'GZ96A7005.tif' and 'GZ96A7005001.tif'. They have different length with the same extension. Now I run below code: ``` string[] resultFileNames = Directory.GetFiles(@"C:\temp", "????????????.tif"); ``` The 'resultFileNames' return two items 'c:\temp\GZ96A7005.tif' and 'c:\t...
C#: Using Directory.GetFiles to get files with fixed length
CC BY-SA 2.5
null
2009-06-08T02:47:00.387
2009-06-08T14:18:40.090
2017-02-08T14:12:39.253
-1
20,910
[ "c#", ".net", "windows", "filenames", "long-filenames" ]
968,303
1
968,409
null
0
117
I have an app I must write that will utilize a database for each company we are able to get as a client. Unfortunately, the schemas for all the companies databases's are not identical, even though for this app they all have the basic information I need (even if their column names are different/in a different table)....
How do I persist which database a user is associated with it using LINQ and ASP.NET MVC?
CC BY-SA 2.5
null
2009-06-09T05:32:07.683
2009-06-09T06:06:01.377
2009-06-09T06:03:38.197
64,878
64,878
[ "c#", "asp.net-mvc", "linq", "asp.net-membership", "membership" ]
970,918
1
971,608
null
1
3,080
I've done this with and asp.net grid view and header templates and I need to port this same concept over to my winform application. I'm trying to find a way to have a cell or label span the width of several sub-headers. There are third party controls that do this but buying one is not an option at this time. Here is ...
How to draw a custom DataGridView multi-column header
CC BY-SA 2.5
0
2009-06-09T15:49:51.200
2009-06-09T18:05:13.460
2017-02-08T14:12:41.660
-1
59,017
[ "c#", "winforms", "datagridview" ]