instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
First of all, Im sorry if my question has possible duplicate, but I searched too much, and I cant find the solution. The scenerio is I have a UserControl. This user control will create dynamically ListBoxes if the given List's count > 0. The controls are adding dynamically, there is no problem with adding them, but the...
stackexchange/codereview
I have a connect that I give 20 seconds to for a timeout (slow link). I need to allow my user to cancel this connect call. I already have the connect occurring in a thread so that I can keep the GUI going, but how do I tell Indy to cancel? I also have to call cancel from the main thread because the connect call is bl...
stackexchange/codereview
I have a Ruby program that runs fine on Linux. I'm trying it out on Windows 7 right now, and it should be fine since it only uses two libraries that installed without issues. The error I'm getting is related to my own code. I have a file called config.rb, which has a class named Config. It has some values that you can...
stackexchange/codereview
Hello everyone how u doing? I have a problem with my application. When i click on the pages it works find with no error, when i login with my login name and try to browse on the pages, i get this error : Server Error in '/living_to_please_god_world' Application. The resource cannot be found. Description: HTTP 404. Th...
stackexchange/codereview
<div> <% foreach (var item in Model) { %> <div class="editor-label"> <%: Html.LabelFor(model =>item.Customer) %> <%: Html.Encode(item.Customer) %> </div> <%break; %> <%} %></div> <p></p> <input id="Submit1" type="submit" valu...
stackexchange/codereview
I would like to create a dialog that contains a link for my site (on android), and would want the phone's browser to open when the user clicks on the link. I currently have: @Override protected Dialog onCreateDialog (int id){ Dialog dialog = new Dialog(MyActivity.this); ...
stackexchange/codereview
I'm developing an app for the nokia e75 using j2me. What is a good way of showing content in the right lang? I don't think that java beans are an option. Just to be clear; the problem isn't to know what the lang is of the device, but how to generate the right content knowing the lang the user uses. thx
stackexchange/codereview
How can I upload a file to a google calender event as an attachment? With google labs you can enable file uploading in google calender, but how can I upload a file to a calender event in java? http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html I noticed that they have an API which works for creat...
stackexchange/codereview
I'm a newcomer in the field of JQUERY, but I quickly became addicted. I'm now playing around with the load function a lot, and maybe a bit too much. I'm currently developing a site, which works great in FF, Chrome and Safari, but as you can guess, I have issues with IE8 ( haven't tested it on other versions yet). Y...
stackexchange/codereview
See Update Below I am going through a whole bunch of Perl scripts that someone at my company wrote. He used join to concatenate strings. For example, he does this (taken hot out of a real Perl script): $fullpath=join "", $Upload_Loc, "/", "$filename"; Instead of this: $fullpath = "$Upload_Loc" . "/" . "$filename"; Or...
stackexchange/codereview
The issue we are trying to solve the issue of locating a point in two different representations of a plane. The first plane we have is rotated to create perspective; the second is a 2d view of that same plane. We have 4 points on each of the plans that we know to be equivalent. The question is if we have an arbitrar...
stackexchange/codereview
<?php $content = " {php {php 1 php} {php 2 php} {php 3 php} php}"; How I can get 4 strings? First: {php 1 php} {php 2 php} {php 3 php} Second: 1 Third: 2 Four: 3
stackexchange/codereview
I need to answer following question: A server needs to do 15 ms of work per request for a file. if the file is not in cache, the harddisk must be accessed and thread sleeps for 75 ms. This happens in 1/3 of the cases. a) How many request can the server process per second with 1 Thread? ->15 ms + 1/3 * 75 ms = 40 ms per...
stackexchange/codereview
I have a JMeter testplan which has 2 simple data writer listeners called passed and failed. I would like to use them in such a way that all successful responses should goto passed and all failed responses should go to failed. So I checked Log/Display only errors to failed and Successes to passed. I also clicked configu...
stackexchange/codereview
How can I connect to SQL Server 2008 Express? I'm able to connect to SQL Server 2008 with PHP, but not to the previous version.
stackexchange/codereview
Hello everybody I have a div on mouse hover i want to change border of div.And on more thing id is Changed dynamically. Please provide me any help for this Thanks
stackexchange/codereview
When I try to read an HTML file (using HTMLWorker.parseToList) and create a PDF document using document.add(element) the resulting page is getting resized. The initially set page size is getting overridden, it appears the page is resizing itself to fit the incoming component. I am wondering is there any way we can cont...
stackexchange/codereview
I'm trying to print the html page I display in my colorbox window but when I print them in IE anything it removes the padding to the left and shifts the window left. I've never seen this problem before. If someone can tell me how to stop this I would be much appreciative. Below is my code and here is the link to the pa...
stackexchange/codereview
How does one log all outgoing HTTP connections in .NET from a Windows 7 computer? I can see the connections in Fiddler, but I want my own program to log those connections. I found IPGlobalProperties.GetActiveTcpConnections. But that requires polling. Is there a better way?
stackexchange/codereview
I use the following datafilter option on my jquery ajaxsetup: dataFilter: function(data) { var msg; if (typeof (JSON) !== 'undefined' && typeof (JSON.parse) === 'function' && data != undefined && data != null && data.length != 0 && data != " ") ...
stackexchange/codereview
How to insert binary data to table "test" from "database" with 2 columns text "name" and bin "pic" QSqlDatabase db = QSqlDatabase::addDatabase("QPSQL"); db.setUserName("user"); db.setPassword("pwd"); db.setPort(1234); db.setDatabaseName("database");
stackexchange/codereview
Can I create this sql query using HNibernate Criteria: Select * from Table1 where Column1 > (Column2 + Column3) All 3 columns are int32. Thanks
stackexchange/codereview
I am trying to deploy my WCF Data Services on a server behind a reverse proxy, in a subfolder, ie: http://mydomain.com/mysubfolder/Services/WCFDataService.svc And I reach my application like that: http://mydomain.com/mysubfolder/Default.aspx There is actually a redirection from mydomain.com/mysubfolder to my server ip...
stackexchange/codereview
I want to distribute my source code and relevant data files using Autotools: ~/foo$ ls -R .: conf configure.ac dat Makefile.am src ./conf: foo-pref.conf ./dat: data.dat ./src: main.c Makefile.am This is what I have so far. Without the ./conf and ./dat subdirectories I can get Autotools to work to set it up for...
stackexchange/codereview
Possible Duplicate: What does appending “?v=1” to CSS and Javascript URLs in link and script tags do? When I download a files from http://html5boilerplate.com/, it has ?v=2 in css. What does it mean and how does it affect to loading css? <link rel="stylesheet" href="css/style.css?v=2">
stackexchange/codereview
I want to return true if some strings = 'XXXXX' Where every X is a number 0 through 9 I know there must be a dozen ways to do this but I would like to know the best way.
stackexchange/codereview
working from this sample http://www.mkyong.com/wp-content/uploads/jQuery/jQuery-Mashable-floating-effect-example.html Only difference is that I want my box to the right. The only change I have done is added the name of my main Container that wraps everything from the page. I have the floating box sitting before this ...
stackexchange/codereview
Possible Duplicate: sqlite3 insert and read BLOB data in database I try to read-write BLOB data to database. But when I try to read blob data - the size of it is 0. And all my fields data moved. here is the code: Please, assist me, what I'm doing wrong?? Thanx! -(int) addUser: (MyData *) user table: (NSString *) tab...
stackexchange/codereview
I have an expect script that I have written that at the end calls scp to copy a large file from server a to server b. The issue I have (which is the same using rsysnc and not scp) is that the expect script is terminating before the file transfer is complete. I know that I can set the timeout in expect but as the file s...
stackexchange/codereview
I current have a solution with an Azure WCF service and a Windows Phone 7 project. I can run the development fabric locally and browse to the url (http://127.0.0.1:81/API/V1.svc) of my service fine. When I do Add Service Reference from the Windows Phone application it will discover the service fine, but when I try to v...
stackexchange/codereview
Let's say we have a situation where we have two classes, ClassA and ClassB, and these both have the method DoSomething(). ClassB contains a ClassA as a field, and when ClassB.DoSomething() is called it delegates the call to ClassA.DoSomething(). Also, ClassA.DoSomething() has some attribute on it. So we have something ...
stackexchange/codereview
I am very frustrated after talking to many companies doing live-streaming or selling streaming-products and I hope someone could get me to the right direction. Here is my problem: We are broadcasting sportevents live to the internet via flash media encoder. At the event locations we mostly have just 2 mbit upstream. S...
stackexchange/codereview
my application's layout is: Tab controller --> UIViewController1 --> UIViewController2 --> UIViewController3 I need a Login Screen before that, so I show a popup with "presentModalViewController" in the "didFinishLaunching" in app delegate. But I want a login screen with a nav controller, this: Login screen: --> Sele...
stackexchange/codereview
I'm new to dot net. I have a sql 2008 database. Trying to create an application that has role based authentication. Want to use the login controls that comes with vs2010. When i tried using it, it creates its own db. Is it possible to create these tables in my own db ie sql 2008 and map it to these login controls?
stackexchange/codereview
my user control popup on datagridview cell double click and fills strings.Add(dataGridView1.Rows[i].Cells[e.ColumnIndex].Value.ToString()); in user control is checkedlistbox and one button. how can i filter datagridview on button click and checkedListBox1.CheckedItems using bindingSource.filter = string.Format("LoadNam...
stackexchange/codereview
I'm trying to work with a wordpress.com blog, by using Delphi. I want to upload movies, see/approve/modify comments, upload pictures, and I want to create a custom application to do all of those. Please provide me if you know free or free to use for personal purpose components/Api's/etc, for Delphi 7 and up. LE:Hope ...
stackexchange/codereview
is there a way for python to use values stored in variables as patterns in regex? supposing i have two variables: begin_tag = '<%marker>' end_tag = '<%marker/>' doc = '<html> something here <%marker> and here and here <%marker/> and more here <html>' how do you extract the text between begin_tag and end_tag? the tags...
stackexchange/codereview
I've got a nive bridge that allows me to run JBehave tests through JUnit with deeper integration than out of the box from JBehave - my JUnit hierarchy now shows each story file and the scenarios under it so you can see which scenarios have failed. This is all working well, except that you can't double-click on a faile...
stackexchange/codereview
I finished an app for a client. After talking for a bit he would like me to do an additional app or recommend one for their kiosk. The client would like a way to prevent the computer from shutting down. They like to disable Ctrl+Alt+Delete (also so processes cant be killed), Alt+F4 to close their browser and no windows...
stackexchange/codereview
I've created a database model with model-first method using Entity Framework 4.0. I then created an sql script using the Generate Database from Model... I've also created an SQL Server Database file in my App_Data folder. How do I now run the SQL file against this MDF file? I'm using Visual Studio 2010.
stackexchange/codereview
I have the following class: class Point2D { protected: double x; double y; public: double getX() const {return this->x;} double getY() const {return this->y;} ... }; and pointer to the member function declared in another class: double ( Point2D :: *getCoord) () const; How to declare/...
stackexchange/codereview
I have the following data: ID --- ParentID --- DataValue 1 --- 1 --- A 2 --- 1 --- B 3 --- 1 --- C 4 --- 4 --- B 5 --- 4 --- C 6 --- 6 --- A 7 --- 6 --- B 8 --- 6 --- C 9 --- 6 --- D For each group of r...
stackexchange/codereview
I've been tasked with figuring out how we can offer a few of our products in one 'container' of sorts, such that a customer can seamlessly navigate from one app to another, if they're signed up for both. Now, we have some different technologies floating around. Our main app is a Rails app, and the one we're hoping to ...
stackexchange/codereview
Are there any good WCF + JSON + JSONP screencasts?
stackexchange/codereview
I've just started learning Ruby on Rails, and all the tutorials and books I've used rely on scaffolding to get started. I've written two simple apps but I still can't figure out how to independently write a database-driven app without using scaffolding, and yet from what I've read online most professional Rails develop...
stackexchange/codereview
I can't figure out how to change the webdav password. I've done some searching, found many resources of how to add a new user to webdav, but nothing about changing password. Anyone know?
stackexchange/codereview
Hi in my application first time i am inserting some data into sqlite db through assets,first time means installation time.next time onwards i am getting the values from db.Now my question is if the user chnage the language of the device automatically how that db values(Grocery names) are also changed? Please give me s...
stackexchange/codereview
I'm using this variable to get the current page URL, like this: $request = $_SERVER["REQUEST_URI"]; $page = (is_ssl() ? 'https' : 'http').'://'; if ($_SERVER["SERVER_PORT"] != "80") $page .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$request; else $page .= $_SERVER["SERVER_NAME"].$request; The a...
stackexchange/codereview
I might've gone crazy here, but I keep recompiling the exact same code, and get different answers. I'm not using any random values at all. I am strictly staying to floats and 1D arrays (I want to port this to CUDA eventually). Is it possible on the compiler side that my same code is being redone in a way that makes it...
stackexchange/codereview
I'm adding some custom enhancements to a jQuery-UI tabbed widget. One of the things I'm trying to do is automating the text of a link in each tab panel by grabbing the value of the alt attribute of the image in its corresponding tab. The problem I'm experiencing is that it only works for the first tab, and the others r...
stackexchange/codereview
I am trying to upload files using Spring CommonsMultipartResolver however the controller is not recognised. I get this errror message: "The requested resource (/WebIDE/WEB-INF/views/file/upload.jsp) is not available." I have added commons-fileupload-1.2.2.jar and commons-io.1.3.2.jar in my library. I have added the fol...
stackexchange/codereview
I need to split the number 1.0765453 because I need to separate the km from the meters The result should be 76 (ignoring the zero) Can anyone offer a suggesti, please Thanks, Richard
stackexchange/codereview
I'm doing a very silly benchmark on the ReaderWriterLock with this code, where reading happens 4x more often than writting: class Program { static void Main() { ISynchro[] test = { new Locked(), new RWLocked() }; Stopwatch sw = new Stopwatch(); foreach ( var isynchro in test ) ...
stackexchange/codereview
I'm using the FETStationPanels from FlashEff2 with Flex 3. Unfortunately, it is garbling some of the letters. Below is a simplified version of what the problem is: Imagine that I've got three buttons. If any of the buttons are selected a titleWindow opens. Inside the titleWindow is some text pulled from a database that...
stackexchange/codereview
I'm starting a simple C# console solution via Mono on Mac OS X. I have a Main.cs file for starters, but I want to create a separate class and be able to access object of that class from my Main.cs file. How can I access that class from the Main.cs file? Say my class name was Math. In my Main.cs file, can I create a new...
stackexchange/codereview
How do I determine the correct number of textbox (input type="text") in an html form using Javascript. What I'm trying to do here is to compute the subtotal by providing the qty and price. <script type="text/javascript"> function compute(){ var quant=new Array(); var price=new Array(); var stotal=new Array(); var tb...
stackexchange/codereview
For now, I just want to use HTTP POST to send json to asp.net mvc2 controller. Since the JSON is actually a list of JSON objects, and each of them has different fields & length, so it hard for me to make up a input model. So I want to know is there a way for me to post JSON without model/ajax to a controller in ASP.NET...
stackexchange/codereview
I am beginner of Android. I found the TabActivity with ExpandableListActivity example. I have 3 tabs, Artics, Album, Songs. In the Album, with AlbumActivity I would like to list all albums. I run the programme, when I click on Album it run into error to force down. Where I did wrong? album_list.xml <?xml version="1...
stackexchange/codereview
I am trying to using the following code to pull a list of Experience objects from a MySQL table. Each experience has a from datetime column and a to datetime column and I only want to pull rows where todays date falls in between the from and to. I am using JPA 2.0 running off of Hibernate. Date currentDate = new Da...
stackexchange/codereview
can't compile a c program on gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) What should i do? Thanks.
stackexchange/codereview
It's my understanding that Google App Engine with Google Web Toolkit has a client side and server side component. The client side gets compiled into JavaScript, while the server side stays as Java code. How can I know which Java functions/classes I can use on the client side and which must be implemented on the server ...
stackexchange/codereview
I've been getting this error recently, after several reloads of the same page: System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached So I am thinking the...
stackexchange/codereview
I have a top level defines.mk file which lists certain directories and C libraries to include depending on the project like so. KERNEL_LIB = -lkdev DRIVER_LIB = -ldriver -lutil -linit $(KERNEL_LIB) DRIVER_INCLUDE = -I../../include I use XS to allow perl scripts to access these libraries and MakeMaker to generate the...
stackexchange/codereview
MarketPlane table contains more than 60 million rows. When I need the total number of plane from a particular date, I execute this query which takes more than 7 min. How can I reduce this time ? SELECT COUNT(primaryKeyColumn) FROM MarketPlan WHERE LaunchDate > @date I have implemented all things mentioned in your...
stackexchange/codereview
I have text file with List Name and item name. I need to get item guid by it's name. how? (not using foreach splistitem item in splist cause the text file is large and the loop is going to take a toll)
stackexchange/codereview
so when i click #mybutton it will fade in .mybox. is it possible to take my code below, and add something like .animate({'width':'toggle'}) or add a .delay(2000) before the first time it's toggled, then not activate the delay when the toggle is activated the second time? how would i do that? easiest/simplest way? here...
stackexchange/codereview
Here's the SQL that I used to prototype the LINQ statement. The GUID's in code are List<GUID>. I tried for 3 hours and just don't get it. Could some kind sole who can write LINQ in their sleep help me out. SELECT DISTINCT [id] ,[emailAddress] ,[name] ,[emailRunNumber] FROM [emailAddress] join ...
stackexchange/codereview
I am currently working on restructuring my site's database. As the schema I have now is not one of the best, I thought it would be useful to hear some suggestions from you. To start off, my site actually consists of widgets. For each widget I need a table for settings (where each instance of the widget has its user def...
stackexchange/codereview
All, I'm developing an Android application that connects to other hardware on start up via TCP (over WiFi) . I'm pretty happy with the software that handles the connection -- it does a good job of establishing the socket connection as well as handling things when the connection is unexpectedly lost. Unfortunately, my ...
stackexchange/codereview
Let's assume there is a file which looks like this: xxxx aa whatever yyyy bb whatever zzzz aa whatever I'd like split it into 2 files, containing: first: xxxx aa whatever zzzz aa whatever second: yyyy bb whatever I.e. I want to group the rows based on some value in the lines (rule can be: 2nd word separated by space...
stackexchange/codereview
I'm trying to list posts in the category which shares the name of the page. I.e. If you are on the "Services" page it should display posts in the category "Services". I realize it is easy to do with conditionals such as: <?php if ( (is_page('Groups')) ) { query_posts('category_name=groups'); while (have_posts()) { the...
stackexchange/codereview
Why when i use SimpleCursorAdapter for ListView i have items height in ListView like this - (My code based on this) But when using arrays Listview items have big height (I learn listview based on this) Row layout for item listview is <?xml version="1.0" encoding="utf-8"?> <TextView android:id="@+id/text1" xmlns:andr...
stackexchange/codereview
Is there a public API for programmatically querying pagerank? If so, for what level of volumes would it be permitted for a service to use it?
stackexchange/codereview
I have 3 xib files connected to the same class to reduce duplicate coding. However, there are different stuff that I want done when the new nib file loads (i.e. in the ViewDidLoad method). I've thought about doing an if statement to compare the name of the xib currently being displayed to a string. I have been trying t...
stackexchange/codereview
I'm having difficulty with events. I'm building a Windows Phone 7 app. I have a few classes that implement an editable list box, that can switch into editing mode and let the user add or remove items. EditableListBox.xaml and the code behind is the wrapper around the ListBox. EditableListBoxController<T> is the class ...
stackexchange/codereview
I have a method, called RateOfChange, that takes two values that are read one second apart, and returns the result. For two positions, it returns the velocity, for two velocities, it returns the acceleration, for two energy values it returns Joules/second etc. This is physically possible, but Units of Measure don't let...
stackexchange/codereview
I have three buttons centered on my view called btn_easy, btn_medium, btn_hard. I want to hide all three of these buttons when I click one of them: My .h file has the outlets and method defined as follows: IBOutlet UIButton *btn_easy; IBOutlet UIButton *btn_medium; IBOutlet UIButton *btn_hard; @prope...
stackexchange/codereview
We are having a proposal to develop a new application which has intense calculations. Its basically a score card/dash board application where the UI is developed in FLEX. In the middleware the data will be read from Oracle and the calculations will be done. From the Oracle we will be only reading the data. There will...
stackexchange/codereview
I have text in a <div> that I want centered vertically. Any easy way to do this (non-absolute positioning method).
stackexchange/codereview
I have looked for this error and tried a few of the solutions, but have not found anything, at this point I would just like to compile it. The error I am getting is: /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/crt1.o: In function `_start': /build/buildd/eglibc-2.10.1/csu/../sysdeps/i386/elf/start.S:115: undefined...
stackexchange/codereview
During the installation of our program we run this method to encrpyt sections of the app.config: // Get the application configuration file. Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); // Define the Rsa provider name. const string provider = "RsaProtectedConfigur...
stackexchange/codereview
APIs with terrible security are common place. Case in point - this story on TechCrunch. It begs the question, how do you balance security with performance when it comes to SSL? Obviously, sensitive information such as usernames and password should be sent over SSL. What about subsequent calls that perhaps use an API ke...
stackexchange/codereview
I have a ViewController that manages a view in which I have a Table View, an ImageView and a Navigation Bar. When I put it in the landscape mode the Navigation Bar doesn't resize to 32, it still remains to 44 I tried first to use the autosizing in IB without success, then I tried to put this code in the ViewController ...
stackexchange/codereview
I have a function that will add the <a href> tag before a link and </a> after the link. However, it breaks for some webpages. How would you improve this function? Thanks! function processString($s) { // check if there is a link if(preg_match("/http:\/\//",$s)) { print preg_match("/http:\/\//",$s);...
stackexchange/codereview
Can anybody please suggest to me how I can create a time countdown like www.bidhere.com. what are the techniques used on that. e.g jQuery or cronjob ? Thanks.
stackexchange/codereview
Need some help with putting this query together. I'm using Mysql I have two tables Video - contains videos uploaded by users video_id user_id category_id Vote - contains a vote given by any user for a particular video vote_id video_id user_id I don't want to hardcode the categories in the query - the Categori...
stackexchange/codereview
I wrote this something-like-stack data structure: template<class T> class Stos { class Element { public: T n; Element* prev; Element(const T& k = 0): n(k), prev(0) {} }; Element* member; Stos(Stos&); public: Stos(const T&); ~Stos(); unsigned int count; ...
stackexchange/codereview
I've created a PHP Library project using Maven, and I'm now ready for its deployment. Following the instructions at http://www.php-maven.org/deploy.html, something went wrong. The configuration is set to: <descriptorRef>php-lib</descriptorRef> During the execution of mvn deploy I get a list o...
stackexchange/codereview
When my logger is set to "all", i am seeing messages that my code does not explicitly place. I am using a jar a friend of mine gave me to do some things (and i suspect he is logging stuff himself) I would like to ONLY log stuff I ask to be logged by issuing the logger.info ("something clever"); command Below is my lo...
stackexchange/codereview
class A { public: A(){} ~A(){} void DoSomething(int x){} }; void func(int i) { A *pa = new A(); pa->DoSomething(i); delete pa; } Do you guys see any problem with this code? I can only see following two: func is only operating on object of class A and should be made member of A. object of c...
stackexchange/codereview
I am trying to perform input validation on a user click. However the jQuery click() function has been working inconsistently; sometimes it acts like I expect it to and sometimes clicking on the link does nothing except move the viewport to the top of the screen. The problem is that I cannot consistently replicate the e...
stackexchange/codereview
The language : c# (wpf) The situation : I have to load a 3D mesh from a file after which I populate a Viewport3D. What do I want to do : I want to load the 3D mesh in a BackgroundWorker, so the application does not need to stall while loading the 3D mesh; this takes a few seconds. The problem : The problem is NOT how t...
stackexchange/codereview
I'm currently working on a database that have '\0' characters in fields. For instance the field Category CHAR(4) sometimes has value '\0\0\0\0' (4 zero characters) and sometimes ' ' (4 blank characters) I want to use a script component to individuate all the fields with this problem. I've written the following scr...
stackexchange/codereview
I have an array which its elements are float .how can I copy this array to a hash table? thanks
stackexchange/codereview
i want to limit the number of digits allowed in an element to 6: <AccountNumber>123456</AccountNumber> <AccountNumber>999999</AccountNumber> <AccountNumber>000000</AccountNumber> The field format specification is 6-digit, zero-padded, numeric. i read that i might want to use the totalDigits restriction, based on: tot...
stackexchange/codereview
Does Qt support rsa encryption,QSslkey seems doesn't work. thanks in advance.
stackexchange/codereview
i try to put GROUP as concat in my PHP-Firebird. But it seems not work. my script like: $sGroupBy = " GROUP BY LINE_NAME "; $sQuery = "SELECT ".$sLimit." LINE_NAME, MODEL_ONLY, VER_ONLY, PROD_NO, LOT_SIZE, START_SERIAL, SERIAL_NO_LOW, SERIAL_NO_UP, PROD_DATE FROM DOC_TO".$sWhere.$sGroupBy.$...
stackexchange/codereview
I have implemented video play functionality in iphone.In which i am downloading video file from the server and then play. But I want to display progress bar during downloading video file.For progressbar i need to calculate timing i don't know how to calculate time how much will take time for downloading video. So pleas...
stackexchange/codereview
In my Flat File source, i have all the columns mapped to output columns with the right type and all. After retriving the data, i check if the reference contained in the file exists in the database, if they don't, i have to log the line and write which value did not find a match. So, in order to log the line, I would li...
stackexchange/codereview
I want to make a program that detects the note that is being played in front of the microphone. I am testing the FFT function of Naudio, but with the tests that I did in audacity it seems that FFT does not detect the pitch correctly. I played an C5, but the highest pick was at E7. I changed the first dropdown box in th...
stackexchange/codereview