HNHacker News
TopNewBestAskShowJobs

stevejohnson

0 karma · joined February 16, 2022

https://www.hivelance.com/
submissionscomments
stevejohnson··on Lesser-Known Python Data Analysis Libraries
In case anyone's curious, what happened was that Dave (@davidmarin) and I (@irskep), the mrjob maintainers, left Yelp within about a month of each other. (There's no story there, just coincidence.) There was never any momentum with new maintainers, going by the release history.

But now Dave is working on mrjob regularly again, hence the pace of recent improvements.

Grandparent is correct about the second-class support for non-EMR production Hadoop usage. Like any open source project, the code only works well if a major stakeholder invests in improving it. Few non-EMR users spend much time contributing, so the situation doesn't improve.

stevejohnson··on My Heroic and Lazy Stand Against IFTTT
No, the Yelp business model is to sell ads.
stevejohnson··on Things every React.js beginner should know
Yes. Also, it will build faster and the configuration will probably be simpler. That's been my experience having used Browserify with Gulp and Grunt for 2 years and then switching.
stevejohnson··on Show HN: Kiddo Paint
I'd guess there was some kind of missing API. I've done a lot of work on the API over the past six months, so you might find it to be a lot better these days.
stevejohnson··on Show HN: Kiddo Paint
I love the spirit of this, and I've been waiting for someone to make it for years, if I didn't get to it first!

If anyone wants to make a similar web app, I maintain an open source library whose sole purpose is putting JavaScript drawing programs on web pages with custom tools.

http://literallycanvas.com/

Here's a simple web app I made with it that saves to local storage and uploads to Dropbox and Imgur: http://drawplz.com

(The text tool is slightly broken right now; the selection box drag corners are invisible.)

stevejohnson··on React Color – Color Pickers from Sketch, Photoshop, Chrome and More
You'll see a pull request from me soon. I'd much rather contribute than write my own from scratch, as I had planned to do before I saw this.

Edit: to elaborate, the layouts are generally fine, you just need fatter sliders and more space between the buttons.

stevejohnson··on React Color – Color Pickers from Sketch, Photoshop, Chrome and More
I've tried half a dozen libraries to solve this problem for Literally Canvas (http://literallycanvas.com). They all have one or more dealbreakers. In this case, it's superficially that the controls are too close together to be touch-friendly. But it looks really extensible and easy to change, so I'll give it a shot anyhow. Thanks!
stevejohnson··on Homejoy says goodbye
(1) It was a different person every time, and (2) all booking is done online, with SMS interactions piped through Twilio.
stevejohnson··on Homejoy says goodbye
For a house with 4 roommates, this service worked great as a solution to the "tragedy of the common [space]" problem. We've been using them for a year or more now and I'll be sad to see them go. I hope they follow through on putting people in touch with the actual cleaners.
stevejohnson··on Two.js
Just to clarify, I was explaining acgourley's position. This particular project is high quality.
stevejohnson··on Two.js
People keep reimplementing the same thing to the same "80%" completion level so they look good to employers, but the software is abandoned quickly once it has served its purpose as a personal branding tool.
stevejohnson··on Crow Machine
"Klein did get a professor at Binghamton to help him try [the machine] out twice in Ithaca, with assistance from a Binghamton graduate student, and it was not a success. Corvid experts who have since been interviewed have said that Klein’s machine is unlikely to work as intended."

http://www.nytimes.com/2009/04/12/magazine/12letters-t-CORRE...

stevejohnson··on Ask HN: How do you find freelance/contract gigs?
This has been asked a few times over the years. Look over the HN search results for some ideas. https://hn.algolia.com/?q=how+do+you+find+freelance#!/story/...

(This is not to say it's not a question worth asking again! I look forward to today's responses.)

stevejohnson··on How I Defeated the Tolkien Estate
It's a satire piece that suggests that authors who pretend to write translations of fictional books (such as Tolkien with LotR and Goldman with The Princess Bride) may actually be opening up their stories to plagiarists who claim to be "translating" the same source material. Or at least, that's my reading of it.

In a world where the Red Book of Westmarch actually existed, this other translation would be legal.

stevejohnson··on In-Line Images in Messages – Facebook Patent Application
Fair enough. I do think there's a middle ground between "actively seeks to write new patents" and "full RMS." It's not typically realistic to avoid working at places that hold software patents, but in my (limited) experience you can at least avoid adding to the problem. Ideally, you could negotiate for the patent clause to be removed from the employment contract before you even begin the job. I understand that's not always possible.

I used to work at a company that started out without any software patents, and at some point management decided to encourage the engineers to help generate some. I politely informed my manager that I wouldn't be participating, a few others did the same, and as far as I know none of us were penalized. Sometimes it's possible to just say "I'd really rather not" and have that be the end of it.

I realize I'm speaking from a position of privilege, in that I have only myself to support and I live in an area full of employment opportunities. But I do think it's valid to encourage people to put some thought into the outcomes of their actions in this area.

Regarding another comment in this thread about Facebook's patent attitude being purely defensive: that may be the case now, and I do believe it is, but in five years, who knows who'll be running the company?

stevejohnson··on In-Line Images in Messages – Facebook Patent Application
You make a really good point. I didn't sufficiently consider the subversive nature of the actual patent.
stevejohnson··on In-Line Images in Messages – Facebook Patent Application
Clearly he/she has a different opinion. I'm asking for clarification. For example, one possible valid response is "I helped write this patent because I believe it isn't actually harmful and serves my personal interests."

