Better HN
topnewbestaskshowjobs
Log inSign up

16bytes

781 karma · joined Jun 2, 2011 (15y ago) · 212 submissions

Submissions

comment 11y ago · link · parent

> No, Google is.

I didn't say they were the biggest, but they are one of the big boys. They just opened a huge robotics facility in Pittsburgh and yoinked dozens of staff from CMU Robotics. They are betting big on automated transportation.

> People will use whomever is the cheapest and meets their standard.

Right. I will continue to use Uber/Lyft because it's cheaper/faster than regular cabs. Heck, I'd even pay a slight premium because it's so convenient.

Have you even used regular taxis in a non-metropolis area? It sucks.

Even with employee drivers, Uber will be fine.

comment 11y ago · link · parent

I think the argument holds. Sugar has a huge and quantifiable LD50. So does, well, water. This tells us that they are pretty much non-toxic at lose doses.

If the LD50 of the "toxins" is similar to water, how can one claim that "de-toxing" will have any benefit?

In other words, how can you call it "detoxing" if none of the things are toxic?

comment 11y ago · link · parent

Which is why it's one of the biggest investors of those automated cars. Investors see this and will continue to fund them.

Furthermore, their earning potential doesn't instantly vanish. They just compete with existing transportation companies on more even terms.

They have a vastly superior product; there's no reason why they won't continue to be widely successful.

comment 11y ago · link · parent

You didn't ask if it's possible to have a knot perform the same tasks (break an uncontrolled descent) without friction, you asked if there were any examples of such a knot.

Is it possible? I can't rule it out.

Are there existing knots that do so? None that are commonly known, no.

comment 11y ago · link · parent

Notebook in this example is much like the notebook concept in ipython.

Basically, it is a literate program that allows you to intersperse code, documentation and visualizations in the same "file" called a notebook.

If you are familiar with how mathematica works, it's basically the same thing.

If you do data-science at all, or even get tired of working in excel, I recommend picking up ipython and matplotlib.

comment 11y ago · link · parent

Last I checked. Docker will pull a delta when resolving new containers, but will export the entire thing if you want something for offline usage.

I had the same question as OP and didn't find anything that works as he described it when I looked 6+ months ago.

comment 11y ago · link · parent

Hi Eric! I enjoyed "The Lean Startup" and I think the approach for the new book is very interesting.

Besides establishing the backer-only discussion community, what other lean methodologies are you using to write this book?

Along those lines, have there been any significant pivots yet? Obviously, the kickstarter seems to be doing well at over 3.5x pledged over the goal. Do you think that this is validation of the new content that the book promises to deliver or is it simply riding the coat-tails of the previous success you had with "The Lean Startup"? How are you measuring success?

I only now noticed that there's also a Reddit AMA, apologies if you've answered in that thread already.

comment 11y ago · link · parent

I actually don't mind most ads. If you've got a static ad related to the content I'm browsing, it doesn't bother me. I actually might click on it. I feel the same way about ads in newspapers and magazines.

But then there's the increasing minority. The get-in-your-face-as-much-as-possible ads. The interstitial ads. The noisy video play-by-default ads. The scroll-over ads. The ads that follow your mouse down the page. The ads that go as far as they possibly can to disrupt whatever I'm browsing.

No. That's too far. That's why I block ads.

If there was a way to white-list "responsible" ads, I'd do it in a heartbeat. Until then, no, I won't subject myself to that arms race.

comment 11y ago · link · parent

So, I want to use a pretty lightweight framework, but then I'm not writing javascript anymore? I have to compile it like coffeescript? But what if I'm already using coffeescript? What if I want to use typescript?

Now I have to introduce a build step when I'm developing, or do I just say compile it on the client? If I use the new nodejs tools for visual studio, how does it affect debugging? How does it affect completion and highlighting? Does it break node-inspector? Maybe my team uses a bunch of different IDEs and debugging methods, now I have to see which ones break?

For me, it's a non-starter b/c having a framework say, "oh we recommend you write in a different language" seems so completely backwards to me.

I also don't think their justification is very convincing. Basically they say, "markup and code belong together because we think they should and that's why you should use JSX." So basically, they want people to use something that's not javascript because of a design decision they like. Weird.

comment 11y ago · link · parent

This is very interesting to see since I value Netflix's opinion. What's been holding me back was the pervasive JSX design. I know the react guys say that JSX is optional, but react without JSX seems cumbersome compared to, say, ember with handlebars.

It'd be interesting to hear from Netflix on the topic of JSX if they are going to grow their react codebase.

That being said, isomorphic javascript and using the vdom are really attractive and if react starts to lead those fields, then it becomes much harder to ignore.

comment 11y ago · link · parent

Looks to be an attempt at setting a readable line-length.

http://baymard.com/blog/line-length-readability

I usually like reading articles with this width, but there's usually a different color background to differentiate the article from the page so there's not this huge white-space void.

Other than that I thought the article easy to read.

comment 11y ago · link · parent

