instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have a namespace extension and when the user does certain action we display a progress bar in a separate window (Ideally we should use the Windows Explorer built in progress indicator in the address bar, but I'm told that there isn't an API for that from my component vendor). I using the Windows Code Pack 1.1 to get ... | stackexchange/codereview |
I have a bunch of classes and APIs written in C++ and exposed to Python with help of Boost.Python
I am currently investigating the possibilities of creating the following architecture.
In python:
from boostPythonModule import *
AddFunction( boostPythonObject.Method1, args )
AddFunction( boostPythonObject.Method2, args... | stackexchange/codereview |
What is the difference between DMA and memory-mapped IO? They both look similar to me.
| stackexchange/codereview |
I am hoping there is a very simple explanation why I am getting this error.
I am using S#arpArcitecture 1.6. on a 64bit Windows 7 install.
Line 3 of the following code gives the error:
{"Provided id of the wrong type. Expected: System.String, got System.Guid"} System.Exception {NHibernate.TypeMismatchException}
1 pu... | stackexchange/codereview |
hi i'm new to nhibernate and i read a lot of threads with similar problems, but i dont get it working.
i use oracle, nhibernate3 alpha and fluent nhibernate for mapping. i have a parent child relation. the child table has a composite id. Select, insert, update records works. Delete a parent without child records works.... | stackexchange/codereview |
I would like to model an event-driven finite state machine in C as proposed here :
http://en.wikipedia.org/wiki/Event-driven_finite_state_machine
But I would also like the 'external' events to be handled in various threads.
Can I find such a code somewhere ? Or advices ?
| stackexchange/codereview |
I'm a Java developer, so please excuse my ignorance.
I want to create a shortcut to an executable, e.g., in the user's autostart or send-to folder (I don't want an installer to do that, because the installer usually is run by an administrator). What API (C preferred) I could use for that task (maybe using JNA)? Thanks ... | stackexchange/codereview |
I'm running MATLAB (command line version) from a shell script, and I'd like it to preserve shell behavior where if you press Ctrl-C it exits. But instead it wants to keep control of the terminal and I (or my poor users after me) have to type quit(1) to make it quit and tell the shell it failed.
You can't intercept Ctr... | stackexchange/codereview |
what i am try to do is to get my program to enter chroot environment and do some commands and then exit.
For Example
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define ChRoot "sudo chroot \"/\" /usr/bin/env -i HOME=/root TERM=\"$TERM\" PATH=/bin:/usr/bin:/sbin:/usr/sbin:/bin /bin/bash --login +h"
... | stackexchange/codereview |
I need to find all records created in a given year from a MySQL database. Is there any way that one of the following would be slower than the other?
WHERE create_date BETWEEN '2009-01-01 00:00:00' AND '2009-12-31 23:59:59'
or
WHERE YEAR(create_date) = '2009'
| stackexchange/codereview |
I have several conditions that need to be met in order to allow a user to edit the details of the selected item.
the conditions are:
if the item is active they are allowed to edit it regardless of security level. No problem there.
if the item is inactive:
users above security level 50 can edit it
users below security l... | stackexchange/codereview |
Please see following example code that takes a year and a date and displays the data back when submitted...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" conten... | stackexchange/codereview |
I'm trying to create a div that would have a dynamic width depending on the content inside that div. It works well in Firefox but in IE I get linebreaks, see screenshot below:
The markup looks like this:
<div class="filter-dropdown">
<div class="filter-dropdown-options-wrapper">
<ul>
<li>
... | stackexchange/codereview |
Is it possible to do at all..?
The goal of this is to load a heavy Flash movie, after the images, text, and contents of my page is finished loading...
Any solutions..?
More details:
The Flash movie (a music mp3) is loaded in a frame (menuFrame) with the menu. The content (that needs to be loaded first) is in another f... | stackexchange/codereview |
The gods have parachuted many habits into my isolated jungle village, such as:
- (void) dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
[super dealloc];
}
Their ways are strange to me, yet I still seek to understand them.
Why bother cleaning loose ends up if the instance is going away? Will... | stackexchange/codereview |
Is there any Compareable<Collection<T extends Compareable<T>>> implementation in Java (which behaves as C++'s std::list<T>::operator<() or std::set<T>::operator<())?
Edit: Comparator would make more sense...
| stackexchange/codereview |
I wrote a clisp program that prints out n sets of x*y random integers. I'd like to make n=100, but I can't copy and paste the whole thing because my linux terminal doesn't go back far enough, for lack of a better word.
I'd like the simplest way possible to capture 2200 lines of linux terminal readout.
| stackexchange/codereview |
Is it possible in MVC2 to create an anchor tag that contains values from ViewData?
e.g.
<a href="mailto:<%: ViewData["Email"] %>">Send Email</a>
This code above doesn't render and just throws an exception?
| stackexchange/codereview |
hi all
I'm working on asp.net web application & for this use MS access for back end, My Query is given below which is successfully executed on MS Access but error on front end ("Syntax Error in FROM Clause")
select USER.EMPID as EMPID,USER.FULLNAME as FULLNAME,
USER.USERNAME as USERNAME,Employee.ROLEID,ROLE.ROLENAME A... | stackexchange/codereview |
In the admin interface of Magento I need to modify the tables in the Sales / Order / View order so that it shows, besides the products name, their manufacturer as well.
I'm trying to look for the file to modify to make that happen. I thought I would find a section with all the columns that are displayed in app/code/cor... | stackexchange/codereview |
Code contracts work great until you have to add a bazillion Contract.Assume(...) for the results coming out of framework code. For instance, MemoryStream.ToArray() never returns a null array, as best as I can tell from looking at it in Reflector, but it's not documented as a contract, so I have to Assume it everywhere.... | stackexchange/codereview |
I use authlogic for authentication and certain actions require a logged in user, which is controlled via a before_filter like the following. I also use friendly_id on the User model and internally everything there is a look up on the User model there are queries to the friendly_id slug table too. This results in at lea... | stackexchange/codereview |
It is written in the documentation that it is enough to include the Zend_Form_Element_Hash element in a form and that CSRF protection is handled automatically by Zend_Form.
I have added the token like this:
$token = new Zend_Form_Element_Hash('security_token_against_csrf');
$token->setSalt($this->_helper->randomString(... | stackexchange/codereview |
i'm developing a game which already uses httpRiot framework to communicate with a server. Now i'm also trying to add an ad-mob library but i'm getting issues with the other linked flags, if I put the -all_load flag my ad-mob service crashes, and if I take it off HttpRiot crashes, anyone knows if there is a way to make... | stackexchange/codereview |
Good morning every one,
I have donloaded an XML File to my documents folder but how can I determinate the path to the file so I can parse it?!?
I tryed it with
NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
NSString *localPath = [rootPath stringB... | stackexchange/codereview |
Whats wrong with my code? Why does .atrr() show empty?
Thanks
$(document).ready(function(){
$('#push').click(function(){
alert($('#push2').attr('href').val);
});
});
HTML:
<div id="push">PUSH</div>
<a id="push2" href="http://www.google.com">PUSH Google</a>
| stackexchange/codereview |
I want to know how can I get excel cell name like e.g. if I pass RowNumber and ColumnNumber
then function should return me the excel cell name like "A1".
Is it possible?
I am using ExcelWrapper which I found on codeplex.
| stackexchange/codereview |
Visual Studio 2010 switches to "debug view" when i click 'start debugging' - much like Eclipse does.
Can i disable this feature - if so how?
My machine doesn't perform very well - therefore the feature is irritating.
Besides with two monitors i don't need it.
Ctrl-F5 starts without debugging.
That's not what I meant... | stackexchange/codereview |
I am trying to decide if the users Region/Locale settings validates the use of Metric values (in this case if kg or lb should be appended).
I am running 3.2 on my iPad and on the simulator(Xcode 3.2.4).
I have tried out a few different Region settings but I simply can not make it return NO for NSLocaleUsesMetricSystem... | stackexchange/codereview |
I have a huge list of video files from a webcam that have that look like this:
video_123
video_456
video_789
...
Where each number (123, 456, and 789) represents the start time of the file in seconds since epoch. The files are created based on file size and are not always the same duration. There may also be gaps i... | stackexchange/codereview |
I'm new to iPhone development and I still have some gaps that needs to be filled in the first application I'm developing. This app will consume data from a site managed by Wordpress through the Wordpress JSON plugin, which allows to retrieve the posts in the form of a json string.
I wanted my application to store the ... | stackexchange/codereview |
I'm currently working on a web service implementation to a combined web/desktop application (ie. access from different sources).
Now there are two questions I can't really find an answer to:
How would I access the database in the right way (static class? singleton? DI?)? I didn't find any information on using a Web Se... | stackexchange/codereview |
I'm currently working with Spring 3.0.4 and Spring Security 3.0.2 (latest stable release at the moment). I'm kind of struggling migrating from Spring 2.5 to this new version, but that's a different subject.
The real question is coming, inside the <http> tag you can put the <intercept-url>, but it seems like it can als... | stackexchange/codereview |
All,
I've been doing some research on when (and when not) to use Memcached. I'm familiar with distributed caching in terms of it's core objectives. Using Memcacached/similar makes sense to me if you've got a few servers...as it would give you central virtual repository to get your cached data.
That said, if you hav... | stackexchange/codereview |
Here is the code in my Model
include Mongoid::Document
include Mongoid::Timestamps
field :message, :type => String
field :send_at, :type => DateTime
Here is the code for my form partial
<%= f.label :send_at %><br />
<%= f.datetime_select :send_at %>
But the date and time is never populated.
I made sure that M... | stackexchange/codereview |
I tried to reload a particular jQuery UI tab with this code
var currentTab = $("div#tabs").tabs('option', 'selected');
$('div#tabs').tabs('load', currentTab);
and it didn't work, but it works when I change the URI
$('div#tabs').tabs('url', currentTab, 'example_page.html').tabs('load', currentTab);
But the URI of the ... | stackexchange/codereview |
In the source code of AutoCompleteBox (downloadable from Microsoft) I found the following:
/// <summary>
/// Called when the selected item is changed, updates the text value
/// that is displayed in the text box part.
/// </summary>
/// <param name="newItem">The new item.</param>
private void OnSelectedItemChanged(obje... | stackexchange/codereview |
I have a play button, along with a forward button.
The HTML is thus:
<div id="control">
<a href="#" id="pause"></a>
<a href="#" id="next"></a>
</div>
What I want is when someone clicks pause, a play icon comes up, and when they click play, the pause icon comes up again. Now this can be done with toggle, but I ... | stackexchange/codereview |
I'm trying to scrape data from a website that has invalid HTML. Simple HTML DOM Parser parses it but loses some info because of how its handling the invalid HTML. The built-in DOM parser with DOMXPath isn't working, it returns a blank result set. I was able to get it (DOMDocument and DOMXPath) working locally after ... | stackexchange/codereview |
I have a class called Questions. This Questions has properties QuestionID and QuestionAnswer. While iterating through this List of Question in foreach, I have to find .QuestionID = 12. If I find .QuestionID = 12 then I have to immediately assign a value to .QuestionAnswer = "SomeText" of .QuestionID = 14.
I don't wan... | stackexchange/codereview |
i wanted to place the foo/view code below into a property under the Foo model object, but the debug message says 'bar' cannot be found. Why does it work in the views.py, but not work when i place it in models.py( i did remember to import Bar)?
thanks!
foo/models.py
class Foo(models.Model):
title = models.CharField(_(u... | stackexchange/codereview |
Using WinForms I am coding a Component user control where I would like it to be able to display a designer editor form where I could see the list of all the controls names on the form where the component is located.
I got the basic mechanics of the component user control and the support of the designer editor. My quest... | stackexchange/codereview |
I've been using Eclipse with PyDev (on Windows, mind you) for my Python Tkinter project for about a month now, and up until recently I've had no complaints. I start the source for one module (my GUI) like so:
from Tkinter import *
Now, ever since I updated Eclipse to 3.6.1, it shows an error for every call to the Tkin... | stackexchange/codereview |
http://github.com/bestbuyremix/BBYIDX
I manually installed all the gem's required that where in the .gem file, for some reason bundle install didn't work (guess b/c no GEMFILE ?)
I am using rvm, so I have rails 2.1.1 running also.
when I go into the main folder for the application, and run:
rake db:migrate --trace
I g... | stackexchange/codereview |
I wanted to have a look at source code of basic networking services like
FTP, Telnet, rlogin etc.
Can anyone tell where can I get them.
By the way, its not that i didn't google it, e.g. searching for ftp, gives me list of so many ftp variants, but i am intersted in looking at a ftp client/server which ships with Ubuntu... | stackexchange/codereview |
With reference to my previous question about GDB not pinpointing the SIGSEGV point,
My thread code is as follows:
void *runner(void *unused)
{
do
{
sem_wait(&x);
...
if(/*condition 1 check*/)
{
sem_post(&x);
sleep(5);
sem_wait(&x);
if(/*repeat condition 1 check; after atleast 5 seconds*/)
{
... | stackexchange/codereview |
The users that will be installing and using the application I created may not have to access to the Program Files folder. Therefore, my boss and I thought it best that we put the SQLite database in a public location, but not the desktop. We were thinking of the Application Data folder on the All Users profile, but wh... | stackexchange/codereview |
currently I dont know how to identify an aggregate root.
I've got the following classes.
- Garage
- Organisation
- RuleSet
- Rule
- OrganisationRule
- GarageRule
A Garage can have many Organisations.
A RuleSet is an entity where Rules are referenced to.
There are Rules that are directly associated with a RuleSet.
Then... | stackexchange/codereview |
well Javascript confirmation gives the Ok/Cancel Button but I want to create a Confirmation with Yes and No in Javascript can anyone help ??
| stackexchange/codereview |
I have this xml/soap from a sharepoint webservice call:
<GetAllUserCollectionFromWeb xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/">
<Users>
<User ID="ID" Sid="ID" Name="XXX" LoginName="XXX" Email="XXX" Notes="" IsSiteAdmin="False" IsDomainGroup="False" Flags="0" />
<User ID="ID" Sid="ID" Name... | stackexchange/codereview |
In Eclipse, I did: Source > Clean up, and did a clean up according to these rules:
Change non static accesses to static
members using declaring type
Change indirect accesses to static
members to direct accesses (accesses
through subtypes)
Remove unused imports
Add missing '@Override' annotations
Add missing '@Deprecat... | stackexchange/codereview |
Apologies for the long post -- Read a few threads about this, but still find it hard to implement. Basically, I have a collection of objects, defined as:
public class LibData
{
public string Name { get; set; }
ObservableCollection<LibObject> _list;
public ObservableCollection<LibObject> List { get { return ... | stackexchange/codereview |
I have build application using .NET 4.0, WinForms and DevExpress Winforms components.
I have a bug that I cannot reproduce using simple "step by step" method.
I am trying to use core dumps to debug this issue.
I can get core dump and view exception nicely inside visual studio using
adplus -crash -pn Main.exe -o c:\ou... | stackexchange/codereview |
Lets say I have a Person model and a Opinion model. Opinions belong to Person, a Person has many Opinions. Some people are shy.
I am trying to find a set of opinions where the person is 'not shy' or something along those lines. Is there a way to do this that does not involve finding all people who are not shy and th... | stackexchange/codereview |
I'm building a web app that will come back with a report. For certain parameters where the user has requested a dropdown list, they also want to be able to select more than one option at a time.
e.g. show me all transactions from the states of TX, WV, and ID.
The reason I've decided to go with the dropdownlist they req... | stackexchange/codereview |
I have written a little irc bot application in C. It just writes out the server messages to the screen. This is just accomplished with a while loop that reads from the server filedescriptor. How can I concurrently accept input? I would like to now extend it to accept user input so that it can be used as a client applic... | stackexchange/codereview |
I want to my app to keep running in the background with location services. For this I have used:
-(void)applicationDidEnterBackground:(UIApplication *)application {
[locationManager stopUpdatingLocation];
[locationManager startUpdatingLocation];
//timer=[NSTimer scheduledTimerWithTimeInterval:300 target:s... | stackexchange/codereview |
I have to display the Rank of a user for which I plan to use the Rank() function in SQL Server. The Sql query to get the rank is as follows
select a.user_id, RANK() OVER (ORDER BY (a.quant_points) DESC) AS QRANK,
RANK() OVER (ORDER BY (a.verbal_points) DESC) AS VRANK,
RANK() OVER (ORDER BY (a.dilr_points) DESC)... | stackexchange/codereview |
I wonder if the order is important? What do you think?
| stackexchange/codereview |
I would like to start programming for symbianOS and have some starter questions.I am a little confused and would like someone with developing experience to advice me.
First of all what do I need to start programming? I have downloaded S60-5th edition Sdk and eclipse pulsar, are those enough or I need anything else?
als... | stackexchange/codereview |
I had gridview which get data from database according to two event .The first from method ,the second when selected ddl.it worked well ,I made paging and when I go through paging pages I must click two click on number of page to go to this page also all pages get same data for firt page .So plaes any one help me.
<aspx... | stackexchange/codereview |
I have a rest controller example im trying to run that is giving me a headache.
My url im trying to access is localhost/books/edit/1
For some weird reason this route seems to call the getAction with the Controller instead of the editAction. And it throws errors saying that the object doesnt exist.
The controller is,
cl... | stackexchange/codereview |
I'm making an UISlider and I don't find how to change the selectable values, I would like the only values possible be 10 by 10.
The slider begins at 82 and ends at 362. I want the possible value to be 82,92,102,.....
I've tried different things but I don't find
[sliderannonce setValue: [sliderannonce value]+10.0 animat... | stackexchange/codereview |
I wrapped a link with a div-element
$("a[href$='name']").wrap("<div />");
The div-element causes line breaks. To prevent this behaviour I'd like to style my div-element with style="white-space: nowrap;".
I tried $("a[href$='name']").wrap("<div style='white-space: nowrap;'></div>");
For some reason it doesn't work. Ther... | stackexchange/codereview |
I recently wrote a c# program on framework 4, before realising the entire company runs 3.5.
This is a problem mainly because of the charting support.
My question is: is it possible to just embed the dlls that would be missing in the application? So .net is on the machine, just missing some parts that are packaged with ... | stackexchange/codereview |
how would i get a image width using only the image link in jquery?
can someone lead me down the right path please
Thank You,
| stackexchange/codereview |
I need to implement a feature that would allow users to filter table data in Excel like style, i.e. dropdown menu in column headers with list of checkboxes or checkboxes grouped hierarchicaly. For instance for date column I would like to show treeview with year as root node, then month when year node expands and day on... | stackexchange/codereview |
is there a way to reprompt the user to choose a default activity for an intent? For example, user selects his default home apk and I want him to reconsider his choice once again.
I know how to do that on 2.1 and before, but is there a way to do that now on 2.2?
Famous Home Switcher, which did similar thing, does not w... | stackexchange/codereview |
I'm using XAMPP lite on Windows 7, but instead of http://localhost I'd like to have http://mycustomname mapped to a directory myfolder in root/htdocs.
What should I change in httpd.conf?
Many thanks!
| stackexchange/codereview |
I have 2 files, the first contains the following:
...
John Allen Smith II 16 555-555-5555 10/24/2010
John Allen Smith II 3 555-555-5555 10/24/2010
John Allen Smith II 17 555-555-5555 10/24/2010
John Doe 16 555-555-5555 10/24/2010
Jane Smith 16 555-555-5555 9/16/2010
Jane Smith 00 555-555-5555 10/24/2010
...
and the se... | stackexchange/codereview |
Do anybody know which CDN Netflix and Hulu use for hosting their content and what they are paying for traffic/streaming costs?
(meaning; how can they possibly offer unlimited streaming for about $10 per month when considering all the streaming traffic costs I would think that they have to pay?)
Also, is it possible t... | stackexchange/codereview |
When we have a class:
@Entity
Order implements Serializable {
@Id
private Integer id;
...
}
and:
@Entity
OrderLine implements Serializable {
@Id
private Integer id;
@ManyToOne
Order order;
...
}
What row name will the property order map to?
order_id, ORDER_ID or Order_id?
(ommiting th... | stackexchange/codereview |
I want to use a select menu to redirect to another page in Rails.
I tried to add link_to to the select tag but it does not work.
How can this be done?
| stackexchange/codereview |
Is there any way or best practice around device fingerprinting for a rails app? In other words. Given that all cookies are blocked, is there any way, with a relatively good degree of certainty, who the person is before they log in?
My assumption: IPs are unreliable for obvious reasons.
| stackexchange/codereview |
Trying to stream video to windows media player from a servlet (progressive download style). The streaming works, but I have some weird behavior, which I would like to rule out is not caused by a problem in my implementation.
When using WMP to open an url from the servlet, WMP will perform a total of 4 http-get requests... | stackexchange/codereview |
Scenario 1:
I checked out a project, and made some changes to a source file, and did make, and make sees the changes.
Scenario 2:
I checked out the project again to different directory (some reasons), copied the modified source file here, and did make and nothing happens, if I run the program, I don't see my changes, ... | stackexchange/codereview |
I have this function I created to give my wordpress site a body tag...
function give_body_class( $print = true )
{
global $wp_query;
$c = "";
// Generic semantic classes for what type of content is displayed
is_archive() ? $c = 'archive_page' : null;
is_date() ? $c = 'dat... | stackexchange/codereview |
Is it a good practice to catch all exceptions and re-throw them as a specific type -basically to classify all the exceptions thrown from a particular part (or service) of an application?
Something like:
// This class is used to label all the exceptions occured on
// Race Cars Service calls as RaceCarsServiceException... | stackexchange/codereview |
I have made a simple web service
wsdl:
<wsdl:definitions name='mysum' >
<wsdl:types>
<xsd:schema
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.my-uni-project.info/joomla/components/com_jv_vm_soa/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchem... | stackexchange/codereview |
Hi basically I am trying to switch to a popup window then press a
button on that popup window but from somereaon I am getting erros.
Here is an example of the webpage
http://i42.photobucket.com/albums/e326/limpep/example.png
and here is my code
for (String handle : driver.getWindowHandles()) {
... | stackexchange/codereview |
I have a website which currently uses EN-US and I also have resource file for french. what code should I need to write to make the application use the french version of the resource file.
The site is a commerce server and share point site that uses .NET
Any code examples would be great.
| stackexchange/codereview |
When I run this script on my machine ( ubuntu 10.04 32 bit ):
http://pygstdocs.berlios.de/pygst-tutorial/webcam-viewer.html
I click on "Start" button and then I get this error:
# python example-webcam.py
example-webcam.py: Fatal IO error 0 (Success) on X server :0.0.
Why ?
| stackexchange/codereview |
Possible Duplicate:
How will I know when to create an interface?
I'm wondering about the point of using an Interface.
Do you use Interfaces? If so, when do you decide to use them and when do you decide NOT to use them?
I've currently got interfaces defined for my service layers and my repository layers, but I'm wo... | stackexchange/codereview |
I am using Tomcat server in java and wanted to be able to access the ServletContext from the restlet Resource in order to access my cached DataSource object (to pool mysql connections). org.restlet.resource.Resource comes with a Context object but that is not in any way related to the ServletContext. So after some goog... | stackexchange/codereview |
Its time for another very simple question that I can't find an elegant solution for. Basically, I have an app that is using a jQuery Ajax call. In this call, you have to specify a URL path for the service that you are calling. In this instance, I am needing to call this JavaScript function from multiple files in my ... | stackexchange/codereview |
When you create some pointers inside the scope of a function, what happens when the function goes out of scope? Do they get destroyed or should I call delete on them at some point?
void XMLDocument::AddNode(XMLNode& node)
{
std::string val = node.GetNodeName();
TiXmlElement* el = new TiXmlElement(val.c_str());... | stackexchange/codereview |
With reference to C++ iptables redirection forming separate packets, I am facing an extremely peculiar problem now. I am trying to redirect all incoming traffic on UDP port 5060 to port 56790, and all outgoing traffic from 5060 to the port 56789. I used these iptables rules:
iptables -t nat -I PREROUTING -p udp ! -s lo... | stackexchange/codereview |
Is there a validation failed or similar event raised by the MicrosoftMvcValidation.js framework and if so how do I go about hooking into it ?
Currently I have a "global" function that displays a progressing overlay on submit of a form but when validation fails I have no way of removing this ....
| stackexchange/codereview |
I want to know about infopath and also whether it is good to use instead of webparts or not ?
| stackexchange/codereview |
I am using roweditor and inside the row i have a combo.
in the grid, the combo column is the symbol_id (number).
how do i make the combo/grid understand that symbol_id 22 is actually 'EURUSD'.
and force the grid display EURUSD and not 22.
Thanks.
this is my store:
'displayField' : 'symbol'
,'valueField' : 'symbol_id'
... | stackexchange/codereview |
In my C# code, I have to run some external processes. These could be batch files or executables. I redirect the output to a window of my own by having RedirectStandardOutput of the ProcessStartInfo be true. This allows the user to review the output even after the external process has finished. I also redirect the input... | stackexchange/codereview |
Total Objective-C / Cocoa Touch noob here, beware.
I'm trying to intercept when a user long presses on a UITextView (a magnifying glass then appears with the caret positioner) and then releases the touch, i.e. when normally the "Select" and "Select All" Options appear, after the magnifying glass. I want to replace this... | stackexchange/codereview |
I'm trying to find documentation on how to use the MvcScaffold package on nuPack, but I can't find anything anywhere.
I know I have basic intellisense support in the Package Management Console, but I want to do something a little more complicated than your typical scaffolding.
I was hoping there would be some documenta... | stackexchange/codereview |
I'm using EntityFramework for data access and wpf as UI. If I bind WPF components to navigation properties of my entity classes(usually EntityCollection<EntityClass>, exposed as IList<T> in service layer), UI is not updating the changes. I know i have to use ObservableCollection<T> or such, but I need some guidance on ... | stackexchange/codereview |
I have thousands of students records in Excel sheet. Now I will import that all data into Coradata [from Excel sheet to Coredata] and I will create my iPhone application using that coredata.
I don't have any idea, how to import Excel file data into coredata.
| stackexchange/codereview |
I would like to make a backup of my project, but the folder now exceeds 6.6 GB mainly through extra libraries like boost etc, but even if I just select the folders with my sources, I end up with big files like: .ipch, .sdf and potentially others. To make matters worse I use eclipse to code and VS to compile, so that ad... | stackexchange/codereview |
Hi all I want to merge to columns in excel 2003.
For example:
Col1 Col2
------------
1 5
3 4
4 6
7 6
The merged column should look like this:
Col3
----
1
3
4
4
5
6
6
7
Thanks!!
| stackexchange/codereview |
When creating a web-site design, is the only real option to provide a fixed content width?
I notice most major websites (this one included) center all the content into a fixed width, which ensures all elements look correct on all screen sizes.
I think I already know the answer to this, but a colleague seems to think th... | stackexchange/codereview |
I'm trying to display all the values from a specific column created by my Wordpress plugin (specifically, the ID's). Here is the code I have managed to use to display the column names, but I cannot get it to just display all the ID's. Here is the code:
function test() {
global $wpdb;
global $table_name;
$te... | stackexchange/codereview |
I am just a starter at using threads in my code. I use Boost threads usually.
But I don't think I have mastered this field yet.
I am looking for learning material specifically for advanced parallel programming. Could anybody suggest something.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.