instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
how do I push a commit in two branches?
I can't use "git push", because then it pushes to three branches, and i just want the commit in two of them..
Ive tried a "git merge HEAD --commit id from branch A--" in branch B, but then it takes everything from branch A and merges with branch B. I just want the last commit a... | stackexchange/codereview |
I'm trying to write some code that will allow me to perform basic math operations on a "T extends Number" object instance. It needs to be able to handle any number type that is a subclass of Number.
I know some of the types under Number have .add() methods built in, and some even have .multiply() methods. I need to be ... | stackexchange/codereview |
How can i rotate (90 degrees) a panel control? i know it is very simple in WPF but i can't use it.
Do you know such a way for WinForm panel control?
Thanks you all!
| stackexchange/codereview |
Is there one type of set-like data structure supporting merging in O(logn) time and k-th element search in O(logn) time? n is the size of this set.
| stackexchange/codereview |
This is quite a common problem I run into. Let's hear your solutions. I'm going to use an Employee-managing application as an example:-
We've got some entity classes, some of which implement a particular interface.
public interface IEmployee { ... }
public interface IRecievesBonus { int Amount { get; } }
public class M... | stackexchange/codereview |
Using SQLite.
SELECT c.*,
COUNT(m.course_id) AS "meeting_count",
COUNT(r.meeting_id) AS "race_count"
FROM course c
LEFT JOIN meeting m ON m.course_id = c.id
LEFT JOIN race r ON r.meeting_id = m.id
GROUP BY c.id
Course has meetings has races.
Trying to select the correct count for course me... | stackexchange/codereview |
table
Picture with rows have name
1.jpg,2.jpg,3.jpg,4.jpg,5.jpg,6.jpg,7.jpg,8.jpg,9.jpg,10.jpg,11.jpg
select * from Picture order by name
mysql order : 1.jpg,10.jpg,11.jpg,2.jpg,3.jpg,......
Issue:
I want it sort all type name like as with Window 1.jpg,2.jpg,3.jpg,4.jpg,5.jpg,6.jpg,7.jpg,8.jpg,9.jpg,10.jpg,11.jpg
and... | stackexchange/codereview |
I'm doing a lot of work with work items, and while I'm using Tfs 2010 aka VsAlm 2010, this has been something that's bugged me ever since the first release of Tfs. When creating new work items, I don't really want to switch back and forth between my mouse and keybaord 203948203984 times; I'd really much rather just ent... | stackexchange/codereview |
I have a class CURPRFC that contains the following:
static public string CalcRFC(string firstname, string lastname, string middlename, string date)
I'm calling this method/function in my codebehind as follows:
CURPRFC.CalcRFC(txtfirstname.text, txtlastname.text, txtmidlename.text, txtdate.text)
where each of the v... | stackexchange/codereview |
I am trying to load a tframe inside a delphi package (bpl) to be shown in my main app
please give me code for both package and application.
| stackexchange/codereview |
My project has legacy library which consider NULL pointer as empty string.
But when I get return data from std::wstring like this,
std::wstring strData;
const wchar* pStr = strData.c_str();
ASSERT(NULL == pStr); // ASSERT!!
pStr is not NULL but pointer which wstring point.
Can I make std::string return NULL when it h... | stackexchange/codereview |
I am using both windows and MAC.there is a file in desktop.I want that when my air application fires up itself it will hide that file.Please help with some ideas.
| stackexchange/codereview |
I'm doing drawing app for ipad which need to save multiples of NSMutableArray of CGPoint (Converting into NSValue), suggest me for choosing coredata functions or any other approachs for saving more number of arrays
| stackexchange/codereview |
I'm looking at someone else's code, but it appears to RELEASE object VIDEO but then continue to use it.
Now from my understanding of Object Oriented Programming languages, once it's released, it should be dealloc'd from memory...
I can't see how it has any references...but I'm assuming that's the reason it's OK. Seems ... | stackexchange/codereview |
I have an application that when pressing a button it should show a modal window. I have some questions about it but I'm going to narrow it to what it's giving me a headache.
I want to add that I'm already doing something alike that when applied to this particularly case won't work. What I already do is to show modally... | stackexchange/codereview |
The iPhone gives the app the ability to change the notification bar's color so you can have it match your app's design without having to hide it completely.
Is there a way to change the notification bar color in Android?
I'm looking to have it force black with white text to be less visually present while using the app,... | stackexchange/codereview |
Is it possible to write executable application in .net that can be registered as Win32 Service and operate as service but for debug purposes can be launched as console application with console output (as performance counters, text log files are not very useful for monitoring)
Or shall I put application logic (Applicat... | stackexchange/codereview |
If we have two procedures:
public void MyFirstParamsFunction(params object[] items)
{
//do something
MySecondParamsFunction(items, "test string", 31415)
}
public void MySecondParamsFunction(params object[] items)
{
//do something
}
How will second procedure interpret the items from first? As sole objects,... | stackexchange/codereview |
The table aggregate_monthly_conversations consists of columns user_A, user_B, user_B_location and the table monthly_statistics consists only of user_A AND user_B
I would like to add the column user_B_location to table monthly_statistics and fill it with appropriate values.
To get appropriate values user_B_location for ... | stackexchange/codereview |
How to anchor QGraphicsView to a special point on a scene?
I want a center of a view is anchored to the scene point (0,0).
But as said in docummentation:
If the whole scene is visible in the
view, (i.e., there are no visible
scroll bars,) the view's alignment
will decide where the scene will be
rendered in the... | stackexchange/codereview |
I made a database with paradox 7. The usual search I do is a syntax like this:
Table.Filter := 'Country=' + QuotedStr(Edit.Text);
This returns rows those country field is same as the entered text in edit. when I want to search for countries are beginning by "L" i use this syntax:
Table.Filter := 'Country=' + QuotedStr... | stackexchange/codereview |
Does anybody know can I change ratio length of line and blank space in dashed border ( ratio line/blank space to be different ) ?
| stackexchange/codereview |
I have a few models which are not in the default cakephp format
user(id, name....)
1 Harsha ...
2 John ....
dishes(id, name, price ...)
1 "Cheese Pizza" 6
2 "Zinger Burger" 3
restaurants (id, name, .....)
1 "KFC" ...
2 "Pizza Hut" ...
module(id, name) values (User, Dishes, Restaurants)
1 "Users"
2 "Dishes"
3 "Restau... | stackexchange/codereview |
I really like the editor and the pretty print functionality in Stack Overflow. Is there a plugin to use the editor and pretty print functionality in WordPress?
The simplicity and the look is at least as good as any other plugin I tried.
| stackexchange/codereview |
In c# i want to create logic that if i a string like abcabda is passed to a method then it should return first non repeative character from string like in above it should return c.
i am unable to convert a string to array of character then how to make comparison of each array character to the string and return the fir... | stackexchange/codereview |
I'm considering ways to increase performance of our persistence layer. We want to achieve as many inserts per second as we can and we don't need any transactions at the moment. What I want to know is what MySQL engine faster: standard MyIsam or single-node NDB cluster which will be accessed via ClusterJPA/ClusterJ?
P.... | stackexchange/codereview |
Can I submit a simple html form with html tags and no struts tags. I'm using struts 1.0 and have a form like this:
<form action='/admin/fsubmit.html?action=search' method='post'>
<input type='text' name='keyword'>
<input type='submit' name='search' value='Search'>
</form>
I'm handling this submission with struts. ... | stackexchange/codereview |
i have datagridview that connect to my database (access)
if i stay on any cell and change the value, a see that the value is changed
but when i make refresh i see that the value is back to the original value.
how i can update this cell (without sql query)
i bind dataset to datagridview like this:
dsView = new DataSet()... | stackexchange/codereview |
I have the following two queries (*), which only differ in the field being restricted in the WHERE clause (name1 vs name2):
SELECT A.third_id, COUNT(DISTINCT B.fourth_id) AS num
FROM first A
JOIN second B ON A.third_id = B.third_id
WHERE A.name1 LIKE 'term%'
SELECT A.third_id, COUNT(DISTINCT B.fourth_id) AS num
FROM f... | stackexchange/codereview |
If I'm using Boost Serialization to serialize an Integer:
#include <boost/archive/text_oarchive.hpp>
#include <iostream>
int main()
{
boost::archive::text_oarchive oa(std::cout);
int i = 1;
oa << i;
}
The result will be the following:
22 serialization::archive 5 1
Now I'm curious if and how I could chang... | stackexchange/codereview |
%{#request.contextPath} doesn't work inside an s:a tag in Struts2. (Struts 2.2.1 to be specific.) Is there a way to make it work? It works in other Struts2 tags.
Here are two lines in a JSP file in a Struts 2 project whose context path is "/websites":
<s:a href="%{#request.contextPath}/clickme" theme="simple">Click he... | stackexchange/codereview |
I need to know how to generate a rsa keypair on the cliente-side.
My system has to send encrypted data through the server and I have to ensure that the server cannot decrypt the data. So the Private/Public keypair cannot be generated on the server-side.
Any knowledge regarding this?
Thank you!
| stackexchange/codereview |
I finally got a section of my code to run in parallel with OpenMP without errors. When I deployed the dll to another machine, however, it no longer ran in parallel.
Logging reveals that omp_in_parallel() == 0 on the other machine but not on mine.
My machine is using an Intel i5 CPU which has 2 hyperthreaded cores for a... | stackexchange/codereview |
I want to use subprocess to run a program and I need to limit the execution time. For example, I want to kill it if it runs for more than 2 seconds.
For common programs, kill() works well. But if I try to run /usr/bin/time something, kill() can’t really kill the program.
My code below seems doesn’t work well. The progr... | stackexchange/codereview |
I have a Data Flow task with an XMLSource that references an XML Variable. The DataFlow task does recognize that there are x number of rows in the variable, but it only sees null values in every row:
The xml variable value:
<?xml version="1.0" encoding="utf-8"?>
<words>
<word>butter</word>
<word>crispy</word>
</w... | stackexchange/codereview |
Some time ago I recall seeing an early release video demonstration of a tool that allowed one to (from within Visual Studio) inspect the history of a section of code.
For example, right click on a method and choose 'view history', and see when that method has changed.
Can anyone recall what product this may have been?
| stackexchange/codereview |
I have a NSArray object retrieved from the standard user defaults object, [NSUSerDefaults standardUserDefaults]. I want to save this array as a member variable of another object and use it for the lifetime of this object.
I'm not sure if the array from NSUserDefaults is an autorelease object. Should I retain the array?... | stackexchange/codereview |
I would like a cell phone app to be able to determine how many cell phones around it are running the same app.
I'm not sure what direction to start researching (API's,concepts) to understand how my phone would figure out what other phones are running the same app in a specific distance.
| stackexchange/codereview |
From a header.php layout we can give instructions based on a given controller by doing:
$this->controller === "mycontrollerhere";
Can we do more or less the same but with a specific controller Action ?
Thanks in advance,
MEM
| stackexchange/codereview |
My application's performance deteriorate as it continues to run through the day.
I suspect it is garbage collector, how can I verify this?
Is there a way to find out which object/function is causing garbage collection overhead?
Is there a way to manually perform garbage collection programatically to clear memory of lea... | stackexchange/codereview |
I have an input box where in the value entered will be POSTed to the Action parameter.
But I also want the value to reflect on the url like this:
www.my-site.com/search/myquery
Any idea on how to achive this?
Here are the codes..
Search Form
<% using(Html.BeginForm("Index", "Search")) { %>
<%: H... | stackexchange/codereview |
What is the standard way of accessing a restful service from silverlight (I am targetting v3 of silverlight)?
In .net i use REST Starter KIT but its not compatible with Silverlight - although i did find a port but unsure weather to try it.
Is there a standard way to access rest from silverlight?
Any good examples or tu... | stackexchange/codereview |
The Python 2.6 OS X installer didn't support 64 bit architectures, necessitating some chicanery to get mod_wsgi, Python 2.6 and Apache2 working on 10.5.
However, the Python 2.7 OS X installer does build a 'fat' Python install, so I'd like to know if anyone's tried this setup before I ditch my current Python 2.6 local s... | stackexchange/codereview |
I've gotten the "Cannot change the ActiveConnection property of a Recordset object which has a Command object as its source" error (0x800a0e7b) in my classic asp page a couple of times, usually after I've just changed a stored procedure.
In the past, uninstalling and reinstalling the COM+ applications and a reset of II... | stackexchange/codereview |
I want to understand performance in multithreaded environments. For that I have written a small test that I ran on my machine (quad-core Intel, Windows XP, Sun JDK 1.6.0_20), with surprising results.
The test is basically a thread-safe counter that is synchronized using either the synchronized keyword or an explicit lo... | stackexchange/codereview |
My application should perform some action whenever user pressed certain keys in windows.
Calling SetWindowsHookEx with WH_KEYBOARD_LL option seems to be standard way to achieve this. However in my case something is clearly wrong and callback in not fired.
Main method of my debugging console application:
static void Ma... | stackexchange/codereview |
I have a boxplot showing multiple boxes. I want to connect the mean for each box together with a line. The boxplot does not display the mean by default, instead the middle line only indicates the median. I tried
ggplot(data, aes(x=xData, y=yData, group=g))
+ geom_boxplot()
+ stat_summary(fun.y=mean, geom="li... | stackexchange/codereview |
I've replaced a MooTools slider with a jQuery UI slider as our content management system uses jQuery and various other jQuery UI elements. I've run into a problem where on Firefox and Chrome the slider bar (it's horizontal) seems to move up into the div when sliding it, and thus hiding the slider. It seems that it does... | stackexchange/codereview |
I am mocking my web service using soapUI.
Now, I also want to test fault. For this, the mock service (=soapUI) should return a HTTP 500.
Does anyone know, how soapUI can do this?
thanks
| stackexchange/codereview |
I have a UIPanGestureRecognizer on a view inside of a UIScrollView. Its function is to move its parent view around when panned. This works perfectly well at 1x and 2x zoom resolutions in the scroll view, but zooming in farther causes them to fail quite often - yet not always.
There is also a long press & double tap rec... | stackexchange/codereview |
I'm testing rollback in java using JDBC (with mysql), but the code below is not working. The code is behaving as if I called commit() instead of rollback(). Can somebody tell me where I'm going wrong?
Connection conn=null;
try
{
conn = SqlConnectionHandler.getSqlConnection();
conn.setAutoCommit(... | stackexchange/codereview |
I've created two uis using the Qt Designer, imported them into my script and set them in the normal way using the setupUi() method. When a button is clicked, and the appropriate method is executed, the new ui is loaded, but all of the widgets and connections from the old one persist.
What is the proper way to remove th... | stackexchange/codereview |
I created a custom membership provider and am getting the following error trying to create a new "MembershipUser".
Could not load type 'MyTestApp.Membership.TestMembershipProvider' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
I am running this from a Unit Test project, ... | stackexchange/codereview |
As best I can tell when a worker process recycles:
a) a new one spins up before the old one shuts down
b) the old one shuts down once all the active requests its servicing completes
Is the above accurate?
If so, I have data that I store in SQL once Application_End() fires from the global.ascx file. I pull this data bac... | stackexchange/codereview |
* 1. Download the Windows installer from the PIL website.
* 2. Double click on the installer to start the installation process.
* 3. Choose the correct directory for PIL install.
* 4. Finish the installation and test out our sample application locally.
These are instructions from google website.
but what is the "Choos... | stackexchange/codereview |
I am trying to open a external command from Perl using system call. I am working on Windows. How can I pass arguments to it one after another?
For example:
system("ex1.exe","arg1",arg2",....);
Here ex1.exe is external command and i would like it to process arg1 first and then arg2 and so on...
I would appreciate for... | stackexchange/codereview |
I have loaded a huge CSV dataset -- Eclipse's Filtered Usage Data using PostgreSQL's COPY, and it's taking a huge amount of space because it's not normalized: three of the TEXT columns is much more efficiently refactored into separate tables, to be referenced from the main table with foreign key columns.
My question is... | stackexchange/codereview |
Suppose we have a textarea in which we put example string. Textbox contain :
Earth is revolving around the Sun.
But at the time of saving, I just pressed a enter key after "the sun". Now the statements in texbox ::
Earth is revolving around
the Sun
Now, in database where enter was pressed the \r is stored. Now i am ... | stackexchange/codereview |
I'm looking for a simple way to apply a callback method to each element in a String array. For instance in PHP I can make all elements in an array like this:
$array = array_map('strtolower', $array);
Is there a simple way to accomplish this in Java?
| stackexchange/codereview |
I have joined a new group that has coding guidelines that (to me) seem dated.
But just rallying against the machine without valid backup is not going to get me anywhere.
So I am turning to SO to see if we can up with rational reasons for/against (hey I may be wrong in my option so both sides of the argument would be ap... | stackexchange/codereview |
If I want to create a new object that needs certain informations like a product id or something like that but the input is bad how can I elegant manage such a case?
class Product
{
function __construct($id)
{
if(is_invalid_id($id))
{ return false; }
}
}
If I initialize it this way I still get an ob... | stackexchange/codereview |
SQL Tables
Listing
ID, Title.....
ListingType
ID, Name
ListingMatrix
ListingID, ListingTypeID
Basically a listing can be more than 1 type and I want that to be able to be shown using the ListingMatrix table. However, I'm having a lot of issues populating the checkboxlist because I have it being sorted by Title to keep ... | stackexchange/codereview |
How would I in ColdFusion add <= in my Filter Criteria. I was trying this
EntityLoad("Entity",{someProperty <= value});
but with no luck
| stackexchange/codereview |
I'm writing a snake game in Haskell. These are some of the things I have:
A Coord data type
A Line data type
A Rect data type
A Polygon type class, which allows me to get a Rect as a series of lines ([Line]).
An Impassable type class that allows me to get a Line as a series of Coords ([Coord]) so that I can detect col... | stackexchange/codereview |
Please note, "user_id" in my plans collection is NOT an object_id. I have it stored in the plans collection to reference the user's _id in the user_accounts collection. I thought about storing usernames across all collections in order to reference the user, but that wouldn't be idea should the user wishes to change his... | stackexchange/codereview |
NSString *navTitle = self.navigationItem.title;
NSURL *address = [NSURL URLWithString:[NSString stringWithFormat:@"http://www.twostepmedia.co.uk/json.php?q=%@",navTitle]];
responseData = [[NSMutableData data] retain];
NSURLRequest *request = [NSURLRequest requestWithURL:address];
[[NSURLConnection alloc] initWithRe... | stackexchange/codereview |
I'm following a guide to learn curses, and all of the C code within prototypes functions before main(), then defines them afterward. In my C++ learnings, I had heard about function prototyping but never done it, and as far as I know it doesn't make too much of a difference on how the code is compiled. Is it a programme... | stackexchange/codereview |
Could someone tell me how the public and private methods are achiveved in this example code for a simple animation library from dustin Diaz. How are the private methods distinguished from the public one?
http://www.dustindiaz.com/javascript-animate/
| stackexchange/codereview |
I'm trying to place the following DOM generated iframe into a certain part of the page. In particular I want it to sit inside a div I have name "maps". Right now it's floating all the way to the bottom of the page probably because it's being placed there. Is there a way to find the div called maps and place it right af... | stackexchange/codereview |
My application is running on CentOS 5.5
I need to send raw packets using libpcap API:
pcap_inject() or pcap_sendpacket()
To the specific IP address
How can I determinate MAC address belongs to a specific target?
| stackexchange/codereview |
Hallo,
I using the following code from css play. this display a menu.
.preload16 {background: url(m_admin/m_admin_2.gif);}
.preload16a {background: url(m_admin/m_admin_2a.gif);}
.m_admin {padding:0 0em 0 1em; margin:0; list-style:none; height:43px; position:relative;
background:transparent url(../images/menu2/m... | stackexchange/codereview |
I'm wondering if the dimensions of a page can be altered after content has been added to it?
I'm creating a PDF document in code using iTextSharp, and placing some content on a page. I'll only know the height of the content after drawing it, then I need to basically "crop" the page, so that it's only as tall as the con... | stackexchange/codereview |
Basically, when i use vb.net or c#.net to do this, it works perfectly, but when i use vb6, it doesn't work, in my for loop where the relevant service in the relevant device is captured, here is the code that returns no result...
' serv is properly declared and instantiated by the for loop.
Dim xins(0)
... | stackexchange/codereview |
Is this possible with Code First? I could do this if I only used Entity Framework:
var q = from m in context.Products
.Top("0")
select m;
| stackexchange/codereview |
I have the following XSL which defines a namespace for my Java Class. In a nutshell I'm trying to point to a different resource bundle depending upon a value in my XML file (I know Resource Bundles are really for internationalization but why re-create the wheel?):
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.... | stackexchange/codereview |
To insert data into a textctrl i do this :
num_items = self.lc_sources.GetItemCount()
self.lc_sources.SetStringItem(num_items, 1, data)
But the problem is the insertion is done after the treatment of data, well and i need to do insertion in real time.
Please how can i do this
| stackexchange/codereview |
I am trying to create a 'mask' of a numpy.array by specifying certain criteria. Python even has nice syntax for something like this:
>> A = numpy.array([1,2,3,4,5])
>> A > 3
array([False, False, False, True, True])
But if I have a list of criteria instead of a range:
>> A = numpy.array([1,2,3,4,5])
>> crit = [1,3,5]
... | stackexchange/codereview |
Essentially I have lots of small urls with parameters. a requirement is for users to be able to generate reports by coding their own html page with their own layout. The reports won't be dynamic so I don't want to use Ajax. Are iframes the only way?
| stackexchange/codereview |
I have 2 activities.
Activity 1 is the 'Homepage' which consists of one spinner.
Activity 2 will be started once an item from the spinner has been selected in Activity 1. The value of the item will also be passed into Activity 2.
Actvity 2 also has the same spinner as Actvity 1.
I would like to make a variable (referen... | stackexchange/codereview |
I want to make auto partial page refresh in asp.net. There is UpdatePanel but it sends too much data. So I've found that I can make a webservice and call it by the JavaScript code. But I don't know how to call webservice automatic. There are many examples showing how to call webservice by the button click event:
http:/... | stackexchange/codereview |
Is this possible? I have my images which are attached to different posts. I translated my site in 2 languages and just want to attach the same image to three different posts (english and 2 other languages).
| stackexchange/codereview |
I have a bunch of floats and I want to round them up to the next highest multiple of 10.
For example:
10.2 should be 20
10.0 should be 10
16.7 should be 20
94.9 should be 100
I only need it to go from the range 0-100. I tried math.ceil() but that only rounds up to the nearest integer.
Thanks in advance.
| stackexchange/codereview |
I am always forced to make my terminal window two dual monitors wide just to see read them right. I'm not a stickler for buttery GUI's, but this is ridiculous.
Is there a pretty print for this command?
| stackexchange/codereview |
I want to show a popupmenu when click a button, but this procedure has error in Delphi XE.
procedure ShowPopupMenuEx(var mb1:TMouseButton;var X:integer;var Y:integer;var pPopUP:TPopupMenu);
var
popupPoint : TPoint;
begin
if (mb1 = mbLeft) then begin
popupPoint.X := x ;
popupPoint.Y := y ;
popupPoint := ... | stackexchange/codereview |
Has MongoDB ever been compiled to work on iOS devices? I know the terms of the App Store do not allow an application to launch a subprocess, so the DBDirectClient class would have to be used to access the data files in-process.
Any thoughts?
| stackexchange/codereview |
Yes i have this line in my first "upload" case of the switch:
$file_name = $USER . "-".rand(1, 888).".jpg";
Then in my switch case "crop" (that takes care of the image you crop), I wish to replace the uploaded one with the new one, simply by uploading with same name. Now i cant use $file_name in the case "crop" so how ... | stackexchange/codereview |
I am creating a "What's New" section that lists all of the database changes in the last day. Off of a recent suggestion, I want use post_save or pre_save to capture the fields that have been altered when Django saves a model record. I will save this data in another table (time-stamped). I know this is possible becau... | stackexchange/codereview |
Well, i have a problem validating a form with jQuery. I'm Not using any validation Framework (Such as http://docs.jquery.com/Plugins/Validation), because i need to do this without any Pre-Builded Solution (It's an user requirement, Strange, by the way). I Have a Textbox, And I Need to Validate Any String, but, that str... | stackexchange/codereview |
I use Flex 4 wish I can let users drag/drop photos from their computer to the web app to upload them automatically.
| stackexchange/codereview |
I have 4 links that change the position of 4 divs inside a web page. I am using the following jQuery script to change the color of the links when I hover them.
$('a.menua').hover(function(){
$(this).css({'color':'#2EC7C7'});
},
function(){
$(this).css({'color':'white'});
});
how can i modify this script so... | stackexchange/codereview |
Suppose I have the following group, with a header, a detail and a content.
Group 1 HEADER
Group 1 DETAIL 1
Group 1 DETAIL 2
...
Group 1 DETAIL n
Group 1 FOOTER
I want that HEADER, DETAIL and FOOTER are always be rendered together, on the same page, as they would be included in unique "unbreakable bloc"
An ex... | stackexchange/codereview |
I usually make applications with the front end in Access 2003 - 2007 and the back-end on SQL Server 2008. When I create an ODBC to link the tables in access I have two choices in the ODBC Data Source Administration page on my Windows XP PC:
Server 2008: SQL Server Native Client 10.0 v.2007.100.2531.00
SQL Server v. 2... | stackexchange/codereview |
I'm aware there are other questions similar but I just cannot get this to work.
Id like to close the colorbox iframe on the click of a .NET Button form within the iframe.
<script type="text/javascript">
$(document).ready(function() {
$(".del-add").colorbox({ width: "800px", height: "660px", iframe: true, open: true... | stackexchange/codereview |
I'm writing what I believe should be a relatively straight-forward Windows Form app. I'm using LINQ to SQL, though I have never used it before. We have a SQL Server database, and I'm creating a front-end to access that database. I'm trying to figure out the most efficient way to search for multiple (arbitrary number of... | stackexchange/codereview |
I am trying to run Eclipse on my netbook to be able to develop for Android.
As you may guess, Eclipse is quite slow and it is not easy to develop effectively.
I am using Linux Ubuntu and I have still 0.5GB of free RAM...the CPU is the bottleneck.
Have you got any tip to slim Eclipse down and make it run faster?
Thanks,... | stackexchange/codereview |
I need a solution that allows me to create compressed data files (gzip, zip. tar etc. - any format could work) and then freely append data to them without having to load the whole file in memory and re-compress it (seeking while decompressing would be awesome as well). Anyone has a suggestion on .NET?
| stackexchange/codereview |
I've been reading through the docs on how the NSDistantObject class and I can see that it is more or less a binary protocol for sending objects from one NSPort to another. What I'm curious about is the possibility of using this in an iPhone application to share data. Is it possible to have two applications talking to e... | stackexchange/codereview |
I have a DomainService with a few methods.
One has a return type of string and no parameter:
public string MyMethod1() { }
I can call this one from Silverlight.
One has a return type of void, and a parameter that is a domain object (I am using LinqToSqlDomainService and this object is part of the DataContext):
public ... | stackexchange/codereview |
I've got a template that I'm using that has the option of showing either a set of posts on the front page in a featured section or, optionally, display a set of specified pages in the same featured area. I found the code where it displays either/or, however I'm not exactly sure how to combine the two together and get ... | stackexchange/codereview |
For a given bitpattern, is there a mathematical relationship between that pattern and the mirror image of that pattern?
E.g. we start with, say, 0011 1011. This mirrors to 1101 1100.
We can mechanically mirror the pattern easily enough.
But is there in fact a mathematical relationship between the pattern and its mirro... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.