text string | meta dict |
|---|---|
Q: Is there a way I can capture my iPhone screen as a video? I want to be able to capture my iPhone's screen as a video, but I'm not sure the best way to do this.
Can anyone help guide me on how to best do this without jailbreak?
A: You can use Lookback. It records your screen, face, voice and all gestures, and upload... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: Connecting to an Oracle database on the command-line without using the Oracle client software? I have access to an Oracle server that has some databases that I would like to access. However, the machine that I have access from has none of the oracle client software. Is there any alternative to oracle's client softwa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to get the name of the drive that the OS is installed on? In C#, how do I get the name of the drive that the Operating System is installed on?
A: This should do it for you:
Path.GetPathRoot(Environment.SystemDirectory)
A: All other Environment properties can be found at ms itself : http://msdn.microsoft.co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Are there any libraries for generating flash swf files or converting svg to swf I was wondering if anyone knows of any libraries for programatically creating flash swf files.
Or for creating swf from svg.
A: This sounds like a perfect job for swfmill I think you'll find it will allow you to do both, convert SVG t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Inheritance trees and protected constructors in C# Given the following inheritance tree, what would be the best way of implementing it in a way that works?
abstract class Foo<T> : IEnumerable<T>
{
public abstract Bar CreateBar();
}
class Bar<T> : Foo<T>
{
// Bar's provide a proxy interface to Foo's and limi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Suggestions for a Web application for a group project I am doing 2nd year computer science and we have a software engineering group project. There are 5 people in the group and we would like to build a web application in php. Please suggest some ideas for me
A: Have a look a Paul Graham's list of "Startup Ideas We... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you convert a C++ string to an int?
Possible Duplicate:
How to parse a string to an int in C++?
How do you convert a C++ string to an int?
Assume you are expecting the string to have actual numbers in it ("1", "345", "38944", for example).
Also, let's assume you don't have boost, and you really want to do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: UTF usage in C++ code What is the difference between UTF and UCS.
What are the best ways to represent not European character sets (using UTF) in C++ strings. I would like to know your recommendations for:
*
*Internal representation inside the code
*
*For string manipulation at run-time
*For using the string f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Java- Changing swing background colour? Ok so ive got a swing app going using the "System" look and feel. Now, I want to change the background colour of the main panels to black. Too easy right?
UIManager.put("Panel.background", Color.BLACK);
Well yeah, except now the controls in the app look stupid, because their ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Where are Visual Studio breakpoints saved? I seem to be getting breakpoints from other programmers when checking out code...
Where is the list of breakpoints saved by Visual Studio? In the vbproj file? vbproj.user file? documents and settings? are they meant to be specific to the solution, the project, the user, the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: How to load back a dynamically created settingsproperty next time? I created a way to dynamically add SettingsProperty to a .NET app.config file. It all works nicely, but when I am launching my app the next time I can only see the properties that are created in the designer. How can I load back the properties runtim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I convert CSV into an HTML table using Perl? In my code, I want to view all data from a CSV in table form, but it only displays the last line. How about lines 1 and 2? Here's the data:
1,HF6,08-Oct-08,34:22:13,df,jhj,fh,fh,ffgh,gh,g,rt,ffgsaf,asdf,dd,yoawa,DWP,tester,Pattern
2,hf35,08-Oct-08,34:12:13,dg,jh,fh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Benefits of 64bit Java platform I'm an absolute n00b into the java platform
I would like to know whether I need to change anything in my code to get the benefits of 64bit JRE ?
or is it something like when I initiate it with "java -d64" its gonna run in some turbo mode?
Your help is highly appreciated
A: I don't t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Apache commons httpclient - disable debugging / lower debuglevel i am using the apache commons httpclient in a lotus notes java agent and it works fine. BUT when establishing a proxy connection the log will be spamed with the following line :
[INFO] AuthChallengeProcessor - basic authentication scheme selected
Do y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Search for Object in Generic List Is it possible to search for an object by one of its properties in a Generic List?
Public Class Customer
Private _id As Integer
Private _name As String
Public Property ID() As Integer
Get
Return _id
End Get
Set
_id = val... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Allow only Copy/Paste Context Menu in System.Windows.Forms.WebBrowser Control The WebBrowser control has a property called "IsWebBrowserContextMenuEnabled" that disables all ability to right-click on a web page and see a context menu. This is very close to what I want (I don't want anyone to be able to right-click ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Am I Running as a Service I am currently writing a little bootstrap code for a service that can be run in the console. It essentially boils down to calling the OnStart() method instead of using the ServiceBase to start and stop the service (because it doesn't run the application if it isn't installed as a service an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: The best way to create a new table in Sqlite using Ruby on Rails 2 So what's the best way to create new tables in a Sqlite database in Rails 2. I have created the database using rake db:migrate command. So should I write individual sql scripts to create a database or use rake somehow. I don't need scaffolding.
A: T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I determine the status of a job? I have a Stored procedure which schedules a job. This Job takes a lot of time to get completed (approx 30 to 40 min). I need to get to know the status of this Job.
Below details would help me
1) How to see the list of all jobs that have got scheduled for a future time and are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: Can you use an alias in the WHERE clause in mysql? I need to use an alias in the WHERE clause, but It keeps telling me that its an unknown column. Is there any way to get around this issue? I need to select records that have a rating higher than x. Rating is calculated as the following alias:
sum(reviews.rev_rating)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "123"
} |
Q: Good way to do a "switch" in a Makefile I'm experimenting with an updated build system at work; currently, I'm trying to find a good way to set compiler & flags depending on the target platform.
What I would like to do is something like
switch $(PLATFORM)_$(BUILD_TYPE)
case "Linux_x86_release"
CFLAGS = -O3
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Richly Formatted excel reports in an ASP.Net application How do I generate excel reports with rich formatting including charts with a ASP.Net application?
As per http://support.microsoft.com/kb/257757 server-side automation of office is not advisable and also our admin does not allow installation of office on the se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: "Project description file" error in git? I've a small project that I want to share with a few others on a machine that we all have access to. I created a bare copy of the local repo with
git clone --bare --no-hardlinks path/to/.git/ repoToShare.git
I then moved repoToShare.git to the server.
I can check it out with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Flex development on Linux, what's a good free environment? I would like to develop Adobe Flex applications using Linux and a free environment. I'd prefer a free as in freedom alternative, but as in beer would work as well. ;-)
Are any of you developing Adobe Flex rich internet applications using such an environment?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Easy IPC on Windows Mobile? In a C++ project (i.e. no .NET) on Windows Mobile, I am looking for a way to easily communicate between two independently running applications. Application A would run a service, whereas application B would provide the user some functionality - for which B has to call some of A's function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Eclipse - generated method parameters final Can Eclipse make parameters for generated methods (overwriting, implementing interface, etc.) final, and if so, how?
If I'm not mistaken, IntelliJ had an option for it. I could not find something similar in Eclipse.
I have become accustomed to making parameters final manua... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Where can I learn more about C++0x? I would like to learn more about C++0x. What are some good references and resources? Has anyone written a good book on the subject yet?
A: Wikipedia article seems like an excellent starting point: C++0x
It provides a good summary with brief examples and is updated regularly to ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "70"
} |
Q: How do I read strings in J2ME? I'm using the MIDP 2.0 (JSR 118) and I just noticed that there is no reader for strings in J2ME.
Does anyone know how you are supposed to read Strings from an InputStream or InputStreamReader in a platform independent way (i.e. between two java enabled cell phones of different models)?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why does my ASP.NET page add the prefix 'ctl00_ctl00' to html element IDs and break the design? I don't understand it.
The ids of html elements in the master page are changed by the same id but with a prefix and it's breaking the css design.
In the master page I have:
<div id="container" runat="server">
<asp:C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I remove a cookie that I've set on someone's computer? I've got a web system where users log in, and it stores a cookie of their session. When they log in as someone else or log out I want to remove that original cookie that I stored. What's the best way to do that?
I'm using Python and Apache, though I suppo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is ASP.NET webforms swept under the rug to make room for mvc? I've read all the marketing speak about how mvc and webforms are complementary etc...
However it seems that all the blogs talk about is mvc and the only news coming out is about mvc.
Is Microsoft going to continue to IMPROVE webforms as a first class ci... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: how do you know how to design a mysql database when creating an advanced php application? i've never created a shopping cart, or forum in php. aside from viewing and analyzing another persons project or viewing tutorials that display how to make such a project or how to being such a project. how would a person know ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What are alternatives to ExtJS? So what I'm looking for is a javascript framework I can use that has several UI controls. I have taken a look at jQuery but those controls are very basic compared to ExtJS. Are there any other competitive alternatives?
This question exists because it has historical significance, but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "65"
} |
Q: Name of method that lists all user groups where the current user is member of we had a heated discussion about a method name.
We have a class User. There is property called "Groups" on the user. It contains all groups that contain the user directly. That's ok. What we have problem with, is the name of the method th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Process for reducing the size of an executable I'm producing a hex file to run on an ARM processor which I want to keep below 32K. It's currently a lot larger than that and I wondered if someone might have some advice on what's the best approach to slim it down?
Here's what I've done so far
*
*So I've run 'size' ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Easy to extend IDE for C I want an simple IDE/editor for C in Linux to which I can add features easily. For example: I want to add a right click menu item and a related action for the editor. It should be easy to extent and add any desirable functionality. I tried eclipse CDT but its to much of learning(I mean knowi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create timestamp column with default value 'now'? How to create a table with a timestamp column that defaults to DATETIME('now')?
Like this:
CREATE TABLE test (
id INTEGER PRIMARY KEY AUTOINCREMENT,
t TIMESTAMP DEFAULT DATETIME('now')
);
This gives an error.
A: It's just a syntax error, you need pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "227"
} |
Q: What is the technical term for C# or Java type languages? This is probably a very simple question, but what is the technical term for this class of language?
They use an "intermediate" assembly type language which is sent through the JVM or CLR. They both are object oriented and they both depend on an intermediar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: JavaScript if statement returns wrong values Does anybody knows why this snippet returns false even if the passed string is "Active"?
if ($('status_'+id).getText()=="Active")
I've also tried changing the code to
if ($('status_'+id).getText()==String("Active"))
and
if (String($('status_'+id).getText())=="Active")
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Strange cross-threading UI errors I'm writing a WinForms app which has two modes: console or GUI. Three projects within the same solution, one for the console app, one for the UI forms and the third to hold the logic that the two interfaces will both connect too. The Console app runs absolutely smoothly.
A model w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Storing web content in a JAR file Is it possible to store web content (such as JSPs, HTML, images, CSS etc) in a JAR file?
I've been looking at various options at modularising our web applications and this is one possibility.
We are currently using JSF and Facelets for our view technology - I'm thinking it may be po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Uninstalling one Installer from another installer - error 1618 I have created a custom installer dll & everything is working fine. I just want to call another installer's Uninstall method from my current installation. When I do this, I get error code 1618 (signifies another installer is already running). However ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I migrate from ClearCase to Serena VM? I have a repository using Rational ClearCase Explorer 2003.06.10+ which I want to migrate into Serena ChangeMan Version Manager 8.1.4.2.
Is this possible? The ClearCase repository was not used for all it's functions, just as a place to hold copies of documents, so the only... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's the best way to automatically redirect someone to another webpage? I've never learnt JavaScript, but I imagine this is quite a simple problem. Just wanted to know which method is most advised these days.
A: One important thing to remember when redirecting a page using JavaScript is, always provide a non-Java... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: Is there a memory limit for a single .NET process We are currently thinking of building a cache-system to hold data pulled out of an SQL database and make it available to a couple of other applications (website, webservice, etc). We imagine the cache to be running as a windows service and basically consist of a smar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Unit Test the Routes Let's say I have defined a route:
routes.Add(new Route("Users/{id}", new MvcRouteHandler())
{
Defaults = new RouteValueDictionary(new { controller ="UserInfo", action = "UserInformation",
id = ""}),
});
So, how am I going to create... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Loading Delphi designtime packages on a project base Is there a way to select designtime packages on a project bases?
Packages are very useful in large project to keep the build time acceptable, but they are a real pita in those large projects too. When one developer adds a new package, it breaks to build for all ot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: What's the best way to implement gmail style "undo" in Rails? I think it important to have an "undo" method ala gmail when destroying records instead of displaying an annoying popup that says, "Are you sure?".
The way that I've implemented this is to have a "deleted_at" timestamp column in the model which gets times... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: fast filter method in python I want to filter two list with any fastest method in python script. I have used the built-in filter() method for this purpose. but it is quite slow and taking too much time because I have very big list, I think more than 5 million item in each list or may be more.
I do not know how I wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Improved CSS syntax highlighting in vim The CSS syntax highlighting in vim is not entirely optimal. For example:
div.special_class
stops the highlighting at the _.
Is there an improved highlighter that doesn't bite on an underscore?
Update:
I'm using VIM - Vi IMproved 7.1 (2007 May 12, compiled Jun 17 2008 15:22:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Are there design patterns on modelling a structure containing Teams, Roles and Skills? I need to model a system where by there will be a team who will consist of users who perform roles in the team and have skills assigned to them.
i.e. a team A 5 members, one performs the team leader role, all perform the reply to
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is Constant Amortized Time? What is meant by "Constant Amortized Time" when talking about time complexity of an algorithm?
A: Amortised time explained in simple terms:
If you do an operation say a million times, you don't really care about the worst-case or the best-case of that operation - what you care about... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "507"
} |
Q: In .Net/C# is the OnSerializing event fired for XmlSerializer.Serialize I want to set some attributes just before the object is serialized, but as it can be serialized from several locations, is there a way to do this using the OnSerializing method (or similar) for Xml serialization - my class is largely like this -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Deep cloning multidimensional arrays in Java...? I have two multidimensional arrays (well actually they're only 2D) which have inferred size. How do I deep clone them? Here's what I have gotten so far:
public foo(Character[][] original){
clone = new Character[original.length][];
for(int i = 0; i < original.l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Please recommend me a professional keepalive solution for our monitoring server I'm looking for a tool that can be installed on our monitoring server and which allows us to perform scheduled requests to our web sites in order to keep them from shutting down (asp.net).
I don't want to use a web service since we alrea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find the page that the user intended to see I'm rebuilding a site with a lot of incoming links, and the URL structure is completely changing. I'm using the stock mod_rewrite solution to redirect all old links to new pages.
However, as I'm sure a few links will slip through the net, I've built a small script that run... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: One table or many? I'm trying to design an application to hold academic reference information. The problem is that each different type of reference (eg. journal articles, books, newspaper articles etc) requires different information. For example a journal reference requires both a journal title and an article title... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: What tools exist for testing multithreaded .net code? Are there any tools that can help find race conditions when testing multi-threaded .net code? I'm looking for something with similar capabilities to IBM's ConTest tool for Java.
A: Typemock Racer might be what you're looking for but I haven't used it - I just re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Anyone know of a free/Cheap command-line resource editor for managed win32 exes/dlls I have been recommended "Resource Tuner console" but it's a little out of my price range.
I'm looking for something that could be launched from a nant build script and told to stamp an exe with an additional property as described in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to call a VBScript file in a C# application? I need to call a VBScript file (.vbs file extension) in my C# Windows application.
How can I do this?
There is an add-in to access a VBScript file
in Visual Studio.
But I need to access the script in code behind. How to do this?
A: The following code will execute ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Update column from another table - mySQL 3.5.2 I've tried a couple of approaches to update a column in a mySQL database table from another table but am not having any luck.
I read somewhere that version 3.5.2 does not support multi-table updates and I need a code-based solution - is that correct?
If not can anybody... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use a .js file? I'm sorry for this very newbish question, I'm not much given into web development. I've got this cool JavaScript in a .js file that we want to use on a small web site. (It's a script to run Cooliris on it).
How do use the .js file or attach it to my HTML code?
A: <script type="text/javascript... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Startup point for Symbian/embedded programming learning I have good knowledge on C++ (not C) and recently bought a Symbian-based phone.
This gave me reasons to start learning on how to program this beast.
I have searched for Symbian programming tutorials but there is so much knowledge that it is hard to choose best ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Tracd Realm I am trying to setup tracd for the project I am currently working on.
After creating a password file with the python script given in the site I am trying to start the server with authentication on. But it throws up warning saying No users found in the realm. What actually is a realm - I tried using trac ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Refactoring features in Visual Studio 2005 for VB Does anybody know a good and free add-in for Visual Studio 2005 to get refactoring features in VB?
A: The default answer to this one is probably Refactor! since this tool is also endorsed by Microsoft as the “official” VB refactoring addin. However, being a free too... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What's a good way to process RTF-encoded files and convert them to XML? I have never done huge amounts of RTF processing, I always used a library to read or generate one and that was a long time ago. Now I need to get more intimate with the format again, and eventually convert it to XML.
Can you recommend a good pat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Online game: Macromedia Flash or Microsoft Silverlight and why? Which technology stack is best for the creation of a two dimensional MMORPG and why?
This question is loaded, so which are the major factors would you consider for development in such a domain?
A: Ok so Tim called me out on this one, it's a tough quest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What is the difference between a process and a thread? What is the technical difference between a process and a thread?
I get the feeling a word like 'process' is overused and there are also hardware and software threads. How about light-weight processes in languages like Erlang? Is there a definitive reason to use ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1965"
} |
Q: Style sheet images aren't reloaded by Firefox or Safari We have found out that Firefox (at least v3) and Safari don't properly cache images referenced from a css file. The images are cached, but they are never refreshed, even if you change them on the server. Once Firefox has the image in the cache, it will never ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: HTML.ActionLink method Let's say I have a class
public class ItemController:Controller
{
public ActionResult Login(int id)
{
return View("Hi", id);
}
}
On a page that is not located at the Item folder, where ItemController resides, I want to create a link to the Login method. So which Html.Actio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "264"
} |
Q: How to get the status of a JBoss Application Server I am working on writing a Highly Available agent for JBoss Application Server to run on Solaris Open HA Cluster. As I don't know much of the JBoss AS, can someone please tell me how can I probe the status of the application server?
I want to know the health of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I get a list of Java class dependencies for a main class? Is there a way to find all the class dependencies of a java main class?
I have been manually sifting through the imports of the main class and it's imports but then realized that, because one does not have to import classes that are in the same package... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do you find a free TCP server port using Ruby? I'm trying to create a use-once HTTP server to handle a single callback and need help with finding a free TCP port in Ruby.
This is the skeleton of what I'm doing:
require 'socket'
t = STDIN.read
port = 8081
while s = TCPServer.new('127.0.0.1', port).accept
puts s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How can I create a windows resource to embed in a .NET assembly, starting from text? I was looking into embedding custom version strings using in assemblies a while back, and one approach that the documentation suggested was to embed a windows resource.
The only way I can see to create a windows resource is to use t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP.NET Theme Images How would I set an image to come from a theme directory (my theme changes so I don't want to directly reference) I am sure this is possible but every example I find doesn't seem to work. They are usually along the lines of:
asp:image ID="Image1" runat="server" ImageUrl="~/Web/Mode1.jpg" /
where ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Embedding my .NET control in MS Project 2003 I need to extend MS Project's functionality for my company, so I would like to embed some .NET GUI controls into Project. The plan is that my controls save the user input into my custom DB tables, but I do have to bind them to tasks, current user, resources etc. Could you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Visual Studio's keybindings for Eclipse Does anybody have a keybinding scheme similar to VS 2005 available for Eclipse?
How to import it into preferences of Eclipse (I see only export button).
A: How to Install Visual Studio Key Bindings in Eclipse (Helios onwards)
For anyone finding this post, if you need step by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "69"
} |
Q: How do I tell Java to map a logical font (e.g. SansSerif) to a specific font on my system? Is there a way to map a logical font (e.g. SansSerif) to a different font when running a Java program? If so, does the method differ between Java VM versions?
A: Look in $JAVA_HOME/jre/lib/fontconfig.properties for everything... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: run oracle sql script from java i have a bunch of sql scripts that should upgrade the database when the java web application starts up.
i tried using the ibatis scriptrunner, but it fails gloriously when defining triggers, where the ";" character does not mark an end of statement.
now i have written my own version o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Regex for specifig tags and their content, groupped by the tag name Here is the input (html, not xml):
... html content ...
<tag1> content for tag 1 </tag1>
<tag2> content for tag 2 </tag2>
<tag3> content for tag 3 </tag3>
... html content ...
I would like to get 3 matches, each with two groups. First group would c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: UserHostAddress gives wrong IPs I collect statistics on IP addresses from where users visit my site and I have noticed what there are only two IP addresses presented, 172.16.16.1 and 172.16.16.248. The property I use to determine IP address is
Request.UserHostAddress
What could be a reason of IP address information... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: To which kind of problem is functional programming well suited? Functional programming seems to be a paradigm in computer science which has more and more echo.
I wonder which kind of problems are better solved with a functional programming approach rather than with a more traditional object oriented approach.
Thank ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Java Webservice testing I provide a web service to my organisation. i was wondering would anyone recommeding the use of apache cactus for setting up a testing framework or has anyone worked with any other web service frameworks that may be useful?
Thanks
Damien
A: As you are dealing with a web service you would not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Attempted SQL injection attack - what are they trying to do? I have a public facing website that has been receiving a number of SQL injection attacks over the last few weeks. I exclusively use parameterised stored procedures so I believe that there has been no successful attacks, but a recent log showed an interest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Trapping messages in MFC - Whats the difference? I was just wondering what (if any) the difference was between the following two message traps in MFC for the function, OnSize(..).
1 - Via Message map:
BEGIN_MESSAGE_MAP(CClassWnd, CBaseClassWnd)
...
ON_WM_SIZE()
..
END_MESSAGE_MAP()
2 - Via afx_message:
afx_msg ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: LINQ equivalent of foreach for IEnumerable I'd like to do the equivalent of the following in LINQ, but I can't figure out how:
IEnumerable<Item> items = GetItems();
items.ForEach(i => i.DoStuff());
What is the real syntax?
A: According to PLINQ (available since .Net 4.0), you can do an
IEnumerable<T>.AsParallel().... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "851"
} |
Q: Printing web page programmatically in JSP I have a J2EE based web application.
In one of the pages there is a button labeled "Print".
My problem is something like this:
User enters tool names for e.g:
ToolName1
ToolName2
ToolName3
Then clicks on "Print".
The intended action is that tool details of the 3 tools are re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I localize Perl variables in a different stack frame? I have some auto-generated code which effectively writes out the following in a bunch of different places in some code:
no warnings 'uninitialized';
local %ENV = %ENV;
local $/ = $/;
local @INC = @INC;
local %INC = %INC;
local $_ = $_;
local $| = $|... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: How can I mimic Visual Studio's "Ctrl-K, C" two-step macro behaviour using Autoit / Autohotkey? I'm trying to set up AutoHotkey macros for some common tasks, and I want the hotkeys to mimic Visual Studio's "two-step shortcut" behaviour - i.e. pressing Ctrl-K will enable "macro mode"; within macro mode, pressing cert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Store simple user settings in Python I am programming a website in which users will have a number of settings, such as their choice of colour scheme, etc. I'm happy to store these as plain text files, and security is not an issue.
The way I currently see it is: there is a dictionary, where all the keys are users and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: SQL(?): Counting the time between two datetime values What is the best way to count the time between two datetime values fetched from MySQL when I need to count only the time between hours 08:00:00-16:00:00.
For example if I have values 2008-10-13 18:00:00 and 2008-10-14 10:00:00 the time difference should be 02:00:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can you recommend a Java library for reading (and possibly writing) CSV files? Can you recommend a Java library for reading, parsing, validating and mapping rows in a comma separated value (CSV) file to Java value objects (JavaBeans)?
A: I can recommend SuperCSV. Simple to use, and did everything I needed.
A: Hey,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: How do I use SQL's GETDATE() and DATEADD() in a Linq to SQL expression? If I have a Linq to SQL expression like this:
from subscription in dbContext.Subscriptions
where subscription.Expires > DateTime.Now
select subscription
I want this to to use the SQL Servers GETDATE() function instead of the time of the mach... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Best case to move to an agile development methodology? If you had to make a case to a business about adopting or moving to an agile development methodology (like SCRUM or XP etc) what case would you make (how do you sell the concept)?
e.g.
*How would you describe the concepts and benefits to a non-technical pers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to change registration company name for Visual Studio 2008? Is there a way to change name of company to which the Visual Studio 2008 is registered without reinstalling it?
A: This should have the answer you are looking for : http://bytes.com/forum/thread635503.html
For the CompanyName in AssemblyInfo, it's $re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Are PHP short tags acceptable to use? Here's the information according to the official documentation:
There are four different pairs of
opening and closing tags which can be
used in PHP. Two of those, <?php ?>
and <script language="php"> </script>,
are always available. The other two
are short tags and AS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "540"
} |
Q: How can I make sure a background image displays before the page loads? Is there a way to make sure a (large, 300K) background picture is always displayed first BEFORE any other content is shown on the page?
On the server we have access to PHP.
A: All the html content is served and parsed before it even starts to fe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: getting elapsed time since process start I need a way to get the elapsed time (wall-clock time) since a program started, in a way that is resilient to users meddling with the system clock.
On windows, the non standard clock() implementation doesn't do the trick, as it appears to work just by calculating the differen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Excel Timesheet I have some data in the following format:
Salary
Code InTime
1690 09:03:00
1690 09:13:00
1690 09:07:00
1691 08:48:00
1691 08:52:00
1691 08:50:00
1691 08:54:00
1691 08:46:00
1691 09:28:00
1691 08:59:00
1691 08:53:00
1691 09:02:00
1693 08:57:00
1693 09:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does Google Desktop Search manage to stay light and fast? I always wondered what different methods Google Desktop Search is using so that it uses least CPU and memory while indexing a computer containing more 100,000 files on an average.
In just few hours it has indexed the whole system and I did not see it eati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/200673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |