HNHacker News
TopNewBestAskShowJobs

mparr4

668 karma · joined June 10, 2010

ramblemaps.com

matthewparrilla.com

@mattparrilla

submissionscomments
mparr4··on Lessons learned as a React contractor
> lessons 1: there's a good chance, depending on what you are doing, that you do not need Redux

I agree

> avoid it if you can

avoid using it in a project, sure, but don't avoid learning it. It definitely helped me level up as a developer.

My favorite resource for learning about redux: https://egghead.io/courses/getting-started-with-redux

mparr4··on Realistic alternatives to Apple computers
Why avoid HDMI?

This is a sincere question.

mparr4··on Could Twitter Be Better Off as a Nonprofit?
It's a shame that, instead of seeing themselves as a protocol, twitter decided they were another "P" word: platform.

I think Twitter could have become ubiquitous, like Facebook or email, had it not gone the platform route and started to shut down third party apps. But then, how do you make money as a protocol?

mparr4··on Ask HN: What's your favorite tech talk?
> I do not recall in which of his talks he defines "complexity"

that'd be "Simple Made Easy"

mparr4··on Paper Planes
I was actually impressed by the desktop experience. It looked and sounded beautiful.

It was successful too. I pulled out my phone.

mparr4··on Our First 50,000 Stars
> I still find all the boilerplate, tooling and research on what choices to make and modules to use bothersome

Try create-react-app. It's supported by Facebook and makes all of those boilerplate decisions for you. And once you have a reason to change any of those decisions, you of course can.

mparr4··on Massachusetts Bans Employers from Asking Applicants About Previous Pay
> I wish MA would look into banning over-the-top non competes

They did look into it. The legislature adjourned before the house and senate versions were reconciled.

http://www.massachusettsnoncompetelaw.com/2016/08/ma-legisla...

mparr4··on React in patterns
This.

If your component hierarchy matches your application state hierarchy, don't use flux. If you need to pass pieces of state around to a bunch of different components (like sharing state across views), use flux.

My first react application was complicated enough (enterprise analytics application) to require a flux implementation. I went redux and would highly recommend it both due to its ease-of-use and popularity. However, in subsequent applications I haven't needed it and have enjoyed writing vanilla react.

mparr4··on React in patterns
I second that. Anything by Dan Abramov is worth your time. In addition to being a brilliant dev he's an excellent teacher. The egghead series is fantastic.
mparr4··on ‘Laws’ of Software Development
The Gervais Principle is worth reading about:

http://www.ribbonfarm.com/2009/10/07/the-gervais-principle-o...

Related to the Peter & Dilbert Principles, but darker and told through the lens of the Office.

mparr4··on State of the Art JavaScript in 2016
It's not that simple.

I can swap out Angular for React + Redux in my application without my backend knowing about it. The same is not true of React + Relay + GraphQL.

It's a bigger, more involved decision that doesn't strike me as being particularly practical for an individual or a small team. Couple that with the fact that making a bigger, more involved decision is harder for bigger teams and it becomes apparent why it would be hard for Relay + GraphQL to "win" over Redux.

mparr4··on As More Tech Startups Stay Private, So Does the Money
This article mostly seems to be about companies going public later than they might have a few years ago. What about companies that never go public?

To ask an admittedly naive question: is it possible to get funding and remain private? Does that even make sense?

Obviously investors want to make money, can profits at a private company serve that function? Or are tech investors mostly (only?) interested in > 100x ROIs?

mparr4··on Eight years today (2012)
A beautiful reminder of the relativity of it all.

Paul's closing remarks remind me of a bit that the late Bill Hicks used to sign off with:

“The world is like a ride in an amusement park, and when you choose to go on it you think it's real because that's how powerful our minds are. The ride goes up and down, around and around, it has thrills and chills, and it's very brightly colored, and it's very loud, and it's fun for a while. Many people have been on the ride a long time, and they begin to wonder, "Hey, is this real, or is this just a ride?" And other people have remembered, and they come back to us and say, "Hey, don't worry; don't be afraid, ever, because this is just a ride." And we … kill those people. "Shut him up! I've got a lot invested in this ride, shut him up! Look at my furrows of worry, look at my big bank account, and my family. This has to be real." It's just a ride. But we always kill the good guys who try and tell us that, you ever notice that? And let the demons run amok … But it doesn't matter, because it's just a ride. And we can change it any time we want. It's only a choice. No effort, no work, no job, no savings of money. Just a simple choice, right now, between fear and love. The eyes of fear want you to put bigger locks on your doors, buy guns, close yourself off. The eyes of love instead see all of us as one. Here's what we can do to change the world, right now, to a better ride. Take all that money we spend on weapons and defenses each year and instead spend it feeding and clothing and educating the poor of the world, which it would pay for many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace.”

mparr4··on Rust for Python Programmers
I'm in the same boat as you. I've been working through Learn C The Hard Way [1] as a way to learn some of these concepts. I've been finding it incredibly valuable/rewarding.

That said, even the author of LCTHW (Zed Shaw) recommends writing in languages other than C. He specifically mentions Go, Swift, and Rust.

Check out his rant on K&R C at the end of LCTHW for his thoughts on your question: http://c.learncodethehardway.org/book/krcritique.html

[1]: http://c.learncodethehardway.org/book/

mparr4··on Introducing T3: Enabling Large Scale JavaScript Applications
Curious, what's the whitepaper?
mparr4··on US Weather Radar
Pulling from NOAA, changing the projection, palette, and adding a basemap.

Data source: http://radar.weather.gov/GIS.html My GitHub repo: https://github.com/mattparrilla/wxGIF

mparr4··on US Weather Radar
I made a network of twitter bots that tweet beautiful, color-blind friendly animated radar GIFs every 2 hours.

Here's the continental US (@wxGIF): https://twitter.com/wxGIF

And a list of the bot network: https://twitter.com/wxGIF/following

mparr4··on “Anthem was the target of a very sophisticated external cyber attack”
I love the hero image.

Nothing says "state of the art" quite like a highly pixelated image on your "we got hacked" response letter.

mparr4··on The Software Scientist
>You’d think that any programmer with a basic grasp of recursive algorithms would be hesitant to take a job as a software engineer.

What does this mean? Is software engineering "below" programming? Do software engineers write less code?

I've only been in the industry for a few years, mostly working on my own. I've assumed these titles were arbitrary. Are they not?

mparr4··on If you want to start a startup, go work for someone else
>The thought, "is this a good long-term career choice?" isn't in the equation. That's for people looking to build a career. This is your one great idea that will make you rich, fuck a career.

So building a career and being an entrepreneur are incompatible? I completely disagree with that idea. Not every entrepreneur is going for the big dollar exit.

I for one would be perfectly happy building my own company and never taking a dime of funding. Who wants to exit when you're doing what you love?

Fuck a career? No thanks, I like what I do and hope I can do it for a long time.

mparr4··on Quantum Gravity Expert Says "Philosophical Superficiality" Has Harmed Physics
I studied physics at the University of Maryland, one of the better (top 20) physics programs in the US. I was surprised at how often questions were answered with "that's for the philosophers to think about."

Granted, there's a lot of material to cover, I don't think that's an appropriate response–especially when delivered with contempt, as it typically was.

mparr4··on Is a Hard Life Inherited?
>I hate the argument that boils down success to just being lucky

I don't think that that's the real argument being presented in the editorial. Rather, it's that for a large portion of humanity, success means overcoming tremendous odds. When your parents sit home and drink 22oz Milwaukee's Best Ice all day, how do you even learn what you need to do to be successful?