If the current law says that you need to be in the targets jurisdiction to obtain a warrant, and you can't find the target's location because they are obscuring it via a VPN or Tor, doesn't it make sense that the government should be able to get a warrant in the jurisdiction where the crime was committed?

Can you link to the part that is changes to "broad sweeping authority"?

comment 11y ago · link · parent

To take your argument further, it's not the equation of the A-bomb, it's the implementation? That's somewhat compelling.

But, at least in the US, firearms aren't illegal. Using them in a crime is the illegal part. The biological act of moving your arm isn't illegal, but hitting somebody is.

The analog would be making it illegal to form a fist because you might use it to attack something.

comment 11y ago · link · parent

Technology marches inexorably forward. These algorithms already exist in unbroken form. What the government is doing is mandating that Apple and Google make user's data less secure. The government will claim that any such backdoor will only be openable by them and only in cases of great need (read terrorism).

What will happen is that non-governmental organizations will find these keys and get the same ability. What will happen is that the government will overreach, as they have done before time and time again.

This isn't about stopping terrorism, this is about keeping the current ability to spy on US Citizens. The internet was the single greatest intelligence boon in history and the government is concerned about loosing spying capacity.

Unsophisticated terrorists would gain little protections from at-rest and over-the-wire encryption. It's really quite easy to screw up and be found in the dragnet. Sophisticated actors would be using additional software anyway. You know, the kind that already exists.

The libraries are free and public. The algorithms publicly published. You can't put the cat back in the bag.

The government is trying to legislate particular usages of math. They are literally saying that Apple and Google shouldn't be using certain sequences of numbers. This isn't an exaggeration or hyperbole since everything is encodable in numbers and obviously some communication is illegal.

This is literally illegal equations, and it is so very far down a slippery slope that every citizen should be concerned.

To answer your question, the government will still not be able to decrypt many communications, even with this backdoor. These technologies protect casual users from data theft, but putting in backdoors makes everybody less safe.

comment 11y ago · link · parent

Apologies, as I misinterpreted your short reply. It was a bit odd have "how is A different than B?" replied to as "well, how is A similar to B?".

Now that I think about it they are both quite similar ("build apps with node.js/html/js/npm") and very different at the same time (webserver vs chromium runtime), so both questions are fair.

comment 11y ago · link · parent

What made you draw the conclusion that your comment was contributing to the discussion?

That somebody didn't know about deployment (server vs. client) differences between two young frameworks for building single page applications?

comment 11y ago · link · parent

> Many people find that with a little care, they can live nicely on little

I believe this is the crux of your argument, and I would say that it is a postulate that cannot be assumed. If the "basic income" were $1k, few people would find they could live on it and thus the motivation to work would remain. On the other hand, who would work if they received $1 million per year? What if it's somewhere in the middle? I would argue that the incentive for work would remain if the benefit only brought people up to the poverty line.

Who wants to at live at the poverty line? $20k for a family of 4 affords very little luxury.

> Basic income also risks devaluing money

Do foodstamps make food significantly more expensive for everybody? What is the percentage of all food revenue bought with food stamps?

If 14% of US citizens live below the poverty line, the vast amount of GDP, productivity, taxes and whatever else you want to measure are generated above that line.

I've heard some arguments that a flat livable wage, without eligibility requirements beyond income would obviate the need and overhead for a whole slew of expensive social programs, including social security, welfare, food stamps, and the minimum wage.

Then there are small scale experiments like the one in the original article, though limited in actionable data did not produce behaviors like you described.

So, to answer your question, it can be sustainable because it can replace some expensive and hard-to-administer social programs with a relatively easier to distribute system. There are tangible incentives to earn more than "basic" income, and training to do so becomes easier. Lastly, the bulk of GDP and the tax base are generated by those far above the poverty line.

comment 11y ago · link · parent

For those unversed in economic theory, care to explain why a basic income--analogous to the one presented in the article or otherwise--is not a sustainable solution?

comment 11y ago · link · parent

It's a completely open-ended question and I word it differently depending on how the interview is going. You can demonstrate passion for technology even if what you talked about was a one-off utility that you wrote for your job.

I want to see if your eyes light up when you talk about it.

comment 11y ago · link · parent

I love this question and use it as part of my interview deck. It is only part of the deck, however.

This question is a great positive indicator, but a terrible negative indicator.

That is to say, a person who works on a lot of stuff in their spare time is very likely to be someone I'd like to hire. The reverse isn't true, which is why there are other questions in the deck. I realize that there are great developers who don't have a well populated github profile and dozens of side projects.

If I had a candidate that had trouble with the question, I'd expect them to say so. I'm a pretty reasonable person. I would not expect them to try and exit the interview early with little to no indication why.

comment 12y ago · link · parent

Agree. The anti-pattern here is expecting a specific answer for a question. The goal should be, "how does this candidate think through problems?" If they arrive at a logic solution and can critique it, then I would consider the question completed.