However, if the authors were aware of the image inlining features in other products before writing the patent, it does strike me as dishonest to then pretend to the USPTO that they didn't exist. I can't claim to know what the authors were or were not aware of, so I can't make any judgements on that issue.

stevejohnson··on In-Line Images in Messages – Facebook Patent Application
> My employment contract said I was to make reasonable effort to assist in the creation of patent applications that resulted from my work.

While this is true, you must also be aware of the damage that software patents are doing to the industry, and by extension, your professional peers. How do you reconcile that morally? Is your current job and standing in your company worth the damage you've done by assisting in the creation of this [seemingly] obvious patent that [seemingly] ignores prior art[1] and could be used to stifle innovation?

[1] The Textual IRC client, for example, has been inlining images and other URLs since at least as far back as 2011. I'd guess Hipchat has been doing it for longer.

(I hope this is the right tone to take for this kind of comment. Please advise if not.)

Edit: It's pretty rare that you get a software patent author answering questions in an HN thread. I don't currently know anyone who's written patents, that I'm aware of. I'm actually interested in the answers to these questions, and I'm not just taking jabs to bring someone down.

stevejohnson··on Yelp Dataset Challenge
I often forget the exact name of the fallacy this type of question embodies, so for reference:

https://en.wikipedia.org/wiki/Loaded_question

The common analogue being, "Have you stopped beating your wife?"

stevejohnson··on Ask HN: Freelancer? Seeking freelancer? (August 2014)
SEEKING WORK - San Francisco bay area or remote

I provide one very specific service: implementing custom tools, features, and integrations for Literally Canvas[1], my open source HTML5 drawing widget. If you need a drawing feature in your web app, I can help you make that happen.

[1] http://literallycanvas.com

stevejohnson··on Exploring No Man’s Sky, A Computer Game Forged by Algorithms
I downvoted you because of the unnecessary one-upsmanship and trivialization of the grandparent. You might have your own idea, but you don't need to dump on his.
stevejohnson··on React v0.11
I used this for a small app (drawplz.com) and liked it quite a bit. Thanks for your work.
stevejohnson··on React v0.11
Thanks for the bug report. I've saved it in the GitHub issue tracker. Pretty weird behavior, definitely fixable.
stevejohnson··on Elastic MapReduce Streaming in Go
I'm surprised they didn't try mrjob (Python framework), which both has a more concise interface and handles shipping their dependencies to EMR, which seemed to be their primary complaint. Probably would have been easier than rewriting a bunch of stuff in Go. It's supposed to solve the exact problems they have.

Of course, they might like Go for other reasons and have a better time in general, but it's odd not to read a mention of the obvious and simple solution.

stevejohnson··on React v0.11
Literally Canvas uses React for its GUI: http://literallycanvas.com

It isn't using JSX yet because CoffeeScript integration didn't exist until recently, but it was still a joy to use.

stevejohnson··on Beautiful web type – typefaces from the Google web fonts directory
First, give this a read: http://practicaltypography.com/

I like your design. I just have a few nitpicks...

* Only center titles; don't center body text!

* Your body text should be 90 characters wide, max. The paragraph under the photo is much too wide.

* Spacing under titles seems too small to my eyes.

* Triangles as bullet points look a little odd (this is really subjective)

* The login button is in a bit of a weird place. Right-aligned is nice, but it looks misaligned vertically with the logo.

My take on this stylesheet would be...

    .headline { margin-top: 0; }
    .h1, h2, h3 { margin-top: 0.7em; margin-bottom: 0.7em; }
Remove text-center from any body copy. Use <ul> tags for lists.

Regardless of the above, your work looks great.

stevejohnson··on Announcing Internet Explorer Developer Channel
The new WKWebView seems to solve this problem. It's bundled with the WebKit project, not iOS or OS X.
stevejohnson··on How to learn new things using side projects
It's not a hard problem; you just need a little JavaScript to update your canvas's width/height attributes when the size of the DOM element changes. Then you can just use CSS to fill the window with your canvas, and use the fullscreen API to take the browser fullscreen.
stevejohnson··on JavaScript as an alternative to AppleScript on OS X Yosemite
A lot of people in this thread have misconceptions about what AppleScript is and what it means for JavaScript to be an alternative. I recommend watching the WWDC session [1] if you can, and skip to 16 minutes in (through minute 20) for a quick explanation of what this actually is.

TL;DR shell scripting for the GUI, not a way to build Mac applications (which you can already do with JS).

Edit: video link

Double edit: Looks like I'm slightly wrong about using JS to build apps this way. You can bundle scripts as applications, and OSA can create windows and controls, so you could hypothetically build whole apps this way. But I'm not sure I would want to.

[1]: https://developer.apple.com/videos/wwdc/2014/#306

stevejohnson··on JavaScript as an alternative to AppleScript on OS X Yosemite
(Downvoters of parent, please stop, it's a perfectly reasonable comment.)

While you're correct that JS can now be used to write Mac applications without an Obj-C wrapper, that's not really the point of this.

Anyway, you can already write Mac applications in JavaScript. And iOS applications! This has been true since iOS 7 and Mavericks. http://strongloop.com/strongblog/apples-ios7-native-javascri...

You can build double-clickable "applets" in AppleScript and JavaScript, but the OSA interface isn't really made for app development, just automation.

However, they do expose all Cocoa and Obj-C APIs to JavaScript, so anything is possible! They even do a demo of a standalone temperature converter at the end of the WWDC session.

https://developer.apple.com/videos/wwdc/2014/#306

← PreviousPage 2 of 14Next →