When you convert CSV to and from JSON(/XML) then the interesting part IMHO is how to convert the hierarchy (of JSON/XML) to CSV and how to encode it (e.g. in a header-line). Do you account for that?
There are some assumptions made. Mainly, that you have an array of arrays or an array of objects to encode as CSV. For an array of arrays, that's easy: each array is a row. For an array of objects, each object is a row keyed by field name. Data with a varied structure is much trickier, if at all possible, to flatten. I haven't figured out a magic formula for that (yet?).
Show HN: Papa Parse 3
61–70 of 86 posts
Re: Show HN: Papa Parse 3
#62Earlier quoted context omitted.
Hmm... I'll consider that for a later upgrade to the demo. For most people, it seems that seeing the results in the console is enough to know if it does what they need.
yeah we can wait for later stages for the implementation in demo but in the meantime any documentation or pointers on how to achieve the direct download of results..
[0]: http://stackoverflow.com/questions/3665115/create-a-file-in-...
[1]: https://www.google.com/webhp?q=max%20length%20of%20data%20ur...
Re: Show HN: Papa Parse 3
#63Amazing project! Everything seems really well put together. I really like the humor and the Q&A format. Do you mind if I borrow it for v2 of a project I'm releasing soon? Also, there is not a single negative comment here. That's a HN record. Congratulations!
It's not a CSV library, right? :) Go for it. And yeah, I've been surprised! I hadn't anticipated so many comments about the web site, since the feature is a Javascript library. It's like going to a movie for the previews. Definitely grateful for the feedback, though. It's great that quirks that are being constructively reported so they can be fixed.
Re: Show HN: Papa Parse 3
#64Amazing project! Everything seems really well put together. I really like the humor and the Q&A format. Do you mind if I borrow it for v2 of a project I'm releasing soon? Also, there is not a single negative comment here. That's a HN record. Congratulations!
It's not a CSV library, right? :) Go for it. And yeah, I've been surprised! I hadn't anticipated so many comments about the web site, since the feature is a Javascript library. It's like going to a movie for the previews. Definitely grateful for the feedback, though. It's great that quirks that are being constructively reported so they can be fixed.
Well, first, I think you need to accept the fact that you made a truly stand-out website, with a useful innovation (the Q&A format with code examples) that people are going to copy (and to good effec).
But second, the comments about the web 'preview' is the GCD of HN - Haskell, .Net, and Python programmers might still take a peak at a JavaScript library web page, even if they won't use it immediately.
Third, and this is most important, it would be significantly better if you published Papa Parse to the NPM registry, because then "real" javascript programmers can add it to their existing project with a simple "npm install papaparse --save". Publishing is trivial (install npm, run 'npm init', set values, then 'npm publish').
Re: Show HN: Papa Parse 3
#65Re: Show HN: Papa Parse 3
#66Earlier quoted context omitted.
It's not a CSV library, right? :) Go for it. And yeah, I've been surprised! I hadn't anticipated so many comments about the web site, since the feature is a Javascript library. It's like going to a movie for the previews. Definitely grateful for the feedback, though. It's great that quirks that are being constructively reported so they can be fixed.
> I hadn't anticipated so many comments about the web site... Well, first, I think you need to accept the fact that you made a truly stand-out website, with a useful innovation (the Q&A format with code examples) that people are going to copy (and to good effec). But second, the comments about the web 'preview' is the GCD of HN - Haskell, .Net, and Python programmers might still take a peak at a JavaScript library we…
Greatest common multiple, lowest common denominator
Re: Show HN: Papa Parse 3
#67Earlier quoted context omitted.
It's not a CSV library, right? :) Go for it. And yeah, I've been surprised! I hadn't anticipated so many comments about the web site, since the feature is a Javascript library. It's like going to a movie for the previews. Definitely grateful for the feedback, though. It's great that quirks that are being constructively reported so they can be fixed.
> I hadn't anticipated so many comments about the web site... Well, first, I think you need to accept the fact that you made a truly stand-out website, with a useful innovation (the Q&A format with code examples) that people are going to copy (and to good effec). But second, the comments about the web 'preview' is the GCD of HN - Haskell, .Net, and Python programmers might still take a peak at a JavaScript library we…
I'd love to package this thing up for NPM. But I'm not a Node.js developer, so I haven't tried running this in Node. I'll see what I can do though to make that happen.
Re: Show HN: Papa Parse 3
#68Earlier quoted context omitted.
> I hadn't anticipated so many comments about the web site... Well, first, I think you need to accept the fact that you made a truly stand-out website, with a useful innovation (the Q&A format with code examples) that people are going to copy (and to good effec). But second, the comments about the web 'preview' is the GCD of HN - Haskell, .Net, and Python programmers might still take a peak at a JavaScript library we…
s/GCD/LCD Greatest common multiple, lowest common denominator
Re: Show HN: Papa Parse 3
#69Earlier quoted context omitted.
> I hadn't anticipated so many comments about the web site... Well, first, I think you need to accept the fact that you made a truly stand-out website, with a useful innovation (the Q&A format with code examples) that people are going to copy (and to good effec). But second, the comments about the web 'preview' is the GCD of HN - Haskell, .Net, and Python programmers might still take a peak at a JavaScript library we…
s/GCD/LCD Greatest common multiple, lowest common denominator
Re: Show HN: Papa Parse 3
#70Earlier quoted context omitted.
> I hadn't anticipated so many comments about the web site... Well, first, I think you need to accept the fact that you made a truly stand-out website, with a useful innovation (the Q&A format with code examples) that people are going to copy (and to good effec). But second, the comments about the web 'preview' is the GCD of HN - Haskell, .Net, and Python programmers might still take a peak at a JavaScript library we…
Thank you! And you're right about the audience and their interests. That makes sense. I'd love to package this thing up for NPM. But I'm not a Node.js developer, so I haven't tried running this in Node. I'll see what I can do though to make that happen.