instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have an application where the user can connect nodes together to perform realtime calculations.
I'd like to be able to show the user a CPU-usage percentage to show how much of available CPU-time is being used, and a per-node breakdown to be able to spot the problem-areas.
Are there any available open source implement... | stackexchange/codereview |
In my project I'm using directinput to manage the joysticks attached to the PC and it works, but IMHO directimput is terrible to understand and manage perfectly...
Does some other library/method exist to manage the joysticks in C++ in a more pretty mode?
| stackexchange/codereview |
Possible Duplicates:
Is there a string math evaluator in .NET?
Best and shortest way to evaluate mathematical expressions
I have a string variable
string exp = "12+34+4*56+(23*45+12)2/30"
what is the best way of doing it ? without the using of third party dll ?
| stackexchange/codereview |
Precondition - the remoting server and client are both setup, the client is able to invoke methods and receive events in/from the server side by client-activated business object.
Change the ip address of remoting server with keeping the server and client running, the client is still able to do the above tasks.
This is ... | stackexchange/codereview |
i have created Dynamic Treeview in that Treeview i have to add the URL's,could any one give some examples........
please im new in asp.net.........
code given below......
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.... | stackexchange/codereview |
I was asked by a person to create a php code, which is a part of a larger ERP software development project, so that he can test my skills. The code regarding a simple user authentication once the user registers through a form , by putting name, date of birth ,email.(which I have already done through html).
The action p... | stackexchange/codereview |
I almost got what I want now. (Cobbled together from code all over the internet.)
But I need to know how to keep my query from being over written.
Example I have a text field. When a word on the dropdown is selected it puts the text in to the form field. If I select another word it replaces that word. What I want it to... | stackexchange/codereview |
How would I get the names of the open windows on Mac OSX in Objective C? Basically I just want to check if a window with a specific name (ie. "Chrome" to detect if Chrome is open) is open.
The app in question will NEVER run without a window open (unlike Chrome in my example), so detecting running processes may not be n... | stackexchange/codereview |
I have a problem with retaining data in a nested NSDictionary. Or is it something with NSMutableDictionary that will make this work? Take a look, I will try to explain as good as possible.
My .h file looks like:
@interface MyViewController : UIViewController
<UITableViewDataSource, UITableViewDelegate>
{
NSDiction... | stackexchange/codereview |
I'm new to Ruby
MakModule.rb
module Display
class Multiply
def Multiply.mul(first, second)
return first * second
end
end
end
MakRequire1.rb
require "Display"
puts Multiply.mul 5,6
MakRequire2.rb
require "MakModule.rb"
puts Multiply.mul 5,6
both file give me the error below
ruby: No such file or dir... | stackexchange/codereview |
I have a code that set the text of a label to something from code behind and I want that label to disappear after some times? I've tried jQuery but don't want use timer to keep checking if there is text then hide it :(. I heard about the Ajax Toolkit for ASP.Net but many reviews said that not all of the tools working ... | stackexchange/codereview |
Hi All I got some help with trying to set-up a repeater and when i tested his code it still does not work i have tried code from MSDN so can any one show me working code so i can provide a use a repeater to show what's what,
What i have is an XML Feed, http://spiked.appware.co.uk/xml/comments/get/5/
These are then load... | stackexchange/codereview |
In reviewing my code I see some "ugly" structure I use, in a class (called "map") I have a vector which contains a "data" class:
std::vector<PointerToHUGEClass> vector;
Where PointerToHUGEClass is just like the name describes. (though the object pointed too is also owned by the map class, and created with the "new" pa... | stackexchange/codereview |
In this format:
3D:F2:C9:A6:B3:4F
or:
3D-F2-C9-A6-B3-4F
| stackexchange/codereview |
With Tomcat 6.0.x, we can use Http11NioProtocol and get scalable performance. Is there any specific reason/drawback of using Http11NioProtocol, that Tomcat is not using this protocol as a default protocol?
| stackexchange/codereview |
When I build a JAR library using Maven 2 (version 2.0.9 or 2.2.1), the pom.xml of the library is copied in the META-INF/maven/[groupId]/[artifactId]/ directory of the JAR.
However, in my case, the pom.xml has a parent, and I would prefer to get the effective-pom instead of the original pom.xml file (or eventually, havi... | stackexchange/codereview |
I've spent some time in learning CakePHP, by building some webapps. Now I need to test some of them, before I'll put them on a public place.
Can you give me some pointers about how can I simulate a real case environment in order to know which are the problems?
| stackexchange/codereview |
I have been doing a lot of reading up on execution plans and the problems of dynamic parameters in stored procedures. I know the suggested solutions for this.
My question, though, is everything I have read indicated that SQL Server caches the execution plan for stored procedures. No mention is made of Table-value funct... | stackexchange/codereview |
I have a problem with a wordpress widget that I developed.
It 's just a form with an email field, a button and a checkbox.
When the user click on submit, I want to verify if the checkbox is ticked and IF YES submit the form...
My problem is that the form is submitted even tough the checkbox is not ticked. The page is r... | stackexchange/codereview |
We have a legacy application that utilizes VB6, the Flash ActiveX control, and Flash content to display animated movies to users. For plenty of reasons we're looking to migrate away from this. I'm hoping someone out there can answer a few questions about WPF so that we can make a determination about how best to move ... | stackexchange/codereview |
Our client would like to use just one domain name for their site to prevent diluting page rank in search engines.
For example, stackoverflow.com is the domain name they always use. If you type in www.stackoverflow.com you get redirected to the non-www version, as this is their choice for their domain name.
Where should... | stackexchange/codereview |
Our website has school info; when users login to our site with Facebook, we'd like to display a few photos of the user's friends who have attended the school.
The Facepile social plugin will show users who have Liked the school, but that appears to be different from adding the school to your education history. (For ex... | stackexchange/codereview |
I want to calculate 32 bit CRC value for 'input field value" in Ruby on rails.
need the sample code , please help me anyone.
| stackexchange/codereview |
I need to programmatically extract method definition/implementation from Java source file, could you recommend any handy library that I can use?
Thanks.
| stackexchange/codereview |
I think I've read somewhere that the evaluation of negation (!= false) is faster than == true
Is this correct?
| stackexchange/codereview |
Background
I'm looking for hints / pointers on how to approach this. When I search for table or grid, I get the UI stuff which is not what I'm looking for.
I don't know if this sounds like homework, but it is not. This is for a map of crops and I need to determine the crops planted around a particular plot of land.
P... | stackexchange/codereview |
I am learning javascript sample from this page,
I am confused about the following code snippets in function XY(e, v), especially the two statements
event.clientX + document.documentElement.scrollLeft
and
event.clientY + document.documentElement.scrollTop
Could anyone let me know what is document.documentElement.scr... | stackexchange/codereview |
I'm currently working on a large table (150k rows and counting), whilst it was smaller, the query I am trying was far faster, but as its grown, its very slow, even if I limit 1, it can take up to five minutes. I need to speed this up.
There are two tables, a user table (around 5000 records) and a kind of history table ... | stackexchange/codereview |
I have created a blog application with ASP.NET MVC and MSSQL. I must say, i really enjoyed the process of creating an application with ASP.NET MVC. Clean URLS(with URL routing), No view States and so on.
BUT i was wondering how would this would have been done if i choose web-form style coding? will the aspx would be cr... | stackexchange/codereview |
What's the best way to handle the following problem with rails 3.0.3?
I have a Model(id, name) Nationality, in which I store different nationalities
ie: French, German, Belgian
My application should be available in multiples languages, so the select input which contains the nationalities should show French, German, Bel... | stackexchange/codereview |
I have successfully created video from uiimages using AVAssetWriter. But as soon as the writer starts writing video theres a sudden rise in the memory allocation in the instruments. The spike in the memory allocation changes from 3-4 MB to 120MB and then cools off. I have used the following code for this...
-(void)writ... | stackexchange/codereview |
I have the following lines commands:
if %errorlevel% equ 1 (
set/a error=1
if not exist "error.log" echo. > "error.log"
echo the procedure has got an error >> "error.log"
echo. >> "error.log
)
but like this I obtain the me... | stackexchange/codereview |
Possible Duplicate:
Include constant in string without concatenating
Hi
I saw you can call call variables inside strings like this: $X = "bla bla $variable";
Can I also do this with constants, and if I can, what's the synthax?
| stackexchange/codereview |
Hi I'm tring to add a theme option in wordpress to automatically assign the appropriate template to certain categories and single image templates.
I have my theme option built where a user can enter category numbers separated with a coma and I have modified the single.php template to check if the single post is in that... | stackexchange/codereview |
I have an app I would have two XIBs: one for portrait and one for landscape.
I am not sure what is the best way to do that, but my guess is...
I design both XIBs on Interface Builder and link them to UIViewControllers and create another class to manage them. But what class? UINavigationController?
How do I switch with... | stackexchange/codereview |
Is there any API that gives me the page rank of a website programmatically?
| stackexchange/codereview |
I have the following placeholder in my main master page. I would like to not have to duplicate my news content in several content pages, so I choose to simply not provide this content in them, and the master page should provide its default.
<asp:ContentPlaceHolder ID="SideBarContent" runat="server">
<asp:GridView ... | stackexchange/codereview |
I am noticing some extremely strange behaviour when using a class layout that looks like this:
// Contents of assembly A:
public class MyParentClass
{
public class NestedClass
{
}
}
// Contents of assembly B:
public class AnotherClass : List<MyParentClass.NestedClass>
{
}
I can add assembly A as a depende... | stackexchange/codereview |
I just converted a site to Blueprint CSS today, and suddenly all my hyperlinks are showing their URL's in brackets, e.g.
This hyperlink
<a href="Products/List.aspx">Read more</a>
Renders like this
Read More (Products/List.aspx)
I wonder if this might be related to one of the bundled plug-ins in Blueprint?
ADDED: The ... | stackexchange/codereview |
I started reading Apress Beginning CakePHP From Novice to Professional 2008
But I was wondering if there are any other books I should read or Important tutorials I should be doing to be able to build a complete, stable CakePHP project.
Simply put, What did you do to get better in CakePHP development, your footsteps and... | stackexchange/codereview |
Folks!
I have a problem, for example, user join on my page and do some actions, write comments, and push "Back" in Firefox, he looks old content (cache). I'm using Rails 2.3, but don't know, ho to fix it. I need that user push "back" in FF, he will see updated content, not from FF cache. Apologize for my english. :) Th... | stackexchange/codereview |
I'm trying to define a relation over lists...
?- matrix_items([[a,b],[c,d],[e,f]],Rs).
Rs = [a,b,c,d,e,f]. % expected result
So far, I was able to do something like this; unfortunately it doesn't add up all the elements:
sift([],_).
sift([H|T],[H|Re... | stackexchange/codereview |
I am trying to add an exception to my RegularExpressionValidator
Basically I am populating a textbox with the text "Not supplied" if the user hasn't given us the information if they try and submit that field I have a RegularExpressionValidator which only allows 0-9 characters so it shows the error message.
Is there a ... | stackexchange/codereview |
I need to get the email adress from an anchor with a mailto attribute with regex.
this pattern: (.*)<a\s(.*?)(.*)\s*href\=['"]mailto:([-a-z0-9_]+)@([a-z0-9-]+).([a-z]+)['"]>(.*)</a>(.*)
Works in regex coach though it doesnt work with PHP.
Code:
preg_match("'(.*)<a (.*?)(.*) *href\=['\"]mailto:([-a-z0-9_]+)@([a-z0-9-]+... | stackexchange/codereview |
Is it possible to make Gtk IconView (in pygtk) allow selection of multiple icons without the Ctrl key being pressed?
I basically want the behaviour of Ctrl being held down even when it is not held down.
| stackexchange/codereview |
I am trying to dynamically add actionitems, I can add the item and it works when I do this:
HostActionItem := ActionManager.ActionBars[0].Items[0].Items[2];
NewItem := HostAction.Items.Add;
NewItem.Action := MyActionToPerform;
NewItem.Caption := Description;
NewItem.ImageIndex := 1;
NewItem.Tag := 13;
Howev... | stackexchange/codereview |
I want to change right click values which clicking on a particular item on a WebPage and make right click values to functioning. I am a PHP developer..
Kindly see the image below
http://2.bp.blogspot.com/_EzIJxJICfGw/TOuRqAkAn6I/AAAAAAAAAHo/cHERiyuPo90/s1600/right_click.jpg
| stackexchange/codereview |
I'm trying to add a back ground image to UITextView. The image is just a small border which will be placed at the top of text view. (the image resembles teared paper image). I'm using following code
UIImageView *imgView = [[UIImageView alloc]initWithFrame: CGRectMake(0, 0, 320, 13)];
imgView.image = [UIImage imageN... | stackexchange/codereview |
Have a look at this (arguably stupid) code:
public <T extends Appendable & Closeable> void doStuff(T object)
throws IOException{
object.append("hey there");
object.close();
}
I know that the compiler removes generic information, so I'm interested in Java 1.4 code equivalent to what the compiler does (I'm pre... | stackexchange/codereview |
I am trying to create a program that updates 2 different tables using sql commands. The only thing I am worried about is that if the program updates one of the tables and then loses connection or whatever and does NOT update the other table there could be an issue. Is there a way I could either
A. Update them at the e... | stackexchange/codereview |
How these sites gather all the data - questionhub, bigresource, thedevsea, developerbay?
Is this legal to show data in frame as bigresource do?
| stackexchange/codereview |
How add a new layout for front-end in config file, and keep one for admin section
| stackexchange/codereview |
I currently have a query
SELECT id FROM table1 WHERE {filters on table1} AND id NOT IN (SELECT table1ID FROM table2 WHERE condition = 0)
Table1 has a 1 - Many relationship with table2 and I'm looking for all the IDs that have no entries in table2 with condition=0.
Is there any way to rewrite this query without the in... | stackexchange/codereview |
after tweaking my code for a bit I ended up with this little proof of concept code:
private void button1_Click(object sender, EventArgs e)
{
DepartmentRepository repo = new DepartmentRepository();
var entries = repo.FindAllDepartments(); //Returns IQueryable<Department>
treeView1.BeginUpdate();... | stackexchange/codereview |
i need to implement the shift reduce parser in my college ,i need to know how can i implement it using java
is there is any implementations already .... or any sample one
| stackexchange/codereview |
I have found several similar answers but I can't quite get why this is not working;
This is a stripped down version of my real problem, but I have tested it and get the same result;
test1.xml
<?xml version="1.0" encoding="UTF8"?>
<fieldList>
<sourceField name="SourceTime">
<fid>REC_TIME</fid>
</sourceField>
</field... | stackexchange/codereview |
I'm trying to use jQuery Validation plugin with customer error messages in a form on my site. The way to specify customer messages is as follows:
$('#user_new').validate({
messages: {
user_email: {
required: "dd ",
email: "Please enter a valid email address, example: you@yourdomain.com"
... | stackexchange/codereview |
Hello I'm in a situation where the user can Drag and Drop in a calendar situation. If the user takes something off of the calender I replace the spaces with new dropable divs; they have the same scope as the other draggable + dropable elements, but you cannot drop anything onto them. There's no errors, it just reverts ... | stackexchange/codereview |
How would one redirect from www.example.com/section/index.aspx to www.example.com/section using rewrite rules in web.config? It would also have to work for various levels such as www.example.com/parent/child
*Noting that I do not have access to the server. I can basically just edit the web.config file and tell the serv... | stackexchange/codereview |
I am hitting an url when the server shutdown.Then the program hang up.May i know how to handle the error when the server shutdown.I mean at that situation I want to give an alert.
Thanks in advance
this is in objective-c
| stackexchange/codereview |
Names have scope (a compile-time property), while objects have lifetimes (a runtime property). Right?
I often see people talking about temporary objects "going out of scope". But since a temporary object does not have a name, I think it does not make sense to talk about "scope" in this context. The lifetime of a tempor... | stackexchange/codereview |
I got a string "Testing - My - Example"
And I want to split it with " - ".
like this:
variable = innerHTML.split(" - ");
how do i get the size of the array?
| stackexchange/codereview |
I'm trying to write a progress bar or add a loading gif to my Smart Gwt application, which starts in onModuleLoad, and ends when the app is just about to display. Is there some type of event handler that can determine this? I've looked but i haven't found anything.
| stackexchange/codereview |
in the database I have this:
alt text http://www.balexandre.com/temp/2010-11-23_1739.png
in my View, I output like:
defaultMsg: '<%: facebook.Social.PostWallDefaultMsg %>',
and tried like
defaultMsg: '<%: System.Web.HttpUtility.HtmlDecode(facebook.Social.PostWallDefaultMsg) %>',
The output in both codes is:
defaultMs... | stackexchange/codereview |
I'm attempting to read the lines off of a control in an unmanaged application. I've been using the ManagedWinapi to wrap pinvokes, and for the most part it's gotten me where I need to be. I can find the control (it's a ProBrowser class, not sure exactly what that is) and view properties, but none of the information I... | stackexchange/codereview |
Agrh, CSS - the bane of my life. Can someone help out here?
I'm trying to get the following div layout:
*******************************************************************************
*aaaaaaaaaa bbbbbbbbbbbb ccccccccccccccccccccccccccccccccccccccccccccccccccccc*
*aaaaaaaaaa bbbbbbbbbbbb cccccccccccccccccccccccccccccc... | stackexchange/codereview |
I'm sending a first HTTP request out using HttpRequest->send(), and I receive a 302 response with the following Set-Cookie headers:
Set-Cookie: SESSION_SCOPE=1; path=/
Set-Cookie: III_EXPT_FILE=aa2171; path=/; domain=.example.com
Set-Cookie: III_SESSION_ID=193a3ce5aaadea85937c25cd0430332f; domain=.example.com; path=... | stackexchange/codereview |
As a kid, I learned to type on a German keyboard1?. And even though my mom tried to make me use a "learn how to type with ten fingers" program I never did. My hands have their very own muscle memory about how to type. I found out that I use the index fingers most to reach many characters, while my hands are moving over... | stackexchange/codereview |
I am showing an image of differences in presenting borders for div elements between IE and FireFox. IE displays border in a correct way but FireFox not. As you might notice, the black border for BorderDiv seams to not respect the fact that its parent div has height of 78 pixels. Instead of it respects the height of mos... | stackexchange/codereview |
I have multiple CakePHP Projects hosted on same domain and some randoms folders with randons files, for organize I separated APPs on folder, but I have the "main" app that are in site folder, when user access domain it should rewrite URL to /site, my problems are with randoms folders, when I try access domain.com/exist... | stackexchange/codereview |
My Application model object contains a date field (time stamp):
@Entity
@Table(name = "MYTABLE")
public class Application {
private Date timeStamp;
...
}
I'm trying to construct a JPQL query that would select all applications that were changed today (i.e. their time stamp was changed anytime today). What is the... | stackexchange/codereview |
Can I add arbitrary properties to JavaScript DOM objects, such as <INPUT> or <SELECT> elements? Or, if I cannot do that, is there a way to associate my own objects with page elements via a reference property?
| stackexchange/codereview |
I have been experimenting with code that will clear all of the cookies in an HttpContext.Response.
Initially, I used this:
DateTime cookieExpires = DateTime.Now.AddDays(-1);
for (int i = 0; i < HttpContext.Request.Cookies.Count; i++)
{
HttpContext.Response.Cookies.Add(
new HttpCookie(HttpContext.Request.Co... | stackexchange/codereview |
In one View I need about 50 UIButtons.
I would do it as 5x10
first line UIButtons started with A1, A2 and ....
Second line UIButtons started with B1, B2 and ....
....
how can I emplacement and generate the buttons.
Also after I did implement how I can call it in XCode! For example if I would create IF statement for A1 ... | stackexchange/codereview |
I'd like to experiment with ActiveRecord for its great session/transaction scope management and its good attributes mapping strategy. I usually use Nhibernate + Fluent Nhibernate to build my DAL.
I'm stuck into that strange problem : ActiveRecord doesn't want to load my types from an assembly that is located in GAC... ... | stackexchange/codereview |
Using code example in free ebook Moving to visual studio 2010. I am unable to get the code to run. Getting error copied in below.
The code example and ebook is downloadable here
Link
This is the code I am trying to get to run: 'the correct solution can be found at Documents\Microsoft Press\Moving to Visual Studio 2010\... | stackexchange/codereview |
i've made a download function to download messages to a CSV file (code is below).
Now when i open it up in notepad or notepad++ i see this:
é NY ø ╬ ║► ░ ê ö
(and that is what is in the database btw)
Now, when i open it up in Ms-Excel it shows this:
é NY ø ╬ ║► ░ ê ö
When i open it up in notepad++, it say... | stackexchange/codereview |
I would like to apply a sort of semi-transparent (configurable alpha channel value) filter (an png, activity, don't know yet how) over the screen and this filter to not process touch events.
How can I do this ?
Later edit: no I don't think is possible what I want in this manner, I need another solution.
Basically I wan... | stackexchange/codereview |
In my application I have an overview of objects. Each object is a UIButton, which has its own UIImage (button.imageView). The user can drag objects around. Thereby, objects in the upper part of the display are considered to be 'in the back' while objects in the lower part are 'in the front'. Objects in the back are dis... | stackexchange/codereview |
Is it possible to order the first enquiry and keep the rows returned as first and not order the second enquiry. (If that makes sence)
An example of my current enquiry is :
SELECT
*
FROM
Devices
WHERE
Live = 'true'
AND Category = 'apple'
ORDER BY
ListOrder
UNION
SELECT
*
FROM
De... | stackexchange/codereview |
Is it possible to render D3DFMT_A8 texture with some colour? Like this:
D3DXCreateTexture (pDevice, 128, 128, 0, D3DFMT_A8, D3DPOOL_MANAGED, &pTexture)
...
pSprite->Draw (pTexture, NULL, NULL , NULL, 0, pos, 0xffff0000); // red
Thanks!
| stackexchange/codereview |
We have recently upgraded from Reporting Services 2005 to 2008 R2. In the 2005 version of Report Builder (1.0), you could only create reports from a published model. In the 2008 version (3.0) you can create reports from a model or from a SQL query.
We'd like to restrict users from being able to create reports from a SQ... | stackexchange/codereview |
I'm new to Android and Java. I'm doing a login page program. In that program I don't know how to do user authentication or validation process.
please help me
public class demo extends Activity implements OnClickListener {
/** Called when the activity is first created. */
EditText txtbox1, txtbox2;
private DataHelp... | stackexchange/codereview |
I am using javascript window.open method to open lets say http://www.google.com [its always going to be some external url]
I have stored the reference of the window object in a variable, the problem is that variable never gets null on the parent page and I am not able to alert the user that the pop up has been closed.
... | stackexchange/codereview |
I have links and when one is clicked there is an id added which changes the colour. The other links have the class removed so there colour will retun to normal. This is working with javascript disabled and I can even see the code working in firebug but for some reason cufon keeps the selected class colour. Any help ple... | stackexchange/codereview |
I'm using jQuery Mobile to build a Mobile Web App... The problem I'm having happens when calling "internal" urls using the # syntax. For example, I have the following code:
About
Whenever someone "taps" on this link on the iPhone, the address bar (which is hidden at time of tapping) pops down and displays the new link ... | stackexchange/codereview |
I have a change event that is working fine but I need to get it to recurse.
So I have a function that is triggered on change that will "change" other drop downs based on a class selector (notice "drop downS", there could be more than one). This proxy change does not trigger the function and so fails. How can I get it t... | stackexchange/codereview |
I newbie in Android and before ask question here i was googling, but on this question i can't find answer. (also this stackoverflow.com/questions/4195089 don't have answer).
In my test app on emulator i have error ERROR/Cursor(1512): Invalid statement in fillWindow() on LogCat when i press back button on second activit... | stackexchange/codereview |
I'm starting a new session of bash using a command like this:
exec bash --init-file <(cat /etc/profile ~/.bashrc $ANOTHER_SCRIPT) -i
I'd like to also change the prompt of new session without having to add another init file... I suspect my best bet is something like this:
exec bash --init-file <(cat /etc/profile ~/.bas... | stackexchange/codereview |
since the netsend command has been removed in vista and windows 7 is there a way to send a popup message to all the users in a Domain or in a specific OU?
The folling code gets the Pop up message, but how can i make this popup on the OU computers or users?
(New-Object -ComObject wscript.shell).popup("this is a one lin... | stackexchange/codereview |
What is the best way (elegant/efficient) to copy two arrays into a new one ?
Regards,
F
| stackexchange/codereview |
I have two services:
a provider of data and a receiver.
i try to do this way:
PROVIDER:
Intent i1 = new Intent(feasibilityEngine.this, SOSFeeder.class);
i1.putExtra(SENSOR_STRING, "f[i]");
startService(i1);
RECEIVER
Intent intent = getIntent();
Bundle b = new Bundle();
int i = b.getInt(SENSRO_STRING);
but i can't use... | stackexchange/codereview |
I have 3 tables :
table_product (30 000 row)
---------
ID
label
_
table_period (225 000 row)
---------
ID
date_start
date_end
default_price
FK_ID_product
and
table_special_offer (10 000 row)
-----
ID
label
date_start,
date_end,
special_offer_price
FK_ID_period
So I need to load data from all these table, so here i... | stackexchange/codereview |
I'm trying to make an image stick to just above the footer on the bottom left hand side of the main content, under a left nav, but what with all the floats etc, I simply cannot make it stay where I want it. Here's a link:. I've tried margins, positioning on left nav elements - you name it.
I'd love a fresh pair of eyes... | stackexchange/codereview |
I have trying to modify values using pointers within nested foreach loops in PHP..
The following line however does not seem work:
// Assign a the attribs value to the array
$link_row['value'] = $args[ $u_value ];
The variable $args[ $u_value ]; is populated and can be output without issue, but when i added it to the ... | stackexchange/codereview |
Hi i want to move Visual Studio 2008 C#.NET project to Visual Studio 2010. My existing VS2008 project Solution have multiple projects.My vs2010 is a WPF project , i moved some core project VS2008 to VS2010 WPF project. Successfully convert and added into VS2010 project but i am not able to reference converted project.
| stackexchange/codereview |
I've just started working through the Rails 3 tutorials so that I can develop a bit of familiarity with the framework, but I'm running into issues with the generation of schema.rb. My operating system is Windows 7 x64, Ruby 1.9.2, MySQL2 gem 0.2.6, Rails 3.0.3.
I have two migrations created, one for my lists:
class Cre... | stackexchange/codereview |
I want to reorder WPF tab control in using C#
| stackexchange/codereview |
I want this type of toggle button please click the link below to see my requirement :
http://www.redbus.in/Booking/SeatSelection.aspx?rt=4017230&doj=30-Nov-2010&dep=04:55%20PM&showSpInst=false
| stackexchange/codereview |
Any way to get the html of a webpage even when the header is set to 404? Some pages still have text on them, and in my case I need to read that text.
Example C# code for getting HTML:
public static string GetHtmlFromUri(string resource)
{
string html = string.Empty;
HttpWebRequest req =... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.