I have a predicament: I want to send some data with an event listener but also be able to remove the listener. Here's the standard closure approach...
var fn = function(e){method(e,data)};
el.addEventListener('click',fn,false);
el.removeEventListener('click',fn,false);
and you could remove the event, just fine. But say, the element wa...
Hi i am developing an application in compact framework to be deployed on windows 6.5.
I am looking for a solution to scan data matrix bar codes from Motorola mc55. I have installed data wedge in mc55 but it is only scanning linear bar codes.
I am trying different complicated settings of data wedge to shift it to some other bode so that...
Hello. I'm looking the best tool for data integration. I need the following features:
Customized loading/matching and
clearing of data from different
sources (including MSSQL Server,
PostgreSQL, WebServices, Excel, text
files in various formats). The
receiver of data is MSSQL Server 2008.
Ability to configure rules of data convertation...
I'm designing a weather program where I need to keep track of certain things and allow the user to add data which will be saved and subsequently read later. My fields are
City
State
Zip
Metar
I might have more I want to do with this configuration file later, so I would like it to have something like this:
[LOCATIONS]
Phoenix:AZ:85001:...
Hi,
I have two files of data, 100 char lines each. File A: 10^8 lines, file B: 10^6 lines. And I need to find all the strings from file B that are not in file A.
At first I was thinking feeding both files to mysql, but it looks like it won't ever finish creating an unique key on 10^8 records.
I'm waiting for your suggestions on this.
...
I have 7 csv files and one xls file. In the xls file I have 7 sheets (one for each csv file). I can create a data connection that will read each csv file into a given sheet. However, when I zip up the xls, and 7 csv files and send them to someone they are not able to open see the data in the xls file becuase it is trying to access the...
I'm looking into creating a generic BST. Nothing fancy no COTS, but I'm trying to decide the best way to keep track of the type of the void*. Here's the interface for the nodes:
typedef struct
{
void *data;
struct TreeNode *left;
struct TreeNode *right;
} TreeNode;
However, when I write add/remove, I'll need to do compariso...
We are developing a web application which has a requirement of importing spread sheet data of any format like excel or database table and parse into csv (with first column as heading) and re-import it into our data grid
We are looking to develop it ground up (may be trying to re-invent the wheel)
I would appreciate if anyone provi...
How would I go by Submiting a file that in the same directory as this script inside the $data. The below function is what I currently use. If you find any bugs in the current code please tell me as well :)
function post_data($site,$data){
$datapost = curl_init();
$headers = array("Expect:");
curl_setopt($datapost, CURLOPT_URL, ...
hi,
Goal: to find count of all words in a file. file contains 1000+ words
My approach: use a HashMap() to store and count the number of times each word appears in the file.
Question:
Would a HashMap() be the best way or would it be better to use a Binary Tree for ensuring faster lookup as there is a large count of words in the file?
...
Well, I have a new project, and I've not done anything like it before, but so far so good. I am in need of having to pass some data from one page to another, and there is no limit to the amount of data that gets passed.
At first, I was thinking of POST-ing it, and then when each page loads, just grab the POST data, and store it in an ar...
Ok, I had a usb flash drive which had data and was using FAT32 file table, till yesterday!!
I had been using it only in Windows. Now when I plugin the usb flash drive, Windows XP reports the file system as RAW and trying to access the drive asks to format the drive. I desperately need to get some data out from there (the backup is a few...
I am using a JSF data table. One of the columns in the table is a Command button.
When this button is clicked I need to pass few parameters (like a value of the selected row) using the Expression language. This paramaters need to be passed to the JSF managed bean which can execute methods on them.
I have used the following snippet of c...
Hi,
i'm writing this jquery script to send data to a php file via ajax it works but am getting this error can any body tell for I can solve this the code is posted bellow so is the error
here is the error which I get after the data is sent.
Item is undefined: if (item.guid != null)
here is the code:
// Data
dataObj = { cor...
Hi,
In Silverlight, How can we persist data between different pages and controls.
In our application, we plan to have central data object which is to track the user changes from different pages and controls.
How many ways can we have to achieve this? And What's your recommended one?
Thanks,
aghein.ng
...
Some years ago I built an Excel file for my colleagues that displays lots of data from an external ODBC data source. The data is partitioned into lots of data tables in different sheets. The file also contains a button that allows the user to update the data.
Since accessing the data from the external source was very slow, I implemented...
Quick googling result that QR code can hold nearly 3kb (8 bit) data. But isn't it just using black/white dots to represent bits? If so there's no way that there's over 20,000 dots on a code.
So I'm obviously misunderstanding. Can someone explain how it works?
...
I have a table with about 30 fields. I current have several stored procedures which access either a (aggregated) view of this table or the table itself. For many of these SPs I would like to assure that the returned records have all the same fields with the same column names. Is there a way to do this where I don't have to change 20 ...
public DataTable ExcelToDatatable_dt1
{
get
{
foreach (GridViewRow rowItem in GridView1.Rows)
{
CheckBox chk;
// gets the Debit Reference number for each row checked
string productId = GridView1.DataKeys[rowItem.RowIndex].Value....
I am running into trouble with a multidimensional array.
This works well with up to about 2000 "sets"
var datasets:Array = new Array(
// one "set"
new Array(
new Array( time:int, x:int, y:int, type:int ), // one "point"
/* ... */
/* ~70 more points */
),
/* ... */
/* ~3500 more set...