PostId int64 4 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 1 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -55 461k | OwnerUndeletedAnswerCountAtPostTime int64 0 21.5k | Title stringlengths 3 250 | BodyMarkdown stringlengths 5 30k ⌀ | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
21,879 | 08/22/2008 06:15:39 | 1,588 | 08/17/2008 01:05:22 | 121 | 5 | Where can I find a "Math topic dependency tree" to assist my self-guided refresher on the subject? | I'm trying to reteach myself some long forgotten math skills. This is part of a much larger project to effectively "teach myself software development" from the ground up (the details are [here](http://www.appscanadian.ca/archives/cs-101-introduction-to-computer-science/) if you're interested in helping out).
My bi... | math | null | null | null | null | 08/18/2011 13:15:20 | off topic | Where can I find a "Math topic dependency tree" to assist my self-guided refresher on the subject?
===
I'm trying to reteach myself some long forgotten math skills. This is part of a much larger project to effectively "teach myself software development" from the ground up (the details are [here](http://www.appscanadia... | 2 |
21,908 | 08/22/2008 06:59:56 | 181 | 08/03/2008 03:43:40 | 1 | 0 | "Silent" Printing in a Web Application | I'm working on a web application that needs to prints silently -- that is without user involvement. What's the best way to accomplish this? It doesn't like it can be done with strictly with Javascript, nor Flash and/or AIR. The closest I've seen involves a Java applet.
I can understand why it would a Bad Idea for... | printing | internet | null | null | null | null | open | "Silent" Printing in a Web Application
===
I'm working on a web application that needs to prints silently -- that is without user involvement. What's the best way to accomplish this? It doesn't like it can be done with strictly with Javascript, nor Flash and/or AIR. The closest I've seen involves a Java applet.
... | 0 |
21,912 | 08/22/2008 07:07:17 | 920 | 08/10/2008 12:52:43 | 75 | 5 | IntelliSenss for XElements object with XML schema | Reading an article called "Increase LINQ Query Performance" in Jully's MSDN magazine, the author states that using an Imports in VB providing a path to schema in the current project will turn IntelliSense on for XElement. In the code provided, he uses statements like xelement.@name to retreive attributes values, and so... | linq | linq-to-xml | xsd | c# | vb | null | open | IntelliSenss for XElements object with XML schema
===
Reading an article called "Increase LINQ Query Performance" in Jully's MSDN magazine, the author states that using an Imports in VB providing a path to schema in the current project will turn IntelliSense on for XElement. In the code provided, he uses statements li... | 0 |
21,956 | 08/22/2008 09:00:26 | 966 | 08/11/2008 07:35:55 | 26 | 4 | How do I compare two arrays of DataRow objects in PowerShell? | I have two arrays of System.Data.DataRow objects which I want to compare. The rows have two columns A and B. Column A is a key and I want to find out which rows have had their B column changed and which rows have been added or deleted. How do I do this in PowerShell? | arrays | powershell | comparison | null | null | null | open | How do I compare two arrays of DataRow objects in PowerShell?
===
I have two arrays of System.Data.DataRow objects which I want to compare. The rows have two columns A and B. Column A is a key and I want to find out which rows have had their B column changed and which rows have been added or deleted. How do I do this ... | 0 |
21,961 | 08/22/2008 09:06:43 | 2,427 | 08/22/2008 05:39:54 | 11 | 0 | Why does this python date/time conversion seem wrong? | >>> import time
>>> time.strptime("01-31-2009", "%m-%d-%Y")
(2009, 1, 31, 0, 0, 0, 5, 31, -1)
>>> time.mktime((2009, 1, 31, 0, 0, 0, 5, 31, -1))
1233378000.0
>>> 60*60*24 # seconds in a day
86400
>>> 1233378000.0 / 86400
14275.208333333334
time.mktime should return the num... | python | datetime | null | null | null | null | open | Why does this python date/time conversion seem wrong?
===
>>> import time
>>> time.strptime("01-31-2009", "%m-%d-%Y")
(2009, 1, 31, 0, 0, 0, 5, 31, -1)
>>> time.mktime((2009, 1, 31, 0, 0, 0, 5, 31, -1))
1233378000.0
>>> 60*60*24 # seconds in a day
86400
>>> 1233378000.0 / 86400
... | 0 |
21,965 | 08/22/2008 09:12:54 | 2,429 | 08/22/2008 08:48:22 | 1 | 0 | Programmatically encrypting a config-file in .NET | Could somebody please do a rundown of how to programmatically encrypt a config-file in .NET, preferably in C#.
What I would like to do is do some kind of check on an application's startup to see if a section is unprotected, and if it is, then encrypt it. This for both settings and connection-strings.
Also if anyo... | .net | c# | configurationfiles | encryption | null | null | open | Programmatically encrypting a config-file in .NET
===
Could somebody please do a rundown of how to programmatically encrypt a config-file in .NET, preferably in C#.
What I would like to do is do some kind of check on an application's startup to see if a section is unprotected, and if it is, then encrypt it. This fo... | 0 |
21,987 | 08/22/2008 09:42:41 | 2,090 | 08/20/2008 10:46:39 | 1 | 0 | FlashWindowEx FLASHW_STOP still keeps taskbar colored | <p>I am developing an application that controls an Machine.<br/>
When I receive an error from the Machine the users should be able to directly notice it, one way that is done is Flashing the tray on the taskbar. When the machine clears the error the tray should stop flashing.</p>
<p>There's one little annoyance usi... | c# | winapi | pinvoke | null | null | null | open | FlashWindowEx FLASHW_STOP still keeps taskbar colored
===
<p>I am developing an application that controls an Machine.<br/>
When I receive an error from the Machine the users should be able to directly notice it, one way that is done is Flashing the tray on the taskbar. When the machine clears the error the tray shoul... | 0 |
21,992 | 08/22/2008 09:47:15 | 909 | 08/10/2008 09:56:57 | 95 | 11 | XmlHttpRequest return values | For an application I'm building in my spare time I am looking for (arguably) the correct way to return data from an XmlHttpRequest. Options I see are:
- Plain HTML. Let the request format the data and return it in a usable format.
Advantage: easy to consume by the calling page. Disadvantage: Very rigid, stuck wit... | javascript | ajax | null | null | null | null | open | XmlHttpRequest return values
===
For an application I'm building in my spare time I am looking for (arguably) the correct way to return data from an XmlHttpRequest. Options I see are:
- Plain HTML. Let the request format the data and return it in a usable format.
Advantage: easy to consume by the calling page. D... | 0 |
21,999 | 08/22/2008 09:54:43 | 1,013 | 08/11/2008 13:24:18 | 158 | 25 | Anti aliasing workaround | Anti aliasing [cannot be turned off][1] in WPF. But I want to remove the blurred look of WPF fonts when they are small.
One possibility would be to use a .net 2.0 component. This looks like it would lose the transparency capability and Blend support. Never tried it though.
Anyone has a solution for this? Any dra... | wpf | null | null | null | null | null | open | Anti aliasing workaround
===
Anti aliasing [cannot be turned off][1] in WPF. But I want to remove the blurred look of WPF fonts when they are small.
One possibility would be to use a .net 2.0 component. This looks like it would lose the transparency capability and Blend support. Never tried it though.
Anyone ha... | 0 |
22,000 | 08/22/2008 09:55:34 | 1,384,652 | 08/01/2008 12:01:23 | 1,247 | 71 | Table cells larger than they are meant to be | I've created a map system for a game that runs on the principle of drawing the picture of the map from tiles. There are many reasons for this which I won't go into here but if you really want to know then I'm sure you can find out how to contact me ;)
I have [made the latest version live][1] so you can see exactly w... | html | css | null | null | null | null | open | Table cells larger than they are meant to be
===
I've created a map system for a game that runs on the principle of drawing the picture of the map from tiles. There are many reasons for this which I won't go into here but if you really want to know then I'm sure you can find out how to contact me ;)
I have [made th... | 0 |
22,011 | 08/22/2008 10:05:44 | 1,116 | 08/12/2008 13:25:41 | 467 | 31 | Swtiching to ORMs | I'm toying with the idea of phasing in an ORM into an application I support. The app is not very structured with no unit tests. So any change will be risky. I'm obviously concerned that I've got a good enough reason to change. The idea is that there will be less boiler plate code for data access and there for greater p... | orm | language-agnostic | null | null | null | null | open | Swtiching to ORMs
===
I'm toying with the idea of phasing in an ORM into an application I support. The app is not very structured with no unit tests. So any change will be risky. I'm obviously concerned that I've got a good enough reason to change. The idea is that there will be less boiler plate code for data access ... | 0 |
22,012 | 08/22/2008 10:06:48 | 2,374 | 08/21/2008 22:14:30 | 16 | 1 | Loading assemblies and its dependencies | My application dynamically loads assemblies at runtime from specific subfolders. These assemblies are compiled with dependencies to other assemblies. The runtime trys to load these from the application directory. But I want to put them into the modules directory.
Is there a way to tell the runtime that the dlls are ... | c# | .net | null | null | null | null | open | Loading assemblies and its dependencies
===
My application dynamically loads assemblies at runtime from specific subfolders. These assemblies are compiled with dependencies to other assemblies. The runtime trys to load these from the application directory. But I want to put them into the modules directory.
Is there... | 0 |
22,015 | 08/22/2008 10:09:02 | 2,249 | 08/21/2008 09:30:32 | 6 | 4 | OpenID as a Single Sign On option?? | I'm just looking for different opinions.
Do you consider OpenID a good "Single Sign On" solution?
The way it works seems to be a little bit confusing for an average user and there could be problems related to "putting all your eggs in the same basket".
Anyway, have anyone tried to implement his own OpenId soluti... | openid | sso | null | null | null | null | open | OpenID as a Single Sign On option??
===
I'm just looking for different opinions.
Do you consider OpenID a good "Single Sign On" solution?
The way it works seems to be a little bit confusing for an average user and there could be problems related to "putting all your eggs in the same basket".
Anyway, have anyone... | 0 |
22,051 | 08/22/2008 10:43:16 | 572 | 08/06/2008 20:56:54 | 1,059 | 88 | Free (and/or open source) security software | I know about my options for antivirus, antispyware, and firewall, but are there any higher end security tools for any operating systems (although I'm running Windows and Cygwin, so those options would be especially appreciated) to do things like password recovery, computer forensics, and that sort of thing? I'm current... | windows | computer-forensics | computer-security | foss | nix | null | open | Free (and/or open source) security software
===
I know about my options for antivirus, antispyware, and firewall, but are there any higher end security tools for any operating systems (although I'm running Windows and Cygwin, so those options would be especially appreciated) to do things like password recovery, comput... | 0 |
22,072 | 08/22/2008 11:10:14 | 1,116 | 08/12/2008 13:25:41 | 477 | 33 | From Desktop to Web browser considerations | I'm sure many of you have travelled this route.
What are the main things to consider/lookout for when a desktop app developer fist steps in the the web development world? | webdevelopment | null | null | null | null | 07/20/2012 16:50:58 | not constructive | From Desktop to Web browser considerations
===
I'm sure many of you have travelled this route.
What are the main things to consider/lookout for when a desktop app developer fist steps in the the web development world? | 4 |
22,084 | 08/22/2008 11:18:07 | 1,344 | 08/14/2008 16:03:00 | 719 | 54 | ASP.NET - asp:xxx Controls versus standard HTML | I'm getting into ASP.NET (C# - I know it doesn't matter for this particular question, but full disclosure and all that), and while I love that the `asp:`-style controls save me a lot of tedious HTML-crafting, I am often frustrated with certain behaviors. I encountered one last night when working with Master Pages: my `... | asp.net | controls | webdevelopment | null | null | null | open | ASP.NET - asp:xxx Controls versus standard HTML
===
I'm getting into ASP.NET (C# - I know it doesn't matter for this particular question, but full disclosure and all that), and while I love that the `asp:`-style controls save me a lot of tedious HTML-crafting, I am often frustrated with certain behaviors. I encountere... | 0 |
22,106 | 08/22/2008 11:29:57 | 1,585 | 08/16/2008 21:03:55 | 51 | 4 | What is /dev/ttys# (notice the little s)? | I'm working on linux, trying to get the serial port to work. I know /dev/ttyS0 is a serial port, but what is /dev/ttys0? | linux | serial | serial-port | null | null | null | open | What is /dev/ttys# (notice the little s)?
===
I'm working on linux, trying to get the serial port to work. I know /dev/ttyS0 is a serial port, but what is /dev/ttys0? | 0 |
22,115 | 08/22/2008 11:35:41 | 2,455 | 08/22/2008 11:29:07 | 1 | 0 | Using Regex to generate Strings rather than match them | I am writing a Java utility which helps me to generate loads of data for performance testing. It would be *really* cool to be able to specify a regex for Strings so that my generator spits out things which match this. Is there something out there already baked which I can use to do this? Or is there a library which ... | java | regex | null | null | null | null | open | Using Regex to generate Strings rather than match them
===
I am writing a Java utility which helps me to generate loads of data for performance testing. It would be *really* cool to be able to specify a regex for Strings so that my generator spits out things which match this. Is there something out there already bak... | 0 |
22,117 | 08/22/2008 11:36:45 | 1,709 | 08/18/2008 07:05:30 | 266 | 29 | How do you organize your (online) resources and researched data? | Reading up on some of the answers to <a href="http://stackoverflow.com/questions/1831/what-can-someone-do-to-get-organized-around-here">another question</a> I found a tip about <a href="http://www.amazon.com/dp/0142000280/">a book I wanted to take a closer look at</a>. The provided link goes to <a href="http://www.amaz... | self-improvement | organizing | research | online-resources | null | 01/28/2012 01:09:04 | off topic | How do you organize your (online) resources and researched data?
===
Reading up on some of the answers to <a href="http://stackoverflow.com/questions/1831/what-can-someone-do-to-get-organized-around-here">another question</a> I found a tip about <a href="http://www.amazon.com/dp/0142000280/">a book I wanted to take a ... | 2 |
22,128 | 08/22/2008 11:50:58 | 1,662 | 08/17/2008 20:30:20 | 41 | 4 | Where can open source developers "showcase" their projects and ask for help with development? | After not having much luck with writing to the Python mailing list, I've been on a search for the appropriate place to post my project to and receive developer support. I don't want to blacklist it by posting it to a general site and make it appear as spamming, but I also want to make sure it gets seen by as many deve... | python | opensource | null | null | null | null | open | Where can open source developers "showcase" their projects and ask for help with development?
===
After not having much luck with writing to the Python mailing list, I've been on a search for the appropriate place to post my project to and receive developer support. I don't want to blacklist it by posting it to a gen... | 0 |
22,135 | 08/22/2008 11:55:45 | 309,844 | 08/05/2008 14:28:34 | 446 | 23 | How do I use NTLM authentication with Active Directory | I am trying to implement NTLM authentication on one of our internal sites and everything is working. The one piece of the puzzle I do not have is how to take the information from NTLM and authenticate with Active Directory.
There is a [good description of NTLM][1] and the [encryption used for the passwords][2], whic... | ntlm | activedirectory | http | authentication | coldfusion | null | open | How do I use NTLM authentication with Active Directory
===
I am trying to implement NTLM authentication on one of our internal sites and everything is working. The one piece of the puzzle I do not have is how to take the information from NTLM and authenticate with Active Directory.
There is a [good description of N... | 0 |
22,140 | 08/22/2008 11:57:53 | 381 | 08/05/2008 10:39:26 | 1,236 | 25 | Can you compile Apache HTTP Server and redeploy its binaries to a different location ? | As part of our product release we ship Apache HTTP Server binaries that we have compiled on our (UNIX) development machine.
We tell our clients to install the binaries (on their UNIX servers) under the same directory structure that we compiled it under. For some clients this is not appropriate, e.g. where there are ... | unix | apache | http-server | null | null | null | open | Can you compile Apache HTTP Server and redeploy its binaries to a different location ?
===
As part of our product release we ship Apache HTTP Server binaries that we have compiled on our (UNIX) development machine.
We tell our clients to install the binaries (on their UNIX servers) under the same directory structur... | 0 |
22,145 | 08/22/2008 11:58:56 | 1,142 | 08/12/2008 18:52:53 | 54 | 3 | Calculating a cutting list with the least amount of off cut waste. | I have a project where I produce an aluminium extrusion cutting list.
The aluminium extrusions come in lengths of 5m.
I have a list of smaller lengths that need to be cut from the 5m lengths of aluminium extrusions.
The smaller lengths need to be cut in the order that produces the least amount of off cut waste... | algorithm | null | null | null | null | null | open | Calculating a cutting list with the least amount of off cut waste.
===
I have a project where I produce an aluminium extrusion cutting list.
The aluminium extrusions come in lengths of 5m.
I have a list of smaller lengths that need to be cut from the 5m lengths of aluminium extrusions.
The smaller lengths nee... | 0 |
22,149 | 08/22/2008 12:01:53 | 2,077 | 08/20/2008 07:26:21 | 66 | 1 | Unicode vs UTF-8 confusion in Python / Django? | I stumbled over this passage in the [Django tutorial][1]:
> Django models have a default __str__() method that calls __unicode__() and converts the result to a UTF-8 bytestring. This means that unicode(p) will return a Unicode string, and str(p) will return a normal string, with characters encoded as UTF-8.
Now, ... | python | django | unicode | null | null | null | open | Unicode vs UTF-8 confusion in Python / Django?
===
I stumbled over this passage in the [Django tutorial][1]:
> Django models have a default __str__() method that calls __unicode__() and converts the result to a UTF-8 bytestring. This means that unicode(p) will return a Unicode string, and str(p) will return a norma... | 0 |
22,156 | 08/22/2008 12:03:36 | 2,385 | 08/22/2008 00:18:38 | 1 | 0 | What is the difference between HttpHandler and a Web User Control and when to use each one? | I've been using user controls extensively but never use a HttpHandler and was wondering if I am doing something suboptimal or wrong | asp.net | null | null | null | null | null | open | What is the difference between HttpHandler and a Web User Control and when to use each one?
===
I've been using user controls extensively but never use a HttpHandler and was wondering if I am doing something suboptimal or wrong | 0 |
22,165 | 08/22/2008 12:08:40 | 983 | 08/11/2008 12:09:41 | 1 | 0 | Transactional Design Pattern | I have a need to create a "transactional" process using an external API that does not support COM+ or .NET transactions (Sharepoint to be exact)
What I need to do is to be able to perform a number of processes in a sequence, but any failure in that sequence means that I will have to manually undo all of the previous... | sharepoint | transaction | designpatterns | null | null | null | open | Transactional Design Pattern
===
I have a need to create a "transactional" process using an external API that does not support COM+ or .NET transactions (Sharepoint to be exact)
What I need to do is to be able to perform a number of processes in a sequence, but any failure in that sequence means that I will have to... | 0 |
22,187 | 08/22/2008 12:19:29 | 1,175 | 08/13/2008 10:21:54 | 412 | 55 | Erlang-style Concurrency for Other Languages | What libraries exist for other programming languages to provide an Erlang-style concurrency model (processes, mailboxes, pattern-matching receive, etc.)?
Note: I am specifically interested in things that are intended to be similar to Erlang, not just any threading or queueing library. | erlang | concurrency | threads | library | language-agnostic | null | open | Erlang-style Concurrency for Other Languages
===
What libraries exist for other programming languages to provide an Erlang-style concurrency model (processes, mailboxes, pattern-matching receive, etc.)?
Note: I am specifically interested in things that are intended to be similar to Erlang, not just any threading or... | 0 |
22,211 | 08/22/2008 12:34:32 | 2,468 | 08/22/2008 12:34:32 | 1 | 0 | Web framework programming mindset | I am just starting to play with Django/Python and am trying to shift into the MTV mode of programming that Django asks for (insists on). Deciding on what functions should be methods of a model vs simple being a function in a view has so far been confusing. Does anyone know of a book, website, blog, slideshow, whateve... | web | framework | object | abstract | null | null | open | Web framework programming mindset
===
I am just starting to play with Django/Python and am trying to shift into the MTV mode of programming that Django asks for (insists on). Deciding on what functions should be methods of a model vs simple being a function in a view has so far been confusing. Does anyone know of a ... | 0 |
22,212 | 08/22/2008 12:34:44 | 727 | 08/08/2008 12:16:17 | 205 | 14 | TClientDataSet Aggregates specification aren't added automatically when creating an Aggregate field. | I need to create an Aggregate Field in a TClientDataSet, but as said in the docs:
> Choose OK. The newly defined aggregate
> field is automatically added to the
> client dataset and its Aggregates
> property is automatically updated to
> include the appropriate aggregate
> specification.
When I add a new agg... | delphi | null | null | null | null | null | open | TClientDataSet Aggregates specification aren't added automatically when creating an Aggregate field.
===
I need to create an Aggregate Field in a TClientDataSet, but as said in the docs:
> Choose OK. The newly defined aggregate
> field is automatically added to the
> client dataset and its Aggregates
> property ... | 0 |
22,239 | 08/22/2008 12:49:37 | 2,222 | 08/21/2008 01:28:06 | 13 | 3 | Why does int main() {} compile? | (I'm using Visual C++ 2008) I've always heard that main() is _required_ to return an integer, but here I didn't put in `return 0;` and and it compiled with 0 errors and 0 warnings! In the debug window it says the program has exited with code 0. If this function is named anything other than main(), the compiler compla... | c++ | main | return | int | null | null | open | Why does int main() {} compile?
===
(I'm using Visual C++ 2008) I've always heard that main() is _required_ to return an integer, but here I didn't put in `return 0;` and and it compiled with 0 errors and 0 warnings! In the debug window it says the program has exited with code 0. If this function is named anything o... | 0 |
22,245 | 08/22/2008 12:51:03 | 1,228 | 08/13/2008 13:58:55 | 780 | 50 | How do I change my workstation in Team Foundation Server 2k5 and 2k8? | I've got multiple projects in a couple different workstations. However, it seems like I can never figure out how to change my current workstation. The result is that files that I have checked out on my machine are shown to be checked out by somebody else and are not accessible. | teamfoundationserver | workstations | null | null | null | null | open | How do I change my workstation in Team Foundation Server 2k5 and 2k8?
===
I've got multiple projects in a couple different workstations. However, it seems like I can never figure out how to change my current workstation. The result is that files that I have checked out on my machine are shown to be checked out by so... | 0 |
22,259 | 08/22/2008 12:53:54 | 1,820 | 08/18/2008 18:06:03 | 492 | 27 | How do i resize and convert an uploaded image to a PNG using GD | I want to allow users to upload avatar-type images in a variety of formats (GIF,JPEG,PNG at least), but to save them all as PNG database BLOBs. If the images are oversize, pixelwise, i want to resize them before DB-insertion.
What is the best way to use GD to do the resizing and PNG conversion?
| php | gd | image | database | png | null | open | How do i resize and convert an uploaded image to a PNG using GD
===
I want to allow users to upload avatar-type images in a variety of formats (GIF,JPEG,PNG at least), but to save them all as PNG database BLOBs. If the images are oversize, pixelwise, i want to resize them before DB-insertion.
What is the best way t... | 0 |
22,265 | 08/22/2008 12:56:36 | 445 | 08/05/2008 19:37:25 | 110 | 6 | Get a list of available domains (NT4 and Active Directory) | Does anyone know (in c#) a way of getting the available NT4 domains (a bit like the WinXP login box dropdown)?
I know that this is fairly easy for Active Directory using the DirectoryServices namespace, but I can't find anything for the old NT4 domains. I'd rather not use API calls if at all possible (that might be... | c# | activedirectory | nt4 | null | null | null | open | Get a list of available domains (NT4 and Active Directory)
===
Does anyone know (in c#) a way of getting the available NT4 domains (a bit like the WinXP login box dropdown)?
I know that this is fairly easy for Active Directory using the DirectoryServices namespace, but I can't find anything for the old NT4 domains... | 0 |
22,269 | 08/22/2008 12:57:41 | 111 | 08/02/2008 03:35:55 | 211 | 13 | Authenticate on an ASP.Net Forms Authorization website from a console app | I'm trying to build a C# console application to automate grabbing certain files from our website, mostly to save myself clicks and - frankly - just to have done it. But I've hit a snag that for which I've been unable to find a working solution.
The website I'm trying to which I'm trying to connect uses ASP.Net form... | c# | asp.net | authentication | null | null | null | open | Authenticate on an ASP.Net Forms Authorization website from a console app
===
I'm trying to build a C# console application to automate grabbing certain files from our website, mostly to save myself clicks and - frankly - just to have done it. But I've hit a snag that for which I've been unable to find a working solut... | 0 |
22,278 | 08/22/2008 13:04:29 | 1,219 | 08/13/2008 13:44:47 | 1,044 | 66 | What's a good way to encapsulate data access with PHP/MySQL? | Most of my experience is on the MSFT stack, but I am now working on a side project, helping someone with a personal site with cheap hosting that is built on the LAMP stack. My options for installing extras are limited, so I'm wondering about how to write my data access code without embedding raw queries in the .php fi... | php | mysql | database | lamp | null | null | open | What's a good way to encapsulate data access with PHP/MySQL?
===
Most of my experience is on the MSFT stack, but I am now working on a side project, helping someone with a personal site with cheap hosting that is built on the LAMP stack. My options for installing extras are limited, so I'm wondering about how to writ... | 0 |
22,306 | 08/22/2008 13:15:52 | 2,292 | 08/21/2008 14:02:38 | 1 | 0 | Good Starting Places for SQL Server Alerts/Notifications? | Just recently started having issues with a SQL Server Agent Job that contains a SSIS package to extract production data and summarize it into a separate reporting database.
I *think* that some of the Alerts/Notifications settings I tried playing with caused the problem as the job had been running to completion unat... | sql-server | ssis | etl | notifications | alert | null | open | Good Starting Places for SQL Server Alerts/Notifications?
===
Just recently started having issues with a SQL Server Agent Job that contains a SSIS package to extract production data and summarize it into a separate reporting database.
I *think* that some of the Alerts/Notifications settings I tried playing with ca... | 0 |
22,309 | 08/22/2008 13:17:48 | 194 | 08/03/2008 10:56:49 | 1,858 | 102 | ARMV4i (Windows Mobile 6) Native Code disassembler | Does anyone know of a disassembler for ARMV4i compiled executables and dlls?
I've got a plugin DLL I'm writing and it has a very rare data abort (<5% of the time) that I have narrowed down to a specific function (via dumpbin and the memory address output by the data abort) however it's a fairly large function and I wo... | windows-mobile | arm | disassembler | null | null | null | open | ARMV4i (Windows Mobile 6) Native Code disassembler
===
Does anyone know of a disassembler for ARMV4i compiled executables and dlls?
I've got a plugin DLL I'm writing and it has a very rare data abort (<5% of the time) that I have narrowed down to a specific function (via dumpbin and the memory address output by the d... | 0 |
22,318 | 08/22/2008 13:21:18 | 466 | 08/06/2008 00:59:59 | 73 | 2 | IE Securty Zone Issues | I'm developing a website which will be used in the corporate intranet which uses JCIFS and NTLM to automatically authenticate the users without asking them to log on. Everything seems to be working in IE 6, but some users are being prompted for their passwords in IE 7.
We've had some success by getting the users ... | internet-explorer | security-zone | ntlm | jcifs | intranet | null | open | IE Securty Zone Issues
===
I'm developing a website which will be used in the corporate intranet which uses JCIFS and NTLM to automatically authenticate the users without asking them to log on. Everything seems to be working in IE 6, but some users are being prompted for their passwords in IE 7.
We've had some s... | 0 |
22,319 | 08/22/2008 13:22:31 | 26 | 08/01/2008 12:18:14 | 1,938 | 114 | Send out email at a user's local time. | I am writing a program that needs to send out an email every hour on the hour, but at a time local to the user.
Say I have 2 users in different time zones. John is in New York and Fred is in Los Angeles. The server is in Chicago. If I want to send an email at 6 PM local to each user, I'd have to send the email to Jo... | .net | sql | timezone | null | null | null | open | Send out email at a user's local time.
===
I am writing a program that needs to send out an email every hour on the hour, but at a time local to the user.
Say I have 2 users in different time zones. John is in New York and Fred is in Los Angeles. The server is in Chicago. If I want to send an email at 6 PM local to... | 0 |
22,321 | 08/22/2008 13:22:38 | 227 | 08/03/2008 17:53:19 | 1,078 | 59 | Remoting server discovery. | I have a client/server application that communicates with .Net remoting. I need my clients to be able to find the server(s) on the network without requiring client-side configuration.
As far as I know, there is no support for discovery in remoting. I am prepared to implement a UDP solution where the clients will be... | .net | remoting | udp | broadcast | networking | null | open | Remoting server discovery.
===
I have a client/server application that communicates with .Net remoting. I need my clients to be able to find the server(s) on the network without requiring client-side configuration.
As far as I know, there is no support for discovery in remoting. I am prepared to implement a UDP so... | 0 |
22,322 | 08/22/2008 13:23:15 | 2,102 | 08/20/2008 11:37:35 | 44 | 6 | How to late bind 32bit/64 bit libs at runtime | I've got a problem similar to,but subtly different from, that described [here][1] (Loading assemblies and their dependencies).
I have a C++ DLL for 3D rendering that is what we sell to customers. For .NET users we will have a CLR wrapper around it. The C++ DLL can be built in both 32 and 64bit versions, but I think ... | c# | .net | 64bit | null | null | null | open | How to late bind 32bit/64 bit libs at runtime
===
I've got a problem similar to,but subtly different from, that described [here][1] (Loading assemblies and their dependencies).
I have a C++ DLL for 3D rendering that is what we sell to customers. For .NET users we will have a CLR wrapper around it. The C++ DLL can b... | 0 |
22,326 | 08/22/2008 13:24:24 | 1,508 | 08/16/2008 02:29:14 | 97 | 7 | Word Automation: Write RTF text without going through clipboard | I am trying to replace the current selection in Word by some RTF string stored in a variable.
Here is the current code:
Clipboard.SetText(strRTFString, TextDataFormat.Rtf)
oWord.ActiveDocument.ActiveWindow.Selection.PasteAndFormat(0)
Is there any way to do the same thing without going through the clip... | c# | vb.net | .net | word | automation | null | open | Word Automation: Write RTF text without going through clipboard
===
I am trying to replace the current selection in Word by some RTF string stored in a variable.
Here is the current code:
Clipboard.SetText(strRTFString, TextDataFormat.Rtf)
oWord.ActiveDocument.ActiveWindow.Selection.PasteAndFormat(0)
... | 0 |
22,338 | 08/22/2008 13:27:26 | 1,000 | 08/11/2008 12:41:19 | 332 | 16 | How do people choose product names? | I flatter myself that I'm a good programmer, and can get away with graphic design. But something I'm incapable of doing is coming up with good names - and it seems neither are the people I work with. We're now in the slightly ludicrous situation that the product we've been working on for a couple of years is being inst... | business | name | null | null | null | null | open | How do people choose product names?
===
I flatter myself that I'm a good programmer, and can get away with graphic design. But something I'm incapable of doing is coming up with good names - and it seems neither are the people I work with. We're now in the slightly ludicrous situation that the product we've been worki... | 0 |
22,340 | 08/22/2008 13:27:53 | 2,440 | 08/22/2008 10:47:46 | 1 | 0 | WCF push to client through firewall? | I need to use push-technology with WCF through client firewalls. This must be a common problem, and I know for a fact it works in theory (see links below), but I have failed to get it working, and I haven't been able to find a code sample that demonstrates it.
Requirements:
- WCF
- Clients connects to server th... | .net | wcf | firewall | push | duplex | null | open | WCF push to client through firewall?
===
I need to use push-technology with WCF through client firewalls. This must be a common problem, and I know for a fact it works in theory (see links below), but I have failed to get it working, and I haven't been able to find a code sample that demonstrates it.
Requirements: ... | 0 |
22,346 | 08/22/2008 13:30:25 | 324 | 08/04/2008 16:46:29 | 53 | 2 | How do I extract/insert text into RTF string in C# | In a C# console app I have the need to extract the text from an RTF string, add some more text to it, and then convert it back into RTF. I have been able to do this using the System.Windows.Forms.RichTexBox class, but I find it a bit odd to use a Forms control in a non-Forms app. Any better way to do this? | c# | rtf | null | null | null | null | open | How do I extract/insert text into RTF string in C#
===
In a C# console app I have the need to extract the text from an RTF string, add some more text to it, and then convert it back into RTF. I have been able to do this using the System.Windows.Forms.RichTexBox class, but I find it a bit odd to use a Forms control in... | 0 |
22,354 | 08/22/2008 13:33:37 | 2,470 | 08/22/2008 12:42:38 | 1 | 1 | Sharepoint COMException 0x81020037 | I am working on a SharePoint application that supports importing multiple documents in a single operation. I also have an ItemAdded event handler that performs some basic maintenance of the item metadata. This event fires for both imported documents and manually created ones. The final piece of the puzzle is a batch... | sharepoint | multithreading | null | null | null | null | open | Sharepoint COMException 0x81020037
===
I am working on a SharePoint application that supports importing multiple documents in a single operation. I also have an ItemAdded event handler that performs some basic maintenance of the item metadata. This event fires for both imported documents and manually created ones. ... | 0 |
22,356 | 08/22/2008 13:34:02 | 1,490 | 08/15/2008 21:35:24 | 172 | 35 | Cleanest Way to Invoke Cross-Thread Events | I find that the .NET event model is such that I'll often be raising an event on one thread and listening for it on another thread. I was wondering what the cleanest way to marshal an event from a background thread onto my UI thread is.
Currently I use code like this:
delegate void CoolObject_CoolEventCallbac... | c# | events | multithreading | null | null | null | open | Cleanest Way to Invoke Cross-Thread Events
===
I find that the .NET event model is such that I'll often be raising an event on one thread and listening for it on another thread. I was wondering what the cleanest way to marshal an event from a background thread onto my UI thread is.
Currently I use code like this:
... | 0 |
22,358 | 08/22/2008 13:35:01 | 2,454 | 08/22/2008 11:22:25 | 1 | 0 | How can I develop for iPhone using a Windows development machine? | Is there any way to tinker with the iPhone SDK on a Windows machine? Is there plans for an iPhone SDK version for Windows?
The only other way I can think of doing this is to run a Mac VM image on VMWare server running on Windows, although I'm not too sure how legal this is. | iphone | null | null | null | null | 05/25/2012 15:05:17 | not constructive | How can I develop for iPhone using a Windows development machine?
===
Is there any way to tinker with the iPhone SDK on a Windows machine? Is there plans for an iPhone SDK version for Windows?
The only other way I can think of doing this is to run a Mac VM image on VMWare server running on Windows, although I'm not... | 4 |
22,379 | 08/22/2008 13:40:32 | 486 | 08/06/2008 09:19:11 | 425 | 47 | Implementing a log watcher | I wondering how in C/C++ you can implement a program (similar to tail -f) that watches for new lines added to a log file and then process them? | c++ | c | file | io | null | null | open | Implementing a log watcher
===
I wondering how in C/C++ you can implement a program (similar to tail -f) that watches for new lines added to a log file and then process them? | 0 |
22,401 | 08/22/2008 13:47:43 | 572 | 08/06/2008 20:56:54 | 1,117 | 97 | Does PHP have built-in data structures? | I'm looking at the [PHP Manual][1], and I'm not seeing a section on data structures that most languages have, such as lists and sets. Am I just blind or does PHP not have anything like this built in?
[1]: http://www.php.net/manual/en/ | php | data-structures | null | null | null | null | open | Does PHP have built-in data structures?
===
I'm looking at the [PHP Manual][1], and I'm not seeing a section on data structures that most languages have, such as lists and sets. Am I just blind or does PHP not have anything like this built in?
[1]: http://www.php.net/manual/en/ | 0 |
22,409 | 08/22/2008 13:51:39 | 751 | 08/08/2008 14:26:58 | 78 | 6 | How do I convert images between CMYK and RGB in ColdFusion (java)? | I have a need to convert images from CMYK to RGB - not necessarily back again, but hey, if it can be done...
With the release of ColdFusion 8, we got the [CFImage][1] tag, but it doesn't support this conversion; and nor does [Image.cfc][2], or [Alagad's Image Component][3].
However, it should be possible in Java;... | java | image | coldfusion | null | null | null | open | How do I convert images between CMYK and RGB in ColdFusion (java)?
===
I have a need to convert images from CMYK to RGB - not necessarily back again, but hey, if it can be done...
With the release of ColdFusion 8, we got the [CFImage][1] tag, but it doesn't support this conversion; and nor does [Image.cfc][2], or [... | 0 |
22,417 | 08/22/2008 13:53:46 | 1,975 | 08/19/2008 16:30:04 | 59 | 14 | SQL Query Help - Scoring Multiple Choice Tests | Say I have a Student table, it's got an int ID. I have a fixed set of 10 multiple choice questions with 5 possible answers. I have a normalized answer table that has the question id, the Student.answer (1-5) and the Student.ID
I'm trying to write a single query that will return all scores over a certain pecentage.... | dynamicsql | null | null | null | null | null | open | SQL Query Help - Scoring Multiple Choice Tests
===
Say I have a Student table, it's got an int ID. I have a fixed set of 10 multiple choice questions with 5 possible answers. I have a normalized answer table that has the question id, the Student.answer (1-5) and the Student.ID
I'm trying to write a single query t... | 0 |
22,429 | 08/22/2008 14:04:13 | 2,418 | 08/22/2008 03:32:43 | 1 | 1 | Adding Inline Search function to web page | Is it possible to embed an inline search box into a web page which provides similar functionality to the [IE7Pro Inline Search][1] or similar plugins for Firefox/Safari?
[1]: http://www.ie7pro.com/inline-search.html | javascript | html | null | null | null | null | open | Adding Inline Search function to web page
===
Is it possible to embed an inline search box into a web page which provides similar functionality to the [IE7Pro Inline Search][1] or similar plugins for Firefox/Safari?
[1]: http://www.ie7pro.com/inline-search.html | 0 |
22,431 | 08/22/2008 14:05:05 | 2,169 | 08/20/2008 17:54:21 | 11 | 1 | Search strategies in ORMs | I am looking for information on handling search in different ORMs.
Currently I am redeveloping some old application in PHP and one of requirements is: make everything or almost everything searchable, so user just types "punkrock live" and the app finds videos clips, music tracks, reviews, upcoming events or even use... | search | orm | engine | doctrine | propel | null | open | Search strategies in ORMs
===
I am looking for information on handling search in different ORMs.
Currently I am redeveloping some old application in PHP and one of requirements is: make everything or almost everything searchable, so user just types "punkrock live" and the app finds videos clips, music tracks, revie... | 0 |
22,444 | 08/22/2008 14:10:40 | 305 | 08/04/2008 14:04:19 | 481 | 33 | My regex is matching too much. How do I make it stop? | J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM J0000010: Project name: E:\foo.pf J0000011: Job name: MBiek Direct Mail Test J0000100: Machine name: DEV J0000100: Project file: E:\mbiek\foo.pf J0000100: Template file: E:\mbiek\foot.xdt J0000100: Job name: MBiek J0000100: Output folder: E:\foo\... | regex | null | null | null | null | null | open | My regex is matching too much. How do I make it stop?
===
J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM J0000010: Project name: E:\foo.pf J0000011: Job name: MBiek Direct Mail Test J0000100: Machine name: DEV J0000100: Project file: E:\mbiek\foo.pf J0000100: Template file: E:\mbiek\foot.xdt ... | 0 |
22,459 | 08/22/2008 14:17:01 | 194 | 08/03/2008 10:56:49 | 1,868 | 103 | memset() causing data abort | I'm getting some strange, intermittent, data aborts (< 5% of the time) in some of my code, when calling memset. The problem is that is usually doesn't happen unless the code is running for a couple days, so it's hard to catch it in the act.
I'm using the following code:
char *msg = (char*)malloc(sizeof(char)... | c | c++ | memory | null | null | null | open | memset() causing data abort
===
I'm getting some strange, intermittent, data aborts (< 5% of the time) in some of my code, when calling memset. The problem is that is usually doesn't happen unless the code is running for a couple days, so it's hard to catch it in the act.
I'm using the following code:
char ... | 0 |
22,465 | 08/22/2008 14:19:13 | 635 | 08/07/2008 12:16:06 | 36 | 2 | I'm looking for a Windows hosting provider that supports custom os images (like AMZN EC2) | I've come to love [Amazon's EC2 service][1] and I'm looking for something similar that supports the ability to save a running Windows server image and start new instances from it.
I contacted [GoGrid][2] (the feature is planned in future) and [Mosso][3] (no joy)
Anyone know of any hosting/cloud providers that can... | windows2003server | hosting | virtual | cloud | amazon-ec2 | null | open | I'm looking for a Windows hosting provider that supports custom os images (like AMZN EC2)
===
I've come to love [Amazon's EC2 service][1] and I'm looking for something similar that supports the ability to save a running Windows server image and start new instances from it.
I contacted [GoGrid][2] (the feature is pl... | 0 |
22,466 | 08/22/2008 14:19:49 | 1,446 | 08/15/2008 16:12:45 | 11 | 1 | jQuery AJAX vs. UpdatePanel | We've got a page with a ton of jQuery (approximately 2000 lines) that we want to trim down b/c it is a maintenance nightmare, and it might be easier to maintain on the server. We've thought about using UpdatePanel for this. However, we don't like the fact that the UpdatePanel is sending the whole page back to the ser... | asp.net | jquery | updatepanel | null | null | null | open | jQuery AJAX vs. UpdatePanel
===
We've got a page with a ton of jQuery (approximately 2000 lines) that we want to trim down b/c it is a maintenance nightmare, and it might be easier to maintain on the server. We've thought about using UpdatePanel for this. However, we don't like the fact that the UpdatePanel is sendi... | 0 |
22,469 | 08/22/2008 14:20:35 | 543 | 08/06/2008 15:41:31 | 298 | 20 | What a good machine for iPhone development? | I'm going to be working on some iPhone apps so I've been given a golden ticket to buy a Mac. However the golden ticket isn't worth that much, and I'm thinking iMac. Now, Macs are great, I love 'em and use 'em at home, but I know that the iMac is geared more towards the average consumer than the professional. Is an iMac... | iphone | apple | osx | imac | null | null | open | What a good machine for iPhone development?
===
I'm going to be working on some iPhone apps so I've been given a golden ticket to buy a Mac. However the golden ticket isn't worth that much, and I'm thinking iMac. Now, Macs are great, I love 'em and use 'em at home, but I know that the iMac is geared more towards the a... | 0 |
22,474 | 08/22/2008 14:21:47 | 453,046 | 08/22/2008 10:55:53 | 1 | 0 | How do I display records containing specific information in SQl | How do I select all records that contain "LCS" within the title column in sql. | mssql | null | null | null | null | null | open | How do I display records containing specific information in SQl
===
How do I select all records that contain "LCS" within the title column in sql. | 0 |
22,493 | 08/22/2008 14:28:18 | 205 | 08/03/2008 13:31:27 | 156 | 12 | Using cached credentials to connect to SQL 2005 across a domain boundary | Ever since moving to Vista some time ago on my development machine, connecting to SQL Servers in our DMZ active directory domain from client tools like SSMS has not worked like it used to. In XP, as long as I had authenticated in some way on the server (for example directing Explorer to \\server.dmzdomain\c$ and enter... | mssql | ssms | null | null | null | null | open | Using cached credentials to connect to SQL 2005 across a domain boundary
===
Ever since moving to Vista some time ago on my development machine, connecting to SQL Servers in our DMZ active directory domain from client tools like SSMS has not worked like it used to. In XP, as long as I had authenticated in some way on... | 0 |
22,499 | 08/22/2008 14:29:23 | 2,494 | 08/22/2008 14:29:22 | 1 | 0 | SQL 2005 Book For Optimization Techniques | My knowledge of SQL has been mostly gathered through immediate need as opposed to formal training. The project I'm working on now requires the next level of SQL (specifically SQL Server 2005) knowledge. That is, I need to know techniques for optimizing the schema, writing optimized queries and even some information a... | sql-server | optimization | sql-server-2005 | training | bookmarks | 06/19/2012 19:15:30 | off topic | SQL 2005 Book For Optimization Techniques
===
My knowledge of SQL has been mostly gathered through immediate need as opposed to formal training. The project I'm working on now requires the next level of SQL (specifically SQL Server 2005) knowledge. That is, I need to know techniques for optimizing the schema, writin... | 2 |
22,500 | 08/22/2008 14:29:27 | 572 | 08/06/2008 20:56:54 | 1,139 | 98 | What are the major differences between ANSI C and K&R C? | The [Wikipedia article on ANSI C][1] says:
> One of the aims of the ANSI C standardization process was to produce a superset of K&R C (the first published standard), incorporating many of the unofficial features subsequently introduced. However, the standards committee also included several new features, such as fun... | c | ansi-c | kr-c | null | null | null | open | What are the major differences between ANSI C and K&R C?
===
The [Wikipedia article on ANSI C][1] says:
> One of the aims of the ANSI C standardization process was to produce a superset of K&R C (the first published standard), incorporating many of the unofficial features subsequently introduced. However, the stand... | 0 |
22,503 | 08/22/2008 14:30:33 | 2,496 | 08/22/2008 14:30:33 | 1 | 0 | Formview problem | I have a form view, in the edit template I have two drop downs.
Drop down 1 is explicitly set with a list of allowed values. It is also set to autopostback.
Drop down 2 is databound to an objectdatasource, this objectdatasource uses the first dropdown as one of it's parameters. (The idea is that drop down 1 limits w... | asp.net | formview | null | null | null | null | open | Formview problem
===
I have a form view, in the edit template I have two drop downs.
Drop down 1 is explicitly set with a list of allowed values. It is also set to autopostback.
Drop down 2 is databound to an objectdatasource, this objectdatasource uses the first dropdown as one of it's parameters. (The idea is tha... | 0 |
22,509 | 08/22/2008 14:33:00 | 1,212 | 08/13/2008 13:17:40 | 73 | 3 | ASP.NET gzip compression corrupting CSS | I have an ASP.NET webforms application (3.5 SP1) that I'm working on, and attempting to enable gzip fpr HTML and CSS that comes down the pipe. I'm using [this implementation][1] (and tried a few others that hook into Application_BeginRequest), and it seems to be corrupting the external CSS file that the pages use, but ... | asp.net | compression | gzip | null | null | null | open | ASP.NET gzip compression corrupting CSS
===
I have an ASP.NET webforms application (3.5 SP1) that I'm working on, and attempting to enable gzip fpr HTML and CSS that comes down the pipe. I'm using [this implementation][1] (and tried a few others that hook into Application_BeginRequest), and it seems to be corrupting t... | 0 |
22,514 | 08/22/2008 14:34:40 | 572 | 08/06/2008 20:56:54 | 1,139 | 98 | How much should a "software guy" (or "software gal") know about hardware? | Aside from the software developers working on embedded systems and hardware modeling or any other job that deals with software for or on hardware, how much should a software engineer know about the underlying hardware that they might be developing for? Should it be treated as a black box that just works or should there... | hardware | education | knowledge | null | null | 11/02/2011 18:39:38 | not constructive | How much should a "software guy" (or "software gal") know about hardware?
===
Aside from the software developers working on embedded systems and hardware modeling or any other job that deals with software for or on hardware, how much should a software engineer know about the underlying hardware that they might be deve... | 4 |
22,519 | 08/22/2008 14:38:15 | 2,385 | 08/22/2008 00:18:38 | 8 | 1 | How do I secure a folder used to let users upload files? | I have a folder in my web server used for the user to upload photos.
I don't want to config the folder with Everyone Write permissions because I know that a hacker could put stuff in it, and even if the folder don't have execute permission, the hacker could save big stuff in it, filling the hard drive.
I'm using... | iis | windows-server-2003 | classicasp | null | null | null | open | How do I secure a folder used to let users upload files?
===
I have a folder in my web server used for the user to upload photos.
I don't want to config the folder with Everyone Write permissions because I know that a hacker could put stuff in it, and even if the folder don't have execute permission, the hacker co... | 0 |
22,524 | 08/22/2008 14:39:14 | 2,495 | 08/22/2008 14:30:23 | 1 | 0 | execute shortcuts like programs in powershell | Example: You have a shortcut <code>s</code> to <code>SomeProgram</code> in the current directory.
In <code>cmd.exe</code>, you can type <code>s</code> and it will launch the program.
In PowerShell, typing <code>s</code> gives:
> <code>The term 's' is not recognized as a cmdlet, function, operable program, or scr... | powershell | null | null | null | null | null | open | execute shortcuts like programs in powershell
===
Example: You have a shortcut <code>s</code> to <code>SomeProgram</code> in the current directory.
In <code>cmd.exe</code>, you can type <code>s</code> and it will launch the program.
In PowerShell, typing <code>s</code> gives:
> <code>The term 's' is not recogni... | 0 |
22,528 | 08/22/2008 14:41:20 | 2,490 | 08/22/2008 13:52:54 | 1 | 1 | PHP includes vs OOP | I would like to have a reference for the pros and cons of using include files vs objects(classes) when developing PHP applications.
I know I would benefit from having one place to go for this answer...I have a few opinions of my own but I look forward to hearing others.
A Simple Example:
Certain pages on my site... | php | codingstandards | null | null | null | null | open | PHP includes vs OOP
===
I would like to have a reference for the pros and cons of using include files vs objects(classes) when developing PHP applications.
I know I would benefit from having one place to go for this answer...I have a few opinions of my own but I look forward to hearing others.
A Simple Example:
... | 0 |
10,400,782 | 05/01/2012 16:23:47 | 1,177,788 | 01/30/2012 10:00:04 | 24 | 0 | Getting error in manage categories - not found for attribute "navigation_column" | After tried install one extension and tried uninstall, deleted all their files (extension) - we getting now errors when trying to go in admin > manage categories:
Source model "gomage_navigation/adminhtml_system_config_source_category_column" not found for attribute "navigation_column"
Trace:
#0 /home/vinylshop/... | magento | null | null | null | null | null | open | Getting error in manage categories - not found for attribute "navigation_column"
===
After tried install one extension and tried uninstall, deleted all their files (extension) - we getting now errors when trying to go in admin > manage categories:
Source model "gomage_navigation/adminhtml_system_config_source_categ... | 0 |
10,400,778 | 05/01/2012 16:23:22 | 659,835 | 03/15/2011 01:44:29 | 60 | 3 | Is it possible to set .ToString("C") with a minimum number | So I am curious if its possible for me to use the .ToString("C") method to generate a currency value off of my number, but have it display the value combined with a minimum value.
An example, lets say that my number would never ever go above $1,000.00. However, the values that are usually generated are below like t... | c# | string-formatting | currency | null | null | null | open | Is it possible to set .ToString("C") with a minimum number
===
So I am curious if its possible for me to use the .ToString("C") method to generate a currency value off of my number, but have it display the value combined with a minimum value.
An example, lets say that my number would never ever go above $1,000.00.... | 0 |
10,400,779 | 05/01/2012 16:23:29 | 1,136,542 | 01/07/2012 23:41:32 | 82 | 0 | Compile error concerning variables (scope?) in JSP | Consider this example:
<% int testNumber = 1; %>
//Some HTML goes here
<%=testNumber%>
I get compile error:
testNumber cannot be resolved to a variable
Can someone explain what is going on? | java | jsp | null | null | null | null | open | Compile error concerning variables (scope?) in JSP
===
Consider this example:
<% int testNumber = 1; %>
//Some HTML goes here
<%=testNumber%>
I get compile error:
testNumber cannot be resolved to a variable
Can someone explain what is going on? | 0 |
10,400,791 | 05/01/2012 16:24:23 | 364,516 | 06/11/2010 12:16:41 | 24 | 1 | Flex varargs parameters | I've seen plenty of examples of how to retrieve and pass varargs method parameters in Flex. For instance, we want to pass varargs parameters from a to be:
private function call_a():void {
a("Hello", "Goodbye");
}
private function a(... args:*):void {
trace("a-args: " + format(args));
... | flex | varargs | null | null | null | null | open | Flex varargs parameters
===
I've seen plenty of examples of how to retrieve and pass varargs method parameters in Flex. For instance, we want to pass varargs parameters from a to be:
private function call_a():void {
a("Hello", "Goodbye");
}
private function a(... args:*):void {
trace... | 0 |
10,400,785 | 05/01/2012 16:23:58 | 220,761 | 11/29/2009 06:34:45 | 1,540 | 106 | jQuery delegate click function speed + crash issue in iPad | In iPad ios 5.1, https://s140452.gridserver.com/property/4123 (in landscape view)
Clicking the "show details" button takes about 15 seconds to execute on iPad. Sometimes it crashes mobile safari. It happens instantly in chrome or firefox.
Am I doing something wrong?
$j('#locations').delegate('.sidebar-exp... | jquery | ipad | null | null | null | null | open | jQuery delegate click function speed + crash issue in iPad
===
In iPad ios 5.1, https://s140452.gridserver.com/property/4123 (in landscape view)
Clicking the "show details" button takes about 15 seconds to execute on iPad. Sometimes it crashes mobile safari. It happens instantly in chrome or firefox.
Am I doing ... | 0 |
10,400,795 | 05/01/2012 16:24:52 | 1,368,112 | 05/01/2012 16:01:12 | 1 | 0 | VBA Internet Explorer Automation - How to Select "Open" When Downloading a File | This is my first question ever here on stackoverflow!
I've been searching for a solution to this problem for a while and haven't found any help. I may just be using the wrong keywords in my searches, but so far I've had no luck. Here's the question:
**In VBA, how can I select the "Open" option from the file downl... | vba | automation | internet-explorer-9 | file-download | null | null | open | VBA Internet Explorer Automation - How to Select "Open" When Downloading a File
===
This is my first question ever here on stackoverflow!
I've been searching for a solution to this problem for a while and haven't found any help. I may just be using the wrong keywords in my searches, but so far I've had no luck. Her... | 0 |
10,400,796 | 05/01/2012 16:25:00 | 1,147,879 | 01/13/2012 14:34:39 | 73 | 4 | Is it possible to configure the Output .dbschema of a Database VS | I have a Visual Studio Database project 2010 which output a .dbschema file.
I would like the name of the database to change based on the Configuration.
Is that possible ?
Else I'll have to write a command that manually change the name and put that in the post events and thats a hack.
| database | visual-studio-2010 | database-project | null | null | null | open | Is it possible to configure the Output .dbschema of a Database VS
===
I have a Visual Studio Database project 2010 which output a .dbschema file.
I would like the name of the database to change based on the Configuration.
Is that possible ?
Else I'll have to write a command that manually change the name an... | 0 |
10,400,801 | 05/01/2012 16:25:16 | 726,922 | 04/27/2011 09:26:25 | 101 | 0 | TeX-run-Tex wrong type argument in emacs | I use such a function for compiling LaTeX in emacs (AUCTeX) taken from [here][1] (accepted answer by Jouni K. Seppänen):
<!-- language: lang-lisp -->
(defun run-latexmkk ()
(interactive)
(let ((TeX-save-query nil)
(TeX-process-asynchronous nil)
(master-file (TeX-master-... | emacs | latex | elisp | tex | auctex | null | open | TeX-run-Tex wrong type argument in emacs
===
I use such a function for compiling LaTeX in emacs (AUCTeX) taken from [here][1] (accepted answer by Jouni K. Seppänen):
<!-- language: lang-lisp -->
(defun run-latexmkk ()
(interactive)
(let ((TeX-save-query nil)
(TeX-process-asynchrono... | 0 |
10,400,806 | 05/01/2012 16:25:53 | 1,278,561 | 03/19/2012 12:41:35 | 24 | 0 | Jquery Mobile code for Flickering Navigation with Phone gap | I believe this post is the resolution to my trouble.
http://stackoverflow.com/questions/5953753/flickering-when-navigating-between-pages
Specifically:
$(document).bind("mobileinit", function()
{
if (navigator.userAgent.indexOf("Android") != -1)
{
$.mobile.defaultPageTransition ... | jquery-mobile | phonegap | null | null | null | null | open | Jquery Mobile code for Flickering Navigation with Phone gap
===
I believe this post is the resolution to my trouble.
http://stackoverflow.com/questions/5953753/flickering-when-navigating-between-pages
Specifically:
$(document).bind("mobileinit", function()
{
if (navigator.userAgent.indexOf("And... | 0 |
10,400,807 | 05/01/2012 16:25:55 | 1,171,647 | 01/26/2012 16:01:51 | 1 | 0 | N2 CMS Style Sheet Changes - News Items | We are using the N2 CMS software for our Intranet pretty much out of the box with no customizations. The goal for right now is to allow our Graphics personnel to make changes to the content as well as the styles. I was able to change the font size and color of the News Items list by changing the anchor tag CSS settin... | css | content-management-system | n2 | null | null | null | open | N2 CMS Style Sheet Changes - News Items
===
We are using the N2 CMS software for our Intranet pretty much out of the box with no customizations. The goal for right now is to allow our Graphics personnel to make changes to the content as well as the styles. I was able to change the font size and color of the News Ite... | 0 |
10,400,808 | 05/01/2012 16:26:06 | 1,182,505 | 02/01/2012 10:53:44 | 11 | 0 | Vicidial Installation | I am having problems installing the Vicidial software on a server. I get far enough through the installation untill I am required to input 'os-install' on the vicibox bash line. (I am obviously required to login before hand) I have tried the zypper commands and this is my error message
No such client module live-... | linux | suse | null | null | null | null | open | Vicidial Installation
===
I am having problems installing the Vicidial software on a server. I get far enough through the installation untill I am required to input 'os-install' on the vicibox bash line. (I am obviously required to login before hand) I have tried the zypper commands and this is my error message
... | 0 |
10,400,809 | 05/01/2012 16:26:13 | 1,367,304 | 05/01/2012 06:50:13 | 20 | 0 | What is the advantage of JCXZ? | I have the following code,
Objective:
----------
Display a row of N `*` symbols
Code:
-----
MOV CX, N
MOV AH, 2
MOV DL, '*'
JCXZ END_P
BACK:
INT 21H
LOOP BACK
END_P:
The above example was shown to tell how to use `JCXZ` but I don't get it. Even if I remove ... | dos | 8086 | assembly | null | null | null | open | What is the advantage of JCXZ?
===
I have the following code,
Objective:
----------
Display a row of N `*` symbols
Code:
-----
MOV CX, N
MOV AH, 2
MOV DL, '*'
JCXZ END_P
BACK:
INT 21H
LOOP BACK
END_P:
The above example was shown to tell how to use `JCXZ` b... | 0 |
10,400,296 | 05/01/2012 15:50:59 | 57,159 | 01/20/2009 16:21:54 | 13,121 | 488 | How do to MVVM for vector graphics? | I wish to display some vector graphic and let the user select items.
For augment sake assume I am displaying an office plan that contains
- Walls,
- Corners,
- Doors,
- Windows,
- Desks
I wish to be able to write tests against the view model to check both the “logical” and “physical” layout. E... | wpf | silverlight | design-patterns | mvvm | null | 05/02/2012 15:11:52 | not a real question | How do to MVVM for vector graphics?
===
I wish to display some vector graphic and let the user select items.
For augment sake assume I am displaying an office plan that contains
- Walls,
- Corners,
- Doors,
- Windows,
- Desks
I wish to be able to write tests against the view model to check both... | 1 |
22,538 | 08/22/2008 14:46:07 | 1,842 | 08/18/2008 20:40:25 | 31 | 1 | What's a good 3rd party ASP.NET menu control replacement? | The ASP menu control emits tables instead of div's, and I don't want to bother learning control adapters.
I want it to emit CSS-friendly code, and I need to be able to style the menu items individually.
Nice transition effects are a plus, but at this point I'd settle for something straightforward and reasonably p... | asp.net | css | controls | null | null | null | open | What's a good 3rd party ASP.NET menu control replacement?
===
The ASP menu control emits tables instead of div's, and I don't want to bother learning control adapters.
I want it to emit CSS-friendly code, and I need to be able to style the menu items individually.
Nice transition effects are a plus, but at this ... | 0 |
22,552 | 08/22/2008 14:49:36 | 305 | 08/04/2008 14:04:19 | 498 | 35 | Passing a commented, multi-line (freespace) regex to preg_match | I have a regex that is going to end up being a bit long and it'd make it much easier to read to have it across multiple lines.
I tried this but it just barfs.
preg_match('
^J[0-9]{7}:\s+
(.*?) #Extract the Transaction Start Date msg
\s... | php | regex | null | null | null | null | open | Passing a commented, multi-line (freespace) regex to preg_match
===
I have a regex that is going to end up being a bit long and it'd make it much easier to read to have it across multiple lines.
I tried this but it just barfs.
preg_match('
^J[0-9]{7}:\s+
(.*?) ... | 0 |
22,570 | 08/22/2008 14:53:47 | 1,219 | 08/13/2008 13:44:47 | 1,059 | 68 | What's a good way to check if two datetimes are on the same calendar day in TSQL? | Here is the issue I am having: I have a large query that needs to compare datetimes in the where clause to see if two dates are on the same day. My current solution, which sucks, is to send the datetimes into a UDF to convert them to midnight of the same day, and then check those dates for equality. When it comes to ... | mssql | tsql | sql | udf | null | null | open | What's a good way to check if two datetimes are on the same calendar day in TSQL?
===
Here is the issue I am having: I have a large query that needs to compare datetimes in the where clause to see if two dates are on the same day. My current solution, which sucks, is to send the datetimes into a UDF to convert them t... | 0 |
22,577 | 08/22/2008 14:55:59 | 1,154 | 08/12/2008 23:39:07 | 288 | 36 | Search Plugin for Safari | Anyone know is we can create a search plug in for Safari. Like [this post][1]
[1]: http://stackoverflow.com/questions/20830/firefox-users-here-is-your-stackoverflow-search-plugin | safari | search | null | null | null | null | open | Search Plugin for Safari
===
Anyone know is we can create a search plug in for Safari. Like [this post][1]
[1]: http://stackoverflow.com/questions/20830/firefox-users-here-is-your-stackoverflow-search-plugin | 0 |
22,590 | 08/22/2008 15:02:06 | 1,432 | 08/15/2008 15:33:54 | 581 | 21 | How do I cluster an upload folder with ASP.Net? | We have a situation where users are allowed to upload content, and then separately make some changes, then submit a form based on those changes.
This works fine in a single-server, non-failover environment, however we would like some sort of solution for sharing the files between servers that supports failover.
H... | asp.net | iis6 | clustering | failover | server2003 | null | open | How do I cluster an upload folder with ASP.Net?
===
We have a situation where users are allowed to upload content, and then separately make some changes, then submit a form based on those changes.
This works fine in a single-server, non-failover environment, however we would like some sort of solution for sharing t... | 0 |
22,607 | 08/22/2008 15:08:50 | 1,367 | 08/14/2008 18:33:20 | 321 | 22 | Virtual Mac? | I’m thinking about trying some development for the iPhone, is it possible to install Leopard inside VMWare? I already have a pretty high spec PC with a comfy setup that I’d like to use, or do I need to buy a real Mac? | osx | iphone | virtualization | null | null | null | open | Virtual Mac?
===
I’m thinking about trying some development for the iPhone, is it possible to install Leopard inside VMWare? I already have a pretty high spec PC with a comfy setup that I’d like to use, or do I need to buy a real Mac? | 0 |
22,617 | 08/22/2008 15:10:46 | 2,504 | 08/22/2008 15:10:26 | 1 | 0 | Format numbers to strings in Python | I need to find out how to format numbers as strings. My code is here:
return str(hours)+":"+str(minutes)+":"+str(seconds)+" "+ampm
Hours and minutes are integers, and seconds is a float. the str() function will convert all of these numbers to the tenths (0.1) place. So instead of my string outputting "5:30:... | python | null | null | null | null | null | open | Format numbers to strings in Python
===
I need to find out how to format numbers as strings. My code is here:
return str(hours)+":"+str(minutes)+":"+str(seconds)+" "+ampm
Hours and minutes are integers, and seconds is a float. the str() function will convert all of these numbers to the tenths (0.1) place. ... | 0 |
22,623 | 08/22/2008 15:12:15 | 357 | 08/05/2008 01:29:23 | 945 | 60 | .NET - Throwing Exceptions best practices | What are the best practices to consider when catching exceptions, and re-throwing them. I want to make sure that the Exception object's InnerException and stack trace are preserved. Is there a difference between the following code blocks in how they handle this?
try
{
//some code
}
catch ... | .net | error-handling | null | null | null | null | open | .NET - Throwing Exceptions best practices
===
What are the best practices to consider when catching exceptions, and re-throwing them. I want to make sure that the Exception object's InnerException and stack trace are preserved. Is there a difference between the following code blocks in how they handle this?
try... | 0 |
22,674 | 08/22/2008 15:33:39 | 184 | 08/03/2008 05:34:19 | 649 | 8 | What are the main differences between programming for windows XP and for Vista? | From a desktop application developer point of view, is there any difference between developing for windows XP and developing for windows Vista?
| windows | windows-vista | xp | null | null | null | open | What are the main differences between programming for windows XP and for Vista?
===
From a desktop application developer point of view, is there any difference between developing for windows XP and developing for windows Vista?
| 0 |
22,676 | 08/22/2008 15:34:13 | 2,109 | 08/20/2008 12:02:54 | 83 | 5 | How do I download a file over HTTP using Python? | I have a small utility that I use to download an MP3 from a website on a schedule and then builds/updates a podcast XML file which I've obviously added to iTunes.
The text processing that creates/updates the XML file is written in Python. I use wget inside a Windows .bat file to download the actual MP3 however. I ... | python | podcast | podcasting | null | null | null | open | How do I download a file over HTTP using Python?
===
I have a small utility that I use to download an MP3 from a website on a schedule and then builds/updates a podcast XML file which I've obviously added to iTunes.
The text processing that creates/updates the XML file is written in Python. I use wget inside a Win... | 0 |
22,687 | 08/22/2008 15:41:08 | 2,118 | 08/20/2008 12:54:09 | 166 | 4 | Alternative SSH Application to Plink | I have recently started having problems with TortoiseCVS, or more specifically with plink, the SSH application that comes with it. The IP address it tries to connect to can not be changed and is stuck with the old CVS repository's IP. Downloading plink from it's home site and calling from the command line still has thi... | cvs | ssh | tortoisecvs | plink | null | null | open | Alternative SSH Application to Plink
===
I have recently started having problems with TortoiseCVS, or more specifically with plink, the SSH application that comes with it. The IP address it tries to connect to can not be changed and is stuck with the old CVS repository's IP. Downloading plink from it's home site and c... | 0 |
22,694 | 08/22/2008 15:44:28 | 1,960 | 08/19/2008 15:42:31 | 324 | 10 | Use of 3rd party libraries/components in production | When using 3rd party libraries/components in production projects, are you rigorous about using only released versions of said libraries?
When do you consider using a pre-release or beta version of a library (in dev? in production, under certain circumstances)?
If you come across a bug or shortcoming of the libr... | bestpractices | null | null | null | null | null | open | Use of 3rd party libraries/components in production
===
When using 3rd party libraries/components in production projects, are you rigorous about using only released versions of said libraries?
When do you consider using a pre-release or beta version of a library (in dev? in production, under certain circumstances)?... | 0 |
22,697 | 08/22/2008 15:45:11 | 2,030 | 08/19/2008 21:25:22 | 21 | 2 | What's the best mock framework for Java? | What's the best framework for creating mock objects in Java? Why? What are the pros and cons of each framework? | java | mocking | null | null | null | 10/01/2011 12:19:41 | not constructive | What's the best mock framework for Java?
===
What's the best framework for creating mock objects in Java? Why? What are the pros and cons of each framework? | 4 |
22,704 | 08/22/2008 15:48:44 | 290 | 08/04/2008 12:57:50 | 341 | 45 | How do you tackle web application performance improvement? | The web application in question uses an Oracle database. The main functionality the application delivers is in reporting, where a user can get PDFs of reports at a high level and drill down to lower levels of supporting details.
As the number of supporting detail records has grown into the millions, the performance... | performance | oracle | web-application | null | null | null | open | How do you tackle web application performance improvement?
===
The web application in question uses an Oracle database. The main functionality the application delivers is in reporting, where a user can get PDFs of reports at a high level and drill down to lower levels of supporting details.
As the number of suppor... | 0 |
22,708 | 08/22/2008 15:49:53 | 940 | 08/10/2008 19:58:38 | 195 | 5 | How do I find the Excel column name that corresponds to a given integer? | How would you determine the column name (e.g. "AQ" or "BH") of the nth column in Excel? | excel | algorithm | language-agnostic | null | null | null | open | How do I find the Excel column name that corresponds to a given integer?
===
How would you determine the column name (e.g. "AQ" or "BH") of the nth column in Excel? | 0 |
22,720 | 08/22/2008 15:58:13 | 2,362 | 08/21/2008 20:46:43 | 3 | 1 | How to configure a Java Socket to fail-fast on disconnect | I have a listening port on my server that I'm connecting to using a Java class and the Socket interface, i.e.
Socket mySocket = new Socket(host,port);
I then grab an OutputStream, decorate with a PrintWriter in autoflush mode and I'm laughing - except if the listening port closes. Then I get
tcp4 ... | java | socket | networking | exception | null | null | open | How to configure a Java Socket to fail-fast on disconnect
===
I have a listening port on my server that I'm connecting to using a Java class and the Socket interface, i.e.
Socket mySocket = new Socket(host,port);
I then grab an OutputStream, decorate with a PrintWriter in autoflush mode and I'm laughing - ex... | 0 |
22,732 | 08/22/2008 16:03:00 | 636 | 08/07/2008 12:32:33 | 283 | 24 | PowerShell - How do I pass string parameters correctly? | Is there documentation or an article on the rules for passing strings into PowerShell functions? I just trying to do some string concatenation/formatting, but it's putting all the parameters into the first placeholder.
**Code**
function CreateAppPoolScript([string]$AppPoolName, [string]$AppPoolUser, [string]$... | string | powershell | parameters | arguments | null | null | open | PowerShell - How do I pass string parameters correctly?
===
Is there documentation or an article on the rules for passing strings into PowerShell functions? I just trying to do some string concatenation/formatting, but it's putting all the parameters into the first placeholder.
**Code**
function CreateAppPoo... | 0 |
22,764 | 08/22/2008 16:09:50 | 1,190 | 08/13/2008 12:15:38 | 547 | 47 | How does Ruby 1.9 handle character cases in source code? | In Ruby 1.8 and earlier,
Foo
is a constant (a Class, a Module, or another constant). Whereas
foo
is a variable. The key difference is as follows:
module Foo
bar = 7
BAZ = 8
end
Foo::BAZ
# => 8
Foo::bar
# NoMethodError: undefined method 'bar' for Fo... | ruby | utf8 | encoding | null | null | null | open | How does Ruby 1.9 handle character cases in source code?
===
In Ruby 1.8 and earlier,
Foo
is a constant (a Class, a Module, or another constant). Whereas
foo
is a variable. The key difference is as follows:
module Foo
bar = 7
BAZ = 8
end
Foo::BAZ
# => 8
... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.