instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I see that DataNucleus supports org.joda.DateTime
http://www.datanucleus.org/products/accessplatform_2_2/jdo/types.html
But does this mean I can index this field and perform queries against this time field, such as "where jodaTimeField > yesterday"?
Or is it only that it can be stored without needing to resort to seri... | stackexchange/codereview |
I have an array that I would like to pull certain information from and output it using php/html (i.e. game, id, rating). I have the basics down, although I only get the information from the first array in the output. I know that looping is what I need to do, although I'm not exactly sure how to return more than one rec... | stackexchange/codereview |
This is the behaviour i get from an Excel Cell that has comments:
1) Put mouse anywhere on the cell and the comment pops-up like a yellow tooltip;
2) Comment will stay up indefinitely for as long as mouse cursor remains on the cell
I need similar functionality on the DataGridColumnHeader only.
I started off as follows:... | stackexchange/codereview |
is it possible to integrate outlook with my c# program without having Microsoft office installed?
| stackexchange/codereview |
I have a collection class. Say CellCollection, which contains Cells which contains a collection called Cell.
If we do data binding it binds in linear manner. Like first cell11, cell12, cell13, cell14 then, cell21, cell22, etc.,
[Lets assume the collection size is static and proceed]
I have an ItemTemplate for ListBox... | stackexchange/codereview |
I want to write a library to store any objects to a database. I still did the mapping for known objects using code first and the classes DbContext and DbSet. But in this case I don't know the structure of the objects I have to map. Is there a way to do this with the classes above?
| stackexchange/codereview |
I want to Save Call on Java Mobile / Phone to mp3 or any Audio format / file .
How should I go ahead with.
I am quite well versed with Core Java.
I found apps supporting above mentioned functionality in symbian Phones only but NOT in Java phones whose MIDP version is 2.1 and above.
Thanks for your Idea ( obviously prac... | stackexchange/codereview |
Let me preface this question by stating that i don't usually condone the practice of applying inheritance principles to user-interface design; that is, developing an application-specific Form or UserControl with a number of child controls, and extending this in subclasses which add controls or alter the layout of those... | stackexchange/codereview |
<?php
$cmd = 'webscreencapture.exe http://www.youtube.com/watch?v=SLyG0mUnw4A e:\www\111\1.jpg';
sleep(1);
$cmd = 'webscreencapture.exe http://www.youtube.com/watch?v=izUxI-k01CU e:\www\111\1.jpg';
system($cmd);
?>
The webscreencapture always run wrong for cycle screenshot one image. How to set a overtime command for ... | stackexchange/codereview |
I get an error in the iphone SDK:
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
What does this mean?
| stackexchange/codereview |
I was wondering what are the security flaws (if any) of using GWT with SSL (actually TLS configured on JBoss web-app server). I discussed this with friend of mine, and he says that even if I enable HTTPS, some malicious user would be able to intercept my .js and change code and get authenticated on the server. We assum... | stackexchange/codereview |
Just a quick question.
If I wanted to set up load balancing for my Railo / Coldfusion application with the least fail points, which of the following two setups would be most optimal and why? Or, would they be the same?
01) Setup 4 VPS instances each with 1GB Ram
OR
02) Setup 1 Dedicated box with 4GB Ram with 4 Railo ... | stackexchange/codereview |
I have developed an iPhone app which uses Shake Gesture to rotate the wheel of picker view. I am using IOS 3.2 as base sdk. I have a iPhone 3GS which is updated with IOS 4.0, when I execute my App in this 3GS phone it is working properly with Shake Gesture. but when I run it in iPhone 4 the Shake Gesture doesn't respon... | stackexchange/codereview |
I have an mutableArray which displays a list of files in a tableView. I have stored those files in a directory.
I am using NSfileManager class and attributesOfItemAtPath method to retrieve some properties of the files like fileSize, fileType..
In the second stage I am trying to have a detailView controller which disp... | stackexchange/codereview |
It is classical scheme of serving Rails application: frontend is Apache (nginx, etc) on 80 port, and backend : cluster of mongrel (thin, unicorn, etc) on some other ports (for example 3000,3001,3002...).
How make, that back-end servers allow only local (from frontend) connections?
| stackexchange/codereview |
I'm trying to profile a Perl script, but CORE::sleep gobble all the space (and time) of my report.
How can i tell NYTProf to ignore sleep calls ?
Assuming we have the following script :
sub BrandNewSubroutine {
sleep 10;
print "Odelay\n";
}
BrandNewSubroutine();
I want to get rid of the following line of the repor... | stackexchange/codereview |
I was wondering if when accessing from multiple threads a variable, must i lock it for every access ? For example, i have a list variable and would like to not be able to access that list while i remove an item from it. Must i lock it even in the threads that just access the data or it is sufficient to lock it in the "... | stackexchange/codereview |
Hi there
am not sure if i am doing this right.
I am loading a view with a tab bar controller inside from another view.
Main View - a simple button, on click opens sub view with a tab bar controller and some tabs
Sub View - on load, loading the tab bar controller(tabs) into a view(tabview) and tehn displaying it using
[... | stackexchange/codereview |
Scenario
I have three IEnumerable lists - IEnumerable<Dog>, IEnumerable<Cat> and IEnumerable<Horse>.
I want them in all in a single IEnumerable<NameColor>.
I have a public static explicit operator NameColor defined on each of the Dog, Cat and Horse objects to allow me to cast them to NameColor
So:
IEnumerable<NameColor... | stackexchange/codereview |
I have multiple databases that should all be active at the same time. They share schema, but not the data.
AFAIK nhibernate use the class type to know what mapping and database it is connected to, right? So once it gets an object, it wouldn't know if it belongs to database a or b.
I think it's possible to solve this us... | stackexchange/codereview |
For some reason on our grid the vertical alignment of the rows is not middle. It appears to be top. Is there something specific you have to do to achieve vertical alignment?
Here's an example of the alignment:
Our grid definitions:
$.extend(jQuery.jgrid.defaults, {
url:'NoData.json',
datatype: 'json',
m... | stackexchange/codereview |
I've currently used MAF to create an add-in model where the add-ins are loaded in a restricted AppDomain (Internet permission). This means that the add-in can't call our database which is what we want in most cases as we want to prevent add-in authors running any queries directly against the db.
We want them to use so... | stackexchange/codereview |
As you know there is a generic class List in .NET framework.
I want to write a generic class List in C++ and i want to store pointers to a type in my list. this is header and source code of class and test program :
// header
template <class Type>
class List
{
public:
List(int size); // constructor
.
.
.... | stackexchange/codereview |
I want to know that how to change the image in the upper left corner in a java program and in the taskbar.
See the screenshot to know what i am talking about-
http://www.ougfiles.com/dl/303275944/Untitled.jpg
| stackexchange/codereview |
g++ 4.4.5
I have a class that extends the class std::ofstream to add some functionality.
MyStream& MyStream::operator<<(const bool& val) {
if(this->pos == 8) {
this->pos = 0;
ofstream::operator<<(this->curbyte); //call the parent method
}
curbyte = curbyte + (val << pos++);
return *(this);
}
which bas... | stackexchange/codereview |
Is it possible to take input from a multitouch display connected to a desktop computer and use that to drive an iPhone or iPad? Basically, I would like the screen to act as a big iPhone / iPad, but have the input there run an actual device.
Alternatively, is it possible to mimic the iPhone or iPad using a multitouch m... | stackexchange/codereview |
I can't register the euro character € in my oracle database. If I do it in request (in a .sql script) I have a -| symbol, if I do it directly in edition mode in sqldevelopper i have a point mark upside down. I have seen this similar question :
oracle-jdbc-euro-character
But jdbc is not used in my process, my mistake.
| stackexchange/codereview |
I have a web application that uses various query string parameters to do other things. These query string parameters are additive attributes, meaning that user actions change which ones are provided or even the order of what is provided.
Example URLs:
http://dubdubdub.com/MyPage.aspx?MyParam=100+200+300
http://dubdubd... | stackexchange/codereview |
I am writing an import routine and want the whole import to fail if an error occurs. I am using MySQL database which is set to InnoDB and an asp page to drive the import. I want to start a transaction and then rollback if an error occurs or commit if it is successful. My problem is that when an error occurs on line ... | stackexchange/codereview |
I really like a look of left tree in Finder (Mac OS X >= 10.5). That with a blue background color and "DEVICES" and "PLACES" dropdowns. I'd like category view in my app to look the same. But since I'm new to Mac OS X app development, I can't figure out if it's just a OutlineView? If so is there a predefined color schem... | stackexchange/codereview |
i need to send get command and take it's results. Sorry about my bad english.
i need to get result from a file whish sended url parameters
for example:
<?php
$adata["command1"] = "testcommand1";
$adata["command2"] = "testcommand2";
$getresult = sendGetCommand("https://website.com/api.html", $arrayofdata);
echo "["; /... | stackexchange/codereview |
I have hacked together an rc script for celeryd on FreeBSD, but I can't help but think that there must be a better way. celeryd does not daemonize itself, and it seems to have a hard time responding to sigterm as well, so it might be complicated to get to work.
Is this a problem that someone else has solved before?
| stackexchange/codereview |
is there any canvas control in asp.net ( not html5)
| stackexchange/codereview |
I am making a table that will be borrowing a couple of columns from another table, but not all of them. Right now my new table doesn't have anything in it. I want to add X number of empty tuples to my table so that I can then begin adding data from my old table to my new table via update statements.
Is that the best wa... | stackexchange/codereview |
I have a certain document type in Kentico that has a boolean field that when true i need the page to redirect to another URL (in this case a 404 page).
Where is the best place to do this?
and how do i access the kentico data context in code so that i can write code that pulls the document types field and redirects bas... | stackexchange/codereview |
I am maintainign a ASP.NET app. Some of users action are pretty slow; one of my colleagues claim it is caused by network bandwidth as some used dll will connect over to internet to get data.
How could I verify it's really due to network issue? Any tools can peer the network connection during the process?
Thanks.
| stackexchange/codereview |
In my wpf application, I need to get the theme's button background brush to draw the background of another control.
I have tried referencing PresentationFramework.Aero.dll and using ButtonChrome, but no luck so far.
I've tried using VisualStyleRenderer also, but it seems that this class can be used only to draw the bac... | stackexchange/codereview |
I'd like to know how many windows are open in the current tab page from a Vim function; in particular, it would be handy to know if a particular window is the last, eg from an autocmd, in a tab page. Any ideas?
| stackexchange/codereview |
I have a form that is being serialized by JQuery and posted via .ajax() to a url.
The problem is that the 'success:' function is always called, regardless of whether the server returns an error code or not.
In fact, success fires even before the server has responded (I have put a breakpoint on the server method tha... | stackexchange/codereview |
I have created a small iPhone app using MonoTouch - got all provisioning files etc set up etc and I have done a Distribution build which has created a Distribution folder (under the bin\iPhone folder).
Now in this Distribution folder I can see two more folders called MyGame.app, MyGame.app.dSym and two files MyGame.e... | stackexchange/codereview |
I got a sql procedure from a CLR (.net Assembly) that when executed returns an error
Msg 6522, Level 16, State 1, Procedure sp_HelloWorld, Line 0
A .NET Framework error occurred during execution of user defined routine or aggregate 'sp_HelloWorld':
System.Security.SecurityException: Request for the permission of type ... | stackexchange/codereview |
Why the method getName() is wrong ?
#include <iostream.h>
#include <string.h>
class People
{
public:
char* getName();
void setName(char* n);
private:
char* name;
};
void People::setName(char* n)
{
name = new char(strlen(n));
strcpy(name,n);
}
char* People::getName()
{
return name;
}
| stackexchange/codereview |
I forked some project and cloned it locally. Changed files, commited changes, pushed changes and changes were either implemented or rejected. Then, some time has passed so I fetched/merged my fork with the project I forked from. Made some changes, commited and pushed. Sent pull request and that's where the problem begi... | stackexchange/codereview |
I need to count SHA1 checksum of NSData object. How can I do it?
Thanks in advance!
| stackexchange/codereview |
My JSF application redirects any user who is not logged in to the login page. When the user logs in, I want the application to redirect to the page the user has initially entered in the browser's adress bar. But I don't know how to access the url the user has initially entered, since he is automatically redirected to t... | stackexchange/codereview |
I'm posting to a web page which I was told took XML as it's body. Turns out that what it really requires is what looks like a URL encoded CGI query string:
<FIRST>
<ELEMENT1>Value1</ELEMENT1>
<ELEMENT2>Value1</ELEMENT2>
<ELEMENT3>Value1</ELEMENT3>
</FIRST>
<SECOND>
<ELEMENT1>Value1</ELEMENT1>
<ELEMENT2>Value... | stackexchange/codereview |
I have this snippet of code to deal with catching particular exceptions
private static final String CONNECTION_REFUSED_EXCEPTION = "java.net.ConnectException: Connection refused: connect";
...
} catch (org.apache.axis.AxisFault af) {
if (af.getFaultString().equals(CONNECTION_REFUSED_EXCEPTION))
... | stackexchange/codereview |
After running ReSharper on our project we receive the following error multiple times in various resx files;
"Duplicate Resource"
Is there a way we can easily clean each forms resx file. For example, is there a way we can safely regenerate the resx file within VS2010?
This is a C# project.
| stackexchange/codereview |
I want PHP scripts to run both on command line and website (I use Apache and Nginx) so I put #!/usr/bin/php in the first line of my scripts but that appears on the website...
| stackexchange/codereview |
I am using Runtime.getRuntime.exec() Method to invoke an exe. The problem what I face with this method is that when I pass some exe path (c:\JPN_char_folder\mypath\myexe.exe) with other language chars (ex.Japanese) "it's saying "System cannot find the file specified". Would you please suggest some ideas to get around... | stackexchange/codereview |
Can't seem to add this web service in visual studio 2010 - what happens is :
C:\>wsdl [http://opensearch.addi.dk/1.0/opensearch.wsdl]
Error: Unable to import binding 'osSearchServiceSoapBinding' from namespace 'http://oss.dbc.dk/ns/opensearch_wsdl'.
- Unable to import operation 'search'.
- Group 'elementsAndRefinement... | stackexchange/codereview |
I'm working on a custom forum and was wondering what people would consider as the best approach to marking a thread as read.
I want to display a post icon for the threads and if the thread hasn't been read it has an unread icon and the topic title is bold. If its been read then the topic title is normal font weight and... | stackexchange/codereview |
I am encountering some weird behavior when calling a shell script from a Java process.
Process p = Runtime.getRuntime().exec("mybashscript.sh");
(new StreamGobblerThread(p.getInputStream())).start();
(new StreamGobblerThread(p.getErrorStream())).start();
p.waitFor();
returnValue = p.exitValue();
The StreamGobblerThrea... | stackexchange/codereview |
I am developing an application in which i have to send email using default email account.
| stackexchange/codereview |
I'm currently using Python 2.7 + wxPython 2.8.11 on my windows machine. While trying to build a small project (which also uses comtypes and lets say any activex such as flashwindow) I'm getting the following error:
>>>"c:\Program Files\Python_2.7\python.exe" setup.py py2exe
running py2exe
*** searching for required mod... | stackexchange/codereview |
I use RIA + Silverlight (probably last versions), Entity Framework. When I insert a row with code
var context = new DataService();
var script = new Script { Id = Guid.NewGuid(), User = User.Id };
context.Scripts.Add(script);
context.SubmitChanges((o) =>
{
if (!o.HasError)
{} // OK, but ha... | stackexchange/codereview |
I've written an SWT app, that on Windows just sits in the System Tray and changes its icon with a message count. This is fine for Windows, but when it comes to the Mac i'd like to make it look a little more native.
I can get an icon to pop itself into the doc area, which is fine, but not i'd like to get an unread messa... | stackexchange/codereview |
I have one class doing some transactional code.
Lets assume:
class Worker
{
public void doWork()
{
//I do not want to create a new transaction. Instead, i want to use the environmenttransaction used by the caller of this method
using (TransactionScope scope = new TransactionScope(TransactionSc... | stackexchange/codereview |
I have an Options Menu on my Activity with an MenuItem "Start". When this MenuItem is selected I would like to alter the Menu so it contains a MenuItem "Stop". And finally when "Stop" is selected, I would like to alter back to "Start".
Here is parts of my code that isn't working. I have both "Start" and "Stop" listed i... | stackexchange/codereview |
I have a UITabBarController interface with 4 tabs. Each tab has a UINavigationController. How would I return to the topmost UIViewController in each UINavigationController whenever a tab bar button is pressed?
| stackexchange/codereview |
Like, we have folder /images/, it has some files inside.
And the script /scripts/listing.php
How can we get names of the all files inside folder /images/, in listing.php?
Thanks.
| stackexchange/codereview |
I'm trying to bring up the standard window for Bluetooth Settings (with Device name, Discoverability etc).
However, general approach with startActivity(intent) ends with NullPointerException pointing to BluetoothSettings.java onCreate:135.
Checking with the Android code, I've found that at line 135 they get some extra... | stackexchange/codereview |
I have 3 JSpinners, one for hours, one for minutes, one for seconds. The minutes and seconds have a max of 60 and a min of -1 and the hours one has a min of -1 and a max of 24. If the second one hits 60, it flips back to 0 and increases the minutes one by one. There is similar behavior for the down function and the up ... | stackexchange/codereview |
Is it possible to create own own project structure ( Archetype) i also like to add some dynamic files to be created.
What steps involved to create it?
| stackexchange/codereview |
according to netbeans documentation to check out from svn:
Checking out Files from a Repository
If you want to connect to a remote
repository from the IDE, then check
out files and immediately begin
working with them, do the following:
In NetBeans IDE, choose Versioning > Subversion > Checkout
from the main m... | stackexchange/codereview |
I want to display the images in my Application added to my "raw" folder of the Eclipse as it gets started.
How do I add those particular images to an Array and rotate the loop until all the Images are displayed?
Can anyone help me for this?
| stackexchange/codereview |
I need to set up routing in global.asax so that anybody going to a certain page with an actual tilde in the URL (due to a bug a tilde ended up in a shared link) is redirected to the proper place using routing. How can I set up a route for a URL with an ACTUAL tilde ("~") in it, e.g. www.example.com/~/something/somethi... | stackexchange/codereview |
I am trying to restrict the permissions my assembly has using Security Declarations. I have the follow example:
[assembly: UIPermission(SecurityAction.RequestOptional,Unrestricted = true)]
[assembly: FileIOPermission(SecurityAction.RequestOptional, Read = @"C:\Hello.txt")]
class Program
{
static void Main(string[]... | stackexchange/codereview |
I am trying to add unique JComboBoxes to a column in a JTable. I know it is possible to add a JComboBox to an entire column using
TableColumn col = table.getColumnModel().getColumn(columnNumber);
col.setCellEditor(new MyComboBoxEditor(values));
but I need each JComboBox to be different and have different Strings insi... | stackexchange/codereview |
The code below is an HTTP proxy for content filtering. It uses GET to send the URL of the current site to the server, where it processes it and responds. It runs VERY, VERY, VERY slow. Any ideas on how to make it faster?
Here is the code:
from twisted.internet import reactor
from twisted.web import http
from twisted.we... | stackexchange/codereview |
My question uses Java as an example, but I guess it applies to probably all.
Is there any practical difference between the XOR operator (^ in Java) and the not-equal-to operator (!= in Java), when comparing booleans?
I evaluated things here, but I just kept wondering (seems weird, two things equal)... and didn't find a... | stackexchange/codereview |
I have a very irritating issue while running a C++ application. I am using the pgcpp compiler on the Interix subsystem of Windows Xp. My problem is essentially described here:
I have a class definition in a header file. This header file is included in one source file. This class has two constructors and is basically u... | stackexchange/codereview |
I'm trying to do a query that selects all users where the SUM of their transactions is greater than 25.
I have this query:
SELECT users.uid, SUM( transactions.credits_earned ) AS total
FROM users, transactions
WHERE users.uid = transactions.uid AND ????
GROUP BY users.uid
I tried to use the alias total and the SUM its... | stackexchange/codereview |
On this link
http://lxr.free-electrons.com/source/drivers/parport/parport_pc.c?v=2.6.29#L97
they defined a structure superio_struct and initialized as
superios[NR_SUPERIOS] = { {0,},};
I am not able to understand above initialization has what is it getting initialized to.
What I deduce till now is superios is a struc... | stackexchange/codereview |
In my application, I want to copy a song from iPod Library.
How can I do that?
| stackexchange/codereview |
I've attached some events to some divs using addEventListener. But where can I see the events in Firebug?
| stackexchange/codereview |
I have a large non-map image that I want to allow people to view on a browser at multiple zoom levels. I want to display the image in google maps API or openlayer so that people can zoom in/out and pan. I was hoping i could then add additional layers to overlay things of interest on the image. I am looking at MapTiler ... | stackexchange/codereview |
We are in a urgency to implement fileaggregation for Javascript and css files
We hav 12 javascript files and 8 css files.
There are lot of experienced people , can you please suggest which tool should i use to compress them into one js and css file.
If i compress them , how can i change in the code , right now they ar... | stackexchange/codereview |
How would I use pyaudio to detect a sudden tapping noise from a live microphone?
| stackexchange/codereview |
I've been working with ASP.NET for about 5 years now and I'm looking to get into SharePoint development.
Would it make more sense to get up to speed on SP 2007 first or just dive straight into SP 2010?
Seems like learning SP 2007 would give me a better understanding of the "story" and broaden my work opportunities.
Wha... | stackexchange/codereview |
Background
I once wrote this method:
private <T> SortedSet<T> createSortedSet() {
return new TreeSet<T>();
}
It's supposed to be called like this:
Set<String> set = createSortedSet();
This works fine (although I've seen in answers here when researching the current question that this is error-prone).
The current sit... | stackexchange/codereview |
Suppose I declared some variables in SPs.
DECLARE _R1 VARCHAR(25);
DECLARE _R2 DECIMAL(4,0);
DECLARE _R3 DECIMAL(3,0);
DECLARE _R4 DECIMAL(2,0);
How do I get their dimensions like 25, 4, 3, 2?
| stackexchange/codereview |
I write This code in VS (C# and ASP.net) :
using (StreamWriter streamWriter = File.CreateText(@"Example.aspx"))
{
streamWriter.WriteLine( "<pre>" + TextBox2.Text + "</pre>" );
}
This code open the example.aspx file and write the value of TextBox2.text into Example.aspx .
but there... | stackexchange/codereview |
When creating a wcf class I used to do
[DataContract]
Public class Customer
{
[DataMember]
public string Name {get;set}
}
I have been told that is better to do
[DataContract]
Public class Customer
{
[DataMember]
public string Name ;
}
basically removing the get and set as will be lighter
Is... | stackexchange/codereview |
Can't seem to figure this out.
I'm attempting JSON tree manipulation in GSON, but I have a case where I do not know or have a POJO to convert a string into, prior to converting to JsonObject. Is there a way to go directly from a String to JsonObject?
I've tried the following (Scala syntax):
val gson = (new GsonBuilder)... | stackexchange/codereview |
Consider this dictionary format.
{'KEY1':{'name':'google','date':20100701,'downloads':0},
'KEY2':{'name':'chrome','date':20071010,'downloads':0},
'KEY3':{'name':'python','date':20100710,'downloads':100}}
I'd like the dictionary sorted by downloads first, and then all items with no downloads sorted by date. Obviously... | stackexchange/codereview |
I'm new to python so this might end up having a simple solution.
At my house, I have 3 computers that are relevant to this situation:
- File Server (linux)
- My main PC (windows)
- Girlfriend's MacBook Pro
My file server is running ubuntu and samba. I've installed python 3.1 and I've written my code in 3.1.
I've creat... | stackexchange/codereview |
Hi
I am beginner in java and my program has 4 for loops:
my program works like this that if b is true ,the element will be removed from pointList and n will be n-- and the I want to go out from all for loops and come again from the first for loop so l will be l++,how can i do this ? with break statement?
for (int l ... | stackexchange/codereview |
I'd like to set the ringer mode to silent for specific events in the future. It should only happen if a checkbox in the preferences is checked. I know that I have to update the manifest for the permissions and also that I can set the ringer mode with something like this:
if (getPreferences(MODE_PRIVATE).getBoolean(PREF... | stackexchange/codereview |
Visual Studio 2010 VB.NET
I have a DataGridView.DataSource set to a Collection of custom objects. The columns use read only properties from the custom object for display, this dialog is for display only. The properties all return String objects. I set the columns all but 2 of them to sortmode automatic (the ones th... | stackexchange/codereview |
I'm about to punch PHP in the nads. I've got an incredibly simple operation that is basically acting with a mind of it's own.
$this->user = $this->processToken($token);
if(!isset($this->user))
{
$this->sendError(401);
}
w/ a valid $token this sends a 401, which it shouldn't. But this:
$this->user = $this->process... | stackexchange/codereview |
I'm looking for a high level answer, but here are some specifics in case it helps, I'm deploying a J2EE app to a cluster in WebLogic. There's one Oracle database at the backend.
A normal flow of the app is
- users feed data (to be inserted as rows) to the app
- the app waits for the data to reach a certain size and doe... | stackexchange/codereview |
I have some text I am parsing like this:
Some text. Some text. Some text. Some
text. Some text. Some text. Some text.
Some text. Some text. Some text. Some
text. Some text. Some text. Some text.
Some text. Some text. Some text.
[attachment=0]Winter.jpg[/attachment]Some
text. Some text. Some text. Some text... | stackexchange/codereview |
I'm just getting started in PowerShell and one of my sysadmins told me that Powershell can do as much as C# can for systems management, if not more.
Please forgive the ignorance of this question, but when would I use Powershell over C#?
| stackexchange/codereview |
I am passing the PageNumber and PageSize to a stored procedure, which returns only that page of data. It also returns a record count what the total number of records would be if I returned all of them at once.
Generally, how do i hook this up to the DataGridView to enable paging?
It seems like the expectation is for th... | stackexchange/codereview |
I just copied an existing project to a brand new machine to start developing on it and have run into a problem with the version of one of my referenced assemblies (a telerik DLL as it happens).
The project originally referenced an older version of the assembly (lets call it v1.0.0.0). My new machine has the latest ver... | stackexchange/codereview |
I have a small C program calling a shell script myScript.sh. I am getting the value of ret as 256. Please help me in knowing what went wrong with the system call?
int main()
{
int ret;
ret = system (myScript.sh);
ret >>= ret;
if (ret != 0)
{
printf("ret is [%d]",ret);
}
}
Working on 64 bit UNIX operating system and... | stackexchange/codereview |
If I have my files hosted on Amazon S3, why would I need to use a cloud for North America? Wouldn't it just download from S3?
| stackexchange/codereview |
I am trying to write a script that takes a filename as argument and then compresses and decompresses the file with each of the programs, compress, gzip, bzip2 and zip. At each stage, it notes the size of the file before and after compression. Finally, it displays a list showing the compression program, uncompressed siz... | stackexchange/codereview |
[EDIT: using a simplified test page without Javascript etc.]
I've got a webpage that contains four audio files. These files are served as HTML5 <audio> with .mp3 files, which should play in Safari. (I've had no trouble with .ogg files in Firefox and Chrome.)
Each time I reload the page, between one and three of the fil... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.