instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Do I have to formulate all of my strings in java like "Some static words" + variable + " some more static words." or is there a way to do something like the way ruby allows you to evaluate a section in a string: "Some static words with a #{dynamic_value} inserted into the statement." I haven't found much in the way of ...
stackexchange/codereview
Ive been having some trouble using Plot to graph a complicated composite function. I am trying to plot the ArgMax of a composite function F[]. F[] involves several levels of nested composite functions, many of which involve Solve[] and Min[] or Max[]. I don't have any problems with the way F[] performs in my program ...
stackexchange/codereview
This is what I'm trying to do: rsync -rvl --chmod=ug=rwX,o=rX test /var/www and after I do it, here are the results I get: drwxr-xr-x (Actually it's drwxr-sr-x, but that's probably not important ... is it?) This, obviously is not what I want. I want the group to have write permissions, but for some reason, the rsync ...
stackexchange/codereview
I'd like to produce regional versions of a php powered website, for example: www.mysite-england.co.uk www.mysite-wales.co.uk www.mysite-scotland.co.uk I'd like to setup one LAMP server to serve all the domains with a single php MVC using $_SERVER['HTTP_HOST'] (or similar) as the primary content modifier. Ie if($_SE...
stackexchange/codereview
I need to place built-in zoom controls of MapView into position different from the default position. While it's easy to do using getZoomControls() method, this method is deprecated in recent API versions. Does anyone has idea how to do this without calling getZoomControls()?
stackexchange/codereview
I'm building a website with some touch events and need to know how to make my touch events* only work when only 1 finger is touching (*these events prevent default), but I want to disable these events and restore defaults when 2 fingers are touching (to allow zooming, and keep the 1 finger events from being confused by...
stackexchange/codereview
I have a method in my windows service as follows: System.IO.File.Copy(path, ConfigurationManager.AppSettings["BulkInsertGiftRegisterCreatorDirectory"] + System.IO.Path.GetFileName(path)); Loyalty.Entity.Base.FileInfo file = new Loyalty.Entity.Base.FileInfo(); file.FileName = path; request.Object = file; ResponseBase ...
stackexchange/codereview
I have the following Rails model: class CreateFoo < ActiveRecord::Migration def self.up create_table :foo do |t| t.string :a t.string :b t.string :c t.timestamps end end def self.down drop_table :foo end end If I try and create a new record with an additional non-existent a...
stackexchange/codereview
I'm working on an application for Samsung Galaxy 5 with Android 2.2-update1 that has various EditText fields and I noticed that all EditText fields below the middle of the screen is not repainted correctly when the user is typing: all the characters appear chopped, leaving their half top plain white. I've tested this o...
stackexchange/codereview
I am trying to pick up regex using nettuts. However I still haven't got very far and something need's fixing today. I need a regex that does the following. $html = '...'; // Lots of HTML $regex = '{absolutely anything}color: #{6 digits - [0-9][a-f][A-F]};{absolutely anything}'; I will then use this to force users to h...
stackexchange/codereview
This is a weird problem. On one of our demo machines running Windows 7, we are trying to increase the amount of memory allocated to the heap. I open the Java control panel. Click on the Java tab and the click the View button. I type -Xmx256m in the Runtime Parameters fields. Then click OK. So far so good. ...
stackexchange/codereview
In DrScheme, how can I create an association list from 2 lists? For example, I have, y = ( 1 2 3 ) x = ( a b c ) and I want z = ((a 1) (b 2) (c 3))
stackexchange/codereview
Say I have Method1(void), Method2(void)... Is there a way i can chose one of those with a variable? String MyVar=2; MethodMyVar();
stackexchange/codereview
I am willing to fetch iTunes public RSS feed from a appengine java app. In dev server, here is what I try: URL url = new URL("http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ws/RSS/topsongs/limit=10/xml"); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); And that is the re...
stackexchange/codereview
I'm using fputcsv in PHP to output a comma-delimited file of a database query. When opening the file in gedit in Ubuntu, it looks correct - each record has a line break (no visible line break characters, but you can tell each record is separated,and opening it in OpenOffice spreadsheet allows me to view the file correc...
stackexchange/codereview
Background I am currently refactoring a legacy .NET application. The application performs complex mathematical computations over relatively long periods (up to a few hours), during which, periods occur of almost continuous processor usage on multiple threads. Each user has an 8 core machine which is dedicated exclusive...
stackexchange/codereview
I'm trying to parse some html in Python. There were some methods that actually worked before... but nowadays there's nothing I can actually use without workarounds. beautifulsoup has problems after SGMLParser went away html5lib cannot parse half of what's "out there" lxml is trying to be "too correct" for typical html...
stackexchange/codereview
In the Apple developer documents it says that stringWithContentOfFile: is Depreciated in iOS2.0 but it also says available available on iOS4 so which is true?
stackexchange/codereview
I am trying to implement the youtube_it youtube api wrapper for ruby and have it working except I'm stumped as to how the query results should be accessed. Here is my query: client.videos_by(:query => "penguin", :max_results => 1) Submitting request [url=http://gdata.youtube.com/feeds/api/videos?max-results=1&start-ind...
stackexchange/codereview
Is there a way in jQuery to find a string of text in jQuery and not replace it with something else but wrap that text with an element so when the script is finished it spits out the original text with the string of text wrapped. Example: Original Text "Hello world to all people" Search string "world to" Replace with ...
stackexchange/codereview
I'm writing a greasemonkey script to make it so that when a user clicks a checkbox, a page with a form is loaded via .ajax, the form is filled out automatically and then posted. The form is multipart/form-data which from I've found, can't be posted via the .ajax calls. To get around this, I did the following: functi...
stackexchange/codereview
Django is a ~new~ programming language (compared to Java EE, Asp.Net and PHP). What are similar aspects of django that are in Java EE, Asp.Net and PHP? For Example. Django has very similar URL patterns to Java EE. Thanks, -R
stackexchange/codereview
I have 2 models, Category and LineItemTypes There are already plenty existing of both, it is now a requirement for them to be associated. Being many LineItemTypes for every Category. I have added accepts_nested_attributes_for :line_item_types on Category I've tried using a hidden_field on a form to create a list of ex...
stackexchange/codereview
I need help when starting my program with Java Web Start. I start my program from the homepage the program just hangs with a javaw-process in the process handler. When I dump the threads, using jvisualvm, I see that it hung in the "AWT-EventQueue-0" thread (when constructing my JFrame): "AWT-EventQueue-0" prio=6 tid=0x...
stackexchange/codereview
I've inherited some Python code that looks like this: name = 'London' code = '0.1' notes = 'Capital of England' ev = model.City(key=key, code=code, name=name or code, notes=notes) In the spirit of learning, I'd like to know what's going on with the name or code argument. Is this saying 'Use name if it's not null, othe...
stackexchange/codereview
I am developing some web services that must be implemented using JAXWS, and that must run on WebLogic 10.3, WebSphere 7 and Tomcat 5.5. Furthermore, installation of the services must be completely self-contained to avoid conflicts with any other applications in the container. WebLogic and WebSphere are solved, but tomc...
stackexchange/codereview
I understand that SpringSource Tool Suite is based on Eclipse. I am coding Grails. STS is often pissing me off. I was thinking of installing Eclipse instead with a Grails plugin - will it just be the same? What's better? STS or Eclipse?
stackexchange/codereview
Before i start i want to let you know today is my first day with AS3. I wanted to know how to do an onclick function in AS3. For example i have button 1 ( as Instance name) and when clicked i want it to hide and show another box. this is what i found online but how can i make it on click. this.button1.alpha = 100; Th...
stackexchange/codereview
I have added the SQL Role Provider and SQL Membership Provider to an existing application and set the authentication mode to Windows. I have created roles, but I cannot add users. In the Security Tab of Web Site Administration Tool, I search for my user name and get the following: No users found for this search. It ...
stackexchange/codereview
Can anyone give me an idea how div positioning works in JQuery? I want to show a div at an absolute position and on top of everything else? Like in a form I want to show a help pop-up to appear right next to the text box in focus (like they do in careers.stackoverflow > edit CV) . Similarly what is the best strategy to...
stackexchange/codereview
I want to be able to expand or collapse all children of a particular branch in a QTreeView. I am using PyQt4. I know that QTreeView's have an expand all children feature that is bound to *, but I need two things: It needs to be bound to a different key combination (shift-space) and I also need to be able to collapse al...
stackexchange/codereview
I need to write an NHibernate query that will place a restriction that accesses the children in a one to many relationship. For example, I have a customer object that has property that is a list of addresses. I need to find all customers who have an address in a given city. Also, I am writing this query in such a way t...
stackexchange/codereview
I keep getting this error when trying to navigate to my LogOn page: System.NullReferenceException: Object reference not set to an instance of an object The line of code that is throwing the error on is: <%= Html.OpenIdSelectorScripts(this, options, null)%>. Does anyone know why this line of code would be throwing...
stackexchange/codereview
Anybody know of a nice package that allows implicit editing of Expression Trees? Since you can't really edit them, just returning a new tree would be fine. Easy methods for Lambda lifting (or 'funcletization') would be a nice bonus. I remember a while back I was looking into this and I thought I found something but I c...
stackexchange/codereview
I have a bookmarklet that, when used, submits all of the URLs on the current browser page to a Rails 3 app for processing. Behind the scenes I'm using Typhoeus to check that each URL returns a 2XX status code. Currently I initiate this process via an AJAX request to the Rails server and simply wait while it processes a...
stackexchange/codereview
I am using lxml's xpath function to retrieve parts of a webpage. I am trying to get contents of a <font> tag, which includes html tags of its own. If I use //td[@valign="top"]/p[1]/font[@face="verdana" and @color="#ffffff" and @size="2"] I get the right amount of nodes, but they are returned as lxml objects (<Element ...
stackexchange/codereview
I am basically writing a XMPP client to automatically reply to "specific" chat messages. My setup is like this: I have pidgin running on my machine configured to run with an account x@xyz.com. I have my own jabber client configured to run with the same account x@xyz.com. There could be other XMPP clients . Here i...
stackexchange/codereview
return $('<div>', { class: "my_Class" });
stackexchange/codereview
I've readed that when using FastCGI to run PHP the .htaccess file included into the main directory of my site is ignored (right now i have the .htaccess file located in /var/www/vhosts/mydomain.com/httpdocs) My question is how can i apply the directives and flags currently on .htaccess to this domain only? can i have a...
stackexchange/codereview
Sometimes I just need to define a lot of settings for some class, it's just hard to define 5 or more properties in constructor, because you don't really know what property you are setting. In JavaScript you can use name for settings with JSON style. Is something similar possible in Java? Or are there any suggestion how...
stackexchange/codereview
Anyone out there successfully connect to SQL Server from 64bit Mac OS X 10.6 (Snow Leopard) using Actual Technologies's ODBC driver? I'm not interested in using the iODBC Unix driver. For Ruby 1.8.7 I have: dbi (0.4.5) dbd-odbc (0.2.5) ruby-odbc (0.99992) Here's my simple Ruby script: require 'rubygems' require 'dbi...
stackexchange/codereview
I have a sample code looking like this, values (position = 2, object.position = 3) : new_position = position old_position = object.position logging.debug("1. new_position: %s, old_position: %s" % (new_position, old_position)) if old_position != new_position: logging.debug("old position oth...
stackexchange/codereview
I realize this is very much of a long shot, but... In shell scripts on Macs I can display an Apple character. Is there any way to display a Tux character (or anything else associated with Linux) on Linux systems? The simplest solution would be if there's something in the Unicode set that symbolizes Linux, whether a Tu...
stackexchange/codereview
I am hoping you can help me: I need to update my ui for an android app and I'm trying to use the Handler class to do it, using http://developer.android.com/resources/articles/timed-ui-updates.html and the android developer resources "Common Task" for using Handlers as guides. Basically, I need something between the tw...
stackexchange/codereview
I was wondering what the easiest way to parse/interpret a custom language would be. Are there any libraries that could help me out? I essentially want the end-user to be able to write scripts using a custom syntax that I design (the syntax will probably be similar to c++) and I would need my C++ protogram to interpret ...
stackexchange/codereview
I've been working on a class assignment for C++ and we're required to acquire input from a text file and assign those values to an array....one is a string, the second an int, and the third a double. We've only been introduced to arrays and I don't know anything yet about pointers or linked lists, or any of the higher ...
stackexchange/codereview
A friend and I were discussing imaginary and real languages and a question that came up was if one of us wanted to generate headers for another language (perhaps D which already has a tool) what would be an easy and very good way to do this? One of us said to scan C files and headers and ignore function bodies and only...
stackexchange/codereview
I want git to stop tracking my local development log (log/development.log) in our repositories. Is this possible and how can I do it?
stackexchange/codereview
It is possible to configure Eclipse PDT to format my php code after a standard like MySource or Zend?
stackexchange/codereview
I'm using a BindingSource in a windows forms application, there are many controls was bound with a BindingSource. I don't want to monitor the controls to get the changes, can I know if a value changed from the BindingSource by an event? I looked for an event in it, but I didn't find. Thanks in advance.
stackexchange/codereview
function loadSavedSort(start) { start = parseInt(start); if ( isNaN(start) ) start = 0; var listing = $("#viewsavedsort .listing"); listing.find('.item').remove(); var start = $('#savedSortStart').val(); $.getJSON('saveajax.php', { 'start': start }, function(data) { ...
stackexchange/codereview
I am using C# to connect to a web service written in PHP, the issue I am having is how to go about parsing this format that is returned for a few of the calls. a:2:{i:0;a:6:{s:5:"label";s:13:"Delivery Date";s:5:"value";s:19:"2010-11-08 00:00:00";s:4:"code";s:13:"delivery_date";s:4:"type";s:4:"date";s:6:"rawval";s:19:"...
stackexchange/codereview
I have this problem >>> import math >>> math.pow(-1.07,1.3) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: math domain error any suggestion ?
stackexchange/codereview
This is sort of a continuation of my previous question, but I feel it deserved to be on its own, especially because of the very detailed answer I got. I would like to create a simple calculator in JSP. There will be two textboxes for numbers and an add button. Ideally, I want the answer to appear in the page without re...
stackexchange/codereview
Is there a way to list all bindings on a jQuery element? jQuery's bind() does only seem to attach them and I didn't find a jQuery function that does get the bindings.
stackexchange/codereview
I am trying to create a script that will take output of a system command and I want to organize the data into an array. The script is to discover VMs residing on a local ESXi server I have. I am using plink.exe to send the command to the server and then it returns a list of VMs that looks like this. Vmid Name ...
stackexchange/codereview
I'm designing some complex classes in VB.net (but you can write your answer in C# if you prefer :P) that contain data which has to be loaded from XML. The obvious solution is, of course, to design a serializable class, so to automate the loading process. Now, my problem is as follows: the XML structure is fixed, and I ...
stackexchange/codereview
So my app's core is a tab bar. In each of 3 tabs is a UINavigationController subclass. Each one has a different type of table in it, which when a row is tapped, a detail is shown etc. I currently have a 3 separate subclasses of UINavigationController, one for each tab. Then when a new tab is pressed, the table's contro...
stackexchange/codereview
// CStroke.h #import @interface CStroke : NSObject { CGFloat *startX; CGFloat *startY; CGFloat *endX; CGFloat *endY; BOOL *state; } @property CGFloat *startX; @property CGFloat *startY; @property CGFloat *endX; @property CGFloat *endY; @property BOOL *state; -(void)setStroke: (CGFloat *)newSta...
stackexchange/codereview
I'm creating an application that uses an ImageSwitcher to show some images. I want to show arrows on either side of the screen in addition to a button on the bottom whenever a user has touched the screen or switched images. Just like you'll see when viewing screenshots for an application in Android Market. So far I've ...
stackexchange/codereview
How can i compare the Logo of a website to the logo available in my database just by entering the url to the particular explorer?do i need any plugins or it is simple enough?
stackexchange/codereview
template<typename T> std::istream & read(std::istream & istr, typename std::enable_if<std::is_pod<T>::value, T>::type & value) { return istr.read( reinterpret_cast<char*>(&value), sizeof(T)); } int main() { int x; read(cin, x); // error here } error C2783: 'std::istream &read(std::istream &,std::enable_...
stackexchange/codereview
I need simple erlang mail server example. I find erlmail, but i don't find how to setting it. Where can i find it? Thank you.
stackexchange/codereview
It is said that (correct me if I'm wrong) if the application is in the foreground we have to handle push notifications in the "didReceiveRemoteNotification" and if the application is in the background using "didFinishLaunchingWithOptions" when user taps the "view" button of the app. As I dont have a phone to test I wan...
stackexchange/codereview
what problems can occur styling if div tags, are replaced by asp.panels (in c# code) i have a sample code which uses pure html, the css styles are mapped using the ids of the divs. i would like to replace these divs by panels using c#, yes i will keep the ids same as that in css file. question should i expect any probl...
stackexchange/codereview
Is there a way to know when a (linux x windows) user changes the active window through alt-tab or click. I want to write a script that listens for this event (if such an event occurs, the script then goes on to find the current active window - which I know how to solve). I could also keep polling to find the current ac...
stackexchange/codereview
I have displayed a series of images in a coverflow effect. But, now i want them in an inclined format, so that they have to appear as ray emerging from a point. Can anyone please give me any suggestions, or any samples regarding my query. Thanks in advance.
stackexchange/codereview
Is it possible to use a regex in a way similar to session.query(MyObject).filter_by(REGEX)? If not, how can I use sqlAlchemy to retrieve records that have a varchar PK beginning with a certain value (e.g. all those whose city field begins with "SA")? Thanks.
stackexchange/codereview
Hi Guys I would like to parse the following xml string in C# i tried reading the entire string into the dataset and then using it .. there are simply no tables in the dataset. here is the xml that I am interested to parse. xml code is here http://pastebin.com/VfT2wAwY C# code is here http://pastebin.com/iwqDK2S6 ...
stackexchange/codereview
I created a mochiweb instance src/ |-- Makefile |-- room.erl |-- myserver.app |-- myserver.erl |-- myserver_app.erl |-- myserver_deps.erl |-- myserver_sup.erl |-- myserver_web.erl `-- uuid.erl in myserver_web.erl I am able to access the application config {ok, "0.0.1"} = application:get_key...
stackexchange/codereview
I have been trying to implement iAds into my application, but this is what happens: 1.Tap on app 2.Loading Screen Displayed for a few seconds 3.App Crashes This is whats returned: 2010-11-06 20:19:11.043 Vampire Quiz Final[99722:207] Unknown class AdViewController in Interface Builder file. 2010-11-06 20:19:1...
stackexchange/codereview
I have an array in res/values/array.xml. <string-array name="list"> <item>string 1</item> <item>string 2</item> <item>string 3</item> </string-array> And this is my Java-Code without the import-statements. public class Study extends Activity { private String[] myString; public static final Random...
stackexchange/codereview
I have some log files I would like to sift through. The content is exactly what you expect in a log file: many single lines of comma separated text. The files are about 4 gigs each. File.each_line or foreach takes about 20 minutes for one of them. Since a simple foreach seems... simple (and slow), I was thinking that ...
stackexchange/codereview
How to implement singleton without using static/global variable? Possible? This is an interview question...
stackexchange/codereview
I have a table in LINQ to SQL called "Cars" that contains "Car" objects. Each Car has an EngineID and a ColourID. I have created a new, local Car object just in memory (not yet committed to the database). I already have an IEqualityComparer written which works well in conjunction with .Contains to tell me TRUE/FALSE if...
stackexchange/codereview
I need to make a HTTPS call from client. I do not need to send certificates to the server, just need to validate the certificate from the server. i researched this topic and this is my understanding. Can you please confirm? I do not have a test service yet, against which to verify my code... but still need to meet dead...
stackexchange/codereview
I'm overlaying invisible text on top of an image. Is there a jQuery plugin (or similar) that will allow users to select an area on the image (which also selects the overlaid text) and be able to copy the content. Right now, I have placed each character in its own <span /> tag. Problem is when user selects, it sometimes...
stackexchange/codereview
Can someone give me some insight on a scenario like this. Say a company has en existing Joomla site, not complete but just has all the modules, plug-ins, and components installed that they believe they will need. If someone new where to come in and given the general idea of what the site needs to do, and by accomplishi...
stackexchange/codereview
I am editing the xml file using this code $xml = simplexml_load_file($xmlfile) or die ("Unable to load XML file!"); $event->title = $newtitle; $event->description = $newdescription; file_put_contents($xmlfile, $xml->asXML()); I want to add a CDATA in description.I used this code $event->description = '<![CDATA['.$new...
stackexchange/codereview
After the recent announcement that the F# compiler source was available under the apache license I decided I'd like to have a go at building the compiler from source. However, I fell at the first post as there seems to be a missing file “Microsoft.FSharp-proto.Targets”. Is this the same “Microsoft.FSharp-proto.Targets”...
stackexchange/codereview
Given: namespace One { void foo(int x) { munch(x + 1); } }; namespace Two { // ... see later } ... void somewhere() { using namespace Two; foo(42); ... is there any difference between the following two variants: a) namespace Two { void foo(int x) { munch(x + 1); } }; and b) namespace Two { ...
stackexchange/codereview
I have the following in my Rails 3 app photo view: <% for version in @photos.first.versions.reverse %> . . What's interesting is that on my local machine, it works as hoped by outputting (<%= version.version %>) 5 4 3 2 1 But on Heroku it's backwards 1 2 3 4 5 Is this a Heroky gotcha or maybe reverse is buggy? tha...
stackexchange/codereview
I guess there is no equivalent of task parallel libraries (of .NET 4.0) in Java. Is that true? What are the improvements that this feature of .NET offer that Java concurrency doesn't.
stackexchange/codereview
It's Maven 3.0. I'm creating a new project: mvn archetype:create Then I'm creating a file site/site.xml: <project name="foo"> <body> <menu name="Overview"> <item name="Introduction" href="index.html" /> </menu> <menu ref="reports" /> </body> </project> Then I'm adding a reporting plugin to pom.x...
stackexchange/codereview
How can I make a CSS div which width is as tall as the text it contains? I tried div.reqspace { float : left; width : 10px; } but found that there is no length attribute. Now my div is almost as wide as the screen is. <?php include("sitestartend.php"); site_start('xyz);?> <?php include("helpfun.php"); ...
stackexchange/codereview
What is "Reset High Water Mark for the following tables..." in Oracle?
stackexchange/codereview
Please consider the official ECMAScript specification as the source for your answer, and not a document published by a specific browser vendor. (I am aware of Mozilla extending its JavaScript implementation with "function statements".) So, according to the ECMAScript spec, ergo, the syntactic productions defined in it...
stackexchange/codereview
To find duplicates you can use sort | uniq -d but is there a quick way to find triplicates?
stackexchange/codereview
While debugging, Log.d() or Log.e() methods come to LogCat, but how do I capture the runtime error or trace log on the Android device when it is not connected to the development environment ?
stackexchange/codereview
I have an application that I'd like to have a prompt in. If it helps, this is a graph database implementation and I need a prompt just like any other database client (MySQL, Postgresql, etc.). So far I have my own REPL like so: object App extends Application { REPL ! Read } object REPL extends Actor { def act...
stackexchange/codereview
I know similar questions have been asked before, but I think my solution is far simpler. Especially compared to Wikipedia. Please prove me wrong! If you have a tree with nodes that have the given data structure: struct node { node * left; node * right; node * parent; int key; } You could write a funct...
stackexchange/codereview
I need a regular expression for for MM/yyyy. I need to validate only month and year and enforce the user to just enter date like 01/1999 etc...
stackexchange/codereview
I'm trying to convert a Python library made for Python 2 to Python 3, here is the code. I have an error at line 152. In the Py2 version, the function is: def write(self, data): self._write_buffer += data The error is: TypeError: Can't convert 'bytes' object to str implicitly I found that I've to decode the v...
stackexchange/codereview
Basically what I'm trying to achieve is to make the object reference another object of the same class - from inside of a method. It'd be perfect if the following would work: $this = new self; But one cannot reassign $this in php. I of course know, I can return another object from the method and use that, so please do...
stackexchange/codereview
This program will run 100% independently from anyone. Just the guy and his computer. The SQLite database is just a little .db file right? I've also downloaded a driver for accessing the SQLite database using Entity Framework. What would I need to deploy on a users machine? Just the folder with the .exe and the .db file...
stackexchange/codereview
Assume one file is in conflict state with git. It means that the index contains 3 versions of the file, the previous one, the one from one branch, the one from the other branch. I would like to checkout version 3 ("theirs") in the working directory, and stage version 2 ("ours") in the index. Is there a painless way to ...
stackexchange/codereview
In a DOS batch script, I'm running a single command on a remote (also windows) computer using plink. Formerly, this command was only run on the local machine, and was relying on the return code to determine success. Is there a way to easily get this information back through plink?
stackexchange/codereview
I'm a MAC user (not a fan :D) .. and I'm working these days on my graduation project in B.sc degree of Computer Science, and specifically I'm in the design phase. I've looked for CASE tools that should help me on my work, but unfortunately it seems there are no powerful CASE tools available! could anyone suggest a good...
stackexchange/codereview
The control that I have built is of size 30x30. however, when the control is rendered, it takes up most of the space on the browser? Why is that so? Any way to reduce the size to what is desired? Thanks!
stackexchange/codereview
I have a small Java2EE application, which is planning to grow in time (not very soon). Now I'm trying to select the optimal free open-source production environment for it. I have two variants so far: GlassFish v3 Tomcat + OpenEJB The second variants looks more lightweight for me, moreover I use embedded OpenEJB for a...
stackexchange/codereview