text stringlengths 8 267k | meta dict |
|---|---|
Q: User ID verification If I am setting up a site how would I go about ensuring that the person who gives me a credit card number (for instance) is the person who is authorized to use it? Maybe more generally how would I go about reducing the opportunity for fraud and stolen ID usage whether it be for a purchase or sys... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Smart navigation What is smart navigation in .NET?
A: SmartNavigation is a property of the Page class in System.Web.UI. When a request comes in to Internet Explorer 5.5 or higher and SmartNavigation is turned on (set to true), the following actions are performed:
*
*The flash caused by navigation is eliminated
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: best way to print data in columnar format? I am using Python to read in data in a user-unfriendly format and transform it into an easier-to-read format. The records I am outputting are usually going to be just a last name, first name, and room code. I
I would like to output a series of pages, each containing a con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating your own language If I were looking to create my own language are there any tools that would help me along? I have heard of yacc but I'm wondering how I would implement features that I want in the language.
A: ANTLR is a very nice parser generator written in Java. There's a terrific book available, too.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Firefox plugin to copy text with its formatting Intelligently? When viewing a webpage, I would like to copy a selection of text with its html formatting in one piece.
Meaning if some text is in bold and blue, I want the tool to create a style or class in the html which makes the text blue. Everything is contained in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: php fsockopen I have a simple php script on a server that's using fsockopen to connect to a server.
<?php
$fp = fsockopen("smtp.gmail.com", 25, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
echo fgets($fp, 1024);
fclose($fp);
}
?>
The problem is the the script times out and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: In .NET, which loop runs faster, 'for' or 'foreach'? In C#/VB.NET/.NET, which loop runs faster, for or foreach?
Ever since I read that a for loop works faster than a foreach loop a long time ago I assumed it stood true for all collections, generic collections, all arrays, etc.
I scoured Google and found a few articl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "428"
} |
Q: How do I make a backup of a PLSQL db? How do I make a backup of a PLSQL db?
A: The question is do you really want to do it from PL/SQL?
Assuming you are using an oracle DB they have commands that will dump your DB into a file. It is dumped in such a way that the DB (tables and all) can be re-created from scratch (s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: As a technical lead is it appropriate to reject a language based upon personal preference? You could very well leave out "as a technical lead", but I think it puts the situation into context. I'm a technical lead, we're building a new app, and I have an idea of the language I would like the team to use. If one or mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is snarf in Javascript/ECMA? I was looking through Mozilla's JS in JS code and came across the snarf function. It's not defined in the javascript, it seems, just in the C version here. It isn't very well-commented, though. I Google searched this to no avail.
Is this a standard part of JavaScript? (My guess is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Visual Studio skips build When I try to build my project I get the following message in the build window :
========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ==========
I tried rebuilding , then building again , but it doesn't help . Is there a way to view more detailed messages ? The "skipped" part do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How can I do Exp and Imp by using PL/SQL How can I do Exp and Imp by using PL/SQL?
A: This could be done in a few ways.
First, if you're using 10g or later, you can consider using data pump (expdp and impdp) as opposed to imp and exp. These are the newer and more capable versions of those tools.
As for how to call ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to do two things with one click in Windows Form On my main form, there is another (floatable) window. This floatable window works sort of like a popupwindow in that it will close when the user clicks somewhere else outside of this window. This is handled by the Deactivate event. But what I want to do is, if the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can an SVN client break the repository? Is it possible for an Subversion client to break a repository in any way? This could be any sort of destructive disruption, but it must be such that it cannot be recovered from without restoring the repository from a backup.
Obviously, deleting everything and then checking tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I make spotlight index markdown files? I typically use the .markdown or .md extension for markdown documents. Unfortunately spotlight refuses to index them unless they have the .txt file extension.
I've seen a possible solution involving editing Info.plist files on the textmate blog. Is there a better way?
U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Is this compact framework program running on the desktop? One of the cool things about the .NET Compact Framework is that you can run .NETCF executables on the desktop version of Windows. However, there are minor incompatibilities between the platforms that have to be dealt with at run-time. My question is, how do I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Better way or reusable code to populate an HTML element or create a select after a jQuery AJAX call I find myself doing 2 things quite often in JS, at the moment using jQuery:
The first is the populating of an HTML element, which might look like:
$.get('http://www.example.com/get_result.php', { id: 1 }, function (da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What are the allowed .NET return types from a XSLT extension object method? .NET allows to extend XSLT by using the so called extension object. Very handy and very convenient. You do so by creating a class:
public class VeryHandyExtensionFunctions
{
public string VerySmartStringConcat(XPathNodeIterator NodeList)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Allocating resources for project documentation What would you suggest for the following scenario:
A dozen of developers need to build and design a complex system. This design needs to be documented for future developers and the design decisions must be noted. These reports need to be made about every two months. My... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why isn't SSAS loading any measure data for my cube? Background:
I'm writing a data provider that SSAS will use to get data from a third-party system.
I wrote a tool that will build cubes, dimensions, measure groups and measures based on the configuration of the third-party system using AMO.
Now, in the Cube Brows... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Timing loop results I got a little stuck and I'm hoping someone can point me in the right direction. I have an NSMutableArray that stores a sequence. I created an enumerator so that a while loop can get the content of the array one by one.
Everything works fine however I want the methods to be called with a 10 secon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Multi-threading: Objects being set to null while using them I have a small app that has a Render thread. All this thread does is draw my objects at their current location.
I have some code like:
public void render()
{
// ... rendering various objects
if (mouseBall != null) mouseBall.draw()
}
Then I also ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Xpath sibling conditional testing? I'm using VB.net (2003), and calling the SelectNodes method on an xml document.
If I have a document:
<InqRs>
<DetRs>
<RefInfo>
<RefType>StopNum</RefType>
<RefId>0</RefId>
</RefInfo>
<RefInfo>
<RefType>Id</RefType>
<RefId>0</Ref... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How did you benefit from Resharper How much code kludge could you remove using the resharper 4?
I want to hear more about benefits on 10k+ codebases
A: Resharper is a tool. Continuous refactoring is an attitude. If you've got the attitude, then IMO resharper is the best tool you can get. The tool by itself does not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple transparency example not working in Java 3D I'm a complete n00b in j3d (but an expert in Java). Just starting out, I'm running into a problem playing with transparency. I've got a simple example which draws a rotating planar quad (disappears when showing the back face because I haven't disabled backface culli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Remembering checked checkboxes across pages - what's the best way? I'm needing to add functionality similar to Gmail where the checkboxes on a list of items is remembered across multiple pages of results and when going away and coming back to the result. What I'm trying to figure out is the best way of doing this. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Calculator using 2 stacks I have an intel assembly assignment. I need to write a calculator which uses 2 stacks. For example, i have an expression like 23+4/2^4$ .So that $ indicates the end of expression. What I will do is to have two stacks, one for numbers, one for operators and push and pop them according to the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Pocket PC/Windows Mobile: How to detect smart minimize How do I detect when my Compact Framework application is being smart-minimized (smart minimize is what happens when the user clicks the "X" button in the top-right corner on a Pocket PC)?
The Deactivate event isn't the right way because it occurs in circumstance... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Architecture and caching considerations with large XML files I'm building a website to display products, and categories of products. The data comes from an external service in the form of a 500k XML file. The website is ASP.NET, C#.
The XML is structured as a list of categories. Inside each category might be some pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: starting file download with JavaScript Let's say I have download links for files on my site.
When clicked these links send an AJAX request to the server which returns the URL with the location of the file.
What I want to do is direct the browser to download the file when the response gets back. Is there a portable... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "61"
} |
Q: How could I implement this strange WPF TreeListDataGridView? As you can see in the image below I have a tree datamodel consisting of groups that can contain other groups plus an arbitary number of items wich again can hold Parameters. The Parameters itself are defined globally and just reoccur in the items. Only the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I best handle dynamic multi-dimensional arrays in C/C++? What is the accepted/most commonly used way to manipulate dynamic (with all dimensions not known until runtime) multi-dimensional arrays in C and/or C++.
I'm trying to find the cleanest way to accomplish what this Java code does:
public static void main... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: How do I use XComment when reading in an XML document? I'm using the following line to read in an XML document that may or may not have some comments bracketed by "<!-- -->" near the top of my XML file:
XDocument xe1 = XDocument.Load(filepath)
How do I read in the comments and store as a string?
I'm doing this in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is it ok to put html comments outside the tags? W3c validator didn't ding me on this, but I was curious if anyone else had an opinion on placing html comments outside of the html tags?
...
</body>
</html>
<!-- byee -->
I have an application and am outputting some data and want it to be the absolute last thing tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Blogging Tool Needed for Standards Compliant Webpages A programmer I know has a website that is fully Standards Compliant. It uses Unicode-encoded fully-validated XHTML 1.1 with CSS. The pages are frames-free, table-free and JavaScript-free.
He would like to be directed to a blogging tool that does not demand any p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Howto rotate image using jquery rotate plugin? How do you rotate an image using jQuery-rotate plugin?
I have tried the following and it doesn't seem to work:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>View Photo</title>
<script type="text/javascript" src="scripts/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Collections with events - is there a better choice than BindingList(of T)? I needed a generic collection or list that can fire an event when an item is added or removed.
I discovered that BindingList(of T) has events for this and wired up a quick proof of concept that worked fine.
Of course, this doesn't feel like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What kinds of interview questions are appropriate for a c++ phone screen? Curious to get people's thoughts. I conduct frequent interviews, and have had enough in my career to reflect on them, and I've noticed a broad array of questions. I made this c++ specific, but it's worth noting that I have had people ask me al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Calculate distance between 2 GPS coordinates How do I calculate distance between two GPS coordinates (using latitude and longitude)?
A: A T-SQL function, that I use to select records by distance for a center
Create Function [dbo].[DistanceInMiles]
( @fromLatitude float ,
@fromLongitude float ,
@toLatitu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "431"
} |
Q: How to make a simple Wine-based installer for Windows application My Windows application runs under Wine, but the installation is a bit of a headache for laymen, and the wrappers I've seen online (PlayOnLinux, Wine Doors) require even more packages to be installed. Is there a way to make a package that will install ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do *you* use XML within the world of web applications? Background
I'm researching the efficiency of messaging within contemporary web applications, examining the use of alternatives to XML. This is a university project whose results will be released publicly - the greater the participation of the community, the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is the best approach for building an iphone client for a rails app? I have a fairly standard rails app and would like to be able to access the basic CRUD (Create, Update, Delete) operations as well as queries I have added, from an iPhone app. Rails provides the REST API for these operations more or less out of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Android development with Netbeans IDE Has anybody had any success with developing for Android platform using Netbeans (5.5+ ) IDE? I know of atleast netbeans one plugin that is supposed to support it but wanted to hear if anyone is using netbeans for Android development and how easy it is to set it up.
A: Android w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "43"
} |
Q: What Conditions Cause a Web Application to Be Just In Time Compiled? I'm curious as to the exact conditions that cause an application to be Just In-Time Compiled?
I think we all know the first visit to a non pre-compiled site will cause a JIT.
What about throwing new code into the App_Code directory?
I'm pretty sur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do 'malloc' and 'new' work? How are they different (implementation wise)? I know how they are different syntactically, and that C++ uses new, and C uses malloc. But how do they work, in a high-level explanation?
See What is the difference between new/delete and malloc/free?
A: What new does differently form ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to decode google gclids Now, I realise the initial response to this is likely to be "you can't" or "use analytics", but I'll continue in the hope that someone has more insight than that.
Google adwords with "autotagging" appends a "gclid" (presumably "google click id") to link that sends you to the advertised si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Dynamic Context Menu on Treeview Nodes Duplicate Of : Find node clicked under context menu
I've got a context menu on a Treeview, when the user right clicks it supposed to change based on the currently right clicked node's tag object.
Currently I'm updating the context menu in after_select event, however this doesn'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is linq a cursor? I'm familiar with .NET and with SQL. Now I'm looking at the new LINQ and it looks to me just like a cursor. I understand the ease of use, etc., but if I do a LINQ-to-SQL query with a foreach loop, am I just using a DB cursor? Or is there some sort of magic behind the scenes where LINQ collects a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Complex or Deep Object Storage in Ramaze Session is Broken? (this is regarding the Ramaze.net framework)
I ran into some really strange problems while storing custom Objects
in session. I noticed that only the attributes on the objects
immediately stored in session were being updated. However, if those
objects conta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to determine the period of a function if i have a function A,which can apply a certain rule on a given matrix to generate a another matrix which i call it the next state of the origin matrix,also the function can determine the the final state of the matrix by given times N(apply the rule on origin,and apply the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Fireworks or AIR? I need to write a desktop application that can run on Mac (Windows and Linux soon) that can get data from MySQL and allow users to transfer files from their desktop to the server.
I know I can write a desktop app in AIR, how would Fireworks play into this?
Can AIR connect to MySQL?
Can one FTP file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: BULK IMPORT a zip file in T-SQL I've got some data files that are stored compressed on our company's server with a .Z extension (UNIX compress utility used to zip them down).
Can SQL Server's BULK IMPORT operation read these files in that format? Or must I uncompress them before getting at the data?
A: The BULK IMP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: trying to convert rgb from a .net Color to a string such as "red" or "blue" All of my methods are failing me in various ways.
different lighting can mess it all up too.
has anyone every trying to return a name given a rgb value? "red" "green" "blue" would be enough to satisfy my needs for today.
i have unsafe byte p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Is there an equivalent to BundleActivator for Eclipse fragment projects? I am building an Eclipse plug-in that provides a set of core features in the regular plug-in project. The optional features I am providing via fragment projects. But I need the fragments to register themselves with the main plug-in on start-up.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Visual Studio Database Edition: A few newbie questions I'm looking at adding Visual Studio Database Edition (aka. VSDE) to my version of VS2008.
Q1. What's the order of install of these products? is this ok?
Update: Fixed the ordering of the install, based on feedback.
*
*VS2008 (c# [no sub options], web dev, ts ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Add SubItems in TreeView I'm sure this sounds like a n00b question, but how do I add sub items programmically while populating a TreeView list in VB.NET 3.5? I have the following code, but haven't been able to figure out how to add the sub items for each of the folders/files I'm populating the TreeView with:
Privat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How best to add Plugin Capability to a Delphi program I am looking to add the capability for users to write plugins to the program I have developed in Delphi. The program is a single executable with no DLLs used.
This would allow the user community to write extensions to my program to access the internal data and a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How are JavaScript arrays implemented? Namely, how does the following code:
var sup = new Array(5);
sup[0] = 'z3ero';
sup[1] = 'o3ne';
sup[4] = 'f3our';
document.write(sup.length + "<br />");
output '5' for the length, when all you've done is set various elements?
My 'problem' with this code is that I don't underst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: db connection pool across processes We have a client/server application that consists of multiple EXEs. The data access layer is on the same physical tier as the client in a library shared by our EXE modules. ODBC and OleDB connection pools are managed per-process; are there techniques for sharing DB connections acr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting login failed for sa when I haven't changed the password I've been developing a winforms app tied to sql server. I haven't rebooted in a while. Today i rebooted and now I can't log into sql. I used every account I know and their passwords including one that was working just before i rebooted and i get a 'Logi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/365996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Link to Application Tab from Profile box (Facebook app) I would like to place a link from my application's narrow profile box to it's application tab on the same profile.
I have combed through the FBML documentation to no avail. I have posted this question on the Facebook dev forums. I have experimented with pastin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Atom Publishing Protocol in real life I know that some big players have embraced it and are actually exposing some of their services in APP compliant way, already. However, I haven't found many other (smaller) players in this field. Do you know any web application/service that uses APP as its public API protocol? Wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: What is the size of an enum in C? I'm creating a set of enum values, but I need each enum value to be 64 bits wide. If I recall correctly, an enum is generally the same size as an int; but I thought I read somewhere that (at least in GCC) the compiler can make the enum any width they need to be to hold their values.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "161"
} |
Q: What is a good C/C++ CSS parser? What is a good C/C++ CSS parser? All that I can find is CSSTidy, and it seems to be more of an application than a parsing library.
A: I googled for:
"CSS Parser" C++
The first result is http://sourceforge.net/projects/htmlcxx. It's a CSS/HTML API for C++.
A: libcss seems also a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Implement Array-like behavior in JavaScript without using Array Is there any way to create an array-like object in JavaScript, without using the built-in array? I'm specifically concerned with behavior like this:
var sup = new Array(5);
//sup.length here is 0
sup[0] = 'z3ero';
//sup.length here is 1
sup[1] = 'o3ne';... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Tracking redirects and cookies with Python I would like to do be able to follow and track redirects and the cookies that are set by the different webpages with Python (a bit like the tamper plugin for Firefox).
So if website1 redirects to website2 which then redirects to website3, I would like to follow that and als... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: cURL does not seem to behave correctly here I'm trying the following command on my shell:
curl -b usptoCookies -L -d "patentNum=6836866&applicationNum=10007391&maintFeeAction=Get+Bibliographic+Data&maintFeeYear=04" https://ramps.uspto.gov/eram/getMaintFeesInfo.do;jsessionid=0000Nmdd1Q_YsDF90HKmb9EIIgq:11g0uehq7
Pre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can Read-Only Properties be Implemented in Pure JavaScript? Looking at the mozilla documentation, looking at the regular expression example (headed "Creating an array using the result of a match"), we have statements like:
input: A read-only property that reflects the original string against which the regular expre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: Regular Expression: How to put single quotes around XML attribute values? i have a string that looks like
"<input id=a/>"<input id=b/>"<input id=c/>etc.
I need to change it to
"<input id='a'/>"<input id='b'/>"<input id='c'/>etc,
any ideas how?
A: In C# you could write it as:
resultString = Regex.Replace(subject... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Are there any good parsing libraries for .Net? I'm looking for something simple to use where the grammar is easy to define.
A: Although I've never used it before, ANTLR has C# runtime.
A: If you use F#, check out FParsec.
A: Just found out about Irony. Used for writing DSL.
Thought I would add it to the list.
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to position UserControl in the parent canvas I want to place this UserControl at Canvas.Left="168", Canvas.Top="213".
However, the control appears at a corner. What should I do?
If I put the values at the point of usage for this class, the values are returned as NaN
In that case how can I get the correct Left a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Instantiating new object within switch block - why does it fail? Why does
switch ([document currentTool]) {
case DrawLine:
NSBezierPath * testPath = [[NSBezierPath alloc]init];
//...rest of code that uses testPath....
result in
error:syntax error before "*" token
for testPath?
A: You can't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: C# Interpreted Language I am looking to write an interpreted language in C#, where should I start? I know how I would do it using fun string parsing, but what is the correct way?
A: It can be a pretty difficult endeavour to do right.
If you don't have much knowledge in compiler theory you should probably first star... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: flexunit with pure ActionScript project in Flex Builder 3 If you create a pure ActionScript project in Flex Builder 3 and want to do unit testing using flexunit, what is the best option?
The built-in Flex builder will refuse to build the mxml file containing the TestRunnerBase component as it is a pure ActionScript ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Git commit against tag with no branch If I check out a tagged version of my source code without creating a branch, Git indicates that I'm not associated with any branch at all. It's happy to let me make changes and check them in though. Where do those changes go? If I switch back to 'master' they disappear (overwrit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: Creating a custom rule in FxCop I want to create extra rules in FXCop. Custom Rules to help ensure specific best practices like checking against inline sql.
I'm really looking for good resources and examples. Thanks!
A: This tutorial seems really comprehensive.
A: You can also use the commercial tool NDepend to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Error in Flash addition Make a new AS3 Document in Flash, paste in the following code and run it:
var a:Number=0;
trace(a) // 0
a+=0.3;
trace(a) // 0.3
a+=0.3;
trace(a) // 0.6
a+=0.3;
trace(a) // 0.8999999999999999
a+=0.3;
trace(a) // 1.2
a+=0.3;
trace(a) // 1.5
a+=0.3;
trace(a) // 1.8
a+=0.3;
trace(a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JTable entire table data change Is there a relatively simple way to change all the data in a JTable? For example, if I have a JTable named books which contains information about all books by a certain author, and then the user changes the author, I would have to update that table with a completely new set of informa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I fix the error "Cannot load control SSPanel; license not found" in VB6 program I have a VB6 legacy program which I need to change. I am unable to run the program from the IDE. When I activate one of the forms in the IDE I get an error which refers me to an error log file. The log file has the following in it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Using tinyurl.com in a .Net application ... possible? I found the following code to create a tinyurl.com url:
http://tinyurl.com/api-create.php?url=http://myurl.com
This will automatically create a tinyurl url. Is there a way to do this using code, specifically C# in ASP.NET?
A: You have to call that URL from you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Inserting a tab character into text using C# I'm building an application where I should capture several values and build a text with them: Name, Age, etc.
The output will be a plain text into a TextBox.
I am trying to make those information appear in kind of columns, therefore I am trying to separate them with tab t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "310"
} |
Q: Can you declare a pointer as extern in C++? I have the following bit of legacy C++ code that does not compile:
#include <stdio.h>
#include <iostream>
extern ostream *debug;
GCC (g++) complains: "expected initializer before ‘*’ token"
Looking around it seems more common to declare these as external references, like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: File exists php code <?php
function data_info($data)
{
if ($data) {
while (!feof($data)) {
$buffer = fgets($data);
if (file_exists($buffer)) {
$bufferArray[$buffer]['Exists'] = (file_exists($buffer));
$bufferArray[$buffer]['Readable'] = (is_readable($buffe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Image Manipulation with Javascript? I'm trying to write a greasemonkey script, and it would be preferable for it to be able to work with images (specifically, find the darkest pixel in an image). Is there a way to do this or must I embed flash?
A: Since it's Firefox specific, you can use a canvas element. I've neve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: ASP.NET MVC doesn't work with ViewState and Postback? Perhaps this is a naive question. In my understanding, ASP.NET MVC cannot work with ViewState and Postback which is fundamentals of ASP.NET forms. Is that correct?
If that's it, then all ASP.NET Web Controls depending on ViewState & Postback cannot be used in ASP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: What is difference between published and public methods / attributes? According to Martin Fowler "Something can be public but that does not mean you have published it." Does this mean something like this:
public interface IRollsRoyceEngine
{
void Start();
void Stop();
String GenerateEngineReport();
}
pu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Should I have one class for every database I use? First, let me explain what I am doing. I need to take an order, which is split up into different databases, and print out this very large order. What I need from the orders is about 100 or so columns from different databases. The way I was doing in was querying with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Help with design I think I am pretty good with programming C# syntax. What I am looking for now is some resources, books(preferable), websites, blogs, that deal with the best way to design object oriented Desktop Applications and Web applications, especially when it comes to data and databases.
Thanks
A: You are a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to update database table schemas with NHibernate schema generation? I'm trying to figure out how to use NHibernate configuration with mapping to update table schemas, rather than dropping and recreating them.
Currently I'm using the NHibernate.Tool.hbm2ddl.SchemaExport obj with FluentNHibernate to generate the d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: Hotmail / Yahoo (Others?) blocking email notifications? I've got a website (currently in development for a third party, I'm sorry I can't show) that requires users to confirm their contact information by, clicking on a link sent to their email address, upon registration for the website.
It's a pretty standard practi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is the Sql Server Unique Key also an Index? I've got a column in a table (eg. UserName) which I want to make sure is unique. So I create a unique key for that column and call it IX_Users_UserName.
Now, if I do lots of searching for users based on their username I want to make sure there is an index for that field.
D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: Getting started with programmatic audio I'm looking for help getting started working programmatically with audio.
Specifically, the platform I'm working with exposes APIs to extract audio data from a resource (like an MP3), or to play back arbitrary data as audio. In both cases the actual data is byte arrays of 32bi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Do i need a special database constraint on this table? i've got a commenting system in our database. Just like stackoverflow -> each post has a list of comments. kewl.
Anonymous people can add a comment or registered users also.
In my table, i'm thinking of having the following:
*
*Userid int NULLABLE
*Anonymous... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Regex for splitting a string using space when not surrounded by single or double quotes I'm new to regular expressions and would appreciate your help. I'm trying to put together an expression that will split the example string using all spaces that are not surrounded by single or double quotes. My last attempt look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "133"
} |
Q: EmacsW32: possible to use both "windows key" and "alt key" bindings together? Problem: EmacsW32 is a version of Emacs that allows the user to make Emacs treat the "Windows" key as the "Meta" key (instead of treating the Alt key as the "Meta" key). Although this works as advertised, the question is what happens when ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Code is HttpClient or servlet API to parse Cookie header Is there any existing code in Apache HttpClient or in the servlet API to parse Cookie header and obtain from a string that contains "name1=value1; name2=value2; ..." a list of Cookie? Writing code to parse this doesn't seem too hard, but if there is already so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: System Icons Retrieval in C# 1.0 and Alpha Channels In a .NET 1.0 C# application, I wish to display a list of files and folders in a listview control. I want to programmatically retrieve from windows the icons for the files or folders to display them appropriately in the list view.
At present, I am using the Windows... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where is Ada used (apart from safety-critical software)? When one thinks of Ada, one usually thinks of avionics.
What I'm interested in are some other applications of Ada? Where is it used? Are there any shipped applications written in Ada?
For example, are there CRUD apps written in it? Or games? Etc.
A: Ada was o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: .def files C/C++ DLLs I am not understanding the point of using .def files with DLLs.
It seems that it replaces the need to use explicit exports within your DLL code (ie. explicit __declspec(dllexport)) however I am unable to generate a lib file when not using these which then creates linker issues later when using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: What is the use of Strictfp method in java?
Possible Duplicate:
When to use “strictfp” keyword in java?
What is the use of Strictfp method in java?
A: strictfp is a method or class modifier that forces the JVM to do floating point math a certain way that is guaranteed to be the same across different JVM implemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/366232",
"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.