mparr4··on Is a Hard Life Inherited?
I am reminded of PG's essay on income inequality. Worth reading if you haven't: http://www.paulgraham.com/inequality.html
mparr4··on Higher antioxidant, lower cadmium, and lower pesticide residues in organic crops [pdf]
Ha! I just made the same search and my comment was the top google result.

At any rate, this blog post provides the quote in question, from page 229 of "Omnivore's Dilemma" though it turns out it's the USDA, not the FDA that is mentioned.

http://www.businessweek.com/smallbiz/running_small_business/...

Here's the quote: "The problem with current food-safety regulations, in [small farmer Joel Salatin’s view], is that they are one-size-fits-all rules designed to regulate giant slaughterhouses that are mindlessly applied to small farmers in such a way that “before I can sell my neighbor a T-bone steak I’ve got to wrap it up in a million dollars’ worth of quintuple-permitted processing plant.” For example, federal rules stipulate that every processing facility have a bathroom for the exclusive use of the USDA inspector. Such regulations favor the biggest industrial meatpackers, who can spread the costs of compliance over the millions of animals they process every year, at the expense of artisanal enterprises like Polyface [Salatin’s farm]."

mparr4··on Higher antioxidant, lower cadmium, and lower pesticide residues in organic crops [pdf]
>What you said is nonsensical. How would eliminating the enforcement of cleanliness standards reduce illness?

I didn't say that eliminating the enforcement of cleanliness standards would reduce illness, rather I said crushing the small farmer isn't the answer and suggested that more small farms would reduce illness.

Example (from Michael Pollan's excellent book "The Omnivore's Dilemna"): FDA regulations that require slaughterhouses to have a private restroom reserved for the FDA inspector.

For a large multinational corporation processing tons of meat per day, that is a drop in the bucket. For a small slaughterhouse processing maybe a handful of cattle/week during peak slaughtering season, that's a much more substantial cost.

mparr4··on Higher antioxidant, lower cadmium, and lower pesticide residues in organic crops [pdf]
I think it's neither a conspiracy nor a reasonable precaution.

Food borne illnesses are, in fact, a serious problem but regulations that crush the small farmer aren't the answer. Large scale farming may be incredibly efficient at producing food but they are equally efficient at propagating food borne illnesses.

Promoting small farms when possible is beneficial to society and the planet for a host of reasons, including the reduction of food borne illnesses. Nature abhors monoculture and always fights to restore ecological diversity.

mparr4··on How a White Mountains trek turned into a survival test
As a backcountry skier in New England, I can attest that it is surprisingly easy to get yourself into high-consequence situations.

The mountains are smaller and the states are more densely populated, but that doesn't mean that the wilderness can be taken lightly, particularly in winter. Especially for a sport that places value in isolation ("first tracks" are highly sought and many locals have their own secret powder stashes) you'll often find yourself in situations where an injury or gear failure can mean serious mortal peril. Even if you're lucky enough to have cell service, batteries don't hold their charge in extreme cold, more often than not, you're on your own.

These hobbies are, in fact, dangerous and the consequences are real. They are also incredibly fun. You've just got to know what you're getting yourself into.

mparr4··on How a White Mountains trek turned into a survival test
Mt. Mansfield is in the Green Mountains of Vermont. You're thinking of Mt. Washington, the tallest point in the northeast and largest of the White Mountains, which are in New Hampshire.

Mt. Washington previously held the record for the fastest wind ever recorded at 231 mph (http://www.mountwashington.org/about/visitor/recordwind.php)

The mountain is notorious for its fickle weather.

mparr4··on REPL: To JSON what Excel is to CSV
My favorite feature is the ability to expand and collapse at the object level. Anybody have a favorite tool for this?
mparr4··on What Happens When the President Sits Down Next to You at a Café
Agreed. I think the AOL:Facebook comparison makes the most sense.

All of those ads prompting you to visit a company's Facebook page are today's version of the "find us at AOL keyword So-and-so" that you used to see all the time in the late 90s.

← PreviousPage 4 of 6Next →