instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have an issue implementing CCR with SQL. It seems that when I step through my code the updates and inserts I am trying to execute work great. But when I run through my interface without any breakpoints, it seems to be working and it shows the inserts, updates, but at the end of the run, nothing got updated to the dat...
stackexchange/codereview
Look at my sample code struct A { int member; }; int main() { int A; //Line 1 A b; //Line 2 b.member = int(); //Line 3 } Errors are prog.cpp: In function ‘int main()’: prog.cpp:9: error: expected `;' before ‘b’ prog.cpp:9: warning: statement has no effect prog.cpp:10: error: ‘b’ was not declared in th...
stackexchange/codereview
... char A,M,Q,Q_1,count; int main() { system("cls"); count=8; printf("%d",count); printf("\n\tEnter the Multiplicand(M) : "); scanf("%d",&M); printf("\n\tEnter the Multiplier(Q) : "); scanf("%d",&Q); printf("%d",count); //prints 0??????? ....... } I don't understand how the...
stackexchange/codereview
below is my html form and i dont get any error if i dont have a <form tag, so i add a form tag like this: <form class="cmxform" id="commentForm" method="post" action=""> get this error: Microsoft JScript runtime error: 'first_name' is undefined when i try to read the value of a text box: First Name: <input id="first_...
stackexchange/codereview
I'm writing a web application and i'm thinking about sql injections. I have created a database class that trough an array can makes everything, forgetting about escaping strings. That class works likes that: $db->q(array( 'SELECT' => 'username', 'FROM' => USERS_TABLE, 'WHERE' => array('user_id' => 1) )); In that func...
stackexchange/codereview
We are software engineering students that were asked to do a project to help the chemistry department voluntarily outside of classes. We are trying to build a program to build chemistry labatory diagrams. The main idea would be to have a series of items, being the many components in a labatory (like decanters for examp...
stackexchange/codereview
I am developing an app where i have a local database in SQL Server Express. During work in local database, we need to execute a query on another SQL Server / live server and its return a value and with this value we execute a query in local server. It is OK when executing this query against 2 or 3 queries, but i have...
stackexchange/codereview
I've been working on a card game engine in C# .NET for some time now. It is nearing completion at this point, but the interface so far has just been a simple console one with ReadLine and WriteLine. For data, I have a GameState object that stores pretty much all of the relevant information to the game at a given point ...
stackexchange/codereview
Can anyone suggest me a nice and simple framework for PHP ? I have tested CodeIgniter and it seems simple. I have been reading about CakePhp, but it seems a bit more complicated than CI. Maybe there are other nice frameworks that could be worth looking at?
stackexchange/codereview
HI my code $send_contact=mail($to, $subject, $message, $header); if($send_contact){ echo "mail was sent successfully"; } else{ echo "mail could not be send"; } in not working in IIS6 for windows server. It sends success message but email is not sent http://interfacenepal.com/contact/contact.php phpinfo d...
stackexchange/codereview
In an Servlet class, I am having the checks if("Mail".equals( request.getParameter(mode)) || "Chat".equals( request.getParameter(mode))) {} My question is about the memory allocated for the strings "Mail" and "Chat". Will it create new string objects for every request to this servlet. What about GC?.
stackexchange/codereview
I am having a strange problem. There are two ajax calls in the code. The first onClick I want to use to populate the list and the second onfocus I am using on select a value to make an ajax call to other jsp script. This code is just making the second call and not the first. Another thing I want is to send the list ind...
stackexchange/codereview
As the title says. I form image urls in my Template. Sometimes the image is not there. I have a default image to be displayed in such cases. But how do I handle this case at Template level. Perhaps write a filter? Are there other ways? So Far: ... {% for m in movies %} <img width="54" height="74" src="/site_media/...
stackexchange/codereview
I am a newer for RPG program. Now I want use RPG program to access DB2 db on IBM i system. For example insert one record to DB, update one record, delete one record. Could you give some sample code? Thank you very much!
stackexchange/codereview
I have a query string as follows: cmd%5Blogin_user%5D%5Busername%5D=dfdsfdsf&cmd%5Blogin_user%5D%5Bpassword%5D=dsfsdf How do I unescape it in python?
stackexchange/codereview
I packaged my SWF for iPad and exported to debug. I installed the .ipa on my iPad. When I tapped on the icon, nothing happened for a few minutes. Then, I got a UIAlertView asking for the address of my Flash debugger. Does anyone know what that address might be, or what to do with that UIAlertView?
stackexchange/codereview
I'm trying out OpenJPA 2.0.1 for the first time, and am getting: 79 WARN [main] openjpa.Runtime - The configuration property named "openjpa.Id" was not recognized and will be ignored, although the name closely matches a valid property called "openjpa.Id". 179 INFO [main] openjpa.Runtime - Starting OpenJPA 2.0.1 3...
stackexchange/codereview
I am developing an ASP.NET MVC2 app with a MSSQL db using VS2008 and SQL Express 2008 R2. I have a table called Business and another table called Employee. Employee has a BusinessID foreign key as all employees must belong to a business. I'm using the ADO .NET Entity Data Model to generate my model. From reading anot...
stackexchange/codereview
so i tried the tutorial from http://www.huronbox.com/~james/techdemos/cs-callback.html like some others i found but i am getting the same error over and over when it comes to access a function from the imported library i get the dllNotFoundException anyone can help? best regards
stackexchange/codereview
In this question it's finally clicked how to write joins between multiple tables, where they link in a line e.g. Table A - Table B - Table C Where Table A references Table B, and Table B references Table C and so on. What I still don't understand is how to reference the situation where Table A references Table B as a...
stackexchange/codereview
I have a table with tr's where you can click on. These tr's can contain a's. <tr id="12" href="/guestbook/edit?id=12"> <td class="main"> <strong>Remi</strong> <a href="mailto:xxx@xxx">xxx@xxx</a> </td> <td class="date">05-11-2010 11:34</td> <td class="number">ip</td> </tr> This is the...
stackexchange/codereview
Reading Guru-Gu's blog post about ASP.NET MVC3 hitting RC, he says:- Session-less Controller Support You can now indicate whether you want a Controller class to use session-state – and if so whether you want it to be read/write or readonly.read/write or readonly. Can someone explain what are some scenario's s...
stackexchange/codereview
Is there a way to get a CXMLElement back when xpath querying a document? The XCMLNode item returned by the - (NSArray *)nodesForXPath:(NSString *)xpath error:(NSError **)error; doesn't contain the attributes functions. Is there a way to either directly get an element or convert the node to an element? Thanks
stackexchange/codereview
Can you rotate a UIImage without using a transform on UIImageView. I'm using a UIImage as a custom pin on a map and would like to rotate it if possible?
stackexchange/codereview
Ok, so I have been searching for quite some time on this. I have a lat/long from my new found location. geocoder's getFromLocation returns a certain number of addresses from the lat/long and that is all fine and dandy. I then put it into an adapter which populates a spinner... also works perfect. What I need now thoug...
stackexchange/codereview
I am trying to figure out a way of combining the below Dim statements into one line and maybe also combining Return dblResult into there. currently it is three lines and I have been told that it is possible but kind of lost of how to do it - can anyone lend a hand please? ` Private Function CalcAreaFromRadius(ByVal rad...
stackexchange/codereview
Do you know of any service which given an ip address it returns a location/country? I found a few lists we can add to our database but do I need to update them often? Is there any rule (like telephone numbers) to know the country of origin? Sorry, I know this might sound a stupid question but for what we're doing it ca...
stackexchange/codereview
i have a simple method that takes a generic List parameter but for some reason my IDE(Eclipse) states how it cannot be resolved? Am i doing something wrong here private OnClickListener removeFieldListener(final LinearLayout layout, List<T> viewList) { return new OnClickListener() { @O...
stackexchange/codereview
I am having a problem with VS 2010, to have my silver-light solution build successfully. A friend of mine has no problem to build the same solution and he has much more RAM than I have and he has a 64 bit OS. I am still not sure if my problem is lack of memory -The build fails by complaining one project is not build so...
stackexchange/codereview
I enabled edit and continue, but when i'm running the simulator, it tells me that changes are not allowed to code running on the .net compact framework I just want to edit my code for the next build, without having to leave debug.
stackexchange/codereview
Am I right in thinking that spam bots can't simulate the 'keypress' event, and thus I can't get spammed if I require a keypress for each field in my contact form before being able to submit it? Is this a good alternative to captcha, etc. if I don't care whether or not my viewers have JavaScript enabled? Wizards, set me...
stackexchange/codereview
Just "used session again" as usual... but faced strange situation. .net 3.5 Inserted object into session variable. Just in the next line - retrieved it successfully. Redirected, retrieving - variable is default value, but object constructor wasn't called. I will not describe how I spend few hours on debugging any op...
stackexchange/codereview
I'm trying to convert to HTML5, but to preserve the site experience for those that don't have all the HTML5 features, I would use a workaround. For example, how can I check if the HTML5 attribute contentEditable exists, so that if it doesn't, I can just create a textarea instead. Thaks!
stackexchange/codereview
I need to get the context to be able to get a resource. Like this: getApplicationContext().getResources().openRawResource( R.raw.texture ); I've seen the getApplicationContext() in the android documentation but when I try to use it in the above code it doesn't work - it doesn't exist. I can send the context through f...
stackexchange/codereview
Say i have code that does something complicated and prints the result, but for the purposes of this post say it just does this: class tagFinder: def descendants(context, tag): print context print tag But say i have multiple functions in this class. How can i run this function? Or even when say i do...
stackexchange/codereview
I have the following HTML: HTML: <input type="radio" name="abc" value="0" selected="selected" style="display:none" /> <input type="radio" name="abc" value="1" />1+ <input type="radio" name="abc" value="2" />2+ <input type="radio" name="abc" value="3" />3+ JQuery to get the selected radio button $('input:radio[name=abc...
stackexchange/codereview
I've been struggling with this for a few hours now. I'm trying to migrate my Spring XML configuration to a full Java based configuration. I'm using AnnotationConfigApplicationContext as a context implementation. I'm having trouble finding an Java equivalent for this line, from my old XML configuration: <tx:annotati...
stackexchange/codereview
i need to create a ObservableCollection<> for tree o more levels in c# like this: Group 1 Group 2 Group 1 Group 2 Group 1 Group 2 Group 3 thanks in advance, Timmy Leonard
stackexchange/codereview
I want the cells to be in edit mode when a certain condition is true. I'm using cellEdit true and editable in the column but in some occasions the user shouldn't be able to edit some cells of the same column even though the column is editable=true. I need to use cell editing not inline editing. Any thoughts? Thanks
stackexchange/codereview
I add the whole Google analytics code but the part of the function does not show up.. You can check out my source at http://vivamaroc.nl/ I did alot of research before I started this post so I hope anyone could help me out with this problem. :-) Thanks alot.
stackexchange/codereview
I am writing a GLPaint-esque drawing application for the iPad, however I have hit a stumbling block. Specifically, I am trying to implement two things at the moment: 1) A background image that can be drawn onto. 2) The ability to draw temporary shapes, e.g. you might draw a line, but the final shape would only be commi...
stackexchange/codereview
Can someone tell me, How Rational suite can help the mainframe z/os development process, testing and deployments and so on.
stackexchange/codereview
When I try to install virtualenv on my local machine running OS 10.6.4, I get the following: Searching for virtualenv Reading http://pypi.python.org/simple/virtualenv/ Reading http://virtualenv.openplans.org Best match: virtualenv 1.5.1 Downloading http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.5.1.ta...
stackexchange/codereview
i am using facebook like buttton <iframe src="http://www.facebook.com/widgets/like.php?href={url}&amp;layout=button_count&amp;" scrolling="no" frameborder="0" style="border:none; width:150px; height:25px">/iframe> =>{url} is dynamic value also i am using $facebook->api_client->fql_query('SELECT user_id FROM l...
stackexchange/codereview
I am trying to use the trial version of ActiveState's TclDevKit-5.2. I am getting an error message like this: -prefix "/opt/TclDevKit-5.2/bin/tdkbase" does not exist when trying to wrap a simple tcl file with command like this: /opt/TclDevKit-5.2/bin/tclapp -prefix /opt/TclDevKit-5.2/bin/tdkbase -out app empty.tcl Ho...
stackexchange/codereview
I want to inform the user that his HTML Form submission from a PDF file has been successful (or not). Now when I used the browser-plugin with adobe reader I could get a HTML response displayed withing the browser. In the case of using the standalone reader to submit my form I got the "Cannot process content of type tex...
stackexchange/codereview
I'm working on my homework and am having trouble figuring out the correct syntax for the "NOT IN" functionality. The database is a small insurance database (carriers, members, employers, plans) made up for this assignment. I am supposed to figure out "Which Plans do not have any Member subscriptions? List the PlanID,...
stackexchange/codereview
I wonder if anyone can shed some light on this problem.. I've got an option group drop-down for selecting a person's ethnicity – however it’s not storing the value in the model. ViewModel [UIHint("EthnicOriginEditorTemplate")] [DisplayName("Question 6: Ethnic Origin")] public int EthnicOrigin { get; set; } ...
stackexchange/codereview
I need some ideas for the logic behind a project I want to implement. Basically we have been having a problem with a few (under 10) "customers" using fraudulent credit cards. What happens is they use the credit card, (which is valid) to buy items and have them shipped to them. Then, the real card owner sees what was...
stackexchange/codereview
how can i determine the file name in header when i get with php. lock at this: <?php /* This is usefull when you are downloading big files, as it will prevent time out of the script : */ set_time_limit(0); ini_set('display_errors',true);//Just in case we get some errors, let us know.... $fp = fopen (dirname(__FILE__) ...
stackexchange/codereview
I want to connect Excel to my web site, as an external data source, and thereby run reports on the data that is fetched from my website. I have heard that this should be possible to do and Excel seems to support it, but I have little knowledge on how I actually should build the backend on my PHP server to serve the dat...
stackexchange/codereview
I am using PyQt4 and a QTreeView (although this could just as easily apply to qt directly). Right now there are default key bindings that control the expanding/collapsing of branches using the right and left arrows. Unfortunately, these bindings are not ideal and I would like to disable them. I have not been able to f...
stackexchange/codereview
I have a CExceptionHandler class that is invoked whenever my application detects a run-time exception. For example: if ( val == NULL ) { TRACE(_T("Unexpected NULL in sequence.")); AfxThrowException( ERROR_INVALID_DATA ); } AfxThrowException is very simple: void AfxThrowException( DWORD error ) { CExceptio...
stackexchange/codereview
When one of my rows is wider than the table it is going onto the next line, but the next row is also being displayed there. What setting/property can i change in CSS to ensure multiple rows arent being displayed on the same line, when they are wider than the table?
stackexchange/codereview
So, I have a TClientSocket which have to receive over 10KB of data in one OnRead event. But when the event is triggered it only gets 8KB of data, then the event fires again with the rest of the data. Why is this happens?
stackexchange/codereview
I have a situation where I want to be able to distinguish between different types of errors within a web service. In an API this would usaully be a separate exception for each, does this mean I should have multiple fault contracts in WCF? Is this the preferred approach, it seems the OO way to do it. Someone at my work ...
stackexchange/codereview
I have to consume a Java web service and want to do it using Microsoft Visual Web Developer in C#. I will be adding the endpoint of the web service as the web reference and hopefully go from there, however I am concerened if there will be any interoperability issues? Any help would be appreciated.
stackexchange/codereview
I have an XML file: <?xml version="1.0" encoding="UTF-8"?> <MyProducts> <Product Name="P1" /> <Product Name="P2" /> </MyProducts> And a C# object: Public Class Product { [XmlAttribute] Public Name {get; set;} } Using the .NET Serializer class now can I Deserialize the XML file into an IList without cr...
stackexchange/codereview
I'm using Xlib for a project, and I'm trying to get the KeySym relative to a pressed key. I've got the KeyCode relative to the pressed key, keyboard modifiers and keyboard indicators. I'm referring to this page to understand how to retrieve the correct key, but it must be out of date or something, because my X doesn't ...
stackexchange/codereview
It's possible that this is really easy and it's just Friday brain problems but I'm struggling here... I have a MySQL table which contains text entries such as : Elephant Apple Dog Carrot Banana I pull one row, ie Dog. I now want to pull the previous alphabetical row and the following alphabetical row, ie Carrot & Ele...
stackexchange/codereview
I have an UIWebView with an <input type="text"/> html element in it. I want to focus the input element in the html and show the keyboard on the iPhone programmatically, without tapping the screen. I've tried the following: set the focus from JavaScript (in this case the onFocus JS event will fire but the keyboard won'...
stackexchange/codereview
Ok, I didn't really now how to formulate this question, and especially not the title. But i'll give it a try and hope i'm being specific enough while trying to keep it relevant to others. I you want to run a php script in the background (via ajax) every X seconds that returns data from a database, how do you do this th...
stackexchange/codereview
I have an application using ASP.NET MVC, Unity, and Linq to SQL. The unity container registers the type AcmeDataContext which inherits from System.Data.Linq.DataContext, with a LifetimeManager using HttpContext. There is a controller factory which gets the controller instances using the unity container. I set-up all m...
stackexchange/codereview
I try to run my Java project and NetBeans reports that command line is too long. Command line length is about 9900 chars long. How this could be fixed? I Use Vista 32 OS, NetBeans 6.9.1, jdk1.6.0_12 UPDATE: It looks like this is connected with exec-maven-plugin (http://netbeans.org/bugzilla/show_bug.cgi?id=189137)
stackexchange/codereview
I am trying to populate list boxes with data and at the same time display the number of users currently logged in. I have the following code. <body onload = "getNumberOfOnlineUsers();" onbeforeunload = "leaveChat();"> <body onload="initListGroup('links', document.forms[0].category, document.forms[0].site);"> The two c...
stackexchange/codereview
public Vector2 Get() { return var2; } public void Set(Vector2 var1) { var2 = var1; } For some reason if call Get(), var2 is (0, 0)... even though both var 1 X and Y are greater than 0... What am I doing wrong?
stackexchange/codereview
I have a project where I have multiple nodes providing services. One (and only one) of the nodes needs to act as a master to orchestrate certain functions for all remaining nodes. If the master node disappears I need the remaining nodes to detect and negotiate a new master. I'm searching for design patterns and/or algo...
stackexchange/codereview
Im struggling with the following problem: I have a modalPanel for adding a new person on my Richfaces view I have two buttons "Save" and "Cancel" Some input fields are required with required="true" attribute on h:inputText component when I leave one or more required fields empty and cancel the form/modalpanel, the mod...
stackexchange/codereview
I am using Webclient to download a file asynchronously. I am wondering how often is DownloadProgressChangedEventHandler get called? Can the user control it?
stackexchange/codereview
I have a UITabBar with 5 view controllers in it. When any of the first four controllers are selected and the device orientation changes, the view will correctly update. However when the last controller is active and the device orientation changes, the frame of the view does not correctly update its size to the new fram...
stackexchange/codereview
basically I want to return the number of digits in the int -> values like this: (int)1 => 1 (int)123 => 3 (int)12345678 => 8 I know nothing about C, so please bear with me. I know objective c, but I use ints and floats instead of NSNumbers. I realise I could convert the ints into objective c objects, but this seems fa...
stackexchange/codereview
I have a set of classes which can contain an optional name attribute. The reason is that the classes will get a default name if the attribute is set, but individual classes can still have a custom name if needed. What I want is to be able to get the name attribute from both the class (without any class instance) and fr...
stackexchange/codereview
Well I cant understand the above diagram of Von Neumann architecture [Cited from wikipedia] and not even sure whether it is correct. Some obvious doubts that I have - How can ALU communicate with Memory? Isn't that supposed to be CU's Job? How is accumulator a part of ALU? And, What is exactly the job of accumulator?
stackexchange/codereview
The snippet of the PHP script below works for the most part... except for the fact that $rows[from_location_1] and $rows['to_location_1'] are not displaying all of the data. The data consist of building code (letters) followed by a space then floor number/room number. example: NAC 1/200A. The script is displaying onl...
stackexchange/codereview
I have a BackgroundWorker that calls a function on a non-GUI thread. I've noticed that for some form elements I can get away with updating the GUI without doing the invoke. Others will still result in a runtime error because the program attempted to update the GUI in a non-threadsafe way. Why is that?
stackexchange/codereview
I'm using Ruby 1.8.7. I have the following array of hashes. I need to sort by the boolean value first, but those results must be ordered as well in the original order. I basically need to shift all the true hashes to the top of the array but maintain the original ordering. Any help would be appreciated! array = [{:i...
stackexchange/codereview
I have 3 checkboxes and 1 textbox checkbox1, checkbox2, checkbox3 when i check first checkbox1 and then checkbox3 then in textbox it will appear as 1,3 exactly........ !! using vb.net only.........
stackexchange/codereview
I have a C++ windows application which is composed of several DLLs. I want to have some sort of a pool from which I'll get objects, but in a way that this pool would be available in all the DLLs. So I put it in a "Common" dll which everbody has access to and defined it in a header file like so: static Pool globalPool; ...
stackexchange/codereview
Objective To write a effecient Active Directory library to ease the work of technicals who are responsible to create access models into the domain controller's Active Directory. This library must allow the following: Basic operations: Add, Modify, Delete, List entries; An entry may either be an organizational unit...
stackexchange/codereview
I have a huge list with about 100 000 lines like this: ipadnews abcipad cddeeffipad hellworld iworldthis .. and so on And would like to find popular substrings, in this case "ipad" would be the most popular and "world" would be on second place. Minimum length should be three or four chars. I can't predict the substri...
stackexchange/codereview
The code: $(document).ready(function() { $('#new_opt').click(function() { $('#reg_form').toggle('slow'); }); }); Using Firefox. First time I click, it shows, but then it doesn't hide when I click after that. CSS: #reg_form - display: none; If it helps - #new_opt - cursor: pointer; When I c...
stackexchange/codereview
im trying to debug and im using eclipse hellios php version and i get this message "the debug session could not be started. please make sure that your debugger in properly configured as a php.ini directive" what do i need to do could someone help me?
stackexchange/codereview
I'm using WS Discovery to dynamically find and connect to endpoints on the local network. var cli = new DiscoveryClient (new UdpDiscoveryEndpoint ()); var response = cli.Find (new FindCriteria (typeof (IFoo))); returns net.tcp://localhost:8000/, which is correct. But var ep = new DynamicEndpoint ( ContractDescript...
stackexchange/codereview
Is it possible to have a C++ program running on a server that sits and waits to be passed arguments by a PHP process. The C++ program would then process these arguments and return a result to PHP. I’ve been searching the web and can see a couple of ways to run a C++ program from PHP but can’t find a way to interact wi...
stackexchange/codereview
I have one small question about the pumping lemma for regular languages - is it good enough to show that if a specific string belonging to a language L can't be pumped, then the language is irregular? For example - if I choose language L1 being of the form a^nb^n (ab, aabb, aaabbb ...) and I show that the string aabb ...
stackexchange/codereview
I'm studying for some technical interviews coming up and was just going over lecture slides from a year or two ago about data structures. I'm not clear on why the worst case runtimes of merge for a leftist heap is O(log n) whereas for a skew heap it is O(n), when a skew heap essentially merges in the same way as a lef...
stackexchange/codereview
is there any gem that makes RTP(audio stream) management possible with Ruby? Thanks
stackexchange/codereview
If you set AllowAutoRedirect of HttpWebRequest to true, then it automatically redirects until it reaches some content. For example on sourceforge.net it redirect to mirror and then mirror would return the content in response. Problem is, the final response doesn't contain any Content-Disposition header, instead it's pr...
stackexchange/codereview
Is there any open source photo viewer for Iphone, which functionality will be similar to standard Iphone application?
stackexchange/codereview
Hi I have created a custom button link in the admin section of my component, something like this: $bar = & JToolBar::getInstance('toolbar'); $bar->appendButton( 'Link', 'export', 'Export', 'index.php?option=com_component&task=export&format=raw' ); However no image is assigned to it and I don't know how to assign one t...
stackexchange/codereview
I have been trying to figure out a Java RegEx for some while now that would split something like the following into two pieces: l&<6:98>9"hello:world"-45:&<78:89>"hedhed:hdeh"+56 it should be split at the colon after "-45" ignoring all colons inside tags and quotes. Neither of the sides must not necessarily contain any...
stackexchange/codereview
I noticed some files were showing up in Mercurial as being all on one line. Others (most) don't. When opening one that does and one that doesn't in Notepad I can see the same problem, Notepad shows the file's whitespace to be all over the place and little squares where new lines should be. What's going on and how can I...
stackexchange/codereview
In a perfect world (with out TinyMCE) the following code works great:document.myform.textarea.value += '[MY_BB_CODE]'; With TinyMCE enabled on this page, I can't use the standard javascript. I googled around and haven't found any JAVASCRIPT-ONLY solutions that didn't require some TinyMCE plugin... I'm sure I'm not look...
stackexchange/codereview
I have a C++ project that creates a DLL, let's call it my.dll. Along with it I supply a header named my.h which contains declarations of the functions exported from my.dll. The source code of my.dll #includes the my.h header. I've added XML DOC comments to the function declarations in my.h and set the /doc switch on th...
stackexchange/codereview
My understanding was always that by doing #include <header.h> it looks in the system include directories, and that #include "header.h" it looks in the local directory. But I was just looking at the python source code and it uses the "header.h" method to define headers in a sibling directory. So in py3k/Python/ast.c it ...
stackexchange/codereview
I have downloaded the Source code of Android 2.2 . Where can I find the default app source code of Android (Calculator, Calendar, etc, on pressing Home Button)
stackexchange/codereview
How to implement a FIFO queue using two stacks so that each FIFO operation takes amortized constant time?
stackexchange/codereview
I have a WinForm that is used as a Dialog with just OK and Cancel buttons. So: Dim sr As New SlideRangeDialog Dim dr As Windows.Forms.DialogResult dr = sr.ShowDialog I have an If/Then to see if the user pressed OK. If they pressed OK and there is a validation error, I need them to go back to the dialog and fix it. ...
stackexchange/codereview
I'm new to ASP.NET coming from a PHP and ColdFusion background and I have a pretty simple question: Within my Master Page, how can I make one of my CSS file links a variable, so when the appropriate page (Home for example) comes in, it contains the variable with the correct CSS file to use? <!-- Custom CSS Files --...
stackexchange/codereview
Stackoverflow seems to be one of the most authoritative and easy to use technical forums on the internet so I figured that this would be the best place to start. I have done considerable research on this particular issue and so far I have not found a definitive answer and was hoping that someone here would have a solu...
stackexchange/codereview