Skip to content

Content Tagged "data"

Page 1 of 1

Content Tagged "data"

Access Data Files for Local Tests in Android

March 9, 2016Category: Software
TL;DR: Put your data files in test/resources and access it with: I've got an android application with a module performing data processing (HTML scraping in fact). This part is pure java and all its tests are in the src/test path. My particular problem is that I have a set of (large-ish) files…

Insert in PostgreSQL in (Almost) Constant Time

May 15, 2014Category: Software
One of the things I did was to write a script to insert records in a PostgreSQL database. The records have with a quite simple structure: id - char(20) content - XML field aside - XML field I was working with a sample of 10,000 entries out of 40 million and the script went through several…

Create Data Once in a FormWizard

May 6, 2014Category: Software
At one of the sites I'm building I need to walk users through a registration process: Select a supported tool Generate an ID Create a configuration based on the previous two steps To do this, I chose to use a FormWizard with three steps, one for each of the above. The problem then becomes to…

Send POST to server via python-requests

April 15, 2014Category: Software
The other day I've had a question asked: How do you send a form data to a server and get the reply? My solution involves python-requests : r.text contains the reply HTML page, which then needs to be processed via e.g. python's DOM processing module or BeautifulSoup (if you're looking for…

All tags