instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm downloading a lot of images to display to the user.
Each of this images have 512x512.
In a normal resolution iPhone, everything works fine,
but in the iPhone4, they appear scaled.
If this images were being fetched from the resources,
I would simply add a @2x to the image name and everything would work,
the problem ... | stackexchange/codereview |
I'm running IIS5.0 and I am trying to change the ASP.NET process account to my domain user account.
I have followed everything possible here.
When I browse the .svc file (this is a wcf service) I am getting this error:
Server Application Unavailable The
web application you are attempting to
access on this web ser... | stackexchange/codereview |
I am creating a managed HTTP Module for IIS that will be installed in the GAC. In order to complete the installation I need to add the assembly information to a website's web.config file. According to MSDN documentation, Version, Culture, and PublicKeyToken are all optional parameters.
I believe that version must b... | stackexchange/codereview |
I'm trying to incorporate CGAL into an existing simulation project, but am having some linker trouble. The python simulation keiro.py uses a file called physics.cpp in a swig wrapper for speeding up common operations...I managed to get my physics.cpp file to compile, but running the Python simulation errors out with t... | stackexchange/codereview |
I'm trying to create an application such that when I click on a button in the 1st layout, it will extract the text from an EditText and place that value into a TextView from the 2nd layout. However, it seems that the application will crash because of the setText for the TextView.
I didn't put the logCat as it doesn't t... | stackexchange/codereview |
Very basic question regarding parsing date in F#. I am very new to F# and .NET, so please bear with me.
My date has the format yyyyMMDD like 20100503.
How do I parse this into a DateTime type in F#.
I tried System.DateTime.Parse("20100503"); but get an error.
How do I pass a format string into the Parse method??
ANSWE... | stackexchange/codereview |
I have this window:
My problem is that when the number is larger than 2 digits, it pushes the red rectangle to
the right. and I would like it to act like that:
The rectangle must not been pushed to the right.
This is my XAML:
<StackPanel>
<Border BorderThickness="1" BorderBrush="Beige">
<Grid>
... | stackexchange/codereview |
gleanings from a variety of sources (including stackOverlflow), however when I come to use it, I get the following error message
"The Configuration property 'deviceconfig' may not be derived from ConfigurationSection."
I have been struggling with this for the better part of a day now, and am no nearer a solution, so an... | stackexchange/codereview |
When should I be using the self expression in my iphone development applications? say i have 2 fields: UITextField *text1; and NSString *str1; retained and synthesized.
when i am accessing either of these 2 fields, when should i and when should i not use self.text1 and self.str1 ?
| stackexchange/codereview |
How would one go about using sed in order to insert
rm -rf
at the start of each line of a file?
| stackexchange/codereview |
I'm mainly a c/c++ guy. I have done quite a lot of PHP stuff, and now have to code some JS.
For a mock-up, I want to make a web page showing the video stream from two live video sources. We have IP based web-cams on order and I presume it will just be a case of using
<img src="IP address">
for each web cam, with maybe... | stackexchange/codereview |
Basically, what I'm trying to do is I have this excel formula:
=IF(ISNUMBER(FIND(",",A1,FIND(",",A1,FIND("&",A1,FIND("&",A1))))+1),TRIM(MID(A1,FIND("&",A1,1)+1,FIND("&",A1,FIND("&",A1,1)+1)-FIND("&",A1,1)-1)),IF(ISNUMBER(FIND(",",A1,FIND(",",A1)+1)),TRIM(MID(A1,FIND("&",A1)+1,FIND("&",A1)-3)),IF(ISNUMBER(FIND("&",A1,FI... | stackexchange/codereview |
Hey, i have an asp.net mvc2 web app and im using jquery to call controller actions so i can get filtered dropdownlists. I also have some text boxes that should auto populate to information that relates to selected items in the dropdownlist.
I know how to create events that control on change, but where im stuck with is... | stackexchange/codereview |
I am new to openGL and I am reading the redbook. Now, as an exercise I want to manually draw a sphere. For that I am dividing the sphere into slices and stacks, and thus I get multiple rectangles, but near the poles of the sphere I get triangles. (hope this was clear what I am doing). Now I know that if you draw a poly... | stackexchange/codereview |
Is there a way to get recorder real network traffic to web server, e.g. from web server logs (Apache), and replay this traffic to either profile web application (in Perl) under real load, or benchmark and compare speed of different implementations before choosing one or the other?
If it matters, webapp is written in Pe... | stackexchange/codereview |
I'm working on a top-down rpg, and want to implement seamless scrolling maps. That is, as the player explores the world, there is no loading screen between maps and no "doors" to the next area.
I have two ways to break down the world. At the top level, I have "zones" which is simply a collection of 9 "maps"(These zone... | stackexchange/codereview |
Does the bytecode depend on the version of Java it was created with?
| stackexchange/codereview |
I am trying to tokenize a string. I have a table of available tokens ordered in the form of a trie. Each token knows it has children. A simple tokens table will look like,
pattern value has_children
-------- ------ --------
s s-val 1
stack stack-val 0
over over-val ... | stackexchange/codereview |
i tried to disable autoloading of plugins in my environment.rb for the rake task "gems:install", since it may lead to unresolved dependencies and errors (read http://blog.joopp.com/2009/01/26/plugin-gem-dependencies-in-your-environmentrb/ for further information).
While implementing this "hack", i quickly noticed that ... | stackexchange/codereview |
I have Rails 2.3.2 and I want to disable session support for one controller action, so that means that I don't want to save session variables to database when I'm accessing url. For example '/my_action' url.
I have tried to implement this using session :off, :only => :my_action but this doesn't work.
The message I reci... | stackexchange/codereview |
Is there any way to execute my AutoIt script (.au3 file) from command line?
| stackexchange/codereview |
Okay, so ^[A-Z] means beginning with a capital letter. So what does ^[A-Z]* mean? Does it not mean zero or more occurrences of a capital letter? Because it is really confusing me since it is including the empty line in the output which is not a capital letter. Also, could you explain ^[A-Z]*$?
mugbear:~# clear
mugbear... | stackexchange/codereview |
I'm trying to display in column info from parent dataTable:
Country (Id int, Name nvarchar)
State (Id int, Name nvarchar, CountryId)
Province (Id int, Name nvarchar,StateId)
City (Id int, Name nvarchar,ProvinceId)
Now I can display name of province + name of state, but I also want to display and sort by nameOfCountry
... | stackexchange/codereview |
This code works like a champ in FF and Chrome to return a comma delimited list of checked values:
$('#lifesteps-group-0 :checked').each(function() {
if (allSteps.length === 0) {
allSteps = $(this).val();
}
else {
allSteps = allSteps + ',' + $(this).val();
}
});
Basically the lifesteps-group-0 div has ... | stackexchange/codereview |
I have a UIPageControl. When I click on a dot to change the page, nothing happens. Second dot does not get highlighted.
It works fine, however, when I scroll my UIScrollView. In that case the second dot is highlighted.
pageControl = [[UIPageControl alloc] init] ;
pageControl.center = CGPointMake(160.0f, 430.0f);
pageC... | stackexchange/codereview |
I want to direct all traffic that comes in via an explicit IP address to one particular domain. I have applied the following rewrite rule, but it's losing any path/query variables:
RewriteCond %{HTTP_HOST} ^$
RewriteRule ^(.*) http://default-domain.com/$1 [L]
For example:
http://259.16.44.10/custom/path/ should be dir... | stackexchange/codereview |
The Scenario:
- I have a plain tableView in a popover which constrains its height to four visible rows. When the popover view controller is initialized, the table datasource array may be populated with, for example, 10 elements.
- My user has previously selected one of the 10 element values which persists in a core ... | stackexchange/codereview |
If I try to place a canvas in a tkinter window and nothing else with this code:
from tkinter import ttk
from tkinter import *
from tkinter.ttk import *
class Application(Frame):
def createWidgets(self):
self.can = Canvas(self.master, width=500, height=250)
self.can.grid(row=2, column=1)
self... | stackexchange/codereview |
I am getting values from web services like a lot of tag span style ,p,class style c & ". I want to convert to xml tag and parse the value. Can anybody tell me how to convert a html tag to xml tag ?
Give an example
My web services values are:
11-11 19:35:36.922: INFO/System.out(6956): Article detail response<?xml ... | stackexchange/codereview |
I have looked around and have yet to find a solution to this problem. I have a list menu with markup like so
<div id="menu">
<ul>
<li>Category #1
<ul>
<li>Item #1</li>
<li>Item #2</li>
<li>Item #3</li>
</ul>
</li>
<li>Category #2
<ul>
<li>Item #1</li>
... | stackexchange/codereview |
I have to create a row of 3 divs with varying heights, but they all must be aligned to the bottom of the row and the row must be the height of the tallest child div.
Here's an example of what I mean.
http://cl.ly/997cd739550635df3bbf
Here's what I attempted:
div1 {
position: absolute;
bottom: 0;
left: 0;
}
.div2 {
hei... | stackexchange/codereview |
I came across a DbParameterCollection object, which should have an "Item" property inherited from IList, but IntelliSense does not show this object has the Item property. What's wrong here?
| stackexchange/codereview |
Is it possible to implement touchdown for UILabel?
| stackexchange/codereview |
How do you enable WPF to respond to horizontal scrolling using the mouse tilt wheel? For example, I have a Microsoft Explorer mini mouse and have tried horizontally scrolling content contained within a ScrollViewer with
HorizontalScrollBarVisibility="Visible"
but the content will not scroll horizontally. Vertical scr... | stackexchange/codereview |
Does anyone knows how to build a flip animation like the flipboard app?
Thanks
| stackexchange/codereview |
I have a declaration and in the declaration, I want to set a height is a pointer to a double but get the error mesasage:
Error 1 Pointers and fixed size buffers may only be used in an unsafe
context,
Can someone show me the right way to declare the type of pointer in a double ?
Below is mine declaration and I set ... | stackexchange/codereview |
Just wondering what is the size and number of cookies allowed by IE, FF, Chrome, and Safari. What is the number allowed per host and the size of each cookie? Also what would happen if you try to store cookie larger than the max size using Javascript?
| stackexchange/codereview |
Like iPhone safari browser, I want to update UItextview with current url of UIWebView
I tried shouldStartLoadWithRequest delegate method, but I end up with url of some ads/iframe
If I use webViewDidFinishLoad delegate method, then address bar gets updated at the end of the request.
Please help me on the best approach.... | stackexchange/codereview |
I have just completed an MDI application. But now I'm trying to create a property that I'll be able to set and have it persist through all child forms. On the Parent form I have the following code.
Private userrole As String
Public Property userrole() As String
Get
Return userrole
End Get
Set(ByVal... | stackexchange/codereview |
So I have understood what exec and eval and also compile do. But why would I need to use them? I am being unclear on the usage scenario.
Can anyone give me some examples so that I can better appreciate the concept. Cause right I know it is all theory.
| stackexchange/codereview |
I have the following different files under C:\logs3
log1.txt
log2.txt
log3.txt
how to create with VB script , relevant code that create one file called:
log.general.txt
this VB script need to read all files content under log3 directory that have the name - log
as: log1.txt log2.test.txt log3.start.txt mylog.txt ... | stackexchange/codereview |
I'm trying to use adjust CSS-properties using jQuery:
the menu_div should be the same width as the screen:
$("#menu").css({width: (theWidth - 10)});
the gallery_img should be at the left side of this div, the contact_img should be on the right side:
$("#gallery_img").css({left: 0 + 'px'});
$("#contact_img").css({righ... | stackexchange/codereview |
The help text of aspnet_regiis utility says the following for "-ir" option:
Install this version of ASP.NET, register only. Do not change any web applications to use this version.
And the following for "-iru" option:
Install this version of ASP.NET. If there are any existing applications that uses ASP.NET, it will not... | stackexchange/codereview |
Why is it that the C threading library (pthreads) not as popular as the java one when it comes to application development?
Is it just the memory management issue or are there other major advantages involved?
| stackexchange/codereview |
pretty clear fromt the title, so far I've tried different coordinates but here is an example of what happens:
telnet localhost <port>
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: type 'help' for a list of commands
OK
geo fix 46.498981 11.350230
OK
while in the lo... | stackexchange/codereview |
I am trying to get a list of all movies from my PostgreSQL db like this:
IQuery query = session.CreateQuery("FROM Movie");
but get this error: ERROR: 42P01: relation "movies" does not exist
Here is a query that I use in pgAdminIII that works
SELECT
"Movies"."Id",
"Movies"."Title",
"Movies"."Director",
"Mov... | stackexchange/codereview |
Are these three related Java regexes just different syntaxes for doing the same thing?
String resultString = subjectString.replaceAll("(?m)^\\d+\\.\\s*", "");
String resultString = subjectString.replace("^[0-9]+\\. *", "");
String resultString = subjectString.replaceAll('\\d+\.\\s+', '');
| stackexchange/codereview |
So for a security related application I'm writing, I actually want to use RFC3514 ("The Evil Bit") to determine what set of traffic across the network is evil or not at a per packet level. This is used as training data for an assisted machine learning engine, so the app has to know before hand what packets are evil and... | stackexchange/codereview |
I have a bunch of OSGi bundles that are basically jars that contain other jars and a manifest.
bundle xyz.jar:
somejar1.jar
somejar2.jar
Manifest
I want to run some junit tests, and need some classes inside these bundles. Is there an easy way in Ant to say
<path name="myclasspath" location="[stuff inside OSG... | stackexchange/codereview |
UPDATE: found similar question: Rx - unsubscribing from events
Given the code:
interface IBitmapCapturer {
event EventHandler<EventArgs<RawBitmap>> Captured;
void Start();
void Stop();
}
public class Camera {
IBitmapCapturer m_capturer;
public RawBitmap CaptureBitmap() {
IObservable<IEvent... | stackexchange/codereview |
Is any possiblility to save some buffer in any binary file, to view in standalone hex editor.
For example, can I save data from memory window in VS to hex dump, but not as ASCII ?
| stackexchange/codereview |
I have this piece of code :
public class Profile extends Container{
public Profile(String value) {
Container profilo_1 =new Container();
Container profilo_2 =new Container();
// (1) THIS ADD A BUTTON TO THE MAIN CLASS
this.createButton().setLabel("Modifica Profilo");
// (2)... | stackexchange/codereview |
I'm trying to integrate core-plot. I followed all the steps in "Read Me" doc in core-plot.
But i get a following error.
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=i386, VALID_ARCHS=armv6 armv7).
I'm using IPhone simulator-4.1. x-code-3.2
Can any one help me?
| stackexchange/codereview |
Drupal 6.15 and memcache running on RHEL 5.4 server. Memcache miss percentage is 32%. I think is is high. What can be done to improve it?
| stackexchange/codereview |
I am trying to use the "New Methods for National Character Set Type Data in JDK 1.6", to get a standard JDBC solution to handle cyrillic chars, but when the execution reaches any line with NVARCHAR type, for instance:
preparedSelect.setObject(3, "суббота", Types.NVARCHAR);
Then I get this exception:
java.sql.SQLExcept... | stackexchange/codereview |
I am a beginner in using Linux, I have an input file with content like:
00.11.11.11.11.11
177.22.22.22
one line of Ethernet address and one line of IP address,
how can I convert this file to:
IP: 177.22.22.22 MAC: 00.11.11.11.11.11
I think awk would do it, but I don't know how. Any ideas?
Thanks!
| stackexchange/codereview |
I embed a mp4 video into a webpage, using the embed src script.
I can view it when I browse from iphone, but not android.
I did some research and found out that I need to use html 5, which uses the tag.
However, how do I find out what version of the video I have? I tried
<video width="560" height="340" controls>
<so... | stackexchange/codereview |
Ok, I have a c# project named BusinessLayer which produces an assembly called BusinessLayer and the namespace is BusinessLayer.
Inside of this project, I am using folders to store code. One folder is called FilterElements and it has folders called FilterKeyReversal, FilterRandom and FilterToday.
Let's take the example... | stackexchange/codereview |
sorry for my english ;-P!
I'm writing an app that shows in google maps pipes and valves(lines and points). For that i've two classes.
One extends from ItemizedOverlay, and i add to map overlay one for each category of valve, and each one can have more than one item.
The second extends from Overlay, and in the draw meth... | stackexchange/codereview |
I am new to android and was trying out stuff on my android emulator. While playing with the location manager and location listener, I could test the code of changing location using the emulator. The locationlistener catches the location change and moves to the specific location.
I now want to replicate the same test u... | stackexchange/codereview |
I have a .NET MVC application which makes extensive use of AJAX and modal windows. I have an action filter that handles the expiration of a user's session which redirects to the login page. However, if the request is made from the modal window, the action result that is returned is the login page which then loads in th... | stackexchange/codereview |
I'm working on the following webpage and have reached a problem. Here's what happens on the site: On, the "mouseup" event after dragging a row, the following events occurs.
server updates the "order number" in the database
server returns the updated database back to the browser.
browser displays the update info.
The ... | stackexchange/codereview |
What I'm doing is disabling the submit button when it's clicked. The Ajax call is somewhat long-running; it takes a couple of seconds to return. So I'm preventing eager users from multisubmitting. The problem comes when the form fails due to validation errors. Without a way to hook an event then there's no way to tell ... | stackexchange/codereview |
I tried literally all day yesterday trying to figure this out. I rotate an image via imagerotate(). I get a black background where the image isn't covering anymore. I have tried everything i cant think of to make that background transparent..
here is my current code..
function rotate($degrees) {
$image = $... | stackexchange/codereview |
I'm having a very unpleasant issue with my webapp.
The app is designed as follow :
The root App is loading a Flex SWF, which in turn loads a 3rd party Flex SWF module in a sub app (MagickECB).
Both Apps reference Albums.dll, dll found in /bin and /MagickECB/bin and both Apps share the same Application Pool in IIS.
ED... | stackexchange/codereview |
The following code tries to copy an object and keep the original type.
Unfortunately it does not work (every copied object will become a Super instead of being of the same class as its original).
Please note that copySuper(const Super& givenSuper) should not know anything about the subclasses of Super.
Is it possible t... | stackexchange/codereview |
I have a postgresql table storing posts from an online forum. Each post belongs to a thread. I want to calculate the time it takes for the post that starts a thread to get its first response (sometimes a thread never gets a response, so that has to be taken in to consideration)
The posts table has these fields:
post_i... | stackexchange/codereview |
Which framework do you suggest for building an application to manage presentation, like an interactive and multimedia brochure?
Do you think the iOS is enough?
| stackexchange/codereview |
When creating a new entity, should the application service layer persist/attach it to the entity manager, the domain service layer or can even domain objects do this?
| stackexchange/codereview |
Is it possible to track the accelerometer value while under the lock screen?
I managed to write a simple application which counts from 1 up to 100 using a timer which fires an event on which I increment a counter.
But when I use register a handler for the ReadingChanged event of the accelerometer it will not be fired... | stackexchange/codereview |
I have a UILabel with black color;
i am writing the following code to get black color's components.
UIColor *aColor = [aLabel.textColor retain];
const CGFloat* components = CGColorGetComponents(aColor.CGColor);
CGColorSpaceRef colorSpace=CGColorSpaceCreateDeviceRGB();
but always this is giving Green color components i... | stackexchange/codereview |
I'm using my new super powers to load an image from the AssetLibrary on iOS 4.+ and read the location the picture was taken.
Unfortunately, I'm not sure the ALAssetPropertyLocation is valid, and sometimes it looks llike it is, when actually there's nothing in there.
For example I have
+/- 0.00m (speed -1.00 mps / cour... | stackexchange/codereview |
Say I have a triangle class, defined something like
class Triangle{
vertex3D vertexs[3];
public:
vertex* GetVertex(int vertexNumber);
}
now for most normal applications its fairly obvious that GetVertex should ensure that vertexNumber is a valid index before trying to return the vertex pointer. I would say that normal... | stackexchange/codereview |
I've been trying to do this the whole day. Basically, I have a line and a point. I want the line to curve and pass through that point, but I don't want a smooth curve. I wan't to be able to define the number of steps in my curve, like so (beware crude mspaint drawing):
And so on. I tried various things, like taking th... | stackexchange/codereview |
I installed QT for windows, and it uses mingw. There it has this mingw32-make, but I would like to be able to just call make whenever I want to use it.. as it is rather long to type that. Anyone know how to do this?
I know I can make a copy of mingw32-make, and rename it make in order to get something to work, but th... | stackexchange/codereview |
Been working on a custom tile overlay implementation for an android app.
I'm having trouble with threading the image downloads in the background.
Quick overview:
I have a class (MapOverlay) that extends Overlay. The draw method basically calculates the images (bitmaps) needed and the x,y position to draw them on the s... | stackexchange/codereview |
The general algorithm I need to implement in R is:
z_i=min(x_i-y_i-a,x_i-b).
I am using i as an index for my z,y, and x vectors. Z is the new vector that I would like to use in my regression model. If have tried with no success using various types of loops.
| stackexchange/codereview |
These namespaces are added per default when a class is created:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
I want to modify existing projects or my custom project template so that additional usings are added when a new class is created.
(Instead of having to add them manually... | stackexchange/codereview |
Let's say I have a table called MessageLog:
MessageLog
==========
MessageLogID int (Identity)
Message text
I have the same table set up in different databases on different machines in different domains:
Domain Machine SQLServername Database Table
===========================================... | stackexchange/codereview |
So as the title states, I would like to give some kind of detail to the end user as Elmah is being used on a corporate Internet where I work, however, I don't want them to see too much detail.
What is the best way to go about doing this?
| stackexchange/codereview |
I am testing a web application for security issues and I came across the following scenario:
User logs in to application. Application sets session cookies in browser.
User disables cookies in the browser while still authenticated. I know this sounds strange, but perhaps the user's browser is being exploited in some wa... | stackexchange/codereview |
I want to show the user last activity. (you can read my last question for more info about it)
I need to do a big JOIN (6+ tables).
I need to get only one row per ID but there are some tables that contain more than one row per ID. For example an article ID can have only one row in the 'votes' table but it can have a lot... | stackexchange/codereview |
How can I count CRC (32 or 64) of an NSData object in Objective-C?
Thanks in advance!
| stackexchange/codereview |
Simple question, I just need a pointer in the right direction:
I have a simple Spring MVC/Spring Security webapp. Initially I set up Spring Security so that the default login page shows and authenticates properly (I implemented the UserDetailsService with the DaoAuthenticationProvider to do this).
Next step: replace th... | stackexchange/codereview |
Are there any good UnityContainerExtension examples/tutorials out there?
Please do not refer to the Unity Event Broker example.
| stackexchange/codereview |
I'm currently transforming my Web Application tn Java with Spring MVC framework from ASP.NET (good way to learn it though -:) ) I need to implement authentication in my application: Please tell me if my approach is good and professional enough and if not what is the best practice to do that:
First of all I'm writing Us... | stackexchange/codereview |
i need to execute this query in postgres but i couldn't get rid of this error
ERROR: division by zero
SQL state: 22012
here is the query :
select id,rates_sum,rates_count from tbl_node order by rates_sum/rates_count DESC;
i know i can add a small value to the rates_count but i get inaccurate values .
Is there a... | stackexchange/codereview |
I'm using this to see if a file already exists and get its timestamp:
File file = new File(getResources().getString(R.string.file_name));
if (file.exists()) {
Date lastModified = new Date(file.lastModified());
}
Even though I can see that this file does indeed exist using the Context.fileList() method, the code abo... | stackexchange/codereview |
I would like to create a search page which allows somebody to select a number of options (check boxes) which in turn creates multiple WHERE clauses in a SQL statement but not sure how to go about this.
In simple terms - if I check the boxes for: "pending", "submited", "processed" then hit submit on my form, a sql state... | stackexchange/codereview |
What is the best way to go around this.
So I use a trigger on a table. The function related to the trigger updates the same table that the trigger is used on.
This is a problem because it cannot do both.
| stackexchange/codereview |
How do you secure the developers in your development team from breaking the business logic of the application - like by skipping some steps or forgetting an exceptional case etc.-?
What kind of preventions do you implement in order to decrease this risk in the live product? Do you give detailed trainings on business lo... | stackexchange/codereview |
I am developing a page that needs to work in a variety of scenarios that is determined using JavaScript. Firstly if Silverlight is installed it should use Silverlight. Simple.
if(Silverlight.isInstalled()){
// do stuff
}
Next I need to be able to determine if Silverlight CAN be installed. This is the hard bit. ... | stackexchange/codereview |
I am used to use what to find out some version string in my program, which is normal defined as a string in the c++ code, starting with "@(#)".
Now I cannot find it in Linux. Can anyone tell me what I am supposed to do? Thanks a lot!
| stackexchange/codereview |
I have a csv file which contains rows from a sqlite3 database. I wrote the rows to the csv file using python.
When I open the csv file with Ms Excel, a blank row appears below every row, but the file on notepad is fine(without any blanks).
Does anyone know why this is happenning and how I can fix it?
Edit: I used the s... | stackexchange/codereview |
By jQuery hint plugin i mean a plugin which shows a line of guiding text like "Enter your name here ..." inside an input.
When i use such a plugin in combination with jQuery asp.net mvc clientside validation it will validate against the hint when it is actually empty.
Im wondering if there is already a plugin which pl... | stackexchange/codereview |
In Google App Engine, how do you check to see how much CPU has been used before and after a collection of events? I understand how to check the CPU usage during a single url fetch and I understand how to use stats to look at specific events in aggregate, but how can I determine how much CPU was used between say 5:00pm ... | stackexchange/codereview |
I want to create a new object, passing it some initial values, and then saving to the db and return the saved object.
how can I do this?
example:
create a new user object
initiaze the user.user_age property to 35
save and return the saved object b/c I need access to the user.user_id value.
What's the ruby way of doin... | stackexchange/codereview |
According to this page there's flex 1,2,3,4,what's the main difference between them?
Is there a version of flex that supports flash lite 2 which my project is using?
| stackexchange/codereview |
I am looking for an efficient way to filter an XML document. I am using C#/.NET. Say that I have the following original document:
<Bookstores>
<Bookstore>
<StoreName>Store 1</StoreName>
<Books>
<Book>
<Author>Bob</Author>
<Title>ABC</Title>
</Book>
<Boo... | stackexchange/codereview |
I've got some difficulty debugging my program. I'm trying use an array as a lookup table to offset the vertex location in my vertex shader, but I can't even tell if I'm linking my array correctly. The offset factor always ends up zero (flattening my vectors, rather than giving them a shape), so either I'm accessing the... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.