jsvine's comments

jsvine | 6 years ago | on: Data Is Plural – Structured Archive

Thanks for flagging this confusion. It's helpful to hear how this is perceived. Short answer: The spreadsheet is, indeed, embedded in a broader context. (And has a pointer to that context in the "Notes" tab.) Slightly longer explanation in my main comment on this thread.

jsvine | 6 years ago | on: Data Is Plural – Structured Archive

Hi, author/creator here. Very neat to see this on HN, thanks. The spreadsheet is a byproduct of the weekly newsletter I publish: https://tinyletter.com/data-is-plural

The spreadsheet simply contains the text and links from each newsletter edition ... but in a tabular format. (One advantage to the newsletter over the spreadsheet: the links make a bit more sense, since they're associated with specific anchor text.) The "non-structured" archive of previous newsletters can be found here: https://tinyletter.com/data-is-plural/archive

Happy to answer any Qs!

jsvine | 10 years ago | on: Waybackpack: download the entire Wayback Machine archive for a given URL

Hi, Greg! Library author here. I'd be happy to add a configurable UserAgent. Perhaps the default would be a generic "waybackpack" but could be configurable to add contact info for the user. Does that sound about right? Prefer a different approach?

And, yep, the library is intentionally designed only to request one snapshot at a time.

jsvine | 10 years ago | on: Show HN: Data Is Plural – A weekly newsletter of useful/curious datasets

Agreed. The archive uses the first line of the newsletter as the summary. I've been using the same tagline as the first line. But, for future newsletters, I think I'll make the first line more descriptive. E.g., for the most recent: "Maternity leave, art collections, firearm dealers, New Guinea languages, and aircraft-wildlife strikes." Would that be an improvement?

jsvine | 11 years ago | on: Show HN: Spectra – Python color scales made easy

Another thanks for flagging, mark-r. I've updated spectra to address this issue more explicitly. Per colormath[0], colors are allowed to go out of gamut. Colors now have `mycolor.rgb` and `mycolor.rgb_clamped` properties; `mycolor.hexcode` uses the clamped values. Are there other ways you'd like to see the out-of-gamut issue addressed? Open to suggestions.

[0]: http://python-colormath.readthedocs.org/en/latest/conversion...

jsvine | 11 years ago | on: Show HN: Spectra – Python color scales made easy

Yes, the library definitely does need some stronger specs. Thanks for flagging. Addressing these two specific issues:

> Is the rgb space actually sRGB?

Yes. Added: https://github.com/jsvine/spectra/commit/7f1ac6f5287340ed356...

> And what is the parameter to brighten/darken/saturate/desaturate?

The parameter for brighten/darken is a positive/negative linear adjustment to the L(ightness) value of the color's Lab representation. (Spectra converts the color to Lab, makes the change, and then converts back to the original color space.)

Likewise, the parameter for saturate/desaturate is a positive/negative linear adjustment to the c(hroma) value of the color's Lch representation.

Added a note here: https://github.com/jsvine/spectra/commit/fd3cbde9338ce388849...

The goal is to, ultimately, have all these details in the docstrings: https://github.com/jsvine/spectra/issues/1

jsvine | 11 years ago | on: Show HN: Spectra – Python color scales made easy

> It looks like a helpful tool for situations where the standard colormaps in matplotlib/pyplot don't work well. Is that an appropriate use case?

Yes, that's definitely the type of use-case I had in mind. Another big one: Choropleth maps.

> I also like seeing nbviewer used for documentation, I haven't seen that very often.

Glad to hear it! It's my first attempt at writing documentation in an IPython notebook. Seemed like a good fit for something so visual.

page 1