News for hackers. Stuff that matters.
Re:Show HN: Convert CSV files into MySQL insert scripts by agildehaus on Thursday August 28, 2014 @07:24AM (#8236694)
This submits to your server. If I have sensitive data, I sure as hell don't want that going somewhere where it might be stored.

Why isn't this just done client-side in Javascript?

Re:Show HN: Convert CSV files into MySQL insert scripts by easytiger on Thursday August 28, 2014 @08:23AM (#8236845)
why isn't this a trivial bash script more like it.
Re:Show HN: Convert CSV files into MySQL insert scripts by agildehaus on Thursday August 28, 2014 @02:00PM (#8238722)
Indeed, but that's already been done.
Re:Show HN: Convert CSV files into MySQL insert scripts by modoc on Thursday August 28, 2014 @07:43AM (#8236745)
Because the author prefers to code in something else?
Re:Show HN: Convert CSV files into MySQL insert scripts by jbrooksuk on Thursday August 28, 2014 @07:27AM (#8236705)
Probably because it'd be awfully slow.
Re:Show HN: Convert CSV files into MySQL insert scripts by phpnode on Thursday August 28, 2014 @07:32AM (#8236718)
that's unlikely to be the case, JS is pretty fast
Re:Show HN: Convert CSV files into MySQL insert scripts by jbrooksuk on Thursday August 28, 2014 @11:43AM (#8237757)
Yeah, but what if you had a few hundred MB CSV file?
Re:Show HN: Convert CSV files into MySQL insert scripts by phpnode on Thursday August 28, 2014 @01:30PM (#8238535)
it would probably still be fast enough, the difference between JS perf and native perf is surprisingly slim.