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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37,122 | 08/31/2008 21:22:51 | 1,191 | 08/13/2008 12:16:32 | 31 | 1 | Make Browser Window Blink in Task Bar | How do I make a user's browser blink/flash/highlight in the task bar using JavaScript? For example, if I make an AJAX request every 10 seconds to see if the user has any new messages on the server, I want the user to know it right away, even if he is using another application at the time. | javascript | browser | null | null | null | null | open | Make Browser Window Blink in Task Bar
===
How do I make a user's browser blink/flash/highlight in the task bar using JavaScript? For example, if I make an AJAX request every 10 seconds to see if the user has any new messages on the server, I want the user to know it right away, even if he is using another application ... | 0 |
37,133 | 08/31/2008 21:34:19 | 3,631 | 08/29/2008 16:06:08 | 91 | 10 | "Programming" for a 9 year old | I am looking for recommendations on a web site/software for providing an introduction to programming concepts for my 9 year old.
I remember using Logo/turtle graphics at a similar age and would love a simple self-contained web site that gave a number of step-by-step tutorials. There is some neat current generatio... | children | null | null | null | null | 03/08/2012 23:07:44 | not constructive | "Programming" for a 9 year old
===
I am looking for recommendations on a web site/software for providing an introduction to programming concepts for my 9 year old.
I remember using Logo/turtle graphics at a similar age and would love a simple self-contained web site that gave a number of step-by-step tutorials. ... | 4 |
37,139 | 08/31/2008 21:37:48 | 3,305 | 08/27/2008 18:56:35 | 176 | 12 | How do you maintain a project schedule? | One of the elements of the [Joel Test][1] is that you have an up to date schedule. How do you create and maintain your project schedule? How often is it updated?
[1]: http://www.joelonsoftware.com/articles/fog0000000043.html | project-management | project-planning | null | null | null | null | open | How do you maintain a project schedule?
===
One of the elements of the [Joel Test][1] is that you have an up to date schedule. How do you create and maintain your project schedule? How often is it updated?
[1]: http://www.joelonsoftware.com/articles/fog0000000043.html | 0 |
37,141 | 08/31/2008 21:40:39 | 3,653 | 08/29/2008 17:35:20 | 11 | 2 | Event handling in Dojo | Hello All: Apologies in advance for the appaling long post (and pretty applaing code, too).
Taking Jeff Atwood's [advice](http://www.codinghorror.com/blog/archives/001163.html), I decided to use a JavaScript library for the very basic to-do list application I'm writing. I picked the [Dojo toolkit](http://dojotoolkit... | javascript | dojo | dijit | null | null | null | open | Event handling in Dojo
===
Hello All: Apologies in advance for the appaling long post (and pretty applaing code, too).
Taking Jeff Atwood's [advice](http://www.codinghorror.com/blog/archives/001163.html), I decided to use a JavaScript library for the very basic to-do list application I'm writing. I picked the [Dojo... | 0 |
37,142 | 08/31/2008 21:41:24 | 3,855 | 08/31/2008 11:44:40 | 1 | 0 | How to make Ruby or Python web sites to use multiple cores? | Even though [Python][1] and [Ruby][2] have one kernel thread per interpreter thread, they have a global interpreter lock (GIL) that is used to protect potentially shared data structures, so this inhibits multi-processor execution. Even though the portions in those languajes that are written in C or C++ can be free-thre... | python | ruby | multithreading | multicore | null | null | open | How to make Ruby or Python web sites to use multiple cores?
===
Even though [Python][1] and [Ruby][2] have one kernel thread per interpreter thread, they have a global interpreter lock (GIL) that is used to protect potentially shared data structures, so this inhibits multi-processor execution. Even though the portions... | 0 |
37,157 | 08/31/2008 21:55:35 | 1,384,652 | 08/01/2008 12:01:23 | 1,816 | 86 | Caching MySQL queries | Is there a simple way to cache MySQL queries in PHP or failing that, is there a small class set that someone has written and made available that will do it? I can cache a whole page but that won't work as some data changes but some does not, I want to cache the part that does not. | php | mysql | caching | null | null | null | open | Caching MySQL queries
===
Is there a simple way to cache MySQL queries in PHP or failing that, is there a small class set that someone has written and made available that will do it? I can cache a whole page but that won't work as some data changes but some does not, I want to cache the part that does not. | 0 |
37,162 | 08/31/2008 22:00:25 | 3,915 | 08/31/2008 21:34:28 | 1 | 0 | How do I make an HTML page print in landscape when the user selects 'print'? | We generate web pages that should always be printed in landscape mode. Web browser print dialogs default to portrait, so for every print job the user has to manually select landscape. It's minor, but would be nice for the user if we can remove this unnecessary step.
Thanks in advance to all respondents. | html | print | landscape | portrait | null | null | open | How do I make an HTML page print in landscape when the user selects 'print'?
===
We generate web pages that should always be printed in landscape mode. Web browser print dialogs default to portrait, so for every print job the user has to manually select landscape. It's minor, but would be nice for the user if we can r... | 0 |
37,185 | 08/31/2008 22:22:58 | 3,712 | 08/30/2008 09:04:55 | 1 | 0 | What's the idiomatic way to do async socket programming in Delphi? | What is the normal way people writing network code in Delphi use Windows-style overlapped asynchronous socket I/O?
Here's my prior research into this question:
The [Indy][1] components seem entirely synchronous. On the other hand, while ScktComp unit does use WSAAsyncSelect, it basically only asynchronizes a BSD-... | delphi | sockets | winapi | networking | asynchronous | null | open | What's the idiomatic way to do async socket programming in Delphi?
===
What is the normal way people writing network code in Delphi use Windows-style overlapped asynchronous socket I/O?
Here's my prior research into this question:
The [Indy][1] components seem entirely synchronous. On the other hand, while ScktC... | 0 |
37,189 | 08/31/2008 22:28:22 | 1,203 | 08/13/2008 12:55:14 | 1 | 0 | C# console program can't send fax when run as a scheduled task | I have a console program written in C# that I am using to send faxes. When I step through the program in Visual Studio it works fine. When I double click on the program in Windows Explorer it works fine. When I setup a Windows scheduled task to run the program it fails with this in the event log.
EventType cl... | c# | console | fax | null | null | null | open | C# console program can't send fax when run as a scheduled task
===
I have a console program written in C# that I am using to send faxes. When I step through the program in Visual Studio it works fine. When I double click on the program in Windows Explorer it works fine. When I setup a Windows scheduled task to run ... | 0 |
37,198 | 08/31/2008 22:37:32 | 3,576 | 08/29/2008 06:56:00 | 53 | 1 | What is the best way to get OS specific information in Java? | Specifically getting on Windows the "..\Documents & Settings/All Users,
the current users My Documents dirctory,
and basicaly any path that needs the front end to be dynamically derived based on the OS your software is running on. | java | null | null | null | null | null | open | What is the best way to get OS specific information in Java?
===
Specifically getting on Windows the "..\Documents & Settings/All Users,
the current users My Documents dirctory,
and basicaly any path that needs the front end to be dynamically derived based on the OS your software is running on. | 0 |
37,219 | 08/31/2008 22:51:21 | 3,146 | 08/27/2008 00:25:15 | 41 | 5 | How do you remove a specific revision in the git history? | Suppose you git history looks like this:
1
2
3
4
5
Where 1-5 are separate revisions. You need to remove 3 while still keeping 1, 2, 4 and 5. How to do it?
Is there an efficient method when there are hundreds of revisions after the one to be deleted? | git | null | null | null | null | null | open | How do you remove a specific revision in the git history?
===
Suppose you git history looks like this:
1
2
3
4
5
Where 1-5 are separate revisions. You need to remove 3 while still keeping 1, 2, 4 and 5. How to do it?
Is there an efficient method when there are hundreds of revisions after the one to be del... | 0 |
37,248 | 08/31/2008 23:18:41 | 708 | 08/08/2008 06:10:02 | 489 | 14 | C# Preprocessor | While the C# spec does include a pre-processor and basic directives (#define, #if, etc), the language does not have the same flexible pre-processor found in languages such as C/C++. I believe the lack of such a flexible pre-processor was a design decision made by Anders Hejlsberg (although, unfortunately, I can't find ... | c# | null | null | null | null | null | open | C# Preprocessor
===
While the C# spec does include a pre-processor and basic directives (#define, #if, etc), the language does not have the same flexible pre-processor found in languages such as C/C++. I believe the lack of such a flexible pre-processor was a design decision made by Anders Hejlsberg (although, unfortu... | 0 |
37,263 | 08/31/2008 23:39:48 | 1,588 | 08/17/2008 01:05:22 | 243 | 10 | Where does "Change Management" end and "Project Failure" begin? | I got into a mini-argument with my boss recently regarding "project failure." After three years, our project to migrate a codebase to a new platform (a project I was on for 1.5 years, but my team lead was on for only a few months) went live. He, along with senior management of both my company and the client (I'm one of... | project-management | project-failure | change-management | null | null | null | open | Where does "Change Management" end and "Project Failure" begin?
===
I got into a mini-argument with my boss recently regarding "project failure." After three years, our project to migrate a codebase to a new platform (a project I was on for 1.5 years, but my team lead was on for only a few months) went live. He, along... | 0 |
37,271 | 08/31/2008 23:50:24 | 2,443 | 08/22/2008 10:53:30 | 226 | 22 | What's the best way to persist data in a Java Desktop Application? | I have a large tree of Java Objects in my Desktop Application and am trying to decide on the best way of persisting them as a file to the file system.
Some thoughts I've had were:
- **Roll my own serializer using DataOutputStream**: This would give me the greatest control of what was in the file, but at the cost... | java | persistence | desktop | oop | null | null | open | What's the best way to persist data in a Java Desktop Application?
===
I have a large tree of Java Objects in my Desktop Application and am trying to decide on the best way of persisting them as a file to the file system.
Some thoughts I've had were:
- **Roll my own serializer using DataOutputStream**: This wou... | 0 |
37,275 | 08/31/2008 23:57:08 | 1,208 | 08/13/2008 13:11:36 | 144 | 22 | SQL Query for Logins | What is the SQL query to select all of the MSSQL Server's logins? | sql | null | null | null | null | null | open | SQL Query for Logins
===
What is the SQL query to select all of the MSSQL Server's logins? | 0 |
37,296 | 09/01/2008 00:17:45 | 279 | 08/04/2008 11:30:57 | 498 | 49 | How to robustly, but minimally, distribute items across a peer-to-peer system | If one has a peer-to-peer system that can be queried, one would like to
- reduce the total number of queries across the network (by distributing "popular" items widely and "similar" items together)
- avoid excess storage at each node
- assure good availability to even moderately rare items in the face of c... | p2p | machinelearning | language-agnostic | distributed | fault-tolerance | null | open | How to robustly, but minimally, distribute items across a peer-to-peer system
===
If one has a peer-to-peer system that can be queried, one would like to
- reduce the total number of queries across the network (by distributing "popular" items widely and "similar" items together)
- avoid excess storage at eac... | 0 |
37,299 | 09/01/2008 00:18:18 | 1,043 | 08/11/2008 18:08:32 | 1,335 | 56 | XCode equivalent of ' __asm int 3 / DebugBreak() / Halt ? | What's the instruction to cause a hard-break in XCode? For example under Visual Studio I could do '_asm int 3' or 'DebugBreak()'. Under some GCC implementations it's asm("break 0") or asm("trap").
I've tried various combos under XCode without any luck. (inline assembler works fine so it's not a syntax issue).
For... | xcode | osx | null | null | null | null | open | XCode equivalent of ' __asm int 3 / DebugBreak() / Halt ?
===
What's the instruction to cause a hard-break in XCode? For example under Visual Studio I could do '_asm int 3' or 'DebugBreak()'. Under some GCC implementations it's asm("break 0") or asm("trap").
I've tried various combos under XCode without any luck. (... | 0 |
37,306 | 09/01/2008 00:32:32 | 3,191 | 08/27/2008 12:32:21 | 156 | 6 | Is there a good way to use an OS-dependent font in Windows Forms? | I'd like to use Segoe UI 9 pt on Vista, and Tahoma 8 pt on Windows XP/etc. (Actually, I'd settle for Segoe UI on both, but my users probably don't have it installed.) But, these being quite different, they really screw up the layout of my forms. So... is there a good way to deal with this?
An example: I have a `Labe... | winforms | .net | fonts | gui | layout | null | open | Is there a good way to use an OS-dependent font in Windows Forms?
===
I'd like to use Segoe UI 9 pt on Vista, and Tahoma 8 pt on Windows XP/etc. (Actually, I'd settle for Segoe UI on both, but my users probably don't have it installed.) But, these being quite different, they really screw up the layout of my forms. So.... | 0 |
37,310 | 09/01/2008 00:40:03 | 3,576 | 08/29/2008 06:56:00 | 53 | 1 | Checking the results of a Factory in a unit test | I have developed some classes with similar behavior, they all implement the same interface. I implemented a factory that creates the appropriate object and returns the interface. I am writing a unit test for the factory. All you get back is an interface to the object.
What is the best way to test that the factory h... | unit-testing | tdd | java | null | null | null | open | Checking the results of a Factory in a unit test
===
I have developed some classes with similar behavior, they all implement the same interface. I implemented a factory that creates the appropriate object and returns the interface. I am writing a unit test for the factory. All you get back is an interface to the ob... | 0 |
37,317 | 09/01/2008 00:48:03 | 3,452 | 08/28/2008 16:16:17 | 91 | 4 | How do you return the focus to the last used control after clicking a button in a winform app? | I'm working on a windows forms application (C#) where a user is entering data in a form. At any point while editing the data in the form the user can click one of the buttons on the form to perform certain actions. By default the focus goes to the clicked button so the user has to click back on to the control they wa... | c# | winforms | null | null | null | null | open | How do you return the focus to the last used control after clicking a button in a winform app?
===
I'm working on a windows forms application (C#) where a user is entering data in a form. At any point while editing the data in the form the user can click one of the buttons on the form to perform certain actions. By ... | 0 |
37,324 | 09/01/2008 01:00:24 | 2,975 | 08/26/2008 09:40:04 | 208 | 19 | What is the syntax for an inner join in linq to sql? | I'm writing a linq to sql statement & I'm just after the standard syntax for a normal inner join with an 'on' clause in C#.
ie how do you represent this in LINQ to SQL?:
SELECT * FROM table1
inner join table2 on table1.field table2.field | linq-to-sql | c# | .net | null | null | null | open | What is the syntax for an inner join in linq to sql?
===
I'm writing a linq to sql statement & I'm just after the standard syntax for a normal inner join with an 'on' clause in C#.
ie how do you represent this in LINQ to SQL?:
SELECT * FROM table1
inner join table2 on table1.field table2.field | 0 |
37,335 | 09/01/2008 01:10:03 | 3,827 | 08/31/2008 04:42:17 | 1 | 5 | How to deal with "java.lang.OutOfMemoryError: Java heap space" error (64MB heap size) | I am writing a client-side Swing application (graphical font designer) on Java 5. Recently, I am running into "java.lang.OutOfMemoryError: Java heap space" error because I am not being conservative on memory usage. The user can open unlimited number of files, and the program keeps the opened objects in the memory. Afte... | java | jvm | heap | tuning | outofmemoryerror | null | open | How to deal with "java.lang.OutOfMemoryError: Java heap space" error (64MB heap size)
===
I am writing a client-side Swing application (graphical font designer) on Java 5. Recently, I am running into "java.lang.OutOfMemoryError: Java heap space" error because I am not being conservative on memory usage. The user can o... | 0 |
37,337 | 09/01/2008 01:12:31 | 3,836 | 08/31/2008 08:07:03 | 141 | 3 | Beyond GoF design patterns | Do you frequently use design patterns outside the [Gang of Four design patterns book][1]? If so, where did you pick them up from?
[1]: http://www.amazon.com/Design-Patterns-Object-Oriented-Addison-Wesley-Professional/dp/0201633612 | design-patterns | null | null | null | null | null | open | Beyond GoF design patterns
===
Do you frequently use design patterns outside the [Gang of Four design patterns book][1]? If so, where did you pick them up from?
[1]: http://www.amazon.com/Design-Patterns-Object-Oriented-Addison-Wesley-Professional/dp/0201633612 | 0 |
37,343 | 09/01/2008 01:23:51 | 255 | 08/04/2008 05:46:02 | 414 | 9 | Wordpress MediaWiki Cookie Integration | I have my Wordpress install and MediaWiki [sharing the same login information][1]. Unfortunately users need to log into both separately, but at least they use the same credentials.
What I would like to do is cause a successful log in on the Wordpress blog to also cause a log in for MediaWiki (ideally both directi... | php | wordpress | lamp | mediawiki | null | null | open | Wordpress MediaWiki Cookie Integration
===
I have my Wordpress install and MediaWiki [sharing the same login information][1]. Unfortunately users need to log into both separately, but at least they use the same credentials.
What I would like to do is cause a successful log in on the Wordpress blog to also cause ... | 0 |
37,346 | 09/01/2008 01:27:25 | 61 | 08/01/2008 14:21:00 | 1,004 | 79 | Why can't a forward declaration be used for a std::vector? | If I create a class like so:
// B.h
#ifndef _B_H_
#define _B_H_
class B
{
private:
int x;
int y;
};
#endif // _B_H_
and use it like this:
// main.cpp
#include <iostream>
#include <vector>
class B; // Forward declaration.
... | c++ | null | null | null | null | null | open | Why can't a forward declaration be used for a std::vector?
===
If I create a class like so:
// B.h
#ifndef _B_H_
#define _B_H_
class B
{
private:
int x;
int y;
};
#endif // _B_H_
and use it like this:
// main.cpp
#include <iostream>
... | 0 |
37,374 | 09/01/2008 02:13:07 | 2,975 | 08/26/2008 09:40:04 | 265 | 20 | How do you implement caching in Linq to SQL? | This may well end up being a [subjective][1] question, but anyway:
We've just started using LINQ to SQL at work for our DAL & we haven't really come up with a standard for out caching model. Previously we had being using a base 'DAL' class that implemented a cache manager property that all our DAL classes inherited... | .net | sql | linq-to-sql | iis | null | null | open | How do you implement caching in Linq to SQL?
===
This may well end up being a [subjective][1] question, but anyway:
We've just started using LINQ to SQL at work for our DAL & we haven't really come up with a standard for out caching model. Previously we had being using a base 'DAL' class that implemented a cache m... | 0 |
37,375 | 09/01/2008 02:13:52 | 781 | 08/08/2008 21:28:19 | 140 | 10 | How do I unit test a WCF service? | We have a whole bunch of DLLs that give us access to our database and other applications and services.
We've wrapped these DLLs with a thin WCF service layer which our clients then consume.
I'm a little unsure on how to write unit tests that only test the WCF service layer. Should I just write unit tests for the ... | wcf | unit-testing | null | null | null | null | open | How do I unit test a WCF service?
===
We have a whole bunch of DLLs that give us access to our database and other applications and services.
We've wrapped these DLLs with a thin WCF service layer which our clients then consume.
I'm a little unsure on how to write unit tests that only test the WCF service layer. ... | 0 |
37,378 | 09/01/2008 02:16:17 | 2,701 | 08/24/2008 15:51:24 | 138 | 15 | How to convince my co-workers not to use datasets for enterprise development (.NET 2.0+) | Everyone I work with is obsessed with the data-centric approach to enterprise development and hates the idea of using custom collections/objects. What is the best way to convince them otherwise? | oop | ddd | enterprise-development | null | null | null | open | How to convince my co-workers not to use datasets for enterprise development (.NET 2.0+)
===
Everyone I work with is obsessed with the data-centric approach to enterprise development and hates the idea of using custom collections/objects. What is the best way to convince them otherwise? | 0 |
37,381 | 09/01/2008 02:22:26 | 3,948 | 09/01/2008 01:47:47 | 1 | 1 | What's a good way to write a Cocoa front-end to an Erlang application? | I'm exploring the possibility of writing an application in Erlang, but it would need to have a portion written in Cocoa (presumably Objective-C). I'd like the front-end and back-end to be able to communicate easily. How can this best be done?
I can think of using C ports and connected processes, but I think I'd like... | osx | objectivec | cocoa | erlang | null | null | open | What's a good way to write a Cocoa front-end to an Erlang application?
===
I'm exploring the possibility of writing an application in Erlang, but it would need to have a portion written in Cocoa (presumably Objective-C). I'd like the front-end and back-end to be able to communicate easily. How can this best be done?
... | 0 |
37,388 | 09/01/2008 02:32:47 | 2,566 | 08/22/2008 22:30:40 | 58 | 7 | Having MSDN on a usb key | Is there a way to have msdn documentation on a usb key ?
either web or the MSDN Library program.
i've been setting up my usbkey with portableapps stuff. | msdn | portability | null | null | null | null | open | Having MSDN on a usb key
===
Is there a way to have msdn documentation on a usb key ?
either web or the MSDN Library program.
i've been setting up my usbkey with portableapps stuff. | 0 |
37,391 | 09/01/2008 02:37:53 | 1,384 | 08/14/2008 23:34:44 | 99 | 10 | Arithmetic with Arbitrarily Large Integers in PHP | Ok, so PHP isn't the best language to be dealing with arbitrarily large integers in, considering that it only natively supports 32-bit signed integers. What I'm trying to do though is create a class that could represent an arbitrarily large binary number and be able to perform simple arithmetic operations on two of the... | php | integer | null | null | null | null | open | Arithmetic with Arbitrarily Large Integers in PHP
===
Ok, so PHP isn't the best language to be dealing with arbitrarily large integers in, considering that it only natively supports 32-bit signed integers. What I'm trying to do though is create a class that could represent an arbitrarily large binary number and be abl... | 0 |
37,396 | 09/01/2008 02:44:04 | 2,274 | 08/21/2008 12:44:42 | 113 | 10 | Linux Lightweight Distro and X Windows for Development | I want to build a lightweight linux configuration to use for development. The first idea is to use it inside a Virtual Machine under Windows, or old Laptops with 1Gb RAM top. Maybe even a distributable environment for developers.
So the whole idea is to use a LAMP server, Java Application Server (Tomcat or Jetty) an... | linux | desktop | lightweight | null | null | null | open | Linux Lightweight Distro and X Windows for Development
===
I want to build a lightweight linux configuration to use for development. The first idea is to use it inside a Virtual Machine under Windows, or old Laptops with 1Gb RAM top. Maybe even a distributable environment for developers.
So the whole idea is to use... | 0 |
37,398 | 09/01/2008 02:49:02 | 3,955 | 09/01/2008 02:49:02 | 1 | 0 | How do I make a fully statically linked .exe with Visual Studio Express 2005 ? | My current preferred C++ environment is the free and largely excellent Microsoft Visual Studio 2005 Express edition. From time to time I have sent release .exe files to other people with pleasing results. However recently I made the disturbing discovery that the pleasing results were based on more luck that I would lik... | c++ | visual-studio | linker | null | null | null | open | How do I make a fully statically linked .exe with Visual Studio Express 2005 ?
===
My current preferred C++ environment is the free and largely excellent Microsoft Visual Studio 2005 Express edition. From time to time I have sent release .exe files to other people with pleasing results. However recently I made the dis... | 0 |
37,425 | 09/01/2008 03:39:42 | 1,747 | 08/18/2008 12:12:28 | 101 | 11 | What is the best way to interpret Perfmon analysis into application specific observations/data? | Many of us have used Perfmon tool to do performance analysis. Especially with .Net counters, but there are so many variables going on in Perfmon, that it always becomes hard to interpret Perfmon results in to valuable feedback about my application. I want to use perfmon, (not a tool like [Ants Profiler][1] etc) but how... | .net | performance | perfmon | null | null | null | open | What is the best way to interpret Perfmon analysis into application specific observations/data?
===
Many of us have used Perfmon tool to do performance analysis. Especially with .Net counters, but there are so many variables going on in Perfmon, that it always becomes hard to interpret Perfmon results in to valuable f... | 0 |
37,428 | 09/01/2008 03:47:54 | 3,965 | 09/01/2008 03:39:38 | 1 | 0 | Get back to basics. How do I get back into C++? | I haven't used C++ since college. Even though I've wanted to I haven't needed to do any until I started wanting to write plugins for Launchy. Is there a good book to read to get back into it? My experience since college is mainly C# and recently ruby. I bought some book for C# developers and it ended up being on ho... | c++ | null | null | null | null | null | open | Get back to basics. How do I get back into C++?
===
I haven't used C++ since college. Even though I've wanted to I haven't needed to do any until I started wanting to write plugins for Launchy. Is there a good book to read to get back into it? My experience since college is mainly C# and recently ruby. I bought s... | 0 |
37,441 | 09/01/2008 04:11:42 | 2,147 | 08/20/2008 15:14:13 | 573 | 54 | Reasons for SQL differences | First of all, I should point out that I'm not asking this question for any practical reason. I'm just asking out of sheer curiosity.
Why is it that SQL distributions are so non-standard? I know there's an ANSI standard for SQL, but it just seems that developers of SQL databases go out of their way to find differen... | sql | sql-server | postgresql | null | null | null | open | Reasons for SQL differences
===
First of all, I should point out that I'm not asking this question for any practical reason. I'm just asking out of sheer curiosity.
Why is it that SQL distributions are so non-standard? I know there's an ANSI standard for SQL, but it just seems that developers of SQL databases go ... | 0 |
37,449 | 09/01/2008 04:18:59 | 797 | 08/09/2008 02:14:04 | 743 | 34 | Equivalent to StAX for C | I've used the StAX API in Java quite a bit, and find it quite a clean way of dealing with XML files. Is there any equivalent library I could use for performing similar processing in C? | java | c | xml | null | null | null | open | Equivalent to StAX for C
===
I've used the StAX API in Java quite a bit, and find it quite a clean way of dealing with XML files. Is there any equivalent library I could use for performing similar processing in C? | 0 |
37,464 | 09/01/2008 04:55:58 | 752 | 08/08/2008 14:49:24 | 23 | 3 | iPhone App Minus App Store? | I've been looking into iPhone development, but I've been having problems coming up with the answer to a certain question.
If I create an application on my Mac, is there any way I can get it to run on an iPhone without going through the app store?
It doesn't matter if the iPhone has to be jailbroken, as long as I ... | iphone | null | null | null | null | null | open | iPhone App Minus App Store?
===
I've been looking into iPhone development, but I've been having problems coming up with the answer to a certain question.
If I create an application on my Mac, is there any way I can get it to run on an iPhone without going through the app store?
It doesn't matter if the iPhone ha... | 0 |
37,468 | 09/01/2008 05:05:54 | 3,747 | 08/30/2008 14:33:59 | 62 | 12 | How to Determine the Installed ASP.NET Version of Host from a Web Page | I have a site running in a Windows shared hosting environment. In their control panel for the shared hosting account I have it set to use ASP.NET version 3.0 but it doesn't say 3.5 SP1 specifically.
How can I view the installed version running on the server where my website is hosted in an asp.net page? | asp.net | null | null | null | null | null | open | How to Determine the Installed ASP.NET Version of Host from a Web Page
===
I have a site running in a Windows shared hosting environment. In their control panel for the shared hosting account I have it set to use ASP.NET version 3.0 but it doesn't say 3.5 SP1 specifically.
How can I view the installed version runni... | 0 |
37,471 | 09/01/2008 05:10:08 | 1,343 | 08/14/2008 15:46:01 | 160 | 28 | Is this minimum spanning tree algorithm correct? | The minimum spanning tree problem is to take a connected weighted graph and find the sub set of it's edges with the lowest total weight that keeps the connected restriction but results in an acyclic graph.
The algorithm I am considering is:
- Find all cycles.
- remove the largest edge from each cycle.
The... | algorithm | correctness | null | null | null | null | open | Is this minimum spanning tree algorithm correct?
===
The minimum spanning tree problem is to take a connected weighted graph and find the sub set of it's edges with the lowest total weight that keeps the connected restriction but results in an acyclic graph.
The algorithm I am considering is:
- Find all cycles... | 0 |
37,473 | 09/01/2008 05:15:05 | 456 | 08/05/2008 21:47:05 | 402 | 21 | How can I `assert()` without `abort()`ing? | If I use `assert()` and the assertion fails then `assert()` will call `abort()`, ending the running program abruptly. I can't afford that in my production code. Is there a way to assert in runtime yet be able to catch failed assertions so I have the chance to handle them gracefully? | c++ | null | null | null | null | null | open | How can I `assert()` without `abort()`ing?
===
If I use `assert()` and the assertion fails then `assert()` will call `abort()`, ending the running program abruptly. I can't afford that in my production code. Is there a way to assert in runtime yet be able to catch failed assertions so I have the chance to handle the... | 0 |
37,479 | 09/01/2008 05:17:35 | 1,057 | 08/11/2008 22:41:35 | 41 | 5 | Can I simply decorate an existing instance? | below I have a very simple example of what I'm trying to do. I want to be able to use HTMLDecorator with any other class.
import cgi
class ClassX(object):
pass # ... with own __repr__
class ClassY(object):
pass # ... with own __repr__
inst_x=ClassX()
inst_y=ClassY()
... | python | oop | null | null | null | null | open | Can I simply decorate an existing instance?
===
below I have a very simple example of what I'm trying to do. I want to be able to use HTMLDecorator with any other class.
import cgi
class ClassX(object):
pass # ... with own __repr__
class ClassY(object):
pass # ... with own __repr__... | 0 |
37,483 | 09/01/2008 05:20:41 | 2,601 | 08/23/2008 13:45:18 | 1 | 2 | Calculate Video Duration | I suck at math. I need to figure out how to calculate a video duration with only a few examples of values. For example, a value of 70966 is displayed as 1:10 minutes. A value of 30533 displays as 30 seconds. A value of 7007 displays as 7 seconds. | math | video | calculate | duration | null | 05/03/2012 19:56:34 | off topic | Calculate Video Duration
===
I suck at math. I need to figure out how to calculate a video duration with only a few examples of values. For example, a value of 70966 is displayed as 1:10 minutes. A value of 30533 displays as 30 seconds. A value of 7007 displays as 7 seconds. | 2 |
37,486 | 09/01/2008 05:25:01 | 3,971 | 09/01/2008 05:21:51 | 1 | 0 | Filter out HTML tags and resolve entities in python | Because regular expressions scare me, I'm trying to find a way to remove all HTML tags and resolve HTML entities from a string in Python. | python | html | null | null | null | null | open | Filter out HTML tags and resolve entities in python
===
Because regular expressions scare me, I'm trying to find a way to remove all HTML tags and resolve HTML entities from a string in Python. | 0 |
37,495 | 09/01/2008 05:34:39 | 242 | 08/03/2008 22:55:19 | 382 | 24 | Silverlight enabled browser tracking | I'm trying to get some stats on how many of the visitors to our website have Silverlight enabled browsers.
We currently use Google Analytics for the rest of our stats so ideally we'd like to just add 'Silverlight enabled' tracking in with the rest of our Google Analytics stats. But if it has to get written out ... | silverlight | tracking | google-analytics | null | null | null | open | Silverlight enabled browser tracking
===
I'm trying to get some stats on how many of the visitors to our website have Silverlight enabled browsers.
We currently use Google Analytics for the rest of our stats so ideally we'd like to just add 'Silverlight enabled' tracking in with the rest of our Google Analytics... | 0 |
37,501 | 09/01/2008 05:46:49 | 3,747 | 08/30/2008 14:33:59 | 64 | 13 | List of ASP.NET Versions? | Thanks to a Q&A on stackoverflow I just found out how to determine the installed version on my hosting provider's server. Now I need to know what that number means.
Using <%=Environment.Version%> on my local machine returns 2.0.50727.3053. Which I've found to mean v3.5 SP1.
Can someone give me a list of the versi... | asp.net | null | null | null | null | null | open | List of ASP.NET Versions?
===
Thanks to a Q&A on stackoverflow I just found out how to determine the installed version on my hosting provider's server. Now I need to know what that number means.
Using <%=Environment.Version%> on my local machine returns 2.0.50727.3053. Which I've found to mean v3.5 SP1.
Can some... | 0 |
37,503 | 09/01/2008 05:49:14 | 1,196 | 08/13/2008 12:33:04 | 823 | 46 | Is it possible to convert projects wizard created for MSVS 2005 to MSVS 2008 format autom | I have a bunch of wizards created for MSVS 2005. Is it possible to convert them to MSVS 2008 format automatically? | visual-studio | templates | null | null | null | null | open | Is it possible to convert projects wizard created for MSVS 2005 to MSVS 2008 format autom
===
I have a bunch of wizards created for MSVS 2005. Is it possible to convert them to MSVS 2008 format automatically? | 0 |
37,516 | 09/01/2008 06:13:41 | 45,603 | 08/25/2008 09:52:34 | 64 | 5 | Recursion in Live VC++ Code | Would you use recursion in live VC++ code?
| vc++ | recursion | null | null | null | null | open | Recursion in Live VC++ Code
===
Would you use recursion in live VC++ code?
| 0 |
37,517 | 09/01/2008 06:15:01 | 3,973 | 09/01/2008 06:04:30 | 1 | 1 | Incomplete information card game | I would like to develop a [trick taking](http://en.wikipedia.org/wiki/Trick-taking_game) card game. The game is between four players, one of which is a human and the other three hands are played by the computer.
Where can I read up about developing the AI for such games? | ai | card-game | null | null | null | null | open | Incomplete information card game
===
I would like to develop a [trick taking](http://en.wikipedia.org/wiki/Trick-taking_game) card game. The game is between four players, one of which is a human and the other three hands are played by the computer.
Where can I read up about developing the AI for such games? | 0 |
37,519 | 09/01/2008 06:15:44 | 3,742 | 08/30/2008 14:08:11 | 1 | 2 | Add XML Comments to class properties generated by the LINQ to SQL designer | I used the LINQ to SQL designer in Visual Studio to create an object model of a database. Now, I want to add XML comments to each generated property but I can't figure out how to do it without erasing the properties the next time the dbml file is refreshed.
How can this be done? | xml | linq | null | null | null | null | open | Add XML Comments to class properties generated by the LINQ to SQL designer
===
I used the LINQ to SQL designer in Visual Studio to create an object model of a database. Now, I want to add XML comments to each generated property but I can't figure out how to do it without erasing the properties the next time the dbml ... | 0 |
37,525 | 09/01/2008 06:25:36 | 797 | 08/09/2008 02:14:04 | 743 | 34 | What steps can I give a windows user to make a given file writeable | Imagine we have a program trying to write to a particular file, but failing.
On the Windows platform, what are the possible things which might be causing the file to be un-writable, and what steps could be suggested to an end user/administrator to fix it. | windows | filesystems | null | null | null | null | open | What steps can I give a windows user to make a given file writeable
===
Imagine we have a program trying to write to a particular file, but failing.
On the Windows platform, what are the possible things which might be causing the file to be un-writable, and what steps could be suggested to an end user/administrator... | 0 |
37,529 | 09/01/2008 06:31:32 | 3,462 | 08/28/2008 16:34:01 | 31 | 7 | Simple audio input API on a Mac? | I'd like to pull a stream of PCM samples from a Mac's line-in or built-in mic and do a little live analysis (the exact nature doesn't pertain to this question, but it could be an FFT every so often, or some basic statistics on the sample levels, or what have you).
What's a good fit for this? Writing an AudioUnit th... | osx | audio | null | null | null | null | open | Simple audio input API on a Mac?
===
I'd like to pull a stream of PCM samples from a Mac's line-in or built-in mic and do a little live analysis (the exact nature doesn't pertain to this question, but it could be an FFT every so often, or some basic statistics on the sample levels, or what have you).
What's a good ... | 0 |
37,532 | 09/01/2008 06:36:54 | 2,375 | 08/21/2008 22:37:01 | 3 | 2 | Start Schedulrd Windows Task From SSIS | Does anyone know if you can and how to start off a scheduled Windows task on a Remote Server from within an SSIS package?
Cheers
Nigel | ssis | sql-server | windows | null | null | null | open | Start Schedulrd Windows Task From SSIS
===
Does anyone know if you can and how to start off a scheduled Windows task on a Remote Server from within an SSIS package?
Cheers
Nigel | 0 |
37,535 | 09/01/2008 06:45:40 | 3,715 | 08/30/2008 09:17:39 | 35 | 6 | What's the easiest way to read a FoxPro DBF file from Python? | I've got a bunch of FoxPro (VFP9) DBF files on my Ubuntu system, is there a library to open these in Python? I only need to read them, and would preferably have access to the memo fields too. | python | dbf | vfp | foxpro | null | null | open | What's the easiest way to read a FoxPro DBF file from Python?
===
I've got a bunch of FoxPro (VFP9) DBF files on my Ubuntu system, is there a library to open these in Python? I only need to read them, and would preferably have access to the memo fields too. | 0 |
37,538 | 09/01/2008 06:49:22 | 116 | 08/02/2008 05:51:57 | 4,807 | 211 | (C) How do I determine the size of my array? | i.e., the number of elements the array can hold? | c | memory | null | null | null | null | open | (C) How do I determine the size of my array?
===
i.e., the number of elements the array can hold? | 0 |
37,551 | 09/01/2008 07:01:34 | 3,904 | 08/31/2008 19:51:07 | 1 | 0 | Multiple threads stuck in native calls (Java) | I have a problem with an application running on Fedora Core 6 with JDK 1.5.0_08.
After some amount of uptime (usually some days) threads begin getting stuck in native methods.
The threads are locked in something like this:
"pool-2-thread-2571" prio=1 tid=0x08dd0b28 nid=0x319e waiting for monitor entry [0xb... | java | multithreading | blocked | native-methods | null | null | open | Multiple threads stuck in native calls (Java)
===
I have a problem with an application running on Fedora Core 6 with JDK 1.5.0_08.
After some amount of uptime (usually some days) threads begin getting stuck in native methods.
The threads are locked in something like this:
"pool-2-thread-2571" prio=1 tid=0... | 0 |
37,555 | 09/01/2008 07:04:07 | 1,003 | 08/11/2008 12:44:52 | 1 | 0 | Adding server-side event to extender control | I have an extender control that raises a textbox's OnTextChanged event 500ms after the user has finished typing. The problem with this is that OnTextChanged get raised when the textbox loses focus, which causes problems (because of the postback).
What I'd like to do is give the extender control its own server-side e... | asp.net | .net-3.5 | null | null | null | null | open | Adding server-side event to extender control
===
I have an extender control that raises a textbox's OnTextChanged event 500ms after the user has finished typing. The problem with this is that OnTextChanged get raised when the textbox loses focus, which causes problems (because of the postback).
What I'd like to do ... | 0 |
37,564 | 09/01/2008 07:24:22 | 1,647 | 08/17/2008 18:32:33 | 1 | 1 | What exactly is Appdomain recycling | I am trying to figure out what exactly is Appdomain recycling?
When a aspx page is requested for the first time from a DotNet application, i understand that an appdomain for that app is created, and required assemblies are loaded into that appdomain, and the request will be served.
Now, if the web.config file or the... | asp.net | null | null | null | null | null | open | What exactly is Appdomain recycling
===
I am trying to figure out what exactly is Appdomain recycling?
When a aspx page is requested for the first time from a DotNet application, i understand that an appdomain for that app is created, and required assemblies are loaded into that appdomain, and the request will be ser... | 0 |
37,568 | 09/01/2008 07:30:48 | 925 | 08/10/2008 16:16:15 | 55 | 11 | find duplicate addresses in database, stop users entering them early? | How do I find duplicate addresses in a database, or better stop people already when filling in the form ? I guess the earlier the better?
Is there any good way of abstracting street, postal code etc so that typos and simple attempts to get 2 registrations can be detected? like:
Quellenstrasse 66/11
Que... | database | duplicate | address | sanitization | prevention | null | open | find duplicate addresses in database, stop users entering them early?
===
How do I find duplicate addresses in a database, or better stop people already when filling in the form ? I guess the earlier the better?
Is there any good way of abstracting street, postal code etc so that typos and simple attempts to get 2 ... | 0 |
37,573 | 09/01/2008 07:41:10 | 1,721 | 08/18/2008 09:58:47 | 23 | 3 | Integrating InstantRails with Aptana or any other IDE | So I've been using InstantRails to check out Ruby on rails. I've been using Notepad++ for the editing. Now I don't want to install Ruby or Rails on my machine. Is there any walk through/tutorial on how to integrate Radrails or Netbeans with InstantRails? | ruby | ruby-on-rails | ide | aptana | radrails | null | open | Integrating InstantRails with Aptana or any other IDE
===
So I've been using InstantRails to check out Ruby on rails. I've been using Notepad++ for the editing. Now I don't want to install Ruby or Rails on my machine. Is there any walk through/tutorial on how to integrate Radrails or Netbeans with InstantRails? | 0 |
37,579 | 09/01/2008 07:46:43 | 3,985 | 09/01/2008 07:11:56 | 1 | 0 | Queue alternatives to MSMQ on Windows? | If you want to use a queuing product for durable messaging under Windows, running .NET 2.0 and above, which alternatives to MSMQ exist today? I know of ActiveMQ (http://activemq.apache.org/), and I've seen references to WSMQ (pointing to http://wsmq.net), but the site seems to be down.
Are there any other alternativ... | .net | soa | messaging | msmq | null | null | open | Queue alternatives to MSMQ on Windows?
===
If you want to use a queuing product for durable messaging under Windows, running .NET 2.0 and above, which alternatives to MSMQ exist today? I know of ActiveMQ (http://activemq.apache.org/), and I've seen references to WSMQ (pointing to http://wsmq.net), but the site seems t... | 0 |
37,584 | 09/01/2008 07:52:00 | 377 | 08/05/2008 10:01:14 | 763 | 53 | InfoPath 2003 and the xs:any type | I am implementing exception handling for our BizTalk services, and have run into a fairly major stumbling block.
In order to make the exception processing as generic as possible, and therefore to allow us to use it for any BizTalk application, our XML error schema includes an xs:any node, into which we can place a v... | infopath | xml | form | null | null | null | open | InfoPath 2003 and the xs:any type
===
I am implementing exception handling for our BizTalk services, and have run into a fairly major stumbling block.
In order to make the exception processing as generic as possible, and therefore to allow us to use it for any BizTalk application, our XML error schema includes an x... | 0 |
37,586 | 09/01/2008 07:54:44 | 1,895 | 08/19/2008 07:17:07 | 48 | 9 | Consuming web services from Oracle PL/SQL | Our application is interfacing with a lot of web services these days. We have our own package that someone wrote a few years back using UTL_HTTP and it generally works, but needs some hard-coding of the SOAP envelope to work with certain systems. I would like to make it more generic, but lack experience to know how man... | web-services | oracle | plsql | null | null | null | open | Consuming web services from Oracle PL/SQL
===
Our application is interfacing with a lot of web services these days. We have our own package that someone wrote a few years back using UTL_HTTP and it generally works, but needs some hard-coding of the SOAP envelope to work with certain systems. I would like to make it mo... | 0 |
37,590 | 09/01/2008 08:01:29 | 2,608 | 08/23/2008 14:39:53 | 91 | 7 | How to convert .ICO to .PNG? | What tool can I use to convert a .ICO file to a .PNG file? | graphics | null | null | null | null | null | open | How to convert .ICO to .PNG?
===
What tool can I use to convert a .ICO file to a .PNG file? | 0 |
37,591 | 09/01/2008 08:03:52 | 231 | 08/03/2008 19:35:19 | 75 | 9 | Displaying XML data in a Winfoms control | I would like to display details of an xml error log to a user in a winforms application and am looking for the best control to do the job.
The error data contains all of the sever variables at the time that the error occurred. These have been formatted into an XML document that looks something to the effect of:
... | xml | winforms | formatting | c# | null | null | open | Displaying XML data in a Winfoms control
===
I would like to display details of an xml error log to a user in a winforms application and am looking for the best control to do the job.
The error data contains all of the sever variables at the time that the error occurred. These have been formatted into an XML docume... | 0 |
37,593 | 09/01/2008 08:04:39 | 2,608 | 08/23/2008 14:39:53 | 91 | 7 | Where can I get free Vista style developer graphics? | What is the best source of free Vista style graphics for application development? I want 32x32 and 16x16 that I can use in a Winforms application. | graphics | null | null | null | null | null | open | Where can I get free Vista style developer graphics?
===
What is the best source of free Vista style graphics for application development? I want 32x32 and 16x16 that I can use in a Winforms application. | 0 |
37,597 | 09/01/2008 08:08:16 | 2,608 | 08/23/2008 14:39:53 | 91 | 7 | Why does TreeNodeCollection not implenent IEnumerable<TreeNode>? | TreeNodeCollection, like some of the other control collections in System.Windows.Forms, implements IEnumerable. Is there any design reason behind this or is it just a hangover from the days before generics? | .net | winforms | null | null | null | null | open | Why does TreeNodeCollection not implenent IEnumerable<TreeNode>?
===
TreeNodeCollection, like some of the other control collections in System.Windows.Forms, implements IEnumerable. Is there any design reason behind this or is it just a hangover from the days before generics? | 0 |
37,614 | 09/01/2008 08:23:52 | 1,583 | 08/16/2008 20:54:12 | 1 | 0 | Team Explorer on codeplex anonymously | I was on codeplex and trying to connect to their source control using team explorer. No joy though.
I tried connecting with https or http, using the server name and the project name. As I do not have a user on codeplex I could not login.
I am just trying to check out some code without changing it. My question is... | version-control | tfs | codeplex | null | null | null | open | Team Explorer on codeplex anonymously
===
I was on codeplex and trying to connect to their source control using team explorer. No joy though.
I tried connecting with https or http, using the server name and the project name. As I do not have a user on codeplex I could not login.
I am just trying to check out so... | 0 |
37,628 | 09/01/2008 08:39:21 | 142 | 08/02/2008 12:41:43 | 267 | 17 | Reflection |
What is reflection, and why is it useful?
I'm particularly interested in Java, but I assume the principles are the same in any language(?). | reflection | java | null | null | null | null | open | Reflection
===
What is reflection, and why is it useful?
I'm particularly interested in Java, but I assume the principles are the same in any language(?). | 0 |
37,640 | 09/01/2008 09:04:42 | 3,742 | 08/30/2008 14:08:11 | 1 | 2 | Best GUI tool for documenting a SQL Server DB | What tool(s) do you use to generate documentation for a database (preferably into a .chm help file)? | sql | documentation | null | null | null | null | open | Best GUI tool for documenting a SQL Server DB
===
What tool(s) do you use to generate documentation for a database (preferably into a .chm help file)? | 0 |
37,644 | 09/01/2008 09:10:27 | 1,951 | 08/19/2008 15:06:09 | 670 | 38 | Examining Berkeley DB files from the CLI | I have a set of Berkeley DB files on my Linux file system that I'd like to examine.
What useful tools exist for getting a quick overview of the contents? I can write Perl scripts that use BDB modules for examining them, but I'm looking for some CLI utility to be able to take a look inside without having to start wri... | linux | cli | berkeley-db | null | null | null | open | Examining Berkeley DB files from the CLI
===
I have a set of Berkeley DB files on my Linux file system that I'd like to examine.
What useful tools exist for getting a quick overview of the contents? I can write Perl scripts that use BDB modules for examining them, but I'm looking for some CLI utility to be able to ... | 0 |
37,649 | 09/01/2008 09:19:56 | 890 | 08/10/2008 08:05:36 | 96 | 4 | Swapping column values in MySQL | I have a MySQL table with coordinates, the column names are X and Y. Now I want to swap the column values in this table, so that X becomes Y and Y becomes X. The most apparent solution would be renaming the columns, but I don't want to make structure changes since I don't necessarily have permissions to do that.
Is ... | mysql | database | null | null | null | null | open | Swapping column values in MySQL
===
I have a MySQL table with coordinates, the column names are X and Y. Now I want to swap the column values in this table, so that X becomes Y and Y becomes X. The most apparent solution would be renaming the columns, but I don't want to make structure changes since I don't necessaril... | 0 |
37,650 | 09/01/2008 09:21:14 | 3,416 | 08/28/2008 13:45:40 | 1 | 2 | How to implement a file download in asp.net | What is the best way to implement, from a web page a download action using asp.net 2.0?
Log files for a action are created in a directory called [Application Root]/Logs. I have the full path and want to provide a button, that when clicked will download the log file from the IIS server to the users local pc. | asp.net | .net2.0 | null | null | null | null | open | How to implement a file download in asp.net
===
What is the best way to implement, from a web page a download action using asp.net 2.0?
Log files for a action are created in a directory called [Application Root]/Logs. I have the full path and want to provide a button, that when clicked will download the log file f... | 0 |
37,662 | 09/01/2008 09:34:37 | 381 | 08/05/2008 10:39:26 | 1,656 | 28 | Looking for a n-ary tree implementation in Perl | I'm writing a Perl script and would like to use a n-ary tree data structure.
Is there a good implementation that is available as source code (rather than part of a Perl library) ? | perl | beginner | algorithm | tree | null | null | open | Looking for a n-ary tree implementation in Perl
===
I'm writing a Perl script and would like to use a n-ary tree data structure.
Is there a good implementation that is available as source code (rather than part of a Perl library) ? | 0 |
37,672 | 09/01/2008 09:44:58 | 51 | 08/01/2008 13:31:13 | 1,758 | 79 | Create DB in Sql Server based on Visio Data Model | I have created a database model in Visio Professional (2003). I know that the Enterprise version has the ability to create a DB in Sql Server based on the data in Visio. I do not have the option to install Enterprise. Aside from going through the entire thing one table and relationship at a time and creating the whole ... | sql-server | database | script | visio | null | null | open | Create DB in Sql Server based on Visio Data Model
===
I have created a database model in Visio Professional (2003). I know that the Enterprise version has the ability to create a DB in Sql Server based on the data in Visio. I do not have the option to install Enterprise. Aside from going through the entire thing one t... | 0 |
37,684 | 09/01/2008 09:58:49 | 2,138 | 08/20/2008 14:23:45 | 34 | 3 | replace URL with HTML Links javascript | i am using the next function to match urls inside a given text and replace them for html links. The regex is working great but currently i am only replacing the first match.
Does anyone knows how I can replace all the url? I guess i should be using *exec* command but i did not really figured how to do it.
fun... | javascript | regex | null | null | null | null | open | replace URL with HTML Links javascript
===
i am using the next function to match urls inside a given text and replace them for html links. The regex is working great but currently i am only replacing the first match.
Does anyone knows how I can replace all the url? I guess i should be using *exec* command but i did... | 0 |
37,692 | 09/01/2008 10:06:42 | 3,713 | 08/30/2008 09:06:27 | 53 | 16 | Eclipse Plugin Dev: How do I get the paths for the currently selected project? | I'm writing a plugin that will parse a bunch of files in a project. But for the moment I'm stuck searching through the Eclipse API for answers.
The plugin works like this: Whenever I open a source file I let the plugin parse the source's corresponding build file (this could be further developed with caching the pars... | java | eclipse | plugin-development | eclipse-api | null | null | open | Eclipse Plugin Dev: How do I get the paths for the currently selected project?
===
I'm writing a plugin that will parse a bunch of files in a project. But for the moment I'm stuck searching through the Eclipse API for answers.
The plugin works like this: Whenever I open a source file I let the plugin parse the sour... | 0 |
37,696 | 09/01/2008 10:16:45 | 2,138 | 08/20/2008 14:23:45 | 41 | 3 | concatenate several fields into one with SQL | i have three tables *tag*, *page*, *page-tag*
With the next data
***page***
ID NAME
1 page 1
2 page 2
3 page 3
4 page 4
***tag***
ID NAME
1 tag 1
2 tag 2
3 tag 3
4 tag 4
***page-tag***
ID PAGE-ID TAG-ID
1 2 1
2 ... | sql | null | null | null | null | null | open | concatenate several fields into one with SQL
===
i have three tables *tag*, *page*, *page-tag*
With the next data
***page***
ID NAME
1 page 1
2 page 2
3 page 3
4 page 4
***tag***
ID NAME
1 tag 1
2 tag 2
3 tag 3
4 tag 4
***page-tag***
I... | 0 |
37,702 | 09/01/2008 10:25:46 | 1,068 | 08/12/2008 08:44:09 | 3 | 3 | True random number generator | Sorry for this not being a "real" question, but Sometime back i remember seeing a post here about randomizing a randomizer randomly to generate truly random numbers, not just pseudo random. I dont see it if i search for it.
Does anybody know about that article? | random-number | null | null | null | null | null | open | True random number generator
===
Sorry for this not being a "real" question, but Sometime back i remember seeing a post here about randomizing a randomizer randomly to generate truly random numbers, not just pseudo random. I dont see it if i search for it.
Does anybody know about that article? | 0 |
37,731 | 09/01/2008 10:55:18 | 2,594 | 08/23/2008 12:42:57 | 85 | 11 | To use views or not to use views. | I seem right now to be embroiled in a debate with another programmer on this project who thinks that views have no merits. He proposes a system that PHP looks something like this:
$draw = new Draw;
$nav = $draw->wideHeaderBox().
$draw->left().
$draw->image().
Image::get($image,60,array('i... | php | mvc | null | null | null | null | open | To use views or not to use views.
===
I seem right now to be embroiled in a debate with another programmer on this project who thinks that views have no merits. He proposes a system that PHP looks something like this:
$draw = new Draw;
$nav = $draw->wideHeaderBox().
$draw->left().
$draw->image(... | 0 |
37,732 | 09/01/2008 10:58:24 | 4,013 | 09/01/2008 10:58:24 | 1 | 0 | What is the regex pattern for datetime (2008-09-01 12:35:45 ) ? | Dont have any additional information. Just what is the regex pattern for datetime (2008-09-01 12:35:45 ) ? | regex | patterns | date | null | null | null | open | What is the regex pattern for datetime (2008-09-01 12:35:45 ) ?
===
Dont have any additional information. Just what is the regex pattern for datetime (2008-09-01 12:35:45 ) ? | 0 |
37,743 | 09/01/2008 11:03:34 | 1,178 | 08/13/2008 11:15:35 | 184 | 15 | SQL query to get the top "n" scores out of a list | I'd like to find the different ways to solve a real life problem I had: imagine to have a contest, or a game, during which the users collect points. You have to build a query to show the list of users with the best "n" scores.
I'm making an example to clarify. Let's say that this is the Users table, with the points... | sql-server | puzzle | null | null | null | null | open | SQL query to get the top "n" scores out of a list
===
I'd like to find the different ways to solve a real life problem I had: imagine to have a contest, or a game, during which the users collect points. You have to build a query to show the list of users with the best "n" scores.
I'm making an example to clarify. ... | 0 |
37,759 | 09/01/2008 11:15:11 | 2,471 | 08/22/2008 12:47:10 | 16 | 1 | How do you prevent default site web.config file being inherited by virtual directories? | I have the following code in a web.config file of the default IIS site.
<httpModules>
<add type="MDL.BexWebControls.Charts.ChartStreamHandler,Charts" name="ChartStreamHandler"/>
</httpModules>
Then when I setup and browse to a virtual directory I get this error
Could not load file or assembly... | asp.net | configurationfiles | null | null | null | null | open | How do you prevent default site web.config file being inherited by virtual directories?
===
I have the following code in a web.config file of the default IIS site.
<httpModules>
<add type="MDL.BexWebControls.Charts.ChartStreamHandler,Charts" name="ChartStreamHandler"/>
</httpModules>
Then when ... | 0 |
37,764 | 09/01/2008 11:20:22 | 1,176 | 08/13/2008 10:32:13 | 1 | 0 | SugarCRM 5 - Create a sub panel for invoices in Account Panel | I'm customizing a SugarCRM 5, and in my **SugarCRM database** I've all invoices, which were imported from our ERP. Now, I would like to know if it is possible to create a new Sub panel in the Accounts Panel **without editing the original SugarCRM files**, so that my client invoices index are visible in that interface.
... | sugar | crm | null | null | null | null | open | SugarCRM 5 - Create a sub panel for invoices in Account Panel
===
I'm customizing a SugarCRM 5, and in my **SugarCRM database** I've all invoices, which were imported from our ERP. Now, I would like to know if it is possible to create a new Sub panel in the Accounts Panel **without editing the original SugarCRM files*... | 0 |
37,783 | 09/01/2008 11:33:31 | 3,205 | 08/27/2008 13:06:13 | 270 | 19 | Are there any guidelines for designing user interface for mobile devices? | I am creating an application for a Windows Mobile computer. The catch is that the device (<a href="http://www.motorola.com/business/v/index.jsp?vgnextoid=d4397b103d175110VgnVCM1000008406b00aRCRD">Motorola MC17</a>) does not have a touch screen or universal keys - there are only six programmable hardware keys. <a href="... | gui | user-interface | windows-mobile | usability | null | null | open | Are there any guidelines for designing user interface for mobile devices?
===
I am creating an application for a Windows Mobile computer. The catch is that the device (<a href="http://www.motorola.com/business/v/index.jsp?vgnextoid=d4397b103d175110VgnVCM1000008406b00aRCRD">Motorola MC17</a>) does not have a touch scre... | 0 |
37,785 | 09/01/2008 11:33:49 | 4,013 | 09/01/2008 10:58:24 | 1 | 0 | unit testing dynamic fixtures in CakePHP | > If you are not familiar with the CakePHP framework, you can maybe still help me. CakePHP uses [SimpleTest][1]
In the cakephp framework i am building tests for a behavior that is configured by adding fields to the table. This is intended to work in the same way that adding the "created" and "modified" fields will a... | unit-testing | cakephp | fixture | null | null | null | open | unit testing dynamic fixtures in CakePHP
===
> If you are not familiar with the CakePHP framework, you can maybe still help me. CakePHP uses [SimpleTest][1]
In the cakephp framework i am building tests for a behavior that is configured by adding fields to the table. This is intended to work in the same way that add... | 0 |
37,791 | 09/01/2008 11:38:36 | 4,012 | 09/01/2008 10:51:15 | 11 | 1 | How do you manage SQL Queries | At the moment my code (PHP) has too many SQL queries in it. eg...
// not a real example, but you get the idea...
$results = $db->GetResults("SELECT * FROM sometable WHERE iUser=$userid");
if ($results) {
// Do something
}
I am looking into using stored procedures to reduce this and m... | php | sql | mysql | null | null | null | open | How do you manage SQL Queries
===
At the moment my code (PHP) has too many SQL queries in it. eg...
// not a real example, but you get the idea...
$results = $db->GetResults("SELECT * FROM sometable WHERE iUser=$userid");
if ($results) {
// Do something
}
I am looking into using sto... | 0 |
37,799 | 09/01/2008 11:44:09 | 2,246 | 08/21/2008 08:53:01 | 31 | 3 | GCOV for multi-threaded apps | Is it possible to use gcov for coverage testing of multi-threaded applications?
I've set some trivial tests of our code-base up, but it would be nice to have some idea of the coverage we're achieving. If gcov isn't appropriate can anyone recommend an alternative tool (possible oprofile), ideally with some good docu... | c++ | testing | coverage | null | null | null | open | GCOV for multi-threaded apps
===
Is it possible to use gcov for coverage testing of multi-threaded applications?
I've set some trivial tests of our code-base up, but it would be nice to have some idea of the coverage we're achieving. If gcov isn't appropriate can anyone recommend an alternative tool (possible opro... | 0 |
37,803 | 09/01/2008 11:48:37 | 3,388 | 08/28/2008 11:58:07 | 1 | 1 | How to create a graphical user interface mock-up for research? | I am a student and interested in doing some research on user interface. For some experiments, I have to change the behaviors of many default interactions in an operating system such as double-click or drag-and-drop in Windows (to make it faster, more efficient, etc.)
The best way is to change the behaviors of these... | gui | user-interface | operating-system | research | interaction | null | open | How to create a graphical user interface mock-up for research?
===
I am a student and interested in doing some research on user interface. For some experiments, I have to change the behaviors of many default interactions in an operating system such as double-click or drag-and-drop in Windows (to make it faster, more e... | 0 |
37,804 | 09/01/2008 11:49:00 | 1,666 | 08/17/2008 21:07:18 | 482 | 36 | Link to samba shares in html | *First off if you're unaware, samba or smb == Windows file sharing, \\\computer\share etc.*
I have a bunch of different files on a bunch of different computers. It's mostly media and there is quite a bit of it. I'm looking into various ways of consolidating this into something more manageable.
Currently there are... | samba | smb | html | null | null | null | open | Link to samba shares in html
===
*First off if you're unaware, samba or smb == Windows file sharing, \\\computer\share etc.*
I have a bunch of different files on a bunch of different computers. It's mostly media and there is quite a bit of it. I'm looking into various ways of consolidating this into something more ... | 0 |
37,805 | 09/01/2008 11:49:07 | 2,257 | 08/21/2008 11:26:12 | 1,218 | 85 | Filter linq list on property value | I have a `List<int>` and a `List<customObject>`. The customObject class has an ID property. How can I get a `List<customObject>` containing only the objects where the ID property is in the `List<int>` using LINQ?
| linq | linq-to-objects | .net | null | null | null | open | Filter linq list on property value
===
I have a `List<int>` and a `List<customObject>`. The customObject class has an ID property. How can I get a `List<customObject>` containing only the objects where the ID property is in the `List<int>` using LINQ?
| 0 |
37,808 | 09/01/2008 11:55:27 | 4,018 | 09/01/2008 11:24:40 | 3 | 0 | Examples of using semantic web technologies in real world applications | Are you working on a (probably commercial) product which uses RDF/OWL/SPARQL technologies? If so, can you please describe your product? | semantic-web | rdf | null | null | null | null | open | Examples of using semantic web technologies in real world applications
===
Are you working on a (probably commercial) product which uses RDF/OWL/SPARQL technologies? If so, can you please describe your product? | 0 |
37,809 | 09/01/2008 11:55:57 | 383 | 08/05/2008 10:46:37 | 2,398 | 211 | How do I generate a Friendly URL in C#? | How can I go about generating a Friendly URL in C#? Currently I simple replace spaces with an underscore, but how would I go about generating URL's like Stack Overflow?
For example how can I convert:
> How do I generate a Friendly URL in C#?
Into
> how-do-i-generate-a-friendly-url-in-C | c# | friendly-url | null | null | null | null | open | How do I generate a Friendly URL in C#?
===
How can I go about generating a Friendly URL in C#? Currently I simple replace spaces with an underscore, but how would I go about generating URL's like Stack Overflow?
For example how can I convert:
> How do I generate a Friendly URL in C#?
Into
> how-do-i-gener... | 0 |
37,812 | 09/01/2008 11:59:03 | 3,182 | 08/27/2008 09:11:40 | 189 | 7 | MSMQ monitoring | Is there anything which can help with msmq monitoring? I'd like to get some event/monit when a message appears in queue and the same on leave. | monitoring | msmq | null | null | null | null | open | MSMQ monitoring
===
Is there anything which can help with msmq monitoring? I'd like to get some event/monit when a message appears in queue and the same on leave. | 0 |
37,821 | 09/01/2008 12:05:22 | 2,252 | 08/21/2008 10:02:14 | 1 | 0 | Viewing event log via a web interface | I'd like to be able to view the event log for a series of asp.net websites running on IIS. Can I do this externally, for example, through a web interface? | asp.net | iis | logging | monitoring | null | null | open | Viewing event log via a web interface
===
I'd like to be able to view the event log for a series of asp.net websites running on IIS. Can I do this externally, for example, through a web interface? | 0 |
37,822 | 09/01/2008 12:05:29 | 2,438 | 08/22/2008 10:45:13 | 1 | 5 | Is it just the iPhone simulator that is restricted to intel only Mac's? | I have read that the iPhone SDK (part of xcode 3) is restricted to Mac's with the intel chipset. Does this restriction apply to only the simulator part of the SDK or the complete shebang? | iphone | xcode | osx | null | null | null | open | Is it just the iPhone simulator that is restricted to intel only Mac's?
===
I have read that the iPhone SDK (part of xcode 3) is restricted to Mac's with the intel chipset. Does this restriction apply to only the simulator part of the SDK or the complete shebang? | 0 |
37,823 | 09/01/2008 12:05:52 | 4,018 | 09/01/2008 11:24:40 | 3 | 0 | Good reasons NOT to use a relational database? | Can you please point to alternative data storage tools and give good reasons to use them instead of good-old relational databases? Imo most applications rarely use full power of SQL, it would be interesting to see how to build a SQL-free application. | sql | database | null | null | null | null | open | Good reasons NOT to use a relational database?
===
Can you please point to alternative data storage tools and give good reasons to use them instead of good-old relational databases? Imo most applications rarely use full power of SQL, it would be interesting to see how to build a SQL-free application. | 0 |
37,830 | 09/01/2008 12:07:38 | 2,374 | 08/21/2008 22:14:30 | 289 | 20 | How do I implement a chromeless window with WPF? | I want to show a chromeless modal window with a close button in the upper right corner.
Is this possible? | wpf | gui | user-interface | null | null | null | open | How do I implement a chromeless window with WPF?
===
I want to show a chromeless modal window with a close button in the upper right corner.
Is this possible? | 0 |
37,832 | 09/01/2008 12:09:10 | 2,902 | 08/25/2008 20:49:25 | 208 | 13 | UI and event testing | So I know that unit testing is a must. I get the idea that TDD is the way to go when adding new modules. Even if, in practice, I don't actually do it. A bit like commenting code, really.
The real thing is, I'm struggling to get my head around how to unit-test the UI and more generally objects that generate events: ... | tdd | unit-testing | visual-studio | gui | null | null | open | UI and event testing
===
So I know that unit testing is a must. I get the idea that TDD is the way to go when adding new modules. Even if, in practice, I don't actually do it. A bit like commenting code, really.
The real thing is, I'm struggling to get my head around how to unit-test the UI and more generally obje... | 0 |
37,843 | 09/01/2008 12:15:14 | 383 | 08/05/2008 10:46:37 | 2,396 | 212 | What is WPF? | I have seen lots of questions recently about WPF...
- What is it?
- What does it stand for?
- How can I begin programming WPF? | wpf | null | null | null | null | null | open | What is WPF?
===
I have seen lots of questions recently about WPF...
- What is it?
- What does it stand for?
- How can I begin programming WPF? | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.