cryptopunksnotdead / punks.journal Goto Github PK
View Code? Open in Web Editor NEWJournal of (Generative) Punk (Pixel) Art - Best of ("Hall of Fame" of) Punk Writing
License: Creative Commons Zero v1.0 Universal
Journal of (Generative) Punk (Pixel) Art - Best of ("Hall of Fame" of) Punk Writing
License: Creative Commons Zero v1.0 Universal
Hi! Reading through why-the-csv-stdlib-is-broken.md and reading the code examples, I think you'd get a lot of value out of a gem I maintain, Seeing is Believing. Here's a video showing how much easier the code samples could be than what you're probably doing now:
Also, the published version of the gem has lots of print statements in it. Eg when I run the first example in the readme, it comes out like this:
If you want some suggestions on the code, LMK :) I don't want to come in and shit on things, b/c I also would like a better CSV lib, but kind of skimming through, there's a number of ways to make kind of annoying things a lot simpler, and it's not following gem etiquette on namespacing.
Maybe a last thought: you make a lot of good points, but a mandatory feature of a CSV lib, for me, is that I can use it in a streaming manner (eg process lines as they become available and emit them as they are processed). I can do that currently with the stdlib's CSV, csvreader will need this feature if it wants to compete.
require 'csv'
read, write = IO.pipe
csv = CSV.new read
write << "1,2,3\n4,5,6\n"
csv.readline # => ["1", "2", "3"]
csv.readline # => ["4", "5", "6"]
write << "7,8,9\n"
csv.readline # => ["7", "8", "9"]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.