text string | meta dict |
|---|---|
Q: Good RSS news feed for JavaFx news and resources ...Yes I've seen:
Best Resources for Learning JavaFX?
but it doesn't really answer the question. Maybe there just aren't any good resources at the moment?
UPDATE:
http://developers.sun.com/rss/javafx.xml is OK
A: *
*If you have Google Reader you could use their Disc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Sync SQL Logins utility on 2005/2008 Anyone point my at a utility for syncing sql server logins after restoring a database to a different server?
I know I can do it with scripts, but I've been using a wonderful little utility - 'Db Maint Sync SQL Logins' (http://www.dbmaint.com/SyncSqlLogins.asp) to do it on sql s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Size of a byte in memory - Java I have heard mixed opinions over the amount of memory that a byte takes up in a java program.
I am aware you can store no more than +127 in a java byte, and the documentation says that a byte is only 8 bits but here I am told that it actually takes up the same amount of memory as an i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: ASP.NET and Flash - can flash talk to .net Can a flash front end talk to a .net backend?
A: Yes.
We use Adobe Flex to talk to .Net XML web services.
Be careful with complex serialised .Net types (for instance DataSets) - ActionScript can't handle them.
Instead produce simple XML with primitive types.
See also: Fle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Sanitizing MySQL user parameters What are the dangerous characters that should be replaced in user input when the users' input will be inserted in a MySQL query? I know about quotes, double quotes, \r and \n. Are there others?(I don't have the option of using a smart connector that accepts parameters so I have to bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Class design for serialization - ideas or patterns? Let me begin with an illustrative example (assume the implementation is in a statically typed language such as Java or C#).
Assume that you are building a content management system (CMS) or something similar. The data is hierarchically organised into Folders. Each ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Difference between files written in binary and text mode What translation occurs when writing to a file that was opened in text mode that does not occur in binary mode? Specifically in MS Visual C.
unsigned char buffer[256];
for (int i = 0; i < 256; i++) buffer[i]=i;
int size = 1;
int count = 256;
Binary mode:
FIL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Outputting a manipulated QueryString in C# Using the following code I get a nice formatted string:
Request.QueryString.ToString
Gives me something like: &hello=worldµsoft=sucks
But when I use this code to clone the collection to another object (of the same type) I get the Type() back from the ToString() metho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: .NET: is there a Click-and-drag "Desktop-Like" control? OK, first for context look at the Windows desktop; You can take items (folders, files) on the desktop and drag them around to different places and they "stay" where you dragged them. This seems to be a pretty useful feature to offer users so as to allow them ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using request.setAttribute in a JSP page Is it possible to use request.setAttribute on a JSP page and then on HTML Submit get the same request attribute in the Servlet?
A: The reply by Phil Sacre was correct however the session shouldn't be used just for the hell of it. You should only use this for values which rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: ASPX Textbox: Execute method on return keypress I have a search box that doesn't have a submit button, I need to be able to hit enter and then execute a method, how do I do this?
A: you could also do something simple like this with CSS:
<asp:Panel DefaultButton="myButton" runat="server">
<asp:TextBox ID="myText... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Proxies and the var keyword This question is related to a previous post of mine Here. Basically, I want to inject a DAO into an entity i.e.
public class User
{
IUserDAO userDAO;
public User()
{
userDAO = IoCContainer.Resolve<IUserDAO>;
}
public User(IUserDAO userDAO)
{
this.use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Many-to-many relationships in ASP.NET Dynamic Data I need to use a many to many relationship in my project and since Dynamic Data doesn't support it natively, I would like to ask for a sample of an implementation of something like it.
I'm specifically looking for a way to both create new instances of the target enti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to stop visual studio from updating assembly references? In our environment we have a Lib folder which contains various third party assemblies referenced by our projects. For example, Enterprise Libary and Elmah.
Sometimes a dev doesn't do a get latest on that folder. When the dev then loads a project which ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Copying rows in MySQL I want to copy all of the columns of a row, but not have to specify every column. I am aware of the syntax at http://dev.mysql.com/doc/refman/5.1/en/insert-select.html but I see no way to ignore a column.
For my example, I am trying to copy all the columns of a row to a new row, except for the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/229998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Thread vs ThreadPool What is the difference between using a new thread and using a thread from the thread pool? What performance benefits are there and why should I consider using a thread from the pool rather than one I've explicitly created? I'm thinking specifically of .NET here, but general examples are fine.
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "151"
} |
Q: renumber primary key How would I reset the primary key counter on a sql table and update each row with a new primary key?
A: Not sure which DBMS you're using but if it happens to be SQL Server:
SET IDENTITY_INSERT [MyTable] ON
allows you to update/insert the primary key column. Then when you are done updating the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Drools.NET vs Windows Workflow Foundation (WF) I am currently in the process of searching for a rules engine that works in .NET. Our logic is pretty simple, +, -, *, /, and, or, basic order of operations stuff. However we are going to need to store this information in the database and then generate the rules file ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Postback not working with ASP.NET Routing (Validation of viewstate MAC failed) I'm using the ASP.NET 3.5 SP1 System.Web.Routing with classic WebForms, as described in http://chriscavanagh.wordpress.com/2008/04/25/systemwebrouting-with-webforms-sample/
All works fine, I have custom SEO urls and even the postback work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Error: The HTTP headers are already written to the client browser I got this error
Response object error 'ASP 0156 : 80004005'
Header Error
/ordermgmt/updateorderstatus.asp, line 1390
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Vertical display of Header Text in Grid View ASP .NET Is there a way to display the headerText of the Grid View vertically?
http://img371.imageshack.us/img371/4813/testyk6.jpg
I hope the above link works
Thanks
A: I believe you'd have to use images. Either created at design time, or using a HttpHandler to generate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is the best way to precompile JSPs using Ant I am trying to figure out the best way to use Ant to precompile JSPs that will be deployed to an Oracle application server. Even though I am deploying to an Oracle app server I would like to avoid using Oracle's version of Ant.
A: Oracle's JSP compiler is available... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Force a manual Merge of certain files within TortoiseSVN Is there some way to force some files to not be merged automatically (force me to manage the merge) when merging a branch back into the main tree?
For example, I have web.config files that have specific paths based on whether I'm in the Dev or Production syst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How many times do you verify a task in Scrum? On our Scrum board, tasks start at 'To Do', go to 'In Progress', and when you're done with a task, they move to 'To Verify' before ending up in 'Done'. The 'To Verify' column is when you're done with a task and someone else can have a look at it, test it, and comment on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP as a thttpd module vs CGI in terms of memory usage I am planning to use php in an embedded environment. Our current web server is thttpd. I am considering two options now: whether to run it as a cgi or as SAPI module. I know cgi has advantage in terms of security. But if we are to use php as cgi, an instance of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Paginated query using sorting on different columns using ROW_NUMBER() OVER () in SQL Server 2005 Let's suppose I'm using the Northwind database and I would like to run a query via a stored procedure that contains, among other parameters, the following:
*
*@Offset to indicate where the pagination starts,
*@Limit ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What's the best way to check if a file exists in C? Is there a better way than simply trying to open the file?
int exists(const char *fname)
{
FILE *file;
if ((file = fopen(fname, "r")))
{
fclose(file);
return 1;
}
return 0;
}
A: Usually when you want to check if a file exists, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "551"
} |
Q: What are some code coverage tools for Perl? Are there any good (and preferably free) code coverage tools out there for Perl?
A: Moritz discusses how modules built with Module::Build can use Devel::Cover easily.
For modules using ExtUtils::MakeMaker, an extension module exists to invoke the same functionality. Addin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: IModelBinder and ASP.NET MVC Beta Does anyone have links to tutorials regarding the new IModelBinder in asp.net mvc beta?
I can't get my head around it properly, so much has changed.
Thanks
A: As Haacked points out the source for DefaultModelBinder is a good resource. It would be nice to see a related tutorial on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Data length in ntext column? How do you find out the length/size of the data in an ntext column in SQL? - It's longer than 8000 bytes so I can't cast it to a varchar. Thanks.
A: Use DataLength()
SELECT * FROM YourTable WHERE DataLength(NTextFieldName) > 0
A: The clue's in the question: use DATALENGTH(). Note it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: Internals of Spring Framework and other IoC containers I've been using spring for some time, but I always wondered how does it work, more specifically, how do they load and weave beans/classes marked only with an interface or @annotation.
For the xml declarations, it's easy to see how spring preprocesses my beans (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Grid Control gets slower over time We use Grid Control 10.2.0.4, with a catalog repository database also at 10.2.0.4. It seems that after a week or two of being up, the response time of the web interface gets very poor (20+ seconds to navigate to a new page, when normally 2-3 seconds is seen). The only thing we've f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Saving different csv files as different sheets in a single excel workbook Related to this question, how to save many different csv files into one excel workbook with one sheet per csv ? I would like to know how to do this programmatically in Java.
A: You'll need some form of library for accessing Excel from Java.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: cross-hatching using PostScript I am looking for a way to cross-hatch various basic shapes. Is there a fill style I can't find or should I use clipping?
A: Check chapter 4.9:Patterns of the PostScript Language Reference Manual v.3, available at the the Adobe website
| {
"language": "en",
"url": "https://stackoverflow.com/questions/230098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: .NET Decimal = what in SQL? What's the best data type in SQL to represent Decimal in .NET?
We want to store decimal numbers with up to 9 decimal place precision and want to avoid rounding errors etc on the front end.
Reading about data types, it appears using Decimal in .NET is the best option because you will not g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Questions on differences from ASP.NET 2.0 to ASP.NET 3.5 MVC We are moving from regular 2.0 webforms with no testing to TDD MVC
I'm looking to find out all the requirements for making the jump from 2.0 to 3.5 MVC.
*
*Does SQL Server 2000 work with .net 3.5?
*Does the MVC Framework come with .net 3.5?
*How d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Jython Splitting String Up I am trying to manipulate a string using Jython, I have included below an example string:
This would be a title for a website :: SiteName
This would be a title for a website :: SiteName :: SiteName
How to remove all instances of ":: Sitename" or ":: SiteName :: SiteName"?
A: No different ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to handle calendar TimeZones using Java? I have a Timestamp value that comes from my application. The user can be in any given local TimeZone.
Since this date is used for a WebService that assumes the time given is always in GMT, I have a need to convert the user's parameter from say (EST) to (GMT). Here's the k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "96"
} |
Q: How do I copy the contents of one stream to another? What is the best way to copy the contents of one stream to another? Is there a standard utility method for this?
A: From .NET 4.5 on, there is the Stream.CopyToAsync method
input.CopyToAsync(output);
This will return a Task that can be continued on when complete... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "561"
} |
Q: MySQL Fulltext Search Score Explained I've been experimenting with fulltext search lately and am curious about the meaning of the Score value. For example I have the following query:
SELECT table. * ,
MATCH (
col1, col2, col3
)
AGAINST (
'+(Term1) +(Term1)'
) AS Score
FROM table
WHERE MATCH (
col1, col2, col3
)
AGA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: SQL Server: Make all UPPER case to Proper Case/Title Case I have a table that was imported as all UPPER CASE and I would like to turn it into Proper Case. What script have any of you used to complete this?
A: I am a little late in the game, but I believe this is more functional and it works with any language, inclu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "126"
} |
Q: Is there an attribute I can add to a class so it will be edited as code, not in the designer? I've made a class which inherits from UserControl, but which I only want to use as a base for subclasses. Is there a way I can stop VS2008 from trying to edit it in the designer, that won't stop the subclasses from being e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: New web app project does not recognize the Visual Studio 2008 w/Sp1
To reproduce my problem I simply create a new .Net 2.0 web application and add a page with the following markup:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication5._Default" %>
<!DOCTYPE html PUBLIC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Page.Load issue in ASP.NET 2.0 I am trying to aid another programmer with a page called Default.aspx with a code-behind section, and unfortunately I am at a bit of a loss.
Partial Class _Default
Inherits OverheadClass
'A bunch of global variables here'
Private Sub page_load(ByVal sender As Object, ByVal e As Sy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What can you not do on the Dalvik VM (Android's VM) that you can in Sun VM? I know that you can run almost all Java in Dalvik's VM that you can in Java's VM but the limitations are not very clear. Has anyone run into any major stumbling blocks? Any major libraries having trouble? Any languages that compile to Jav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: Using a subquery instead of a table name in an Oracle Update Statement I need write an update statement that used multiple tables to determine which rows to update, since in Oracle, multiple tables aren't allowed. The following query will return a "ORA-00971: Missing SET keyword" error
UPDATE
TABLE1 a,
TABLE2 b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Filtering warnings in eclipse by filename We use Eclipse for our Java development, and we've got Maven compiling our JSPs into servlets to be used in our embedded Jetty instance. This means that to run the project from Eclipse, I have to include ./target/jsp-source as a source folder, which works great. The warnings... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can Print Preview be called from Javascript? I have a page that is supposed to launch the Print Preview page onload.
I found this:
var OLECMDID = 7;
/* OLECMDID values:
* 6 - print
* 7 - print preview
* 1 - open window
* 4 - Save As
*/
var PROMPT = 1; // 2 DONTPROMPTUSER
var WebBrowser = '<OBJECT ID="WebBrowser1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Colors in Visual Studio 2008 I'm struggling with Visual Studio 2008. I've used some form of "Zen" colors for more than I can remember. In VS2008 I keep getting one color that I cannot read and I have been unable to identify it; the purpose of the question is to avoid trial an error (the VS color interface is really ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Mysterious assets used in swf, not found anywhere in fla? near the top of the code i see things like,
btn_dropdown._visible = false;
mcMenuBkg._visible = false;
but I can't find these assets anywhere in the library or in any code, how does this make any sense?
The movie clips in the library that look the same have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Does MS access(2003) have anything comparable to Stored procedure. I want to run a complex query in MS acceess I have a table, call it TBL. It has two columns,call them A and B. Now in the query I require one column as A and other column should be a comma seprated list of all B's which are against A in TBL.
e.g. TB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: __destruct visibility for PHP Should the "visibility" for the __destruct() function be public or something else? I'm trying to write a standards doc for my group and this question came up.
A: In Addition to Mark Biek's answer:
The __destruct() function must be declared public. Otherwise, the function will not be ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: How to read the PL/SQL code in an Oracle Forms .FMT file? Oracle Forms10g provides a tool to convert the Oracle Forms modules, from the binary format (.FMB) that Oracle Forms Builder works with, to text format (.FMT).
For example, if you create a module called mymodule.fmb with Oracle Forms Builder, and then invoke
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SelectedValue is invalid - doesn't exist in list - C#/ASP.NET Exception is:
'Country' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
UserService.DsUserAttributes dsCountry = us_service.GetUserAttributeDropDown(systemId, "Country");
Country.DataSource = dsC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java 1.6 SDK on Mac OS 10.5 Has Java 1.6 SDK been released for mac? I can't seem to find it...
A: If you don't have a 64-bit Intel-based Mac you may also be interested in SoyLatte which is an independent X11-based port of Java 1.6 based on the FreeBSD version.
A: Yes, but only for 64-bit Intel-based Macs, i.e. Mac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Random Image as link associated with image I'm looking for a script that will call a random image linked to its corresponding site on pageload. Anyone know a javascript or php way to do this?
A: <?php
$random = array(
array('image' => 'http://example.com/image1.jpg', 'url' => 'http://example1.com/'),
array(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there an XML language for defining/authoring SQL database schemas? Is there a dialect of XML for defining the tables, indexes and relations of a relational database, and a "compiler" or stylesheet to transform that definition into SQL CREATE statements (DDL)?
EG, something that might look like:
<Table Name="order... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pipe visually selected text to a UNIX command and append output to current buffer in Vim Using Vim, I'm trying to pipe text selected in visual mode to a UNIX command and have the output appended to the end of the current file. For example, say we have a SQL command such as:
SELECT * FROM mytable;
I want to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: PHP syntax highlighting I'm searching for a PHP syntax highlighting engine that can be customized (i.e. I can provide my own tokenizers for new languages) and that can handle several languages simultaneously (i.e. on the same output page). This engine has to work well together with CSS classes, i.e. it should format... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: What value should AutoEventWireup be set to in the page directive in ASP.Net? I am using C#. By default, when I add a web form in Visual Studio 2008 with or without a master page, the AutoEventWireup attribute is set to true in the page directive. This attribute is also set to true inside the master page master dir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Suggestions for workflow architecture? We built a grant application system for a client. They've now asked for some simple workflow functionality (two approvals needed before the application is submitted).
I've given some thought to the database design that I'd use to encode the workflow requirements in a way that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Strategies for multicore builds (/MP) that use #import I'm working on a new solution configuration for our large VC++ project using VS 2008. I'd like this configuration to use the multicore build flag /MP.
However, the "#import" feature of generating COM wrapper classes is sprinkled through-out the code base and th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Can I position .net's (Forms) Message box or Common dialogs? I am trying to get center of parent form, not center of screen behavior.
Passing in the parent form seems to only control the ownership of the window.
These classes are sealed, so I do not see how I can do any WinProc tricks.
Rewriting the classes is not a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Under what situations are regular expressions really the best way to solve the problem? I'm not sure if Jeff coined it but it's the joke/saying that people who say "oh, I know I'll use regular expressions!" now have two problems. I've always taken this to mean that people use regular expressions in very inappropriat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Any good "contact us" recipes for Cherrypy? I'm looking to implement a "Contact Us" form with Cherrypy and was wondering: Is there a good recipe (or a BSD licensed set of code) that I could use instead of reinventing the wheel?
Ideally, this would be Cherrpy 3.1 compatible.
A: Well, I had to look into a solution. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a way to trick the .NET JIT compiler into running another method? OK, say that my application is emitting (x86) instructions into memory, making the page executable, etc. Is there a way of altering the method stub of an un-JITted method to point to my emitted instruction stream?
E.g.:
Suppose I have created... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Obtaining the maximum height of a font So I have an NSFont, and I want to get the maximum dimensions for any characters, ie. the pitch and letter height. [font maximumAdvancement] seems to return an NSSize of {pitch, 0}, so that's not helping. Bounding rect doesn't seem to work either, and the suggestion from jwz'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do I need to work harder to make my Rails application fit into a RESTful architecture? I started a Rails project recently and decided to use RESTful controllers. I created controllers for my key entities (such as Country) and added index, new, edit, create, show, update and delete. I added my map.resources :coun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: focus lost after making another app's window topmost I'm making another app's window topmost to ensure that a click in my app brings the other's dialog into views. The problem I'm having is that I don't get focus back to my app after the call. If the other app has more windows one of them ends up with focus, and oth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Get End-User (Client) Feedback on Custom Development Projects My company is a custom development shop for a number of projects, some larger and some smaller. Currently we handle all of our client communication through email. So we email a design doc, they mark it up and send it back. Then we roll out a beta v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What is the difference between "AS" and "IS" in an Oracle stored procedure? I see Oracle procedures sometimes written with "AS", and sometimes with "IS" keyword.
CREATE OR REPLACE Procedure TESTUSER.KILLINSTANCE (INSTANCEID integer) **AS**
...
vs.
CREATE OR REPLACE Procedure TESTUSER.KILLINSTANCE (INSTANCEID integ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "105"
} |
Q: How to add a dynamic weather ticker to the webpage All Weather Tickers I found are static and if the user wants to select a zip code it links you to a different page.
Do you know any weather ticker that just gets the new info in the same page?
A: RICO has an AJAX weather widget that seems to be along the lines of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What should I consider when selecting a data type for my primary key? When I am creating a new database table, what factors should I take into account for selecting the primary key's data type?
A: If using a numeric key, make sure the datatype is giong to be large enough to hold the number of rows you might expect ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Winforms csv file generation, want to generate file then ask user to save it or open it When a user clicks on a button on the winforms application, I will generate a CSV file.
I then want to ask the user to either save the file to disk OR open the file.
How can I do that?
Note: I am just generating the file in memo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get RPATH with $ORIGIN to work on Code::Blocks GCC? I'm trying to link an RPATH containing the special string $ORIGIN into an executable built using GCC with the Code::Blocks IDE. I've specified
-Wl,-R$ORIGIN
in the linker options for the project, but the command line output to GCC is wrong (stripped for cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Printing faster in Excel The print functionality of Excel (using VBA) is extremely slow. I'm hoping someone has a way of speeding the printing up (without using the Excel 4 Macro trick). Here's how I do it now:
Application.ScreenUpdating = False
With ActiveSheet.PageSetup
-various setup statements which I've al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How is Jmock used with HttpSession and HttpServletRequest I am new to jmock and trying to mock an HttpSession. I am getting:
java.lang.AssertionError: unexpected invocation: httpServletRequest.getSession()
no expectations specified: did you...
- forget to start an expectation with a cardinality clause?
- call a mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a clean T-SQL query I can use to verify an index has the right columns? I am writing a DB upgrade script that will check to see if an index has the right two columns defined. If it doesn't, or if it only has one of them, then I will DROP it (is there a way to ALTER an index?) and then recreate it with both... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to use jQuery to call an ASP.NET web service? I'm trying to use jQuery to get data from an ASP.NET web service (SharePoint Server 2007 lists.asmx), but any call to a web service will really help as a first step in that direction.
A: Here is an example to call your webservice using jQuery.get:
$.get("http://doma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Using a MulitpleLookupField in MOSS '07 Layout Page I have a page layout for my MOSS '07 site that I want put a MultipleLookupField in. The field will point to a multiple lookup column in my custom content type that points back to the pages library so I can have a "Related Articles" field.
I've gotten the field to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the unix command to see how much disk space there is and how much is remaining? I'm looking for the equivalent of right clicking on the drive in windows and seeing the disk space used and remaining info.
A: df -g .
Option g for Size in GBs Block and . for current working directory.
A: I love doing du -sh ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Database-wide equivalent of SET IDENTITY_INSERT OFF In my eternal saga to insert 1.4 million rows of data from a SQL script, I've written a basic WinForms app that takes each line of the script and executes it individually.
However, because the original script contained
SET IDENTITY_INSERT [Table] OFF
and SET is a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: XSLT Xalan dyn:evaluate example I want yo use the EXSLT - DYN:EVALUATE in a style sheet. I have added the names pace but I don't know where the .xsl file I need to import is. I don't believe I have XALAN installed to point the import to. How would I install this? Once installed and I point it to the .xsl will it pic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Deleting Sql Ce system tables programmatically? I`m using SQL Server Compact (SQL CE) together with sync framework. However the sync framework creates some system tables when calling the CreateSchema() method of the SqlCeClientSyncProvider (e.g. __sysSyncArticle, __sysSyncSubscription, ...).
I'm not able to delete t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WCF in the enterprise, any pointers from your experience? Looking to hear from people who are using WCF in an enterprise environment.
What were the major hurdles with the roll out?
Performance issues?
Any and all tips appreciated!
Please provide some general statistics and server configs if you can!
A: WCF can be c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Promoting MOSS '07 Sites From Dev To Production So, maybe I'm a bit old-school, but when we created websites in the past, we'd develop the site on a development server, then publish or promote the pages and files to the production server. This has always seemed to be a good way to go so that users didn't see messed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Calling a Stored Proc from within a Stored Proc and returning a recordset I have a Stored Procedure that rolls-back a series of operations. I want to call this from within another SP.
The problem is that the inner SP returns a record set with a single value that indicates the degree of success.
This approach worke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to Fill an array from user input C#? What would be the best way to fill an array from user input?
Would a solution be showing a prompt message and then get the values from from the user?
A: Could you clarify the question a bit? Are you trying to get a fixed number of answers from the user? What data type do y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Best method to scroll a ScrollPane by mouse hover location in actionscript? When mouse nears top edge of scrollpane, it scrolls up until it reaches the top only interrupted if the mouse leaves the top edge area.
Same for bottom edge.
A: You need to make a symbol that you can write AS code on that is invisible (set ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are regex tools (like RegexBuddy) a good idea? One of my developers has started using RegexBuddy for help in interpreting legacy code, which is a usage I fully understand and support. What concerns me is using a regex tool for writing new code. I have actually discouraged its use for new code in my team. Two quot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Restrict postges access from java clients by using java program on a server Perhaps this question is not very clear but I didn't find better words for the heading, which describes the problem I like to deal with shortly.
I want to restrict access from a java desktop application to postgres.
The background:
Suppose ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I create a simple two-screen iPhone app? I've gone through most of the example code and I still need some help. I want to make an uber-simple app: show one screen at startup with a label and a button. click the button and we slide over to another screen (I suppose these are called views) which has another ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When is a issue too complex for a regular expression? Please don't answer the obvious, but what are the limit signs that tell us a problem should not be solved using regular expressions?
For example: Why is a complete email validation too complex for a regular expression?
A: When you need to parse an expression tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: JQuery Conditionally submit forms I have a table with multiple rows. Each row is a form. I want to use JQuery to submit all the forms that have the check box checked. The form is posting to an IFrame so there is not much need for AJAX.
So far I have:
$("form").submit();
which submits the form. but all forms.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding up item prices to get total I have started making a database and I have an 'ordered item' and a 'invoice' table. I would like to find out how I would add up the prices of the items that the customer picks. As well where abouts do you put this 'rule' on the database.
A: You want the SQL "Sum()" function. Lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mongrel::DirHandler equivalent for Passenger I'm using Mongrel::DirHandler to control response headers for static files - this works great on my dev machine. My production machine uses Passenger so my headers aren't getting set. How do I control headers for static files when using Passenger?
snippet from my environm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Attach Javadoc to Library in NetBeans I'm new to using the NetBeans IDE. When I try to look at the documentation for say the java API (example, System class), it says that the javadoc is not installed. How do I install the documentation?
A: First you download the javadoc.
Second go to Tools-->Java Platforms and sel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is the automated testing still referred to as smoke testing? If not, is smoke testing still used?
A: It's sort of a Venn Diagram. Some Automated tests are Smoke tests, and some smoke tests are Automated (inasfar as they are ran by a computer program). A Smoke test is a take off (if I recall correctly) on the term... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Javascript classes and DWR I've been playing with DWR and converters for a while and I really wanted to map my Java classes to JavaScript classes. Using DWR converters, I have the option to point out what is the name of my JS constructor given a Java class. So far so good... The problem arises when my JS constructor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Do you find Scrum Nokia Test useful? It seems Scrum and Agile tests/assertions are becoming popular this year. For example, Nokia test for Scrum. I don't think it is a good idea to have such tests at all. What do you think?
A: On the one hand, there are more and more people that claim they are agile, so such a test... | {
"language": "en",
"url": "https://stackoverflow.com/questions/230582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |