I am writing a scraper that downloads all the image files from a HTML page and saves them to a specific folder. all the images are the part of the HTML page.
I'm building a windows mobile app. And using SqlCe.
I'm looking for a good sql query builder. So instead of writing "SELECT COLUMNS FROM TABLE WHERE etc...
Is there a good free library that can build this sort of query?
I have several apps which I wrote using the standard SDK. They all connect to RFCOMM devices using bluetooth, so at present, I can only support devices which are 2.0 or newer.
What options are available for backporting a bluetooth app to pre-2.0 apps while re-writing as little code as possible?
Thank you.
Hello everyone!
I am now writing a report about MS Access and I can't find any information about its performance speed in comparison to other alternatives such as Micorsoft SQL Server, MySQL, Oracle, etc... It's obvious that MS Access is going to be the slowest among the rest, but there is no solid documents confirming this other than forums threads, and I don't have the time and resources to do the research myself :(
Hoping for your help,
V.S.
I am writing a new multi-tenant WCF RIA application. I plan to have a shared database with separate SQL Server schema for each tenant. I would like to use NHibernate for object-ralational mapping.
Configuration of SQL Server schema in mapping classes doesn't help because it is static and would need one set of mapping classes for each tenant.
Is it possible to dynamically configure ISession which SQL Server schema should be used for mapping objects to tables?
I spent a month writing an elaborate payment system that handles both credit card payments and electronic fund transfers. My work was used on production server for about a month. I was told recently by the client that he no longer wants to use the electronic fund transfer feature.
Because the way I had to interface and communicate with the credit card gateway is drastically different from the electronic fund transfer api (eg. the cc company gives transaction responses immediately after an http request, while the eft company gives transaction responses 5 business days after an http request), I spent a lot of time writing my own API to abstract common function calls like
function payment(amount, pay_method,pay_freq)
function updateRecurringSchedule(user_id,new_schedule)
etc..
Now that the client wants to abandon the EFT feature, all my work for this abstracted payments API is obsolete.
I'm deliberating over whether I should scrap my work. Here's my pro vs. con for scrapping it now:
PRO 1: Eliminate code bloat
PRO 2: New developers do not need to learn MY API. They only need to read the CC company's API
PRO 3: Because the EFT company did not handle recurring payment schedules, refunds, and validation, I wrote my own application to do it. Although the CC company's API permitted this functionality, I opted to use mine instead so that I could streamline my code. now that EFT is out of the picture, I can delete all this confusing code and just rely on the CC company's sytsem to manage recurring billing, payment schedules, refunds, validations etc...
CON 1: Although I can just delete the EFT code, it still takes time to remove the entire framework consolidates different payment systems.
CON 2: with regards to PRO 3, it takes time to build functionality that integrates the payment system more closely with the CC company.
CON 3: I feel insecure deleting all this work. I don't think I'll ever use it again. But, for some inexplicable reason, I just don't feel comfortable deleting this work "right now".
So my question is, should I delete one month's worth recent development? If yes, should I do it immediately or wait X amount of time before doing so?
I'm trying to write some software to read a MIDI file into an internal data format and use it to control 3D simulated instruments.
My biggest problem is reading the MIDI data in from a file, and I'd like to avoid writing all the import code.
Does anyone know of a free (preferably Open Source), cross-platform MIDI file reading library?
What features does it have?
Can it import other note-based music formats?
I am writing an application that needs simple data found (mostly) on the periodic table of elements, such as atomic mass, atomic number, state, etc.
However, I would prefer not to manually enter this data.
I managed to find the NIST website (http://www.nist.gov/pml/data/edi.cfm) with all of the data I need, but not in a downloadable format.
Where can I find this data? Preferably, it would be in an XML/YAML/JSON/other documented format, however, any format would be helpful.
I have a scenario where I'm moving the contents of a blob stored in a core data entity into a file. I need a way to export that data during a migration, where I know the entity that's being converted and save the blob to a file, writing the location of that file into the converted entity's appropriate attribute.
I can't seem to find a way to do this. The docs regarding the Three Stage Migration seem to indicate what can be done, but I'm not sure where to define things, or what exactly to define.
We have to write the nodes of a binary tree to a file. What is the most space efficient way of writing a binary tree . We can store it in array format with parent in position 'i' and its childs in 2i,2i+1. But this will waste lot of space in case of sparse binary trees.
Is there a c# library that can help to write and indent Javascript code.
It's because I'm writing some c# code that generated some Javascript code. Something like this :
js += "<script type=\"text/javascript\">\n";
js += " function()...\n";
And I find that generated a lot of ugly code.
So, I thought that maybe a existing library can help me doing that ?
I'm writing a shell for a project of mine, which by design parses commands that looks like this:
COMMAND_NAME ARG1="Long Value" ARG2=123 [email protected]
My problem is that Python's command line parsing libraries (getopt and optparse) forces me to use '-' or '--' in front of the arguments. This behavior doesn't match my requirements.
Any ideas how can this be solved? Any existing library for this?
Hi All,
I am writing some PHP code to parse incoming URLs. It relies heavily on PHP blobals such as $_SERVER and $_GET. I am thinking of manually setting these up in PHPUnit unit test setUp() function. Is there a better way of doing this?
thanks,
G
Is there a way I can programmatically determine the status of a download in Chrome or Mozilla Firefox? I would like to know if the download was aborted or completed successfully.
For writing the code I'd be using either Perl, PHP or Python.
Please help.
Thank You.
I'm writing a PropertiesMustMatch validation attribute that can take a string property name as a parameter. I'd like it to find the corresponding property by name on that object and do a basic equality comparison. What's the best way to access this through reflection?
Also, I checked out the Validation application block in the Enterprise Library and decided its PropertyComparisonValidator was way too intense for what we need.
I am planning on using CouchDB on a project. But as the querying mechanism involves writing views (which are a lot like indexes on regular RDMBMS's) I was wondering, if the document database keeps getting updated a lot ( a write heavy database) would CouchDB perform well compared to a regular RDBMS? Or do we have to compact/re-index the system occasionally to make it perform faster?
Given that there are two ways to enable dial tone, I'm having trouble turing it off. The two ways I'm aware of are:
Dismount the database, delete it or rename it, mount it, Exchange will prompt for a dial tone creation.
Run the command: Get-Mailbox -Database DB1 | Set-Mailbox -Database DTDB1 as described here
Both options should result in Outlook "thinking" it's in dial tone mode. Since my goal is to shut off dial tone, I think I need to learn the specific, technical parameters that "tell" Outlook that it is in dial tone mode.
Question
How can I turn off dial tone for a given database? What tells outlook that it's in dial tone mode?
Hi, I'm new to Django. I am writing my own administrative action for a third party app/model, similar to this: http://mnjournal.com/post/2009/jul/10/adding-django-admin-actions-contrib-apps/
It's a simple snippet of code. I'm just wondering where people suggest that I put it. I don't want to put in the third party app because I might need to update to a newer version at some point.
Thanks.
Hi
I am writing a GWT app running on App Engine, which needs to modify a XML File serverside. As far as I know there is no way to modify a XML file in the WAR directory or any subdirectories. What other possibilities do I have to store that data? Can I use the Data Store somehow or should I look for storage space somewhere else and access it there (if so any recommendations?)?
Any help is appreciated!
Hi,
I am writing a android application where I want to register my application to remoter server when application is first launched on installation. Application will register to remoter server itself without taking any user input. How Can I track whether this is a first application launch after installation ?
Hi there, I want to know if I can get all the INSERTs that are inserted at my database, from once.
Writing just once ... I want that shows me all the inserts with the data and everything that was inserted in the moment of insertion. Not just the data, but everything including the INSERTs, is this possible?
I'm using SQL server 2008,
regards to everyone
I'm designing an app for streaming video from a device (e.g. iPhone) via a server to one or more devices and have been researching Apples HTTP Live Streaming protocol. One thing that isn't clear is whether it is possible to stream live video (with audio) to the server and then have it streamed simultaneously in real time to the client devices. From reading the documentation and technical notes from Apple it seems like the index file needs to be created before the segmented video files can be served to a client. Is this right? If so maybe HTTP Live Streaming isn't suitable in this case, what other technologies or software should I consider?
Thanks
Hello there.
I'm writing a WP plugin, that shows DB records in a table. Because the list is too long, I'd like to split it to multiple pages, based on the same display. I can do that manually with handling URL parameters, and using PHP, but I wanted to know if there's a structed method to to that.
http://site.com/list --> records 1-20
http://site.com/list/2 --> records 20-40
Thanks,
Tomer
I am trying to move a mailbox from one user account to another within a single AD domain. We are using Exchange 2007. I have followed these steps:
Disable the account
From "Disconnected Mailbox" container, connect to
the new account
I get a success message
When I try to login to OWA using the new user account, I get this message:
Outlook Web Access could not connect to Microsoft Exchange. If the problem continues, contact technical support for your organization.
Request
Url: https://mail.somedomain.com:443/owa/default.aspx
User host address: 1.2.3.4
Exception
Exception type: Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException
Exception message: Cannot open mailbox /o=cgsexchangeorganization/ou=exchange administrative group (fydibohf23spdlt)/cn=recipients/cn=someuser.
NOTE: I changed some identifying information for security purposes.
I have tried multiple times and get to the same place. When I login to OWA with old account, I get an error that the mailbox cannot be found, which makes total sense. Does anybody have any ideas on this? Thanks!