instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Is -5 an integer literal? Or is 5 a literal, and -5 is an expression with unary minus taking a literal as an argument? The question arose when I was wondering how to hardcode smallest signed integer values.
| stackexchange/codereview |
I'm using C# WebClient(); to download a file from a server. The problem is when I don't have internet or the server is not responsive, my application crashes trying to download this file.
What is the best practice to avoid crashing, to abort and give a notification that connection with a server failed?
| stackexchange/codereview |
I'm having difficulty setting up JQuery Autocomplete with Rails3. I don't get any errors, it just behaves like regular text box.
Here is what I have done:
First I installed autocomplete as explained here: http://github.com/crowdint/rails3-jquery-autocomplete#readme
I have a model class which contains the model which ... | stackexchange/codereview |
I wish to access my Google Webmaster's tools' API via R.
I see from here:
http://code.google.com/apis/webmastertools/docs/2.0/reference.html
That it requires fetching a feed behind https and parsing it.
Any suggestions on how to do it?
| stackexchange/codereview |
I want to show a message whenever you are leaving the page (not an annoying alert, just some html telling you to wait), in thinking about it I'm facing certain difficulties:
when the user presses Stop in the
browser, cancelling the navigate-away
action, I'd like the message to go
away.
whenever any link is clicked, th... | stackexchange/codereview |
I want to track a laser light dot(which is on a wall) with a webcam and i am using openCV to do this task. can anybody suggest me a way to do it with C++.
Thank you !
| stackexchange/codereview |
In C and many other languages, there is a continue keyword that, when used inside of a loop, jumps to the next iteration of the loop. Is there any equivalent of this continue keyword in Ruby?
| stackexchange/codereview |
Hio there Scala folks, I'm actually writing my master thesis and I have to implement a security typed language in Scala. So this means I have to add annotations to specify the special permissions levels for the variables and other programming constructs in Scala. The idea to add this comes from Jif (a real security typ... | stackexchange/codereview |
I am splitting the pdf using pdfsam into single pages.After splitting all the internal links are removed.Is there any way to access the internal links between pages in the pdf ? but i can able to access the website links
how the internal links i.e page number are stored inside the annots array. i cant able to get the p... | stackexchange/codereview |
im trying to dynamically create elements in the child window based on the values i have in the the parent window but no success.The child window is opening but not with the elements.Here is the code i've written,could some one please have a loot at it ? is this possible at all using javascript/jquery>
function fnOpenP... | stackexchange/codereview |
i am using delayed_job 2.1.0.pre2,
and in my lib i have a class which named MailingJob(mailing_job.rb),and it has one method named perform.
In my controller , i put a new MailingJob object in my delayed_job queue as the doc said.
but when i run the "rake jobs:work" command,it always told me that it can't find "MailingJ... | stackexchange/codereview |
abc = {}
abc[int: anotherint]
Then the error came up. TypeError: unhashable type? Why I received this?
I've tried str()
| stackexchange/codereview |
I have just done some tests and i have manged to get ReadAsDataContract working on the Response.Content method...
The thing that really is confusing is that i thought it shouldn't work yet! As my classes are NOT decorated with the DataContact or DataMember Attributes.
I am confused, reading the various tutorials aroun... | stackexchange/codereview |
I have a PHP sql command that updates a record.
$tsql = "UPDATE cplinktable SET bmsid = $bmsid, autotaskid = $autotaskid, waspdb = $waspdb, cpid = $cpid WHERE id = $id";
I'm getting an error:
Invalid column name 'WaspTrackAsset_SFT'. [message] => [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid column na... | stackexchange/codereview |
use Uniq;
my @test1 = ("0","0","A");
my @test2 = ("1","1","A");
@test1 = uniq sort @test1;
@test2 = uniq sort @test2;
print "$_" for @test1;
print "\n";
print "$_" for @test2;
print "\n";
returns :
00A
1A
Should it be 0A or not?
| stackexchange/codereview |
Tearing my hair out here trying to implement a pretty simple form inside a .NET page.
The form looks like this:
<form action="http://domain.com/subscribe.tml" method="POST">
<p><input name="email" type="text" /></p>
<p><input type="image" src="/images/ui/btn-getfreereport.gif" alt="Signup" /> </p>
<input type="hidd... | stackexchange/codereview |
The following program yields an error in ghci:
{-# LANGUAGE NoImplicitPrelude #-}
import Prelude (Integer, Bool)
import qualified Prelude
class Discrete a where
(==) :: a -> a -> Bool
instance Discrete Integer where
(==) = (Prelude.==)
class Monoid a where
one :: a
(*) :: a -> a -> a
fromIntege... | stackexchange/codereview |
I'm totally new to android programming (just did some tutorials/read the dev guides etc.) and as every newbie I want to do a useless game :-).
Currently I'm struggling with the layout of different views. Similar to the example I've made a class which extends a SurfaceView and put that into a FrameLayout. Around this Su... | stackexchange/codereview |
I'm looking for the fastest method I can use to search a body of text for the indexes of multiple characters.
For example:
searchString = 'abcdefabcdef';
searchChars = ['a','b'];
// returns {'a':[0,6], 'b':[1,7]}
| stackexchange/codereview |
I have a requirement to loop through records in a database table and group items that have similar content. I want to match on a single column in the database and if there are similar records I want to extract the ID of each row and save it to another table e.g. if I had 10 similar rows they would be linked to one "hea... | stackexchange/codereview |
Are there any free GUI tools that will allow me to view the contents of my RoR sqlite3 DBs?
| stackexchange/codereview |
I have an iphone app that is using a SQLite database, everything works and I can save the database to file and load it back up when the app is reloaded. But the problem i'm having is that I don't know how I can clear the database and start over from scratch.
I have tried deleting the database file, doing so will cause ... | stackexchange/codereview |
easy_thumbnails is a big help when making models or views for thumbnails.
I am using the templatetag (via template, not via model) and easy_thumbnails creates sucessfully the thumbnail files.
what happen when I want to use easy_thumbnails via view, not model o templatetag (the rendering of the images is via ajax, and... | stackexchange/codereview |
I'm using English Visual Studio 2008 on English Windows 7, but I'm based in the Netherlands. A lot of my programs need to read and write floating point numbers. Compared to English, the Dutch notation of numbers switches the meaning of dots and comma's (i.e. 1.001 in Dutch is a thousand and one, and 1,001 is 1 + 1/1000... | stackexchange/codereview |
I am trying to add a custom icon to setup project. So instead of standard installer logo I have my custom logo.
To make it clear, here is the icon, which I want to change:
| stackexchange/codereview |
In MyBB forums you must have seen that all those threads are stoed as forum.com/Thread-Name-of-the-thread
So now this is static right ?
So now i have a site which has
blog.com/search.php?=SEARCHED+TEXT
So now how do i save this search so that Google can find out this page on my site ?
Indirectly what i mean to say is h... | stackexchange/codereview |
I've got 3 classes:
class Super
{
virtual int getType() { return 1; }
}
class Special : public class Super
{
virtual int getType() { return 2; }
}
class SpecialSpecial : public class Special
{
virtual int getType() { return 3; }
}
And I've got a function which takes an std::vector<Super*> as argument:
vo... | stackexchange/codereview |
Suppose I have a class
class C {
C(int a=10);
};
why if I call
C c;
the contructor C(int =10) is called and if I call
C c();
the default constructor is called? How to avoid this? I want to execute only my constructor, I tried to make the default constructor private, but it doesn't work.
| stackexchange/codereview |
I'm using Quartz.NET for a system I am creating, where jobs are run via a Windows Service and can be added and editted (inlcuding trigger details) in an ASP.NET page.
I'm having some issues though - I need to be able to modify a triggers details, such as the type of simpletrigger or the cronexpression, and I've been to... | stackexchange/codereview |
I get no binding errors and this code works at another place. I haven't found out yet what I do now differently to the code where it works and it's not that much code.
In UserControl.Resource:
<Style TargetType="TextBox">
<Setter Property="BorderBrush" Value="DarkBlue"/>
<Setter Property="BorderThickness" Value="1"... | stackexchange/codereview |
I want to embed a store locator in Facebook the way footlocker does.
Is it possible to just make a facebook app that serves my stand-alone store-locator page without having to re-write my store-locator page for facebook?
Any good guides/how-tos for serving a stand-alone page through a facebook app like this?
| stackexchange/codereview |
I want to print an array of characters, these characters are underscores first.
Then the user can write characters on these underscores.I used gotoxy() but it doesn't work properly.
That is what i wrote:
int main(void)
{
char arr[20];
int i;
char ch;
clrscr();
for(i=0;i<=20;i++)
{
texta... | stackexchange/codereview |
Take a boolean value. One thread is trying to assign a pre-determined value to it, and at exactly the same time another thread is trying to read it. What happens?
| stackexchange/codereview |
Hello I am using an MVC architecture for my web application. Now the problem is I have my views in one place and have my images folder in another place. Now I am unable to get my images printed in the right places since, I cannot get my paths right. Even though I give the absolute paths, the images are not getting prin... | stackexchange/codereview |
I want to create a invisible form anywhere into a HTML page dynamically using JavaScript and then submit automatically.
I want to create the form given below:
<form name='myForm' method='post' action='http://www.another_page.com/index.htm'>
<input type='text' name='myInput' value='Values of my input'>
<input type='hidd... | stackexchange/codereview |
I can't find a way to do this anywhere, not even a mention of it. But is there is a way to programmatically cancel a fax using, say, a faxserver or faxdocument object? My current code looks something like this:
Set doc=CreateObject("FaxComEx.FaxDocument")
Set server=CreateObject("FaxComEx.FaxServer")
server.Connect "... | stackexchange/codereview |
I've been going around and around, I've been trying to use this example but running into trouble in the delegate method. I'm trying to figure out how to close this out. Looks like I've got a lot set correctly but need help on final step:
I'm getting a -[ThirdTab apiFinished:]: unrecognized selector sent to instanc... | stackexchange/codereview |
I am using simplexml to parse xml and I can get single node but not all nodes i want
example
$xmlObject = simplexml_load_file($xml_file); // load the xml file
$cols = $xmlObject->RESULTSET->ROW->COL;
foreach ( $cols as $COL) {
echo $COL->DATA;
}
only gives me the first col of the first row,... | stackexchange/codereview |
my base class need to expose a method that for some derived classes would return a smart pointer to dynamically allocated array, and for some other derived classes would return a pointer/reference to statically allocated one.
example:
class Base
{
public:
virtual ??? foo()=0;
}
class A : public Base
{
private:
... | stackexchange/codereview |
I have a problem about the management of dates with milliseconds. I understand the need to use the TIMESTAMP to store milliseconds:
@Temporal(TIMESTAMP)
@Column(name="DATE_COLUMN", nullable = false)
@Override public java.util.Date getDate() { return this.date; }
But if I can't compare this date to another instance of ... | stackexchange/codereview |
I realise you can make dimentions fluid by using the autoresizing mask to give a flexible width/height.
What about making a position fluid?
For instance if I set the centre of a UIButton at self.view.frame.size.width/2 how can I make it reposition if the view changes size?
Thanks
Tom
| stackexchange/codereview |
I'm trying to add a button on the bottom of a TableView, without any success.
The idea isn't to use the tableFooterView property, as that doesn't show the button in a fixed position.
My idea is more along the lines of the Facebook application's Notifications bar on the bottom.
I'm using Three20.
Any pointers on how I c... | stackexchange/codereview |
I was just wondering what my options were for cross-platform implementations for the dynamic loading of plugins using shared libraries. So far the only one that I have found is:
http://library.gnome.org/devel/glib/stable/glib-Dynamic-Loading-of-Modules.html
And I was just wondering if I had other options? Essentially... | stackexchange/codereview |
Hey guys I've written a little module/macro that helps our inventory department, they will need to run the module/macro a few times every month. They receive the databases from out in the field these are exported from some 3rd party inventory tracking system we have.
My question, is there any way to install this module... | stackexchange/codereview |
Is there a way to hide a JFreeChart XYSeries yaxis?
The yaxis is meaningless on logic analyzer display.
| stackexchange/codereview |
Trying to enter a value into a mediumblob field in a mySQL table but I'm getting:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id = 40' at line 3
INSERT INTO 'Picture'
VALUES (efvr)
WHERE id = 40
What's wrong wi... | stackexchange/codereview |
I'm trying to develop some code where a jquery takes images and resizes them to fit the parent div, with an option to click on the image to view it in full size with fancybox. I'm trying to do it all images with class "expand", and don't anticipate having more than on image with that class per page.
Below is what I've ... | stackexchange/codereview |
I've got a list of student/assignment pairs coming in to my application via flat file into a List object and I'd like to validate those assignment names against a list of assignments I have to see which student has done what assignment (if any).
So - I have a list of students, a list of student/assignment pairs, and a ... | stackexchange/codereview |
I have a drop down on a web page which is breaking when the value string contains a quote.
The value is "asd, but in the DOM it always appears as an empty string.
I have tried every way I know to escape the string properly, but to no avail.
<option value=""asd">test</option>
<option value="\"asd">test</option>
<option ... | stackexchange/codereview |
I have a master/worker model implemented with separate python processes. The master process holds job/result lists which are protected by mutexes. Many workers run on many machines (about 200 worker processes).
I have noticed that on each machine the workers tend to do 0-20% more or less work than other worker processe... | stackexchange/codereview |
I need a data structure with the following properties:
Access to elements must be very fast
Elements, that are not added, shouldn't take memory (as ideal, size of empty structure near to zero)
Each element has two integer coordinates (x,y) (access to elements only by them)
Max count of elements known at creation time ... | stackexchange/codereview |
I'm playing with X-development. I've got a basic proto-WM going that works for a while and then produces these errors after a fairly random time.
[edit]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7f71dcf9a9ac]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x24) [0x7f71dcf9aa54]
#2 /usr/lib/li... | stackexchange/codereview |
Firebug looks not capable to check js syntax error...
Is there any good way to do that?
Currently I just wrote a js but the firebug didn't show any error but the functionality is totally broken.
| stackexchange/codereview |
If I have a single label on my ASP.NET (2.0) page, and I want to store an error message in it; and if I do that in code by making multiple IF statements, like:
if (...)
value = "..."
else
value = "......"
etc
how would I localize this, so that I don't have to write:
if (...)
{
switch(langCase)
{
ca... | stackexchange/codereview |
Hi I have a need to create a Ternary Plot graph from 3 different variables.
http://en.wikipedia.org/wiki/Ternary_plot
I basically need to come up with the x/y coordinates of the point within the triangle, from the ratio of the 3 variables.
Is there any function / algorithm that anyone is using to create this? The langu... | stackexchange/codereview |
I was trying to install sqlite3 interface for ruby in my Ubuntu 10.10.
But i got the following error any suggestions ?
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
extconf.rb:3:in `require': no such file to load -- mkmf (LoadError)
fr... | stackexchange/codereview |
Is there a way to tell Resharper to ignore/suppress specific rules (say, method naming) in specific files only? This could be useful for tests and other cases where you have good reason for breaking naming conventions (like ICD compatibility, in my case)
Aside of suppressing them with comments of course, which would cl... | stackexchange/codereview |
I currently pop up a custom dialog with an EditText in it.
Currently the keyboard will only pop up when the user clicks "into" the EditText.
Is it possible to get the keyboard to pop up for the EditText as soon as the Dialog loads?
I have tried:
editText = (EditText) findViewById(R.id.EditTextd);
editText.setFocusable(... | stackexchange/codereview |
I have question quite much related to this one I asked a while ago
place a value in the sorted position immediately
I wonder if you can use the same approach in that you step backward in a linked list to find the position it should be inserted into.
If it is possible how do you loop a linked list backward? I can't figu... | stackexchange/codereview |
I am trying to run the hello world program which is present on developer.android.com.I am using eclipse 3.4.1 version.
But when i run the program it doesn't give me any errors, but it doesnt display hello world either.
All it displays is the emulated device which i can get by running the android sdk also.
| stackexchange/codereview |
I have a content type as a todo list element. It has some cck fields like deadline (in DateTime format) and assigned_user (a user reference field). I want to use function drupal_execute to create a such node programmatically, but after a full of errors like
warning: call_user_func_array() [function.call-user-func-arra... | stackexchange/codereview |
Here is the HTML Sample dynamically generated from c#.net:-
<ul class="multiselect-checkboxes clearfix horizontal" id="chkMC"><li onclick="setMcCb(event);"><span class="QRadio"><input type="checkbox" name="ctl03$ctl05$CheckboxChoices0-931336440" id="ctl03_ctl05_CheckboxChoices0-931336440"><label for="ctl03_ctl05_Checkb... | stackexchange/codereview |
hi how can i insert the array of service id into table into a single field like 2,3,4 in database i am confuse please help followingis my code...i am using this but it is inserted only single id..
$service=implode(",",$_POST['service']);
$sqlQuery="INSERT INTO ".DBPROMOTION." SET
promotion_service_id='".$... | stackexchange/codereview |
I want to store a single row in a configuration table for my application. I would like to enforce that this table can contain only one row.
What is the simplest way to enforce the single row constraint ?
| stackexchange/codereview |
Possible Duplicate:
Looping through a directory on the web and displaying its contents (files and other directories) via Python
hi, Guys,
If I have code files under
http://AAA/BBB/tags/revision/
how can I download these files in python?
and If they have 600M in total, is there some efficient way to do it?
| stackexchange/codereview |
I have button. I have expander in button and label above expander in the same button.
I can click on button with no problem, but there is problem where I click on label (Nothing happens). How can I make this: When user clicks on label in button, button is being clicked. I want to transfer click event from label to butt... | stackexchange/codereview |
I have a JQueryUI modal dialog and everything is working fine except for one issue ... how do I localize the OK and Cancel buttons? I have gone through the demos and documentation and unless I am missing something very obvious, can't figure out how to do this ...
My code:
$("#MyDialog").dialog({
.
.
.
buttons: {
... | stackexchange/codereview |
I'm writing some automation .js file, and I need to tap one of my accessoryButton from one cell.
How can I send the tap message to it ?
This is a custom cell, but the accessoryButton is added by iOS, not by me, and I don't know wich name it has.
Also in the docs I couldn't find anything ...
I have the cell referenced c... | stackexchange/codereview |
I'm working on prettify'ing some auto-generated emails that often have code snippets in them. I want to use Google's prettify project to syntax highlight the code snippets.
How can I invoke prettify on the server, before sending out the email, such that users will still see the highlighted syntax when javascript is d... | stackexchange/codereview |
I need to create four custom folders that are on the root of the target machine (C:\Folder1). I've created folders and placed files in .NET setup projects in the past, but I'm usually using pre-configured locations such as 'application folder' 'common files folder', 'program files folder', etc. I can create a custom ... | stackexchange/codereview |
I am creating an app that has images in a picker view, but I have noticed that these images appear pixelated. Currently, I have the resolution set at 72 pixels/inch. I have increased it to 300 pixels/inch, but have not noticed a change. Has anyone run into the issue?
| stackexchange/codereview |
Simple piece of code about dataTable. CentralFeed is SessionScoped Bean, and PostComment is RequestScoped Bean
<h:form id="table">
<h:dataTable value="#{CentralFeed.profileComments}" var="item">
<h:column>
<h:outputText value="#{item.comment}"/><br/>
<h:inputTextarea value="#{item.ne... | stackexchange/codereview |
Sorry that I'm asking such a question, but I'm tryin to make this one run for hours, and I'm not finding the mistake...
public class Main extends ListActivity {
/** Called when the activity is first created. */
ProgressDialog dialog;
@Override
public synchronized void onCreate(Bundle savedInstanceState) {
super.o... | stackexchange/codereview |
I need to build a new list with a "loop". Basically i can't use recursion explicitly, so i am using append to go through lists of list.
I can get the element. Problem is i need to check this element and if something is true it returns another element i need to put back into the list. It does check correctly and it chan... | stackexchange/codereview |
I need to replace part of a string. I was looking through the Python documentation and found re.sub.
import re
s = '<textarea id="Foo"></textarea>'
output = re.sub(r'<textarea.*>(.*)</textarea>', 'Bar', s)
print output
>>>'Bar'
I was expecting this to print '<textarea id="Foo">Bar</textarea>' and not 'bar'.
Could an... | stackexchange/codereview |
I started using ascx yesterday and begun a process of chopping up my "dynamic" default.aspx page into smaller parts.
In my default.aspx I have a lot of JavaScript/jquery code that handle different events. When I removed some html code from .aspx, while leaving the javascript in default.aspx, and placed it into .ascx t... | stackexchange/codereview |
Logged as root on a CentOS 5.3, I can't have colors in vim (7.0.237, minimal, common and enhanced rpms), even with :syntax on ...
I can display colors with other commands, so I have colors (I don't know how many !)
Any clue ?
Thanks.
| stackexchange/codereview |
I would like to capitalize names properly, which in this case means:
The first letter is capitalized.
The first letter after a space is capitalized ('Van Helsing', not 'Van helsing')
The first letter after a dash is capitalized ('Johnson-Smith', not 'Johnson-smith')
No other letters are capitalized.
The first and las... | stackexchange/codereview |
I have a wcf dataservice I am calling from Silverlight and I am expanding a collection property on an entity and I want to be able to sort the items in the expanded property by specifying it in the query.
Is there a way to do this?
here is the expand linq : - I want the Videos collection to be sorted by a property call... | stackexchange/codereview |
What would be the scheme you recommend to use for an iOS app? Thanks.
| stackexchange/codereview |
Assume I have some C++ method which returns back a pointer to an object. Something in the header file that looks like this:
uint8_t* getData(void);
This guy returns a byte array, but there is nothing that says if this is a dynamic or statically generated piece of data (local to the class or created with new).
Is there... | stackexchange/codereview |
I have a view that plays an animation and an audio clip. if the user leaves the view and then returns the audio replays from the point where they left the view.
I simply want the audio and the animation to start over as if it was their first time coming to the view.
I thought I had solved it with the following code:
-(... | stackexchange/codereview |
if(isset($_POST['submit'])){
$eventSelect = $_POST['eventSelect'];
$eventLocation = $_POST['eventLocation'];
$eventDate = $_POST['eventDate'];
echo "Event Name:";echo $eventName;
echo "<br /><br />Event Location:";echo $eventLocation;
echo "<br /><br />From :"; echo $eventDate;
}
When a user... | stackexchange/codereview |
String date = new java.text.SimpleDateFormat("MM-dd-yyyy").format(new java.util.date());
upload.uploadfile("192.168.0.210", "muruganp", "vm4snk", "/home/media/Desktop/FTP Upload/+date+"_RB.zip"", "/fileserver/filesbackup/Emac/+date+"_RB.zip"");
uploadfile is a function which uploads the file 10-20-2010_RB.zip to the s... | stackexchange/codereview |
we are confused with designing interface file for android,we have made user interface with Absolute layout and used "dip" instead of "px" (for different screen size issue) ,but it looks like,Absolute layout has been depreciated,and developer.android, recommends not to use Absolute layout
So other option we have is to ... | stackexchange/codereview |
I know I can generate setters and getters for fields in the Eclipse source menu, but I'm very surprised it doesn't offer to replace the direct field accessors with calls to the newly created methods.
Does anyone know how to do this short of manual search and replace?
Thanks!
| stackexchange/codereview |
I'm having a hell of a time trying to get a custom policy to install on TFS2010 using VSIX.
I have the policy up and running and working fine on my development PC, I have written a value to the registry manually, and the policy is enforced.
The trouble is setting up a VSIX project and deployment to our other developmen... | stackexchange/codereview |
I've a case where I need to store twitter username, email, and some other field to be unique. However, I can only set twitter username later. Not on registration process. How can I handle this in SQL?
Here's my current SQL structure:
CREATE TABLE `kios_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar... | stackexchange/codereview |
Possible Duplicate:
Deleting Objects in JavaScript
This is the demo code:
function a(){
this.a='aaa'
}
var aa=new a
How to clear the aa object from the memory?
| stackexchange/codereview |
I'm writing a windows phone 7 app. I have "fatal exception" handling code where I know for sure that the app is totally busted and there's no point in continuing. (I'm hoping I never get here...). Since there's nothing more my app can do other than quit I want the user to be able to close the app.
But I noticed th... | stackexchange/codereview |
I made iPhone app with eventkit framework. However, i upgrade to universal app, app can't run in ipad. I got error message
dyld: Library not loaded: /System/Library/Frameworks/EventKit.framework/EventKit
Yes, event kit only work for iOS 4.0 or later. So, how to make it for universal.
I want to make , if iPad app, don'... | stackexchange/codereview |
I am working on a website build using ASP.NET and C# for my company's intranet.So is it possible to integrate the Microsoft Office Communicator 2007 in ASP.NET Page. i.e. the site should be able to provide the current status(avalible, busy , offline) of all contacts and when a user clicks on the username, the chat wind... | stackexchange/codereview |
attached javascript does not work in safari.
this script displays a confirmation message before navigating away from the current page.
surprisingly this works for the first time in safari (but not during subsequent submit).
Scenario:
user makes some changes and press submit button
confirmation message displayed to use... | stackexchange/codereview |
I moved from JSF 1.2 to JSF 2.0 and it seems I missed something during the switch. I have following scenario:
There is a button on one page with actionListener set to one managed bean's method which adds an object to request by calling FacesContext.getCurrentInstance().getExternalContext().getRequestMap().put("foo", f... | stackexchange/codereview |
I am using the Python module telnetlib to create a telnet session (with a chess server), and I'm having an issue I really can't wrap my brain around. The following code works perfectly:
>>> f = login("my_server") #code for login(host) below.
>>> f.read_very_eager()
This spits out everything the server usually prints u... | stackexchange/codereview |
I have seen the term several times, what does it mean?
| stackexchange/codereview |
I'm currently developing a prototype using AS3 and trying out some touchscreen gestures.
I'm compiling using AIR 2.0 and currently have GESTURE_ZOOM and GESTURE_ROTATE working but for some reason GESTURE_SWIPE is giving me a few headaches. I know It's possible as I've seen it working here, using the same laptop (DELL L... | stackexchange/codereview |
I am trying to install google toolkit for mac, everything is setup as advised here : http://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting
but when I try to compile I get this error
Terminating app due to uncaught
exception
‘NSInternalInconsistencyException’,
reason: ‘Could not load NIB in bund... | stackexchange/codereview |
I'm still on the hunt for an elegant multi-file upload for Rails.
I just learned about the "input type=”file” multiple"
Does Rails support this? Any examples? tips on how to implement for uploading multiple photos to a photoalbum model in Rails?
Thanks
| stackexchange/codereview |
I'm looking for a way to check the number of unread emails on an email account.
Any tips?
EDIT: As described in the tags, for C#. As I learned IMAP is the way to go and I confirmed all email accounts I'm going to use have IMAP activated :)
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.