instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have code like this:
namespace N {
class B {
public:
virtual void doStuff(B *) = 0;
};
}
// not in a namespace
class Derived : public N::B {
public:
void doStuff(B *); // Should this be N::B, or is B ok?
};
Do I need the namespace qualifier where Derived refers to it's base class? ... | stackexchange/codereview |
I work on a high-profile app which runs on all versions of Android. Unfortunately for me the last update on Market included an absolutely-last-minute patch <sigh> which introduced a dependency on an API introduced in 2.0. Every 1.x client who upgraded promptly crashed, causing us to (quite reasonably) get slaughtered i... | stackexchange/codereview |
I'm developping a workflow with MOSS 2007 and infopath and I got this error :
The form has been closed
This error occurs when I start a task. So I bind my new demand with my workflow then I try to do the first task and I get this message on a blank page.
In the LOGS file, I have this :
11/23/2010 08:53:13.71 OWSTIMER... | stackexchange/codereview |
My boss recently came to me with a security concern.
My company does research and then sends a report to the client (this report is unique for each client and contains identifying information about their business).
We email the report to the client, but we also upload it to our server and provide the client a url conta... | stackexchange/codereview |
I have developed a web application. I put session id in hashtable. I want to use this hash table in ejb. Means I want to use this login session in ejb.
Is it possible? How can I do that?
| stackexchange/codereview |
I'n using NHibernate 1.2.0 and cannot migrate to a newer version.
1.2.0 does not allow me to do Restrictions so that I can replace empty strings with nothing.
I am trying to do the following using CreateQuery
SELECT Col1, COl2 FROM [Employee].[MyTable] WHERE REPLACE(Col1, " ", "") = 'IWANTTHIS'
Somehow NHibernate doe... | stackexchange/codereview |
I have the following loop that simply checks all "green" rows in a table called items to see which one contains a hidden input element called xxx that does not match a given value:
$('table#items tr.green').each(function () {
if (myvalue != $('input#xxx', $(this)).val()){
alert('The xxx element is not the s... | stackexchange/codereview |
What is difference between tuples and records?
| stackexchange/codereview |
I have 2 processes running in different machines which are communicating via TCP sockets.
Both processes have code that acts both as a server and as a client.
I.e. ProcessA has opened a server socket that binds at portX and ProcessB has opened a server socket bind at portY.
ProcessA opens a client socket to connect wit... | stackexchange/codereview |
After a while looking around on the web i seems can't find any jQuery wysiwyg editors that support html5 formating. Almost every plugin out there use <font font-size="x">text</font>
or <big>text</big>.
Both of those are not supported in HTML5. So i would like to kindly ask if anyone know any wysiwyg editor that uses <s... | stackexchange/codereview |
I am successfully using this code to send HTTP requests with some parameters via GET method:
void sendRequest(String request) {
// i.e.: request = "http://example.com/index.php?param1=a¶m2=b¶m3=c";
URL url = new URL(request);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
... | stackexchange/codereview |
our drupal site has some user specific content. When we enable page caching the whole page is being cached. Isn't it possible to cache only fragments of the page. Or specify which fragments not to cache? Or even specify which pages not to cache. This way we can remove some stuff from the caches when logged in. Or don't... | stackexchange/codereview |
Hi im trying to create a border that has top and left as black and bottom and right as grey.
does anyone know if this is possible and how?
| stackexchange/codereview |
How do I insert <% %> in Vim? I have rails.vim.
| stackexchange/codereview |
I would like to change the meta tag in gwt and I have found the metaElement class. But how can I use it?
| stackexchange/codereview |
I have a dream to improve the world of distributed programming :)
In particular, I'm feeling a lack of necessary tools for debugging, monitoring, understanding and visualizing the behavior of distributed systems (heck, I had to write my own logger and visualizers to satisfy my requirements), and I'm writing a couple of... | stackexchange/codereview |
I have a Frame element in a WPF window and all content in my application is loaded by using Frame.Navigate(). However, when navigating to a new page, there is that sound that is played by default, it's the same sound that is played in Internet Explorer. Is there any way I can turn of this sound from the application? I ... | stackexchange/codereview |
i want to run a java code after the php script takes a input from the browser and then pass on the answer back on the server
can someone help me with this
| stackexchange/codereview |
we were looking for a way to record the order of the columns in the enhanced grid after some column drag and drop operations within the same grid, since the layout of the grid does not change after a DnD operation, I am not able to find any way to obtain the sequence of columns.
Is there any direct way for this?
Or oth... | stackexchange/codereview |
namespace M{
void f();
void M::f(){}
}
int main(){}
The above code gives error like so:
"ComeauTest.c", line 3: error:
qualified name is not allowed in
namespace member
declaration
void M::f(){}
And
G++ also gives error.
But
VS2010 compiles fine.
My questions are:
a) What is the exp... | stackexchange/codereview |
I want to modify a XML template with a custom logic, it's similiar to XSLT but has some very own features. The XML template file is clean and ready to expand.
<user-list>
<user id="">
<forename></forename>
<lastname></lastname>
<static-information>static</static-information>
<address-list... | stackexchange/codereview |
How do I configure internal event monitoring in hsqldb? When I run my Java application, I get the following warnings:
log4j:WARN No appenders could be found for logger (HSQLDB2C7984E18B.org.hsqldb.persist.Logger).
log4j:WARN Please initialize the log4j system properly.
The documentation tells me log4j is not the only ... | stackexchange/codereview |
We got a requirement to implment following structure of table (It's a sample; data source is dynamic). Notice that there are intermediate Total (sum) values for the month.
If we have the data source (Date and Amount) besides Total, which is calculated out, do you have any suggestion to generate this kind of table-styl... | stackexchange/codereview |
My web-site has AJAX-powered search, that uses deep-linking. When user follows a link …
http://example.com/articles#/?tags=Mac%20OS,review
… tags "Mac OS" and "review" should already been selected in a search form and articles, related to "Mac OS" and "review" should be presented on the page.
I have following scenario... | stackexchange/codereview |
I have two ListViews. Is there any way to synchronize the position of ListViews when I scroll any one of the Lists
| stackexchange/codereview |
I want to run nginx on my Ubuntu 10.04 32bit Linode VPS.
sudo chown -R www-data:www-data /var/www
sudo chmod -R 775 /var/www
sudo add-apt-repository ppa:nginx/development
sudo apt-get update
sudo apt-get install nginx
To make a nginx virtualhost:
mkdir -p /var/www/example.com/{public,logs}
sudo nano /etc/nginx/sites... | stackexchange/codereview |
I have a UIWebview within a UIScrollView. Within the webview I have an embedded YouTube movie. When I play the YouTube movie everything works fine, however, when I press the fullscreen button the movie starts playing behind the webview. Bringing the WebView to the front does not work, because I want the scrolling capab... | stackexchange/codereview |
I am using PerlMagick and I am having 4 clipped images of various sizes,
Sizes are 25x25, 32x32, 40x40, 50x50
And I am creating a montage out of this, using simple Read command and Montage.
But when I use Montage, somehow all the Images are made to Uniform size, I think to the Maximum size, that is, 50x50.
How can I st... | stackexchange/codereview |
Is there anyway I can ensure users enter amounts into a text box like £XX,XXX,XXX in line with up to 99million pounds.
Thankyou
| stackexchange/codereview |
i started a small android application to learn. I placed an input text and button on the screen. That shows on the emulator. After i press the button(which has an onClickListener) the application cracks and tells me on the screen of the emulator : "The application... has stopped unexpectably.Try again" and i have a "Fo... | stackexchange/codereview |
LineRefresh.java:
package LineRefresh.xyz.com;
import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
public class LineRefresh extends Activity {
DrawView drawView;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
drawView = new Dra... | stackexchange/codereview |
Is there a way to collect web content in order to use it in a search engine without passing by the web crawling phase? Any alternative to web crawling?
Thanks
| stackexchange/codereview |
I need to suggest an input, excel file or text file.
assuming the input is large number of lines where I need to read the first String, for example:
A,B,C,D....
I need to read the first String (in this case A) to identify the matching row, should I use excel file and use POI to read the first cell of each row? or text... | stackexchange/codereview |
Apparently PDO uses the php LC_NUMERIC category to format the output of floats according to the current locale in the resultsets.
This is a huge P.I.T.A. since i actually need the LC_NUMERIC to format my numbers but the results coming from the database should at all times be using the dot as decimal separator, else my... | stackexchange/codereview |
I want to use the user structure in wordpress for a website, but when a user logs in using the traditional wp-login.php, if the user is not an admin, it enters wp-admin.php with it's profile and a dashboard.
I don't want that. I would like that, after a successfull login, all non admin users to be redirected by the mai... | stackexchange/codereview |
I have an application like WindowBlinds that recreates window look at all. But i'll now stuk with tray window.
I disassemble Shell_NotifyIcon() func and found it uses then Shell_NotifyIconW() func then just by ordinal (from shellw.dll) function 215 to create,modify and remove icon's.
In this funcition then I found i ca... | stackexchange/codereview |
I have an html helper which takes in a broken address and formats it, but i'm seeing the actual <br /> tag as text instead of a line break on my web page.
What am i doing that's causing this to occur?
Here's part of my helper method
public static HtmlFormatAddress(this helper, string number
, string fraction
... | stackexchange/codereview |
I am new to mongoDB. I am using java and mongoDB. I have a json like,
[{ "_id" : { "$oid" : "4ceb753a70fdf877ef5113ca"} , "HomeTown" : "AA" ,
"PhoneNumber" : { "CustName" : "xxx" , "Number" : "3403290"},
"MobileNumber" : { "CustName" : "yyy" , "Number" : "9323304302"}}]
[{ "_id" : { "$oid" : "4ceb753a70fdf877ef51... | stackexchange/codereview |
I would like to know how can I use injection in my job using guice.
As I can't use @Inject on the default constructor may I use it directly on the attribute as follow (I always got a NullPointerException with PersonDAO) ? I know that a DAO has nothing to do here but it's just for testing.
public class SimpleQuartzJob i... | stackexchange/codereview |
I am trying to sign the release version of my Android app (debug was signed fine) for the Google Maps API:
keytool -list -alias cancertrials -keystore /Users/syalam/Documents/workspace/Cancer_Trials/keys/release -storepass android -keypass cancertrials
But I get the error:
java.io.IOException: Keystore was tampere... | stackexchange/codereview |
Which is more performant: ($longstring . $longstring) . $longstring, or $longstring . ($longstring . $longstring)? Is PHP's concatenation operator left- or right-associative? Is its associativity optimal, or should I override its associativity with parentheses?
| stackexchange/codereview |
I have MyClass class.
I declare
<Style TargetType="local:MyClass"></Style>
no problems.
I have MyClass.MyNestedClass (public) class.
I declare ... ?
| stackexchange/codereview |
I'm trying to create a composite object with PyODE, but I can't find any documentation regarding this.
Here is some info I found:
this is for ODE, the engine that PyODE is a wrapper for, and seems to be the most recent source of information:
http://opende.sourceforge.net/wiki/index.php/Manual_%28Collision_Detection%29... | stackexchange/codereview |
I include jquery into my module with DotNetNuke.Framework.jQuery.RequestRegistration(); and it works like expected.
Other scripts I include into my DNN portal via Page Settings/Advanced Settings/Page Header Tags.
They also get loaded, but they don't work as expected.
In my case I want to have tabs in one of my dnn mod... | stackexchange/codereview |
When I try to run my project with Maven 3 instead of Maven 2.1, I get an exception from the jetty-maven-plugin. Everything is fine with Maven 2.1.
The config looks like this:
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.0.0.M1</version>
... | stackexchange/codereview |
I have a problem with the replaceAll for a multiline string:
String regex = "\\s*/\\*.*\\*/";
String testWorks = " /** this should be replaced **/ just text";
String testIllegal = " /** this should be replaced \n **/ just text";
testWorks.replaceAll(regex, "x");
testIllegal.replaceAll(regex, "x");
The above works f... | stackexchange/codereview |
I have a stored procedure that I have developed on a SQL2008 server that runs <1sec. On another server which is SQL2005 the same sp on the same database takes ~1minute. Without going into the details of the database schema can anyone see anything obvious in this SP that may cause this performance discrepancy? Could it ... | stackexchange/codereview |
I have a jQuery UI dialog which contains a form, allowing the user to post an ad. Since the form contains a file upload, the form's target is an iFrame.
From this iFrame, I destroy the dialog in the parent window and create a new one (or I change the options of the original dialog, it doesn't make any difference). The ... | stackexchange/codereview |
I'm learning Scala now. I saw there are 2 test frameworks there, ScalaTest and Specs. My only problem is that I'm not still at ease with the language to decide which is better.
Also I'm used to write tests before code, at the moment I have no clear idea how to do it in functional programming.
Ideally I'd like to learn ... | stackexchange/codereview |
I have a problem setting a cdata node with jquery. Getting cdata is easily done with the .text() function, but if I use .text('jquery > handy') it doesn't create a cdata node.
This is my procecure:
I get form data in xml to load in a form
something like this:
<formdata>
<field id="title"><![CDATA[Some title]]></field... | stackexchange/codereview |
I have identical table on master and slave. Both have many columns with price among them. Is there any possibility to set individual values for price column in slave so that replication won't overwrites them?
Our system works in many countries that have individual prices, but we would also like to share some common dat... | stackexchange/codereview |
In a project I have put together, I need set up some JMS queues in order to run my integration tests.
Where is best to store my scripts to set the environment up?
I have a parent project, and typical modules like EAR and WAR modules.
| stackexchange/codereview |
I'm learning prism V4 using MEF to load my modules. Loading modules does work, but in one module I want to load a View/ViewModel (MVVM) and don't really know how I get MEF to resolve all this stuff for me.
First: how do I need to mark the ViewModel (I follow the StockTraderRI example) so it is not loaded on startup but... | stackexchange/codereview |
I want to achieve a form using css which have different panels for different groups of input fields.
Similar to this.
![alt text][1]
I know this is a desktop client. But is there any way to achieve such a layout with fieldsets css ?
| stackexchange/codereview |
I have two monitors. I am seeing some strange behaviour when I access the MenuStrip of my C# application near the edge of my left monitor.
Case 1: In this screenshot I have opened SubMenu1 when the window is fairly close to the edge of my left monitor. SubMenu2 shows up on the leftmost edge of my right monitor.
Case 2... | stackexchange/codereview |
Is there a way to hide or show a UIBarButtonItem?
| stackexchange/codereview |
Please see the code I've used to find what I believe are all Amicable Pairs (n, m), n < m, 2 <= n <= 65 million. My code: http://tutoree7.pastebin.com/wKvMAWpT. The found pairs: http://tutoree7.pastebin.com/dpEc0RbZ.
I'm finding that each additional million now takes 24 minutes on my laptop. I'm hoping there are substa... | stackexchange/codereview |
I'm working on a custom forum and trying to set up a table to keep track of what users viewed what threads.
The table is very simple. thread_id, user_id, thread_view_date.
Every time someone views a thread it will update the table with the thread_id, user_id and view date so the system knows if they viewed a thread or ... | stackexchange/codereview |
I am creating a task-scheduler on SQL Server 2008.
I have a table that I use to store tasks. Each task is a task name (e.g. ImportFile) and arguments. I store arguments in XML column, since different tasks have different signatures.
Table is as follows:
Id:integer(PK) | operation:nvarchar | Arguments:xml
Before queu... | stackexchange/codereview |
This is my log4net.xml file
<log4net>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="C:\MVC2-" > </file>
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyy'-'MM'-'dd'.log'" />
<dateTimeStrategy type="log4net.Appender.Rollin... | stackexchange/codereview |
For storing large numbers I am refering to the next:
2.7182818284590455348848081484902650117874145507812500
I can´t save this with double precision floating-point format (IEEE754)
Thank you.
| stackexchange/codereview |
Attempt #3.
Using css, with a strict doctype, can someone please draw 4 div boxes to meet these requirements.
The wrapper or outermost div will scale in height. That means that it could be any height.
The middle div should always be 100% high to match the outer/parent div (#1 in my list)
The next div should be positio... | stackexchange/codereview |
My PHP book gives a template HTML form for uploading a file:
<form action="upload.php" method="post" enctype="multipart/form-data"/>
<div>
<input type="hidden" name="MAX_FILE_SIZE" value="10000000"/>
<label for="userfile">Upload a file:</label>
<input type="file" name="userfile" id="userfile... | stackexchange/codereview |
So if (roughly) my XAML tree is as so:
<TabControl Name="tab1">
<TabItem Header="Untitled" Name="tabMain">
<Canvas Name="canvasTest" DockPanel.Dock="Right">
<local:VisualsHost Canvas.ZIndex ="99" x:Name="vshMain"></local:VisualsHost>
<ListBox Name="lstTile... | stackexchange/codereview |
I have a dropdown which must populate several other dropdowns depending on the option selected. I found a way how to do this using hidden fields. I created a hidden field for every sub dropdown with all its options. Then from my JS function, I check which selectedIndex is selected and then give the value of its respect... | stackexchange/codereview |
I'm testing a scenario in Rails with Cucumber, and it comes back saying it can't find the edit link to click on. If I go to the page myself, it's there. Obviously I'm doing something wrong, but I can't see it.
If I add the @selenium tag before my scenario, it executes the tests in Firefox. But it I see the browser open... | stackexchange/codereview |
Here is my code so far:
public class Token {
// Data:
private String type = "";
private String name = "";
private double value = 0;
// Constructors:
public Token() { this( "" ); }
public Token( String t ) { this( t, 0 ); }
public Token( String t, double v... | stackexchange/codereview |
I have a 2550px x 3300px image of a document. I scale it to 901px to 1166px using css. Also used image width/height attributes without css. It looks great in chrome and IE but the image contents look jagged in FF (3.6). Resizing the image itself is not an option (for good quality printing).
Any suggestions?
| stackexchange/codereview |
I am using html.ActionLink helper to create my HTML in MVC 2.0 application. There are many ActionLink button like for example: Cancel, Submit and refresh on the same page. All these three buttons use the same CSS Class Name.
I have to call different JQuery functions (to perform differnet kind of validations) when each ... | stackexchange/codereview |
ok, lets say I have this:
class A:
{
Public:
int dd;
}
Ok, then I have this class:
class B:
{
Public:
void sss(){ ff=dd; }
int ff;
}
Ok, the problem is that class B doesn't know what dd is. How can I make class B know it?
| stackexchange/codereview |
The follow XAML represents an object I am trying to build in Expression Blend. I am having trouble with the DataTrigger in the StackPanel - the application does not go to Empty when the trigger matches the data. Further explanation is after this code:
<DataTemplate x:Key="SampleTemplate">
<StackPanel x:Name="Sampl... | stackexchange/codereview |
How do I insert a label tag in my jsp page when new columns are added? Here is the sample code below:
<td class="col-1">
<dsp:getvalueof var="pv_orderview" param="element" idtype="java.lang.Object" />
<dsp:input type="checkbox" id="${pv_count}" name="ordersCsv" bean="ActivityHistoryFormHandler.csvValues" valu... | stackexchange/codereview |
I have a latest windows netbeans version (6.9.1) and i want to instal a python plugin for it. I have no problems on a computer that has internet connection, it's just tools->plugins->Available. But i have another computer that don't have internet connection available :(. Is it possible to install python addin for it? W... | stackexchange/codereview |
I am having a ExtJs EditorGridPanel configured with a GroupingStore, GroupingView and a CheckboxSelectionModel.
The Checkbox appears in the grid's header and in all the rows. I want to bring the checkbox on the group header also. My intention is to let the user select all records under a group by selecting the group he... | stackexchange/codereview |
Where is the problem?
bool stillSingleClick = false;
// does not compime
System.Threading.Thread.VolatileWrite(ref stillSingleClick, true);
The best overloaded method match for
'System.Threading.Thread.VolatileWrite(ref
object, object)' has some invalid
arguments
Why do I ask.. I try to differentiate my doub... | stackexchange/codereview |
Problem: how to simplify the code below, as I'm aiming towards 30 different properties in the thing class.
The code looks for uniqueness in a 'thing' property.
public class thing
{
public string Name { get; set; }
public string Colour { get; set; }
public string Position { get; set; }
public string Hei... | stackexchange/codereview |
I'm getting this error for the URL http://localhost:3000/dashboard/
Routing Error No route matches "/dashboard"
but http://localhost:3000/dashboard/index works correct
How can i make all the below URLs works and shows the same view views/dashboard/index.html.erb
http://localhost:3000
http://localhost:3000/
http://local... | stackexchange/codereview |
Someone says here that it would open to attack
How do you serialize javascript objects with methods using JSON
This is a rather superficial answer for me because why would it would more open to attack than classical ajax call ? Is the guy just against Ajax ?
It's not about transmitting code to be executed to the serve... | stackexchange/codereview |
I have an instance of ttk.Entry.
The user clicks it.
I have the event bound.
Depending on some condition, I either want the input cursor to appear and allow typing or I essentially want to ignore the click and not have the input cursor appear in the ttk.Entry. I don't want to have to use the readonly or disabled state... | stackexchange/codereview |
I configured my development server this way:
Ubuntu, Apache, mod_wsgi, Python 2.6
I work on the server from another computer connected to it.
Most of the times the changes don't affect the application unless I restart Apache.
In some cases the changes take effect without restarting the webserver, but after let's say 3 ... | stackexchange/codereview |
I have ImageMagick and GraphicsMagick both installed. I can use both freely from the command line because they have different command namespaces (all of the ImageMagick commands are parameters to the gm GraphicsMagick command). From the command line:
convert ... uses ImageMagick
gm convert ... uses GraphicsMagick
T... | stackexchange/codereview |
m = re.findall("\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}",s)
How do I modify it so it will match not only IPv4, but also something with CIDR like 10.10.10.0/24?
| stackexchange/codereview |
I have successfully implemented Twitter oAuth integration in my web project, which allows a user to register and/or sign in using his Twitter account. I made use of this library:
http://twitteroauth.labs.poseurtech.com/connect.php
I simply followed the steps in the documentation:
http://github.com/abraham/twitteroauth/... | stackexchange/codereview |
Note: Questions are at the end of the post.
I have read the other stackoverflow threads regarding Abstract Factory vs Factory Method. I understand the intent of each pattern. However, I am not clear on the definition.
Factory Method defines an interface
for creating an object, but lets
subclasses decide which of t... | stackexchange/codereview |
I found some plugins like WP Mobile Pack, but I want to put together my own very simple theme switcher. (Just don't want any bloat.)
I have a regular WordPress theme and I also created a WordPress Mobile theme as well. These are both standard WP themes that can be activated in the dashboard.
How can I direct certain u... | stackexchange/codereview |
I recently saw this 1UI64 type. I didnt get what kind of type is it. How can they use 1 before ?
| stackexchange/codereview |
I am trying to call rest web services in andoid, but i have always a time out exception.
The code is:
HttpClient httpclient = new DefaultHttpClient();
HttpGet request = new HttpGet("http://XXXX:8080/YYY/zzzz?username=0001epd&password=1111");
ResponseHandler<String> handler = new BasicResponseHandler();
try {
... | stackexchange/codereview |
while the development of websites we use the database to test & all... which consumes a lot from auto generated (auto increment) attributes series... how to reset everything...
| stackexchange/codereview |
I want to fake a drag and drop action (dragging a file from lets say Windows-Explorer to a certain program). This program has a window with four drop-targets.
The target-program has its own graphical subsystem, so its neither based on WinForms nor WPF. I tried WinSpy and all it detects is the window itself, but none o... | stackexchange/codereview |
Reading all about PHP frameworks, CodeIgniter seems really nice in that I like it's speed and raw PHP-ness, but it really misses features that CakePHP has (ACLs, authentication,etc.). I originally thought that it would be ok to write the stuff i needed myself (and CodeIgnitier is definitely the DIY tool), but I'm reall... | stackexchange/codereview |
Ok, it's 2 hours that i try. It's time to ask someones here at stackoverflow.
I have this source html:
<div class="post_main">
Post Content (has HTML)
</div><div class="post_email">[...]
Other Stuff
<div class="post_main">
Post Content (has HTML)
</div><div class="post_email">[...]
Other Stuff
<div class="post_main">
P... | stackexchange/codereview |
I have webrick based HTTP server running on a windows machine and client on a Linux machine.
I would like to transfer ~2GB file from the my client program (which is not a browser) to the server program.
What all is available in Ruby for this??
| stackexchange/codereview |
i need a module that is kind of a cross between a registration module and a form module.
it need to allow for custom form fields to be saved to the DB and work as part of a flow such that once data is entered by the users they click next and see the data to confirm it is correct. at this point they should have the opti... | stackexchange/codereview |
Is there a way to configure the font used for the Query editor in Visual Studio 2008 or 2010?
I found this same question for VS 2005 and the answer from Microsoft saying you can't. I'm hoping that this is not true with 2008 or 2010.
http://social.msdn.microsoft.com/Forums/en/vssetup/thread/a4aa8790-7a72-4e0f-8901-0188... | stackexchange/codereview |
I can't get the following PHP + jQuery to work - all I want the script to do is pass the value through ajax, and get the php to grab it, check it matches and add 1 to score.
This is the code I've written:
<?php
$score = "1";
$userAnswer = $_POST['name'];
if ($_POST['name'] == "145"){
$score++;
}else{
//Do not... | stackexchange/codereview |
Is it possible to send arabic sms with at-command in text mode (not pdu) and get a delivery report?
| stackexchange/codereview |
I have web application with configuration files in \WEB-INF\etc\config. This folder contains a few property files and one xml. I need to set up path to xml in one property file. After setuping this file is using to create object during start of service, this object reads properties from file. So, this object has to kno... | stackexchange/codereview |
I need this up and running quick but I spent the last few hours researching/worrying about which would be better:
Asp.net Forms Authentication
vs
Custom Header Token:
On the server
protected override void OnStartProcessingRequest(ProcessRequestArgs args)
{
if (string.IsNullOrEmpty(WebOperationContext.Current.I... | stackexchange/codereview |
I'm new to SOAP and I'm having issues (yes, I have searched - extensively, but I can't seem to match my very simple requirement - sending a single XML string) with sending some output to a .NET server to match this:
POST /someurl.asmx HTTP/1.1
Host: www.somehost.com
Content-Type: text/xml; charset=utf-8
Content-Len... | stackexchange/codereview |
I've made a horizontal menu using a list. I'm trying to get each <li> to appear as a horizontal rectangle with wedges snipped out of its sides - snip> <snip - and text centered horizontally and vertically.
I thought I could accomplish this by giving the <li>'s a line-height of 0, making the borders thick, and making th... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.