instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have received a legacy .Net c# solution with many class library projects to review, re-factor and reuse. This solution is not used anywhere and lying in the code junkyard. The solution is compiling properly though.
There are 4 primary methods, that is needed from the main class library. I just want to retain all the ... | stackexchange/codereview |
I'm working on a platform=app for games and I want the user to be able to choose games like some kind of an add on, then it will download some file (a game) which my app knows how to read and work with.
Basically, what I want is to build a market without apk files.
Or to generate a new kind of apk files.
I hope you ca... | stackexchange/codereview |
I had a few questions about Accelerate framework.
What is the difference between Single Precision Float, Single-Precision Complex, Double-Precision Float, and Double-Precision Complex? And what should I be using for a simple struct like:
struct vector
{
float x;
float y;
float z;
};
Also can someone explain ... | stackexchange/codereview |
In my Application am trying to display an image in a rectangle and am using DrawRect method.The problem is at the output am seeing nothing.Only blank screen in simulator.Here is the code:
- (void)viewDidLoad {
[super viewDidLoad];
[self drawRect:CGRectMake(78, 43, 222, 138)];
}
- (void)drawRect:(CGRect)... | stackexchange/codereview |
Are Tkinter StringVar (IntVar, FloatVar, etc) thread safe, eg. can a background thread read or write to these objects? Or must I use a Queue to pass information between my background thread and my main Tkinter GUI thread and have my main Tkinter thread pop the Queue and update the application's StringVar's accordingly?... | stackexchange/codereview |
My source code (below) is generating Error CS0563 because both of the parameters in my CombinedJobs operator+ (see "//Step 5: ..." in source code) are listed as Job (as opposed to int, double, etc). How can I change this code to eliminate this error? This code is in response to the assignment listed below.
Assignment:
... | stackexchange/codereview |
When a connection to port 80 is established, I read that these client requests are handled by child servers(in case of prefork MPM) or server thread(in worker MPM) but not by master server(the apache process that is started first by the root user and which is responsible for forking new child). But how, these child ser... | stackexchange/codereview |
Hi
I was wondering if there was a way I could conbine these 2 Macros as I want it to Sum Invoice_list_Price if it has either or both "(Custom) CREDIT" or "CREDIT" Criteria,
Thank You.
Range("DebtorList_Credit") = Application.SumIfs( _
Range("Invoice_list_Price"), _
Range("Invoice_list_Debtor"), _
Range("Debtor_l... | stackexchange/codereview |
I’m looking for some information regarding how I would create a demo period in my Android application. Essentially, I would like a user to be able to use my app for say 5 days. What sort of methods are available to be able to determine how long the user has had the application?
The only solution I can think of is to ... | stackexchange/codereview |
Consider this Enum:
enum State
{
On,
Off
}
... And this extension method:
public static void Foo(this Enum e)
{
// Here be dragons...
}
If I want to call Foo(), I have to call it on one of the Enum's properties: State.On.Foo()... I can't call it on the Enum itself: State.Foo().
Why is this? And what do I ... | stackexchange/codereview |
Are there any open source multiplayer socket servers that can be used for virtual world development?
I've been looking at SmartFoxServer & Electroserver, but there very pricey.
| stackexchange/codereview |
I was wondering is there any way to get the last item in a unordered <ul> list and place it at the top of the list...kind of like a continuous loop?
Sorry I'm a novice at JQuery
Any help is greatly appreciated, Thanks
| stackexchange/codereview |
I've written the following code in order to construct a POST, using the PostData class I found on stackoverflow.
PostData pd = new PostData();
pd.Params.Add(new PostDataParam("sessionId", "0", PostDataParamType.Field));
pd.Params.Add(new PostDataParam("guestId", "1", PostDataParamType.Field));
... | stackexchange/codereview |
I am writing a converter for an old db app which contains a large amount of user entered RTF text. Ideally, the RAW RTF should be converted to HTML for display in a browser.
I have tried rtfparseclass from PHP Classes, which works ok, but seems to be thrown off but some of the embedded font definitions. For example, ra... | stackexchange/codereview |
does anyone know a emacs template for javascript?
in particular, am looking for template for either yasnippet or autocomplete.
one minute google or emacswiki search didn't find anything.
(am already using both js2-mode and js-mode (epresso), they don't appear to have name completion or template builtin.
| stackexchange/codereview |
I'm programming using C language on a Linux OS. I'm writing a program that scans an input from the user. However, I want the scanf to have a certain time limit. For example, if the user does not enter anything on the keyboard withing 10 seconds, it will skip the scanf and go to the next line. I'm using alarm(10) to wai... | stackexchange/codereview |
I use ActionMailer with the action_mailer_optional_tls plugin to send mails via Gmail.
Here is my setup:
class InstantMailer < ActionMailer::Base
layout "email"
def support(ticket)
@recipients = "support@domain.com"
@from = ticket.email #this is the user's email
@subject = "[#{ticket.cat... | stackexchange/codereview |
I am writing a custom preference with a seek bar, so far it works, except for one problem the ID of my seek bar is defined in XML, so when I try to use 2 of my custom prefernces and then I update the Seek Bar I cannot distinguish between the two.
SeekBar bar = (SeekBar)view.findViewById(R.id.PreferenceSeekBar);
Is the... | stackexchange/codereview |
I'm writing a Javascript syntax highlighter and I am not 100% I have everything.
So far I have:
Comments (// and /* */)
Regex
Number Highlighting
Quotes (" and ')
I also have keyword highlighting:
if
else
new
var
function
for
return
this
do
while
true
false
Am I missing any constructs or keywords that would be esse... | stackexchange/codereview |
I have a test suite that needs to delete any existing data in my local MySQL test instance for a large number (but not all) of the tables in the system.
delete from customer;
Of course, customer has quite a few foreign keys to it, so I also have to delete a few more tables...
delete from customer_email;
delete from... | stackexchange/codereview |
I have created a simple flash object to redirect a browser to a different webpage using "navigatetoURL" while getting the URL from externalinterface calls to the javascript that the page doing the embedding of the flash file has.
I am able to build everything just fine and the html page I created (using swfobject.embed... | stackexchange/codereview |
I am looking to make a query that selects between dates with Django.
I know how to do this with raw SQL pretty easily, but how could this be achieved using the Django ORM?
This is where I want to add the between dates of 30 days in my query:
start_date = datetime.datetime.now() + datetime.timedelta(-30)
context[self.va... | stackexchange/codereview |
I have a form which consists of two different targets. One target submits the form and the other presents a preview of the form data. My only issue here is that my logic works fine in firefox however the iframe in which the preview is to be displayed remains blank when I click the preview button. I've also noticed the... | stackexchange/codereview |
The compilation error says "mm" and "cc" is invalid identifier!
with m as (
select instructor,
count(*) as c
from class
group by instructor),
mm as (
select max(m.c) as cc
from m)
select m.instructor
from m
where m.c = mm.cc;
| stackexchange/codereview |
I currently have a list and would like to display a large amount of text once a list item has been clicked. The amount of text will vary depending on the list item that's been clicked, ranging anything from a paragraph to a number of paragraphs.
I'm still very much an Android noob, so any tutorials that you know of tha... | stackexchange/codereview |
I've got a library which has two input formats for the object model described by the library. I currently use an event subscription model for raising errors/warnings/verbose messages to the end user of the library. This hasn't proven to be the cleanest model, and I was wondering if there was a relevant design pattern o... | stackexchange/codereview |
I'm seeing some behavior I don't understand with Javascript date objects and DST transitions. If I execute the following in Chrome's javascript console
var date = new Date(1268535600000); //2010-03-14T03:00:00.000Z (21:00 03-13 America/Chicago)
for(var i = 1; i <= 12; i++)
{
var time = date.getHours();
con... | stackexchange/codereview |
I have a site at http://moss/sites/Electronics/Laptop
I have given users contribute permission on laptop site but still when they try to edit the page they are getting access denied, I have checked the permission level and all permissions are fine bt still users are not able to edit page.
I gave them read permissions o... | stackexchange/codereview |
I've been tearing my hair out trying to convert a simple table layout to CSS! I'm sure I'm missing something (like a decent knowledge of CSS :)
In this form I have a many-to-many selection facility. The user can type values into a text box, matching values are displayed in the "Available" select box, and buttons exis... | stackexchange/codereview |
As part of developing some ajax history behavior I encountered a weird thing: (my) ie7 doesn't recognize a page with different anchors (hashtags) as 2 different pages.
The consequence is that when using the back-button ie7 skips over all previous urls (which only differ by the hashtag).
for example lets say I have br... | stackexchange/codereview |
I've got a bunch of classes that describe database schema: Table,Field,ForeignKey.
Tables have ForeignKeys list and Fields list.
Now I would like to generate SELECT statement with all the joins that are described in ForeignKey instances.
The question is: is order of tables relevant for the query time? Another words - ... | stackexchange/codereview |
I have the following simple function:
public class BaseEntityRepository<TEntity, TId> : IBaseEntityRepository<TEntity, TId>
where TEntity : class, TBaseEntity, IIdentifiedEntity<TId>
where TId : struct {
//...
public virtual TEntity GetById(TId id) {
return (from e in GetAll() where e.Id.Equals(id) ... | stackexchange/codereview |
I can play wav files just fine using a SoundEffectInstance but I can't find any way to play compressed audio with these libraries on the phone.
The way I've found to do this with XNA is to use the XACT creation tool as outlined here but the AudioEngine, WaveBank, and SoundBank classes aren't available on the phone as f... | stackexchange/codereview |
I'm using a LayerDrawable to merge multiple Drawable. Now, I'd like to export my LayerDrawable to a file.
I've tried this way:
Bitmap b = ((BitmapDrawable)myLayerDrawable).getBitmap();
--> ClassCastException...
What can I do?
| stackexchange/codereview |
I have a link which when clicked downloads a pdf file.
Is there a way using jQuery to tell when this has occurred. Basically I want the link to change from download to please wait. And when the download is complete it will change to something else.
The main reason is the pdf is generated server side and can take 10... | stackexchange/codereview |
My name is Guillermo and I'm studing Computer Sciences at college. For my final project, I have to build a game on Borland C++ and I was curious about making a GUI for it
The game is really simple. Create a matriz dimension 4x4 (with 16 elements) and fill it with random numbers from 1 to 15 and one empty space. The use... | stackexchange/codereview |
I want to implement local search and display locations on mkmapview. I know how to get current location, etc... but is there a google api for the iphone? the geo api is complex and requires loading JSON and other app delegate modules.
| stackexchange/codereview |
What I'm trying to do: Make a bash script that performs some tests on my system, wich than reads some log files, and in the end points me some analyzes.
I have, for example, a log file (and although it's not so big sometimes, I want to save proccess when possible) that has in the end something like this:
Ran 6 tests wi... | stackexchange/codereview |
I'm currently working on enabling drag-and-drop support for our company app.
The error I keep getting seems weird to me.
What this says is that
The property 'DragDropHelper.IsDragSource' does not exist in XML namespace 'clr-namespace:DragAndDrop;assembly=DragAndDrop'. Line 61 Position 83
The property is an attached... | stackexchange/codereview |
I am having problems setting the BCC field in Outlook 2010.
This is my situation (using Microsoft.Office.Interop.Outlook):
string bcc = "example@example.com";
Recipient recipient = mailItem.Recipients.Add(bcc); // Add the recipient address
recipient.Type = (int)OlMailRecipientType.olBCC; // Set the type to BCC
mailItem... | stackexchange/codereview |
Please help with the algorithm of calculating the slope
So we have a Cartesian coordinate system. X right at Y the top. There is a line which passes through the center of coordinates.
Needed to determine the angle relatively to the axis OX.
So here's what I'm doing
Certain functions transferred to the origin (top line... | stackexchange/codereview |
I would like to load the items that were declared in class file when the Form loads can any one give me an idea
My class file code is as follows
namespace ACHDAL
{
public class TansactionCode
{
string[] strTransactionCodes ={"20","21","22","23","24","25","26","27","28","29","30","31","32","33","34",
"... | stackexchange/codereview |
I want to put a map in a web page where users will be able to put interactive marker (location pins) as many as they want. Now, whenever a marker is placed, I want to store that specified marker's lat, long value to be saved in a database that I have in my server (phpmyadmin).
Trying to get started with Google Map Dat... | stackexchange/codereview |
I've noticed a funny behavior and was wondering if anybody could shed some light on the reason.
It breaks down like this:
I've added a div and a button using Javascript's `appendChild'.
I add an onclick handler to the button, works fine
I add-assign the innerHTML of the div to add some more content
Button onclick sto... | stackexchange/codereview |
I have two submit buttons in one form. I want to call different actions in both buttons. Is there any way to accomplish this without using JavaScript.
| stackexchange/codereview |
I have small doubt about Qt memory management.
Let's take an example of Listview, in listview we add each item by allocating memory dynamically. So in this case do we need to delete all the "new"ed items manually.
E.g:
Qlistview *list = new Qlistview;
QStandardItemModel *mModel = new QStandardItemModel();
list ->setMo... | stackexchange/codereview |
i have an object based on ContentControl type and I want to embed custom controls into its content. below is the code.
the problem is that i need MyContainer to have a list of MyControl objects so that it can communicate to them, and each MyControl will need a reference to its MyContainer.
how is this done properly? on... | stackexchange/codereview |
I have created the usercontrol. There is event :
public event System.EventHandler MemberSelectionChanged;
I have called this event in aspx page like this(given below). It working fine. Is there any other way to call the user control event in aspx page.
this.ucMemberList.MemberSelectionChanged += new EventHandler(Mem... | stackexchange/codereview |
Just the basics: I'm using DataNucleus backed with an embedded DB4O database.
If I do this simple test:
PersistenceManager pm1 = persistenceManagerFactory.getPersistenceManager();
PersistenceManager pm2 = persistenceManagerFactory.getPersistenceManager();
pm1.makePersistent(t1);
pm2.makePersistent(t2);... | stackexchange/codereview |
There are two descriptions of the delegate:
first, in a third-party assembly:
public delegate void ClickMenuItem (object sender, EventArgs e)
second, the standard:
public delegate void EventHandler (object sender, EventArgs e);
I'm trying to write a method that will receive a parameter of type EventHandler and will c... | stackexchange/codereview |
When using any of the java.util.concurrent classes, do I still need to synchronize access on the instance to avoid visibility issues between difference threads?
Elaborating the question a bit more
When using an instance of java.util.concurrent, is it possible that one thread modify the instance (i.e., put an element in... | stackexchange/codereview |
How can i get OID of network devices which are active in lan network..? Ihave their ip addresses. Also, how to check whether snmp agent available in that device or not ?
| stackexchange/codereview |
I have seen that i can use chmod +x command in Mac to make a shell script executable. This works fine, but i have noticed that i have to do the same thing every time this shell script file is copied to another Mac computer.
Is there a way to make the shell script executable by default when double clicked, without such ... | stackexchange/codereview |
I am pressmuming (without really knowing) that "gant" is superior to "ant", especially when building grails applications. I have some old, inherited, grails apps using ant. Is is possible or easy to convert existing build.xml files into gant build scripts?
| stackexchange/codereview |
In my ASP.NET app, I'm attempting to add another directory to be have the DLLs in it shadow copied.
The only method I found that will allow m to do this is AppDomain.CurrentDomain.SetShadowCopyPath.
However, this method is marked as Obsolete. MSDN has this to say about it
SetShadowCopyPath(String path) Message: Ap... | stackexchange/codereview |
I'd like to do some command-line Java compiling of individual Java source files on a machine that has Eclipse installed. However, I don't have permissions to install a full Java SDK on this machine.
I understand that Eclipse compiles through its JDT, not using javac.
Is is possible to use the Eclipse compiler from the ... | stackexchange/codereview |
Well, for my program(s) I'd like to let the user send me an e-mail with any errors. Instead of relying on a forsaken SMTP server, I decided to let the user use his very own e-mail client to send an e-mail to a specified address.
So what I need is:
A sender (should not be changeable) (example: mysupportemail@gmail.com... | stackexchange/codereview |
Out of curiosity, how many dimensions of an array can you have in Java?
| stackexchange/codereview |
I am currently creating my first app for a personal project and I'm having trouble modifying a UILabel's properties when MyViewController is loaded.
From other tutorials, I see that when the nib for my app is unarchived, the initWithCoder app is called:
@synthesize tipText; //references the UILabel i created in my nib ... | stackexchange/codereview |
i have route all admin controllers to "admin folder",
but i want to check if the user is login and if not to give him login view.
for the not login user i want to let him enter just the "website" controller
where i need to check it?
public static void RegisterRoutes(RouteCollection routes)
{
routes.Ignore... | stackexchange/codereview |
I'm using a PHP library that echoes a result rather than returns it. Is there an easy way to capture the output from echo/print and store it in a variable? (Other text has already been output, and output buffering is not being used.)
| stackexchange/codereview |
My little SQLite testing application is working, and everything is 100% functioning as expected.
For learning purposes, I'd like to know what library is allowing me to communicate with my Scans.db SQLite database. I was told that I'd need the System.Data.SQLite reference, but my application works and I don't see it ref... | stackexchange/codereview |
Let's say I have a bunch of Donut objects, and each of these donuts has a public integer attribute diameter. If I have a vector of donuts, how can I extract the donut with the smallest or largest diameter?
| stackexchange/codereview |
I'm trying to create a little unit test with gdb,
for a embedded mcu that is controlled by OpenOCD (that gives me control over my target via a gdb server).
So I would like to automate this with some scripting of gdb.
I would like to write some kind of script for gdb that more or less does this:
Add a couple of breakp... | stackexchange/codereview |
i spent around 4 hours on this but i couldnt find answer, i want the result like
Rejects
somefilename1.txt - Rejected (and if no file then No from else expression(No - Invalid) - Query 1)
somefilename2.txt - Previous (and if no file then No from else expression(No - Valid) -Query 2)
I dont understand what do i do, do i... | stackexchange/codereview |
After some changes in web.config now IIS allows characters like ":" in URL but it makes some modifications. For example:
http://localhost/a///b => http://localhost/a/b (remove all slashes but one)
http://localhost/a\b => http://localhost/a/b (changes backslash with slash)
...
I want URL string from within a HttpHandle... | stackexchange/codereview |
I know this is likely incredibly simple, put I just can't seem to get my head around it.
So, in a scaffold-generated app, I'm looking to have a link/button in show.html.erb that would change the status_id of the current entry/row to 3.
I understand how to make GET, POST and DELETE commands, put I'm not getting the syn... | stackexchange/codereview |
Is it possible to cast a variable as a type dynamically, where the type would be a variable of type Class?
Consider the following (invalid):
var myClass:Class = MyClass;
var myInstance:myClass = new myClass();
For context: I'm working in Flex (4) to create a modal manager that will control various aspects of creating ... | stackexchange/codereview |
In python I get this error:
TypeError: 'int' object is unsubscriptable
This happens at the line:
sectorcalc[i][2]= ((today[2]/yesterday[2])-1)
I couldn't find a good definition of unsubscriptable for python anywhere.
for quote in sector[singlestock]:
i+=1
if i < len(sector):
if i==0:
... | stackexchange/codereview |
I want to put in a timeout in case it takes too long to find my location, send out the relevant url, and parse the xml. It worked when I used performSelector:withObject:afterDelay in the locationManager (just to test getting the xml), but when I put similar code around my parser it doesn't actually abort the parsing. I... | stackexchange/codereview |
Am i right in thinking the only way to create a list which grows during run time in C, is to use a linked list?
| stackexchange/codereview |
I am trying to work with several documents that all have various encodings - some utf-8, some ISO-8859-2, some ascii etc. Is there a reliable way of decoding to a standard encoding for processing?
I have tried the following:
import chardet
encoding = chardet.detect(text)
text = unicode(text,encoding['encoding']).decode... | stackexchange/codereview |
I have a newbie question for writing makefile for java in Linux
I have a project with:
A.java
B.java
C.java
A is dependent on B.java and C.java, they should be in the same folder
It is supposed that when I entered the folder, I can run the make command to generate classes.
How can I set the classpath as the current fo... | stackexchange/codereview |
I facing a problem regarding the import of an excel file into mysql through php.
i have used phptriad as a local server to test my web application(site).
The application imports the excel file present on the client side computer.
the code works fine when accessed through local server.
recently i have registered a subdo... | stackexchange/codereview |
I have one big issues don't know due to my mistake or magento's structure. i have update the magento to 1.4.1.1 and all work fine on my local machine but when i have moved it to live then in admin custom module's link are not appeared .
i have also tried for clearing the cache and re login but it wont work.. can any on... | stackexchange/codereview |
I've been searching Google up and down, but I can't find any documentations on Modules and how to write them.
So, My question is, how do you write Modules in Go?
| stackexchange/codereview |
I'm writing a program which allows the user to input his data then outputs it. Its 3/4 correct but when it arrives at outputting the address it only prints a word lets say only 'Archbishop' from 'Archbishop Street'. How do I fix this?
import java.util.*;
class MyStudentDetails{
public static void main (String args... | stackexchange/codereview |
I developed search page using SOLR with Tomcat servlet container. Using PHP code I post the search query into solrQuery() function and In this function have defined query parameter as follows.
$query = "?q=".trim(urlencode($q))
&version=2.2&start=0&rows=10&indent=on&hl=true&hl.fl=title";
I have passed highligh... | stackexchange/codereview |
I want to have a clean, efficient directory setup with VirtualDocumentRoot. (Reference: http://httpd.apache.org/docs/2.0/mod/mod_vhost_alias.html).
In particular, I am thinking of the following:
1) http://example.com to be served by /apache_root/example.com
2) http://www.example.com to be served by /apache_root/w... | stackexchange/codereview |
I have two classes, obstacle and boid, boid inherits from obstacle.
Now I want to write some functions that can work with objects of both classes, so that passing vector<boid> does work as well as vector<obstacle>.
When I typecast like this and try to access the size of the vector I get a number of 1840700394 instead o... | stackexchange/codereview |
I noticed in my C++ code that anytime I close an std::ofstream object I'm unable to reopen the file I closed with std::ifstream. std::ifstream's open function will always fail.
Is there anything 'extra' I can do to ensure that my std::ofstream object closes properly?
Someone's probably going to ask to see my specific c... | stackexchange/codereview |
I have a portion of my page dedicated to showing credits and there are three textblocks that scroll vertically. I need each line however to pause when it gets into position (a position in the panel) and then continue after a second or so. Without making this all very complex, I don't know how to do this. I had all t... | stackexchange/codereview |
Need a Regex to get all characters after , (not including it) from a variable. This variable can contain for example
'SELECT___100E___7',24
'SELECT___100E___7',1
'SELECT___100E___7',286
'SELECT___100E___7',5147
Note: There can be any length of characters after the , in this variable.
An explanation of the regexp wou... | stackexchange/codereview |
I want to make EXE file by use py2exe or cx_freeze.
so I was try to make exe file with py2exe but no luck.
so now I was test with cx_freeze but it also failed.
if anyone can help me much apprecaite
following is setup.py file in cx_freeze
from cx_Freeze import setup, Executable
copyDependentFiles=True
silent = True
... | stackexchange/codereview |
I want to display one category with products on home page. I'm using wp-ecommerce plugin. How can I do that?
| stackexchange/codereview |
I'm using simple include files for common elements on a mostly static website. I do so like this
<?php include('/inc/header.php'); ?>
But this doesn't work unless i remove the leading slash, and then it only works on pages in the root directory. What am I doing wrong?
| stackexchange/codereview |
I'm trying to find a way to from a Cell get the data from a cell in the Sheet that lies to the Left (down in the tray) of the current Sheet.
I know how to call to other sheets via
=Sheet1!A1
But now I need something best explained with
=Sheet[-1]!A1
Any ideas?
| stackexchange/codereview |
I am Trying to get the page title (<title>bla..bla..bla..</title>) to be changable in php with a multi-file layout like so:
Functions.php is included into index.php, then get_header() is called from functions.php to include the page header.php the title tag is inside the header file. I would like to be able to set the ... | stackexchange/codereview |
I have posts that can be voted on by a polymorphic association. Now I am making comments votable as well. Can I share the same models and logic for this for my comments? Or do I have to make a new model relationship ?
#post.rb
has_many :votes, :as => :votable
has_many ... | stackexchange/codereview |
I'm trying to understand what differences are between $(this) and this in jQuery, and eventually find a way to get $(this) object from this (this what??):
var last_btn;
$("#element").click (function () {
if (last_btn != null && last_btn == this) {
// to unselect the current button
last_btn.removeCla... | stackexchange/codereview |
Is there any regular expression to match this:
a continuous string of characters or/and digits XOR
a string of any characters between a pairquotation marks (" XOR ')including nested quotations
?
Examples:
dgsdggsgggdggsggsd
'dsfsasf .asgafaasfafw rq'
"sadas fa fasfa "
| stackexchange/codereview |
we wrote CMS apps with asp.net. the user can attach file documents, pdfs to their forms and send to each other. the user can easily download the pdf and other documents but when they want to download jpg file their IE render the jpg file as a binary and show the binaries of jpg file? the IE didn't show the save as dial... | stackexchange/codereview |
Hi I written a two jquery functions for a simple fading menu, it basically splits the screen in half and allows you go to one of two sites. How can I set a delay of say 2 seconds before these function work? Here's my code:
$('#retailNav').bind({
mouseenter: function() {
$('#retailFull:not(:animated)').fadeI... | stackexchange/codereview |
I am trying to use the newly released Jetpack theme for a Silverlight 4 application. TabControl and buttons style nicely, but I cannot get the Accordion control to pick up the Jetpack style.
I have created a default 'Silverlight Navigation (JetPack Theme)' VS project and added the following definitions to the XAML file... | stackexchange/codereview |
All,
How can I calculate 2^301 mod 77? I did check out the link StackOverflow. But did not understand the step wherein 625 mod 221 = 183 mod 221. How did the conversion take place?
| stackexchange/codereview |
I've used axdt ( http://new.axdt.org/ ) with Eclipse. I've read about fdt on on linux ( http://www.brighthub.com/hubfolio/matthew-casperson/articles/73648.aspx ). FDT is a commercial package that I wouldn't mind paying for if it officially supported linux. Right now I'm using vim with the command line tools, and I'm no... | stackexchange/codereview |
Hello all I'm new to this whole thing still.
I would like some help figuring out how to do this please. I can pull info out of a database and put stuff in using ajax/javascript but I cant figure out how to complete the problem below. I want to be able to make my php form submit and update with out page refresh.
Exampl... | stackexchange/codereview |
I am having a very strange problem. First, the code.
Private Function ProcessRecord(ByVal rsDocs As ADODB.Recordset) As Variant
Dim rsTemp As ADODB.Recordset
rsTemp = rsDocs
rsDocs = RemoveDuplicateDocs(rsTemp)
Exit Function
The error is occurring on the second line of the function, where rsTemp is set equ... | stackexchange/codereview |
I'm attempting to switch views with an iPhone application- I have a parent view controller, SuperviewController, and then two views that I want to switch within that parent view, MainMenuController and MainGameController.
*EDIT*: I am now using navigation controllers:
SuperviewController.m
viewDidLoad
self.mainMenuCont... | stackexchange/codereview |
So, I want to search for a text (say "wikipedia") and have all the "wikipedia" in the page turn into a link that redirects to wikipedia.
Thanks!
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.