instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have an application that starts on boot using a broadcast receiver, also I have an activity and a process, because the service must run always on the background I am starting the service on it's own process using the android:process manifest tag. The ui is only for presentational needs and I would like the user to be...
stackexchange/codereview
I am writing a method that is used to get the RGB values of a 5x5 square of pixels and then calculate the average colour of all of them. We were given a package to use, and that's where the .getPixel methods and such are from. What I am having difficulty with is with getting each pixel in the 5x5 area. What I have trie...
stackexchange/codereview
i have been really busy with a project on operating systems recently .. i am working on my macs and everything is going great..when i tried to run the same programm at a pc running linux the programm went terribly wrong...for example fgets and fscanf work fluently at mac but when i try to fgets 2 times in a row from st...
stackexchange/codereview
I've got a table that has a XMLType field. The table is created and loaded using the following DDL/DML: CREATE TABLE T_ECO_test_LOG ( SECID NUMBER NOT NULL, LOG_ATTRIBUTES SYS.XMLTYPE ) INSERT INTO t_eco_test_log VALUES ( 1, XMLType( '<attributes> <attr...
stackexchange/codereview
I need to check whether certain Debian packages are installed on a system in my C program. I could use external shell scripts which do grep magic of apt-cache output with system(), but it seems a bit inelegant and hackish, as well as the fact that it won't work if the user's installed language is different. Is there a ...
stackexchange/codereview
I am trying to create a minimum length validation attribute which will force users to enter the specified minimum amount of characters into a textbox public sealed class MinimumLengthAttribute : ValidationAttribute { public int MinLength { get; set; } public MinimumLengthAttribute(i...
stackexchange/codereview
Yes i have an fancybox. It auto opens if ?mode=new What happens on ?mode=new is: <script> $(document).ready(function(){ $('#newPM').click(); }); </script> It opens fine. But when you then click on the element, it keeps closing/open, because this is activated. So how can i only run this once?
stackexchange/codereview
In what order are elements with a tabindex value of 0 focused when the web page is tabbed?
stackexchange/codereview
An IHttpModule implementation I created public class ResponseTweaker : IHttpModule { // my module ... is registered in Web.config <system.web> <httpModules> <add name="redman" type="ResponseTweaker"/> </httpModules> and an instance of it is sitting in the pipeline. From the perspective of a caller (e.g. fr...
stackexchange/codereview
I've got my MVC2 RESTFul webservice all set to accept JSON and return some using an example I found here Good stuff, this example works just fine posting the JSON via jQuery, and handling the JSON response: $(function () { $("#personCreate").click(function () { var person = getPerson(); ...
stackexchange/codereview
in the default index.html.erb template there didn't display id ,created_at,updated_at columns so now i want to display them by change the template but i didn't find the meta variant,here is the part of the original index.html.erb template file code,it use a attributes to display all user defined column,but didn't show ...
stackexchange/codereview
I would like to have a feature within an application whereby another user running the same app can take over "control" of the interface. Specifically an iPad application with a scrollable/zoomable view. So if one user pinch-zooms or scrolls the interface on the other users iPad mirrors exactly the same set of commands...
stackexchange/codereview
I used to write the data access functionalities in model itself. Now I want to separate data access from business logic. I am using codeigniter as framework. It seems that one way of doing it is use ORM, but it will have a performance penalty I guess. are there any general best practices?
stackexchange/codereview
i want to save kingarray[x1+1,y1-1],king array[x1+1,y1],etc in an array(ways that king in chess game can go).how can i do it?or if its not possible what do you suggest me to keep the ways that king can go?thanks int[,] kingarray = new int[8, 8]; for (i = 0; i < 1; i++) { return kingarray[x1 + 1, y1]; } for (i ...
stackexchange/codereview
Is there a way to check if the server responds with an error code before sending a user there? Currently, I am redirecting based on user editable input from the backend (client request, so they can print their own domain, but send people elsewhere), but I want to check if the URL will actually respond, and if not send ...
stackexchange/codereview
I got about javascript console to display date problem using Chrome v7.0517.41 browser(not sure if it is a bug) and OS is WinXP SP3. In javascript console, i type console.log(new Date()); then display : Sat Oct 30 2010 22:49:57 GMT+0800 (China Standard Time) //it's now on local time I change system time to +1 month ...
stackexchange/codereview
I have an Itemscontrol in my xaml, and I am calling a user control in the DateTemplate of ItemsControl like following <ScrollViewer Margin="0,0,0,0" BorderThickness="0"> <ItemsControl x:Name="itemsStackPanel"> <ItemsControl.ItemTemplate> <DataTemplate> <contr...
stackexchange/codereview
I want to develop a facebook application that make auto post to a facebook page like this one http://apps.facebook.com/twitter/ but my application get post from other site when user make a post in my site it will send to the facebook page even this user not loged in facebook or not page admin . tnx for help
stackexchange/codereview
Can I have both VS2008 and VS2010 installed on my PC?
stackexchange/codereview
We have created a website using Drupal , but the problem ( good problem ) is that we are getting WAAAAYY too many hits on the server to the point where the traffic is brining the server down to its knees. now we want to run the application off of 3 servers behind a load balancer, one to just serve mysql and the other ...
stackexchange/codereview
guys. I am developing a project that requires a strict location of a user ( country, state (or department or region) and city (with postal code). The idea is that I do not want to allow user input, as people (especially french people) tend to ignore autocompletes and write all uppercase with some variations (e.g. PARIS...
stackexchange/codereview
I'm trying to extract two blocks of code from a text file using Java regex. However, I can only extract the last block. Could some one point out what is is wrong with mycode? thanks. here it is import java.util.regex.*; INPUT_START_OR_BLANK_LINE = /(?:\A|\n\n)/ FOUR_SPACES_OR_TAB = /(?:[ ]{4}|\t)/ CODE = /.*\n+/ COD...
stackexchange/codereview
when inserting we just do MyDBEntities db = new MyDBEntities(); TableNameEntity o = new TableNameEntity(); o.Name = "me"; o.Age = 12; db.TableNameEntity.AddObject(o); // Added o = new TableNameEntity(); o.Name = "you"; o.Age = 23; db.TableNameEntity.AddObject(o); // Added db.SaveChanges(); // commits to db Work...
stackexchange/codereview
Here is my problem: Write a recursive method called binaryToDecimal. The method should convert a binary string of bits to a base 10 integer. A sample call for an object from our RecursionExamples class would be answer = example.binaryToDecimal("101111") The integer returned would be 47. I need help to get going wit...
stackexchange/codereview
My link line to gcc includes the following two entries in succession: -lrt -lpam And this appears expanded as: /usr/lib64/librt.so /usr/lib/libpam.so Why is rt resolved to lib64 whereas pam is resolved to lib and consequently fails: /usr/lib/libpam.so: could not read symbols: File in wrong format Since it is only 32...
stackexchange/codereview
I've got this script that needs to be changes to OnMouseOver, currently it functions when you click but I need it to function when the mouse cursor goes over a div. Any help is greatly appreciated. <script> // execute your scripts when the DOM is ready. this is a good habit $(function() { // assign a click event...
stackexchange/codereview
I need to get the data out of all of the table cells in the 4th row of the 4th table on an HTML page. After researching for a while, it seems that using DOMXPath is the best way to parse the HTML file. However, no IDs or classes are used anywhere in the file. What would be the best way to get the data out of these cell...
stackexchange/codereview
I am using setPixel and getPixel functions but they are using matrices which is naturally rectangle.I am trying to copy pixels shaped like circle ! update : now i am using this but i hope there is something more efficient than this one : for(int i=0;i<eHeight ; i++) for(int j=0;j<eWidth ; j++) if( M...
stackexchange/codereview
How to convert "Thu Oct 28 16:33:29 +0000 2010 " to like "Oct 28,2010 at 10:33PM"
stackexchange/codereview
I have a controller bound the URL: "/ruleManagement". Inside my JSP, I have a form that forwards (on submit) to "ruleManagement/save" url. When there are errors with the input fields, I want it to return back the original form View. This is where the problem starts... Problem 1) Now that the URL is "/ruleManagement/s...
stackexchange/codereview
I have a web site (written in PHP) that my users need to log into, and I want to be sure that they log out when they're done. So, I have a JavaScript method that deletes the PHP session cookies, and I want to call that method (a) right before the user either closes the browser window (i.e., the DOM Window object) or (b...
stackexchange/codereview
How can I grab the video ID only from the youtube's URLs? For instance, http://www.youtube.com/watch?v=aPm3QVKlBJg sometime the URLs contain other information after the 'v' like http://www.youtube.com/watch?v=Z29MkJdMKqs&feature=grec_index but I don't want the other info, just video ID. I only can think of using e...
stackexchange/codereview
I want to do a collision detection system for a rectangle to use some physics, so there will be a normal for each of the sides. How do I determine which side of the square was hit by the object. The other object would be a circle. Thank you.;
stackexchange/codereview
I want to make a namespace that will contain several classes as part of a "package". Do I have to declare all of the classes within the namespace? For example, if I have a "2dEngine.h" which defines the 2dEngine namespace, do I have to declare all of the individual classes within that header file? Or can I still separa...
stackexchange/codereview
I have the following method_missing code implemented in a model: # class Thought def self.method_missing(method_id, *arguments, &block) if $CLIENT.respond_to?(method_id) $CLIENT.send(method_id, *arguments, &block) # Do some stuff with it else super end end $CLIENT is a global object. ...
stackexchange/codereview
I can't find the SQL Server 2005 Database Tuning Advisor on my computer. Is it something I needed to specifically choose when I installed SQL Server 2005? I looked in All Programs -> Microsoft SQL Server 2005 and also in the C:Program Files Microsoft SQL Server directory and didn't see anything that could have been i...
stackexchange/codereview
The wonder is the mouseout event triggering when the mouse cursor goes over the child node. Why does it happen if the cursor hasn't been out of the parent node? Please consider this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://ww...
stackexchange/codereview
I checked the definition of MiniDumpWriteDump() method on MSDN as below: BOOL WINAPI MiniDumpWriteDump( __in HANDLE hProcess, __in DWORD ProcessId, __in HANDLE hFile, __in MINIDUMP_TYPE DumpType, __in PMINIDUMP_EXCEPTION_INFORMATION ExceptionParam, __in PMINIDUMP_USER_STREAM_INFORMATION UserStreamPara...
stackexchange/codereview
My project has a lot of static library (with sources). Some base libraries can't be breakpointed because the source code is different from the original version. I know I can workaround if I turn off "Require source files to exactly match the original version" option, but that warning makes me worry. Is it Microsoft Vis...
stackexchange/codereview
1) How can i add a custom field in my login form and use that value to navigate to a different page after login. I need a custom authentication provider for authenticating. Can we use spring mvc to tie all this? 2) How can we get hold of HttpSession in auth provider?
stackexchange/codereview
Below is my code, which opens up a Monarch instance, and does some actions with Monarch (Monarch is a datamining tool) I have to repeat the below code, simply changing a few parameters each time, is there a way to programatically do this? I want to know the most effeicent way of doing this. a = MonarchObj.SetReportFile...
stackexchange/codereview
Had an idea for a Google Maps + Real Estate mashup, and would like to start a pet project. A.t.m. I'm looking for a source of real estate data. I want to avoid scraping, most preferably something that has an API which returns JSON (preferably) or XML (or anything else that is programmatically parseable really). The big...
stackexchange/codereview
I want to add a CComboBoxEx on my form, but I have to align it with other controls and make it the same height. The problem is that I can't find which is the correct way to get the height of this control. If I set the window rectangle, that affects the drop down listbox. If I force it to be some fixed size, and the co...
stackexchange/codereview
I typed erl to start the erlang shell (Eshell V5.7.4). The shell starts. But, if I type some expression in the shell like say 20+30 and hit enter I’m back to 1>, and the result of the expression is not shown. What could be causing this problem?
stackexchange/codereview
I'm working on a C++ project, and wanted to get some inputs from developers with similar experience. The task is to connect to a web service which gives the results in an XML form. My role in the task is once I receive the XML form, I need to convert the XML into a C++ object and parse the XML data to the C++ object. ...
stackexchange/codereview
I have an Enum in .Net. How can I rewrite this Enum in java? Here is the Enum: public enum AdCategoryType : short { ForSale = 1, ForBuy = 2, ForRent = 8, WantingForRent = 16, WorkIsWanted = 32, WorkIsGiven = 64 }
stackexchange/codereview
I cannot manage to make asmall piece of javascript working in a lotus notes 6.5 email. I'm building a html, send it by mail as a html, and inside I would like to have some links to hide/show a few div. I try to use document.getElementById but when I click on the link I have the following error: "document.getElementById...
stackexchange/codereview
Hi all I am new to wordpress and I am following 5 min. installation method and stoped at 5th step . As I want to install it on my local machine that is localhost , where do I have to put all the files and sub directory of wordpress folder so that I can do the installation . if any one have idea about editing wp-config...
stackexchange/codereview
I wanna to move the "ScrollViewer" control left and right by buttons outside it, I found this function: ScrollViewer.LineLeft() It's ok but I wanna to increase the amount of movement to left by each click by specific amount like 200 pixel? There is another thing: how I can make my button when hold the mouse on it to du...
stackexchange/codereview
I am doing a project on firewall. I am not familiar very much with VC++. Though I am much sound in java and c#. But for my project sake I needed to create a dll. For what I exported 2 pre-written .h and .cpp files to my c++ project. But it is giving error on compile. Saying can not convert to LPTSTR etc. But it is comp...
stackexchange/codereview
I would like to know how to programmatically fire validation over a DataGridColumn. It would be pretty much the same as it is donde calling the UpdateSource method of a BindingExpression, but I cant manage to get the BindingExpression of the column. Thanks. PS: setting the ValidatesOnTargetUpdated property on the Valid...
stackexchange/codereview
A DataGridView bound by this code does not display information as expected: dataGridView1.DataSource = ds; here's the code for ds: public DataSet ConnectandReadList() { DataSet ds = new DataSet(); string connection_string="Data Source=hermes;database=qcvalues; Integrated Security=SSPI;...
stackexchange/codereview
I have a databound grid with a templated field column that is a checkbox. When the user checks the checkbox, it will autopostback and update the row to indicate the box's check state. My first attempt was to simply use the OnCheckedChanged method, but when this gets called, I have no way to know which row the checkbox...
stackexchange/codereview
I am looking for a way to encrypt data with a private key, and have the public key decrypt it. I am aware this is generally NOT what you want from encryption, as it will be readable with by anyone with the public key, but that is exactly what I require. I require a string of data to be encrypted by the private key, so...
stackexchange/codereview
Is it possible to use sFIR fonts in an Adobe Flex Web Application (I mean I want to use the sFIR font to apply it to some text on spark controls)? If yes, would somebody be so kind and point out an example. Thx
stackexchange/codereview
I am making an app which supports multiple databases. The beerhouse architecture instantiates the correct class from the correct provider using the singleton below. static private ArticlesProvider _instance = null; static public ArticlesProvider Instance { get { if (_instance == null) ...
stackexchange/codereview
I want to store the changed value of the ListIndex of a ComboBox when the user selects a value from it. I tried using the _Change or the _LostFocus events, but those are not triggered when the Close button of the form has its Default property set to true and the user presses enter! Is there a way around this?
stackexchange/codereview
I've installed Ant. From an existing Eclipse project I am able to generate the build.xml file from the command line using ant -update project. When I now try ant release I get this error: build.xml:65: java.lang.NullPointerException. This project builds fine under Eclipse. I have no idea where to even begin to figure t...
stackexchange/codereview
I'm using Jquery UI and Autocomplete func.(Combobox) and I interested in this part. $("<button>&nbsp;</button>") .attr("tabIndex", -1) .attr("title", "Show All Items") .insertAfter(input) .button({ icons: { ...
stackexchange/codereview
I'm very new to PHP and having a hard time finding this answer as $ denotes a variable in PHP. I'm trying to echo a total for items, such as: echo "Your total is ${$total}"; The problems is the $ in front causes it to do nothing. I tried doing '$' but it prints the ' ' around the $. How do I get the $ to print in fro...
stackexchange/codereview
I need to store some data in an ini file, and I have run into a problem. It is not hard to read the dat from the ini file, as php provides a built in function for that: <?php ini_parse(); ?> The problem is that I need to save data to the INI file, while (preferably) preserving commments. I would especially like to pre...
stackexchange/codereview
In my TFS2010 environment, I have 2 machines as dedicated build agents. I was expecting that once these build agents were registered, if I queue a new build, TFS would wait for the first free agent and assign that agent to the build, but if I queue a build and another build is already running, the second build sits in ...
stackexchange/codereview
I'm still learning the ropes when it comes to implementing custom editors for complex properties at design time. As a simple starting point, I'm trying to enable design-time editing of a property of type ICollection<string>. What I've done so far is: Wrote a StringsEditor class, which derives from UITypeEditor and dis...
stackexchange/codereview
Something is wrong with my VS 2010, i can't publish any project, i get an error: Get service of SVsBuildManagerAccessor fails
stackexchange/codereview
I did the following to install Ruby on Rails on Windows XP: Installed rubyinstaller-1.9.2-p0.exe gem install rails gem install mysql2 cd my_dir rails new my_app -d mysql The created config/database.yml contains the following MySQL configuration: development: adapter: mysql2 encoding: utf8 reconnect: false dat...
stackexchange/codereview
my android application performance is low, it takes a long startup time. i have 5 buttons, one imageview, 3 textView, 2 editText and one listView initialized in onCreate() method. Is large number of ui object the reason for slow startup?? Is there any fault in manifest.xml?? <?xml version="1.0" encoding="utf-8"?> <mani...
stackexchange/codereview
I am using the php sdk to access a user's albums and photos in a website. I am able to login and also able to retrieve all the info about the albums and photos. However, I am not able to display these photos on the webpage. When I try the graph API, to get the photo / album like below: https://graph.facebook.com/13183...
stackexchange/codereview
How do I target all elements in a document except a particular element name? For example I want to exclude the terminate elements. They can occur throughout the document. <root> <terminate attr="1" /> <other> The brown fox jumps over the fence. <terminate> <b>stuff</b> ...
stackexchange/codereview
I'm trying to determine the length of a string of characters using JavaScript & if that string of characters is greater than X length, remove enough characters to make it X length. Here is a more specific example: Lets say I want to count the length of this string of characters: testing this I could do something li...
stackexchange/codereview
We are planning to purchase third part controls for Asp.net and WPF both. we short list Infragistics, Telerik, devexpress. But now have to decide that which one to purchase from these three. I Google about the disadvantages or week points of these controls but I want some solid reason to select one or reject others. ...
stackexchange/codereview
I need to create librtaudio.dylib, a dynamically loadable RtAudio library (http://www.music.mcgill.ca/~gary/rtaudio/). I'd like to write CFFI bindings (in SBCL) but I can't seem to compile a dylib that is loadable using CFFI. Here are the compiler and linker commands I'm using to create the dylib: g++ -O2 -Wall -Iinclu...
stackexchange/codereview
I remember seeing a "minimalistic" or "simple" markup language that expanded directly to html. It had some resemblance to YAML, e.g. h1: Hi there! ul: li: item 1 li: item 2 Does anyone know of a templating language like this? NOTE: It isn't markdown or wiki creole, it was something that had direct correspondence t...
stackexchange/codereview
I have a website that I built using Django. Using the settings.py file, I send myself error messages that are generated from the site, partly so that I can see if I made any errors. From time to time I get rather strange errors, and they seem to mostly be around about the same area of the site (where I wrote a little ...
stackexchange/codereview
If a pdf reader is not installed in the browser ,from a web page how to make a user install pdf reader on the page load with pdf.
stackexchange/codereview
I'm trying to create an IP Camera application for iPhone using mono touch. To get the camera feed, I call the CGImage.ScreenImage method continuously and convert the resulting UIImage into a byte array which is then transmitted across to the browser. The camera feed is displayed using a UIImagePickerController class by...
stackexchange/codereview
I am implementing a language conversion tool, to convert Spanish to English, on a variety of smart phones: Android, BlackBerry, iPhone, Windows Phone 7. How do I implement language conversions? Searching, I am not finding a tutorial about this, and I don't having any experience with this.
stackexchange/codereview
hello any one who have used this OpenEars, speech library for IPhone using CMUSphinx and can tell me how much it is helpful for speech to text conversion for iOS and with how much accuracy i need to attain 80% speech should be converted to text is this library can do this for me help required thanx in advance.
stackexchange/codereview
As asked in this thread on the Scala mailing list, how can I create an embedded Scala REPL that inherits the classpath of the parent program? Suppose the parent Scala program is launched using scala -cp <classpath> ...; can <classpath> be accessed as a string and used to initialize the embedded REPL? (The Java classpat...
stackexchange/codereview
I am having trouble changing the text in a label. Can someone show me where the problem is? Public Class Form1 Dim Tracker As Integer = 0 Dim Questions(10) As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Questions(0) = "Are you mad?" Qu...
stackexchange/codereview
Actually the title of the question is not properly right, what I want in my program is that whenever i run my program, I take an input from the user through input dialog and store it in a string. I have made a method for this and whenever i want to use this string in my program i just call this method but my problem i...
stackexchange/codereview
I'm working in the app need print version for a data table from db. I using 2 css files for view in browser and for a print version: <link rel="stylesheet" href="style.css" type="text/css" /> <link rel="stylesheet" href="print.css" type="text/css" media="print" /> All align , position ... was shown fine. Just only I...
stackexchange/codereview
I want each sequence inside a foreach<T> activity running in a different thread. Is this possible by using WWF 4.0? If not, how can I achieve multithreading in WWF 4.0?
stackexchange/codereview
Trying to run on W7 64-bits, using .Net 3.5 on Visual C# 2008 Express, I tried running installutil.exe in Framework and Framework64 folder, both throw the same error. 3.5 folder doesn't have installutil.exe and 4.0 in both folders doesn't work too. In IDE, there is no Release build but Publish, are they the same? I fol...
stackexchange/codereview
Possible Duplicates: Why C# doen't support multiple inheritance Should C# include multiple inheritance? i like to what is reason for interface support multiple inheritance and class doesnt support
stackexchange/codereview
In C, I need to create a function that, for an input, will count and display the number of times each letter occurs. For input of "Lorem ipsum dolor sit amet", the function should return something similar to: a: 0 b: 0 c: 0 d: 1 e: 2 f: 0 ...
stackexchange/codereview
I have an html table that I am trying to add some animation to with jQuery. I am very close to what I want but have one outstanding issue. I will try to describe what I am doing with as cut-down a version of the table and scripts as possible. The table is defined as follows; <table> <tbody class="group"> <tr>Firs...
stackexchange/codereview
I don't get it, What I want to do is not when its loading do the typing, but when I click on a link it starts typing. How does this work? var text = "The quick fox jumped over the lazy dog."; var charCount = text.length; var currentLetterCount = 0; var speed = 100; // How fast should it type? var $input = $(".som...
stackexchange/codereview
I'm having trouble adding Javascript as CDATA to .xml files. Is that possible? I'm starting from: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>XHTML 5 Example</title> <script type="application/javascript"> <![CDATA[ function loadpd...
stackexchange/codereview
I'm using Chris Richards' Star Rating jQuery Plugin from Github alongwith the jQuery Template plugin. When the data is inline, the rating control works fine. See sample & source. However, when the rating control is used with dynamically generated data, the star image doesn't get applied through the CSS to the dropdown...
stackexchange/codereview
...and I mean LITERALLY just beginning. As in, I just started earlier today. All I want to do is figure out how to build and run a 'hello_world' code from my textbook, but the 'build and run' button will not light up. I have read through 'Xcode Features Overview' as well as checking out at some help forums, and it's c...
stackexchange/codereview
According to http://msdn.microsoft.com/en-us/library/ms686714(VS.85).aspx: TerminateProcess initiates termination and returns immediately. This stops execution of all threads within the process and requests cancellation of all pending I/O. The terminated process cannot exit until all pending I/O has been complet...
stackexchange/codereview
I need to fetch device info from iPhone. I went through this link and find out the way to fetch the device platform. Determine device (iPhone, iPod Touch) with iPhone SDK In UIDeviceHardware it has included sys/types.h and sys/sysctl.h and it has used some methods to access that. So I want to know whether this is acc...
stackexchange/codereview
I have the following class: @MappedSuperclass public abstract class MappedModel { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "id", nullable = false, unique = true) private Long mId; @Temporal(TemporalType.TIMESTAMP) @Column(name = "rec_created_dtm", nullable = false,...
stackexchange/codereview
How does one make a feature request for Visual Studio to Microsoft?
stackexchange/codereview
As far as I know, there is no way to control over the activities occurring in an app in android phones unless the application that you want to log/monitor is written by you. I wonder is it really like that or is there any possible way to do this? For example, is it possible to control over emails which, let's say, who ...
stackexchange/codereview
I have a c# socket based server which serves TCP clients. I use telnet based monitoring to see if the server is listening. to versify clients are up i use server keep alive (sending a random string data), and if socket expection raises-i remove the client from a client's dictionary. the probelm is: the telnet connectio...
stackexchange/codereview
I have a database table like that :- Table1 Column1 : Varchar(50) Column2 : Varchar(50) Column3 : Boolean Column4 : Varchar(50) Column5 : Varchar(50) I would like to create a dummy column -or add a new column to the table- when running a SQL statement so that the value is that column will hold a string indicating the ...
stackexchange/codereview
i was wondering if anyone can tell me how to make this script work. I tried for hours and i can't figure out why it fails. This script tells Quicktime to advance in a quicktime movie/presentation (generated by keynote) and export a image for every last frame of every chapter in this movie. property Main_folder : missin...
stackexchange/codereview
I need to specifically filter all user imported dll's. DIA SDK gives all modules under SymTagCompiland which includes all kernel and other imports those are not explicitly linked. I only need those dependent Dll's(modules) which are explicitly linked at runtime or at compile time(mentioned in Linker's Input area of pro...
stackexchange/codereview
I am a newbie in C++ Boost uBLAS library so I have a noob question - how to transpose a matrix using this library? I could not find question here: http://www.boost.org/doc/libs/1_44_0/libs/numeric/ublas/doc/html/index.html
stackexchange/codereview