instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I am currently researching a good setup for a continuous integration server which would build various C++ applications for several Linux distributions.
My primary question is how other users here have handled the differences in system libraries between Linux distributions?
While it might be relatively easy to build dir... | stackexchange/codereview |
try.pl is a script that is trying to generate sample.xml which should validate against sample.xsd. I am getting some errors. Guide me if possible.
portion of sample.xsd
<xs:element name="element1" maxOccurs="unbounded">
<xs:complexType>
<xs:SimpleContent> <---- line number of error
<xs:extension base="xs... | stackexchange/codereview |
Suppose I want to create a "custom" FTP server, that is:
It will look like a standard FTP server to the outside world
It will actually serve data from either in-memory streams of data (dynamically generated by code) or from network streams, instead of from the actual file system
Is there an existing FTP server imple... | stackexchange/codereview |
Given the code below is there a nicer way to right it that doesn't repeat typename std::iterator_traits<T>::iterator_category twice?
template<class T, class T2>
struct foo :
bar<
foo<T, T2>, typename
std::conditional<
std::is_same<typename
std::iterator_traits<T>::itera... | stackexchange/codereview |
I'm not sure if this is a simple question or not, but I'd like surefire to generate html formatted output files(in addition to the xml and txt formatted output files) during the test phase.
I've tried to make this happen by adding an 'executions' entry for build>surefire. Is this the correct location for this? If s... | stackexchange/codereview |
I am working on calling COM object method from my PHP application, but often Apache/PHP CLI crashes when I launch the script.
This one for example
$domainObject = new COM("Excel.application");
foreach ($domainObject as $obj)
{
echo $obj->Name . "<br />";
}
or this one
$o=new COM("NeoScope2InterOpCOM.NeoScope2... | stackexchange/codereview |
I am making a app in Delphi 6 + MySQL database using standard data-aware components and dbExpress. The app allows a users to view records in a grid and edit data (insert and/or delete records) client side. These data edits are then only written to database on clicking the submit button. All of this works fine and has t... | stackexchange/codereview |
I'm working to use the jQuery validation plugin for a form... see full code below. While the below is checking for the project name to be required, it's not checking length, and allows the submit. See anything wrong?
<form method="post" id="new_space" data-remote="true" class="new_space" action="/spaces" accept-charset... | stackexchange/codereview |
After downloading and installing WAMP, I visit http://localhost in Firefox. It's showing a blank page. Here are some factors:
No Skype
Windows Vista Home Basic SP2
Firewall is off
Deleted the ::1 localhost in c/windows/system32/drivers/etc/host
Tried changing port to 8080 in httpd.conf
When I go to Apache/services/te... | stackexchange/codereview |
I will check if a word exists in a list.
How can I show the position of this word?
| stackexchange/codereview |
I need to insert a dash every 5 characters in a NSTextField. How can this be achieved?
| stackexchange/codereview |
Will the viewers be able to click on a link from a description or is this not possible as far as how the app-store works?
I'd like to show the users what the app will look like before they buy it by showing them a video of it on youtube.
Thanks
p.s and no, this is not a marketing question. Only programmers know the ans... | stackexchange/codereview |
I am using Boost Test to unit test some C++ code.
I have a vector of values that I need to compare with expected results, but I don't want to manually check the values in a loop:
BOOST_REQUIRE_EQUAL(values.size(), expected.size());
for( int i = 0; i < size; ++i )
{
BOOST_CHECK_EQUAL(values[i], expected[i]);
}
The... | stackexchange/codereview |
I want to show rich text in dropdown control, for which I am using the following renderer.
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Script>
<![CDATA[
import s... | stackexchange/codereview |
This is the @font-face declaration I have used:
@font-face {
font-family: SolaimanLipi;
src: url("font/SolaimanLipi_20-04-07.ttf");
}
This is working perfectly in Firefox but not in Chrome.
After "inspect element" I got the following message:
Resource interpreted as font but transferred with MIME type applica... | stackexchange/codereview |
Is there any algorithm/formula that can help me to figure out natural dimensions of a drawn object on OpenGL scene by using orthogonal projection. ?
For examle: 3 Units = 3milimeters.
Thank you in advance.
| stackexchange/codereview |
We have a TFS build which outputs 2 exe's for 2 different solutions. How do I now integrate my build with InstallShield to use these exe's of both the solutions in my installer.
Any points to information would be greatly appreciated.
Thanks much in advance!!
| stackexchange/codereview |
I'm looking at the syntax of SQL, specifically the character string literal.
<character string literal> ::=
[ <introducer> <character set specification> ]
<quote> [ <character representation> ... ] <quote>
[ { <separator> <quote> [ <character representation> ... ] <quote> }... ]
Ignoring the [ <introducer>... | stackexchange/codereview |
I want to implement a gateway for handling outgoing calls.
In the latest Android versions 2.x I can do this easily with the hidden ACTION_CALL extra string:
"com.android.phone.extra.GATEWAY_URI"
But in earlier versions, like 1.6, I don't know how to do it. It must be possible because Google Voice is doing it. Can someo... | stackexchange/codereview |
We use a 3rd party control suite which has a JQuery global ajaxError event which we would like to customize. We don't want to update this JS file but want to somehow override it so that JQuery doesn't execute this event.
Is this possible?
EDIT: Third Party Code
ajaxError: function (element, eventName, xhr, status) ... | stackexchange/codereview |
...Even when a user opens an application by double-clicking an associated file in a directory that's different from the executable. I've always used ExtractFilePath(Application.EXEName), but this function doesn't work as hoped in this circumstance.
| stackexchange/codereview |
In code, my question is:
if(file_exists( c/ $requesturl )
serve( c/ $requesturl )
else
serve( index.php?blah )
In human form:
My script generates CSS. This is pretty intensive, so I built in caching.
People request:
http://domain.com/css/1lfi4wg.css2
Which is rewritten:
RewriteRule ^([a-zA-Z0-9\-]*)\.css$ index.php... | stackexchange/codereview |
What is your opinion about BitC as programming language?
Seems like a promising solution to "high level language with excellent performance that is pleasant to use" category.
What do you like and dislike about it? Do you think it has a chance to find its niche, or it is just yet another obscure programming language no ... | stackexchange/codereview |
My installation is always executed in a Computer where I know the user/password of a user with administrator privileges.
The installation needs Administrative privileges to execute so I created an EXE that executes the installation using this known user.
My problem know is that the installation launches an EXE from a C... | stackexchange/codereview |
I have been having a bit of trouble with this issue with a while and have decided to ask for help!
I have a textured 1024 x 1024 area in my iphone application. I am texturing it using an image that i converted to .pvr4 format using Apples texturetool.
Now the user has the option of zooming in on this textured object..... | stackexchange/codereview |
i have two simple c# form programs, and I want to make a button in the first program start the other form when i click it, but i dont know how to access the other programm.cs main method, could you help me?
Edit:
I want to start in Programm1 the main method from programm2, the assembiliti from programm2 i added to prog... | stackexchange/codereview |
The following code snippet prints the Pascals triangle,I have got this snippet from the internet but I am unable to get the formula for bin.If anyone can help me out with it I would be thankfull\
#include<stdio.h>
int main()
{
int bin=1,p,q=0,r,x;
clrscr();
printf("Rows you want to input:");
scanf("%d",... | stackexchange/codereview |
I have an app under development that worked fine under iOS 3.1.x. I was at a good break point, so I decided to upgrade my dev environment to XCode 3.2.4 + iOS4.1.
My app has a number of UIButtons that I made colored using the "stretch a colored image as background" technique described elsewhere on StackOverflow:
UIImag... | stackexchange/codereview |
This question was asked here but there wasn't any positive answer.
I am trying to help a friend to build a car dealer web page like Fantasy Junction.
I think they use CakePHP plus jQuery lightBox plugin.
So far I am thinking of either ModX CMS or Expression Engine.
My friend and I are not web developers, so somethi... | stackexchange/codereview |
I am working with this XSD file. The portion of the XML that is relevant to this question is here:
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="https://wsmrc2vger.wsmr.army.mil/rcc/manuals/106-11"
targetNamespace="https://wsmrc2vger.wsmr.army.mil/rcc/manual... | stackexchange/codereview |
I have associated the ".file_5" extension with my application and I used the ParamStr(1) function in Delphi to show a messagebox that contains the path & file name of the file when I double click on it in explorer using the code below.
procedure TForm1.FormCreate(Sender: TObject);
var
TheFile : string;
begin
TheFi... | stackexchange/codereview |
Twitter limits each user account to 20 lists. I have three accounts with different purposes but need the 60 lists across these three accounts to be displayed on one page on my website. Each list link needs to be clickable to the status updates from that list (in that same page likely using ajax). They are private lists... | stackexchange/codereview |
I'm building a WPF application, and I derived a bunch of controls from the standard WPF control types -- textblocks, buttons, etc. I tried adding a resource dictionary to app.xaml to set the theme, but my custom controls don't seem to be respecting it. (For example, standard Buttons take the Aero theme just fine, but a... | stackexchange/codereview |
How would you go about reading odt files in PHP? I know you can use QueryPath, but that seems a bit of an overkill,.. I just want to read the file.
| stackexchange/codereview |
I need to know what is the protocol used in vmware ESXi vSphere client to connect to the remote console?
Is this protocol open source ?
Is their any vmware/third party applications enables VM Remote console connection other than vsphere client ?
| stackexchange/codereview |
The first time i focus an edittext view i notice a lag of one or two seconds before i can write anything in the textbox.
I notice this behavior even on an app without any code more than what's nessecary to initialize the application.
What am i doing wrong?
| stackexchange/codereview |
I'm currently working on validation for a login form.
I have a WORKING set of validations within my action:
// SNIP!!!!
@Override
public void validate()
{
if (userBean.getUserName().length() == 0)
{ addFieldError("userBean.userName", "Username is required."); }
if (userBean.ge... | stackexchange/codereview |
I'm running a web application on a glassfish 3 server. The application should not be accessible for anyone. Instead I want to limit access to a handful static IP addresses. To block all communication via a firewall is not an option, since the server hosts other web services too.
Given this background, my question would... | stackexchange/codereview |
I'm developing an Android application and I need to use a render engine to show some objects that I made with Blend.
I'm wondering if there is a C++ game engine or render engine to show my models.
Is there anyone?
Thanks.
| stackexchange/codereview |
I've gleaned that adding the context:component-scan will enable adding any jar with bean annotated as @Bean to the spring configuration, but , while getting lost in the Framework reference...
How can I add that bean as interceptor on specific channel?
How can bean properties be initialized if there's no element in t... | stackexchange/codereview |
i am trying to write a binary predicate to take one list, compute mod 5 for each element and then put it in another list. so far, i have done this,
mod5(X,L):- R = [], modhelper(R,L), write(R).
modhelper(X,L):- memb(E,L), mod2(E,Z), addtolist(Z,X,X), modhelper(X,L).
%Get an element from the list L.
memb(E,[E|_]).... | stackexchange/codereview |
I'm using CAS (Central Authentication Service) from Jasig in a client JSF app running on tomcat 6 server. I would like to limit the access to the app just for the users specified in my database rather than all the users which can be authenticated using that CAS service. When the user attempts to log in, I need to check... | stackexchange/codereview |
my existing code as follows
$('#'+ContainerId).find('img').each(function(){
// ...
});
I want to crate a div element on the fly and append this existing img to this new created div element.
Result must be like this which I want
<div style="text-align:center"><img src=".." /></div>
| stackexchange/codereview |
I have a program that I am running that uses video and the only way to stop it(right now) once it starts is to press Ctl+C.
My file contains a GUI which displays the live video feed and then a filtered version of it in the same GUI. I can add a close button to the gui with:
"uicontrol('String', 'Close', 'Callback', 'c... | stackexchange/codereview |
Anyone,
I have been unable to compile some packages, like WxWidgets, on Mac OS 10.6.4 using gcc 4.5 (compiled from source, not from MacPorts, Fink, etc. with all default languages and Obj-C++). Typically, when trying to compile against the Foundation framework, I get errors such as the following:
/System/Library/Frame... | stackexchange/codereview |
I'm writing a Mercurial extension in Python and need to call the "Pull" command using the Mercurial API, but I want to suppress its output using the --quiet flag.
In Hg terms, I want to execute the following code, but from within my extension:
hg pull --quiet
Given the Mercurial API documentation, I thought it would b... | stackexchange/codereview |
I have a ViewController that needs to use 2 UITableViews.
1 is always showing, while the other will show up as a popup after you click on a button on the view.
Typically I set the delegate and datasource to the File's Owner. However, since 1 of the UITableViews is in a popup, I'm not sure how to best tackle this.
e.g h... | stackexchange/codereview |
i want to load some content from an "HTML" page in to a windows forms application
the problem is that the content on the HTML page will be generated by javascript so i am confused with what should i do, so if you have a solution then please tell me.
Otherwise if someone can tell me about how can i embed IE into windows... | stackexchange/codereview |
OK, I've been pulling my hair out about this for ages. I have a WebService which sends a zip file to the browser. This works; when I test the WebService and 'invoke' the method through it directly, the zip file is downloaded to the browser correctly.
The problem arises when I use jQuery to send an AJAX request to the W... | stackexchange/codereview |
http://jsfiddle.net/ksHuz/
I'm trying to use a background-image with the <a> element in this fiddle, but the image only center aligns with text in IE. How do I center align the image in all browsers?
HTML:
<table>
<tr>
<td>
<select>
<option>1</option>
... | stackexchange/codereview |
Using PHP or Python, but I'm sure the basic functions are agnostic.
I am unsure what the proper term, mathematical theory, or algorithm is, otherwise I'm sure Google would have fixed this for me in minutes.
I have a data set similar to the following:
cost | qty | ppl | store
------------------------
30| 500| 1... | stackexchange/codereview |
I have a listbox and a html <map> element on my page. The list box has 50 state names of USA. and the <map> is a html <map> with 50 <area> elemnts over an image.
I have a functionality on my page. When you select a state from list box, the appropriate <area> element is highlighted using some jquery and javascript.
My p... | stackexchange/codereview |
My interviewer asked me Question that i am inserting 10 rows in database table and in some 5th row i find the some trouble then how can i roll back all the records?
Please let me know how can i do this
| stackexchange/codereview |
Consider the following result from a hypothetical reg query:
..>reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer /v "I
nstallation Directory"
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer
Installation Directory REG_EXPAND_SZ %ProgramFiles%\Windows Media Play
er
How do ... | stackexchange/codereview |
This is kind of irritating, but I am using Eclipse PDT and code hinting only works on already saved portions of data. That is, assume I write code:
$o = new SomeObject();
$o->
(assuming SomeObject has public properties) Now when I hit Ctrl+space I get "No matches found". If I save and then hit Ctrl+space, suddenly PDT... | stackexchange/codereview |
Anyone know of a decent tool to monitor the total memory usage of a program that spawns a lot of threads? I'm really new to developing in Erlang and would appreciate any help!
Thanks in advance :D
| stackexchange/codereview |
I know that I can set the session timeout in web.xml in the <session-config> section. What I need now is to change this setting dynamically during runtime, i.e. call a method that overrides the web.xml setting if needed.
Any ideas? I found nothing so far.
| stackexchange/codereview |
Can we do something like this or something similar?
var staffs = {
"Staff":
[
{ "ID" : 1, "Name" : "John" },
{ "ID" : 2, "Name" : "Mark"}
]
};
foreach (var staff in staffs)
{
Console.WriteLine("ID: {0}", staff.ID);
Consol... | stackexchange/codereview |
I'm using WebDriver through the Python bindings located on Google's site. According to the documentation here, it supports four browsers: Chrome, IE, Firefox, and HtmlUnit. I can import the Firefox driver using from selenium.firefox.webdriver import WebDriver, and the Chrome driver using from selenium.chrome.webdrive... | stackexchange/codereview |
I just want to create something like: like(x,y).
I've been trying for a long time and am really frustrated, could anyone please tell me how to do it???!!!
| stackexchange/codereview |
I have some knowledge of object oriented php, i understand objects and classes. Can you recommend me some book that will teach me some more advanced techniques?
| stackexchange/codereview |
I thought this was the default behaviour (all the Adobe docs seem to indicate that this is the case).
Say you have a form:
Name: [______]
Password: [________]
generally you want Name and Password to line up on their right-hand side (right justification). The length should be the length of the longest label.
When I add ... | stackexchange/codereview |
$(function () {
$("li.login a").click(function(){
$('#loginActive, #loginBox').toggle();
$("#loginForm").load("login.html");
});
});
That's my code, basically its a simple drop down login which I want to call the login.html with jquery.
All works fine when showing the toggled content but when... | stackexchange/codereview |
I am trying to create a basic example. Using frames i know how to do that but i want to know how this can be done using action script 3.
Using frame:
A movieclip in which there are 6 frames
Red rectangle in first 3 frames
Blue rectangle in last 3 frames
Can someone please tell me how to do this using AS3?
| stackexchange/codereview |
I have this slow query
select * from table1 where id NOT IN ( select id from table2 )
Would this be faster by doing something like (not sure if this is possible):
select * from table1 where id not in ( select id from table2 where id = table1.id )
Or:
select * from table1 where table1.id NOT EXIST( select id from tabl... | stackexchange/codereview |
I'm working on website where Sharepoint 2007 is being used as the CMS for a public facing site.
Internal users are authenticated via active directory and can edit content via an internal url. External users view the content via a public url. I've just added forms based authentication to the external facing version of t... | stackexchange/codereview |
In my application, there's a module that uses ServerSocket to listen for incoming TCP connections. When I switched a client to use UDP, I expected to receive data anyway, but I was wrong. When I looked at the documentation, however, I couldn't find any config option to set up the socket for UDP. Do I have to use a diff... | stackexchange/codereview |
Hi so I have a custom loop that is supposed to show upcoming events only it's not taking into account the year so it's displaying future events as being in the past due to just the month and date.
<ul class="upcoming">
<?php // Get today's date in the right format
$todaysDate = date('m/d/y H:i:s');
?>
<?php query_post... | stackexchange/codereview |
I'm using maven-minify-plugin. It can produce only one output file. I need to produce two minified js files. One from one set of files, the other from another set of files.
Can I somehow trick Maven into running two different configurations for the same plugin?
Thanks for help, Yuri.
| stackexchange/codereview |
I am attempting to create a validation rule that passes an error if the (milestone)objects target_date is greater then the projects target_date. The issue is that none of the errors are being raised.
For simplicities sake,
models.py
class Project(models.Model):
target_date = models.DateField()
class Milestone(mode... | stackexchange/codereview |
using this code:
<script src="<?php bloginfo('template_url'); ?>/scripts/hovermenus.js" type="text/javascript"></script>
to load this script
firebug is not showing this script as loaded, however, these scripts:
<script src="<?php bloginfo('template_url'); ?>/scripts/jquery-1.4.2.min.js" type="text/javascript"></script... | stackexchange/codereview |
I'm trying to post a message to a user's wall using the new graph API and PHP. Connection seems to work fine, but no post appears. I'm not sure how to set up the posting code correctly. Please help me out. Sorry for the broken-looking code, for some reason StackOverflow didn't want to close it all in the code block.
Be... | stackexchange/codereview |
I have the following list :
UserName LanguageSpoken
-------------------------
Bob English
Bob French
Alan Italian
Alan Spanish
Alan German
I'd like to have another list like :
Bob English/French
Alan Italian/Spanish/German
How can I do that using lambda expressions in C#.
Than... | stackexchange/codereview |
In my database I have over 600 users. The passwords were previously stored as plain text (slap on hand, I know). Anyways, I have changed my code to store STA1 hashed passwords, but I need to convert the existing passwords in my database so each user doesn't need to go in and modify their account.
Any help?
| stackexchange/codereview |
I have a nested form that includes a lesson/questions/answers. The user populates answer fields and clicks submit. The hash is shown below:
Parameters: {"commit"=>"Submit Answers", "action"=>"update", "_method"=>"put", "authenticity_token"=>"y##########o=", "lesson"=>{"questions_attributes"=>{"0"=>{"id"=>"1", "answer"=... | stackexchange/codereview |
"How to write an algorithm that, given a number n, prints out all the simplified vulgar fractions that have the denominator 1..n"
(I hope I could phrase it well, feel free to rephrase.)
Example: If n is 3, the output should be like "1/2 1/3 2/3"
We were talking about this question in the end of the last class. He sh... | stackexchange/codereview |
I have been walking through an xsl document and am not sure what the @domain$ne$ stands for. Can you please help?
<xsl:for-each select="./HEADER/META
[(./VALUE[not(text()='')]) and
(./@domain$ne$'PPPI_PROCESS_ORDER') and
(./@domain$ne$'... | stackexchange/codereview |
Googling for CoreWLAN brings a mere 701 results -- Apple's own shallow reference isn't even there, at least not on the first pages.
For instance, I would like to know what are the possible values of kCWScanKeyScanType when scanning for networks. Apple will only say it defaults to APScanTypeActive, but doesn't explain w... | stackexchange/codereview |
I have the following code:
if (e.Node.Level == 2 && e.Node.Name.Contains("PI3K1003"))
toolTip1.Show("test",_tv);
It works when I do hover the mouse over the appropriate node. However, when I leave the treeview control and then move the mouse back onto the control, the tooltip displays straight away, ev... | stackexchange/codereview |
I have a function where I need to generate different output strings for another program I invoke, depending on which type it wants.
Basically, the called program needs a command line argument telling it which type it was called with.
Happily I found this answer on SO on how to check a variable for type. But I noticed h... | stackexchange/codereview |
I am using a devise gem for sign_in/sign_out procedures.
I generated views files from devise, using rails g devise views
I saw there was a devise/sessions/new.html.erb file which contained a form for sign_in.
I created another file devise/sessions/_form.html.erb and did <%= render 'form' %> within a new.html.erb file, ... | stackexchange/codereview |
I want to use criteria to make the following query. I have an Entity with EmbeddedId defined:
@Entity
@Table(name="TB_INTERFASES")
public class Interfase implements Serializable {
@EmbeddedId
private InterfaseId id;
}
@Embeddable
public class InterfaseId implements Serializable {
@Column(name="CLASE")
p... | stackexchange/codereview |
i created application in that it will call preference from main activity based on menu option
it is done using Explicit intent but it not working . when clicking the menu item
calling activity
public boolean onCreateOptionsMenu(Menu menu)
{
super.onCreateOptionsMenu(menu);
menu.add(0, Menu.FIRST+1, Menu.NO... | stackexchange/codereview |
I'm trying to find a way to copy a schema under a different name. There are many ways to do this. One way is to work on the command line, but it starts getting complicated because of the moving parts (what user am I running as?).
If I can simply call a function in the database, that would be perfect. That's when I saw ... | stackexchange/codereview |
I've been using Google Jsapi like so:
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.3");
</script>
But the Google docs recommend doing this:
<script type="text/javascript" src="http://www.google.com/jsapi?key=YOUR_KEY_HERE"></scr... | stackexchange/codereview |
Im having trouble getting my head around the concept of the factory design pattern. As far as i understand its to allow calling code not to have to worry about how an individual object is instantiated, simply to know that it will implement a particular interface.
I cant see how this saves any code though.
for instance... | stackexchange/codereview |
I wrote some code that has a jpanel with a mouse listener and mouse motion listener, and it is working fine, but I run want some animations when the mouse is not moving. how can this be detected? Is there a way to slang some mouse events for a stationary mouse?
| stackexchange/codereview |
How can I create a button (or a shape) on an Excel worksheet using C#? I am currently doing it with the code below, but I encounter two problems:
the button gets moved when the columns to its left are resized
the button does not respond when you select or right-click it, so there is no obvious way for a user to manua... | stackexchange/codereview |
I have created a JSP code where we can upload a .csv file. The JSP Code is supported by a java code that reads the .csv file and compares the urls in the file with the DB and adds it into to the DB if the urls are not already present.
The above scenario works absolutely fine when its executed in a windows system.
I upl... | stackexchange/codereview |
We have a MySQL driven site that will occasionally get 100K users in the space of 48 hours, all logging into the site and making purchases.
We are attempting to simulate this kind of load using tools like Apache Bench and Siege.
While the key metric seems to me number of concurrent users, and we've got our report resu... | stackexchange/codereview |
I have a query that allows me to get records from a database table by giving it a minimum and maximum limit.
It goes like this:
SELECT T1.CDUSUARIO, T1.DSALIAS, T1.DSNOMBRE_EMPRESA, T1.DSCARGO, T1.DSDIRECCION_CORREO, T1.CDUSUARIO_ADMINISTRADOR, T1.FEMODIFICACION
FROM (SELECT *,
ROW_NUMBER() OVER ... | stackexchange/codereview |
I'd like to add a symbolic link to subversion and when I do a checkout all it does is add the same symbolic link right to my checkout but I'm afraid to add it if that's not what happens.
| stackexchange/codereview |
I'm upgrading a payment management system I created a while ago. It currently has one table for each payment type it can accept. It is limited to only being able to pay for one thing, which this upgrade is to alleviate. I've been asking for suggestions as to how I should design it, and I have these basic ideas to work ... | stackexchange/codereview |
I'm using a simple regular expression on some text data. The expression seems to work fine. The problem I need to get around now, is to only return one result per match as seen in desired matches below. Of course the data would be much larger than this.
Example Data:
stuffbefore233/stuffafter
stuffbefore233/stuffafter
... | stackexchange/codereview |
I'm building a site on google app engine and its core code and database is designed to handle different languages and regions.
What I'm really looking for are suggestions on how the url's should be structured, specifically for a gae/django/python setup, so the website knows what language it should be loading the pages ... | stackexchange/codereview |
In my website, for all text boxes I have applied CSS below:
input[type="text"],input[type="password"]
{
width: 240px;
background: transparent url('bg.jpg') no-repeat;
color : #747862;
height:30px;
border:0;
padding:4px 8px;
margin-bottom:0px;
}
It's working fine in Mozilla but not in IE.
Pl... | stackexchange/codereview |
I've been trying to implement this algorithm in Python for a few days now. I keep coming back to it and just giving up and getting frustrated. I don't know what's going on. I don't have anyone to ask or anywhere to go for help so I've come here.
Mahesh Viswanathan - CS 473ug: Algorithms - Dynamic Programming
PDF Warnin... | stackexchange/codereview |
I have a resource file in my /res/raw/ folder (/res/raw/textfile.txt) which I am trying to read from my android app for processing.
public static void main(String[] args) {
File file = new File("res/raw/textfile.txt");
FileInputStream fis = null;
BufferedInputStream bis = null;
DataInputStream dis... | stackexchange/codereview |
We are developing an online real-time web browser game and we have chosen to use APE Server.
We have an in-game chat system from our previous project and we would like to port it to APE. As we are a bit new to APE we are not sure about which scenario would work better or maybe would not work at all.
Now the chat works ... | stackexchange/codereview |
Here's a sample of my code:
$httpClient = Zend_Gdata_ClientLogin::getHttpClient( $username, $password, $service, $client, $source, $loginToken, $loginCaptcha, $authenticationURL);
$httpClient->setHeaders('X-GData-Key', "key=${myDeveloperKey}");
$yt = new Zend_Gdata_YouTube($httpClient);
$myVideoEntry = new Zend_Gdata... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.