Parsing refers to the action by software of breaking an artifact into its constituent elements and capturing the relationship between those elements.

learn more… | top users | synonyms (1)

1
vote
1answer
18 views

XML to Windows.Forms.Keys List

It took me a lot of poking around and unit testing to get the code to look like it is right now. So I have a XML file which in part looks like this <FunctionKeys> ...
2
votes
1answer
40 views

Have I missed some obvious XSS vulnerabilities?

As the question states: have I missed some obvious security vulnerabilities in this code? Particularly interested in XSS... I'm trying to create something more robust that strip_tags, but simpler ...
0
votes
2answers
41 views

ruby notes scrubber search for specific characters [closed]

I am looking to making a not scrubber for my testing notes. I want to run a script that will read the entire file looking for special "tags" that I made in my notes, like @ ? (c) etc... I then want to ...
5
votes
2answers
100 views

Critiques on a trivially easy to use Python CSV class

I have been working on a project where I needed to analyze multiple, large datasets contained inside many CSV files at the same time. I am not a programmer but an engineer so I did a lot of searching ...
3
votes
1answer
80 views

How to make this BigRational parsing method more efficient?

I'm using the BigRational beta off the BCL CodePlex (bcl.codeplex.com), and I realized it had no parsing method. So I tried to write one. However, it's quite inefficient (5.5ms for a 254 character ...
3
votes
4answers
125 views

download an image from a webpage

I originally posted this on stackoverflow and was recommended that I post here, so I apologize if you see this twice:) I am trying to write a python script that download an image from a webpage.on ...
3
votes
2answers
100 views

How would one more elegantly parse data from XML using Ruby and Nokogiri?

I have a method that parses XML into an array of hashes. Here is the original XML: <rowset name="skillqueue" key="queuePosition" ...
2
votes
1answer
136 views

Get metadata from an Icecast radio stream

I am new to Python and not very familiar with advanced Python data structures. I have written a function to receive data from a socket in Python and perform string manipulations on it. The basic ...
1
vote
3answers
101 views

How should I read coordinates from a text file?

I have a text file with lines that look like this: Robot(479.30432416307934|98.90610653676828) Robot(186.42081184420528|213.11277688981409) Robot(86.80794277768825|412.1359734884495) or, more ...
3
votes
2answers
133 views

Custom parser for named parameters in prepared statement

I'm creating a small extension to the JDBC API, with the hope of automating some common tasks and avoid boilerplate code. One of its features will be a basic support for named parameters in prepared ...
2
votes
2answers
114 views

Pair Programming matrix: room for improvement?

At work, we have a "pair programming ladder" where you can keep track of who is pairing with whom (based on check-ins). The idea is to promote "promiscuous pairing" where each developer eventually ...
4
votes
1answer
77 views

Char* hex string to BYTE Array

The idea is that i want any size string to put the corresponding hex value into a byte array. I've seen a million ways to do it. Some of them didn't look to clean. My needs are speed over memory, so ...
2
votes
2answers
85 views

String parser review

So the task is that a string being passed to one of my methods looks like this <DIV><GKY><UID><END> it is generated this way from another program, so it will always have that ...
1
vote
2answers
97 views

RGB Color Name Matching using Euclidean Distance (Improved)

The code below stems from work on a Euclidean Distance algorithm. The color table was simply a vehicle to test the algorithm. It is perhaps reinventing the wheel, however it is useful in itself. ...
-1
votes
1answer
56 views

Parsing large text area - difficulty extracting info - Javascript [closed]

I am writing a program that will deal with formatting the text in a text area. The user will use Ctrl + A, Ctrl + C to copy the entirety of a web page, then paste that text into a text area. The ...

1 2 3 4 5 6
15 30 50 per page