Better HN
topnewbestaskshowjobs
Log inSign up

marknutter

6,558 karma · joined Oct 7, 2009 (17y ago) · 2,641 submissions

Submissions

comment 11y ago · link · parent

The title of the article is "Modafinil for cognitive neuroenhancement in healthy non-sleep-deprived subjects" (emphasis mine). I don't think the article, nor anybody here in the comments, suggested that Modafinil is a good substitute for sleep.

comment 11y ago · link · parent

How about "genetic engineering".

comment 11y ago · link · parent

Facebook.com and Hacker News are cross platform apps, and they work amazingly well.

comment 11y ago · link · parent

I'm sorry I have a strong aversion to hyperbole, but if you're going to compare the situations outlined in the article to slavery you're going to have to lump a lot of other stuff into the slavery pile as well. It's important to preserve the weight of words lest you further increase people's apathy.

comment 11y ago · link · parent

That's not slavery, it's kidnapping, plain and simple. It's illegal and not condoned in any way by the U.S. government or society at large, so comparing it to slavery is a bit hyperbolic. But yes, it still sucks

comment 11y ago · link · parent

I wouldn't quite say I've "bared my soul to Google". I slowly signed up for those services as they became available and now I only have to login to one of them to use them all. If I don't want Google to know about me for something I just open an incognito tab.

comment 11y ago · link · parent

I will do just that. Thank you!

comment 11y ago · link · parent

So I just bought a new Macbook which although is amazingly thin is also somewhat underpowered. I also own a beefy Mac Pro (the trash can) and the thought had crossed my mind that I might use remote desktop to utilize the power of my Mac Pro from the convenience of my new Macbook. For gaming, latency is a huge issue, but I could deal with 50ms latency when doing my work if it meant not having my system lag in other respects. I only wish there was a OS X equivalent.

comment 11y ago · link · parent

http://picturesofpeoplescanningqrcodes.tumblr.com

comment 11y ago · link · parent

I find it incredibly convenient not to have to log into drive, gmail, maps, youtube, etc. separately. They all work seamlessly together, and I know I sound like a shill for saying so, but I've had nothing but positive experiences with it.

comment 11y ago · link · parent

Why does the virtual DOM have anything to do with composability? The virtual DOM is a mechanism that works under the hood to provide diffing that doesn't rely on expensive DOM operations, and thus should be completely transparent to the developer. Composability is purely a syntax thing, provided by JSX, and has existed in other frameworks with components for years (Angular, Ember, etc).

comment 11y ago · link · parent

I think "cats" in this context refers to all the stuff on the web that doesn't seem important, but that people actually like to use the web for; including pornography.

comment 11y ago · link · parent

She shouldn't have been reprimanded for creating the spreadsheet. Upper management is always terrified of information they don't control.

comment 11y ago · link · parent

The simplest and most straightforward explanation of Web Components is that they are a way for web developers to create new html tags instead of relying on the browser vendors to do so. For example, you're probably familiar with the <video> tag; it requires no additional dependencies to use, provided your using a browser that supports it, and its styling and internal logic is neatly encapsulated and hidden from the consumer. Web Components will enable you to create such tags and easily share them with the world.

comment 11y ago · link · parent

Something like this has existed for Polymer.js for a while now called Polymer Designer - https://polymer-designer.appspot.com/

I think as web components start to become standardized we'll see more and more of these types of tools that make it easy to click interface elements together using a GUI.

comment 11y ago · link · parent

Then just put all the files for a component into a single folder, which translates 1 to 1. Again, this is all just a matter of preference, and with pre-compilers you could glob all your js/css/html into one file using any framework if you really wanted to. Seems silly to me, but to each their own.

comment 11y ago · link · parent

Not supporting custom events is pretty much the same as not supporting web components. What if you use a third party web component that has dozens of events? The goal should be interop with no additional plumbing required.

comment 11y ago · link · parent

How exactly does that solve the problem of consuming custom web components with their own internal state and events?

comment 11y ago · link · parent

I think it's all fine and dandy, and I like the idea of isolated components, but I'm not sold on shoving everything into one file. It just smacks of preference.

comment 11y ago · link · parent

Yes, but now you're requiring that developers go through the work of porting every single third party web component they might want to use in their project. That's the current pain we're all going through today with Angular, React, Ember, etc, which are basically glorified web component polyfills when it comes down to it. The whole point of Web Components is portability.

comment 11y ago · link · parent

Except that there are use cases where you want to use boilerplate HTML in more than one component (i.e. bootstrap). Also, I've never quite understood the argument that everything that goes into defining a component should live in one file. By that logic we should be putting our data stores in the component, any translations required to internationalize the component, the database queries - heck - why not put the tests in the component while your at it.

The real reason we keep "technologies" separate is so that we understand what realm we're working at any given moment. Furthermore, we can distribute responsibilities across multiple team members focused on different disciplines. Facebook has the kind of clout internally to force their designers to use JSX and inline styles, but many organizations do not have that kind of alignment.

comment 11y ago · link · parent

Not so. React does not really play well with web components. Currently React has to internally define JSX elements for every known HTML element that's out there, namely to track internal state and respond to events (i.e. input fields). Because they won't be able to do the same for the vast ocean of web components that will be authored in the coming years, it will be difficult to provide clean interop with new custom elements. The React maintainers have even stated that they don't believe web components are the right way forward for web application development. React was never designed to work well with web components in the first place. On the other hand, the main reason why Angular 2.0 is such a drastic rewrite is because they needed to do it in order for Angular to work seamlessly with Web Components. It's no coincidence that both Angular and web components are Google initiatives.

comment 11y ago · link · parent

There is no excuse for being arrogant or an asshole. In my mind it's as bad or worse than physical bullying. Sure, you may be more knowledgeable than someone else in your particular field of expertise, but you were once completely clueless. Being an asshole to people who are trying to join your community is like cutting your nose off to spite your face.

comment 11y ago · link · parent

I didn't bother implementing any validation rules on the backend so it was free for people to change whatever they wanted using the debugger console.

comment 11y ago · link · parent

The author seems concerned about creating custom elements for everything a site might need but isn't that what we all want - composability? It's the reason why libraries like React.js and Riot.js are so popular. Breaking everything down into components is highly desirable, and if they're portable like web components are then it's even better.

comment 11y ago · link · parent

I've used that combo for many projects. I gave a talk on it last year at a local AngularJS Meetup:

https://www.youtube.com/watch?v=vCExKhJCUM8

comment 11y ago · link · parent

I learned this the hard way in my early days of freelancing as a web developer. The main reason I think it's important not to work for free isn't the fact that you're not being compensated for your time (which of course sucks) but that your client doesn't actually feel comfortable giving you honest feedback about the work your producing because they know you're doing it for free.

So what happens is you end up with a sub-par delivery because the client often feels too guilty to look a gift horse in the mouth and you're not properly motivated to make it better than you might if you were being fairly compensated on top of it.

comment 11y ago · link · parent

Whenever I hear about someone who broke out of prison and/or is trying to escape the long arm of the law I get a little sad when they are caught despite how horrific their crimes are. Because it means that there's very little chance that anyone can escape law enforcement regardless of whether or not their crimes were just.

comment 11y ago · link · parent

Wouldn't raising the minimum was make shipping jobs to China even more attractive?
1
252627
89