instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am developing an application which contains controls like tree,grid and chart. I personally feel silverlight is the best choice for it because its got strong third party controls from Telerik. But, as flash is much widespread compared to silverlight, some members in the design team is supporting flash. To my suprise,...
stackexchange/codereview
I have two backup files 1) is named 'backup.sql' with a bunch of SQL defining TABLES 2) is named 'backup' with a bunch of encoded data, which I believe are the ROWS I need to restore these TABLES + ROWS, but all I am able to figure out is how to restore the tables. Any tips on dealing with these files? It's the first ...
stackexchange/codereview
I have a python console application that contains 300+ regular expressions. The set of regular expressions is fixed for each release. When users run the app, the entire set of regular expressions will be applied anywhere from once (a very short job) to thousands of times (a long job). I would like to speed up the sho...
stackexchange/codereview
I'm a Hadoop newbie. I have been able to successfully run the WordCount example. I would like to modify this example such that my output is sorted in ascending order of count. I'm unable to figure out where I would need to make the necessary changes. It would be great if someone would give me some direction to impl...
stackexchange/codereview
Hello I would like to develop using delphi 7 programming language but I have some questions, firstly is there a lot of different delphi languages e.g. Borland Delphi, Delphi 7, etc? Second, is there any official web location providing resources about Delphi? I would like to use borland delphi 7 studio but I can't find ...
stackexchange/codereview
im trying to read data from pipe using poll, here is code: #include <stdio.h> #include <fcntl.h> #include <poll.h> #define MAX_BUFF_SIZE 128 int main(void){ char buff[MAX_BUFF_SIZE]; char *buf; int fd,ret,len; struct pollfd fdinfo[1]; if((fd = open("/home/s/pipe", O_RDONLY)) == NULL) { pri...
stackexchange/codereview
I want to create a visualization where I see friends being added as time passes but I don't think the Facebook API tells me since how long I am friends with someone.
stackexchange/codereview
ys, I need help understanding why a field is not being updated: I have two sample class both deriving from Observable that simply implements INotifyPropertyChanged. public class ClassA : Observable { string p1; public string Property1 { get { return p1; } set ...
stackexchange/codereview
Ok. Long story short. My camera has a method which takes a photo and this is what it returns: [160, 120, 3, 10, 1287848024, 96181, 'super long image string'] I am able to decode the string and save it as image right after I call the method like this: for i in range(0, 10): image = camProxy.getImageRemote(nameId) i...
stackexchange/codereview
As the title of my question states. whenever the value of an input element changes I want it to execute a function. I know that the function is working because I've been tested in onkey events like onkeyup. But, I don't wont to use onkey events because I have scripts that manipulate the input element's value. I also kn...
stackexchange/codereview
I am working on a library and need to test it. There are several operations (as functions) defined in my class which can be called in any order by the client. Operation1(param1, param2) Operation2(param3) . . . OperationN(paramX, paramY, paramZ) param1, param2 etc are integers/double Now, I am thinking of writing a te...
stackexchange/codereview
I have the following scenario (Asp.net 3.5, Windows Server 2008 R2, IIS7): User1 logs into abc.com using Firefox, and goes to a page that takes several minutes to load. While that page is loading, User1 cannot load any other pages on the site. All other page request on the site for User1 with this browser do not rec...
stackexchange/codereview
I have a field to input your friend's name and search him up to add him as friend. The problem is that if you are not sure how to spell his name like: Kris instead of Chris for example. I think the right way to do this is use RegEx but I don't know how... How can I handle those kind of typos in PHP ? (if it isn't po...
stackexchange/codereview
If you look at the ECMAScript 3 specification you will see that primitive value types Null and Undefined don't have accompanying Null and Undefined Objects. >> Null ReferenceError: Null is not defined The other primitive value types Number, String and Boolean types do have accompanying Number, String and Boolean objec...
stackexchange/codereview
My Java EE 6 application consists of a war and an ejb module packaged in ear file. I'm using CDI for DI (i.e. I have a beans.xml file in both modules). I want to use a logging interceptor that is defined in the ejb module in the war module, as well. I've enabled the interceptor in the ejb's beans.xml: <beans> <inte...
stackexchange/codereview
Hi I'm very very new at MySQL and was wondering if anyone could help me out. I'm trying to build a procedure for my database and am using the following code. CREATE PROCEDURE `createuser`(username VARCHAR(100), password VARCHAR(100), email VARCHAR(100)) BEGIN DECLare returnValue int; IF EXISTS(SELECT 'True' FROM Use...
stackexchange/codereview
I need to place a bottom border under outside positioned bullet. I can't use inside positioning because the text wraps under the bullet. Please let me know if its possible to do what i ask. Thank You.
stackexchange/codereview
I'm totally lost here. I want to grab the visual content of a window for further processing, inside my console application. I know how to find the HWND, but from that I don't know what to do to get the content. The application I want to grab is 3D, but I don't know if its Direct3D or OpenGL, but I need to process every...
stackexchange/codereview
I need to create a map that can contain as its value any basic data type such as double,float,string, char etc... to store values from a request for a server component. I was thinking of using a map such as this: std::map<std::string, void*>, however I don't know that this is a very good solution. I wondered if anyone ...
stackexchange/codereview
How could i write vertical text on a toggle button bar that is vertically arranged.
stackexchange/codereview
I’ve got a long string object which has been formatted like this myString = “[name = john, family = candy, age = 72],[ name = jeff, family = Thomson, age = 24]” of course the string is longer than this. Also i have 3 lists with related names: Names = [] Families = [] Ages = [] I want to read that string charac...
stackexchange/codereview
Here are my Find What reg-ex which matches all of those I'm going to grab. <{_}{[A-Z\s+]}{[a-z0-9]*}> Like _ColumnId, Now how to convert upper-case char after _ to lower-case equivalent? (_columnId)
stackexchange/codereview
My installer bootstrap app makes a bunch of MSI calls at the start in order to get information from the MSI (what version(s) are installed, what features are installed, property values, paths, etc.). While these MSI calls are being made, Windows installer throws up a window with a Cancel button on it. My code has traps...
stackexchange/codereview
see the title :)
stackexchange/codereview
I am using the following pieces of code to generate a dynamic shoutbox on my site: HTML (index.html) <body> <div id="page"> <div class="block_main rounded"> <h2>My Shoutbox</h2> <form method="post" action="shout.php"> Name: <input type="text" id="name" name="name" /> Messa...
stackexchange/codereview
I am looking for a PHP framework that, if I'm lucky, just works in nginx under FastCGI, otherwise, one that doesn't take too much tweaking.
stackexchange/codereview
I have a domain (e.g: example.tld), and I want to allow users to create an e-mail address on this domain by only having to input the first half of the e-mail address. So the domain will be appended to the text box, and when the user clicks on the box the cursor will be at the start of the input field allowing them to e...
stackexchange/codereview
hope someone of you can help me. I'm new to mac and qt, so please forgive me if I ask some dumb questions. So to the problem. I want to install PyQt 4.8 on the macbook (Mac OS X 10.6.4). First I installed Qt 4.7 like in this description http://doc.trolltech.com/4.7/install-mac.html. Then I installed sip 4.11.2 (withou...
stackexchange/codereview
I got an error with my Msaccess DB. multiple users are using this DB's frontend. I do not know why I am getting this error message as follows Error 3218 Could not update; currently locked can someone help me please......
stackexchange/codereview
I am working on a script that will push each child element into a global array (for processing later on in my script) but for some reason its not actually pushing the element into the array. Code: var childElements=new Array(); function getChildren(elem){ $(elem).children().each(function(index, value){ ...
stackexchange/codereview
inside the checkout onepage billing.phtml I have to do several checks and even remove or add stuff to the cart. But I don't seem to find how to do that how can I change the cart from within an template? Thanks, Joe
stackexchange/codereview
All entity created by EF is partial class. so it is extendable. Suppose I have entity Person like partial class Person{FirstName, LastName, .....} Then I want to add a compute property Name like: partial class Person{ [DataMember] public string Name { get { return String.Format("{0} {1}", this.FirstName, t...
stackexchange/codereview
I have some WCF services with predefined FaultContract attributes. When the FaultException<TDetail> exceptions are thrown, they're sending StackTrace, Source and other potentially unsave information. Is it possible to return only: Detail (from the generic TDetail) FaultMessage FaultCode (and possibly) FaultReason
stackexchange/codereview
I want to display some images but, at the of that, I would like to redirect. $(document).ready(function() { $('.intro').cycle({ fx: 'fade' }); window.location.replace("http://www.something.com"); }); This will not work, it seems that js don't wait for the intro to finishes. Should I use a callback her...
stackexchange/codereview
The error i get seems to be centered around jquery finding what it's in (window,document, etc.). Right now i'm just trying to implement the jQuery datepicker. the project has a master page, where i placed my script references. <head runat="server"> <title></title> <link href="~/Styles/Site.css" rel="stylesheet" type=...
stackexchange/codereview
Using Rails 2, I try to separate different, dynamic image sizes trough another Model from the Paperclip-Model. My current approach, using a Proc, looks the following: class File < ActiveRecord::Base has_many :sizes, :class_name => "FileSize" has_attached_file( :attachment, :styles => Proc.new { |instance| i...
stackexchange/codereview
how to use html templates in C++ to convert html file to ps in C++
stackexchange/codereview
I have a RESTFul WCF service with a url likes this groups/{groupName}/members which returns a list of users this works fine for normal groupNames. But when I use a groupName with a special char (like #) nothing is returned ex. when the url groups/c#/members is called from the client it only returns null. I put a bre...
stackexchange/codereview
In the previous J2EE versions, it was common practice to complement the default libraries with frameworks like Spring, Hibernate, Struts, etc. Java EE 6 seemed to close the gap (with CDI, JPA, JSF2.0, etc.) - should I still use additional frameworks (Seam? A faces library? Spring?) I am currently using the default Or...
stackexchange/codereview
I want to split the a string if it contains ; or ,. For example: $str = "a@a.com;b@b.com,c@c.com;d@d.com;"; The expected result is: result[0]="a@a.com"; result[1]="b@b.com"; result[2]="c@c.com"; result[3]="d@d.com";
stackexchange/codereview
Can anyone tell me how can we make our browser as default in Android? I want to do so that when you open up the internet browser, it gives you two options: regular browser and Mybrowser (third party browser which is made by me). If you select the regular browser, it says that the phone cannot access the internet unless...
stackexchange/codereview
I've started writing a greasemonkey script, and am facing problems performing localstorage in the Greasemonkey script. The only way I could figure out localstorage in GM is by creating another instance of Javascript in the newElement.innerHTML DOM property, but there the rest of my variables are inaccessible. Any ideas...
stackexchange/codereview
public interface IRepository<T> where T : Entity { void Delete(T entity); T[] GetAll(); T GetById(int id); void SaveOrUpdate(T enity); void Merge(T entity); } public interface ITeamEmployeeRepository : IRepository<TeamEmployee> { PagedList<TeamEmployee> GetPagedTeamEmployees(int pageIndex, int ...
stackexchange/codereview
I've been trying to create a RelativeLayout with a header, body (list) and footer. I want the header to be above everything (aligned to top), the body (list) to be under the header (when scrolling) and the footer (aligned to bottom) to be above the body (list) - only when it's visible. I've managed to do so PERFECTLY w...
stackexchange/codereview
Using WebViewClient and/or the WebChromeClient you can get a listener for when the page has loaded, however this is sometimes called before the WebView has any content in it, before it has displayed anything. What would be a efficient method for determining when the WebView has displayed it's content? Edit: (Trying to ...
stackexchange/codereview
I've just got started on TDD and very quickly ran into a brick wall. Here's my scenario... I'm trying to model an Image object, and going through the TDD steps I've started with a simple object which eventual grew into... public class ImageObject { public string Name {get; set;} public int Width {get; set;} public ...
stackexchange/codereview
I am currently in the process of converting some excel VBA to C# and I am stuck on one thing. In VBA I have some public variables declared at the top of the module, outside of the Functions and I can access and modify these from any module or function. Example: Module A: public A As Double public B As Double ...
stackexchange/codereview
i want to configure gmail in my android emulator, i went to the "Add a Google Account" under settings/Add Account, i have given gmail username and password, but after some time it is saying that "Can't establish reliable data connection to the Server" ? What is this error ? Can i configure gmail in emulator? please he...
stackexchange/codereview
How can I have a timer in kernel mode such that a specified function in my driver is called approximately every second on Windows XP and above? I should be able to use all functions (in particular ZwQuerySystemInformation) in the function. I do not need a high resolution timer or millisecond accuracy or anything like t...
stackexchange/codereview
I want to go live with my silverlight 4 application and host it on the web but some of the web servers i looked at ask if i want the web server to be iis6 or iis7 but im using windows xp and that uses iis5.1 so im a little lost on how to do this. Also any suggestions on where to host silverlight applications
stackexchange/codereview
In Java, with Sun's JDK 1.6, with an enum such as this: public enum MyEnum { FIRST_MEMBER { public void foo() { } }, SECOND_MEMBER { public void foo() { } }, THIRD_MEMBER { public void foo() { } }; } The compiled files are: MyEnum$1.class MyEnum$2.class MyEnum$3.class MyEnum.class This also means t...
stackexchange/codereview
I have a typical producer, consumer pattern. If the producer sends an object over a channel, the producer is blocked until the consumer accepts the object. After the consumer accepts the object, the producer alters the object in some way. Does the consumer see the object get altered? Or was there an implicit copy when ...
stackexchange/codereview
Say this is my sql: SELECT title, author, ISBN FROM bs_books ORDER BY ISBN LIMIT 3 It just selects everything from a certain table (title, author, etc..). Say I would like to select all the items that come after a certain title, not alphabetically or something but just the records after ...
stackexchange/codereview
what I do not like about the Messenger I use (mvvm light toolkit) that when I register to DateTime and I send something other parts of my application get the datatime data too because they registered to "DateTime" type. To prevent that I have to create always custom objects and wrap my datetime value. Thats stupi. How ...
stackexchange/codereview
I was wondering what the best approach would be for the following situation: I have an Orders table in a database that obviously contains all orders. But these are literally ALL orders, so including the complete/finished ones that are just flagged as 'complete'. From all the open orders I want to calculate some stuff (...
stackexchange/codereview
I'm trying to make a login script in CodeIgniter, but I only have a blank page. I want it to say "username or password is wrong" and if the username and password is correct it should set session to true. I hope some one can help me. Here is my code: <?php class Login extends Controller { function index() { ...
stackexchange/codereview
The topic says it all. I'm guessing this is because of some missing setup related to MVC, but I'm very new to the world of http, asp.net and mvc, so I'm not quite sure what's wrong. public class MyController : Controller { public ActionResult MyAction(MyModel model) { return View(model); } } var contro...
stackexchange/codereview
I have a Django site placed in folder site/. It's under version control. I use South for schema and data migrations for my applications. Site-specific applications are under folder site/ so they are all version-controlled along with their migrations. I manage a virtualenv to keep third party components dry and safe....
stackexchange/codereview
Packages php5-fpm and php-apc installed from ubuntu 10.10 official repo. APC configuration: /etc/php5/conf.d/apc.ini extension=apc.so apc.enabled=1 apc.shm_size=128M Afret php5-fpm restart: Fatal error: Call to undefined function apc_exists() in /var/www/.../application/models/user_model.php on line 271 phpinfo(); sa...
stackexchange/codereview
I have a few Rails applications and I use Git as the version control system. I use either GitHub or Beanstalk as the repository hosts. What I am trying to is quite simple in theory. Somehow show the latest commit ID number (hash?) in the footer of the web application. So that when I am looking at the web application I ...
stackexchange/codereview
I want to make an application where PIC18F4550 send its internal eeprom data to the pc through usb. Also i want to use the same usb connector to download the data to another PIC18F4550 over usb. How to use ex_usb_serial.c of ccs examples codes for this purpose . If anyone can give me the schematic and what to do on PC ...
stackexchange/codereview
I am the beginnings of writing a tic-tac-toe game. I just ran it and got the following stack trace: Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:571) at java.util.ArrayList.get(ArrayList.java:349) at TicTacToe.isMarked(TicTacToe.j...
stackexchange/codereview
I installed a MVC app on one of the machines and it works great. With the same code base, when I install it on a different machine, I get the following error: A route named "myroute" is already in the route collection. Route names must be unique This makes me want to say something is not correctly installed on the th...
stackexchange/codereview
Have you ever had any issue with PHP timezones conversions through the getTransitions function? I am trying to convert an Argentinian date into GMT. If I look into the array of transitions, I get: .... [63] => Array ( [ts] => 1287284400 [time] => 2010-10-17T03:00:00+0000 [offset] => -7200 [isdst] => 1 [abbr] => ARST ) ...
stackexchange/codereview
Suppose I have a pattern in the form of "((?<happy>foo)|(?<sad>bar)|...)" . There could be many more conditions. If I wanted to know which grouping I had found (e.g. searching 12bar34 will return "sad", is there a cleaner way to do it than the code I have now? Regex objRegex = new Regex("((?<happy>foo)|(?<sad>bar))")...
stackexchange/codereview
I have created a custom list. I have a field called manager Email. Whenever a list items gets added to this field manager should get an email. This workflow should be automatic. Any directions please
stackexchange/codereview
I`v wrote some script, and have unexpected end of file echo off if [$JAVA_HOME = ""]; then goto no_java_home fi if [$SRV_HOME = ""]; then goto no_srv_home fi echo Uses JAVA_HOME=$JAVA_HOME echo Uses SRV_HOME=$SRV_HOME export ACP="" export ACP=$ACP;$JAVA_HOME/lib/tools.jar export ACP=$ACP;$SRV_HOME/ant/lib/ant.jar exp...
stackexchange/codereview
Does there exist anything like CLOS (Common Lisp Object System) for Clojure?
stackexchange/codereview
Has anyone come across a CakePHP system with pre-configured things like authentication with all the login/logout forms, etc? Most websites have some sort of a basic authentication system on top of which everything is built. I was hoping to not go about re-inventing the wheel setting up the most common pages like login,...
stackexchange/codereview
I know regular MS-Test unit tests can be parallelized on a multi-core machine (with caveats of course) by specifying parallelTestCount attribute in the .testresults file in the test solution. Like this, <Execution parallelTestCount="1"> <TestTypeSpecific /> <AgentRule name="Execution Agents"></AgentRule> </Exec...
stackexchange/codereview
In a Windows CMD.exe command line, how can I get the full DOS name/short name (a.k.a. 8.3 format) of the directory I am in? For example, if I am in the directory C:\Program Files\Java\jdk1.6.0_22, I want to display it's short name C:\PROGRA~1\Java\JDK16~1.0_2. I know running dir /x will give me the short names of files...
stackexchange/codereview
Why does the following compile? public IList<T> Deserialize<T>(string xml) { if (typeof(T) == typeof(bool)) return (IList<T>)DeserializeBools(xml); return null; } private static IList<bool> DeserializeBool(string xml) { ... do stuff ... } But this doesn't public MyClass<T> GetFromDb<T>(...
stackexchange/codereview
we're caching these objects in xml files, and we wan't to ignore the cached file when 24+ have passed. I don't want to have to load the file to check if 24 hours have passed, so I'm wondering if there is a way to get the metadata of the file without loading it. Something like: using (IsolatedStorageFile file = Isolated...
stackexchange/codereview
I converted a System.Data.DataTable to type IEnumerable[Dictionary[[string, object]] and called it myDataTable. Now, how do I read each row and its value using linq? dtReports = new myDataTable(e.Result); foreach (myDataRow row in dtReports.Rows) { string group = row.GetType().GetP...
stackexchange/codereview
I have a domain object that contains another domain object; call them A and B. B contains a blob (an image file) which can be large. As long as I am only dealing with one A at a time having B on A isn't a concern. However, sometimes I'll be dealing with thousands of A in which carrying around the blob on B causes he...
stackexchange/codereview
How can I select all of the check boxes from a table column by knowing the column index? LE: This needs to be addressed in plain Javascript, not jQuery
stackexchange/codereview
So, I would like to have some code executed everytime a given function is called, is that doable? Thing is, I could just overwrite the existing function and add the code, but that would require me to know the exact content of that function... Imagine a "plug-in" to a "library", and you want the plug-in to execute code ...
stackexchange/codereview
WHY! doesn't this dispose of all the objects on the flow panel!? the count shows 5 and there are 5 buttonsWithProperties on the form, no other objects are on the form. foreach (ButtonWithProperties itemButton in flowLayoutPanel1.Controls) { itemButton.Dispose(); } It disposes 3 of the objec...
stackexchange/codereview
I'm looking for a way to calculate the size of an installed Android application/package. I can't find this information in neither ApplicationInfo nor PackageInfo objects. From the ApplicationInfo I can get the path for the data and the app itself. Data is a directory structure, but when attempting to read it recursivly...
stackexchange/codereview
When I login to my site's CMS (concrete5), the jQuery events won't fire anymore: I've built a site where certain parts should be editable. There is just one HTML and through jQuery I display/hide parts on that site. It is all working, except when I login, the navigation does not work anymore. The funny thing: If I righ...
stackexchange/codereview
I have built an RSS feed and consume it in asp.net page. In this page i want add a button that enables users to subsribe to the feed so that they stay updated with news(and informed). If is that is not possible,should i work with a third party(feedblitz,...) Thanks.
stackexchange/codereview
I am trying to do an exercise where I translate a grammar into Chomsky normal form. I understand how to do this in normal circumstances but this time the grammar I am working with is right recursive. (Technically the grammar is the answer to the previous question, so I might just have the wrong gamma.) I think I can d...
stackexchange/codereview
I have a button which when pressed, should push the controls below it down and show textFields on the space freed. Basically, just changing the position of these controls in an animated way. Any ideas/tips on how to do that? I tried the code in: How to Make a UITextField Move Up When Keyboard Is Present But couldn't ge...
stackexchange/codereview
I have a main login for my client facing website configured with ASP.NET membership. I also have a secondary login for my admin backoffice called /admin with a login page /admin/login.aspx upon logging in it should direct to: /admin/secure/ I've placed a web.config file in /admin/secure/ as follows <?xml version="1.0"?...
stackexchange/codereview
I use below code for change textcolor of each segmented in UISegmentedcontrol how can I change textcolor of specific segment?(for example segment at index 2) for (id seg in [segment subviews]) for (id label in [seg subviews]) if ([label isKindOfClass:[UILabel class]]) [label setTextColor:...
stackexchange/codereview
I have just started learning java after C + +. but so far nothing is clear. especially the work with classes. tell me please how to open a file for reading or writing? it is desirable to provide the code completely. Thanks. sorry for bad english. upd: I started to learn java hour ago, but has not yet written a working ...
stackexchange/codereview
What this javascript does? It's a buffer overflow? It's a xss? what it does? What is the decoded version of this farbbibliothek[x] array? <SCRIPT> farbbibliothek = new Array(); farbbibliothek[0] = new Array("#FF0000","#FF1100","#FF2200","#FF3300","#FF4400","#FF5500","#FF6600","#FF7700","# FF8800","#FF9900","#FFaa00"...
stackexchange/codereview
I want to build a mobile app that has the ability to receive an audio file and then play said audio at a time previously set by the user. Does anybody know if it is possible on the iPhone to build such a function or is there no way around the user having to run the app and accept the audio file manually?.
stackexchange/codereview
My code is seperated by lots of controls on a masterpage, but on the master page I have this <form dojoType="dijit.form.Form" id="form1" runat="server"> what gets injected into this is a validationtextbox, which is not validating <input dojoType="dijit.form.ValidationTextBox" required="true" ...
stackexchange/codereview
I have a JUnit test case where I'm expecting a particular method call to take a long time (over a minute). I want to Make the method call. Make sure the method call takes at least a minute and have a JUnit assertion fail if it doesn't. Then kill the method call (assuming it took more than a minute as it should) becau...
stackexchange/codereview
I was going through the Hilo tutorial series Developing C++ Applications for Windows 7; seemed pretty interesting. What modern books that go into details of developing C++ based applications for Windows 7? It should show how to take advantage of Windows 7 features and based on "modern" C++ (templates, Unicode, etc.). N...
stackexchange/codereview
I want to set <printWhenExpression>![CDATA[Boolean.valueOf(true)]]</printWhenExpression> to Boolean.valueOf(false) when I fill the report according to some conditions. This means I want to set value 'false' in <printWhenExpression> at run time. Can any one help me for this?
stackexchange/codereview
I want to overload the assignment operator for types like "int", "long" etc. That is, I want to use code like: class CX { private: int data; ... }; CX obj; int k; k = obj; // k should get the value of obj.data Apparently assignment operators cannot be friend functions. How do I achieve the above? I maybe missing...
stackexchange/codereview
We are trying to develop an app that uses compass information, and facing a similar problem on the Droid Incredible [http://www.youtube.com/watch?v=qSDpHksACRc][at time-2:02]. my prob is similar to the link:http://androidforums.com/incredible-support-troubleshooting/73860-compass-calibration.html ** I have tested my ap...
stackexchange/codereview
I'm new to the realm of web/plugin development and I'm not sure what I need to be researching. What I need is to develop a C++ app/dll/control/something that will install as a browser plugin and can be embedded and ran within IE when <object>...</object> tags call it (or any HTML tag that will embed something of the ...
stackexchange/codereview
Myself and one other developer had been merging and pushing our work to a non-master branch called toolwork. That way, we didn't impact the rest of the team. My topic branch was called DPM-93 and my git workflow was this. # do some work git checkout DPM-93 git commit -m "did some work" # catch up git checkout toolwork...
stackexchange/codereview
How do I cause a thread to respond to pthread_cancel() if it is blocked on a sem_wait()?
stackexchange/codereview
Pretend I branched from my master branch to a topic branch, and then I did a few commits on my topic branch. Is there a command that tells me the commit hash on the master branch that my topic branch originated from? Ideally, I wouldn't have to know how many commits I've made ( trying to avoid HEAD^5 ). I've googled an...
stackexchange/codereview
I'm using the plugin from here: http://www.uploadify.com/ I'm trying to update/add scriptData but it isn't working. The value always remains the same, what am I doing wrong? Here is the relevant code from my header.. <script type="text/javascript"> $(document).ready(function() { $('#sampleFile').uploadify({ ...
stackexchange/codereview
I try to work with link to entity, and i want to work directly with my entity in my application. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Calandar.Business.Manager.Data; namespace Calandar.Business.Models.Args { public class SaveExpertArgs { public Exp...
stackexchange/codereview