Some questions are better than others here, specifically ones that have many correct implementations and varying levels of optimal-ness. I'm a big fan of asking for Fibonacci implementations, for instance.

Since this question can have different correct implementations, then I would not consider it a bad question to ask.

It's upon the interviewer to be open to different answers, evaluate them fairly and ask smart follow-up questions. "Ok, so what's the complexity of your answer? Do you think it's possible to do better?" or "Compare your answer with this implementation".

comment 12y ago · link · parent

Just looking at the issue tracker seems to indicate there are some problems with the windows build, but it does seems to indicate they are well on their way.

comment 12y ago · link · parent

I truely can not tell if this comment is meant to be flamebait, buzzword-laden sarcasm, or NoSQL fanboy-ist.

comment 12y ago · link · parent

Your emergency funds don't need to be cash in low interest savings/checking.

For example, home-equity line of credit is great for just sitting there most of the time unless you really need it. That frees up capital that you'd otherwise tie up in liquid cash that doesn't do anything.

comment 12y ago · link · parent

Agree. For me anything that says, "LIKE X on Facebook." is an instant non-starter. At least give people an alternative, non-social registration mechanism.

In fact, if there is an old-fashioned non-social way to do it, I'm more inclined to actually use facebook or twitter since it doesn't seem so pushy.

comment 12y ago · link · parent

This is because hg pushes all changesets by default. There are two workflows in hg that would get you what you want:

hg push -b default

Pushes only changesets from the default branch. You can also do these with phases by marking your branch as private.

comment 13y ago · link · parent

Maven stores all of the artifacts that it retrieves in one big local cache so that you don't have to pull the same dependency down.

NPM, by default, will store the artifacts into a directory local to your project.

The maven way sounds nice, but it's easy to possible to screw things up between different projects. (Especially if you have mvn 2 and mvn 3 projects, ugh).

With NPM, everything is nice and separated.

Ivy is like a mix of the two (a global local cache, but pulls down to the local project), which IMHO, has the benefit of neither while getting the drawbacks of both.

comment 13y ago · link · parent

Every so often I hear about a frustrated programmer complain about not being able to access private or otherwise inaccessible methods.

Could that code be useful? Sure, but that's not the point.

Information hiding is one of the core concepts in OOP:

http://en.wikipedia.org/wiki/Information_hiding

It's not even constrained to OOP, take C for instance: why it is that all functions are not exported in a shared library? Are they nefariously hiding code they don't want you to see? No, it's just that they are minimizing the interface between components, which is a concept as old as modular programming itself.

It makes change easier to contain and allows one to reason over large systems.

This is a good thing. Hiding implementation details is a good thing. Using closures to implement private functions in javascript is not bad. It's advocated in "Javascript, the good parts", as a pattern.

Should one try and write javascript as if it were java? No, and overuse of this pattern leads to a bunch of boiler plate. One usually tries to remain state-less and write deterministic, side-effect free functions that do not depend on closed variables.

Is it handy tool in some cases to implement DRY? Yes. Should it be considered harmful? No.

comment 13y ago · link · parent

I think this article is oh-so-close to making some great points. Using a DSL like XSLT for XML transformation is a lot more productive than in Java.

"Quite simply, each language is good for its specific task, but can't (easily) do anything else."

Correct, let XSLT do what XSLT does (transform XML), and fill in the rest with Java. I've been paying attention to XProc for a long time and seems to be good fit for what it does, (manage series of XML transformations).

"All I need to do is use that XSLT directory listing function... that function that doesn't exist."

Well, that's true. I'm surprised that somebody extolling the virtues of Haskell would miss this point, but XSLT is supposed to be a pure-functional language. You should't make side-effect/non-deterministic calls during a transformation. Furthermore, since he discovered the ability to write to multiple output documents in XSLT 2.0, I'm surprised that he didn't think of multiple input documents.

The answer here would be to use java to produce all of the necessary input before the xslt/xproc pipeline. Create a temporary DOM filled with just a directory listing, you can configure Saxon to select on arbitrary documents that you create, and do it all in memory. Xproc is meant to make transformations composable in case you don't explicitly know everything beforehand, like if there's dynamically generated file content that gets populated from earlier transformations, but I think it's less useful than XSLT.

"Contrast this with the DOM model from Java."

Well, an API discussion on Java/DOM is a different matter entirely.

"Ant and XSLT are not designed for modularity."

Yes, they are. They are modular with respect to their domain models.

If the point was "Well, a client mandated the use of Java, but it wasn't so bad because I was able to do everything in XSLT and XPROC", it would have been interesting. Furthermore, one might have said, "If XSLT was a DSL written as an embedded API in a friendly language with extensible syntax like haskell, ruby or scala, it would have cut out the middle man".

To claim, however, that languages that aren't general purpose are dangerous becuase, well, they aren't general, is bit of a stretch.

comment 15y ago · link · parent

I like pass-phrases, especially with non-dictionary words.

Try a pass-phrase with

http://www.wolframalpha.com/input/?i=generate+a+pronounceabl...

1
45678