instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have feature on my website (some UI and associated functionality) that I want to be able to reuse on multiple pages. For the purposes of this question, let's say it's a "Comments" feature.
There is an area in my application for Components and within the area are a controller: /Controllers/CommentController, and two ... | stackexchange/codereview |
Hi
i dont know why i call a function in "msg" class
it has no respond:(
this is the "msg" class:
msg.h :
#import <UIKit/UIKit.h>
@interface msg : NSObject {
}
-(void) Print;
@end
msg.m :
#import "msg.h"
@implementation msg
-(void) Print {
NSLog(@"Hello World");
}
@end
viewController.h :
#import <UIKit/UIKit... | stackexchange/codereview |
I have a WF4 Service with a flowchart as the root activity. It contains multiple correlated receive activites and decision branching to step through an approval process. The receive activities work perfectly until I try and use one as the trigger for a pick branch.
I am running tracking so can see that the receive is o... | stackexchange/codereview |
What is WindowsTokenRoleProvider for?
Can I delete it from web.config?
I'm using forms authentication.
| stackexchange/codereview |
I have a strange error. Normally, we have a DLL that handles our networking. Let's call that MyNetworking.dll. We use it everywhere in our servers and clients and have done so for 5 years. I haven't had a problem with it, until now.
I have an "XMLPoller", that reads XML from a MySQL database, serializes that into a byt... | stackexchange/codereview |
I'm trying to get to the bottom of what appears to be a memory leak in a customer's VB.NET ASP.NET application (we didn't write the code).
Two things spring out at me:
They have a data access assembly with a single data access class which when instantiated runs this code in the constructor:
public SqlServer(string co... | stackexchange/codereview |
I am using Delphi 2010 to build a Win32 GUI application running on Windows XP/Vista and Windows 7.
Basically, the Application.MainForm is a read only property and can't be changed at runtime once the first form is created via Application.CreateForm:
begin
Application.Initialize;
Application.MainFormOnTaskbar := Tru... | stackexchange/codereview |
I have a query that looks like the following:
SELECT someString FROM
(
SELECT someString FROM someTable
WHERE someField = 1
) X
WHERE dbo.fnMyClrScalarFunction(X.someString) = 0
The problem is that the query optimizer is moving the UDF inside the subquery, where it is applied before the fairly restrictive 'so... | stackexchange/codereview |
Do I need to enable Interactive desktp for it to work and what is the correct code to start an EXE or cmd window? I'm still unable to start the service even when I had enable it to interact with desktop.
I would be using an chat engine so it is easier to manage as a windows service.
What wrong with my code?
using Syst... | stackexchange/codereview |
Sanity check, please. The solution I'm hearing sounds ill-conceived, but may be the only one.
From within an .hta over .vbs app I'm running
cscript c:\Windows\System32\iisapp.vbs
It works great from the CLI and fails from within my little app. This is because I'm on a 64 bit box, and my calls to c:\Windows\System32 ... | stackexchange/codereview |
I'm using mod_rewrite to turn friendly URLs ( site.com/page/ ) into script friendly ( ?page=page ) That is all working perfectly except for one thing. If you leave off the trailing slash on the URL it breaks and gets a 404.
I tried using the solution in this post (slightly modified), but it doesn't appear to be workin... | stackexchange/codereview |
Anyone know how to send a CGI response in Ruby before the CGI script is finished executing?
I'm creating a fire-and-forget HTTP API. I want a client to push data to me via HTTP and have the response return successfully, and then it swizzles the data and does some processing (without the client having to wait for a res... | stackexchange/codereview |
I've taken the following example from JS Bin:
HTML
<p id='js'>Hello, World!</p>`
JavaScript
document.getElementById('js').innerHTML += ' – this was inserted using JavaScript';`
Now, I'd like to do the same with jQuery. Since I couldn't find a way to use += with jQuery selectors (otherwise I wouldn't ask this question... | stackexchange/codereview |
can someone please recommend a horizontal navigation bar with a horizontal second tier that uses images. When the user hovers over an image, a mouse over changes the image.
Something similar to this....http://www.sohtanaka.com/web-design/horizontal-sub-nav-with-css-jquery/ but using images.
i started off working on thi... | stackexchange/codereview |
Which is the right way to call base class move ctor?
this (works in MSVC2010, but not in CBuilder2010):
struct Foo
{
Foo(Foo&& other) { }
};
struct Bar : public Foo
{
Bar(Bar&& other) : Foo((Foo&&)other) { }
};
or (works in CBuilder2010, but not in MSVC2010):
struct Foo
{
Foo(Foo&& other) { }
};
struct B... | stackexchange/codereview |
What is the correct way to sort polygons so that they blend properly? The basic concept I think is to render the furthest polygon first back to closest in order. But what about cases of intersecting polygons?
| stackexchange/codereview |
Is there a way to get the size of previously allocated memory on a heap?
For example:
//pseudo-code
void* p = operator new (sizeof(int) * 3);
unsigned size = getSomeHow(p);
| stackexchange/codereview |
I have a code in which user has to pass > 0 number otherwise this code will throw. Using type of this arg as std::size_t doesn't work for the reason that negative numbers give large positive numbers. Is it good practice if I use signed type or are there other ways to enforce it?
void f(std::size_t number)
{
//if -1 i... | stackexchange/codereview |
As I understand, template aliases in C++0x will allow us to do the following:
template <typename T>
using Dictionary = std::map< std::string, T >;
Dictionary<int> ints;
ints[ "one" ] = 1;
ints[ "two" ] = 2;
I have two questions:
First, will we be able to do this (bind to any type, or just templates):
template <typena... | stackexchange/codereview |
for example, I need to create an array of buttons, which names are button1,button2...button10.
could you show me, how to add those 10 buttons to an array?
for (int i = 0 ; i<=9; i++)
{
[myarray addObject:???];
}
Thanks!
| stackexchange/codereview |
I need to implement user authorization using Facebook OAuth for my page exactly as it is done here at Stack Overflow. I know how to obtain an access token from Facebook but don't know what to do with it next. Could your please provide me with a link to some guide?
| stackexchange/codereview |
How can I list all the network adapters available on the computer, as well as their status and type. For instance:
Ethernet: Connected
AirPort: Off
FireWire: Not Connected
Bluetooth PAN: Connected
Just like the Network settings in OS X does.
Specifically I want to figure out if Bluetooth PAN Is connected or not.
Any he... | stackexchange/codereview |
How do I extend a simple InputDialog in an eclipse plugin to put additional checkboxes, radio buttons, etc?
| stackexchange/codereview |
i am using sqlite3.
this query is't workin for me
SELECT * FROM tablename where Rank > 5 and Statid='0 & 1';
here i want to select all those records wit statid 0 and 1 . how shld i do this???
| stackexchange/codereview |
I have a JPA TableXXX class that contains the following field:
@Column(name = "CreatedOn")
@NotNull
private Date createdOn;
When I compile and deploy my app it throws an error:
Caused by: org.hibernate.HibernateException: Missing column: created_on in TABLEXXX
I am using Hibernate 3.5.5 and Oracle 10g. the CreatedOn ... | stackexchange/codereview |
Ok so I'm working on my homework and am having trouble getting the Count function to work correctly.
I am supposed to use "A query that lists all teams that have more than 4 players (in the players table). Include the columns team_id, team_name, and the count of players for that team."
It is just a simple NHL database... | stackexchange/codereview |
We have a web app running on a Windows server, which allows a user to do some processing and download the results. The result is a set of files which are dynamically created on the server and zipped into a single file for facilitating the download process.
Everything works fine on Windows, but when users download the ... | stackexchange/codereview |
I want to read a 50MB file and send it over tcp. The file contains only floats. First I created only a Mainwindow, witch reads one line and sends it to the Server, but the gui got frozen. So I created a class that depends on QThread called QSendThread. Here is the Code for the class QThread:
#ifndef QSENDTHREAD_H
#defi... | stackexchange/codereview |
I have the following simple slide down hover menu.
$(function(){
$('.sub-menu').hide();
$('.menu-item').hover(
function () {
var target = $(this).children('ul');
$.browser.msie ? target.show() : target.slideDown(150);
},
function () {
var target = $(this).children('ul')
$.br... | stackexchange/codereview |
Hi
How can I convert an enum to IList?
Suppose you want to read all elements in FormWindowState enum, and return an IList<FormWindowState> containing Normal, Minimized and Maximized
| stackexchange/codereview |
I have a situation where I want to set the hide the cell if cell.textlabel.text == nil.
I tried using heightForRowAtIndexPath...
But this event is fired before the cellForRowAtIndexPath event and that's why I doesn't get text of the cell.
Is there any way that I can set height of cell to zero if there cell.textlabel.te... | stackexchange/codereview |
I am using Core Data. From there i am retrieving 10000+ data
Using NSOperation, i am displaying huge data on UITableView.
but as i can see in XCode Instruments my memory usage continuously increasing
thats the reason, crashing activity is there in device not in simulator
Any one would like to comment on this ?
| stackexchange/codereview |
I am creating an iPhone application which makes a iphone act as a pendrive for easy file sharing.
In the first stage, i have some files(png, pdf, jpg, zip) in a directory and i made them display in the tableview in the form of mutable array. It displays in the tableView as shown below,
.DS_Store
.localized
gazelle.pdf... | stackexchange/codereview |
I had written one windows service in C#.NET which fires on every miniutes... I want to execute certain code(some logic) on every month on say xyz date.... this task shld repeted on every month on same date... So can any one tell me how to do this..? I mean to say the block of code which i will write shld get executed o... | stackexchange/codereview |
I need to replace all / with \ in all matches of the pattern src="" within a string.
I.e., the pattern starts with src=" and ends with "
There could be multiple matches within the string.
I've tried this but it didn't match:
"src=\"^*\"$"
| stackexchange/codereview |
I need to create tab View at runtime by using java code .
Note:
without using xml design
| stackexchange/codereview |
I want to chain methods in Javascript (using Node.js).
However, I encountered this error:
var User = {
'deletes': function() {
console.log('deletes');
return this;
},
'file': function(filename) {
console.log('files');
}
};
User.deletes.file();
node.js:50
throw e; // proces... | stackexchange/codereview |
Does the HTML 5 draggable attribute have a value auto if so can I place it in an element like in the following example. <p draggable="auto">...</p>.
| stackexchange/codereview |
I'm making a flash movie and I'd like to load a background image into my SWF and paint it to the stage using the Bitmap and BitmapData classes.
Am I approaching this properly? What code gets the image from the Loader to the BitmapData? Also, how do I get the image to show in the background?
I've never understood the B... | stackexchange/codereview |
I am making my own simple webserver and I have gotten text files and html files to send perfectly, but when I try to send images, I am having some issues, and I can't figure it out.
Here is what I have. I know sending one byte at a time is inefficient but it was for testing.
char buffer[1];
send_header(new_fd, get_fil... | stackexchange/codereview |
What performance counter should I use to detect WCF channel leaking (client use the channel but does not close it at the end)?
| stackexchange/codereview |
think about this:
StreamReader reader = null;
try
{
reader = new StreamReader(_fileName);
}
catch
{
//show error that file not found
reader.Dispose();
return false;
}
try
{
//code to read file
}
catch
{
//show error badly formed file
}
finally
{
reader.Dispose();
}
//return
the code above... | stackexchange/codereview |
I have an evaluation kit which has an implementation of ARM Cortex-A8 core. The processor data sheet states that it has a
ARM Cortex A8™ core, which operates at speeds as high as 800MHz and Up to 200MHz DDR2 RAM.
What can I expect from this system? Am I right to assume that the memory accesses will be a bottleneck be... | stackexchange/codereview |
I tried using the sql-mysql mode but emacs is unable to find the file/directory mysql. However, I can access it from the terminal. How do I point mysql in emacs to /usr/local/mysql/bin/mysql ?
| stackexchange/codereview |
I know there are PHP debugging tools available, but I'm curious about doing something like this myself.
Is there a way to obtain the data that is being processed by PHP for debugging purposes? For example, without having to change the code of my PHP application, is there some way, when I run a function, I can see what ... | stackexchange/codereview |
I have an array of integers and I know the range of values of these integers
I want to create a data structure in O(n+k) time that can allow me to find the number of integers in some range in the array in constant time.
Is this possible, I don't want to sort the array though, is this possible with some sort of balanced... | stackexchange/codereview |
I have a few Oracle procedures that generate/return a large amount of data that I need to write out to a file. I'm currently trying to accomplish with a data-reader. It seems to be working, I've successfully generated a 479mb file without any trouble. It took less than 4 minutes from the time I retrieved the dataRea... | stackexchange/codereview |
When a spam email from a company comes in... how can i use google to search for real email adresses at the same domain to get a legitamate unsubscribe or to be an equal nuisance to the company? For example if camelbackford.com sent me unsolicited spam how can i search the internet for real email adresses like "@camelba... | stackexchange/codereview |
Here's what I added to my config/routes.rb:
devise_for :users, :controllers => {:invitations => "invitations", :sessions => "sessions"}
This doesn't work, if I try to sign in I get a template missing error.
How do you configure this for controller inheritance for invitations and sessions? And make the routes in the co... | stackexchange/codereview |
The code snippet below is intended to open a specific worksheet of a specific XL file and make it the active worksheet. However, the debug.print gives an output of different sheets. Shouldn't objws.activate make objws the active worksheet?
Dim XLApp As New Excel.Application
Dim ObjXL As Excel.Workbook
Dim ObjWS As Ex... | stackexchange/codereview |
I'm using SQL Server 2008 and just recently started having an intermittent problem while querying a database.
At least once a day I'm having timeouts with many of our applications because of a slow query. There is no particular time this happens; sometimes in the morning, sometimes afternoon. Every time I begin trouble... | stackexchange/codereview |
In my ruby code, i am using Backticks (`) to execute a php script like:
result = `php #{RAILS_ROOT}/lib/php/test.php`
How can i pass arguments in this php script?
How can i grab the arguments inside the (php) script?
thanks!
| stackexchange/codereview |
Can someone provide an explanation as to how modern programming languages (java, c#, python, javascript) cope with the limitations of randomness and where those limitations (time-based seeds for example) originate. I.e if they are imposed by the underlying operating systems and intel based hardware.
Basically i'd like ... | stackexchange/codereview |
I have a figure canvas in a ScrolledPanel in a Panel. I want to change the size of the figure canvas. E.g.
mplFigure.set_figheight(1.0)
someobject.soSomethingThatResizeItAll
How can I do this?
Thanks
David
Here's my construction code.
panel = wx.Panel(self) # we put the scrollablePanel in the panel so later ... | stackexchange/codereview |
How can I add multiple backgrounds to a single webpage? I mean different backgrounds in different sections.
| stackexchange/codereview |
Say that I have a table with two rows, and a cell in each. I want the first cell to have a height of 70% of the screen or webbrowser window.
If the height property is set in tr or td the cell get height in percentage of the table not the screen. I don't want the whole table in percentage of the screen because I want th... | stackexchange/codereview |
I am trying to design an algorithm that creates random points in a square.
The problem is: if we have a mxm square, we randomly create n points with 1 < n < m²
The algorithm has to be efficient, that means if m = 500, we can have either n = 1000 or n = 100 000. And the cost of the algorithm must be the same. So m shoul... | stackexchange/codereview |
I am currently translating a windows form application, written in VB6, to a webpage written in Visual Studio 2010.
In VB6 it is easy to find out which control has focus on the form using '.getFocus()'. I have come to the conclusion it is not that easy, if at all possible, in vb2008.
Is this possible to do?
| stackexchange/codereview |
I'm was messing around with some parsing of a binary file when I came across something I was wondering about.
The Stream.Positionproperty is of the type Int64or long. Why is this? Shouldn't it make more sense to use a UInt64 since the position in a stream can't be negative?
Anyone know what's the use of this being a si... | stackexchange/codereview |
When I start my emulator whether in Eclipse or from command prompt, the emulator causes a buzzing sound, and will not exit, I MUST restart my computer. When I add the -noaudio command line option, there is no buzzing, and the emulator will exit perfectly. Any suggestions
| stackexchange/codereview |
I am using a jQuery carousel, downloaded from here: http://www.thomaslanciaux.pro/jquery/jquery_carousel.htm
It uses pagination, and applies a class called "active" to the current page number when the page number is clicked. I want to trigger an event to happen when this class is applied, since it also uses left and ri... | stackexchange/codereview |
I have the following content types:
Lesson
Challenge
When creating a Lesson, there is a Node Reference list of Challenges. I would like to be able to drag/drop sort the list while adding/editing a Lesson.
| stackexchange/codereview |
The plugin is inserted this way -
{gmapfp id="1" zmap="10" wiki="2" hmap="700"}
Now, if i was getting the id number from the url or from the cookie, then how do i set it dynamically?
| stackexchange/codereview |
Yesterday I discovered, that I can't reload my script rss.rb using load. It only do something unknown for me for several seconds, returns true and doesn't execute script. But It can be loaded (once) with no problems using require_relative. I had to rename script file, to use it as I wanted.
So why require_relative work... | stackexchange/codereview |
When working on several AS3 projects that share a common code base, FlashBuilder seems to be losing workspace data when switching from one project to the next. I will often get a message that such class could not be found , when the class is actually in the path but was probably modified in the previous project.
To fix... | stackexchange/codereview |
I am trying to install rails on Ubuntu 10.04. So far, I've executed these commands:
apt-get install build-essential libapache2-mod-passenger apache2 rubygems ruby1.8-dev libopenssl-ruby
gem install fastthread
gem install rails
Fastthread installed easily. However, trying to install rails results in:
ERROR: Error inst... | stackexchange/codereview |
I've got two webpages one
<html>
<body>
<p><a href="page2.html">Link</a></p>
</body>
</html>
And the second page.
<html>
<body>
<script type="text/javascript">
document.write(document.referrer);
</script>
</body>
</html>
The second page is always blank, it doesn't seem to be picking up the r... | stackexchange/codereview |
I need to have a Views that is different for different roles. But, I don't know what will happen when a customer meets the requirements for all the displays for that View. Which display will she see?
| stackexchange/codereview |
If I wanted to build an application that gave people "custom" email addresses (like posterous or flickr email for sending content) for use within my web app, is there an application, webservice or specific server that someone could recommend for me to build my code against?
It seems like setting something up like smart... | stackexchange/codereview |
I have a php array like this:
array(
[0] =>
array(
... 3 elements ... )
['cat'] =>
'FF'
...
['iPath'] =>
'http://www.xx.com/images'
...
['dispName'] =>
'Fast Food'
...
)
[1] =>
array(
... 3 elements ... )
['cat'] =>
'G&L'
...
['iPath'] =>
'http://www.xx.com/images'
...
['dispName'] =>
'Grocery & Liquor'
...
)
[2] =>
... | stackexchange/codereview |
How to setup a multi value dropdownlist from a list collection...
Datasource: Listcollection which contains ColorCode and Description...
how to I setup a dropdown with Colorcode-Description like ORG-orange...
then how to capture these selected value as colorcode only by removing description for update purpose...
Now ... | stackexchange/codereview |
I have two tables in db,and one owns a foreign key from another,the fllowing is the schema:
//table featureInfo
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for featureinfo
-- ----------------------------
DROP TABLE IF EXISTS `featureinfo`;
CREATE TABLE `featureinfo` (
`Id` int(11) NOT... | stackexchange/codereview |
I'm trying to get the clicked cell in a headertable to do sorting, but I want to handle this in another class, the class that implements the table. If I write out the cell in the headertable class is prints the right cell id, but when adding the clickhandler to the implementing class the id is always 0.
Example:
publi... | stackexchange/codereview |
Unless I'm going crazy, I didn't have to do this as of a few days ago. For example, changes to HTML files do not require a server restart to take affect, but when I do simple modifications to, say, my views.py file, I need to restart the server. Is this how it is and I'm am actually going crazy, or is there a configura... | stackexchange/codereview |
(excuse me for my bad english)
I have installed 'Microsoft Visual Studio 2008 Pro' and its 'MSDN Library' (SP1).
Next, i'v installed 'Windows Mobile 6 Professional SDK Refresh'.
'Platform SDK' or 'Windows SDK' is not installed.
Question: how to integrate WM6 SDK help into the VS help system?
That is, for example, i am ... | stackexchange/codereview |
on my site, I'm trying to display the hiking trails with the latest posted pictures (Scroll to the "Picture section: http://www.trailheadfinder.com/trail_search/latest_trails). However, the current query I use, is showing the trails in order of the "first" picture posted. So when a new picture is added at a later date,... | stackexchange/codereview |
I am having this problem and Dont know the reason
I have this structure
typedef struct
{
Int32 frameID;
Int32 slotIndx;
Int32 symNumber;
} recControlList;
recControlList *recControlListPtr;
Datatypes are typedefs.
Caller function is :
Fun( recControlListPtr);
Fun declaration is
Fun (rec... | stackexchange/codereview |
I have an EJB JAR + JSF WAR that runs fine on local GlassFish deployed from NetBeans, but if i try to deploy the WAR on an online GlassFish, I get the following error:
Exception while loading the app :
java.lang.Exception: java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.LifecycleEx... | stackexchange/codereview |
I need to write simple but effective and scalable TCP proxy, that would accept connections on one IP:PORT and forward the data to, possibly large, number of clients listening on their IP:PORT pairs.
The question is, if there is a reason to use Twisted here? Will there be any gain, I cant see now, but will see upon proj... | stackexchange/codereview |
I've declared two variables, COURSE_ID_List and COURSE_ID_timerId. They then get passed as parameters to the SetFilter function from the OnKeyUp event.
If the list is undefined, it should initialise it. The problem is that the list is always undefined, so I assume the COURSE_ID_List used in the OnKeyUp event is being p... | stackexchange/codereview |
I have a model called Graphic, each graphic belongs_to one model called Book, the graphic model has 1 style and I want to add a 2nd one called "dealer_logo":
:thumb => ['75x75>],
:dealer_logo => ['200x45>', :jpg], :if => Proc.new {|file| Book.find(self.book_id).origin_id == 33}
I only want the dealer_logo style ... | stackexchange/codereview |
Our customer wants to order by the record creation date. To me this seems like a system variable, some sort of meta data for the record itself.
Is there a way to tell when a record was created without actually creating a datetime field with a default of GetDate() and hope that no one modifies it?
| stackexchange/codereview |
I want to access an object which is created in some method of a class, from other method of same class.
public class SomeClass implements SomeInterface{
public void someMethod(int a, int b){ //Implemented method
{
SomeOtherClass soc = new SomeOtherClass();
//some setting process
}
public int someOtherMethod(){
SomeO... | stackexchange/codereview |
This question is about WordPress cms.
How to create a new admin user with wanted password using a simple script, hosted on same site?
Like, we have site http://example.com/
And the script http://example.com/ourscript.php
If we open the script page, there should be created one more admin user in admin-panel.
It can be d... | stackexchange/codereview |
I have a Python class that looks like this:
class Mine:
def __init__ (self, param1=None, param2=None, param3=None):
self.param1 = param1
self.param2 = param2
self.param3 = param3
What should my Elmer glue file look like for this class? If they were all strings, I would guess this:
class Mi... | stackexchange/codereview |
I'm custom drawing a menu item in a MenuStrip. The problem I'm having is that the menu item insists on sizing itself based on the text, which is not what I want (there is no text). I can set AutoSize to false and explicitly specify a size, but the containing menu (ToolStripDropDown) still sizes itself based on the text... | stackexchange/codereview |
I have on my page 2 DIVs that uses jScrollPane and I want each one to have its own track bar, by default this property exist in CSS file and applied to the 2 DIVs.
I want to add a specific track bar to the second DIV without interacting withe first one.
How I can do that?
Thanks
| stackexchange/codereview |
I was wondering how you can insert multiple rows into a MySQL database using one connection instead of opening and closing multiple connections. The data being inserted is coming from string[] so I used a foreach loop to get to each value.
Here my current non-working C# code:
string[] tempfin = table.Split(',');
string... | stackexchange/codereview |
I have a layout that is loaded in the Activity's onCreate(). I then add an extended OpenGL view to the layout. On the activity's onConfigurationChanged() method I want to load a new layout, and move the OpenGL view into it so I don't have to re-create all of the textures/objects/etc. that is under it which takes a whil... | stackexchange/codereview |
I wanted to know what is the best way to implement multiple cell types. I have a app wherein there will be multiple types of table cells. What out of following would be best approach:
1) Put all the cell types in one NIB file, tag them and then use them as needed.
2) Create different cell view classes and instant... | stackexchange/codereview |
Hi i've found a example on this site on how to make a subclass of the application for android.
I've created this code
package mensand.test;
class TestApp extends android.app.Application {
}
Added this line to the manifest
android:name="mensand.test.TestApp"
And when i run the app it's starts with a force close messa... | stackexchange/codereview |
I'm setting up a WCF client and server scenario that needs to be reliable and scalable and as part of that I'm trying to make it multithreaded. Admittedly I don't have extensive multithreading experience.
On the client, the callback from the server (in this case "OnMessage") fires a client-side event that should be pas... | stackexchange/codereview |
I followed a tutorial about resizing background images on this link
How To: Resizeable Background Image
I was trying to edit it to work on div with width of 900px so it will resize only vertically and I have no idea how to make it work.
Any one can tell me how to do it as I want.
Thanks
| stackexchange/codereview |
Whats the best way to store sftp server connection credentials in web.config? It consists of 4 things:
IP
user
password
port
Thanks :-)
| stackexchange/codereview |
I there
I'm using an asp.net user control with a tree view.
When I load the page I want to scrool the user control to the selected node in the tree view.
I'm using js function .ScrollIntoView(true).
But this is scrolling the entire page (not only what is inside the user control)
here's my code
//js
function ScroolToFi... | stackexchange/codereview |
Merely out of convenience, I'm hoping to, using a server side language, just output a simple <script> tag with jquery's document.ready() function. Is this considered bad practice? I know some people consider inline javascript bad practice, which makes me wonder about this.
| stackexchange/codereview |
I have a property grid control that has many cell editors that automatically gets applied using a CellEditorTemplateSelector. Each property grid row is bound against a simple PropertyItemViewModel.
Now, I'm trying to reuse all these cell editors and present it in a DataGrid to be able to compare multiple object values... | stackexchange/codereview |
here is example data:
10914_Excel Short Summary.xls
F:\MassHunter\DATA\10921_PAIN\QuantResults\10921_PAIn.batch.bin
10918_Excel Short Summary.xls
10923_Excel Short Summary.xls
10922_Excel Short Summary.xls
10913_Excel Short Summary.xls
10912R_Excel Short Summary.xls
F:\MassHunter\DATA\10907_PAIN\QuantResults\10907_PAI... | stackexchange/codereview |
Seems like the internet doesn't have a definitive answer, or set of principles to help me answer the question. So I turn to the great folk on SO to help me find answers or guiding thoughts :)
SpecFlow is very useful for BDD in .NET. But when we talk about BDD are we just talking integration/acceptance tests, or are we ... | stackexchange/codereview |
I am using:
Event.observe(window, 'load', function() {
$$('li').invoke('observe', 'mouseover', function(event) {
this.children[0].toggle();
});
$$('li').invoke('observe', 'mouseout', function(event) {
document.children[0].toggle();
});
});
<ul>
<li>
<div style="display:hidden;">Hidden Div</... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.