HN user

anatoli

309 karma
Posts6
Comments85
View on HN

NODE_ENV=production definitely wasn't set based on some basic testing I did (that's my PR there), which accounts for the atrocious performance.

Also, the React component is created on each request instead of just being created once. Unless one's goal is to specifically colour the perception of React, I don't understand that decision alongside the code for Pug which precompiles the template a single time.

(Also declaring the map function outside the component and not creating a closure makes for a tiny extra boost.)

It's disappointing to see that the article took off to this extent given how misleading and inaccurate it is.

What's more, it doesn't even signal that the individual in question is better at their job than someone that puts in "only" 40 hours. I've worked with a good number of people who can talk big-talk when it comes to programming, have a countless innovative side-projects and yet can't deliver anything meaningful at work by the deadline. Some of them had very impressive github accounts and worked 10+ hours a day, but were consistently behind everyone else in the quality of their output.

I think it's a shame if someone quits the profession because they think they need to keep up with people who might or might not be delivering actual business value.

This seems like a very ignorant post that completely overlooks the realities of suffering from depression (and other mental disorders). Stating that you 'love life so much' just goes to highlight how little you seem to understand what you speak of and how little you've bothered to inform yourself.

It just makes it clearer that he wants it to run at 100FPS: (1000ms / desired FPS)

The usefulness is more obvious when you want 60FPS, which is not easily represented without rounding.

You can view source using Opt - Cmd - U as in the past, it just opens up in the Web Inspector now. Still the same, old source code though. You can switch between the source code and the DOM tree by clicking on that weird green icon above the source.

That's a straw man if I ever saw one. This isn't a debate as to whether JS should be a server-side language or not. The fact is that if you're using Node and you're validating data, you can reuse the code to validate both on the front-end and the back-end. Front-end validation will likely improve the way your users perceive the app.

You probably know this but you can just specify something like "height: auto; max-width: 100%;" within a media query if you have an image that's supposed to at most fill the full column width. That would then override the inline height and width attributes.

If I enjoy wine, why should I substitute it for something else? I don't get what is so inherently evil about alcohol that I need to find an alternative immediately or why it would be beneficial for me to find an alternative.

This was partially in response to this:

"And the buddhist in my fully appreciates a moderation / middle way approach...But what is that glass of wine getting you? Is it strictly a taste thing? Is it the antioxidants? My guess is there are comparable things that would be you those same positive results of a glass of wine."

It pains me that from what he said he took the gigantic leap to "we need to make it more obvious that it's illegal" rather than the tiny one to "we need to find a way to make it easier to get legally".

A lot of people posting about how this is a 'blog' or 'complaint' or whatever seem to be completely missing the fact that this is an artist's portfolio and an actual art piece that has been previously exhibited.

It's clearly meant to generate discussion regarding racial and human rights issues, as well as the clash of public/private space. I do not see a single hint that the artist is in any way unhappy or resentful, but IMO is rather opening up an issue for discussion. (See his CV: http://www.andrewnormanwilson.com/resume)

I'm shocked at all the angry responses.

It's a bad design because it does a bad job framing the contents. It doesn't solve a problem, instead it creates several. It took me several times longer to figure out her resume than it does for a standard one, not to mention that I still came away not knowing several things that I would need to know.

As it stands, all I can say about her is that she has decent mastery of Photoshop but no understanding of good design.

Don't Make Me Steal 15 years ago

Here's the relevant bit from the "manifesto":

"I have access to the audio in every language that has been produced."

Even the subtitle issue is complicated. Are these fan-made subtitles? Otherwise, again, you're entering a minefield and the chances of something like that ever happening within a unified interface — as requested — are slim.

Something like that would require a fundamental change to how films and especially TV Shows are distributed in other countries. Not to mention the technical issues that will occur due to certain countries getting a slightly modified (whether censored or extended or just modified) version of the original.

You're far more likely to get somewhere if what you're asking is at least somewhat reasonable.

Don't Make Me Steal 15 years ago

The whole "languages" section sounds like it was written by somebody with no understanding of how dubbing is produced, who pays for it, and the issues that arise with the rights to these different versions of a film. Often it gets even more complicated with TV Shows.

Convenience? Now you're getting completely unreasonable. If you can't filter by all metadata you're going to "steal"? Come on...

I don't have the tests on hand, but I did some benchmarks back in 2005 or 2006 and the difference was about 100ms for tens-of-thousands of nested tables and divs and what-not.

So, yeah, doing any of this stuff is just a giant waste of time.