instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
We have the following interface that we use to define how an entity should be indexed (using lucene): public interface IIndexDefinition<T> where T : IIndexable { Document Convert(T entity); } This means we can keep our index service very simple. So to index an entity we have: IndexResult IndexEntities<TEntity>(...
stackexchange/codereview
First, I don't know if this is actually possible but what I want to do is repeat a regex pattern. The pattern I'm using is: sed 's/[^-\t]*\t[^-\t]*\t\([^-\t]*\).*/\1/' films.txt An input of 250. 7.9 Shutter Island (2010) 110,675 Will return: Shutter Island (2010) I'm matching all none tabs, (250.) then tab...
stackexchange/codereview
I have a weird situation that has been puzzling me for weeks. My project, Textual, is an IRC client for Mac OS X. It works great except one problem. DCC SEND messages via the DCC protocol do not work properly. For some reason the first section of the IP address sent for which connections will be established is always c...
stackexchange/codereview
I have started using the twitter API and would like to filter the tweets by just pulling in tweets from a specific user under a certain #hashtag. Any ideas what the corrent syntax would be, or if its possible? This is the code I am currently using: <?php $username = "TwitterUsername"; // Your twitter username. $...
stackexchange/codereview
Sorry last program had lot of errors (i forgot to save the file and hence posted a incomplete code) so i am posting this Here is the Code: import java.sql.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class GUIPreparedStatement { private JFrame frame1; private JPanel panel1; ...
stackexchange/codereview
i work at the digital department of a public broadcaster, together with two other frontend developers. We're currently looking into improving our Javascript workflow and build processes. Stuff like packaging, minifying, versioning, etcetera. In an ideal scenario, we would have a global repository for all Javascript-re...
stackexchange/codereview
I have a picture uplaod tool which reloads the page (which contains a form) whenever a picture is chosen. I have this code to "remember" the drop list options selected, so basically I am creating options using php: $posted_type=$row['9_type']; //From mysql db $types = array('Clothes', 'Bags', 'Others'); $category_tabl...
stackexchange/codereview
I'm wondering if someone has a method for detecting whether or not a thread is running in a web environment. HttpContext.Current is not reliable because I'm making these checks in background threads where there is no HttpContext. It seems like HttpRuntime.AppDomainAppId is pretty reliable (if it is null then I'm not ...
stackexchange/codereview
We have a local server with SVN installed on it that we are using for development/testing purpouses. We would like to checkout the data from it to the live server that is somewhere out there. The only way to do that which I thought of was to use "svn checkout" from the live server, right? This way we do not need to FTP...
stackexchange/codereview
I recently asked a question about translating a code sample I found on on the internet from C# into VB and I was given links to websites that automate code translation (http://converter.telerik.com/ & http://www.developerfusion.com/tools/convert/csharp-to-vb/). I am very new to VB and unfortunately the VB that the tran...
stackexchange/codereview
I have a tabBar controller. Tapping the active tab, by default, calls popToRootViewController on that tab's navigation controller. That is what I want, but I also need to do some customization when this happens. The view controller in question has a nav controller, but is not a subclass of UINavigationController. How c...
stackexchange/codereview
I understand my question is a bit vague but I don't know how else to describe it. I've asked in numerous places and no one seems to understand why I want to do this. But please bear with me, and I'll explain why I want something like this. I'm using Liquid Templates to allow users to make some dynamic pages on my site....
stackexchange/codereview
Which is the best approach for creating a fast response in case a client application asks webserver for "check for updates". Skype for example takes about 1 second to answer. How to achieve the same?
stackexchange/codereview
I want to make a GUI for a game coded in C for Linux Platform.Are there any API`s to do this or what woulb be the easiest way to make a gui.
stackexchange/codereview
It sounds like a pretty simple question but I can find the answer no where. I have a post from a textarea. and I want to use the current facebook php library to do the following... $description = $_POST['textarea_description']; //magic happens $attachment = array( 'access_token' => $token, 'message' => "$title", '...
stackexchange/codereview
I have an app that plays several different audio files on a loop, via several different buttons. I want to program a single button that will stop the MediaPlayer, regardless of what audio file is currently being played. Any help with this would be greatly appreciated.
stackexchange/codereview
template < int > class CAT {}; int main() { int i=10; CAT<(const int)i> cat; return 0; //here I got error: ‘i’ cannot appear in a constant-expression } even int i=10; const int j=i; CAT<j> cat; //this still can not work but I have convert i to const int ,wh...
stackexchange/codereview
ROR newby question: I've got a controller with the following action: # GET /organisations/new # GET /organisations/new.xml def new @organisation = Organisation.new @organisationtypes = Organisationtype.find(:all) respond_to do |format| format.html # new.html.erb format.xml { render :xml => @organisatio...
stackexchange/codereview
I have the following scroll script, which scrolls round the page fine, works exactly how i want it too. $(function(){ $('a[href*=#]').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var $target = $(this.ha...
stackexchange/codereview
i've got a project in a virtualenv, which uses python2.6, but now i'd like to make it use python2.7. Is there a way to do this without having to backup my project files, re-create the virtualenv for the right python version, and then copy my files back in the virtualenv? This does not seem to be a big task to do by han...
stackexchange/codereview
I've got a string looks like this String a is ACdA(a = %b, ccc= 2r2) String b is \ewfsd\ss.jpg Expected outputs: ACdA(a = %b, ccc= 2r2, b_holder = \ewfsd\ss.jpg) It adds the string b to the end of string a, that's it! But be careful of the ")" "b_holder " is hard coded string, it's absolutly same in all cases, won't b...
stackexchange/codereview
I want to call a method before the execution of every and each controller's method. I don't want to go and call the method in every method. I just want to call it from one place and it will be called before any method of any controller in magento. And I am sure we can do this but I don't know how it can be accomplished...
stackexchange/codereview
I'm experimenting with the Android platform, and I'm beginning to love it, but right now I'm stuck, at this cursor/list adapter problem-thing. The thing is, that I request a function, returning a data object, with several properties I'd like to map to different TextView's. My list_item.xml <?xml version="1.0" encoding=...
stackexchange/codereview
User click one button on Activity#1 to start Activity#2. One button on Activity#2 start system default browser(Intent.ACTION_VIEW) to get Twitter authorized. After user allow, Twitter redirect user to Activity#2(Custom intent-filter+data) and it save the tokens. Now, if I press back key, the app back to browser, how...
stackexchange/codereview
I'm thinking of implementing my web application in a certain way as an optimization, and I'd like to get people's opinions on whether this is a good idea or not. Here's the details: For most of my pages, instead of determining server side whether the user is logged in, and then modifying the page I send based on that, ...
stackexchange/codereview
I am having an application in which I am having SQlite database too ..If I delete that Application accidentally. Is there any way to get back the same application with the same database. Or Is there any way to keep database alone in a separate place inside iPhone memory so that we can recover after application delete i...
stackexchange/codereview
I'm trying to build a WS with Spring 3.0 and CXF. I'm following the steps of this article http://www.ibm.com/developerworks/library/ws-pojo-springcxf/ But in that article, the authors assume that you have cxf installed. I'd like to embed CXF in my .war. Thanks in advance.
stackexchange/codereview
Whats the use of using custom comparers in Linq queries? Are they beneficial or are they just an overload on the server. So i am talking about queries like IEnumerable<Class> GetMatch(Class comparerObject) { return Session.Linq<Class>().Where(x=>new StringComparer<Class>().Equals(x,comparerObject)) } and this is h...
stackexchange/codereview
I'm doing something different but this is an easier to understand example. Think of the votes here. I add these votes to a separate table and log information about them like by who, when and so on. Would you also add a field to the main table that simply counts the number of votes or is this bad practice.
stackexchange/codereview
I am new to ASM(byte code manipulation kit) and am using it to instrument java byte code. I want to access the methods of a class and change their access modifiers using ASM. Does someone have an idea about how to achieve this? I know that calling visitMethod would help but do not know how to do that exactly Any inform...
stackexchange/codereview
I am trying to use this python module HTML.py but GAE gives me ImportError: No module named HTML According to IDLE path browser the path is here: C:\Python26\lib\site-packages\HTML.py Can anyone help me to fix this problem? Thank you
stackexchange/codereview
I have this string: "The quick brown f0x jumps 0ver the lazy d0g, the quick brown f0x jumps 0ver the lazy d0g.". I need a function that will replace all zeros between "brown" and "lazy" with "o". So the output will look like this: "The quick brown fox jumps over the lazy d0g, the quick brown fox jumps over the lazy d0g...
stackexchange/codereview
In Box2D, when a body that is connected to a joint is removed from the space, the joint is automatically deleted and you can do stuff in callbacks and so on. Does Chipmunk do this? If so, how can I detect when a joint connection is 'broken'? Do I have to keep track of this stuff manually?
stackexchange/codereview
I am transforming an XML where I am supposed to locate a particular Element (based on the attribute value) and update the Element and its child attributes. The sample XML file is as below. <?xml version="1.0" encoding="utf-8"?> <Configuration> <Environments> <Environment id="Master"/> <Environment...
stackexchange/codereview
How can you detect whether a PC has the .Net 4 Full Profile installed, as opposed to the .Net 4 Client Profile?
stackexchange/codereview
How is the asp.net calendar control displayed in a popup window and how is the selected date displayed inside a Textbox control?
stackexchange/codereview
I have 2 tables in my database call groups and players i am trying to select the group first and then the players show up in another listbox. DB: Groups +-----+---------------+ | id | Name | +-----+---------------+ | 1 | Red Group | | 2 | Blue Group | | 3 | Yellow Group | +-----+---------------+...
stackexchange/codereview
What is the best way to merge muliple String[] into a single String[] in Java?
stackexchange/codereview
I've inherited the maintenance of some scientific computing using Parallel Python on a cluster. With Parallel Python, jobs are submitted to a ppserver, which (in this case) talks to already-running ppserver processes on other computers, dishing tasks out to ppworkers processes. I'd like to use the standard library log...
stackexchange/codereview
I saw a couple of applications in the itunes store with stunning visuals, how is it possible to create those graphs and charts. I know these things can also be created using Java script, is javascript used to create them ?
stackexchange/codereview
I am processing IP source/destination/port lists created as acl requests The request looks some thing like this: source IP destination IP Port 76.211.12.9 10.112.12.232 1521 The Source and destination IP's have three distinct formats x.x.x.x,y,z x.x.x.x-z x.x.x.x,y.y.y.y,z,z,z,z I want to create output x.x.x...
stackexchange/codereview
I am using Windows 7 and I have created on the desktop a file named test.txt. How can I access this file using C++? For example, consider following code: #include <iostream> #include <fstream> #include <cstdlib> using namespace std; int main(int argc, char *argv[]) { fstream inout("test.txt", ios::in | ios...
stackexchange/codereview
I wanted to provide unique ID for different categories of models in my db. So I've introduced a dummy model : class GUUID(models.Model): guuid = models.PositiveSmallIntegerField(_(u"Dummy GUUID"), default=1) and in model that I want to have unique ID: class Event(models.Model): unique = models.IntegerField(bl...
stackexchange/codereview
I'm developing apps for the IOS platform using Flash CS5, but the interface components (like listbox, combobox, buttons and so) that comes with flash/flex are not optimized for IOS developing. Is out there a free library of components for the interface on IOS??? Thanks!
stackexchange/codereview
I'm wondering if there's an existent solution to the following problem: I have the following code: <div> <div> <div><%= {:something => 'abc', :else => 'abc', :nice => 'ok'} %> </div> </div> </div> As you can see it's unested and hard to read. I was wondering if there's an existent tool preferably...
stackexchange/codereview
How do I achieve the following? The first image shows the result I want to achieve. The second one is the current result I'm getting from my layout. Note The image I'm using is the one from android 1.6 jar. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
stackexchange/codereview
I Have to add a bookmark in Word doc using Microsoft.Office.Tools.Word.ControlCollection AddBookmark method is available in ControlCollection class, however when I try to create the object of ControlCollection, it throws and error because this class has no constructor defined... How can I add a bookmark in word docum...
stackexchange/codereview
I have am working on a .net application that integrates with a Teradata database version 12. Currently, we are using Odbc at the DAL to interface with the database. Teradata have come out with the .Net Managed provider recently. I was wondering if there are any performance benchmarks available to compare ODBC with the...
stackexchange/codereview
I've created a program that loads data from an HTTP request. It has to load it every 1 sec or 0.25 sec. However I've found that that many of my request - a few every minute - are timed out. It's weird because trying to reload the same address in a web browser, even when reloading very often, I always get the contents q...
stackexchange/codereview
I have a sprite image that is the background of a div and the div contains "li" elements with anchor links in them..I want that when user hovers over links ..diff parts of sprites' image are displayed in div's background.. now sprite was working great until I added a master page to my aspx page..the image hid behind th...
stackexchange/codereview
I want to do something like the following in TeX: \begin{nobreak} Text here will not split over pages, it will remain as one continuous chunk. If there isn't enough room for it on the current page a pagebreak will happen before it and the whole chunk will start on the next page. \end{nobreak} Is this possible?
stackexchange/codereview
I'm using Amazon RDS for the first time ever and I've been following the heroku docs to get my app using the RDS instance. So far I've created an instance and I have setup the addon using the format: $ heroku addons:add amazon_rds url=mysql://user:pass@rdshostname.amazonaws.com/databasename After running heroku rake ...
stackexchange/codereview
I’m attempting to query and Excel spread sheet on a network share, using the openrowset function with no success. I get the following error: SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;DATABASE=\\server\Xdrive:\Spreadsheet.xls', 'Select * from [Sheet1$]') Server: Msg 7399, Level 16, Stat...
stackexchange/codereview
I posted this question on the MSDN forums, but my experience has been a better quality of answer here on Stack Overflow, so I'm posting here as well. As I've posted several times before, I'm working on a browser automation framework, automating Internet Explorer from an external process. My architecture is as follows: ...
stackexchange/codereview
Please help me create a function to convert dates like 2010-10-04 17:45:50 Into something more pretty like 10 October at 17:45 And so it can hide years if they are not really needed and display date like today/yesterday at 17:45 This is a bit similar to how Facebook displays past dates.
stackexchange/codereview
I have a C application I am trying to compile for Mac OS X 10.6.4: $ uname -v Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 My gcc is as follows: $ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664) My Makefile is as follows: CC=gcc CFLAGS=-D...
stackexchange/codereview
My application Drop-down consist of lengthy titles, which exceeds the drop-down beyond the page. Example Title: Enter your Name Up to 250 Char Enter your Name Up to 250 Char Enter your Name Up to 250 Char Enter your Name Up to 250 Char. i can split half of the title with sub string(). Is it possible to bring the next h...
stackexchange/codereview
I am playing around with the HTML5 features, and I want div's (and similar containers like articles, sections, etc.) to be draggable. Consider the following code: <!DOCTYPE html> <html> <head> <title>A Simple Draggable Object</title> </head> <body> <h1>Test #1: A Simple Draggable Object</h1> <div draggable="...
stackexchange/codereview
Little question out of annoyment with Visual Studio 2010. Whenever I write lines like this: <%: Html.LabelFor(model => model.AccountName) %> And save the file, some lines (some, not all of them, haven't figured out the logic behind this yet) will be converted to this: <%: Html.LabelFor(model => model.AccountName)%> Q...
stackexchange/codereview
I am working on about 1GB incremental file and I want to search for a particular pattern. Currently I am using Java Regular expressions, do you have any idea how can I do this faster?
stackexchange/codereview
I'm having a strange issue with an MSMQ trigger. This is what I've done. On Windows Server 2003 I've installed MSMQ I then installed MSMQ triggers I created a private queue called "TestQueue" I created the rule as follows: Name: "TestRule" Condition: "Message label contains '-'" (All my message labels contain '-') In...
stackexchange/codereview
i wanna write stored proc which would delete records from dirstaging.trr.table1 and dirstaging.trr.table2 older than 90 days. the same stored proc will remove all records from dir.trr.ErrorTable where there is not a record in dir.trr.table3 and dir.trr.table4. this proc will accept variable @cleanup. NOTE : i tried som...
stackexchange/codereview
Is .Skip().Take() the only way to get paging in Entity Framework? Is there some way to select the row number in the output so I could use Where( p => p.row > 9 && p.row <21)? select top 100 ROW_NUMBER() over (order by ID) as row, * from myTable I would think the ROW_Number() field must exist in the generated SQL for...
stackexchange/codereview
Using the errorPlacement hook I am able to add a certain class to a certain error element. However once the form has attempted to submit the second time, it looses that class I added. See the following code for the example. http://www.jsfiddle.net/NU63P/1 How can I keep that additional class on the element through th...
stackexchange/codereview
I know the general problem of "Can't create handler inside thread that has not called Looper.prepare()" has been asked before, but I am struggling to understand how it applies in this case. I am trying to construct a new CountDownTimer in a non-UI thread, which I guess is the cause of this error, but I don't really u...
stackexchange/codereview
I am using the Corona Gaming Addition SDK to build an iphone / andorid game. I have a space ship on the screen and I will allow the user to rotate the ship 360 degrees. I would like to then call the applyLinearImpulse method to allow the user to thrust the ship forward in the direction the ship is facing. The method ac...
stackexchange/codereview
I need to extract all Icons sizes up to 256x256 from ico,exe,dll,icl files ExtractIconEx only extracts 32x32 and 16x16 icons thanks for helping
stackexchange/codereview
I have a view which consists of 5 buttons. On clicking each button the corresponding url must open up. I want to design a single webviewcontroller to load the corresponding url on button click... Can anyone suggest how to achieve this???
stackexchange/codereview
I have the following db. If I select * and join all the tables, desc and active will be mixed up. Now I can write all like omc_courses.desc, omc_trainer.desc etc, but if I have many field, it is not practical. So I am thinking if I can write like select *, omc_courses.desc AS course_desc, omc_trainer.desc AS trainer_d...
stackexchange/codereview
Need to store the tag from a clicked button: - (IBAction)buttonClicked:(id)sender { UIButton *button = (UIButton *)sender; self.selectedImage = [_images objectAtIndex:button.tag]; } Works OK. - (IBAction)buttonClicked:(id)sender { UIButton *button = (UIButton *)sender; self.selectedImage = [_images obj...
stackexchange/codereview
The following is generated query from Hibernate (except I replaced the list of fields with *): select * from resource resource0_, resourceOrganization resourceor1_ where resource0_.active=1 and resource0_.published=1 and ( resource0_.resourcePublic=1 or resourceor1_.resource_id=r...
stackexchange/codereview
I have an interface class MyFunction. There are three functions in this class with the following signatures: virtual bool Eval(int& iReturnVal, size_t szArgumentCount, list<Param> lParameterList) = 0; virtual bool Eval(double& dReturnVal, size_t szArgumentCount, list<Param> lParameterList) = 0; virtual bool Eval(char*&...
stackexchange/codereview
I've read through a couple of dozen of these questions, but I can't find this solution. I want to output the key of a JSON key:value pair. Assuming the JSON is like this: {"group":[ {"ed":"BDeveloper","st":"New","type":"B"}, {"ed":"BDeveloper","st":"Cancelled","type":"B"} ]} I want to scrape the "ed", the "st", etc. ...
stackexchange/codereview
Somebody tell me what's the difference between two queries: Version A select p.LastName, o.OrderNo from Persons p, Orders o where p.P_Id = o.P_Id ...and... Version B select p.LastName, o.OrderNo from Persons p join Orders o on p.P_Id = o.P_Id
stackexchange/codereview
my gut feeling says I shouldn't do the following. I don't get any warnings about it. void test(DateTime d) { d = d.AddDays(2); //do some thing with d } or is this more proper void test(DateTime d) { DateTime _d = d.AddDays(1); //do some thing with _d } For some reason I have always handled passed parameters lik...
stackexchange/codereview
I'm using ruby 1.8.6 and rails 1.2.3 (ancient but I'm debugging an old app) A model called Payperiod has attributes begindate and enddate and after importing the db, the dates are all there (apparently) But in the console and in the app, the date attributes eval to nil. Why? Below is some code pasted from the console:...
stackexchange/codereview
I've got an enum type defined in the private section of my class. I have a member of this type defined as well. When I try to initialize this member in the constructor body, I get memory corruption problems at run-time. When I initialize it through an initialization list in the same constructor instead, I do not get me...
stackexchange/codereview
i hav a tabular forms used to generate reports which are html files and i want to save these files by filling with data dynamically using obj-c.. any ideas how to do .. Thanks in advance
stackexchange/codereview
How HTML newsletters should be designed? using tables or divs and css styles. I read somewhere that newsletter should be designed using tables because many of the old client can't process the css style. how much truth is in this? What else need to be care of when designing newsletter to send using email. i.e. java scr...
stackexchange/codereview
Hi all Im trying to build a solution using a DDD approach. Ive created a set of entities, and some datamappers i use to remove the data persistence dependency from the entities. Is it correct of me, to use a datamapper like a "finder" class, i have methods like getById() getUsersByRanking() getByLastName() or shoul...
stackexchange/codereview
I was thinking of using Mono.Cairo as the foundation for a light weight CAD system. But wasn't sure what the performance was like. CAD systems produce a lot of redraws and can have a lot of data in them, with a ton of text. If not Cairo then any other suggestions is welcomed. I want the app to run on Windows, Mac and L...
stackexchange/codereview
Google App Engine currently limits you to 2,000 emails per day (for free) via their API. I am trying to find a definitive answer if it is possible to use a third-party system if you need to send more. I know that they disallow raw sockets, so I would assume that there might be trouble with this approach... but surel...
stackexchange/codereview
Is there a way to search for text within stored procedures? For example I want to find out if a particular table is being referenced by any stored procedure.
stackexchange/codereview
Whenever I want to start second Midlet, I get error MIDlet suite is already running. I'm developing under Netbeans. On Windows it work OK.
stackexchange/codereview
I am using Entity Framework v4. I am trying to implement some logic to Validate my entities before they are saved by overriding the SaveChanges method. I am also POCO for my entities. I get a list of modified and new entities by doing the following. var entities = (ObjectStateManager.GetObjectStateEntries(EntityState.A...
stackexchange/codereview
I a looking for a library that can compress text. Not short string but rather pages. Is there any known library or opensource code?
stackexchange/codereview
I trying to implement the url template tag into my project. I have a button that allows the user to save the data he is seeing. So the url of this button is this: (2)url(r'^nameviews/download/$', 'my.path.is.this.to.download' name="load"), template: <a href="{% url load %}">Download</a> the url of the page that shows...
stackexchange/codereview
I am aware of WindowListener and its ilk, but these only seem to provide events for windows to which you have a reference already and can add the listener to. I'm wondering how to either receive a callback when new windows are created by other processes, or poll for a list of all windows currently open on the system. ...
stackexchange/codereview
I am developing an iphone / ipad application. My plan is to have my beta customers use it before I have submitted it to the app store to help me work out all the issues. Nonetheless, they will be entering real information to the application. Thus, I would like them to be able to back up the application to iTunes using ...
stackexchange/codereview
I'm trying to create a title bar that is the same throughout my application and have been creating layouts like this for each of my activities: main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width=...
stackexchange/codereview
I have been asked to parse a simple file which is stored as an XML file, the data is to be then save it to a mysql. However I have absolutely no clue what to do and after looking online all the examples given seem either too complicated for my problem or not the right solution. The XML file looks like this games_scores...
stackexchange/codereview
I'm trying to build the boost examples. I get the following error: Access is denied. Access is denied. ...found 9 targets... ...updating 2 targets... gcc.compile.c++ bin\gcc\debug\hello.o Access is denied. "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -c -o "bin\gcc\debu g\hello.o" "hello.cpp" ...faile...
stackexchange/codereview
I am trying to figure out how exactly arithmetic bit-shift operators work in C, and how it will affect signed 32-bit integers. To make things simple, let's say we work within one byte (8 bits): x = 1101.0101 MSB[ 1101.0101 ]LSB Reading other posts on Stack Overflow and some websites, I found that: << will shift toward...
stackexchange/codereview
I am wondering what is the Difference between Managed Solution and UnManaged Solution in CRM 5.0 (2011)?
stackexchange/codereview
I've got the following main.xml: <?xml version="1.0" encoding="utf-8"?> <AbsoluteLayout android:id="@+id/widget0" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" > <ListView android:id="@+id/listview" android:layout_width="315...
stackexchange/codereview
I have trac set up for my private and job projects and I have an ability to define tasks or describe bugs there. As most of the time I work at those projects alone, I usually choose to write the TODO lists on sheets of paper. When a task is done, I just strike it out from the sheet. When the full page of tasks is finis...
stackexchange/codereview
I have created a GUI in JApplet Form in netbeans which also contains a JList. i just want to know how to add a text and an image before text. i know how to add a text by creating an array and pass it to the constructor of the JList but that was in simple JPanel but in JApplet Form code is disabled (non-editable).I am s...
stackexchange/codereview
I bought a domain name with GoDaddy.com. I have a Ubuntu linux server running with Rackspace Cloud. On this server, I have Apache up and running. My question is this: How can I set up my domain to point to my server with Rackspace Cloud. More specifically, I want http://www.mydomainname.com to map to my Apache server. ...
stackexchange/codereview
I'm on a Mac running 10.6.4 Snow Leopard, and apparently ruby comes ready to go. But I'm new to Ruby, trying to learn the Rails framework, and so i decided to install the latest version 1.9.2. I followed the instructions here, but after I compile and install, when I run ruby -v I'm still getting 1.8.7. Anyone can he...
stackexchange/codereview
import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPReply; import org.apache.commons.net.ftp.FTPFile; import java.io.*; public class FTPUpload{ public static boolean uploadfile(String server,String username,String Password,String source_file_path,String dest_dir){ FTPClient ftp=new F...
stackexchange/codereview