instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
could anyone advise me direct me to a site that explains the best way to go about this I'm sure I could figure it out with allot of time invested but just looking for a jump start. I don't want to use the migration tool either as I just want to put fmp xml files on the server and it create new MySql databases based on ... | stackexchange/codereview |
In my universal app I need to check if the current device is an iPad or iPhone. How can I do this programmatically? I plan to put the code in my viewDidLoad.
| stackexchange/codereview |
Friends
I have configured WebLogic cluster with 2 managed servers and set crashrecoveryenabled to 'true' in nodemanager.properties so that in case of server crash the managed servers can start automatically.The Node manager and admin server are setup as windows services so that they can start automatically on server re... | stackexchange/codereview |
Possible Duplicate:
“Least Astonishment” in Python: The Mutable Default Argument
can anyone explain me this?
class Strange(object):
def mutate(self, x=[]):
x.append(1)
return x
obj = Strange()
print obj.mutate()
another_obj = Strange()
print another_obj.mutate()
>> [1]
>> [1, 1]
mutate() is ... | stackexchange/codereview |
When the following code is run, it launches the thread r, as the output from it is received but the test phrase is never outputted though there are no errors outputted that would suggest an error. Why is this not able to progress past the thread launch? Will it wait for the thread to be stopped before continuing?
whil... | stackexchange/codereview |
I once thought screen reader for user with impaired eyesight can not read web page dynamically created by javascript, since I am educated to create web page that works even javascript is disabled.
Recently, I'm told that screen reader can actually read web content dynamically created in AJAX web application.
So, sinc... | stackexchange/codereview |
I want to display a file content (HTML file) inside a web page using ASP. I'm trying to display 2 files and show the differences. So i need to color different rows. I tried with TextBox but i can not color a single row. Something like this but inside a browser. I should be able to easily navigate through rows. (like Se... | stackexchange/codereview |
I have just download the eclipse and go to Help -> Install new Software, choose the Helios - http://download.eclipse.org/releases/helios
as the repository, then the exception
coms out as ,
org.eclipse.equinox.p2.core.ProvisionException:
Unable to connect to repository
http://download.eclipse.org/releases/helios/... | stackexchange/codereview |
I am using PHP curl functions to post data to the web server from my local machine. My code is as follows:
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $url);
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
curl_setopt($c, CURLOPT_POST, true);
curl_setopt($c, CURLOPT_POSTFIELDS, $data);
$result = curl_exec($c);
if (cu... | stackexchange/codereview |
I have the following bottleneck function.
typedef unsigned char byte;
void CompareArrays(const byte * p1Start, const byte * p1End, const byte * p2, byte * p3)
{
const byte b1 = 128-30;
const byte b2 = 128+30;
for (const byte * p1 = p1Start; p1 != p1End; ++p1, ++p2, ++p3) {
*p3 = (*p1 < *p2 ) ? b... | stackexchange/codereview |
Good day,
I'm stuck with a problem this morning. I found out that content property which is nice but I can't use HTML entities in it.
More specifically, I would like to use the é
This is what I tried: content: 'test with eacute \233'; but the result is test with eacute ÿ
I've also tried \0233, \0233c, \233c
I do... | stackexchange/codereview |
Is it possible to compile native GCC for ARM (host == target == ARM) using Code Sourcery G++?
If it is not possible, could I use crosstool-NG to build the cross-compile and then using this one for compiling the native ARM GCC?
Thank you,
Edit: as to why: I'm creating my own distro for beagleboard...
| stackexchange/codereview |
As brilliant as Firebug is, I would consider switching my JavaScript debugging to Chrome if I could figure out how to get it to always re-download styles and images on every visit to the page?
When I'm testing a page in Firefox, it always gets the latest version.
But in Chrome I often end up scratching my head over som... | stackexchange/codereview |
is it possible to use php to redirect users to page i.e. busy.php when the server is busy or overcrowded, or something similiar? thanks :))
| stackexchange/codereview |
I'm having problems with removing duplicate lines in a file, and replacing them a with a non-duplicate line. Ideally, I would just like to replace it with a continuous sequence, so that the duplicate lines could be separated.
I was considering sed with some kind of wildcard (*):
sed -e "s/text_pattern/text_pattern*/g" ... | stackexchange/codereview |
I found many questions on stackoverflow which has a mention about digest authentication. I could not find on how does the digest authentication prevent replay attacks? I use the fiddler tool to intercept the http request to the servers. I used the same tool for replaying the requests to the server but the server asked ... | stackexchange/codereview |
I'm developing an app using Eclipse IDE under linux. While developing, I'm having terminal opened, testing things under workspace/myApp/bin. For the needs of testing, I copied several files there - one txt file, one gif image. Also, several more files have been created as a result of my app.
However, today I started Ec... | stackexchange/codereview |
Pls help me to sort this issue. I need in display dynamic data in a Chart (Google Charts)
I have these datas in an asplabels, I need those datas to be inserted in the Charts url dynamically.
Assume the label ids are as follows:
I need to use those label values to the following url
http://chart.apis.google.com/chart... | stackexchange/codereview |
I'm fairly new to Scala, coming from a basic Java background. I looked at how to implement class constructors and how to provide some logic in the setter for a field of that class.
class SetterTest(private var _x: Int) {
def x: Int = _x
def x_=(x: Int) {
if (x < 0) this._x = x * (-1)
}
}
The co... | stackexchange/codereview |
I need to Erase the file contents from a selected Point (C++ fstream) which function should i use ?
i have written objects , i need to delete these objects in middle of the file
| stackexchange/codereview |
I need to change the title bar icon of the Internet Explorer. Iam using IE v.6.
I tried using Favicon but its changing only the address bar icon and if we add the page to the favorites or bookmark its displaying the icon!!! but its not changing the title bar icon of the IE.
Note : I want the icon to be changed program... | stackexchange/codereview |
I have two Copy-Item commands
Copy-Item "C:\Test\folder1" "\\remote_machine\destination" -Recurse
Copy-Item "C:\Test\folder2" "\\remote_machine\destination" -Recurse
folder1 and folder2 contain folders and files
Both commands are similar, but I get different results
Copy content of folder1 to destination - OK
Copy f... | stackexchange/codereview |
I have a ListView and a button in my view. Button is placed just below the listview. My listview contains 10 items. When I am running the application. I can't see the button inside the view. Because of 10 items i have to scroll the listview to see all items. If i use 4 items, I can see the button. Why it is happened?
... | stackexchange/codereview |
I have a django application xxx which does a number of things.
I also have a sepaerate application yyy. Which wants to call one of the functions of xxx.
Is there a way for me to import the functions?
For example, in yyy can i say
from toplevel.xxx import doit
Or what is the best approach, I dont want to duplicate cod... | stackexchange/codereview |
I searching people who know some experience with bug tracking on client machines,
if my application works on many client machines who i don't have to it any access.
I have in my application very huge debug logging feature, but in many cases this is
to less to good detect problem of crash without very bigs and unreadabl... | stackexchange/codereview |
I'm trying to rotate a 2D image using OGL ES. After load it I can move it through the screen but when trying to rotate the image through its center, it has an odd behavior as the rotation center is the lower-left screen corner, not the center of the image itself.
Googling around I've read that I could push the current ... | stackexchange/codereview |
I have table with 2 columns ....
id id2
1 1
1 2
1 3
2 1
2 2
2 4
3 2
3 3
3 4
I want to return the ids which have for example id2 in (1, 2, 4) but that has all of the values in the list.
In this above case it would return id = 2. Is this possible?
| stackexchange/codereview |
HI, I am starting to developing web application and decide to use Vaadin + Java EE for reusable business logic. I know that Vaadin has MVP design pattern, but how to make good hierarchy of classes, write all in one MyApplication.java or make own Button classes or make Listeners in one side and UI components in other, a... | stackexchange/codereview |
<ul>
{foreach from=$recommend item=value}
<li><span><em>{$value['content']}</em></span></li>
{/foreach}
</ul>
<ul>
{foreach from=$recommend item=value}
<li><h4>{$value['name']}</h4></li>
{/foreach}
</ul>
The above html can be generated by 1 loop if not using smarty:
$html1 = $html2 = '<ul>';
foreach($recommend as $v... | stackexchange/codereview |
I have an entity annotated with the following:
@Entity
@Table(uniqueConstraints={@UniqueConstraint(columnNames={"name"})})
public class Component extends Model {
...
}
Is it possible to make the UniqueConstraint case insensitive? We are using PostgreSQL.
| stackexchange/codereview |
Anybody can tell me how to add "dismiss key" to iPhone's virtual keyboard?
| stackexchange/codereview |
If a 32bit Operating System operated with a segmented memory model would their still be a 4GB limit?
I was reading the Intel Pentium Processor Family Developer's Manual and it states that with a Segmented memory model that it is possible map up to 64TB of memory.
"In a segmented model of memory
organization, the log... | stackexchange/codereview |
How do I programmatically change the position of the cursor in a Mac terminal program? I'm teaching a couple of kids to program and we're learning by writing a little terminal game. I've done this with C# on Windows with SetCursorPosition(x, y) so I'm hoping for something like that.
| stackexchange/codereview |
Hi I have a fairly basic task, but cant seem to find the right answer to,
I'm making a set of buttons, you put the mouse over them and they change to a different image, take mouse off, change back...
It works fine in Safari, IE, Chrome,
Get into firefox and 4 don't work, randomly, not in any sort of order...
main.php -... | stackexchange/codereview |
is there a way to import the oracle dump through java program? If yes, How?
| stackexchange/codereview |
i need help creating and actice state on tabs here is my javascriptand part of my html i cant seem to enter css on here please request it if you require it
i need it so which ever tab you are on it shows the same color as the active container background with no borders on the join i need this for the top and side ta... | stackexchange/codereview |
I'm learning to work with ASP.net and am starting to work with databases and have a general question. I already have Access and SQL Server Express 2008 installed on my computer and have no issues adding sample databases to my programs; however, I was wondering if I would be able to open those databases in visual studi... | stackexchange/codereview |
UPDATE prodfeatures2 SET featureprice = featureprice * 0.6316;
I am trying to setup a round of to the nearest hundredth. HELP!
I do not want the answer to be 104.7648, I would want it to be 104.76.
I do not want the answer to be 104.7668, I would want it to be 104.77.
| stackexchange/codereview |
Hello i have a question,
i write a requirement specification.
there is a system, where more than one person interacts with,
and i want to describe what happens when one person quits the interaction.
I don't know how exactly a mulituser systems works,
i guess the system creates an instance (?), and when the user finish... | stackexchange/codereview |
I'm currently trying to populate an flex 3 AdvancedDatagrid with xml received from a HTTPService with id="produktMatrix_data". The layout is as follows: http://pastebin.com/NqFqgj86
The result should look like:
The further rows like KID, M.., etc. will be populated by other sources, be hardcoded, or by user input and ... | stackexchange/codereview |
I'm creating an installer via the packagemaker command as part of a script. I create the folder hierarchy in stagedRootPath and then use the --root parameter to build the installer. The problem is that I want to install things in the installing user's home directory, which I don't know when I build the installer. I dou... | stackexchange/codereview |
I'm replacing cookies with localStorage on browsers that can support it (anyone but IE). The problem is site.example and www.site.example store their own separate localStorage objects. I believe www is considered a subdomain (a stupid decision if you ask me). If a user was originally on site.example and decides to type... | stackexchange/codereview |
I want to modify part of my base navigation menu based on a flag on the user model, without having to include request.user in every single view function in my codebase. The nav menu is part of the base template which every other template extends.
Is there a simple way to do this (if so, I suck at search)? If not, is ... | stackexchange/codereview |
I am searching for a extensional definition for the following set:
E := { m | m subset {a,b,c,d} and |m| = 2}
My idea is
E := {{a,b}, {a,c}, {a,d}, {b,c}, {b,d}, {c,d}, {a,a}, {b,b}, {c,c}, {d,d}}
any ideas?
| stackexchange/codereview |
When I run the app in Eclipse, Android emulator starts but says
"Bluetooth is not available".
Also need help with running/installing an app on real phone. I connected my HTC Desire (Android 2.2), enabled USB debugging and run the app from Eclipse. Emulator starts as usual instead of the app running on my phone.
| stackexchange/codereview |
I have the following HTML page (page is simplified here as it is a sample of the real one):
<html>
<head>
<script type="text/javascript" src="JavaScript/Painting.js"></script>
</head>
<body>
<div id="center-wrapper">
<div id="side-menu">
<ul>
<li><a onclick="Paint()">About</a></li>
... | stackexchange/codereview |
I need to set some background image for my view. How can I do this?
| stackexchange/codereview |
Please tell me how to delete an element from a C++ array.
My teacher is setting its value to 0, is that correct?
| stackexchange/codereview |
I'm not able to use GetAltTabInfo. Probably a stupid mistake but what's wrong with this?
HWND taskSwitcher = FindWindow(L"TaskSwitcherWnd", L"Task Switching");
ALTTABINFO altTabInfo = {};
altTabInfo.cbSize = sizeof(ALTTABINFO);
GetAltTabInfo(taskSwitcher, -1, &altTabInfo, NULL, 0);
I have verified that taskSwitcher is... | stackexchange/codereview |
I am having trouble binding data to data repeater when I use ISyncResult.
This is what I am doing.
There is a button inside a Update Panel that gets the input from the user and calls a function that returns a dataset that I then bind to data repeater which is also inside a update panel.
What I did is that I made a dele... | stackexchange/codereview |
I have a table with id, external_id and country_code columns. I have two rules which I want the database to impose:
Each External ID can only appear once per country code
Each ID can only appear with at most one non-null External ID, and vice versa.
The first rule is easy enough - I add a unique multi-column index t... | stackexchange/codereview |
I'm using EasySlider, but unlike any of the examples of this plugin that I've found, I show multiple elements at any one time and the width is 100%. The separate images make up a full, long consecutive image, which is Photoshopped so even the borderline between first and last looks natural. It's configured to be a cont... | stackexchange/codereview |
hi lets assume i have a simple programm in python. This programm is running every five minutes throught cron. but i dont know how to write it so the programm will allow to run multiple processes of its self simultaneously. i want to speed things up ...
| stackexchange/codereview |
In the chapter Generics CLR Via C# v3, Jeffrey Richter says below TypeList<T> has two advantages
Compile-time type safety
boxing value types
over List<Object>, but how is the Compile-time type safety is achieved?
//A single instance of TypeList could hold different types.
using System;
using System.Collections.Generi... | stackexchange/codereview |
i have some problems with my site. it eats ram like a monster.
javascript causes that but i don't know what to do.
i use jquery framework and jwplayer(+some listeners)
how can I detect which code causes that?
| stackexchange/codereview |
Troubleshooting, analyzing & filtering log files is by far one of the most laborious daily jobs. My issue is searching through a log file, which could be well over 4 gigs in size. Simply loading the file takes up to 15 mins. I'm running a fairly fast processor with 8 gigs of memory. After the file loads, I literally on... | stackexchange/codereview |
When I create Android emulator with resolution 480 X 854 (to match Mot Droid ), the onscreen keyboard disappears. Why?
| stackexchange/codereview |
I am using this code, I got it to work fine with any C# assembly that allows it to be ran from memory. Is there anyway I could get it to work with VB.net?
private static void RunFromMemory()
{
try
{
byte[] bytes;
using (WebClient client = new WebClient())
{
... | stackexchange/codereview |
I want to develop an application to encrypt voice calls on the fly. Is it feasible?
which programming language should be preferred for symbian O.S
| stackexchange/codereview |
I have a few tables: a medError table, an option table, and a selected_options table.
When somebody submits the relevant form, I have an insert which inserts all the info from the form to the medError table. However, on this form, there is a section of dynamic checkboxes based on the items in the option table. The sele... | stackexchange/codereview |
I have a Web application project that references other projects within the same solution. I wanted the web application to reference the same project but from a static folder in a different solution.
something like this:
Solution A --->
---->Web App
------>Reference to proj
Solution B----->
------->W... | stackexchange/codereview |
I'm picking up jQuery and jQuery UI and I would like some suggestions on some practice exercises for learning the libraries.
I'm particularly interested in Ajax and anything that might be a little bit .net centric.
I acknowledge that the jQuery web site has lots of simple examples showing how to use all the individual ... | stackexchange/codereview |
in the following code, why does it work:
var addresses = {"2-avenue-bir-hakiem": "2 Avenue Bir Hakiem", "56-rue-marcel-pagnol": "56 rue Marcel Pagnol"};
but
var addresses = json.val;
does not work
my json output is valid!
{"2-avenue-bir-hakiem": "2 Avenue Bir
Hakiem", "56-rue-marcel-pagnol": "56
rue Marcel Pagno... | stackexchange/codereview |
Inside repeater control HeaderTemplate i have some LinkButtons and Checkbox
I want to findout the object (Linkbutton or checkbox) that raises the event.
protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
{
switch(e.CommandSource)
{
case LinkButton:som... | stackexchange/codereview |
For each species, I have many datasets. For each dataset, I have many phenotypes. The datasets have names which, within a species, are primary keys. The species, too, have string primary keys (e.g., Hs for Homo sapiens). So, I want to be able to specify a phenotype as follows:
/species/Hs/mcgary/1
where mcgary is the ... | stackexchange/codereview |
I need to parse a large trace file (up to 200-300 MB) in a Flex application. I started using JSON instead of XML hoping to avoid these problems, but it did not help much. When the file is bigger than 50MB, JSON decoder can't handle it (I am using the as3corelib).
I have doing some research and I found some options:
Tr... | stackexchange/codereview |
i have an access front end and sql server backend. i would like to know which users are currently using the database. is this possible to do using access or sql-server?
| stackexchange/codereview |
I'm trying to upload files via Pycurl through POST, using a PHP script on the receiving end. For some reason the PHP part seems to cause an error. I've distilled it down to two short test scripts.
import pycurl
UPLOADURL = "http://127.0.0.1/~nevon/receive.php" #URL to the PHP script
PATH = "/home/nevon/Desktop/testfil... | stackexchange/codereview |
My portal is SaaS based and incidentally all the clients are on the same url.
Lets say www.xyz.com, I differentiate between clients using the session I set while logging.
I want to put in google analytics now, the only problem is that i won't be able to analyze client specific data.
Is there a way to pass client data i... | stackexchange/codereview |
i am trying to add a uicomponent which contains an object of a custom class the extends UIcomponents and i want to display this uicomponent to canvas i have done no error compile or run time but it does not display the Uicomponent.
here is code;
var item:RecordRanderer = new RecordRanderer();
item.randerItem(c... | stackexchange/codereview |
I am running Python 3.1.2 with IDLE 3.1.2 on Windows 7. When I try to use the Stack Viewer, blue text and a new window briefly appear before all open IDLE windows exit (I don't have time to read the text or new window). This is the first time I have used Stack Viewer.
Is this normal behavior? How can I get the Stack Vi... | stackexchange/codereview |
Given a block of content, I'm looking to create a function in PHP to check for the existence of a keyword or keyword phrase inside an h1-h3 header tags...
For example, if the keyword was "Blue Violin" and the block of text was...
You don't see many blue violins. Most violins have a natural finish.
<h1>If you see a blue... | stackexchange/codereview |
I'm writing an Applescript for use in iTunes in which at some point I want to select any track from a list of tracks, but the way I expected it to work gives an error. Here's the code:
tell application "iTunes"
set thePlaylist to the first playlist whose name is "Missing track count"
-- ...
-- populate a li... | stackexchange/codereview |
I'm running a Windows 2008 server (a VPS with 1GB of RAM), with SQL Server Express and IIS 7 installed. On it I'm hosting a NopCommerce 1.7 website, with a database of around 26 000 products.
Right now I'm the only user of the website (it's in development) and I'm getting rather bad performance from it. To be more spe... | stackexchange/codereview |
I'm trying to create a QSpinBox that accepts all numbers, but I'm having some trouble with hte maximums
sbox = QSpinBox(self)
sbox.setRange(-sys.maxint/88-1, sys.maxint/86)
sbox.setValue(int(setting.value))
I wanted to just use sbox.setRange(-sys.maxint-1, sys.maxint) but then I couldn't enter anything, if I increa... | stackexchange/codereview |
I often encounter in articles which describe abstract class and interface, that C# does not support multiple inheritance but can be achieved using interfaces. I don't agree to that for the following reasons
We always inherit the state and behavior from any class.
Interface does not define the state or behavior.
We can... | stackexchange/codereview |
As the title suggested , I am looking for a function in pl /sql which does something similar like the DateAdd function.
I have been looking and I found the add_months function but I would really like one that is a little more variable since I need to be able to add minutes, hours , days etc.
| stackexchange/codereview |
I am interested in creating a form in an iphone application similar to this one. Mine would probably have a textbox as well but I was wondering what kind of control(s) should I use? Is this a grouped UITableView where the cells are hardcoded? If that's the case what about events on the textboxes? will they still fire o... | stackexchange/codereview |
I am reviewing C++ casts operator and I have the following doubt:
for polymorphic classes
I I should use polymorphic_cast
I should never use of static_cast since down-casting might carry to undefined behavior. The code compiles this case anyway.
Now suppose that I have the following situtation
class CBase{};
class ... | stackexchange/codereview |
I need to have a GridView listing all invoices of an account. Each account can have a PDF generated for that account, which isn't done instantly - so I need a gridview column to update the user of the progress of this conversion - i.e. 'In Progress'.
Then, when the conversion is done the cell's text should change to a... | stackexchange/codereview |
I'm about to begin building an iPhone game that will make use of Game Center Achievements and high scores, but I'd also like to have a version that works on iPhones that don't have Game Center (i.e. iOS version < 4.1). Can I have two versions of the same app in the app store, one for game center, one for without? Or ... | stackexchange/codereview |
We have a dataset dsActualCost which fetches query value: MonthName in one column and Cost in another.
We have a code to display data in table format.
For MonthIndex = 0 To dsMonth.Tables(0).Rows.Count - 1
Dim tdMonthlycost As New TableCell
If dsActualCost.Tables(0).Rows.Count > 0 Then
If IsDBNull(dsActualC... | stackexchange/codereview |
print <<EOF
stuff
EOF
;
print <<EOF;
stuff
EOF
Why would you use one over the other?
| stackexchange/codereview |
I'm trying to test java.util.concurrent.ConcurrentLinkedQueue when accessed via multiple threads. Mentioned below is my Junit test using RepeatedTest to run in two concurrent threads. My questions is: is it correct to use RepeatedTest to test concurrency for example on ConcurrentLinkedQueue? The source code is mention... | stackexchange/codereview |
I am busy trying to configure a build server for TFS2010. My project has references to Microsoft.practices. The build fails because it can't find these references on the build server - because I haven't installed the Microsoft.practices on the build server.
I was wondering if installing it on the build server is the be... | stackexchange/codereview |
I create a com object in powershell like so:
$application = new-object -ComObject "word.application"
Is there a way to get the PID (or some other unique identifier) of the launched MS Word instance?
I want to check if the program is blocked e.g. by modal dialogs asking for passwords, and I can't do it from whithin Pow... | stackexchange/codereview |
Is it standard practice or convention in Python to prepend boolean instance variables with is?
For example:
"options.isVerbose"
| stackexchange/codereview |
I created line chart. Now I need to display point on this chart when I tap the screen.
What would be the best method? Do I need to call drawRect method again, draw whole chart with marked point?
I'm thinking about something like transparent layer over the chart UIView.
Can I create another transparent UIView and put i... | stackexchange/codereview |
I have a library project that uses ASIHTTPRequest to make URL requests and parse the responses. The library will be used by a separate iPhone app project.
If my iPhone controller code responds to a touch event, then calls into the library to make URL requests, how do I best perform the requests asynchronously?
In the l... | stackexchange/codereview |
I have searched the forum but the closest question which is about the control stream did not help or I did not understand so I want to ask a different question.
I have an html form which uploads multiples files to a directory. The upload manager that handles the upload resides in the same script with a different code w... | stackexchange/codereview |
I'm use ReSharper 5.x which have a feature when i hold Ctrl and hover mouse over Class or methods (Or anything into codes), an underline is shown and when i click, ReSharper automatically opens code-file of that class or method (Function exactly like Go to Reference in Visual Studio code files context menu item).
How i... | stackexchange/codereview |
What is the regular expression for a RegularExpressionValidator so it fires if the string in the validated control contains a \n, \t or is longer then 250 chars?
| stackexchange/codereview |
I'm looking into a control with two rectangles: one inside the other. I want the user to be able to drag the inner rectangle, resize it and if possible rotate it as well within the bounds of the outer rectangle. The values should be bindable so I can store the values in my datasource when updated.
Are there already con... | stackexchange/codereview |
I need to apply grouping to rows in a DataGrid that is nested in a TabControl. Both the DataGrid and the TabControl are databound. The outermost control is bound to a ViewModel that exposes a collection of pages that is bound to the TabControl. Each page exposes a collection of lines that is bound to the Grid.
I am tr... | stackexchange/codereview |
I am trying to use property grid for displaying data. I have to write StringConverters for my predefined string constants so that they can be shown on a combo box.
Consider a list of colors and another list of angles 0,90,180,270. There are many such lists I want to display on the grid.
I am writing new classes deriv... | stackexchange/codereview |
I have an NSTextView in an NSScrollView, and I am programmatically inserting an NSView subclass as a subview of the NSTextView. This NSView acts as an overlay, superimposing graphical information about the text beneath it.
I thought it was working quite well until I noticed that the text view does not respond to right... | stackexchange/codereview |
What is the fastest way of clearing a register (=0) in MIPS assembly?
Some examples:
xor $t0, $t0, $t0
and $t0, $t0, $0
move $t0, $0
li $t0, 0
add $t0, $0, $0
Which is the most efficient?
| stackexchange/codereview |
It's a continuation of this post : What throws Internet Explorer into quirks mode? .
I have a webpage, built on Django LFC CMS ( http://snow4life.pl/ ). Problem is that when I upload my files to server, the default templates (http://bitbucket.org/diefenbach/lfc-theme-1.0/src/tip/lfc_theme/templates/lfc/base.html) are ... | stackexchange/codereview |
I want to push all individual elements of a source array onto a target array,
target.push(source);
puts just source's reference on the target list.
In stead I want to do:
for (i = 0; i < source.length; i++) {
target.push(source[i]);
}
Is there a way in javascript to do this more elegant, without explicitly coding... | stackexchange/codereview |
I have a CSS class called selected which highlights the DIV as the current step. When they're all in separate pages, I just had to move the selected word to the next DIV.
But how can I achieve the same in Master Page VB .Net? It seems to be one page for all. When the next page loads, how do I get it to highlight the ne... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.