instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Technically speaking that whenever we change the pointer of an object (mean index position) does it affect object state? then how can it be safely achieved?
updated:
//Java:
public static Collection reverse(Collection collection) {
LinkedList newCollection = new LinkedList();
Iterator i = collection.iterator... | stackexchange/codereview |
I have this:
function tp_visible(action){
if(action==1){
document.getElementById("tp").style.display='block';
document.getElementById("tp_action").onclick='tp_visible(0);
return false;';
}
else {
document.getElementById("tp").style.display='none';
document.getElementB... | stackexchange/codereview |
I have a requirment to have communication between two processes using message queues. One process sends the request to another process and other process sends response.
For example one of the request is list all the filenames opened by the process. I have made interface structure as
#define LIST_NAMES 1
#define LI... | stackexchange/codereview |
I'm developing a GWT application with a Spring backend that uses JSR 303 validation. The application can go offline and use the browser HTML5/Gears database instead.
What is the best way to implement the client validation? So far I have found gwt-validation framework (http://code.google.com/p/gwt-validation/) but it se... | stackexchange/codereview |
So I have a table view that I am filling with custom table cells. The problem I am running into is it starts to slow down while scrolling when lots of items start filling the table. (I have implemented a dynamic scroll so as the user scrolls there is a method that goes out and fetches the next x items from the server... | stackexchange/codereview |
How can I set the height of forma grow while entering new things?
| stackexchange/codereview |
How do you find the disk size of a specific index in sql server 2005?
| stackexchange/codereview |
I have a plugin to a game server that writes down changes made to a map.The database contains entries formatted like this - id INTEGER PRIMARY KEY,matbefore INTEGER, matafter INTEGER, name VARCHAR(50), date DATE. I am trying to create a function that, when given a column name, an integer, string, or tuple of an integer... | stackexchange/codereview |
I have a hierarchical data structure which, as far as I can see, needs to have a series of successive many-to-many relationships.
It goes something like this:
Company
Account
Treaty
Benefit
Policy
Person
With the following relationships:
Company 1---8 Account
Account 1---8 Treaty
...all still fun
And then, many to man... | stackexchange/codereview |
I tried to create a video tag in ASP.NET 4 in MVS 2010 but it didn't work. Is HTML5 already applied to Microsoft Visual Studio 2010? or do i need to install some kind of a software to make it function? I am asking about a safe Microsoft add-on or any other valid way.
| stackexchange/codereview |
I have two SQL queries with about 2-3 INNER JOINS each. I need to do an INTERSECT between them.
Problem is that indiividually the queryes work fast, but after intersecting take about 4 seconds in total.
Now, if I put an OPTION (RECOMPILE) at the end of this whole query, the query works great again working quite fast re... | stackexchange/codereview |
I'm having a problem with spinners in a form activity.
I was expecting a spinner to gain focus when a user "touched" it but this does not seem to happen. A spinner only seems to gain focus if I use my tracker ball (on a Nexus One) to move between the different components.
This is annoying because I'm using the android:... | stackexchange/codereview |
I have LINQ result, and I have List.
I want to do Where() on the LINQ and to REMOVE all the matching strings from the List.
I get errors of:
Local sequence cannot be used in LINQ to SQL implementations of query operators except the Contains operator
What can I do?
| stackexchange/codereview |
I'm on Step 5 of doing my first GWTTestCase. I can't find the required "gwt-dev-windows.jar". I'm on Eclipse 3.5 and GWT SDK
Run your test case. Use the class junit.textui.TestRunner as your main class and pass
the full name of your test class as the command line argument, e.g. com.example.foo.client.FooTest. When ... | stackexchange/codereview |
I have a container that contains my content, and I am using sideBar for my links. By default sidebar puts it on the side of the page. So I edited the css to move it next to the div called container. But if people use different resolutions it throws it off.
first div is sidebar and the second is container. i tryed
<s... | stackexchange/codereview |
I want to know what functions are being called and what time each request is taking for an application which is running on apache.
Is there any tool or any other way where i can get this data.
I also want to know how much time each function is taking.
The application is running it cannot be stopped.
So i need to get th... | stackexchange/codereview |
I inherited a web app with a desktop-like look-and-feel. It uses tables for layout. I need to make the "panels" of the GUI resizable (like split panes).
An example of what I need to accomplish: http://demos.dojotoolkit.org/demos/mail/ (The resizable content areas)
But instead of using divs for the layout I need to use ... | stackexchange/codereview |
i want to create a dynamic generated form using javascript, everything works fine, until i try to pass an array as parameter. When i do this, an error happens. Coulr anyone explain what this is?
Heres my code:
var loadFrm = function(component) {
for(nItem in component) {
var myComponent = "add" + firstToU... | stackexchange/codereview |
I'm working on developing a CoverFlow type UIScrollView implementation quite similar to this
https://github.com/thefaj/OpenFlow by Alex Fajkowski. I'm developing it more as a learning exercise as I keep finding the requirement to do similar things for menus/selections in my user interaces.
Alex's OpenFlow example is gr... | stackexchange/codereview |
It's possible to perform joins across different databases using LINQ? If yes then how?
| stackexchange/codereview |
I am not an expert with hibernate, as stated in the subject, I have an Object with a Collection of object in it.
I tried to use a
session.delete(myObject)
and the entity with all the related children gets correctly removed from the database.
However when I run a simple named query:
<query name="deleteByID">
DELE... | stackexchange/codereview |
First I want to thank everyone for helping me, It gave me a lot of ideas on how I should do this and I came up with my own method I just need help putting it into a query
I want the user to input a date, then get the current year. subtract the two and then do the dateadd that everyone was posting. Is this possible and ... | stackexchange/codereview |
I am using jQuery UI to get a nice 3 tab layout using their tabs feature. Everything works great if I have a text within each of the < li> elements that describe the tab text. It turns out it would be super handy to have a little icon on one of the tabs. The icon is made to clarify the tab's feature, and it would be on... | stackexchange/codereview |
i have tables driver, cars and trailers they are all in relationship. and main table named Transportation with relationship driver. i use inner join to show transportation on my datagrid there are columns : LoadName, transportationStart, End, DateTime, DriverName, carSerialNumber, trailerSN and so on... its shows every... | stackexchange/codereview |
See Server Fault: How do I configure proxy settings for LOCAL SYSTEM?
I have a Windows service that needs to start up IE with certain proxy settings (e.g. host name and port). If the service is configured to run as some normal user (e.g. me), I can ensure the required IE proxy configuration by programmatically settin... | stackexchange/codereview |
I need a way to upload a file and POST it into php page
the php is on apache server
and i use this c code in my desktop application:
It's a socket by c code
When I execute the Program , can get
The file size is 772906
open server ok
The file size is 772906
Connect to server ok
Open file ok
fread 102400 bytes, Sendin... | stackexchange/codereview |
I have written the following class:
public class SortingObjectsWithAngleField implements Comparator<Point> {
public int compare(Point p1, Point p2) {
double delta = p1.getAngle() - p2.getAngle();
if(delta == 0.00001)
return 0;
return (delta > 0.00001) ? 1 : -1;
}
}
Then, i... | stackexchange/codereview |
I am a newbie for Hibernate. Hope you guys can help me debug below error which really make me crazy.
I got a table called CONTENT_WORKGROUP which will map to another table called CONTENT_WORKGROUP_ROLE. Below is the table structure and sample data:
CONTENT_WORKGROUP
CM_WORKGROUP_ID NUMBER(15,0)
WORKGROUP_ID ... | stackexchange/codereview |
I admit, I'm new at this whole Android stuff. I am trying to make an app but randomly I get Force close errors and I really don't know why. My application has many activities, none of them finish() when I start a new one. I get data from the web (via web services and direct image downloading) and I use AsyncTask a lot.... | stackexchange/codereview |
V1 of this question can be found here: jQuery: menus appear/disappear on click
The difference with the first question is my HTML structure. Once I started implementing the megamenus with CSS, things weren't displaying the way I needed them to.
Here's the basic HTML:
<ul>
<li><span>Products & Services (1)</span></l... | stackexchange/codereview |
I've successfully used the following sed command to search/replace text in Linux:
sed -i 's/old_link/new_link/g' *
However, when I try it on my Mac OS X, I get:
"command c expects \ followed by text"
I thought my Mac runs a normal BASH shell. What's up?
EDIT:
According to @High Performance, this is due to Mac sed b... | stackexchange/codereview |
I have an application where if a user presses a button, one ajax request is sent to a ColdFusion page in the background. This one request may take up to 20 to 30 seconds because it has a lot of records to insert into the database, etc. I was wondering if they close the browser or navigate to another page if the ColdF... | stackexchange/codereview |
Getting this error from Passenger (with Apache). Not sure what it means...
dlopen(/path/to/myapp/shared/bundle/ruby/1.9.1/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle, 9):
Library not loaded: /usr/local/mysql/lib/libmysqlclient.16.dylib
Referenced from: /path/to/myapp/shared/bundle/ruby/1.9.1/gems/mysql2-0.2.6/lib/m... | stackexchange/codereview |
It says here ( http://www.xml.com/lpt/a/798 ) that you should avoid using complexTypes in XML Schema. How to I use Attributes without complex types?
| stackexchange/codereview |
class MyClass():
def printer(name="abc", description="123")
print name + description
This is python...how can you translate that to objective C?
| stackexchange/codereview |
I'm using XSLT and need to generate the doctype dynamically in the transformed output, based on a parameter.
I hear that this cann't be done using XSLT 1.0, but can with version 2.0, using the result-document tag.
So far, from following the answer in this question, I have something like this:
<xsl:stylesheet xmlns... | stackexchange/codereview |
I'm writing an obj-c app and would like to upload a binary file a few megs in size to my appengine server (python). I'm guessing I need to use the blob entity for this, but am unsure how to go about doing this. I've been using http requests and responses to send and receive data up to now, but they've been encoded in... | stackexchange/codereview |
So I am working on a project. Very small to learn ASP MVC 2.
Currently I am working on my computer and for my db I am using a sql server database file (mdf). When I host this online, the server will probably have sql server full version.
So my question is can I use LINQ to SQL ORM designer to design my database? Add ... | stackexchange/codereview |
While trying to delete the data from my SQL Server CE 3.5 database, I am getting error:
Update requires a valid DeleteCommand when passed DataRow collection with deleted rows"
While it is ok with Access database.
Please advise. Thanks!
| stackexchange/codereview |
I am using SQL Server 2005 and in one of the tables i have a column that stores stored proc name. While inserting values in that column I want to ensure that a stored proc of that name exists in the database.
ALTER TABLE MyTable WITH CHECK
ADD CONSTRAINT [CK_MyTable_MyColumn] CHECK ((SELECT COUNT(*) FROM sys.sysob... | stackexchange/codereview |
I'm really not sure if this is the correct forum for this, apologies if I should aim this elsewhere.
I've been given (as a very silly experiment IMO) a Windows 7 x64 machine at work. This might be fine if I didn't have to get anything done. Unfortunately, since we're running SQL Server 2005, I need BIDS 2005 in order t... | stackexchange/codereview |
I have the following scenario. A Task that generates events and might throw an exception:
public event EventHandler<EventArgs> MyEvent;
new Task(() =>
{
while (condition)
{
// Generate standard .NET event.
MyEvent(this, new EventArgs());
// Maybe throw exception.... | stackexchange/codereview |
What is the fastest jQuery v1.4.4 Ajax content respond way by server-side? I use PHP and MySQL.
Do I have to convert MySQL data to JSON or XML format? Or is there simpler way to have fastest Ajax respond by MySQL?
I might to use jQuery Address State for it - https://github.com/asual/jquery-address, but seems it has to... | stackexchange/codereview |
I have the following code using normal Zend routing and I need to convert it into Zend routing using XML:
$route = new Zend_Controller_Router_Route_Regex(
'test/v([0-9]+)-([0-9A-Za-z-:?&\'() ]+)\.html',
array(
'action' => 'someAction',
'controller' => 'someController'
),
array(
1 ... | stackexchange/codereview |
I have a problem with progress dialog on opening an activity (called activity 2 in example).
The activity 2 has a lot of code to execute in this OnCreate event.
final ProgressDialog myProgressDialog = ProgressDialog.show(MyApp.this,getString(R.string.lstAppWait), getString(R.string.lstAppLoading), true);
new Thread() {... | stackexchange/codereview |
I need a IM client that support yahoo and allow user to set yahoo IM server address.
Yahoo IM servers names (scs.msg.yahoo.com, scsa.msg.yahoo.com, scsb.msg.yahoo.com, scsc.msg.yahoo.com) are not accesible through my company LAN, so I should use IP addresses of their servers.
| stackexchange/codereview |
I am grabbing a JSON response from AJAX request, the output is something like this
{
"update":
[{
"selector":"#selectorname",
"attribute":"value",
"value":1
}],
"hide":[
"#tohideselector1",
"#tohideselector2",
"#tohideselector3"
... | stackexchange/codereview |
I want to encrypt file and store it in SD card. I want to decrypt that encrypted file and store it in SD card again. I have tried to encrypt file by opening it as file stream and encrypt it but it is not working. I want some idea on how to do this.
| stackexchange/codereview |
I think I am missing something here, but I really can't see what it is. Shouldn't a variable declared outside a function be available throughout the whole page? What I'm trying here I have already seen before, so I guess the basic idea should work. In this case I always get the alert to tell me "false", so I guess it a... | stackexchange/codereview |
i know that is should use migrations, just asking. it would be useful/beautiful to be able work on local mysql database adding fields, indexes etc.
and then
schema dump
git push heroku ...
heroku db:schema:diff:apply <- !!! without loosing remote data
i know
can't haddle table/fields rename case
this is bat babbit
... | stackexchange/codereview |
This code work great if there are no null values returned. But I noticed during testing that if any value is null then it throws and error and breaks the rest of the script.
How can i skip the value if null, or set it to something else.
function fqlQuery(){
FB.api('/me', function(response) {
... | stackexchange/codereview |
I call a function "foo.action?request_locale=en" on my form. There is an xwork-validation on that page and I expect to get an validation error in the given language. What I get is a page in Finnish - my browser default language - and I expected one in English.
How it is possible to change the used language on a jsp pag... | stackexchange/codereview |
In a subclass of NSManagedObject my overridden implementation of willTurnIntoFault is being called twice when undoing some code which originally created the object in question. This results in a crash when attempting to double-unregister for KVO on a key path.
The Apple documents say this is the right place to un-regi... | stackexchange/codereview |
I cant ponder how to do that. We have clients who use our transportation service. I constructed sql server table with name Debt its relationed with transportation ID and client ID. Clients always pay money at end of month. How can i do with c# or sql server that count all entries from month begining to end of month ?
S... | stackexchange/codereview |
Dear all, I have a navigation-based app with about 60 views.
I have run with the following :
1. Build and analyse : bulid is successful with no complains.
2. Instruments allocation and leaks : no leaks.
However, the app crashed in iPhone or iPad but works fine in simulator.
The crash occurs at around 50th view.
There i... | stackexchange/codereview |
Im quite new on Android and I have some question for all of you who are experts!
Ok, my problem...
I implemented a client-server application based on socket programming. The server encode some packets, send them to the client through a socket and the clinet decode them.
I tested the code with two linux machines and it ... | stackexchange/codereview |
I've been using Eclipse - 3.52 Galileo - for Android work. That's the version my project group is using so I don't have the option of using a different one. My PC in XP Pro, SP3.
Mostly it works fine but it crashes several times a day - maybe 3 crashes in a 10 hour workday. Usually the crashes happen in the middle ... | stackexchange/codereview |
Actually this is a two parts question:
First, is ip2long a good IP validator? Suppose someone inserts an IP in a form, and I want to validate that it is correct. Is it OK to just check that ip2long doesn't return FALSE ?
Second: What do you think about checking the IP of the visitors, and denying access if it's not a v... | stackexchange/codereview |
I am programming for Android 1.6, the following code works in 2.2 (API Level 5):
Intent intentChooser = Intent.createChooser(intent, "Choose between these programs");
Intent intentTest= new Intent(Intent.ACTION_VIEW);
....
Parcelable [] parcelable = new Parcelable [1];
parcelable[0] = new LabeledIntent(in... | stackexchange/codereview |
Can´t apply an easing method to Jquery ScrollTo:
$("#scroller").scrollTo(target,1000,{axis:'x',easing:'linear'});
This doesn´t ease anything...
Im starting to use jquery now (been using prototype for long) so this is surely my mistake.
Do I need an easing plugin to achieve this? What are the easing option for this plu... | stackexchange/codereview |
when dealing with non-english filename.
The problem is that my program cannot gurantee those directories and filenames are in English, if some filenames using japanese, chinese character it will display some character like '?'.
anybody can suggest me wat i need to do to access non english file name
| stackexchange/codereview |
In a shell script how to use rsync --password-file option
rsync -a root@123.123.12.3:/root /backup
| stackexchange/codereview |
How can I increase line space in UITextView so that it looks like "Notes" app in iPhone?
| stackexchange/codereview |
Am developing one apps using sqlite.I created database in main Activity ,I created that database in the "MODE_WORLD_WRITEABLE" mode.I can only access this database within alone that activity only,but i need to use same database for all activity.What can i do for single database for all the activity accessible within ... | stackexchange/codereview |
I encoutered an essential problem while making an iPad app, where u HUGE amount of text will be displayed.
I need to create blocks of text that can line break and also be linkable(for calling certain functions on each block). I thought that Core Text should be used.
Which is the way to assign the position of touch wit... | stackexchange/codereview |
am working in C# on ADO.NET, i connected with my database successfully and everything is fine so i put check in side while(reader.Read) to check specefic value but the condition is giving false everytime i try,
string qry = "select * from LoginTB";
reader = db.select_data(qry);
while... | stackexchange/codereview |
I wrote a trivia game in Flex (flash). The site is written entirely in Flex. Almost all of the text is pulled from a database. It also has a fair number of images. The image file paths are pulled from the db.
My site's not getting any hits. If I check on google site:mysite it the url appears only. I know that inbound l... | stackexchange/codereview |
I need to make a cube with smooth corners and smooth edges in C++ with OpenGL.
For all I know I have three options: Bezier curves (maybe, is it possible?), a cube with cylinders for edges and spheres for corners or load a .3ds of a cube.
Any ideas?
| stackexchange/codereview |
I created a custom Google map with my own tiles, and I am trying to find the latitude and longitude of points to place markers. I am using Google Maps API v3.
Following the "Event Context V3", I can get the lat/long of the centered position using this script:
google.maps.event.addListener(map, 'dragend', function() {
... | stackexchange/codereview |
If I have this:
<a href="#" id="the-link"><em>any random text</em></a>
Or this:
<a href="#" id="the-link">any random text</a>
Or this:
<a href="#" id="the-link"><em><div id="foo"><span>any random text</span></div></em></a>
I would like to capture the text "any random text" and then replace it.
How can I do this with... | stackexchange/codereview |
Process1 runs in machineA. Process1 has opened server portX.
Process2 runs in machineB. Process2 has opened server portY.
Process1 & Process2 exchange messages over 2 different tcp channels.
Process1 opens client socket to portY of machineB and start sending msgs to Process2. (tcp channel 1)
Process2 opens client so... | stackexchange/codereview |
I just want to get the value from xml node.So I following the code from php document:
SimpleXMLElement::xpath() .But it didn't.And I thought the Xpath is much more inconvenience ,is there a much better way to get the node I want??!
my php code:
<?php
/**
* @author kevien
* @copyright 2010
*/
$arr = array ();
$xml... | stackexchange/codereview |
how do I set a value of a textbox in Visual C++?
I have been trying the following but the line strTemp.Format("%d", nNbr); does not compile
thanks
int nNbr = 5;
CString strTemp;
strTemp.Format("%d", nNbr);
textBox.SetWindowTextW(strTemp);
| stackexchange/codereview |
This seems like an easy question that I just can't wrap my head around.
Using Devise for authentication and CanCan for authorization on a new Rails 3 app.
How can I access methods defined in ApplicationController within the Ability class that CanCan provides?
a.k.a., something like this:
class Ability
include CanCan... | stackexchange/codereview |
I'm attempting to use the lwjgl library and I'm starting from scratch on a new Windows 7 install.
I downloaded the latest JDK 6 from the Oracle website. After installing it, I found that commands like "java" or "javac" weren't being recognized from a windows cmd prompt. So, I edited my path variable and appended the ... | stackexchange/codereview |
I'm looking into how I can get values from specific XML nodes in an XML file that I have. In my application, I have the entire XML file in a string, and I want to grab the specific information from there. I've heard a little bit about DOM and SAX, but I don't exactly know where to start. Any help?
| stackexchange/codereview |
Basically I have a third party shopping cart and I'm selling pdf files, the shopping cart connects to the paypal shopping cart and the customer is then able to pay with paypal, I was just wondering how is it possible that I can check if a customer has paid with paypal and then redirect the customer to download the requ... | stackexchange/codereview |
I'm looking for a safe and functionally way to implement areas in MVC 1.0. My application is very big, with something about 150 controllers and 200 views, and at now we have to stay on the MVC 1.0, so porting to 2.0 is not an option..
I took a look in the phil haack solution but it doesn't work for typed views, and I f... | stackexchange/codereview |
I am trying to enable SSL in my Tomcat.
But when I start Tomcat and go to https://localhost:8443 I see
An error occurred during a connection to localhost:8443.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
To do that I used CA.sh to generate private ke... | stackexchange/codereview |
The problem: At the moment im compiling on Ubuntu but my server is running Fedora/Redhat. Ubunutu uses boost 1.42 and linux latest at this very moment is 1.41. So what i decided was to download the boost lib and put it in the folder of my workspace
Here is the directory structure
/workspace
/myprogram
/src
... | stackexchange/codereview |
Similar question, but not exactly the same.
table.showColumn() is helpful, but the scrolling only has the granularity of the column width. But I want a more precise control of the scroll location.
Consider the following use case. I have two tables that I know are of the same width and have the same column widths. And I... | stackexchange/codereview |
im trying to get AMF to work with Rails3.
I have succesfully installed rails3-amf-0.1.0 gem and the RocketAMF-0.2.1 gem.
In my app there is a controller with the following code:
def getRandomCards
@incoming = params[0]
@cards = Cardvo.first
respond_with(@cards) do |format|
format.amf { render :amf => @cards... | stackexchange/codereview |
I have a "MainWindow" with a table that shows all books in an overview. If I select an entry (or more than one) and click "Show selected", new JFrame(s) are opened with the corresponding objects ("DetailView"). Since the "MainWindow" is still active, I'm able to open the same item twice (two "DetailView" for the same o... | stackexchange/codereview |
I have std::vector which contains my own class and I have to access its functions and voids.
class A
{
private:
int var;
vector<string> vec;
public:
void setVar(int i) { var = i; }
void setVec(vector<string> a) { vec = a; }
};
I have also return functions but I didn't bother to type them. And I h... | stackexchange/codereview |
I want to alter some arguments from texonomy_term view.
function MYMODULE_views_pre_execute(&$view){
if ($view->name == 'taxonomy_term') {
$view->set_arguments(array(1)); // I want to change first arg to '1'
}
}
But nothing works. On term page the result remains the same (default).
| stackexchange/codereview |
I'm working on a large php site that currently does not use any framework. My big question would be, is it advisable to slowly try to work a framework into the application over time, such as in new parts that are created and older parts as they are updated?
For example, all pages are served directly by url, and dozens... | stackexchange/codereview |
I want to define a constant string containing non printable characters in C. For e.g - Let say I have a string
char str1[] ={0x01, 0x05, 0x0A, 0x15};
Now I want to define it like this
char *str2 = "<??>"
What should I write in place of <??> do define an string equivalent to str1?
| stackexchange/codereview |
I was adding some images to buttons and when i complied then suddenly errors started to appear on all buttons that were previously working fine
error is at this line
this.buttonJobCard.Image = global::Management_Studio.Properties.Resources.car;
above line was added by VS and now if i erase resources and place a dot af... | stackexchange/codereview |
It seems like it should be simple enough, but im having trouble wrapping my brain around it. Normally you would declare an object in one of a couple ways
ClassName a;
a = new ClassName();
or
ClassName a = new ClassName();
etc...
but since you're explicitly declaring these at compile time i get confused when Im suppo... | stackexchange/codereview |
I am writing an application with data grid and I want something similar to ExtJS GroupingView.
Is there something like that coded already ?
I have seen QTitan DataGrid but it is not free and not opensource.
Thanks.!
ExjJS grid looks like this:
ExjJS grid image
| stackexchange/codereview |
I'm slightly puzzled by something happening in an asp.net application.
There's a control on the page which does an ajax request (using an UpdatePanel and a Trigger) every 5 seconds to loop around some images being displayed.
I've created a WebControl which fetches information from Twitter, and despite not being part of... | stackexchange/codereview |
Is it possible using jQuery to create an <iframe> element and append html content to it without having src attribute specified?
The problem is I need to create an iframe and I already have its content (I get it as AJAX response). Unfortunately, I can't specify the URL I get response from as src attribute. I'd like to d... | stackexchange/codereview |
I had a discussion at work regarding "Inheritance in domain model is complicating developers life". I'm an OO programmer so I started to look for arguments that having inheritance in domain model will ease the developer life actually instead of having switches all over the place.
What I would like to see is this :
clas... | stackexchange/codereview |
I have data representing the position of particles for multiple time steps and need to create an animation showing the movement of these particles.
Are there any frameworks or toolkits (ideally Python based) out there does something like this out of the box, or at least something that makes it easy to quickly plot spri... | stackexchange/codereview |
I have a very large string (HTML) and in this HTML there is particular tokens where all of them starts with "#" and ends with "#"
Simple Eg
<html>
<body>
<p>Hi #Name#, You should come and see this #PLACE# - From #SenderName#</p>
</body>
</html>
I need a code that will detect these tokens and will put it in a li... | stackexchange/codereview |
Mapping:
<class name="PhoneTypeTest" lazy="false" table="PhoneType">
<cache usage="read-write"/>
<id name ="Id" type="Int32" unsaved-value="0">
<generator class="identity"/>
</id>
<bag name="Resources" table="PhoneTypeResource" lazy="false" cascade="all" inverse="true">
<key column="PhoneTypeId" />... | stackexchange/codereview |
I have this in the <head>:
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
It will force the latest rendering mode for IE, but is Compatibility Mode considered the last one?
I mean, for example: using this code with IE8, it will force it to use IE8 or IE8 Compatibility Mode?
| stackexchange/codereview |
I need to remove the # from url when my event.value is == to /.
I've got a lighbox with jquery.address that stores references to open images, when i close it i need to remove the # mark becouse this cause window scroll top.
I succed remove the # mark with this: window.location.href.slice(0, -1); but as you can see in t... | stackexchange/codereview |
I need to get the list of items provided by sharepoint. For ex., If I create a document library, here the item is will be a document. Similarly, if I create a picture library, the item will be picture and if I create a pages library, the item will be Page and so on. I want to get the list of all these items such as Pag... | stackexchange/codereview |
Table structure:
Table: People
| Name | Skill1 | Skill2 | Skill3 | Skill4 | Skill5 |
| Tom | Cooking | Cleaning | Eating | | |
| Jane | Typing | Cooking | Sleeping | Flirting | |
| John | Tennis | | | | ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.