text stringlengths 8 267k | meta dict |
|---|---|
Q: Drag and drop onto Python script in Windows Explorer I would like to drag and drop my data file onto a Python script and have it process the file and generate output. The Python script accepts the name of the data file as a command-line parameter, but Windows Explorer doesn't allow the script to be a drop target.
Is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "60"
} |
Q: Splitting log4j Output with Quartz Worker Threads I'm working on an application that consists of an overall Quartz-based scheduler and "CycledJob" run using CronTriggers. The purpose of the application is to process inputs from different email inboxes based on the source country.
Based on the country that it comes ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What programming languages support arbitrary precision arithmetic? What programming languages support arbitrary precision arithmetic and could you give a short example of how to print an arbitrary number of digits?
A: Python has such ability. There is an excellent example here.
From the article:
from math import l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: How do I import a pre-existing Java project into Eclipse and get up and running? Comment on Duplicate Reference: Why would this be marked duplicate when it was asked years prior to the question referenced as a duplicate? I also believe the question, detail, and response is much better than the referenced question.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Change Oracle port from port 8080 How do I change Oracle from port 8080? My Eclipse is using 8080, so I can't use that.
A: I assume you're talking about the Apache server that Oracle installs. Look for the file httpd.conf.
Open this file in a text editor and look for the line
Listen 8080
or
Listen {ip address}:8... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "131"
} |
Q: Can the C preprocessor be used to tell if a file exists? I have a very large codebase (read: thousands of modules) that has code shared across numerous projects that all run on different operating systems with different C++ compilers. Needless to say, maintaining the build process can be quite a chore.
There are se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "87"
} |
Q: Which language is better for general purpose programming, F# or Haskell? I'm currently learning Haskell, Which language (F# or Haskell) do you prefer for programming general purpose applications?
Which do you think is the stronger language?
A: I'd say F#, as you can access the entire .Net framework. However, that's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Working with FedEx API and .Net I am trying to get a list of rates for all available services from FedEx using 1 call, and having a tough time with their documentation. Anyone have some code snippets of how you interfaced with them? .Net code is preferable but anything will help more than their crapping code samples... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is the PageAction.Details route necessary in the default Dynamic Data template? In the default Visual Studio template for a dynamic data web application, Global.asax includes the following two sample routes.
// route #1
routes.Add(new DynamicDataRoute("{table}/ListDetails.aspx") {
Action = PageAction.List,
V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: LINQ group by question I started playing around with Linq today and ran into a problem I couldn't find an answer to. I was querying a simple SQL Server database that had some employee records. One of the fields is the full name (cn). I thought it would be interesting to group by the first name by splitting the full ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Image Recognition I'd like to do some work with the nitty-gritties of computer imaging. I'm looking for a way to read single pixels of data, analyze them programatically, and change them. What is the best language to use for this (Python, c++, Java...)? What is the best fileformat?
I don't want any super fancy so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you implement a Highpass filter for the IPhone accelerometer? I remember seeing the code for a Highpass filter a few days back somewhere in the samples, however I can't find it anywhere now! Could someone remember me where the Highpass filter implementation code was?
Or better yet post the algorithm?
Thanks!
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How can I use functional programming in the real world? Functional languages are good because they avoid bugs by eliminating state, but also because they can be easily parallelized automatically for you, without you having to worry about the thread count.
As a Win32 developer though, can I use Haskell for some DLL f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "103"
} |
Q: Handling context-path refs when migrating "/" site to Java EE packaging An existing Java site is designed to run under "/" on tomcat and there are many specific references to fixed absolute paths like "/dir/dir/page".
Want to migrate this to Java EE packaging, where the site will need to run under a context-root e.g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C#: Convert COMP-3 Packed Decimal to Human-Readable Value I have a series of ASCII flat files coming in from a mainframe to be processed by a C# application. A new feed has been introduced with a Packed Decimal (COMP-3) field, which needs to be converted to a numerical value.
The files are being transferred via FTP,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Different dependency settings for 'Debug' and 'Release' build configuration in VisualC++ 6.0 I'm using VisualC++ 6.0. (and, yes, I'm using Mosaic browser..;)
My VC++ project has different dependency setting for 'Debug' and 'Release' build configuration.
So, when I switch from one configuration to other, I have to ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why does my MFC app hang when I throw an exception? If you throw an exception from inside an MFC dialog, the app hangs, even if you have a catch block in your code. It refuses to respond to the mouse or keyboard, and the only way to shut it down is to use Task Manager.
Why I'm posting this question
To my shame, th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Defaulting to different URLs when Generating Web Service Proxy with WSDL.exe I have numerous Web Services in my project that share types.
For simplicity I will demonstrate with two Web Services.
WebService1 at http://MyServer/WebService.asmx
webService2 at http://MyServer/WebService.asmx
When I generate the proxy f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mathematical optimization library for Java --- free or open source recommendations? Does anyone know of such a library that performs mathematical optimization (linear programming, convex optimization, or more general types of problems)? I'm looking for something like MATLAB, but with the ability to handle larger pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How do I find the size of a struct? struct a
{
char *c;
char b;
};
What is sizeof(a)?
A: Contrary to what some of the other answers have said, on most systems, in the absence of a pragma or compiler option, the size of the structure will be at least 6 bytes and, on most 32-bit systems, 8 bytes. For 64-bi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Does VB6 have a #pragma pack equivalent? I am developing a TCP/IP client that has to deal with a proprietary binary protocol. I was considering using user-defined types to represent the protocol headers, and using CopyMemory to shuffle data to and from the UDT and a byte array. However, it appears that VB6 adds padd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Showing a tooltip on a non-focused ToolStripItem ToolStripItems show Active highlighting when you mouse over them, even if the form they are in is not in focus. They do not, however, show their tooltips, unless the form is focused. I have seen the ToolStrip 'click-though' hack. Anyone know how to make a ToolSt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: EventWaitHandle behavior for pthread_cond_t I've recently seen the light of EventWaitHandle's powerful behavior in C# and decided to move some functionality in a sister application to do the same. The only problem is that the sister app is written in C.
No big deal, I'm using pthreads, which have a pthread_cond_t da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In Emacs, what is the opposite function of other-window (C-x o)?
Possible Duplicate:
Emacs, switch to previous window
other-window advances me to the next window in the current frame, but I also want a way to move back to the previous window.
Emacs has next-buffer and previous-buffer, but no analogous interactive... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Debugging C++ STL containers in Windbg Windbg fans claim that it is quite powerful and I tend to agree. But when it comes to debugging STL containers, I am always stuck. If the variable is on the stack, the !stl extension sometimes figures it out, but when a container with a complex type (e.g. std::vector<TemplateFi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: NSDateFormatter, am I doing something wrong or is this a bug? I'm trying to print out the date in a certain format:
NSDate *today = [[NSDate alloc] init];
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyyMMddHHmmss"];
NSString *dateStr = [dateFormatter stringFromDat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Is it OK to have an 'empty' class that extends another class? Let's say I have one class Foo that has a bunch of logic in it and another class Bar which is essentially the same. However, as Foo and Bar are different (but related) entities I need the difference to be apparent from my code (i.e. I can tell whether an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: JavaScript object browser? I was recently tasked to document a large JavaScript application I have been maintaining for some time. So I do have a good knowledge of the system.
But due the sheer size of the application, it will probably take a lot of time even with prior knowledge around the code and the source code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do you use Presentation Model with Webforms? I have started using Presentation Model w/ ASP.NET webforms and like the pattern quite a bit. What I am really having an issue with is where to instantiate some of my classes, mostly the presentation model, my business object, and things like the data for drop down li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is Windows' rand_s thread-safe? Just as in title. Is suspect it is, but I couldn't find it anywhere explicitly stated. And for this property I wouldn't like to rely on speculations.
A: Chris said: rand() is not thread-safe because its internal state is static, but rand_s() should be thread-safe, however.
Jeff added... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Using SimpleXML to create an XML object from scratch Is it possible to use PHP's SimpleXML functions to create an XML object from scratch? Looking through the function list, there's ways to import an existing XML string into an object that you can then manipulate, but if I just want to generate an XML object progra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "81"
} |
Q: How to create a buffer for reading socket data in C Using C / C++ socket programming, and the "read(socket, buffer, BUFSIZE)" method. What exactly is the "buffer" I know that char and byte are the same thing, but does it matter how many elements the byte array has in it? Does the buffer need to be able to hold the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to synchronize two Subversion repositories? My company has a subsidiary with a slow Internet connection. Our developers there suffer to interact with our central Subversion server. Is it possible to configure a slave/mirror for them? They would interact locally with the server and all the commits would be autom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: Bron-Kerbosch algorithm for clique finding Can anyone tell me, where on the web I can find an explanation for Bron-Kerbosch algorithm for clique finding or explain here how it works?
I know it was published in "Algorithm 457: finding all cliques of an undirected graph" book, but I can't find free source that will de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: splice() on std::list and iterator invalidation The 3-argument form of list::splice() moves a single element from one list to the other. SGI's documentation explicitly states that all iterators, including the one pointing to the element being moved remain valid. Roguewave's documentation does not say anything abou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Have you moved MOSS SharePoint 2007 out of the C:\Inetpub\wwwroot\wss\ folder? Is it best practice to not use C:\Inetpub\wwwroot\wss\ for SharePoint? My concern is that the configuration wizard seems to look for this C: path and it may be too complicated to not use the default path(s),
A: What would be the reason f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I use xargs to copy files that have spaces and quotes in their names? I'm trying to copy a bunch of files below a directory and a number of the files have spaces and single-quotes in their names. When I try to string together find and grep with xargs, I get the following error:
find .|grep "FooBar"|xargs -I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "249"
} |
Q: How do I get the directory that a program is running from? Is there a platform-agnostic and filesystem-agnostic method to obtain the full path of the directory from where a program is running using C/C++? Not to be confused with the current working directory. (Please don't suggest libraries unless they're standard o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "285"
} |
Q: library- vs. application-version If you have a project, that releases a library and an application, how you handle version-numbers between the two.
Example: Your project delivers a library, that convert different file-formats into each other. The library is released for inclusion into other applications. But you als... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unit/Automated Testing in a workflow system Do you do automated testing on a complex workflow system like K2?
We are building a system with extensive integration between Sharepoint 2007 and K2. I can't even imagine where to start with automated testing as the workflow involves multiple users interacting with Sharepo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Getting a Linq-toSQL query to show up on a GridView I have a pretty complicated Linq query that I can't seem to get into a LinqDataSsource for use in a GridView:
IEnumerable<ticket> tikPart = (
from p in db.comments where
p.submitter == me.id &&
p.ticket.closed == DateTime.Parse("1/1/2001") && ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you obtain Current Window Handle Count and Window Handle Limit in .NET? I want to obtain the current number of window handles and the system-wide window handle limit in C#. How do I go about this?
A: As Raymond Chen put it some time ago, if you're thinking about window handle limits, you're probably doing so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Full screen mode in silverlight Would it be possible to show an image in full screen mode using silverlight. I'm looking out for some thing like the full screen option of the flash video players.
A: You can set
Application.Current.Host.Content.IsFullScreen = true;
this has to be done from a mouse butto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to display text using Quartz on the iPhone? I've been trying to display text using a Quartz context, but no matter what I've tried I simply haven't had luck getting the text to display (I'm able to display all sorts of other Quartz objects though). Anybody knows what I might be doing wrong?
example:
-(void)drawR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: cloning hierarchical data let's assume i have a self referencing hierarchical table build the classical way like this one:
CREATE TABLE test
(name text,id serial primary key,parent_id integer
references test);
insert into test (name,id,parent_id) values
('root1',1,NULL),('root2',2,NULL),('root1sub1',3,1),('root1sub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Protection against automation One of our next projects is supposed to be a MS Windows based game (written in C#, with a winform GUI and an integrated DirectX display-control) for a customer who wants to give away prizes to the best players. This project is meant to run for a couple of years, with championships, ladd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Which are the "must follow" FxCop rules for any C# developer? I'm planning to start using FxCop in one of our ongoing project. But, when i tried it with selecting all available rules, it looks like I have to make lots of changes in my code. Being a "team member" I can't right away start making these changes, like na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: How to redirect data to stdin within a single executable? I am using cxxtest as the test framework for my C++ classes, and would like to figure out a way to simulate sending data to classes which would normally expect to receive it from standard input. I have several different files which I would like to send to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Lua = operator as print In Lua, using the = operator without an l-value seems to be equivalent to a print(r-value), here are a few examples run in the Lua standalone interpreter:
> = a
nil
> a = 8
> = a
8
> = 'hello'
hello
> = print
function: 003657C8
And so on...
My question is : where can I find a detailed descri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Silverlight controls in ASP.NET application I need my ASP.NET web application to use silverlight controls in my web page. Please let me know how to use them. Do i need to add any reference for them in my Visual Studio 2005. Framework 2.0 and ASP.NET 2.0 application environment.
A: A nice post over here which takes ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How much memory do Enums take? For example if I have an Enum with two cases, does it make take more memory than a boolean? Languages: Java, C++
A: You would only worry about this when storing large quantities of enums. For Java, you may be able to use an EnumSet in some cases. It uses a bit vector internally which ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "56"
} |
Q: Pseudo class :hover does not work in IE7 I've got such a simple code:
<div class="div1">
<div class="div2">Foo</div>
<div class="div3">
<div class="div4">
<div class="div5">
Bar
</div>
</div>
</div>
</div>
and this CSS:
.div1{
position: relative;
}
.div1 .div3 {
positio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Create cronjob with Zend Framework I am trying to write a cronjob controller, so I can call one website and have all modules cronjob.php executed. Now my problem is how do I do that?
Would curl be an option, so I also can count the errors and successes?
[Update]
I guess I have not explained it enough.
What I want t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Which games include coding in gameplay? One title per answer.
A: http://gr1d.org is a persistent online programming rpg, where you write your own agents, advance in levels and attack or defend other players
A: RoboRally!
A: A little Flash game I found the other day: http://www.gameroo.nl/games/light-bot
Be carefu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Displaying controls on an alpha-blended form I tried the Visual C# Kicks code for an alpha-blended form. This works (as soon as I remove the TransparencyKey property); that is, I can use the W3C's PNG alpha test image and see other windows underneath, but makes all controls on the form invisible. Presumably, they si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are there any frameworks for handling database requests in swing applications? I believe any programmer who has been dealing with database requests in a gui application has run into some or all of the following problems:
*
*Your GUI freezes because you call
database layer from within the event
dispatch thread
*W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to control mobile softkeys from Flash application embedded in HTML I have a flash application running Flash 9 (CS3). Application is able to control the Softkeys when this flash application is loaded in the supported mobile device. But, the application doesn't have control when the same is embedded in HTML page... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recommended HTML formatter script/utility? Simple question - I've got a bucketload of cruddy html pages to clean up and I'm looking for a open source or freeware script/utility to remove any junk and reformat them into nicely laid out consistent code. Any recommendations?
If it's relevant I generally manipulate HTM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: CALL -151 What did it do on the APPLE ][ A long time ago I had an apple ][ .
I remember the command call – 151
But I can not remember what it did ?
A: May I also add that -151 is apple ]['s way of expressing hex number which should mean $FF69 (hex syntax used in Apple II i.e. 0xFF68).
The CALL is an Apple Basic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: Servlet constructor and init() method Why do we need an init() method in servlet? Can't we use the constructor to initialization?
A: Because Servlet is an interface, not an abstract class. Constructor arguments cannot be specified on an interface, so the ServletContext needs to be specified on a normal method sign... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Java: Text to Speech engines overview I'm now in search for a Java Text to Speech (TTS) framework. During my investigations I've found several JSAPI1.0-(partially)-compatible frameworks listed on JSAPI Implementations page, as well as a pair of Java TTS frameworks which do not appear to follow JSAPI spec (Mary, Say-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: Does A#.Net work in Visual Studio 2008? As per the title. For those who don't know, it's basically Ada for .Net.
A: According to [wikipedia](http://en.wikipedia.org/wiki/A_Sharp_(.NET)), A#.Net has been folded into "GNAT for .Net" for future releases
AdaCore has taken over this development, and announced "GNAT for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does the portability of PureMVC benefit the application developer? One of the stated goals of the PureMVC framework is to avoid platform dependencies in order to be portable. Considering that because of language and API differences application code will always be heavily dependent on the platform, and that avoid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: C# Interfaces. Implicit implementation versus Explicit implementation What are the differences in implementing interfaces implicitly and explicitly in C#?
When should you use implicit and when should you use explicit?
Are there any pros and/or cons to one or the other?
Microsoft's official guidelines (from first ed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "680"
} |
Q: How can I modify a saved Microsoft Access 2007 or 2010 Import Specification? Does anyone know how to modify an existing import specification in Microsoft Access 2007 or 2010? In older versions there used to be an Advanced button presented during the import wizard that allowed you to select and edit an existing spec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: What's the least useful comment you've ever seen? We all know that commenting our code is an important part of coding style for making our code understandable to the next person who comes along, or even ourselves in 6 months or so.
However, sometimes a comment just doesn't cut the mustard. I'm not talking about obv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Libraries of audio samples (spoken text) For a project we're currently working on, we need a library of spoken words in many different languages.
Two options seem possible: text-to-speech or "real" recordings by native speakers. As the quality is important to us, we're thinking about going the latter path.
In orde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can Greasemonkey cause the displayed title to change I want to change the title showing in a page based on information I pick up from within the page (eg to show the number of inbox messages)
document.getElementsByTagName('title')[0].innerHTML="foo"; does change the title tag, but firefox does not update the display... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: implicit operator using interfaces I have a generic class that I'm trying to implement implicit type casting for. While it mostly works, it won't work for interface casting. Upon further investigation, I found that there is a compiler error: "User-defined conversion from interface" that applies. While I understan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "62"
} |
Q: Unobtrusive JavaScript:
A: There are two possibilities for truly unobtrusive scripts:
*
*including an external script file via a script tag in the head section
*including an external script file via a script tag at the bottom of the body (before </body></html>)
The second one can be faster as the original Yah... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "92"
} |
Q: How can I add fonts to netbeans? I'm using netbeans on ubuntu, I would like to add some fonts to it. Could anyone tell me how this is done ?
A: I assume you mean the IDE's editor font?
I'm on Windows with 6.1 but I assume the process will be the same.
Tools > Options > Fonts & Colours > Syntax
Category: default... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: OCSP libraries for python / java / c? Going back to my previous question on OCSP, does anybody know of "reliable" OCSP libraries for Python, Java and C?
I need "client" OCSP functionality, as I'll be checking the status of Certs against an OCSP responder, so responder functionality is not that important.
Thanks
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: x509 certificate parsing libraries for Java Any recommended crypto libraries for Java. What I need is the ability to parse X.509 Certificates to extract the information contained in them.
Thanks
A: In Java, java.security.cert.CertificateFactory.
"A certificate factory for X.509 must return certificates that are an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: linker woes - undefined reference I'm having a problem with my compiler telling me there is an 'undefined reference to' a function I want to use in a library. Let me share some info on the problem:
*
*I'm cross compiling with gcc for C.
*I am calling a library function which is accessed through an included heade... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Comparing date ranges In MySQL, If I have a list of date ranges (range-start and range-end). e.g.
10/06/1983 to 14/06/1983
15/07/1983 to 16/07/1983
18/07/1983 to 18/07/1983
And I want to check if another date range contains ANY of the ranges already in the list, how would I do that?
e.g.
06/06/1983 to 18/06/1983 = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "126"
} |
Q: firefox not opening - cron, ruby, firewatir I have written a ruby script which opens up dlink admin page in firefox and does a ADSL connection or disconnection.
I could run this script in the terminal without any problem. But if I put it as cron job, it doesn't fire up firefox.
This is the entry I have in crontab
# ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Software Synth Library for Java I've been thinking a lot lately about a music-oriented project I'd like to work on. Kind of like a game... kind of like a studio workstation (FL Studio, Reason).
I guess the best way to describe it would be: like "Guitar Hero", but with no canned tracks. All original music--composed b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Including Partials, ASP.NET MVC I'm building my first ASP.NET MVC application and I am having some troubles with Partial Views.
If I, as an example, want to put a "Footer" as a Partial I create an "MVC View User Control" in "/Views/Shared/Footer.ascx". (I leave it empty for now)
What is the correct way for adding it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Where can I find open source 2d bin packing algorithms? I'm looking for open source (preferably c++) algorithms for 2d bin packing of rectangular and or irregular shapes. I've found several papers on the subject but no code.
A: Here is the best to my knowledge about rectangular bin packing:
http://clb.demon.fi/proj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Exception thrown inside catch block - will it be caught again? This may seem like a programming 101 question and I had thought I knew the answer but now find myself needing to double check. In this piece of code below, will the exception thrown in the first catch block then be caught by the general Exception catch b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "239"
} |
Q: Binsor and log4net I'm using Castle Windsor and Binsor to use dependency injection in my application. I'm no expert at either one. Usually I can figure out how to bend Windsor to my will, but I find Binsor much harder, especially since I haven't found any decent documentation for it.
I'm trying to create a binsor co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Crypto/X509 certificate parsing libraries for Python Any recommended crypto libraries for Python. I know I've asked something similar in x509 certificate parsing libraries for Java, but I should've split the question in two.
What I need is the ability to parse X.509 Certificates to extract the information contained ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Window styles / Minimal titlebar/borders I'm looking for some kind of a resource (website) that would list all possible window/dialog frame styles and their respective combinations with images. I'm only really interested in Vista, as my software won't support older platforms anyway.
I have a more specific case here ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keep focus on an application I have written an application which has a modal form. How can I ensure that this form does not lose the focus even when an other application is started?
A: You can set the "Topmost" property to true to keep the form in front of all others but that doesn't make it keep focus.
A: Actuall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What's the best system for installing a Perl web app? It seems that most of the installers for Perl are centered around installing Perl modules, not applications. Things like ExtUtils::MakeMaker and Module::Build are very well suited for modules, but require some additional work for Web Apps.
Ideally it would be ni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: What is the best method to gather data about the use of your application? My company releases a small software product for which I've recently been taking over the development side. It is a C# Windows Forms application.
One of the things I've noticed is that much of the information about how the software is used is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the performance hit of using TLS with apache? How much of a performance hit will running everything over TLS do to my server? I would assume this is completely ignorable in this day and age? I heard once that servers today could encrypt gigabytes of data per second, is that true? And if so, is it linearly sc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible that F# will be optimized more than other .Net languages in the future? Is it possible that Microsoft will be able to make F# programs, either at VM execution time, or more likely at compile time, detect that a program was built with a functional language and automatically parallelize it better?
Rig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Comparing two bitmasks in SQL to see if any of the bits match Is there a way of comparing two bitmasks in Transact-SQL to see if any of the bits match? I've got a User table with a bitmask for all the roles the user belongs to, and I'd like to select all the users that have any of the roles in the supplied bitmask. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: Is there any difference between "string" and 'string' in Python? In PHP, a string enclosed in "double quotes" will be parsed for variables to replace whereas a string enclosed in 'single quotes' will not. In Python, does this also apply?
A: In some other languages, meta characters are not interpreted if you use sin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "72"
} |
Q: How do I access a MessageBox with white? I have a simple message box in a WPF application that is launched as below:
private void Button_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show("Howdy", "Howdy");
}
I can get white to click my button and launch the message box.
UISpy shows it as a child of my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Font graphics routines How do you do your own fonts? I don't want a heavyweight algorithm (freetype, truetype, adobe, etc) and would be fine with pre-rendered bitmap fonts.
I do want anti-aliasing, and would like proportional fonts if possible.
I've heard I can use Gimp to do the rendering (with some post processin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Refactoring "include file hell" One thing that's really been making life difficult in getting up to speed on the codebase on an ASP classic project is that the include file situation is kind of a mess. I sometimes find the function I was looking for being included in an include file that is totally unrelated. Does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What you think about throwing an exception for not found in C++? I know most people think that as a bad practice but when you are trying to make your class public interface only work with references, keeping pointers inside and only when necessary, I think there is no way to return something telling that the value y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Is it possible to trigger a link's (or any element's) click event through JavaScript? I'm writing some JavaScript code that needs to fire the click event for a link. In Internet Explorer I can do this
var button = document.getElementById('myButton');
button.click();
But this doesn't work in Firefox, and I assume ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: MySQL and data file encryption Is there a way to encrypt the data file that mysql uses? I have a mysql server on an open machine, and I would like to encrypt the data file so even if someone copies the data files, they cannot read the data.
Thanks
A: To anyone researching a transparent MySQL encryption solution for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: PostgreSQL - Rename database I need to rename the database but when I do in
PGAdmin : ALTER DATABASE "databaseName" RENAME TO "databaseNameOld" it told me that it cannot.
How can I do it?
(Version 8.3 on WindowsXP)
Update
*
*The first error message : Cannot because I was connect to it. So I selected an other dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "160"
} |
Q: What books should I read to have an undergraduate education in Computer Science? I've always been a largely independent learner gleaning what I can from Wikipedia and various books. However, I fear that I may have biased my self-education by inadvertent omission of topics and concepts. My goal is to teach myself the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: What is search.twitter.com's "trending topics" algorithm? What algorithm does twitter use to determine the 10 topics that you can see at search.twitter.com? I would like to implement that algorithm and I would also like to show the 50 most popular topics (instead of 10). Can you describe the most efficient algorithm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: when to pass function arguments by reference and when by address? Could anyone explain with some examples when it is better to call functions by reference and when it is better to call by address?
A: This has already been discussed. See Pointer vs. Reference.
A: Pass your arguments to function using reference when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/143788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.