instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have a Silverlight 4 app that runs out of the browser, it also has a web service that it talks to for specific functionality.
I am trying to figure out how to check to see if the web service is available because the app is crashing when there is a break in internet connectivity.
| stackexchange/codereview |
I don't understand why this piece of code is not working. Only backspace and return key are detected. Listener doesn't fire for any other key. My device is Nexus One.
I tried to override activity's OnKeyDown method and that's even worse. The only detected button was hardware back button.
I am seeing around a suggestio... | stackexchange/codereview |
I have an app with a layout using the following view objects. 2 spinners, 2 buttons, 1 seekbar and a custom view object that is basically a canvas I draw to.
For some reason the spinners and seekbar are drawn on top of the canvas, but the 2 buttons are not. I'm confused as to why this is.
So, how is this ordered dete... | stackexchange/codereview |
I see that the google doc can use many desktop short key, it seems that it listen to the keyboard you type. How can I implement it using javascript? Thank you.
| stackexchange/codereview |
Currently, I'm trying to use SubSonic3 ORM (ActiveRecords mode) with the Oracle (ODP.NET) data provider and the T4 template to access an Oracle 10g (ver. 10.2.0.3.0) DB.
After dealing with a few minor glitches getting the templates to build the various code for me, I managed to get it all to compile and run, but I'm ru... | stackexchange/codereview |
And what would be the equivalent for sound?
| stackexchange/codereview |
what do I have to do to jump to the right class not the metadata?
in visual studio 2010 while working on c# code I right click on some code to jump to "Go To Definition"
sometimes shows the right class where my object is define and sometimes show me the Metadata not the right class...
why is this ?
thanks for your help... | stackexchange/codereview |
I'm trying to write a game and I'm a bit stuck with this animation. I have a ball that is animating horizontally in my screen. Here is the code:
CABasicAnimation *horizontalBallAnimation = [CABasicAnimation animationWithKeyPath:@"position"];
[horizontalBallAnimation setFromValue:[NSValue valueWithCGPoint:CGPointMake(50... | stackexchange/codereview |
I am struggling to get a reliable way to catch floating points exceptions under Visual Studio (2005 or 2008). By default, under visual studio, floating point exceptions are not caught, and they are quite hard to catch (mainly because most of them are hardware signal, and need to be translated into exceptions)
Here is w... | stackexchange/codereview |
I would like to know the method to solve quadratic programming with computer (not by hand). Any mathematical material I can read? Thanks!
| stackexchange/codereview |
I'm using PostSharp to add an aspect to a WebMethod.
Below is my aspect (it does nothing... doesn't want to compile):
public class MyAspect : OnMethodBoundaryAspect, ISerializable
{
public override void OnException(MethodExecutionEventArgs eventArgs)
{
}
public override void OnEntry(MethodExecutionEve... | stackexchange/codereview |
I am trying to create a user using code. I have the following that created the user. It however does not send an email to the user saying that the account has been created. How can I do that?
$newUser = array(
'name' => 'username',
'pass' => 'password', // note: do not md5 the password
'mail' => 'email address',
... | stackexchange/codereview |
I'm having an issue getting Yshout5 working inside a Widget on my Sidebar, it doesn't show at all.
The instructions say to place the following code inside <head> (I placed inside Header.php)
<script src="yshout/js/jquery.js" type="text/javascript"></script>
<script src="yshout/js/yshout.js" type="text/javascri... | stackexchange/codereview |
I have a bonjour service written in C# that works over a standard wireless network with iOS (iPhone/iPad). I am trying to configure the service so that it works with a bluetooth connection. I'm new to bluetooth so I might be doing something wrong. I've paired my iPad to my laptop (it comes up as a Bluetooth Peripheral... | stackexchange/codereview |
I have a a table author_comments with a fields author_name, comment and brand id.
I would like to get the number (count) of records where the author has more than N (2) records for a given brand.
For example,
author_comments
author_name comment brand
joel "loves donuts" 1
... | stackexchange/codereview |
How do you get correct MAC/Ethernet id of local network card using python?
Most of the article on Google/stackoverflow suggests to parse the result of ipconfig /all (windows) and ifconfig (Linux).
On windows (2x/xp/7) 'ipconfig /all' works fine but is this a fail safe method?
I am new to linux and I have no idea whethe... | stackexchange/codereview |
I want to send a treemap between two activities,how can i do this?
| stackexchange/codereview |
I am trying to implement a very simple application where you drop a file anywhere in the client area and it gets converted. Here's my XAML:
<Grid AllowDrop="True">
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">
Drop .dds files here and they will be converted to .png files in their original di... | stackexchange/codereview |
Taking a quick look at SpringSocial it would appear that each social network has its own different unique. There is no interface exposing a universal
authenticate to network
sendMessage
The reason for the "authenticate to network" listed above is i would like to include the facility for the application itself to pub... | stackexchange/codereview |
I'm building a classifier text.
1, Have 10 categories, each category have more relative keywords.
2, Now, I have a text. I need classify it into one category
3, I use NLTK but I don't know how to create best train corpus, corpora
Can someone help me with methods to extract features,... tks u
| stackexchange/codereview |
I have web service running on my Virtual Machine. Its been up and running. I am using static IP address for the VM. I am unable to access some of the methods in the service. I can access the properties but not methods. Is there anything I need to setup to access my methods?
Many Thanks
Hari Gillala
| stackexchange/codereview |
We have a common component in our source which contains all the enums (approx 300!) for a very large application.
Is there any way, using either C# or VB.NET, to iterate through all of them in order to perform an action on each one?
The question How to iterate all “public string” properties in a .net class is almost re... | stackexchange/codereview |
I have several apps which I want to share some common code. I'd like to gem the code and share/version it across the apps that way, although I don't want to publish it to a public gem server.
What are some options?
| stackexchange/codereview |
I'm trying to clear the value of a input field if it contains a certain value.
$('#registerajax_email:contains("yahoo.com")').text(function(){
$('#registerajax_email').val('');
});
What am I doing wrong?
| stackexchange/codereview |
Can anyone tell me why the javascript won't submit when the button is clicked on the below scenario?
The controller is like so:
public ActionResult TestJavaScrip()
{
TestEntities db = new Models.TestEntities();
ViewData["SortOptions"] = new SelectList(db.aspnet_Role, "RoleId", "RoleName");
return ... | stackexchange/codereview |
I'm trying to set up CruiseControl.Net using SourceSafe as our source code repository. Looking at the example code in the CC.Net documentation I need to provide a path to the SourceSafe executable in the config file:
<sourcecontrol type="vss">
<executable>C:\Program Files\Microsoft Visual Studio\VSS\win32\SS.EXE</exe... | stackexchange/codereview |
So I have to InnoDB tables (Products) and (Categories). I wanted to setup a relationship between the "Category" field on the Products table, and the "CategoryId" of the Categories table.
But when attempting to create a FK it will only let me select the Primary Key "ProductsId" on the Products table and map to the PK "... | stackexchange/codereview |
I'm working on a filter to be put in front of a Java application. This filter already is responsible for setting the user name in the remote user variable (in order for the application to do a request.getRemoteUser() call).
I'd like to also set the roles of the currently logged user from a custom call to an LDAP (not r... | stackexchange/codereview |
I am new to unix environment. Well, I just want to send an email using unix shell script. I do not know whether I have rights to do in my user role or not. This is script I tried to run it.
#!/bin/bash
# script to send simple email
# email subject
SUBJECT="SET-EMAIL-SUBJECT"
# Email To ?
EMAIL="test@mail.com"
# Email t... | stackexchange/codereview |
I have a form, and if I only fill in English characters, everything is OK, but if I tried to fill in some Chinese characters, then problem happens:
If fill in the form in chrome or firefox, then it sent following request:
/docsearch/documents/site/test/documentLibrary/?filter=path&filterData=%2F&size=50&pos=1&prop_cm_n... | stackexchange/codereview |
Here is the following information i'm sending the user.
Sender email: Support@photocrayze.com
Subject: PhotoCrayze - Account Activation Instructions
Message:
image url goes here
Hello {FIRSTNAME} {LASTNAME},
Thank you for signing up for for photocrayze.com!
What's Next?
Click here to acti... | stackexchange/codereview |
I'm faced with the following problem in rails. I have a form to edit/create a new project that may contain 1 to n sub-projects that again can contain 1 to n tasks.
So when I create a new project the controller executes:
@project = Project.new
sub_project = SubProject.new
work = Work.new
sub_project.works << work
@proje... | stackexchange/codereview |
As you know sendmsg has this declaration:
int sendmsg(int s, const struct msghdr *msg, int flags);
and msghdr structure has this form:
struct msghdr {
void * msg_name; /* optional address */
socklen_t msg_namelen; /* size of address */
struct iovec * msg_iov; /* scatter/gather array ... | stackexchange/codereview |
I'm trying to display a custom UIMenuController when a User long presses on a cell in a grouped UITableView. However, I can't seem to get the UIMenuController to display after successfully detecting the long press. Any help is greatly appreciated.
MyViewController.h
@interface MyViewController : UIViewController <UITa... | stackexchange/codereview |
Simple thing: I would like to "convert" e.g. a float into a double. Now there are three ways known to me:
float v = 4.2f;
double u = (double)v;
double u = double(v);
double u = static_cast<double>(v);
double u(v); Edit: Just thought about this as a fourth option!
Are these identical or are there any subtle differenc... | stackexchange/codereview |
On an ASP.NET MVC2 Application,
I have make a view who contains a partial view.
This partial view show data of the model.
On the model, i've made several data annotations ([Required]
But, from the controller, ModelState.IsValid is always == true.
Is there something special to do when we want to validate data from a pa... | stackexchange/codereview |
I've started reading a book on PHP security (but it's really all theoretical not so much practical) and have it in my plan to read Chris Shiflett's and Schenider's blogs, but does anyone know of a formal course that I can attend or even get a certificate that proves I know how to write secure PHP code?
Edit: I got a l... | stackexchange/codereview |
Any one can suggest how to add images in email body ?
I tried it, but no answer.
Here is my code:
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType("image/jpeg");
sendIntent.putExtra(Intent.EXTRA_EMAIL, new String[] { "gmail@gmail.com" });
sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Photo");
sendInt... | stackexchange/codereview |
I can use this flag to load a particular version of .NET framework by putting this flag in application configuration file of a binary. But the configuration file of binary is not in my control, as I am responsible for DLL. Is there any way I could specify the same flag in DLL, so that DLL could load other DLLs built wi... | stackexchange/codereview |
I have a listview with a custom adapter that uses an sql cursor. When I add items to my listview, the item will be added to my sqlite3 database and the listview will refresh.
My one problem is that I am able to add duplicate items, and I do not want my application to allow duplicates to be added.
I have added a primar... | stackexchange/codereview |
I'm a bit baffled when it comes to converting this javascript over to C#...
Any help would be appreciated!
Here is the javascript:
function d(strInput) {
strInput = decoder(strInput);
var strOutput = "";
var intOffset = (key + 112) / 12;
for (i = 4; i < strInput.length; i++) {
thisCharCode = str... | stackexchange/codereview |
I am New To Android,My Requirement is to Attach an ImageFile and an AudioFile to an E-mail in android?
can anyone help me..?
Thanks in advance
| stackexchange/codereview |
In the .NET Framework, there are several controls that list a number of links underneath the property list in the Properties window in the Visual Studio designer. (e.g. TabControl, ComboBox)
I have built a custom control, and I want to create a link on the Properties Window like the TabControl and ComboBox. When the li... | stackexchange/codereview |
I have an application that takes some database info and shoves it into a datagrid, or chart.
I've come across this error of having a single row and trying to use it in an array so I can use it in my app. Its come to my attention that its a pretty common problem that people face, but I don't seem to be able to get arou... | stackexchange/codereview |
I've some "rogue" OutputDebugString call in my application which prints out "T", but I can't just locate it.
Is it possible somehow to set breakpoint on OutputDebugString -function and see where it is called from?
I'm using Delphi 2009.
| stackexchange/codereview |
My java application references a 3rd-party jar file which uses log4j logging. The problem is that this jar contains its own log4j.properties file which causes access denied exceptions on my machine, but I don't have control over the jar file to change its contents.
I have tried adding my own log4j.properties file in my... | stackexchange/codereview |
I have tried to compile dev86 on 2 different machines, one 64bit only and the other a generic 32bit machine. Both fail at exactly the same spot:
make[4]: Entering directory `/tmp/dev86-0.16.17/libc/bcc'
make[4]: *** No rule to make target `__ldivmod.o)', needed by `/tmp/dev86-0.16.17/libc/libc.a'. Stop.
make[4]: Leavi... | stackexchange/codereview |
I have a JTable using DefaultTableModel as its internal data model. It will receive packet from network and show the packet in the JTable. Now i want to limit data model size so that it will only contain the newest packets and drop of the oldest, but the DefaultTableModel uses a dataVector of type Vector which has no s... | stackexchange/codereview |
to remove text1, I simply use:
find mydirectory -type f -exec sed -i 's/text1//ig' {} +
but how to remove <h2 class='title'>Some text</h2>?
I cannot simply remove using below code. it not works:
find mydirectory -type f -exec sed -i 's/<h2 class='title'>Some text</h2>//ig' {} +
| stackexchange/codereview |
I know this sounds a bit silly, but as of now I need a solution. Say if I have a table:
userid | category
-------+---------
derkv2 | Batch
markj | HTFS
marjk | TERMK
How can I return unique rows, only take the first category the user belongs to?
So it will look like:
userid | category
-------+--------- ... | stackexchange/codereview |
I have a variable, which is a member of one of my classes, that another is in need of, but I'm not sure how to effectively pass the value between them without using a global variable, which is something I'd like to avoid if at all possible. I know I could create an object, but that would invoke the constructor of the o... | stackexchange/codereview |
I am trying to figure out how to get the MPMediaPickerController to display only albums and playlists. I can get the lists via the MPMediaQuery, but don't know how to feed that to the picker, or get the picker to use the query, or....
Any help would be greatly appreciated (or a solid whack on the head if this is a stu... | stackexchange/codereview |
We are trying to upgrade our code base to use Visual Studio 2010 but are having problems getting everything sorted on our build servers. We do not want to install Visual Studio 2010 on our build servers and so have installed just the .Net 4 framework and SDK (v7.1).
We are still wanting to target the .Net 3.5 platform... | stackexchange/codereview |
Is it possible that C# autostart automatically add application to startup folder. Now i can download and install C# application with autostart but application is not srated automatically when i restart windows. How to do that?
| stackexchange/codereview |
I have written a JJTree (JavaCC) configuration for a type of DSL and it successfully tokenizes a given format of file and will dump the AST when requested.
The problem is that each of the nodes in the tree is empty as I am not currently storing the tokens (I can't understand the examples).
Here is part of my .jjt file:... | stackexchange/codereview |
I want to solve a problem from Project Euler (BTW, problem 25), and I found a solution in Python:
fibonacci = 1
old1 = 0
old2 = 1
limit = 1000
i = 1
while len(str(fibonacci)) < limit:
fibonacci = old1 + old2
old1 = old2
old2 = fibonacci
i = i + 1
print(i)
It took 1.5 seconds to calculate.
I implemen... | stackexchange/codereview |
Here is the case:
I have an SQL Database table that I want to migrate to a Dynamic CRM 4.0 database. There is a table (let's call it Table_A ) that have a particular column (Table_A.Type). I want to migrate the table A data into either the Account entities or Contact entities in Dynamic depending on the Table_A.Type. I... | stackexchange/codereview |
I am using my own iterable structures - various BinaryTrees. Can I simply marshal them? It's quite easy to marshal f.e. java.util.List implementations, but in my case, it's absolutely unacceptable. I need to use my own structures, with no internal containers whatsoever - only memory chains (root.leftson.rightson etc.)
... | stackexchange/codereview |
I'm using the following code for my .htaccess for the PHP framework CodeIgniter.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
### Canonicalize codeigniter URLs
# If your default controller is something other than
# "welcome" you should probably change this
RewriteRule ^(welcome(/index)?|index(\.php)?)/?$ ... | stackexchange/codereview |
Lets say I pick up a pure Javascript library... one that doesn't rely on the DOM in any way.
Now, lets say I want to take that library and us it in Flex. Is there any good way to do this? I can't simply include the Javascript, as it is not close enough to ActionScript to compile... but is there a good converter that ... | stackexchange/codereview |
Here is the problem...I want the user upload a photo, and after the user uploaded the photo, I will have some processes, to analysis what is the color of this photos. But I don't want to do it on the php... ...because I have a C program that can run it faster. Also, I don't want the user wait for the result. I will not... | stackexchange/codereview |
I have been working on an ASP.NET MVC 2 app similar to SQL MDS. The app which we call as ADMIN app is for implementors to setup non transactional customer data to bring them on board.
The app was however built for targetting a SQL DB on a single environment UAT/LIVE/QA etc. In a nutshell the app is deployed together w... | stackexchange/codereview |
I'm sorry if this questions a bit basic, but how do you invoke a nib file through a button or a menubar item? What would the method be?
| stackexchange/codereview |
i am making a mail client and i have made an option in which user can save his/her profile
and i saving all details in an xml file using SXML lib in python . now i want that file to be encrypted otherwise any one can see the details...How do i Do dat?
| stackexchange/codereview |
When developing a mobile website, I want to display features based upon device capabilities. Specifically, I want to have a "Call us" button that uses the "tel:" protocol (e.g. tel:5551234) to initiate a phone call.
However, not all mobile devices support phone calls, such as the iPad.
How can I programmatically (eith... | stackexchange/codereview |
I need to scroll a MapView programatically to make sure something is in view. I know how many pixels it needs to scroll in each direction. I see methods (in MapController) to animate it to a particular GeoPoint, and to scroll it by pixels without animation. But nothing to do it by pixels, with an animation.
What i... | stackexchange/codereview |
I've got a demo from our instructor about how Hibernate works. But I'm completly lost. I can't find my way trough all the pages: Dao, Eo, Service, Vo, Action and Model.
Can someone please help me?
| stackexchange/codereview |
I have managed to read in a saved .csv file on my hard disc and get the data to poputlate a data table. I now want to take that data and put it into XML format, then send the XML to a web service. How can I do this?
Thanks for your time.
| stackexchange/codereview |
I'm running Debian Sid and I want to know where are my USB speakers in system. For example: When I plug my pen drive, dmesg shows where it is (sda, sdb, etc). But when I plug my USB Speakers, it doesn't show anything:
[12032.284042] usb 2-2: new full speed USB device using ohci_hcd and address 2
[12032.497098] usb 2-2:... | stackexchange/codereview |
Is there any way to serialize a dictionary using protocol buffers, or I'll have to use Thrift if I need that?
| stackexchange/codereview |
I've got two similar codes.
First
#pragma omp parallel for shared(g) private(i) schedule(dynamic, 1)
for(i = (*g).actualNumberOfChromosomes; i < (*g).maxNumberOfChromosomes; i++)
{
AddCrossoverChromosome(g, i); // it doesnt change actualNumberOfChromosomes
#pragma omp atomic
(*g).actualNumberOfChromosomes... | stackexchange/codereview |
How to turn on the anti-aliasing on an canvas.
The following code doesn't draw a smooth line:
var context = mainCanv.getContext("2d");
if (context) {
context.moveTo(0,0);
context.lineTo(100,75);
context.strokeStyle = "#df4b26";
context.lineWidth = 3;
context.stroke();
}
| stackexchange/codereview |
I've recently gotten started using Fantom. I've got a jar file that contains a resource (svg image, in this case). I can use the classes from the jar just fine, but the resource won't load: Thread.currentThread().getContextClassLoader().getResourceAsStream("name") returns null. When I use this exact same jar in a Java-... | stackexchange/codereview |
I'm having a problem with Bundler and Sinatra. First i used this in my app.rb:
require 'rubygems'
require 'bundler/setup'
require 'sinatra'
require 'haml'
require 'redis'
...
However I read about Bundler.require and thought it's a nice DRY way because the gems specified in Gemfile are the ones I will require in my app... | stackexchange/codereview |
I am working on this code, and got confused..
How to only get the 10th element and above only to be copied into the buffer?
For example, I have this string "http://www.google.com". I don't want the "http://www." part to be copied inside my testDest buffer.
char testDest[256];
char *p= _com_util::ConvertBSTRToString... | stackexchange/codereview |
i want to play a sound when user click on the button in flex 3. My flex application will generate the images one by one. For each image, one sound should come in background. Any ideas? thanks in advance
| stackexchange/codereview |
I am trying to create a panel that can dynamically insert components based on events. The panel is row based with variable amount of components per row. However, I have problems inserting components between existing ones.
For example, if I have following layout (lines represent MigLayout cells) :
+----+----+----+
| X... | stackexchange/codereview |
I googled that there is an is_a? function to check whether an object is an integer or not.
But I tried in rails console, and it doesn't work.
I ran the code like the following:
"1".is_a?
1.is_a?
Did I miss something?
| stackexchange/codereview |
Hey guys i like how these two applications have their page controls set up. how do you make these type of page controls? also what class are they from? please give me good details im new and just trying to understand thanks in advance.
http://img26.imageshack.us/img26/1529/custompagemarkers.png
| stackexchange/codereview |
I am using c# and SQL Server to get data from the database and populate a few labels on a page on pageload. The information comes from a SQL view which returns a whole bunch of information in a single row. eg:
SELECT 'car' AS product, 12 As daysUntilEOM, '2010-01-01' AS LastHoliday, 23.7 AS Length
There will always be ... | stackexchange/codereview |
I am trying to use the titanium developer v.1.2.1 but i have some difficulty the simulators are not lunching!
for the iPhone simulator nothing happens it just goes like this and the simulator is not shown
[INFO] Compiling JavaScript...one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building ...
[IN... | stackexchange/codereview |
consider this translation unit:
#include <map>
#include <string>
int main()
{
std::map<std::string, std::size_t> mp;
mp.insert(std::make_pair("hello", 42));
}
There are two things in this translation unit that are bothering me, and they are
std::size_t
std::make_pair
I have just assumed that <cstddef> and <ut... | stackexchange/codereview |
Well Dears all, today i have an issue to ask around the creation of a Streaming Data Base.
I have create a Stored procedure which is creates the Streaming Data Base.
This SP needs to have the path on which will put the mdf files (and some other things).
Until now i was run this procedure after i first create the above ... | stackexchange/codereview |
i know that linq to sql is really "LINQ to SQL Server". I also read that one can build his own LINQ Provider in order to connect to other database systems like oracle or mysql. my question is how to build a LINQ Provider and what are the advantages and disadvantages of using LINQ to SQL on databases other than SQL Serv... | stackexchange/codereview |
I set setCursorVisible(false) on my EditText to get rid of the blinking cursor. Unfortunately, this also gets rid of highlighting. Why? How can I get rid of the cursor and not the highlighting?
| stackexchange/codereview |
In my test I want to launch 2 threads and check some assert conditions in the end of each thread execution.
What is best practice to implement for tests in this case? I understand that after both threads launching I need to wait while they finish... Is there any out-of-the box solutions or I need to do that "manually" ... | stackexchange/codereview |
{
char buf[8];
sprintf(buf,"AAAA%3s","XXXXXXXX");
printf("%s\n",buf);
}
What will happen?
The buffer has 8 characters worth of space and only 3 free characters left, however, "XXXXXXXX" is 8 characters long.
I did a test with Visual Studio 2008 on Windows 7. As a result, the program printed AAAXXXXXXX... | stackexchange/codereview |
I have two tables. First table is a table of categories called categories, the second is a table of documents called documents. I'm trying to create a join table that will allow multiple categories to be applied to multiple documents and bake it all in seconds with CakePHP (to which I am a noob).
I've used mysql like t... | stackexchange/codereview |
How to blank a text field on click of a button in JSF?
| stackexchange/codereview |
Good morning
I'm trying to get a table row (TR) that must have one or more table cells (TDs):
Having this string
<TABLE>
<TR valign="top">
<TH>First</TH>
<TH>2nd</TH>
<TH>3rd</TH>
<TH>4th</TH>
</TR>
<TR valign="top">
<TD width="15%">Michael Jackson</TD>
<TD width="5%">Cramberries</TD>
<TD width="25%">Pixi... | stackexchange/codereview |
I've got the following piece of code which (obviously) gives me HUGE performance problems, and I seek an advice on how to make it better. The idea is, for each base item in a list, I look if there is at least one derived item, and if not, I create one. The problem is, for each base item there's a separate database quer... | stackexchange/codereview |
I have a set of informal documents (couple of thousands) which I want to apply topic modeling (MALLET) on. The problem is, there are a considerable number of misspelled words in the documents. Most are intentional, such as short-forms and local lingo like `'juz' -> 'just', 'alr' -> 'already'. A couple of these variatio... | stackexchange/codereview |
My task was to add a bunch of print statements to display the the complete output of Tower of Hanoi to see and understand what it is doing behind the scenes, instead of just giving you the final result.
class TowersApp {
static int nDisks = 3;
public static void main(String[] args) {
doTowers(nDisks, ... | stackexchange/codereview |
With master slave configured on magento 1.4.1.
When I place order from backend two customers are created. One customer
is with all the information added during order and one user without
firstname, lastname and other information.
| stackexchange/codereview |
just wondering if I have a struct in_addr,
how do I convert that back to a host name?
| stackexchange/codereview |
Hi I wanted to know which are the best debuggers out there for C/C++ on a Linux operating system. I have heard sth about gdb and valgrind being pretty good but I wanted to hear opinions/ comparisons on these.
Thank you
| stackexchange/codereview |
I have this script.php file which i want to run as a cron job on my linux/apache server.
However, i do not want public to access www.mycompanyname.com/script.php and also run the script concurrently.
How can we prevent that? How can we restrict the script to the server's access only?
Is it using chmod or setting someth... | stackexchange/codereview |
I have some problems with authorization. I don't want to use Spring Security, just simple authorization form (with two fields: UserName, Password and submit button). Then user can work with application data (data representation depends on UserName). But I don't know, how to save UserName of authorized user for any furt... | stackexchange/codereview |
I installed DotNetOpenAuth SDK-3.4.5.10201.vsix, and I can't get it working. It works locally (when I run as localhost), but when I try to publish it doesn't work.
The IIS error message I get is:
Error Summary
HTTP Error 500.22 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integra... | stackexchange/codereview |
First of all I want you to know I am very new to Hibernate.
I have a MySQL table Account (composite key: account_name & server)
I need to check if there exists the account_name on a given server before inserting it.
Not sure if Hibernate can do the check. If yes, how?
I appreciate your time and reply. Thanks!
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.