Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



Whatever Happened To Programming?

maop Re:Implement some things yourself (623 comments)

Actually, you can solve all of the problems that you mentioned with a CSV format. If there a commas in the field, then you add quotes around the field. If there are quotes in the field, then you transform each quote into a double quote. If there are newlines then you have a couple options. You can escape them -- transform a newline into backslash-n. Or, if your parser handles it, you can just add quotes around the field and keep the newline, assuming the parser is smart enough to handle fields that are on multiple lines.

To handle optional fields just make the first line in the CSV file, a list of the column names. So the first line defines what follows in the CSV file.

The problem with CSV files is if you need to have metadata in the file itself, or if the data does not easily fit into a single table format.

more than 4 years ago

People Emit Visible Light

maop Re:Biblical? (347 comments)

I say visible light is a definition based on the frequency of the light. Intensity of the light doesn't factor in. Taking words literally, using the simplest definition, obscures the meaning.

more than 5 years ago

Student Arrested For Classroom Texting

maop Re:Mandated (1246 comments)

You sound very serious.

more than 5 years ago

One Broken Router Takes Out Half the Internet?

maop Re:Hmm... (412 comments)

In San Francisco that router comes from behind you.

more than 5 years ago

CAN-SPAM Act Turns 5 Today — What Went Wrong?

maop Make a Law (301 comments)

There should be mandatory authentication of all emails coming from within the US or from a US email provider.

more than 6 years ago

Why Mozilla Is Committed To Using Gecko

maop Porn (632 comments)

All I know is that Chrome is ridiculously slow with porn. Since Chrome was developed in a corporate environment it is no surprise that it can't run porn sites well.

more than 6 years ago



maop has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?