instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
When designing a collection class, is there any reason not to implement locking privately to make it thread safe? Or should I leave that responsibility up to the consumer of the collection?
| stackexchange/codereview |
in a C program I have an long* that I want to serialize (thus converting to chars). A long doesn't fit in a single char, and the size varies depending of the processor (can be 4 bytes or 8 bytes).
Theres a good way to make the serialization and de-serialization?
| stackexchange/codereview |
I'm writing a DSL in Ruby to control an Arduino project I'm working on; Bardino. It's a bar monkey that will be software controlled to serve drinks. The Arduino takes commands via the serial port to tell the Arduino what pumps to turn on and for how long.
It currently reads a recipe (see below) and prints it back out... | stackexchange/codereview |
I need to integrate a email client in my current python web app.
Anything available?
L.E.: I'm building my app on top of CherryPy
| stackexchange/codereview |
Is it good practice to let abstract classes define instance variables?
public abstract class ExternalScript extends Script {
String source;
public abstract void setSource(String file);
public abstract String getSource();
}
The sub class, ExternalJavaScript.class, would then automatically get the source ... | stackexchange/codereview |
Is there a way to map a logical font (e.g. SansSerif) to a different font when running a Java program? If so, does the method differ between Java VM versions?
| stackexchange/codereview |
i have a bunch of sql scripts that should upgrade the database when the java web application starts up.
i tried using the ibatis scriptrunner, but it fails gloriously when defining triggers, where the ";" character does not mark an end of statement.
now i have written my own version of a script runner, which basically ... | stackexchange/codereview |
I have a problem with a simple included file.
The file being included is in two MFC programs - one of which is a dll, and it also compiles itself into a non-mfc dll.
Recently I was using the larger dll which wraps around the source of the smaller dll when I wanted access to some of the features of the original code tha... | stackexchange/codereview |
I run into this occasionally and always forget how to do it.
One of those things that pop up ever so often.
Also, what's the formula to convert angles expressed in radians to degrees and back again?
| stackexchange/codereview |
I'm looking for a way to supply an argument to a ruby on rails project at runtime. Essentially, our project uses public key cryptography to encrypt some sensitive client data and we want the ability to supply the password to the private key file at runtime.
| stackexchange/codereview |
When building static libraries with VS2005 I keep getting linker warnings that VC80.pdb cant be found with my library.lib. Apparently, as a result, the edit and continue feature of the IDE fails to work any project that incorporates library.lib
What magic is needed to tell VS2005 to produce a static lib with edit and c... | stackexchange/codereview |
I have a web page that has a web form for signing up. I want to remove fields. I've tried removing the field code from the .asp file but obviously there are other things that I need to remove along those lines. I have full access to all the code but I need help knowing where things are linked as far as making the form ... | stackexchange/codereview |
I have a report that is used by a windows service and a form application. So, I want to put embed the report in a DLL file that can be used by both.
The problem is that if I try to set the ReportEmbeddedResource property of a ReportViewer control in my windows form app, it will search the windows form app for the reso... | stackexchange/codereview |
Is there a .net equivalent to the C++ unexpected()/set_unexpected() functionality?
Edit: Sorry--I omitted some details previously:
Language: C# 2.0
I have some legacy apps that seem to be throwing some unhandled exception somewhere. I just want to put something in place to stop the customer's pain until I can trace ... | stackexchange/codereview |
The webservice on MSDN is now all about the Windows Communication Foundation. Is there any site out there that deal with WebService only? (.Net)
| stackexchange/codereview |
I'm looking for a linux utility that can alter the payloads of network packets based on a set of rules. Ideally, I'd use iptables and the netfilter kernel module, but they don't support generic payload mangling: iptables will alter various header fields (addresses, ports, TOS, etc), and it can match arbitrary bytes wi... | stackexchange/codereview |
Announced today. Descriptions so far are confusing. Let's put together a good starting point for understanding Windows Azure.
Strongly related to What is a "Cloud OS"?, but not enough to warrant closing.
| stackexchange/codereview |
In Microsoft Oslo SDK CTP 2008 (using Intellipad) the following code compiles fine:
module T {
type A {
Id : Integer32 = AutoNumber();
} where identity Id;
As : A*;
type B {
Id : Integer32 = AutoNumber();
// A : A;
// } where A in As && identity Id;
} where identity Id;
... | stackexchange/codereview |
I'm using .NET typed datasets on a project, and I often get into situations where I prefetch data from several tables into a dataset and then pass that dataset to several methods for processing. It seems cleaner to let each method decide exactly which data it needs and then load the data itself. However, several of the... | stackexchange/codereview |
as google does not deliver what i want to know, i try to ask stackoverflow :)
what is the number of max concurrent connections to a sql ce 3.5 database?
thanks
j.
| stackexchange/codereview |
Of course, there are a whole range of possible errors relating to document validity, but my immediate stumbling block occurs when changing a paragraph (p) into an address element. My current method is (more-or-less):
var p = $('p#test');
p.replaceWith('<address>' + p.html() + '</address>');
but that fails for this spe... | stackexchange/codereview |
It would be a shame if it doesn't, because it will make for more attractive looking Android applications.
| stackexchange/codereview |
I want to get user input in one page, store that in a php variable and use it in another php page. I have tried using 'sessions' but it doesn't seem to be working. Is there another safe alternative? This information is likely to be usernames and passwords.
| stackexchange/codereview |
I've been asked by my team leader to investigate MSMQ as an option for the new version of our product. We use SQL Service Broker in our current version. I've done my fair share of experimentation and Googling to find which product is better for my needs, but I thought I'd ask the best site I know for programming answer... | stackexchange/codereview |
I have an unsorted list of noisy X, Y points. They do, however, form a path through the world. I would like an algorithm to draw an approximation of this data using line segments.
This is similar to how you would use a line -fitting algorithm to pick an approximation of linear data. My problem is only harder because th... | stackexchange/codereview |
I know that this question has already been asked HERE but sadly none of the answers suggest a javascript standalone shell that has auto completion. I am reopening this question again, in the hope that some new answers might be found.
| stackexchange/codereview |
I'm unable to make a remote connection to an Oracle XE install (through TOAD / SQL Developer). Here's the deal.
I set up a new server (windows 2003). The goal was to make a new image with several applications preinstalled, Oracle XE being one of them. Got Oracle installed no problem, connected locally, remotely and ... | stackexchange/codereview |
I haven't been able to find an adequate answer to what exactly the following error means:
java.net.SocketException: Software caused connection abort: recv failed
Notes:
This error is infrequent and unpredictable; although getting this error means that all future requests for URIs will also fail.
The only solution tha... | stackexchange/codereview |
I need to do a query that search for a text with 'Nome % teste \ / ' as prefix. I'm doing the query using:
where "name" ILIKE 'Nome a% teste \ /%' ESCAPE 'a' (using a as escape character).
There is a row that match this, but this query returns nothing. Removing the slash ('Nome % teste \'), it works. But I don't see w... | stackexchange/codereview |
I have the following problem in my Data Structures and Problem Solving using Java book:
Write a routine that uses the Collections API to print out the items in any Collection in reverse order. Do not use a ListIterator.
I'm not putting it up here because I want somebody to do my homework, I just can't seem to unders... | stackexchange/codereview |
I am experiencing some weird behavior with localized messages reported from my background worker process in my windows forms application.
The application is a setup application with windows forms.
The application launches a background worker to perform and IIS reset and then install MSIs.
The first time I run the appli... | stackexchange/codereview |
Having not done ASP.NET since v1.1, and now blitzing through the Wrox Pro ASP.NET v3.5 book, what other resources are available to get me developing enterprise ASP.NET apps the fastest?
I've been developing in DotNet since Beta and have been doing Winform & middle-layer architecture/design/dev for 3.5 years now (as thi... | stackexchange/codereview |
In following code, I want to extend the behaviour of a class by deriving/subclassing it, and make use of an event of the base class:
public class A
{
public event EventHandler SomeEvent;
public void someMethod()
{
if(SomeEvent != null) SomeEvent(this, someArgs);
}
}
public class B : A
{
pu... | stackexchange/codereview |
Here is my problem. I have a website in ASP.NET / C# which receives some data via GET/POST
This is "user filled" data, but not through a web page, it's a software that contacts my server.
Problem is, this software is sending data encoded in ISO-8859-1 (so Café would be sent as Caf%e9 ) and the rest of my SW/DB is Unico... | stackexchange/codereview |
I'd like to group the methods in the javadoc for my class.
For example:
Admin methods:
blah1
blah2
Accessor methods:
foo1
foo2
Do you know of any way I can achieve this in javadoc?
Are there any doclets available for doing this?
Thanks,
Calum
| stackexchange/codereview |
I'm having trouble with SQL Server 2008 (Express with Advanced Services) Reporting Services permissions. I'm running this on Vista Ultimate at home - standalone machine with no servers, no domain or active directory.
When I go to the ReportServices site, I get this:
The permissions granted to user
'localmachine\Sco... | stackexchange/codereview |
Imagine you got an entity in the Google App Engine datastore, storing links for anonymous users.
You would like to perform the following SQL query, which is not supported:
SELECT DISTINCT user_hash FROM links
Instead you could use:
user = db.GqlQuery("SELECT user_hash FROM links")
How to use Python most efficiently ... | stackexchange/codereview |
I want to configure SMTP on my web server, so that any email sent through the SMTP server is relayed to a remote SMTP Server. The IIS SMTP server would have to use SMTP authentication, and use the host name, username and password (as if configuring a normal email client).
Does anybody know if this is possible?
| stackexchange/codereview |
Is there a mandatory relationship between a Controller Action and a View? I mean is it necessary to have a physical View (.aspx page) for each Action inside a Controller class?
| stackexchange/codereview |
Does anyone have a copy of MSIINV.EXE (The MSI Inventory tool)? The site where it used to be available is down(http://www.huydao.net/). I'm trying to uninstall some components in order to force the Visual Studio Setup to reinstall them. I apologize as this is not strictly a programming question but I figured anyone tha... | stackexchange/codereview |
I'm current developing a WebService in a Bea Websphere 6.1 environment with Axis 2 implementation, I'm trying to respect the current standards for Web Services (JAXB, JAXWS, StAX...).
How long can be an XML message on this platform?
I've searched around but I haven't found anything related to this topic.
| stackexchange/codereview |
I'm looking for a dbm-like library that I can use in place of Berkeley DB, which I'm currently using. My main reason for switching is the licensing fees for BDB are pretty high (free for open source apps, but my employer does not want to open source this particular app for various reasons).
I've looked briefly at qdbm ... | stackexchange/codereview |
I am working on a website with lots of images (think smugmug/flickr) and from what I read, flickr is using squid as the image cache. My images will be stored on Amazon S3, so a caching server will help saving the hosting money as well. I'd like to hear ideas on it is do-able with the following configuration.
My ASP.N... | stackexchange/codereview |
I wanted to try a little design by contract in my latest C# application and wanted to have syntax akin to:
public string Foo()
{
set {
Assert.IsNotNull(value);
Assert.IsTrue(value.Contains("bar"));
_foo = value;
}
}
I know I can get static methods like this from a unit test framework, b... | stackexchange/codereview |
Is it possible to configure two separate web apps (WAR) in a J2EE application (EAR) to access a shared session context?
Further info:
I ended up creating a shared class from the EAR which stored the required information in static members. This did the trick, even if it seemed like a dirty hack.
| stackexchange/codereview |
I am looking for a general UI design / work-flow for changing the same property across multiple objects.
Suppose I have an object class called Person. The Person class has a property called City. I want to select 5 Person objects and change the City property on all 5 to "New York" in one action in the UI.
This is ... | stackexchange/codereview |
I'm trying to extract the polygons from placemarks in a KML file. So far so good:
Imports <xmlns:g='http://earth.google.com/kml/2.0'>
Imports System.Xml.Linq
Partial Class Test_ImportPolygons
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Lo... | stackexchange/codereview |
I'm inspired by the C/C++ question for a code flow visualization tool.
Is there such a thing for Java servlets or applications?
| stackexchange/codereview |
We have been having serious trouble getting an application we devlop running with UAC enabled for long.
Once installed (the installer fails almost immediately with UAC) it appears that UAC can be turned on and have the application work. However, after a while, it will stop working with strange errors about cannot find ... | stackexchange/codereview |
For example, suppose I have a class:
class Foo
{
public:
std::string& Name()
{
m_maybe_modified = true;
return m_name;
}
const std::string& Name() const
{
return m_name;
}
protected:
std::string m_name;
bool m_maybe_modified;
};
And somewhere else in the code, I... | stackexchange/codereview |
Is there a correct way in Windows Forms to flash a titlebar without having to drop to P/Invoking FlashWindow?
I'm using .NET 2.0 for compatibility and size reasons, so maybe I just missed the method because it's in newer versions of the .NET framework.
| stackexchange/codereview |
Here is the input (html, not xml):
... html content ...
<tag1> content for tag 1 </tag1>
<tag2> content for tag 2 </tag2>
<tag3> content for tag 3 </tag3>
... html content ...
I would like to get 3 matches, each with two groups. First group would contain the name of the tag and the second group would contain the inner... | stackexchange/codereview |
I collect statistics on IP addresses from where users visit my site and I have noticed what there are only two IP addresses presented, 172.16.16.1 and 172.16.16.248. The property I use to determine IP address is
Request.UserHostAddress
What could be a reason of IP address information losing? All the users are from aro... | stackexchange/codereview |
Functional programming seems to be a paradigm in computer science which has more and more echo.
I wonder which kind of problems are better solved with a functional programming approach rather than with a more traditional object oriented approach.
Thank you.
| stackexchange/codereview |
I provide a web service to my organisation. i was wondering would anyone recommeding the use of apache cactus for setting up a testing framework or has anyone worked with any other web service frameworks that may be useful?
Thanks
Damien
| stackexchange/codereview |
I have a KML file overlay on an embedded Google Map using the GGeoXml object. I'd like to be able to access specific placemarks in the KML file from Javascript (for example to highlight a selected polygon on the map in response to user action).
Ideally what I'd like to do is something like this (pseudo-code):
geoXml.... | stackexchange/codereview |
I am working on a script that downloads emails and stores them in a db, I usually receive thousands of emails on this account, once downloaded the mails are deleted.
Being paranoic, I want to have at least one month backup of my emails, but I cannot clutter my main mailbox address leaving them in there.
So i need to mo... | stackexchange/codereview |
I am investigating automated testing of an old Win32 application that used ActiveX controls. I am spiking use White (from Thougthworks) that uses Microsoft UIAutomation. I can find the AutomationElement related to the control, but how do I interact with it?
Spy++ sees the grid control as a single window, so I can't ta... | stackexchange/codereview |
I´m trying to connect a Java application through a BlueCoat proxy, an I´m getting an HTTP status of 407, with a message that says that "credentials are missing"...
Does anyone have some Java code to read an HTML page through this kind of proxy, using integrated security?
| stackexchange/codereview |
When I change the application log level to FINE, SQL Servers log also uses it, and, as consequence, I get a lot of unnecessary log messages. How can I turn off SQL Server log messages?
| stackexchange/codereview |
In our office, we regularly enjoy some rounds of foosball / table football after work. I have put together a small java program that generates random 2vs2 lineups from the available players and stores the match results in a database afterwards.
The current prediction of the outcome uses a simple average of all previous... | stackexchange/codereview |
I have to integrate a large Java library in a quite large C++ application. A solution is to use JNI but this requires to hand code all the classes. Python has, for example, a wonderful solution with JPype (http://jpype.sourceforge.net/) that automatizes the process (although the same solution cannot be applied to C++ d... | stackexchange/codereview |
I am using lots of commandLinks in my app. For them to work, JSF generates some wild Javascript ( function dpf(f) {var adp... ). Sadly, the script-tag destroys my layout. (It really does - I am sure about that).
Is there a way to force JSF to generate the script-tag somewhere else?
| stackexchange/codereview |
How can I open a synchronous dialog in Flex? I need to call a function from an External Interface (JavaScript) that will open a simple dialog in the Flex application and returns an value according to the button the user has clicked (OK/Cancel).
So it should by a synchronous call to a dialog, i.e. the call waits until t... | stackexchange/codereview |
I keep hearing about the DRY Principle and how it is so important in ASP.NET MVC, but when I do research on Google I don't seem to quite understand exactly how it applies to MVC.
From what I've read its not really the copy & paste code smell, which I thought it was, but it is more than that.
Can any of you give some in... | stackexchange/codereview |
We have a TIBCO EMS solution that uses built-in server failover in a 2-4 server environment. If the TIBCO admins fail-over services from one EMS server to another, connections are supposed to be transfered to the new server automatically at the EMS service level. For our C# applications using the EMS service, this is... | stackexchange/codereview |
I have written a few MSBuild custom tasks that work well and are use in our CruiseControl.NET build process.
I am modifying one, and wish to unit test it by calling the Task's Execute() method.
However, if it encounters a line containing
Log.LogMessage("some message here");
it throws an InvalidOperationException:
Ta... | stackexchange/codereview |
How should I choose an IPv4 multicast address for my application's use? I may need more than one (a whole range perhaps ultimately) but just want to avoid conflicts with other applications.
Packets will be entirely contained within an administrative domain, probably a LAN
If several independent instances of my applica... | stackexchange/codereview |
(This question specifically in C#, but applies generally to .NET)
I have a largish application that has a fairly good design, and is broken into major sections over interfaces (this was done to assist parallel development).
We now have a primary set of concrete classes that implement the required interfaces, but we al... | stackexchange/codereview |
I have a select query that currently produces the following results:
Description Code Price
Product 1 A 5
Product 1 B 4
Product 1 C 2
Using the following query:
SELECT DISTINCT np.Description, p.promotionalCode, p.Price
FROM Price AS p INNER JOIN
... | stackexchange/codereview |
I am using a Windows XP Home Edition. I need to install a few extensions to PHP -- memcache, APC, .etc. And I would very much like to use PECL to make this happen. The problem is PECL takes it for granted that I will have certain programs on my computer. On another post, I read, for instance, that you need to have Micr... | stackexchange/codereview |
It turns out install shield doesn't support file download resuming.
Is there a .net component that provides this functionality?
| stackexchange/codereview |
What is the best way to display and print XPS files in a Windows Forms application?
| stackexchange/codereview |
Anyone use a language called Interactive Data Language, IDL? It is popular with scientists. I think it is a poor language because it is proprietary (every terminal running it has to have an expensive license purchased) and it has minimal support (try searching for IDL, the language, right now on stack) . I am trying... | stackexchange/codereview |
I have a web application that's branded according to the user that's currently logged in. I'd like to change the favicon of the page to be the logo of the private label, but I'm unable to find any code or any examples of how to do this. Has anybody successfully done this before?
I'm picturing having a dozen icons in a ... | stackexchange/codereview |
What is the best MemCache solution for ASP.NET applications running in a windows server environment? Why?
| stackexchange/codereview |
I have a web page with DIVs with a mouseover handler that is intended to show a pop-up information bubble. I don't want more than one info bubble to be visible at a time. But when the user moves the mouse rapidly over two items, I sometimes get two bubbles. This should not happen, because the code for showing a pop-up ... | stackexchange/codereview |
Are there any downsides to passing structs by value in C, rather than passing a pointer?
If the struct is large, there is obviously the performance aspect of copying lots of data, but for a smaller struct, it should basically be the same as passing several values to a function.
It is maybe even more interesting when us... | stackexchange/codereview |
I have an SQLite table that contains prices for various products. It's a snapshot table, so it contains the prices on 5 minute intervals. I would like to write a query that would return the difference in price from one row to the next on each item.
The columns are id (auto inc), record_id (id of the product), price (pr... | stackexchange/codereview |
Our usage case is a database responsible for accounts, sessions, licenses, etc. — it needs to be polled upon client startup, so high reliability is crucial. As such, we'd like to replicate across different servers in physically separate networks, just in case an entire datacenter happens to go down. I have successfully... | stackexchange/codereview |
I want to convert a BYTE* into an gdi+ Image object.
How can I do this?
The BYTE* seems a Dib point.
I found Image has a method named Image::FromStream() which may help,
But I can not find any reference about how to convert a BYTE* into a IStream object.
How can I do this?
Thanks in advance!
Actually, it is hard to ... | stackexchange/codereview |
I need to develop a system for storing large numbers (10's to 100's of thousands) of objects. Each object is email-like - there is a main text body, and several ancillary text fields of limited size. A body will be from a few bytes, to several KB in size.
Each item will have a single unique ID (probably a GUID) th... | stackexchange/codereview |
I want to make some passages of a standard tooltip bold in a WinForms application. Is this possible?
If not, is there a (free) tooltip component that allows me to style them (preferably also border and background)?
Thanks!
| stackexchange/codereview |
I'm currently running Lucene.net in a web application and am wondering about the best method, performance-wise.
I currently have it set up so that all index writes get processed together in a scheduled process, along with optimizing the index.
However for searching - I'm currently opening and closing the searcher per s... | stackexchange/codereview |
If you are using php5 and mysql5, is there a substantial advantage to using stored procs over prepared statements? ( i read somewhere you may not get substantial performance gains from mysql5 stored proc)
| stackexchange/codereview |
There is a standard two-pass algorithm mentioned in RFC 1942: http://www.ietf.org/rfc/rfc1942.txt however I haven't seen any good real-world implementations. Anyone know of any? I haven't been able to find anything useful in the Mozilla or WebKit code bases, but I am not entirely sure where to look.
I guess this might ... | stackexchange/codereview |
I'm not a fan of the Designer, I prefer to code straight to the ASPX page. However, since a reformat (and leading up to the reformat), the designer.cs files have not been updating correctly when manually coding to the .aspx file. This means my code behinds are not recognizing new controls and throwing compiler errors.
... | stackexchange/codereview |
For features comparison of Web Canoo Web Functional Test and Selenium software, it would be good have an assessment, in terms of integration to Java platform applications, speed, how quick is it to deploy Tests, execute, and analyze results, JavaScript support etc.
I am using Canoo project, it is pretty good.
Tatyan... | stackexchange/codereview |
I'm looking at a new project where both Native and Managed approaches sound like a good idea. This is a Windows desktop application which should support an MDI interface. The client area will make extensive use of Direct3D. The developers on the project are equally skilled on C#, C++/CLI and MFC.
MFC Advantages:
Doc/V... | stackexchange/codereview |
The examples I've seen online seem much more complex than I expected (manually parsing &/?/= into pairs, using regular expressions, etc). We're using asp.net ajax (don't see anything in their client side reference) and would consider adding jQuery if it would really help.
I would think there is a more elegant solution... | stackexchange/codereview |
We're currently running with php 5.2.5. We have now encountered a bug that creates a seg fault. Our first idea at the solution is upgrading to version 5.2.6 but are skeptical of problems that it will create. We are running Apache and host a dozen or so sites.
Will any existing code break?
Are there any significant cha... | stackexchange/codereview |
I'm looking for techniques to generate 'neighbours' (people with similar taste) for users on a site I am working on; something similar to the way last.fm works.
Currently, I have a compatibilty function for users which could come into play. It ranks users on having 1) rated similar items 2) rated the item similarly. Th... | stackexchange/codereview |
I was taught that a regression test was a small (only enough to prove you didn't break anything with the introduction of a change or new modules) sample of the overall tests. However, this article by Ron Morrison and Grady Booch makes me think differently:
The desired strategy would be to bring each unit in one at a t... | stackexchange/codereview |
Whats the best/easiest GUI library out there for Ruby?
I would prefer a cross-platform GUI library, but currently I'm only concerned about Windows (Win32). I am having difficulting finding any that seem to be easy to use. Are there any?
| stackexchange/codereview |
I know how to create an array of structs but with a predefined size. However is there a way to create a dynamic array of structs such that the array could get bigger?
For example:
typedef struct
{
char *str;
} words;
main()
{
words x[100]; // I do not want to use this, I want to dyn... | stackexchange/codereview |
I'm trying to export a Crystal Report to a text file, while preserving any Unicode characters that are found within. By default, Crystal Reports seems to export to an ANSI text file.
Here is a highly simplified version of what I'm doing:
Dim objCRReport As CRAXDRT.Report
[...]
objCRReport.ExportOptions.FormatType = 8 '... | stackexchange/codereview |
I have an Expander placed on a window with a blue background and I would like to make the button for the expander another color than the default (blue, which it is receiving from the window). When I modify the background property of the expander it changes the entire expander, header and all to the new color. However... | stackexchange/codereview |
I have a CSV data file with rows that may have lots of columns 500+ and some with a lot less. I need to transpose it so that each row becomes a column in the output file. The problem is that the rows in the original file may not all have the same number of columns so when I try the transpose method of array I get:
`... | stackexchange/codereview |
So I am just starting out developing PHP web applications and have finished setting up my server with the following:
Ubuntu Server
Apache2
PHP
MySQL
VSFTPD
and all the other goodies...
Currently when I edit files, I have two methods to update/upload them to the server. I can use vi on the server to make small change... | stackexchange/codereview |
I'm trying to write a Selenium test for a web page that uses an onbeforeunload event to prompt the user before leaving. Selenium doesn't seem to recognize the confirmation dialog that comes up, or to provide a way to hit OK or Cancel. Is there any way to do this? I'm using the Java Selenium driver, if that's relevant.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.