instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Can anybody say why suppression filter doesn't work? It still generates javadoc errors for Candidate_ file. checkstyle.xml `... <module name="SuppressionFilter"> <property name="file" value="C:/sts-projects/staffing4/trunk/config/suppressions.xml" /> </module> <!-- Checks that a package-info.java file exists...
stackexchange/codereview
Can I remove elements from std::list, when I'm iterating on it? For example so: std::list<int> lst; //.... for (std::list<int> itr = lst.begin(); itr != lst.end(); itr++) { if (*itr > 10) lst.remove(*itr); } ? And why?
stackexchange/codereview
I was gathering information about the flush() method, but I'm not quite clear when to use it and how to use it correctly. From what I read, my understanding is that the contents of the persistence context will be synchronized with the database, i. e. issuing outstanding statements or refreshing entity data. Now I got f...
stackexchange/codereview
I am using an mx:DataGrid with a dataProvider to display Rows. I have checked the no of rows in my array ( which is 8 ) and the no of rows in the dataGrid. They both match, however I always get an extra blank row at the end of my data grid. How can I remove this row? Regards Aparna
stackexchange/codereview
Possible Duplicate: When should BOOL and bool be used in C++? I'm currently tidying up a large C++ code base, which is primarily MFC and has a lot of BOOL variables and parameters. It also has a number of bools in there, which when compared yield a compiler warning; warning C4800: 'BOOL' : forcing value to bool 'tr...
stackexchange/codereview
I mean, a radio button itself consists of a round shape and a dot at the center (when the button is selected). What I want to change is the color of both. Can this be done using CSS?
stackexchange/codereview
I am new to BlackBerry application development and trying to make a simple application to turn my flash light on as a torch. I know there are several applications that do this already, but I would like to try do it on my own. I have installed eclipse and all the necesary add on to get my development environment runnin...
stackexchange/codereview
Possible Duplicate: Objective-C vs C++ It is known that it is possible to write applications using C++ on Apple iOS platform, which can be especialy useful, when porting application. Using C++ brings some obstacles comparing to Objective C in iOS. Apart from these obstacles, how is it with speed? Are C++ application...
stackexchange/codereview
Possible Duplicate: C# cleanest way to write retry logic? i having a function contains web service call to the server which fails sometime (unable to connect remote server error) due to some disturbance in network. The code is in try catch block. i want to rerun the web service call within try block so that the web...
stackexchange/codereview
I haven't been able to find a working solution online for this problem. Maybe because I'm using the express edition? But when I for example add a button to my form en press f5 It does not appear. But when building with f6 I works fine. Does it have anything to do with pointing it in the right direction via "directory'...
stackexchange/codereview
Ok for now i managed to call managed code (mono) from native C code referring to: http://www.mono-project.com/Embedding_Mono which works on my host system (x86) ubuntu. Now i try to crosscompile it for my target (arm) debian system. Crosscompiler is arm-none-linux-gnueabi-gcc 2010 from Codesourcery when i go for: arm-...
stackexchange/codereview
I have the following code in my page which works fine although the number of cases is much much bigger. I need to use exactly the same list of cases in other selects but I don't want to have exactly the same code duplicate all over the place. I have this: Select Case Request.Cookies("LatestRefer").Value Cas...
stackexchange/codereview
I'm making a form and I add a DateField, and I would like to change the background font of the textField where the date selected is written but I don't know what I should change, I try with backgroundColor, Color, ColorFont and I just get to change the color of the text. Thanks in advance, Alicia.
stackexchange/codereview
I need to find out, from within a Common Lisp program, how much memory is currently being used. I'm given to understand there is no portable method (the standard function room prints the information to standard output in text form instead of returning it as a value), but sb-kernel:dynamic-usage works in SBCL. What are ...
stackexchange/codereview
How do I write a SubSonic query similar to this is C#.net: SELECT * FROM Users WHERE substr(last_name,1,1) = 'S'; I don't want to use "LIKE" it eats up performance.
stackexchange/codereview
I have a text in a std::string object. The text consists of several lines. I want to iterate over the text line by line using STL (or Boost). All solutions I come up with seem to be far from elegant. My best approach is to split the text at the line breaks. Is there a more elegant solution? UPDATE: This is what I was l...
stackexchange/codereview
Suppose we have a directed labeled graph, i.e. a graph where the edges from a vertex to another are labeled with a value. How can we model this in Java? (or in an object oriented language in general?) My current solution is to have a class Vertex which has a Collection<Edge> outgoingEdges and a Collection<Edge> incomin...
stackexchange/codereview
I'm creating MVVM application and in Model section I have simple base abstract class Animal and class Dog which derives from it: public abstract class Animal { public int Age { get; set; } } public class Dog : Animal { public string Name { get; set; } } ViewModel section containts UI-friendly VM classes of th...
stackexchange/codereview
i have a mysql database storing uploaded photos , i am trying to generate a photo album using php , assuming i have 20 photos i need to put every 5 images in one row then start a new row with the 6th image . i succesfully did it but i also need to attach the image id from the mysql database to the image displayed in th...
stackexchange/codereview
I want to know what is the safe method to send php data to js. I found by search to start php tags in js and pass data by this way. var jsVar = "<"+"?php echo $phpVar;"+"?"+">"; But it seems a dangerous way to pass data exposing threats. I want to know whats alternative way to do same that is safe.
stackexchange/codereview
i want to log a lot of events in a dynamically search-algorithm (e.g. information about convergence to global optimum). This logging should have a switch to turn it off/on. Now there are a lot of possibilities to achieve that: implement a log-version and a non-log-version of the algorithm -> redundancy use macros -> u...
stackexchange/codereview
how set value of current operating system to default operating system -by c# code or by script. manually : control panel -> System -> change system -> advanced ->setting -> (startup and recovery) checked the default operating system. I do it by this script, I want to set in the current operating id: bcdedit /default ...
stackexchange/codereview
Possible Duplicate: Generating random numbers in Javascript Hi.. I want to generate random numbers (integers) in javascript within a specified range. ie. 101-999. How can I do that. Does Math.random() function supports range parameters ?
stackexchange/codereview
Let's say I have an app that should ideally be able to use a relational database, object database, XML files, or whatever to persist its data. In the spirit of coding to interfaces instead of implementations, I have a generic DataStore interface that specifies a contract for all I/O involving the data store. This inter...
stackexchange/codereview
I am calling a WebService and get a string returned from a WebMethod. The string is an object serialized as XML that should be deserialized using the System.Xml.XmlSerializer. My problem is that the first line indicates that the document is UTF-16 encoded: <?xml version="1.0" encoding="utf-16"?> So when deserializing,...
stackexchange/codereview
Im using EntityFramework and one of my objects (toList) as datasource for lookupedit. Everything works fine but I would like to know if I can add an extra column to that control ? WHich isnt as a field in my object. Thanks for help, bye
stackexchange/codereview
I'm trying to load an audio file into AVAudioPlayer on the iPad. When I run it on the iPad it finds it in the bundle fine. However, if I try and run it through the simulator, I get a null error for NSURL. Here's the snippet of code (num is an arbitrary int): NSString *name = [NSString stringWithFormat:@"st-answermachin...
stackexchange/codereview
I'd like to modify the standard ASP.NET MVC URL routes http://example.com/Controller/Action[/Id] to something like: http://example.com/Controller/Id/Action Modifying the route scheme is trivial but I'm getting into trouble when handling default values. I would need these URLs http://example.com/Controller/ -> Maps t...
stackexchange/codereview
i'm working with html5 video and noticed that, when a video ends(firing the ended event), the last image of the video is freezed for a sec or so, before showing me the poster image. Has html5 video tag any attribute for this? Cos i want my poster to be shown right after the video ends. Thanks
stackexchange/codereview
I am new to creating forms in Visual Studio and C#. But I made a UI that has some comboboxes where the DropDownStyle is DropDownList. The items shown is Yes and No. But I need to assign this as a boolean value to a property on some object ai and currently do this: if (cmbExample.Text == "Yes") { ai.isPa...
stackexchange/codereview
In multi-language project I have the following DB structure in SQL2005: table StringTable: itemID int PK, stringID int NOT NULL, stringValue nvarchar, languageId int table Articles: articleID int PK, titleID int NOT NULL (FK to StringTable.stringID), descriptionID int NULL (FK to StringTable.stri...
stackexchange/codereview
Does anybody please have an advise on what to do with the too close values in different series, which overlap - like in the right bar below? My chart URL - please click to see the parameters I can't find a good chm parameter for all of the data I have. Shouldn't overlapping be handled by the Google charts automaticall...
stackexchange/codereview
I generate a Sitemap using Zend_Navigation and i wanted to add images to this sitemap, now i got no Idea how to get this done, i use following (working) code to generate the sitemap foreach($sitemapItems as $item) { $newSite = new Zend_Navigation_Page_Uri(); $newSite->uri = 'http://' . $_SERVER['HTT...
stackexchange/codereview
I have two tables 1. shiv_tab_col TABLENAME | COLUMNNAME -------------------------- SER_SHIV_SYN | TABLENAME SER_SHIV_SYN | COLUMNNAME AND SER_SHIV_SYN TABLENAME | COLUMNNAME -------------------------- A | B E | NULL NULL | NULL NULL | NULL NULL | ...
stackexchange/codereview
I am looking for a way to reload a class into Java at runtime. The motivation is to make debugging more efficient. The application is a typical client/server design that synchronously processes requests. A "handler" object is instantiated for each request. This is the only class I intend to dynamically replace. Since e...
stackexchange/codereview
I'm new to cocoa app dev, and I'm searching a solution to create a windows like the tweetie main windows with a left tool bar and a panel that point to the selected icon. like this screenshot : https://i.stack.imgur.com/qvxWu.jpg could anyone help me?
stackexchange/codereview
In documentation it says, that mailer actions behave in very similar fashion as controller actions. In rails guide, to send mail: UserMailer.welcome_email(@user).deliver and welcome_email action looks like this: def welcome_email(user) @user = user @url = "http://example.com/login" mail(:to => user.email, :subj...
stackexchange/codereview
So I am just wondering what it means for a foreign key relationship. I have two tables. Courses and Schools. One school can have many courses. So does the following relationship make sense?
stackexchange/codereview
main() { char buff[10]; int a; for(int i=0; i<10;i++) { cin >> buff[i]; a=sizeof(buff[i]); if(a==10) cout << "full"; } for(int i=0; i<10;i++) cout << buff[i]<<"\n"; } why des the control never comes to cout << "full"; i am new to coding......
stackexchange/codereview
How to create a dynamically generated form using PHP mySQl, for inserting or updating data in/of a particular table?
stackexchange/codereview
How can GitSharp (Git for .NET and Mono) be used to PUSH changes changes to a remote server over SSH?
stackexchange/codereview
Hello I would like to know if there is an equivalent to the android's alarmManager so I can register my app to be waken every X seconds?
stackexchange/codereview
What is the best way for modifying web.config in SharePoint using code? I could use SPWebConfigModification or powershell.
stackexchange/codereview
I know some software shops have been burned by using the int type for the primary key of a persistent class. That being said, not all tables grow past 2 billions. As a matter of fact, most don't. So, do you guys use the long type only for those classes that are mapped to potentially large tables OR for every persistent...
stackexchange/codereview
I'm just looking for a best way to re-use code written in c#, in my c++ projects. Creating a com\service doesn't look like a best option for my needs. How difficult it is to export c# code into a dll and use it in c++? can i get some suggestion or example? is this usual requirement or ? Please help me. i use win7, VS20...
stackexchange/codereview
When I try to open window.open('file///C:\calendar.html') it throws Access Denied error How do I fix this? Thanks
stackexchange/codereview
I have a ListBox with enough items that it makes a vertical scrollbar visible. How can I make the list box automatically grow in height so it can display all items at once, without scrolling? Thanks.
stackexchange/codereview
Given a (contrived) base class, and a sub class we want to serialize via WCF using the XmlSerializer. We decorate a collection (see the response class) as per the article: http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlelementattribute.aspx (see remarks section). Issue is that although the correct ...
stackexchange/codereview
Hi I'm new to python. I am trying to add different key value pairs to a dictionary depending on different if statements like the following: def getContent(file) for line in file: content = {} if line.startswith(titlestart): line = line.replace(titlestart, "") line = line.re...
stackexchange/codereview
if some one delete any object from my database like table,view,sp etc then how can get those detail like who delete and when delete from transaction log. is it possible. please tell me easy way to read transaction log as a result i can get those detail properly. thanks
stackexchange/codereview
i have this code which is not working. <jsp:useBean id="abbreviationlist" class="AbbreviationListType"/> <jsp:setProperty name="abbreviationlist" property="id"/> <table> <c:forEach items="${abbreviationlist.list}" var="abbreviation"> </c:forEach> </table> and i h...
stackexchange/codereview
I have an app written in c#. Records from the DB are shown through the auto-generated visual studio code (DataTableAdapter). this._______tTableAdapter.Fill(this._______SQLDataSet._______); Now, when I make changes to the DB, not through the DataTableAdaper - but through code on another winform, close it and open anot...
stackexchange/codereview
is there a tool or a method to test my Windows Service? it work compiled fine with Visual Studio 2010. I use Advanced Installed to create an install package (MSI) but it's fails to start! cheers
stackexchange/codereview
I'm very familiar with the Adobe Air runtime, and quite handy with the workings of a Flex application, but I'm unsure which technology I should use if I would like to have a multi-platform application able to be deployed to the Web foremost, Android Phone secondly, and Desktop third. I understand that AIR is probably t...
stackexchange/codereview
According to this reference, there are two escape sequences \n and \num where n is an octal number, and num is a positive integer. The former is an escape value that gets converted to a character, and the latter is a back-reference. Isn't that ambiguous? How can the regex tell them apart? When does it decide to use one...
stackexchange/codereview
I am using facebooker gem to connect facebook, but how to logout with it? thanks!
stackexchange/codereview
I'm trying to match my application's custom controls colors to the ones used in Windows 7. However, I cannot seem to find a complete list of all colors used by Windows 7. Is there a built in class containing these colors, or do I have to use a color picker for every control I want to style.
stackexchange/codereview
i downloaded Doulos trev-tcl regexp gui- but i cant get it started. is there any prefix and suffix that should be added to the regexp in order to get a match with the search string?
stackexchange/codereview
I have a custom binary file which I want to read into my C# program. There are several different formats, some MSB first, some LSB first and some with the variables in different orders. Currently, I have a class which reads the right number of bytes, one at a time. It is very slow and so I am looking to improve perform...
stackexchange/codereview
I am trying to debug somewhat strange problem in the device driver for the PCIe FPGA device. Both the device driver and the FPGA image are developed in the house. The target system is x86, and the OS is fedora 9. It has a PCIe card with the FPGA plugged in it's only PCIe slot. The FPGA image is loaded after the boot fr...
stackexchange/codereview
I do not believe that it is possible to completely avoid C-style casts when writing C++. I was surprised to find out that I needed to use a C-style cast to avoid a compiler truncation warning: short value_a = 0xF00D; // Truncation warning in VS2008 short value_b = static_cast<short>(0xF00D); // Trun...
stackexchange/codereview
Hello I want to disable this script for twitter widget to be displayed on some pages. How can I access the script from the backend and change the url on runtime? <script id="twitter" src="http://widgets.twimg.com/j/2/widget.js"> Thanks in advance
stackexchange/codereview
Possible Duplicate: C# equivalent for Visual Basic keyword: 'With' ... 'End With'? VB.NET With Alpha.Beta.Gama.Eta.Zeta a = .ZetaPropertyA b = .ZetaPropertyB c = .ZetaPropertyC End With C#? a = Alpha.Beta.Gama.Eta.Zeta.ZetaPropertyA b = Alpha.Beta.Gama.Eta.Zeta.ZetaPropertyB c = Alpha.Beta.Gama.Eta.Ze...
stackexchange/codereview
I have a table like: id | NODE_ID | last_updated 1 | 4 | 11-29-2010 ... where the last_updated column is set to update after any change to the row using "on update CURRENT_TIMESTAMP" I need to update all of the records with a NODE_ID of 4 to 5, but I want to leave the timestamp unchanged. I'm thinking to do an...
stackexchange/codereview
I am using the Web Application Toolkit for Mobile Web Applications to develop a simple website (which allows to update the users) for Windows 7 Mobile and iPhone using asp.net MVC. I am using the ibbdemo as simulator to test for iPhone. I have been facing few issues with this. Javascript/Jquery is not working (I have...
stackexchange/codereview
While reading some SQL Tuning-related documentation, I found this: SELECT COUNT(*) : Counts the number of rows. Often is improperly used to verify the existence of a record. Is SELECT COUNT(*) really that bad? What's the proper way to verify the existence of a record?
stackexchange/codereview
I'm trying to write code that will disable submit button (or all submit buttons) on the page to avoid double postback. I thought of generating my own postback javascript function (and inject postback javascript using GetPostbackEventReference) but maybe there are some better ways to do this? Or maybe there is some othe...
stackexchange/codereview
I am trying to animate a clipping path. I read from Mask Animations (Clipping Path Animations) In Silverlight Without a Line of Code that I should animate the clipping path 1st so Data=”M159.67175,104.26108 L177.91812,28.328932 L195.51648,104.43327 L255.0802,102.6104 L206.86984,151.82758 L225.8029,226.56477 L179.0616,...
stackexchange/codereview
In user model: var $hasMany = array( 'Photo' => array( 'className' => 'Photo', 'foreignKey' => 'owner_id', ... ), ); In photo model: var $belongsTo = array( 'Owner' => array( 'className' => 'User', 'foreignKey' => 'owner_id', ...
stackexchange/codereview
currently i'm working with informix db server which is not in local, where can't connect from outside office or virtual lan, so there is any tools so i can copy all table and work locally, thanks in advance
stackexchange/codereview
I'm trying to load a Google Maps v3 that shows 5000 markers clickable. My JS contains 10 lines per place: var myLatlng_4821 = new google.maps.LatLng(43.0754329,-71.4699752); var contentString_4821 = "<b>Place 1</b>"; var infowindow_4821 = new google.maps.InfoWindow({content: c...
stackexchange/codereview
I'm having a problem with youtube video embedding; In some places on my site (like news etc.) video is normally displayed and can be watched, while in others (forum topics mainly) it flickers whenever I mouseover it (making a new HTTP request to YouTube, as I can see in Firebug). It definitelly has something to do wit...
stackexchange/codereview
I need to select a database engine, SQL or NOSQL doesn't matter as long as it easy to install and configure on windows, the database will be used as application database on four workstations, it should sync data between those workstations, the problem is that any workstation could be shut down any moment and the rest s...
stackexchange/codereview
I am working on a web page and I have an issue with my jQuery add-on. I initially installed the add on to have an image rotator and after that I created a drop down menu bar. My problem is that when I put the cursor on the drop down tab it drops behind the jQuery rotator! Can anyone suggest a solution before I upload m...
stackexchange/codereview
guys any idea if this is related to the latest firefox built? or how can I resolve it? JS Warning reference to undefined property o.cache[H][E] http://10.35.0.211/webapps/core/lib/jquery/js/jquery-1.3.2.min.js Line 12
stackexchange/codereview
function uploadify() { $file = $this->input->post('filearray'); $data['json'] = json_decode($file); print_r($data); $name = $this->$json->{'file_name'}; echo $name; $this->files->add($name); $this->load->view('uploadify',$data); } Array ( [json] => stdClass Object ( [file_name] => foote...
stackexchange/codereview
How to Get Application Current Path in MFC(VC++) ? Thanks.
stackexchange/codereview
I have written a set of functions to validate the textboxes in my form for their required field needs like this private void ValidateForm() { //Initialise the variables for validation check and call the related functions bool bisValidhost = ValidateHost(); bool bisValidPassword = Validat...
stackexchange/codereview
Is it possible to open an android contact card by contact's ID? It works with the phone-number. Here is an example, if I use Intent i = new Intent(); i.setAction(ContactsContract.Intents.SHOW_OR_CREATE_CONTACT); i.setData(Uri.fromParts("tel", "123456", null)); //<---- Change here from Phone to IDcontext.startActivity(i...
stackexchange/codereview
I have a div class="parent" . When I click on it I need to clone div class="child" and show them depending on the parent area I clicked. The problem arises when I click on the div class="child", another child div appears which is the behavior I don't really want. One way to overcome this trouble is to write something ...
stackexchange/codereview
I have two nodes running mnesia. I created schema and some tables on node 1, and used mnesia:add_table_copy on node 2 to copy the tables from node 1 to node 2. Everything works well until I call q() on node 1 and then q() on node 2. I found that when I start node 1 again, mnesia:wait_for_tables([sometable], infinity) w...
stackexchange/codereview
I want to write a JavaScript input key validator. I want to use regular expressions for this purpose. When user presses a key - input text field is checked that his value satisfy some regular expression, and if it isn't then user input is rejected. Is it possible to catch a match when regular expression matches only pa...
stackexchange/codereview
Which browsers currently support XSL-FO? Which bowsers plan to support it and when? Are there any plug-ins one can install to add support for it? Are there any apps that can render XSL-FO? NOTE: I am aware one can generate a PDF from XSL-FO using something like FOP but im only interested in direct support.
stackexchange/codereview
I have 3 sections on a form which slideDown() when a checkbox is checked and slideUp() when the checkbox is unchecked. In one part of the form i'm using a simple button to run a function. If I uncheck the checkbox to slide the content up and then recheck it to slide the content back down again, the text in the button d...
stackexchange/codereview
OK, so I have this tiny little corner of my code where I'd like my function return either of (int, double, CString) to clean up the code a bit. So I think: No problem to write a little union-like wrapper struct with three members etc. But wait! Haven't I read of boost::variant? Wouldn't this be exactly what I need? Thi...
stackexchange/codereview
i'm starting with django-tagging and I don't understand why update_tags(object, new_tag) method replaces all existing tags on object by new_tag. What is the proper way to append a tag to the existing tags on an object inside a views? EDIT: add_tag function is not satifying becaus it doesn't enables you to add multiple ...
stackexchange/codereview
I have two overlapping images. I touch the topmost image and start moving (touchmove) finger around. All subsequent touchmove events are received by that image. In the middle of this interaction I want the events to go to the image underneath, so that I can move it around instead. How to change the event source to the ...
stackexchange/codereview
A friend of mine gave me this task so I can learn advance programming a little bit easier. I am currently doing convertion of an html page to pdf using itext sharp and email the pdf as an attachement. My idea is to save the pdf first to the server machine in the folder name ToBeEmailedPDF folder before using it as an e...
stackexchange/codereview
The article "Don’t be fooled by javac -target 1.4" shows that compiling with -target 1.4 still can create class files which will not run on JRE 1.4. It also describes how the -bootclasspath parameter can solve this problem. Now my question: if I compile with the Sun JDK 1.6 version of javac, using the source and targe...
stackexchange/codereview
I have this error in Javascript saying "qGrid is not defined" and it points to this line $page=$('#stfLeafFacetsGrid').jqGrid('getGridParam','page'); I am totally new to javascript, but this line looks very correct to me. So I am not sure where could the problem be!
stackexchange/codereview
I just upgraded to XCode 3.2.5 and iOS SDK 4.2, and I upgraded my device to 4.2.1. Now I can only deploy a release version of my app. How do I deploy a debug version of my app? Do I need to install debug symbols on the device? If so how?
stackexchange/codereview
I am fairly new to NHibernate and the .NET framework. I want to map my Project class, which has one-to-many relations Subproject and ProjectTask classes. public class Project : ProjectItem { public virtual IList<Subproject> Subprojects { get; set; } public virtual IList<ProjectTask> Tasks { get; set; } [...
stackexchange/codereview
I would like to know if there is a way to drag and drop an attachment file from an outlook email that is open into an AIR application and for that file to be then accessible to the AIR application. When I experimented with this the drag operation is giving AIR a File Promise List. But I'm not exactly sure how to make ...
stackexchange/codereview
i have a problem, which i'm stuck with, and cant find anywhere to start with, so i'm hopelessly turning to stackoverflow. the problem wants us to find out if it is np-hard or polynomial, if its np-hard prove np-completeness, else give the algorithm. the problem is as follows: a product exists of n modules. there are tw...
stackexchange/codereview
Whats the best way to override the built in login mechanism in ASP.NET MVC 2 so that a modal dialog pops up if the user needs to login (or [Authorize] tag decorates the Controller Action)? Ive been searching for awhile and nothing really does this Any help or guidance would be appreciated jQuery is not a prerequisite b...
stackexchange/codereview
Follow up of this other question. I'm trying to implement pessimistic locking for a concurrency issue as I described in the question above (please, feel free to add to that one). But it's not working for me. I do a very simple test: I have two seperate sites running that both increase a counter 500 times. I run them si...
stackexchange/codereview
I have a quite extensive Spring 3.0 service architecture (the typical architecture; a bunch of model objects and a bunch of services that do stuff with these objects). I would like expose some of these services as SOAP web services. We have developed SOAP web services before, but these have always been relatively simpl...
stackexchange/codereview
Say that I have an integer-indexed array of length 400, and I want to drop out a few elements from the beginning, lots from the end, and something from the middle too, but without actually altering the original array. That is, instead of looping through the array using indices {0...399}, I want to use a piecewise conti...
stackexchange/codereview
It's not possible to use a wildcard in the hosts file on windows or linux. Is there a way to do it with a browser plugin or something else? I have a dev server on a vbox instance so it's practically LAN. I'm creating .dev domain for my virtual hosts so example.com becomes example.dev. For an application I'm creating ra...
stackexchange/codereview
I have HTML table structure displaying some records. There is an "info" (i.e., small 16x16 'i') image, I need following functionality: Clicking on "info" image should open a div, containing 'more' details about particular/selected transaction Issue/problem is I need to show div above page contents (like image gallery, ...
stackexchange/codereview