instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'm using an external token service to validate my users and they then get redirected to the portal (portal url + some get parameters). NOTE: this service is in no other way connected to my portal, and it isn't amongst the supported SSO list of liferay. Now since I (have to) use this external method for this I also hav...
stackexchange/codereview
I have the following chain of Models: Model_Auth_User Model_Module_User Model_App_User Model_User ...where Model_User is the model I'm actually using and it's just a dummy class, while the others all have functionality. My problem is that in Model_App_User I want to add a column to the model, say employee_flag. I need...
stackexchange/codereview
I need to send "500 Internal Server Error" from an PHP script under certain conditions. The script is supposed to be called by a third party app. The script contains a couple of die("this happend") statements for which I need to send the 500 Internal Server Error response code instead of the usual 200 OK. The third par...
stackexchange/codereview
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'Office, Version=11.0.0.0, Culture=...
stackexchange/codereview
I have a small (200kb) mp3 in the res/raw folder of my android app. I am trying to run it in an emulator from Eclipse. It is recognized as a resource in the R file but when I try to prepare/start, my activity crashes! Was there something else I needed to change, perhaps in the manifest? MediaPlayer mPlayer = MediaPla...
stackexchange/codereview
I have 2 tables, clients and clients_role. when i enter in a role, i need it to check the clients_role table to see if there are any entries, if there are, get the user_id from the clients_role then match the user_id to the id in the clients table. Does this make sense? if anyone could help, it would be great
stackexchange/codereview
I'm currently working on a webpage that will be viewed on an iPad. It uses the jquery-ui libraries to display a slider bar. However, when a user tries to drag the sliderbars, instead, the entire page drags. Does anyone know if there is any sort of override that can be specified in the jquery or html to prevent the brow...
stackexchange/codereview
I am trying to find a tutorial that will guide me on how user based custom fields works. Like in surveys sites, where they let users create custom fields and store them and more importantly store the data entered through those fields. I am looking for something that describes how this is done on database. I am having a...
stackexchange/codereview
How can I set the CSS-class in javascript for a DIV-element? <div id="myId"> <!-- --> </div>
stackexchange/codereview
I'm running a SQL Server 2008 64 bit Developer Edition with Service Pack 1 installed. I have a SQL Server Agent Job. Within this job I want to get the job_id of my own job. On MSDN (http://msdn.microsoft.com/en-us/library/ms175575(v=SQL.100).aspx) you can find a description of using tokens in job steps. Wow, great, th...
stackexchange/codereview
In python, we can concatenate lists in two ways: lst.extend(another_lst) lst += another_lst I thought extend would be faster than using +=, because it reuses the list instead of creating a new one using the other two. But when I test it out with timeit, it turns out that += is faster, >>> timeit('l.extend(x)', 'l = r...
stackexchange/codereview
I have apache 2 + mod_jk + tomcat setup on Redhat. Just recently started having java.lang.OutOfMemoryError: unable to create new native thread exceptions which cause tomcat hang. catalina.sh: JAVA_OPTS="-Xms1256m -Xmx2000m" export JAVA_OPTS CATALINA_OPTS="-Xms1024m -Xmx2000m" export CATALINA_OPTS JAVA_HOME=/data/app/j...
stackexchange/codereview
How to retrieve node and attribute values from xml file in C++ using libxml2 by using xpath ? Thanks in advance, Bhargava
stackexchange/codereview
I'm implementing the RTMP-protocol for my bachelor thesis. I got through the handshake and application connect process and received the play-command from my client which is actually a jw player. But I now stuck with the audio and video-messages. I can't find something about the exactly built-up of these messages neithe...
stackexchange/codereview
Is there a way to switch between buffers without having to go through the buffer-list, or writing the name of the buffer that I want to switch to? More specific I wonder if emacs can tab between buffers much like how it is working in notepad++
stackexchange/codereview
First of all, this is not a dupe of this question. You'll see why. I'm working on a web application (not a mobile website; this will be JS-heavy), and the HTML we have so far (which was developed by someone else) uses the following doctype: <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openm...
stackexchange/codereview
I've inherited a Sybase database that has the 'unique auto_identity index' option enabled on it. As part of an upgrade process I need to add a few extra columns to the tables in this database i.e. alter table mytable add <newcol> float default -1 not null When I try to do this I get the follow error: Column names in e...
stackexchange/codereview
Fist of all , I would say thank you to watch my post. Secondly, the problem: if I type the ruby -v , how can I got witch ruby interpreter is talking to me ? I have two on my pc, one by rvm and one by a local directory. So how can I figure out witch ruby is talking to me ? How can I figure out what is the webrick using...
stackexchange/codereview
I like the orange bubbles that appears on SO as a warning: Is there a jQuery plugin for that?
stackexchange/codereview
I need to encode/encrypt database ids and append them to my URLs. Security is not an issue I am trying to deal with, but I am looking for something with moderate security. The main goal is to have short ids that are unique and URL-safe. The following snippet seems like it will do what I need (from http://programanddesi...
stackexchange/codereview
There is a hypothetical table called Table1, with the columns: id condition 1 condition 2 joinable_key There is another one, Main_Table, whose ID corresponds with the joinable_key in the first one. I would like to join them in such a fashion that I can count the rows of Table1 according to both condition 1 and condit...
stackexchange/codereview
I'm currently trying to determine the name of a parent process that launched a Ruby script. I might be very wrong (and don't hesitate in that case to point me to a simpler way of doing things), but I understand that the only way to do that is to rely on the FFI library. So, I've installed the necessary packages (I'm on...
stackexchange/codereview
I am new to ant and java and I am struggling to incorporate the third party ant library awstasks into my ant build script. I am able to get this jar to start to load if I copy it into the usr/share/ant/lib path, but it fails with the exception A class needed by class dak.ant.taskdefs.S3Upload cannot be found: org/jet...
stackexchange/codereview
I have a dialog box that displays a dynamic-sized form. I currently get the dialog box to resize automatically with the following code. What I would like it to do is to auto relocate the dialog box after resize event occurs. This is because the dialog box resizes its width, and I would like it to remain centered in the...
stackexchange/codereview
i am trying to understand how to use braintree but their documents are becomeing hard to understand after all the errors that i am receiving. what i am trying to do is submit customer billing information + credit card information to then receive a token so that i can store it in a db. this is what i wrote and i am gett...
stackexchange/codereview
I am trying to install IBM Rational Application Developer Version 7.5 after installtion i found that WebSphere Application Server configration is missing How I can default configure in build WebSphere Application Server in this RAD. how I can configure WebSphere Application Server Test Enviornment (WTE) installation in...
stackexchange/codereview
I need to use some version system and make a automated release . Can you suggest some preferable open source software's to use and are efficient. And how does a automated release go..
stackexchange/codereview
I would like to know how the following problem can be solved WITHOUT using Event Aggregation. This is for WPF 3.5 SP1, so the CallMethodBehavior is not available. Simple Scenario: A click on a button inside a ControlTemplate needs to be triggered to the VM. I used CaliburnMicro's ActionMessage which worked fine. Inside...
stackexchange/codereview
I have a file format I'm trying to write to using C#. The format encodes integer-based RGB color values as a floating point. It also stores the values as big-endian. I found an example of what I'm trying to do, written in php, here: http://www.colourlovers.com/ase.phps I can convert the endian-ness easily. I know t...
stackexchange/codereview
I am aiming for a fixed width layout, with width:1008px across all monitors. Here's my HTML- <body> <div id="god_container"> <div id="root"> ... all content ... </div> </div> </body> and CSS - #god_container{ ...
stackexchange/codereview
Is it possible to use OpenCL for PowerVR SGX530 GPU device? I have to write image recognition software that can run on Droid X smartphone. I would greatly appreciate it if someone could provide links, references, citations, sample code.
stackexchange/codereview
I want to retrace maps from google earth these maps would then be used for calculating fastest route from A to B as well as location probability defined by some factors. How would i go about doing these? My first thought is pygame and using some already made ones or using them as a template.
stackexchange/codereview
Possible Duplicate: Are there any Java VMs which can save their state to a file and then reload that state? Is there a way to stop the JVM, save its states in the hard disk and then resume the execution from the same point it was stopped? Something like the hibernation of windows, linux, etc?
stackexchange/codereview
If I have a ContentControl/ContentPresenter whose content will be set to a ViewModel - and I have a type-referential data template for the ViewModel - is there a clean, MVVM-compliant way to take a "snapshot" of the ContentControl/ContentPresenter when it has rendered everything? The idea is that I will have up to thre...
stackexchange/codereview
I'd like to strip as much as I can - on Linux: an ELF. I only want in there the stuff I need to run it. I tried using strip: strip --strip-all elf But it doesn't seem to do a good job: nm still displays lots of stuff, and the binary is still big. What should I do?
stackexchange/codereview
When I run it, I see this output in the "Output" window. Where can I find the detail about the actual violations found? ------ StyleCop started ------ Pass 1: Form1.Designer.cs... Pass 1: Form1.cs... Pass 1: MonthPeriod.cs... Pass 1: Application.Designer.cs... Pass 1: MonthPeriods.cs... Pass 1: AssemblyInfo.cs... Pass...
stackexchange/codereview
In our organization we have a Microsoft Sharepoint 2007 installed and configured on a Windows Server 2003 Standard Edition (32 bit). The database had been installed and configured on a Sql Server 2000 (Windows 2000 Server 32 bit). Now we are in the process to move all the databases from the Sql Server 2000 to a new Wi...
stackexchange/codereview
Let's say you have a string that looks like this: token1 token2 tok3 And you want to get all of the tokens (specifically the strings between the spaces), AND ALSO their position (offset) and length). So I would want a result that looks something like this: array( array( 'value'=>'token1' 'offset'=>0...
stackexchange/codereview
Just to say up front, I’m working with an existing schema (that isn’t exactly the best) and I have no control over it. I must work with it - I can't change it one bit. There is one company table with a record for each company, then each company gets its own set of tables that represent the business operations. To beg...
stackexchange/codereview
So Mathematica is different from other dialects of lisp because it blurs the lines between functions and macros. In Mathematica if a user wanted to write a mathematical function they would likely use pattern matching like f[x_]:= x*x instead of f=Function[{x},x*x] though both would return the same result when called wi...
stackexchange/codereview
How could I write a function to take in the following: filename: (a string that corresponds to the name of a file) wordA and wordB: They are both two strings with no space The function should do this: A- read the a txt file line by line B- replace every occurrence of wordA to wordB. C- Write the modifified text file wi...
stackexchange/codereview
Hi I need to use the system call read() to read from I/O. I have the following code //Reading in the commands for(;;) { n = read( fd, buf, 128 ); fflush(stdin); printf("---\n"); } It will not print the "---" string until I I terminate the program, then it'll print all at once. I've tried flushing the input...
stackexchange/codereview
Amazon S3 offers two plans: Storage (Designed for 99.999999999% Durability) and Reduced Redundancy Storage (Designed for 99.99% Durability) Designed to provide 99.999999999% durability and 99.99% availability of objects over a given year. Heres the link So if I have 10 000 files I can expect to loose one i...
stackexchange/codereview
What kind of code should I use so that jQuery looks for every YYYY-MM-DD formatted (plain text) string on a page and it replaces it with DD-MM-YYYY? Thanks a lot!
stackexchange/codereview
I'm currently working on a personal project: creating a library for realtime audio synthesis in Flash. In short: tools to connect wavegenarators, filters, mixers, etc with eachother and supply the soundcard with raw (realtime) data. Something like max/msp or Reaktor. I already have some working stuff, but I'm wondering...
stackexchange/codereview
My app makes several calls to getFromLocationName from the android.location.Geocoder; class, this is currently handled in my activity which also displays some data depedant on the results of that call. This can be quite slow, for example before the activity can load it first has to complete the various calls, and that ...
stackexchange/codereview
how insert method in class from another file? Now i get error: `T_FUNCTION' in C:\wamp\www\index.php on line 9 index.php file: <?php class cars { public function go() { echo 'go go'; } include('stop.php'); } $c = new cars; $c->go(); ?> ...
stackexchange/codereview
I am using Capistrano to manage a Java web app that is running on several load balanced servers. Certain tasks (such as config changes) require a server restart, or app redeploy, during which the server becomes non-responsive. If Capistrano could perform these tasks on servers consecutively, vs. concurrently, only one...
stackexchange/codereview
I got this in my output. The program still runs and finishes normally but I would like to track down the error. Can someone tell me how I can use tis data to trace the stack or something to track down what's causing the error. I'm using eclipse with gdb to run C/C++ code. Here's the output: *** glibc detected *** /home...
stackexchange/codereview
I created a small application which makes some settings. I want to start this application before a user logs into windows. Unfortunately i didn't find any solution for this problem, so i thought i could create a scheduled task. Unfortunately i didn't find any solution neither for this. So my question is, that could som...
stackexchange/codereview
i use the Idna.toAscii fun to convert a site name www.中国.中国(the tld is also has unicode chars). the result was www.xn--fiqs8s.xn--fiqs8s I used the Idna.toUnicode fun to convert the above punycode back to the unicode characters. but i got only www.中国.xn--fiqs8s The toUnicode fun is ignoring the tld part. Is there any w...
stackexchange/codereview
I am using WinVerifyTrust to verify the validity of some Windows executables with the following function, called in a loop from _tmain: int signature_is_valid(const wchar_t *filepath) { GUID guid = WINTRUST_ACTION_GENERIC_VERIFY_V2; WINTRUST_FILE_INFO file_info = { 0 }; WINTRUST_DATA wd; file_info.cbSt...
stackexchange/codereview
We have a domain name with two letters in it. This is a problem with IE, for all versions. The problem is that when we set document.domain="xx.yy" we get an "invalid argument" exception. Does anyone have a solution or an idea on how to work around this bug? Regards, Tobias
stackexchange/codereview
I have JavaScript that outputs links (search results) but I'm having problems adding onclick in the anchor tag var str = "<a href='#bokvisning' onclick='javascript:$(#bokvisning_content).load('http://www.akademika.no/node/"+item.link+"')'>" + item.title + "</a>"; It outputs this, which is wrong: <a href="#bokvisning" ...
stackexchange/codereview
On reading lots of code, I find that a given Connection object, which implements IDisposable, is is manually closed within a using statement. I see this when I see code related to MySQL. It's not needed to be explicitly closed. Why would the developer close it manually? using(cnn) { //code is here cnn.close(); ...
stackexchange/codereview
Hi i created a assembly to zip images of the project, and i hooked it to package phase in my pom file, the problem here is when i execute "clean compile package " it is creating my required zip file along with a file -jar-with-dependencies.jar which i dont want to create. how can i supress generating this jar file here...
stackexchange/codereview
I have written code for onClick method for Custom Dialog top of the another view. It gives me nullpointer exception. I've also tried using Layout inflater. It gives me error on ok.setOnclickListener. What's wrong in my code? ImageButton search =(ImageButton) findViewById(R.id.search); search.setOnClickList...
stackexchange/codereview
When I configure my ISession lifetime to be 'per HTTP request' (InstancePerLifetimeScope in Autofac which I'm using), NHibernate profiler tells me that my Session is being used across threads, which is most likely a bug. What is going on? I'm used to thinking that I should scope unit of work to http request but it seem...
stackexchange/codereview
We are trying to produce a library component which will perform asynchronous calls. For various reasons this needs to have a C like interface, so we are providing a large set of static functions as the interface to the library. We also need the user to have control over the memory. So most functions look something lik...
stackexchange/codereview
I have a wpf page hosted in a Window. But i get Null exception when i tries to get use this. It works then i use this code in another method but not in alla methods why is it that way? please advice. NewPage page = new NewPage (); Window w = Window.GetWindow(this.Parent); w.Content = page; Edit: heres the full code...
stackexchange/codereview
I am having a tableView which lists the contents of a directory which includes jpg, pdf, zip, mp3, mp4, sql,.. files and even folders. For the next step, I am having a detailView which displays some properties of the selected file such as fileName, fileSize, filePath, fileType. Everything works perfect. But actually my...
stackexchange/codereview
I executed the following C# code to Test environment and PROD server: This code checks if it is able to instantiate COM classes on the servers: try { Type creatorType = Type.GetTypeFromProgID("A.B"); MessageBox.Show("Trying to create instance for :" + "A.B"); ...
stackexchange/codereview
$param=array('EVRN_UnitResRQ', 'Customer'=>array('PersonName'=>array('GivenName'=>'Ryan','Surname'=>'Trayers'),'Telephone'=>array('PhoneTechType'=>'1','CountryAccessCode'=>'1','AreaCityCode'=>'206','PhoneNumber'=>'8320246'),'Email'=>array('DefaultInd'=>true),)))) )), This is my sample array in this i want to put or as...
stackexchange/codereview
I am running some windows application and it's working for few days then stop working with no error. Now i found in event viewer this error. Maybe anyone have any idea what can cause this error? Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 5000 Date: ...
stackexchange/codereview
I'm running the following code with dbg:p(client, r): -module(client). -export([start/0, start/2, send/1, net_client/1]). start() -> start("localhost", 7000). start(Host, Port) -> io:format("Client connecting to ~p:~p.~n", [Host, Port]), register(ui, spawn(fun() -> gui_control([]) end)), case gen_tcp:...
stackexchange/codereview
What is the difference with these three classes? They all seem to have similar function. Can someone explain this to me clearly and which ones are used by Zend_Application automatically? Zend_Application_Module_Autoloader Zend_Loader_Autoloader_Resource Zend_Loader_Autoloader
stackexchange/codereview
Are there any tools available for querying attributes defined for methods/classes? It would be nice if it was possible to get a list of methods/classes with specific attributes, no attributes at all, etc. I can imagine I could do this with reflection, but maybe there's a better way. I would be grateful if anyone has an...
stackexchange/codereview
in the Turing lecture 2010 Christopher Bishop talks about machine learning undergoing a revolution because statistics is being applied to machine learning algorithms... but then its like all machine learning algorithms are all statistical algorithms.. whats the real difference between the two? why are they separate ...
stackexchange/codereview
I have a typed dataset, this typed dataset has some fields : id, Code, Screen, NL, FR .. I do linq query on it, ok. But I'd like depending of the language return : id, Code and NL or id, Code and FR I tried something like this (see below but not work). var res = from p in dataTable.AsEnumerable() where p.Screen.ToUppe...
stackexchange/codereview
The ActionScript 3.0 Reference says the following about flash.net.NetConnection: The NetConnection class creates a two-way connection between a client and a server. The client can be a Flash Player or AIR application. The server can be a web server, Flash Media Server, an application server running Flash Remoting, or t...
stackexchange/codereview
I have an javascript object that contains a select list. I'd like to loop through all options within the select. I'm trying the following: $(this+' .form-select option').each(function() { console.log(this); }); A console.log of this shows that it contains the options but for all the option elements on the pag...
stackexchange/codereview
Can anyone point me to a good example of Atan2 defined in C# (or something vaguely close to C#) that doesn't use any internal math methods? This is on .NET Microframework, so there is no such thing as an internal math library. I have already defined Sin()/Cos(), but I am having a lot of trouble with Atain2. There are a...
stackexchange/codereview
Hi I'm trying to write a little server / client program in C using CygWin, problem is, the gcc compiler in Cygwin doesn't seem to contain the standard headers assosiated with socket-programming. When trying to compile my server program, i get: netinet/in.h: No such file or directory sys/socket.h: No such file or direct...
stackexchange/codereview
HI, Im very new to this cryptography field .I have a small doubt regarding key algo and signature algo in using the keytool in generating public-private key pairs .I just wanna know what exactly is use of these two algorithms . Thanks, Bhaswanth
stackexchange/codereview
I'm working on a exporter, but the problem I'm stuck at is the normal calculation. I've been reading many posts about this, and it seems like the "getnormal" function does not work like intended. (this is the one creating wrong results for my exporter). So I need to recalculate it manually. The question is - How do I d...
stackexchange/codereview
I dad left Java since so long as a result now it happens that sometimes I forget the simple things and used to behave like a Stupid. To run a Simple Java program say "Hello World" written in Notepad what do I have to Do? I know the commands javac "Filename.java" and java "Filename" respectively to run it from the Comma...
stackexchange/codereview
I have a BlackBerry project named "A". This means the build produces artifacts named A.alx, A.cod and all that. Now I want to change the application name to "B". I tried changing the output file name to "B" and built the project. I get the output B.COD, B.alx etc. But when I try to install B.alx onto the BlackBerry d...
stackexchange/codereview
I use the code below and get this error InvalidDataExcption: The magic number in GZip header is not correct. Make sure you are passing in a GZip stream. I am trying to extract a Microsoft word .docx file. (the code highlighter is doing weird stuff to my comments) Imports System.IO Imports System.IO.Compression Public C...
stackexchange/codereview
Before asking, I read this and this threads. No help there. I am using Visual Studio 2003 (this is mandated by my employer) but I guess answers to later versions of VS might also be useful. So, imagine I have two .Net projects: A - which is a class library and B - which is an application. In B I click Add Reference, go...
stackexchange/codereview
In ruby you can create a simple toggle function like so: @switch = false def toggle @switch = !@switch end toggle # => true toggle # => false toggle # => true I am wondering if it is possible to do it in scheme. The closest I can get is: (define a #f) (define (toggle a) (cond ((eq? a #t) #f) (else #t))) ...
stackexchange/codereview
I have Visual Studio 2010 Pro on a DVD disc, but it is an ISO image, and I wanted to run this on my home PC in place of 2010 Express Edition. So first of all, can I run this on my home computer? Do I need a virtual drive tool to run an image on my home computer? Is there a microsoft virtual drive tool? Is there a good ...
stackexchange/codereview
I wanted to get the age of a person from his date of birth. I have a HTML code where I'm using a datepicker for dob, when I give the date-of-birth it show automatically show the age without giving submit. Please help me in finding a solution for this. <html> <head> <title> DOB calculations ...
stackexchange/codereview
If you look at the iPhone, there are many examples on how to perform reachability network checks as well as best practices: I've found the following existing questions on SO: Where should I perform a Reachability check? Reachability Guide for iOS 4 iPhone reachability checking Apple developers, in addition, have an exa...
stackexchange/codereview
hi i wish to publish my rest service in .net to a https:// server.. do i have to make any change in it so that to consume it in my asp.net application?
stackexchange/codereview
Does anyone have any idea about a good school management module of OpenERP ? Also, I want to create a very basic application in OpenERP that would just display a form to get user data, like name, email, add. store it and then show the report when required. Please assist how should i get started with.
stackexchange/codereview
What does the this part of the following line of jQuery do? $('span:visible:first', this);
stackexchange/codereview
How to show product name + version like "My product 1.1.1.0" in Add/Remove Programs, Where "My Product" is name of product in InstallShield and "1.1.1.0" Product Version? Thanks.
stackexchange/codereview
I wanted to know how to implement customization in your apps, like the design aspect, like tumblr, posterous and twitter, all use these customization tools to allow their users to customize, do they have their own css file for each user, or is it pulled from the database, how does it work thanks? p.s. if there is a plu...
stackexchange/codereview
Lets say I run a powershell command (in my case Group Policy related) but lets say I run this command: PS C:>Get-GPO -All and my output looks like: DisplayName : My Named GPO DomainName : mydomain.com Owner : Domain Admins Id : Random_GUID ... How can I "filter" that command so that it only retu...
stackexchange/codereview
In my iPhone application, i need to insert ~2000 records into Core Data before the user can use any features of the application. I am loading the records into CoreData from a local JSON file. This process is taking a long time(2.5+ minutes), but only needs to happen once(or every ~10 application opens to get updated ...
stackexchange/codereview
I am using Solr to index documents from a wiki. Each document has a unique id, title, body content and some other fields. Firstly, I wanted to know the declaration in the Solr schema to store the multivalued field "tags" to hold n of these strings, attached to the document. Each document can have a set of tags applied ...
stackexchange/codereview
How validate username using regexp ? For English letters, Numbers and spaces I am using : /^[a-zA-Z]{1}([a-zA-Z0-9]|\s(?!\s)){4,14}[^\s]$/ How can i add arabic letters ?
stackexchange/codereview
Is Windows Phone 7 Development SDK available for other versions of Visual Studio 2010 than Express? If I already have the Ultimate version do I still need to download VS2010 Express to use WP7 SDK?
stackexchange/codereview
For some reason, this code won't compile: JsonSerializer serializer = new JsonSerializer(); _sectionStories = serializer.Deserialize < IDictionary<int, ObservableCollection<Story>>(new JTokenReader(contents)); The error: Error 91 'System.Collections.Generic.IDictionary>' is a 'type' but is used like a 'variable'...
stackexchange/codereview
I am highly confused with mvc and mvp design patterns. Both looks similar for me. can anybody provide me some sample windows application for both the patterns. i work in dotnet c#.
stackexchange/codereview
i am new to android and xml. so, i would like to know what is xml parsing and how and where we can use it in android application development. I would also like to know the syntax to be used for this purpose. thanks
stackexchange/codereview
I'm looking for two numbers here: the height in portrait and the height in landscape. Don't answer in cm or inches, but rather in pixels.
stackexchange/codereview
Can any one tell me about Context"? I know we need to use context for UI modification. Can any one brief me what it is about please? I have seen like getApplicationContext() , getBaseContext() ? What is the difference between them ?
stackexchange/codereview
I've made a Chrome extension with an options page. The data is saved in localstorage and works just fine. Chrome doesn't sync the localstorage to the cloud, just the extensions. This means that any user data will not sync to other computers of the same google account. I can not find an API at http://developer.chrome.co...
stackexchange/codereview
Since 10.5, Spotlight on Mac OS X has this nice Dictionary integration you might have seen: Any ideas how anything like this could be implemented? It seems that the current Dictionary+Spotlight friendship is somewhat hardcoded into Spotlight's code (for example, there is a specific user defaults key com.apple.spotligh...
stackexchange/codereview