Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

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
top

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.

about 5 years ago
top

Student Arrested For Classroom Texting

maop Re:Mandated (1246 comments)

You sound very serious.

more than 5 years ago
top

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
top

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 5 years ago
top

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 5 years ago

Submissions

Journals

maop has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>