instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
What is the easiest way to take something out of an vector and changes its values? This isn't working the way I expected. for(int i = 0; i < list.size(); i++) { someType s = list.at(i); s.x = 10; s.y = 20; s.z = 30; } However, when I go to print out the x,y,z of that someType s, it doesn't give me what I expect. Sorr...
stackexchange/codereview
I have an array that I want to find the number of string 'hello' in it. Is there any way to do this?
stackexchange/codereview
In my iPhone app, I use UIImagePickerController to allow the users to take photos for use within the app. However, they always seem to come out blurry and/or unstable. What are some best practices when using UIImagePickerController to take photos on the iPhone, to make the pictures come out looking good?
stackexchange/codereview
For fields like Retype Password, Accept Terms and Conditions what is the best strategy to validate these fields both on the server and the client?
stackexchange/codereview
I've read several comments here and elsewhere suggesting that Erlang's process dictionary was a bad idea and should die. Normally, as a total Erlang newbie, I'd just avoid it. However, in this situation my other options aren't great. I have a main dispatcher function that looks something like this: dispatch(State) -> ...
stackexchange/codereview
I'm writing a basic application. One of the features I'm interested in trying to do is to launch another app, INSIDE the app already running. Eg. I have an app with 3 menu options, 1 and 2 do certain tasks as part of this parent app, menu option 3 launches another app that's installed on the phone. I'm not sure if thi...
stackexchange/codereview
I'm looking to bone up my LCDS knowledge, but find that resources for anything beyond simple examples is lacking. I'd appreciate if anyone could share sites and/or training courses they can reccommend that cover things like: NIO configuration on LCDS Configuring LCDS as an Edge server Configuring LCDS in a cluster, an...
stackexchange/codereview
I'm trying to create a function that does a text replacement on the post content when its saved (the_content). The stub function is below, but how do I obtain a reference to the post content, then return the filtered content back to the "publish_post" routine? However, my replacement is either not working and/or not p...
stackexchange/codereview
This is format of JSON data: [{"options":"smart_exp"},{"options":"user_int"},{"options":"blahblah"}] that I receive through getjson from server. I need to append json with user input. I am trying to do it in this way: 1st convert it into javascript object, append it with user input, again convert to json object & send ...
stackexchange/codereview
I have a Graphics object that I am drawing to and displaying. This is working fine. The thing that is not working is drawing a .png image with a transparent section. I am drawing these images from am ImageList control (if that makes any difference) with the call: myGraphicsObject.DrawImage(myImage, x_position, y_positi...
stackexchange/codereview
I am having a repeating seg fault while using SystemC. During initialization I set a value to 0. During operation of a testbench I am setting this value to 1 in a module (proc). This is a sc_signal variable that is attached to a port of another module imem. The input port is of type sc_in. In theory, this assignmen...
stackexchange/codereview
HI, I have a table with 3 columns Itemid(int),Itemname(string),ItemDesc(string).. Im trying to use a radpanelbar to display this information, where the bar initially shows the item name and on clik/expansion it will show the item description.. I tried looking at the examples on telerik site but didnt understand the poi...
stackexchange/codereview
I am rather new to the more modern ways of coding database persistence, and my intuition is telling me I probably am missing something because my code seems "inelegant" but I do not see another way to do it. Note: I understand maybe Linq to SQL is considered "dead". I'm more in a "learning the concepts" mode assuming ...
stackexchange/codereview
In Codeigniter, I have the following model function get_item_history($id) { //from metadata_history get item_id and corresponding metadata $this->db->from('metadata_history')->where(array('id'=>$id, 'current_revision'=> "TRUE")); $query = $this->db->get(); $result = $query->result_array(); //store this in an ...
stackexchange/codereview
I have a repository that will throw an EntityNotFoundException when its GetSingle<T>(int id) method cannot find the requested entity in the database. When I use this with AutoMapper and an exception occurs, I get something like this instead: AutoMapperMappingException: Trying to map CategoryDTO to Category... ---> Aut...
stackexchange/codereview
Some time ago, me and my friend started working on a Flex project... Now it's almost finished, we are working on protection: my friend implemented a sort of encryption in the swf, so all the decompilers (we've tried) read the file as a "flash" app, and not "flex", so it's not possible to get the original sources etc......
stackexchange/codereview
I understand the problem I'm having with my code, but trying some of the things that others are suggesting isn't fixing my error. Here's my error messages: In file included from proj07.driver.cpp:4: proj07.string.cpp:10: error: redefinition of 'String::String()' /user/cse232/Projects/project07.string.h:25: error: 'Stri...
stackexchange/codereview
I am creating a new website that will be a 'leaderboard' for a game. Each user will have columns in the database for a statistic (e.g. kills, deaths, points, etc). I need to sort this data and give each user a global ranking for their statistic, which would be another column in the table. I have no idea where to start ...
stackexchange/codereview
Aren't these competitors? I'm thinkin they're not, but don't see it. How about within the context of an Activity needing to learn when a Service has new xyz? Thanks!
stackexchange/codereview
I need to disable indentation in only one section of my document (subsection, to be specific). How can I do that? Default indentation is provided by indentfirst package.
stackexchange/codereview
I know that the prototype property of JavaScript function objects is copied to the internal [[Prototype]] property (a.k.a. __proto__) of objects instantiated by using the function as a constructor. So, I can set this property to any object that I want to act as the prototype: function Foo() {} Foo.prototype = { toStr...
stackexchange/codereview
I know of ant coverage However that does a few things, it compiles with emma instrumentation, installs, and runs the test apk. I don't want it to run the test suite through ant with coverage because I need to run it with some extra hooks, and I don't want to run the large test suite twice. So far I have tried this Ta...
stackexchange/codereview
I am reading sams teach yourself WPF in 24 hours from 2008. I am wondering if a few things have changed in the latest version of WPF. Like I am using .net 4.0 and VS 2010 Go ahead and add the bindings for ApplicationCommands.Cut, ApplicationCommands.Copy, ApplicationCommands.Paste, EditingCommands.ToggleItalic...
stackexchange/codereview
I have a module like the following module MyModule def self.included(base) base.extend ClassMethods end module ClassMethods def foo @@var = 1 end def bar puts @@var end end end class A include MyModule foo end class B < A; end so that B.bar outputs '1'. However, I woul...
stackexchange/codereview
I'm having a bit of a problem populating a collections class with the values from the database. Everytime I loop through a record in the WHILE DR.READ loop, the last record over writes all the other items in the collection. My returnVal collections has several of the same items despite the loop showing each individual ...
stackexchange/codereview
Hi I am using SOX in the following manner with php: $thesong = 67; $theString = "1.wav 2.wav 2.wav 1.wav"; exec("./sox $theString $thesong.wav"); It seems to be be working very good, Then I do the following: exec("./lame $thesong.wav $thesong.mp3"); Again this works fine, but is there any way to tell when both SOX ...
stackexchange/codereview
code looks like below: class workers1(Thread): def __init__(self): Thread.__init__(self) def run(self): # ...do some stuff class workers2(Thread): def __init__(self): Thread.__init__(self) def run(self): # ...do some stuff if __name__ == "__main__": # start worker...
stackexchange/codereview
I've created an enumeration utilizing a TCustomAttribute descendant class (TEnumAttribute) to give each enumeration additional data (if successful, it will drive a custom component that can interrogate an enumeration and populate itself accordingly). type TShoppingCartType = ( [TEnumAttribute(0, 'All')] sc...
stackexchange/codereview
I have some very big DataTables, which I need to see their content while debugging. Is there a better way to do that other than opening the Columns' and rows' lists Properties in the Watch panel? Thanks.
stackexchange/codereview
Why this code doesn't work? public function get($key) { return isset($_SESSION[$key]) ? &$_SESSION[$key] : false; } Error Parse error: syntax error, unexpected '&' in C:\Arquivos de programas\EasyPHP-5.3.3\www\myphpblog\code\sessionstorage.class.php on line 12 Thank you.
stackexchange/codereview
I plan to pick up the clojure language. I have at my disposal an old book: The Little Lisper I know there are more recent versions of it (The Little Schemer) but I'm wondering if it will help ease me into picking up Clojure. Or should I find other learning resource ?
stackexchange/codereview
I would like to implement onfling (or some similar swipe) in listview in each and every item in list. If I swipe that particular item it should display three buttons next to the name. Is there any idea to implement this.
stackexchange/codereview
I'm trying to check if the browser supports onHashChange or not to hide some code from it if not, in this way: if(window.onhashchange){ ...code... } else { ...other code... } I tried this too: if(typeof window.onhashchange === "function"){ alert("Supports"); } else { alert("Doesn't Supports"); } As...
stackexchange/codereview
The unicode character from a rails app appears as ??? in the mysql database (ie when I view through putty or linux console), but my rails app reads it properly and shows as intended.I have another java application which reads from the rails database and stores the values in its own database. and try to show in from its...
stackexchange/codereview
I just ran bundle update and got the following error - I have no idea what this is. c:\San\ruby>bundle update Updating git://github.com/odorcicd/authlogic.git github.com[0: 207.97.227.239]: errno=No error fatal: unable to connect a socket (No error) An error has occurred in git when running git fetch --force --quiet --...
stackexchange/codereview
I'm looking for how to access information on a website from a Windows Phone 7 device, without opening a brower window. For example, if I had a website that provided a daily dictionary word and definition, how could I navigate to that word in my wp7 app without opening the whole page for display? In a sense the app wou...
stackexchange/codereview
I'm using VS2010 and writing an ASP.Net 4.0 app. I'm using DataServices and there's an annoying bug where the compiler every once in a while can't compile successfully unless you make some sort of modification to the *.cs file that has the definition of the DataService class. So, I want to add a step to the beginning...
stackexchange/codereview
I was finishing up K&R exercises 7.4 and 7.5 and came across an annoying "feature" that I don't believe the standard states. According to the K&R, the mode of action for the conversion specification "%c" "The next input characters (default 1) are placed at the indicated spot. The normal skip over white space is suppre...
stackexchange/codereview
I have image tag on my page . I need that tag shows different images on every 1s. My pictures are stored in folder "pict". How to achieve this using JQuery ?
stackexchange/codereview
How do i get the startup folder path for "Current user" and "All user" in VB.net?
stackexchange/codereview
Is ther a way to configure EC2 Security Groups so that they do not allow specific types of outbound connectivity (such as making HTTP requests to the public internet)?
stackexchange/codereview
I have app that is a basic timer. It tracks the number of seconds the app has run. I want to convert it so the seconds (NSUInteger) are displayed like: 00:00:12 (hh:mm:ss). So I've read this post: NSNumber of seconds to Hours, minutes, seconds From which I wrote this code: NSDate *date = [NSDate dateWithTimeIntervalSin...
stackexchange/codereview
I am migrating from weblogic 8.1 to 10.3 with JRockit1.6. When accesing the webservice using jaxrpc.Call.Invoke() method, it throws NullPointerException. I had a workaround fix of using the Xerces.jar to be preloaded in the weblogic prior weblogic.jar. But i dont want to use the xerces.jar as this is going to be a add...
stackexchange/codereview
I'm using the following code from Three20 to display a photo/image gallery. Can anyone help with changing the code to display an image that's locally stored on the phone instead of on a web server? [[[MockPhoto alloc] initWithURL:@"http://farm4.static.flickr.com/3444/3223645618_13fe36887a_o.jpg" smallURL:@"http://f...
stackexchange/codereview
I have a reeeaaally weird & strange problem with some form elements on a .ASPX page im working on.. the page form has a hidden slide-in on click of a div, section allowing the user to 'make a reservation'. The jQuery used to animate the slide works fine, and happens on click on the ticky check-box (id="rescheck"). The ...
stackexchange/codereview
I work on a UI java application composed from: top header left menu header text error message (displayed on the page's header) center container (JPanel) which is changed dinamically, in dependence of selected menu item (from left side) When there are any computation errors, an error message is displayed on the applic...
stackexchange/codereview
I am looking for a list of web browsers that fully support using ContentEditable. I know that I.E has supported it since 5 or 5.5, but what about other browsers. I know that the modern versions of Chrome, Flock, Maxthon, Opera and I.E support it. But I don't care about the modern browsers. What about the older versions...
stackexchange/codereview
I created Plugin for providing access to my Frameworks objects. Objects are working good except one controller. When I drag him from library to file arise very interesting assert. Assertion Message: An exception was raised while -[IBLibraryController assetLibrary:didFinishDraggingAssets:info:shouldSlideBack:] was exe...
stackexchange/codereview
I managed to programm an app that communicates with a server. I can write and I can read. I even managed to do it with Java NIO. My problem is that I have a endless while loop that is listening for new data to read. It blocks the whole program and I can't write anymore data. I need a solution so the loop keeps running ...
stackexchange/codereview
Was trying out some code with the EF "code first" method and ran into a strange problem. My datacontext: public class BookmarkerDataContext : DbContext { public DbSet<User> Users { get; set; } protected override void OnModelCreating(System.Data.Entity.ModelConfiguration.ModelBuilder modelBuilde...
stackexchange/codereview
I am doing some floating point arithmetic and having precision problems. The resulting value is different on two machines for the same input. I read the post @ Why can't I multiply a float? and also read other material on the web & understood that it is got to do with binary representation of floating point and on mach...
stackexchange/codereview
I mean, in the terms of the SQL queries, Are they compiled or interpreted in a low level?. How it works internally, It is a SQL statement interpreted or compiled?.
stackexchange/codereview
I'm just wondering if there is something I should know of when doing this or will it work straight out of the bat as long as the .NET framework is installed on the client? I ask because when I attempted this, VB6's references dialog said "cant register that dll" Thanks
stackexchange/codereview
I was wondering if there was any way that I could change the size of the image and also its position within the UIButton? Thanks
stackexchange/codereview
gcc 4.4.4 c89 I have the following code and 2 structures that have to be filled. I have 3 functions that will fill the handles for each of the devices. However, the device_type structure will need to increment from where the last function finished. For example: load_resources() starts at 0 and finishes at 9 dev_typ...
stackexchange/codereview
Is it possible for me to display the sum at the heading before the program runs through? while (($data = fgetcsv($handle, 1000, ","))) { if($data[2] != $prevRow2) { echo '</div>'; if ($prevRow2 != '') { $stringData .= '</Payment>'; } echo "<div id=\"row\">"; echo $sum; $row++; $sum = 0; } else { e...
stackexchange/codereview
I was looking on how the twisted and node.js frameworks work and I am trying to understand exactly how the operating system supports I/O operations using callbacks. I understand it's good because we need less threads because we don't need to have blocked threads waiting for I/O operations. But something has to call the...
stackexchange/codereview
I'm working on an e-commerce project and I got stuck at the cart update. Here I have to present a form using the contents of the current cart, with input fields containing the current quantities. I checked the documentation and the forums, but I didn't find anything useful. The problem is that i cannot declare the exac...
stackexchange/codereview
I have a problem with my spring controller/request mapping struture. In web.xml I have defined 2 dispatcher servlets, that map the following request paths: Servlet: /pathA/* Servlet /pathB/* All my controllers are defined in the package com.myproject.controllers, so both controllers serving for paths under /pathA/*...
stackexchange/codereview
apologise for silly question but there you go. Sql server 2 tables Customer and Order A customer can only have one order. When using the Sql server diagram and you want to create a relationship between the customer.CustomerId and order.CustomerID ,which way do you drag the arrow? From the customer to the order or from ...
stackexchange/codereview
RE for me is a completely new subject, so this may be naive. I would like to read data directly from the file -- the thing is the format of the file is unknown, it can be encrypted as well. I know what is in the file so I can probe it if it is necessary, but I don't know how it is written (for example if "hello" is wri...
stackexchange/codereview
I have an input field with comma separated values. I want to get the text between commas so that I can add a suggestion for each element. I found that I can get the cursor position using the value of the first child, how do I get only the text between commas? Edit: split will get value of an array, but I wish to know w...
stackexchange/codereview
If you look at the source code for the html you can see the combobox has an id. However when i run a loop through all hte elements on the page in vb.net it comes up as a blank instead of the id thats clearly defined. I'm thinking it has something to do with the javascript giving it a dynamic id. Anyway. I need to set t...
stackexchange/codereview
Is there any way I can build an index for a view in SQLite?
stackexchange/codereview
I would be grateful if somebody could help me to find an elegant solution to this database design problem. There is a company with a lot of different products (P1,P2,P3,P4) and a lot of customers (C1, C2, C3, C4). Now they have a simple database table to deal with orders, something like 20101027 C2 P1 qty status 201010...
stackexchange/codereview
I have an Oracle table as shown below Orders --------- ORDERID DESCRIPTION TOTALVALUE ORDERSTATUS I have the below mentioned query select ORDERID,ORDERSTATUS FROM ORDERS WHERE ORDERID IN( 1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1020, 1030,104,1040,1090,789) Some orderIDs mentioned abo...
stackexchange/codereview
What impact, if any, does having A LOT of gems have on the performance of your Rails app?
stackexchange/codereview
I'm randomly selecting nodes from a Binary Tree and I have to build a black-box test that proves all nodes have the nearly the same probability of being selected. I'm adapting the Chi-Square test algorithm based on this article http://en.wikibooks.org/wiki/Algorithm_Implementation/Pseudorandom_Numbers/Chi-Square_Test b...
stackexchange/codereview
I'd like to be able to take a photo from the iPhone's camera, select a polygon within that photo, crop the photo to match, and then fit the resulting image to the screen. What user interface element would you suggest for me to start doing this? I'm a Java programmer and just getting started with the iPhone, so I'm not ...
stackexchange/codereview
I have a need to pass in an HRESULT value to a program as a command line argument. I had intended to do so by passing the hex value, e.g.: >receiver.exe 0x80048836 I'm trying to convert this string representation back into an HRESULT using wcstol, eg: HRESULT hr = wcstol(argv[2], NULL, 16); However, the value of the ...
stackexchange/codereview
I'm writing an application using WPF MVVM. I have a view model with property IsFolderSelected like this: public class SelectFolderViewModel : ViewModelBase { public bool IsFolderSelected { get { return _isFolderSelected; } set { if (_isFol...
stackexchange/codereview
I have a file which I created and is present in data/data/com.andr.filedemo/files/a.xml. Now I want to parse this file using XML Pull parser. How can we give the path of that file or how we can access that file and then parse that file using XML Pull parser. Can anyone help me in sortig out this issue? Thanks in Adv...
stackexchange/codereview
I'm writing a WPF program in C# that needs to render a set of files in a file browser to the end user. The ExplorerBrowser control found inside the Microsoft Windows API CodePack contains much of the functionality I need... e.g. thumbnails of different sizes, sorting, browsing, etc... The catch is that the files are...
stackexchange/codereview
I have a for loop that iterates through an XML document and finds a specified attribute, the pointer that points to the current node sits inside a boost::interprocess::unique_ptr and has a custom deletor to call the object's release() function. It seems that on every loop iteration the pointer gets deleted, but the re...
stackexchange/codereview
I've got a stack trace showing a crash responding to a memory warning: Thu Oct 28 00:42:55 iPhone DTMobileIS[10853] : _memoryNotification : {name = (null), num = 1} Thu Oct 28 00:42:55 iPhone DTMobileIS[10853] : _memoryNotification : { OSMemoryNotificationLevel = 1; timestamp = "2010-10-28 07:42:55 G...
stackexchange/codereview
Hi have some question regarding spatial and temporal locality. I have read in the course theory that spatial locality If one item is referenced, the likelihood of other address close by will be referenced soon temporal locality One item that is referenced at one point in time it tend to be referenced soon again. Ok, bu...
stackexchange/codereview
Can someone tell me if I understand this right. private void SetFontWeight(FontWeight weight) { boldButton.IsChecked = weight == FontWeights.Bold; } Like what is getting me is how everything is in one line. Like they are comparing and then assigning. So is there like some order. Logically...
stackexchange/codereview
I am developing a project in Eclipse RCP. Everything is working fine, expect the icons. I am able to get the icons when I am executing the code. But when I package it as a product, the icons are inside the jar file and I get a file not found exception when I run the executable. How do package icons required for my app ...
stackexchange/codereview
I'm trying to make a guitar practice website, and a critical functionality is to loop over very short mp3 files (a few seconds long), with absolutely zero gap in between. For example, it could a 4-measures-long chord progression, and I want to allow the user to loop over it seamlessly. I tried using the HTML5 <audio> ...
stackexchange/codereview
I used Poster addon for firefox to send an xml POST. This is the HTTP Header captured from a successful POST to hudson server. I am trying to replicate this in php using header() function. POST /createItem?name=tellme HTTP/1.1 Host: somewhere.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.12) ...
stackexchange/codereview
The following deleteNode function when I run the program gets these: * glibc detected free(): invalid next size (normal): 0x000000000103dd90 ** Even i make the ' free(here); ' a comment,i get the above message. I dont think that the other 'free' calls provokes a problem like that. But I cant see why this would be wron...
stackexchange/codereview
I have a few related questions. I am new to Rails 3 after taking a year-long break from Rails in general. I am using Devise for authentication and I have a controller and model called 'User'. So, I can use 'localhost:3000/users/sign_out' to log the user out. I want to put a link at the top right that says 'logout' so w...
stackexchange/codereview
Anyone knows how is structured Foursquare App's layout? Look this: Foursquare's App Screenshot (the view on the right) I'm trying to create a similar layout. There is a navigation bar and after? TableView header? I'm not understanding what is the bar with user's avatar and the others stuff. Thank you very much.
stackexchange/codereview
When in Google search result, in each entry of search result, there is a "star" nearby, and end user could click the star to indicate whether the result is good or not. I believe this function is implemented in Javascript. My question is, I want to implement a similar function in my own web application. Which is there ...
stackexchange/codereview
I wonder if this is possible with any Nhibernate version. I have a class A with a property of class B connected by a lazy many-to-one relation. I'd like to get A.B.Id without going to the database (I mean, without getting the whole B entity). Is this possible? Thanks!
stackexchange/codereview
Ok guys, so I am drawing charts in OpenGL for Iphone. And everything is ok, until I use that Texture2D class to draw X axis labels and Y axis labels. The function of drawing labels is executing at each frame which I think is time consuming. In order to solve animation slowing, I have 2 ideas, but I still can't find how...
stackexchange/codereview
I'm not sure if it is actually possibe in C#, but I was wondering if there was a way to check everytime the user logs into the computer, and if the password was incorrect, call a function within the program. I'm not sure how tight the security is on things like this, so any help would be appreciated.
stackexchange/codereview
I need to write a state monad that can also support error handling. I was thinking of using the Either monad for this purpose because it can also provide details about what caused the error. I found a definition for a state monad using the Maybe monad however I am unable to modify it to use Either, instead of Maybe. He...
stackexchange/codereview
Has anyone attempted to use Razor outside of a Web Application, such as within a C# commandline application? Generally how would one go about using Razor to do a simple mail merge? It seems to be possible based on the comments of this blog post.
stackexchange/codereview
In my controller, I'm building a json object for books. I want to show truncate(book.content, 250). This doesn't work in a rails controller. And given it's a JSON render, I don't use a view. So how does one truncate? I don't want my JSON object to be huge :)!
stackexchange/codereview
I have created a web application which is creating and updating the xml file on daily basis. i.e. Creating a xml as currentdate.xml. This have all the records of user's visited i.e IP, refferer, visited page and some more. So the same file updating from multiple users at same time. So what are the best practice to che...
stackexchange/codereview
I am trying to get some data from a GoogleCheckout response. I am using a SimpleXmlElement and xpath to search for the data. One of the problems is that the response from xpath is an array of SimpleXmlElements - all I want is the string data. The other is that the response may contain multilpe instances of the TAG n...
stackexchange/codereview
I am evaluating some web application frameworks out there, and finally, two of the biggest contenders (in my opinion) are Ruby on Rails and Pylons. In order to have a better understanding of the two frameworks without spending too much time, I decided to follow a non-trivial application tutorial on one framework, and t...
stackexchange/codereview
I have a Visual Studio 2008 C++ project for Windows Mobile 6 with two processes. Both of which I would like to have access to the same function which is contained in process1. That function is Buzz: struct TEST_STRUCT { int bar; WCHAR foo[ 20 ]; }; typedef int( *pfn_Buzz )( TEST_STRUCT* ); int Buzz( TEST_STR...
stackexchange/codereview
I'm wondering if it is possible to restore a file that is in the trash (~/.Trash) to its original location. I understand there is a restore command but I don't understand its arguments or how to correctly use it. Is this a fairly simple thing to do? Cheers
stackexchange/codereview
Let's say I have a windows service called "MyService" and an executable called "MyEXE" Is it possible (from within "MyService") to start several instances of "MyEXE" running in seperate application domains in parallel? I would apprecaiate if some one can also provide a small sample using .net.
stackexchange/codereview
I'm stumped on why when I do doctrine:build -all it throws 2 warnings. I've tried commenting out all the schema.yml files and it still throws it. Anyone better informed help me understand where it is coming from, is there some caching I am unaware of? I've deleted the cache (./symfony cc). Manually deleted all the lib/...
stackexchange/codereview
Good morning peoples. I have a bit of a slight jQuery question/problem that I am not sure how to tackle. I have a click handler bound to varying classes on some anchor tags (which works great). I have now come to a page that needs an extra handler on the same anchor tags so I decided to use some namespacing to get the ...
stackexchange/codereview
I'm having a hard time figuring out how to make effective use of query caching criteria queries on the following entity: @Entity @Table(name = "category_configuration_values") @Immutable @Cacheable @org.hibernate.annotations.Cache(usage = CacheConcurrencyStrategy.READ_ONLY) public class CategoryConfigurationValue imple...
stackexchange/codereview
Nowadays a lot of web applications are providing API for other applications to use. I am new to the usage of API so I want to understand the use cases for it. Lets take Basecamp as an example. What are the use cases for using their API in my web application? For inserting current data in my web application into a newl...
stackexchange/codereview