skysight-inc/HackerNews huggingface dataset:
I'm not sure how I feel about it honestly. I suppose in a dependently typed language there'd be some allowance for `IO Type`.
On the subject of super-optimization...

I was imagining a language which would super-optimize only for specific inputs. As an example, let's say you have a program which solves a Project Euler problem. The first time you run it, it takes a while. But the next time you run it, the result is "memoized" (on disk maybe, or embedded into the source code as a constant) and the program returns the value instantly.

This is similar to compile-time function execution, but there's a tradeoff. With compile-time execution, you only have to compile and run once, which is nice. But you also lose some flexibility, because you can't optimize for any values that are provided at run-time.
He's stating the problem is dynamic typing... so the expectation would be a type error (!).
I mean, I get the exclusive pricing, which they've done on their hardware before. But to not even let you buy it from them unless you have Prime, even at a higher price? That irks me. And most users don't know where to find the third party sellers (which in most cases won't support super saver shipping and such).
Wow, that would be an incredible source of data and a boon to the world. Imagine if it were 1) required by all deaths, and 2) freely released to researchers (for research purposes).
And even if it were, surely they wouldn't be locked to the same version as Chrome or Android?

Basically, I think lmm and gecko are both right: there should be exactly one repository per project, where a project is defined in terms of a set of stable interfaces with the outside world. Whether the total set of stuff your company is doing should be one project or a few or many, depends on the nature of the stuff you do, what it has to deal with, and your company structure; but the answer to that should determine your repository structure.
Yelling "fire" into a crowded theater is more than speech. Similar to when a person gets in another's face and screams at them it becomes more than speech. We can restrict modes of expression without restricting content.
Google launches vs. AWS price calculator
I don't think that I am contradicting myself. My government can be negotiating a slow burn transition off of the dollar, while still digging in its heals when that makes sense.

Maybe I am just being too optimistic, but given my belief that year after year the US dollar will be used less in international trade and business, I HOPE that my government negotiates to make the transition as slow and painless as possible. Some countries we will be able to bully and some countries we can't.
My understanding is that technical Illusions tracking system is tied to the retro-reflective mat. The glasses see some LEDs on the mat and use that to determine their position and orientation. So the tracking is limited to the glasses being in view of the mat. If you turn around, you're no longer being tracked.

The Lighthouse system, on the other hand, is a full volume tracking system that can be expanded to cover any volume of space. So I could walk around a room and no matter where I am or where I'm looking, I can determine my location and orientation.
Statistically, there is no reason to autopsy all deaths or even most of them and to do so would be a fantastic waste of resources. A random sampling would suffice. What we do now is probably not random, and not sure it ever could be given the need to defer to family wishes, religious requirements, etc. in cases where no foul play is suspected.
Admittedly funny.
Cassandra: Daughter of Dynamo and BigTable
Here's a similar use of Z3 as a keygen:

http://www.slideshare.net/extremecoders/keygenning-using-the...

I've been using Z3 at work for checking firewall properties (will have a blog post up soon) and it's pretty close to magic!
Promises are monads. `ok` is `return :: a -> Promise a` and `then` is `bind :: Promise a -> (a -> Promise b) -> Promise b`. All other behavior arises from that, the monad laws, and the operations

throw :: Error -> Promise a
reject :: Promise a -- I guess, not sure of the semantics here
LSD was accidentally discovered while looking into variations of chemicals made by Ergot. Maybe it would be easier to modify yeast, maybe it would be easier to modify ergot.
My point was that comparing warnings with Orwellian censorship is hyperbolic.

The first question you ask is already covered well in other discussion threads.

The second question I don't have an answer to. But that's the problem with trying to have productive conversations about a broad statement from a student group instead of discussing current and proposed concrete policies/policy proposals. In general, unless there's a concrete policy proposal on the table, we should tend to assume the best of people and avoid conjuring up Orwellian nightmares out of vague statements.
Scary stuff. Not because of the reasons cited in the article -- but because I hadn't previously realized that drug cartels have obvious incentives to invest in synthetic biology expertise.

That sort of capability can later be directed to applications such as massive destruction, or even extortion of nation states. Not to mention experimental organisms wrecking ecosystems. These dangers would (and have) made wonderful movie plots and I'd prefer them to stay on the big screen.

One obstacle in the past has been that the transition from "make lots drugs and robust transportation/communication networks" to "make weapons of mass destruction" has been so long as to be irrelevant. There was no plausible organizational evolutionary path from one to the other. But perhaps that has changed. This is just the tip of the iceberg in terms of applications of synthetic biology to drug creation.

Imagine what the word would look like if you could make nuclear bombs using the same tech used to produce heroine.

Would drug cartels have a thriving side business selling them to ____? Would any nation state be able to control the cartels at all?
For a moment I was a little frustrated at how we split everything into separate repos at work, mostly due to the difficulty of finding and refactoring code.

And while a monorepo would help a lot with discoverability, I think that the promises this article makes about cross-project changes are a bit optimistic since it ignores the difficulty of doing deployments in live distributed systems. Even if you have a single git repo, there will certainly be an order you need to deploy them in so that things don't break when the API consumer gets updated before the API provider. Google/FB/Twitter/etc certainly have a better deployment system than we do, so maybe for them it's easy, but it's not something that is just solved by going to a monorepo.
Ask HN: Cyc – Whatever happened to its connection to AI?
If it's for the public good then it ought to be paid from taxes. If it's just to satisfy the curiosity of friends and family then maybe they could pay for it themselves. Unless it'll somehow bring the deceased back to life, it would be weird for health insurance to cover an autopsy.
No, Tomte just knows more about the German Constitution (Grundgesetz) than you do.

Insulting your betters is bad form.
It's my understanding that the ornamental ones, being bred for the flowers, don't have much in terms of opiates.

</gardener>
There are 2 specific areas I let folks know about before securing Wordpress development help:

1) Plugins: Discuss with the developer their thoughts on plugins and how they should be implemented. Does the developer want to write their own? If so, discuss ownership and existing support. Leverage existing plugins? DIscuss conflicts of support among changes developer made vs. plugins.

2) Hosting: Non-technical people sometimes don't understand the effects hosting can have on a small business website. I suggest to them to ask the developer for their thoughts, especially if the developer is doing the hosting.

Wordpress is a great platform for small businesses.
Where in the README does it state that it is unable to do DNS?
Amazon has discontinued Flexible Payment Services, Amazon Webstore Services, and others. Presumably your warning to not rely on proprietary implementations is vendor-agnostic?
It is, but it only works for pairs and then you wind up with the relatively nonsensical 'fst' and 'snd' names.

My preference would be:

let user = await getUserByName('nolan');
let userAccount = await getUserAccountById(user.id);
// stuff with user and userAccount

But I have long since decided that I am never writing ES5 again, and since I therefore need Babel anyways I may as well turn 'stage: 1' on and use async/await. It's basically do-notation for promises.
I was surprised to learn the prevalence of illegal substances in prisons [0]. If authorities are unable to curtail access to drugs in one of the most controlled environments in the country, what hope do they have of removing them from the streets? Seems like a lost cause.

[0] http://nakedlaw.avvo.com/crime/how-common-are-drugs-in-priso...
OK, we get it, most HN readers were able to solve the puzzle in a minute or two. Most of us have done interview problems much more difficult.

I'm more interested to know what people think about Obama's proselytizing of computer science. It seems like a great move to me. Is he going about this in a smart way? Do you think he'll get the results that he's looking for?
Maybe because it's completely off topic?
Best web design tools and resources of May 2015
Thanks for corroborating!
Definitely find someone to learn with you or to help guide you. I've been self teaching for a couple years and it can be a grind at times. Finally found a buddy to help me with data structures and algorithms (super fun btw) and it's a much better experience.
Videopixie (YC S11), a Video Production Startup, Raises $1.1M
Papaver somniferum is a large, pretty flower. As nice as most other poppies.

http://commons.wikimedia.org/wiki/File:Papaver_somniferum_(2...
Not to the subscriber that has passed, but insurance companies may benefit from the knowledge acquired from autopsies. Analysis could reveal that if the company covered some drug/procedure, the overall usage rate per subscribe decreases, saving them money in the long run.
I agree that 'trigger warning' is a leftist slogan that's bandied out mainly by social justice warriors, but just because the people pushing it are annoying doesn't invalidate the idea in itself.

But what's with this classification of "weak" people?

"Anyone who goes against that idea, including telling weak people they are wrong, is "evil"."

"But one does not need to shield 'weak minds' from the hardness of life,"

Is this a paraphrase from the story, or are you actually claiming PTSD-afflicted people are 'weak', and that weak people should be ignored? Did I miss something?
I wouldn't mind at all this being applied to me. Multi-month severance? Brutal honesty? Not wasting two months in a demoralizing process? It's far better for my liking than the drawn-out "piecemeal firing".

The one caveat I want to add is that this should only be applied to the senior positions, not to junior ones. A junior, by definition, is relying on the management to guide his efforts, he is not expected to be managing himself, therefore he should get a fair warning and offered a process to improve. A senior, on the other hand, is expected to manage himself, including soliciting and addressing feedback on his own performance and attitude. Therefore a firing should not be a surprise to him, and if it is, that means the person wasn't pulling his "senior" weight to start with.
Some interesting data about prime:

- Estimated at 40 - 50 million members(1)

- Estimated at $4 - 5 billion in revenue (1)

- That revenue = ~15.5% of Amazon's total revenue, incidentally this is just subscription revenue, not the money spent by the customers on purchases(1)

- Prime is growing 50% year over year (2)

- Prime members spend almost 3x a year vs. average customer (2)

So in that light you have to imagine that:

a) Prime members are dramatically more profitable than the average customer.

b) Acquiring more prime members > some pissed off shoppers that don't want to take a free trial

So in that light it doesn't seem like a huge stretch that Amazon starts packaging Prime with discounts on certain products, especially on razor-thin margin products to push the model.

And of course you also have Jet.com getting huge press for essentially being a "subscription only" ecommerce site.

(1) http://www.pymnts.com/in-depth/2015/prime-turns-amazon-profi...

(2) http://www.geekwire.com/2015/amazon-prime-memberships-grow-5...

(3) http://www.wsj.com/articles/startup-jet-coms-goal-20-billion...
I played with Edge on my dev machine, here are my initial impressions:

> Its slow. I ran some benchmark tools and it is so far behind Chrome and Firefox. (I know its still in preview)

> I dont like the idea of installing extension through Microsoft Store.

> Developer Tools is still behind Chrome or Firebug. Missing JS & CSS editing, viewing cookie etc.
You don't need a monorepo to solve this problem. The dependent projects would depend on a specific version of an artifact, rather than a 'latest' pointer.
Example: Project 1 depends on version 1.2.3 of Library A, and Library A builds are hosted in an artifact repo. Project 2 needs an update to Library A, and those updates are built and released as version 1.3.0. Project 1 continues to use version 1.2.3, until it's updated to work with the new 1.3.0 API.
That's actually brilliant. I assume you then need two lighthouses so you can do triangulation and get the position of your sensor rather just the angle to the lighthouse.
As I noted elsewhere here (esp. my bit about "fire!"), there is a difference between consequences emanating from the speech due to others acting on the information therein, vs punitive consequences contingent on the speech itself.

Don't confuse punishing someone for yelling "fire!" in a crowded theater regardless of reason for doing so, with punishing someone for instigating a crushing stampede by yelling "fire!" in a theater when there knowingly wasn't a threat thereof. Both are certainly "consequences"; I'm concerned that some here seem unclear of the difference and would protect the speaker in the latter case on grounds conflated with the former.
Dean Potter, Graham Hunt Killed in BASE Jump
I think the confusion stems from the fact that .then() acts like either .map() or .flatMap() depending on the return type.

If .then() was just .flatMap(), you could expect an error if you didn't return a Promise (for example, reject with a TypeError).

If .then() was just .map(), you could return a value of any type (for example, string or Promise<number>) and get back a Promise for a value of that type (Promise<string> or Promise<Promise<number>>).
I have been avoiding the ESP8266 because of the toolchain - when it was released, it was essentially a complete (buggy) proprietary firmware with the ability to write simple Arduino-like plugins.

The situation is better now, but it still requires several proprietary bits: https://github.com/pfalcon/esp-open-sdk

The cost of the esp8266 is very nice. A comparable solution from TI (the CC3200) is $15. But it's sad to see the hardware needlessly crippled by bad software.
: IEEE Internet of Things Ecosystem Study 2015
You are awesome. Thank you!
Last November I speculated why Google would let HTTP/2 get standardized without specifying the use of SRV records:

“This is going to bite them big time in the end, because Google got large by indexing the Geocities-style web, where everybody did have their own web page on a very distributed set of web hosts. What Google is doing is only contributing to the centralization of the Web, the conversion of the Web into Facebook, which will, in turn, kill Google, since they then will have nothing to index.

They sort of saw this coming, but their idea of a fix was Google+ – trying to make sure that they were the ones on top. I think they are still hoping for this, which is why they won’t allow a decentralized web by using SRV records in HTTP/2.”

https://news.ycombinator.com/item?id=8550133
These both strike me as extraordinarily unlikely outcomes.
Don't forget that they tend to expire, too. Even if you banked up a huge amount of GW$ last year, they're not gonna save you this year.
What are you calling for w/ "sabotage"? Non-violent protests? Civil disobedience? More?
So the "vetting" aspect / value add for companies was the fact that you get to ask 3 technical questions w/ the initial job details.

This is somewhat buried in the copy but... does it help to assuage that concern at all?

I'm hoping for that last category, those users will be easy to find in a search given that the focus is on skillset.
Using a religious objection for this seems appropriate. The belief that you can live forever by if your body is frozen after death is more or less the same as the belief that you can live forever if your body is intact and you worshipped the right deity.
OnboardIQ Raises $1.65M to Streamline the Hiring Process
You do make some good points. Perhaps my frustration at the Agile Manifesto is misplaced. I'd still argue that the canned processes that emerged due to the creation of the Agile manifesto are amongst the worst ones available, but for sure I have no real proof for that other than my own personal experience.
It was Google, not the users, which set the old pricing model which people optimized for when they wrote their apps. Many apps which had to be shut down were already doing "right" things like caching, using task queues, and economizing on datastore accesses. It was Google, not the users, which designed App Engine so that porting away would essentially require a rewrite. It was not the users but Google which neglected certain popular language runtimes so that they were no longer cost-effective after the price hikes. And it was Google, not the users, which kept the issue opaque so there was no warning of how big the price hikes were going to be. If certain users found that they could sustain a double or triple bill, that doesn't mean it is the fault of the other users that they were forced to mothball their apps.

The users didn't decide any of these things, and are not to blame for them. What kind of service blames its customers for its own mistakes?

Google earned this distrust fair and square by suddenly forcing huge numbers of customers to rewrite all their existing code. Little price cuts don't matter: other services are already more cost-effective and are cutting their prices all the time, but even if there were price parity the risk attached to the lock-in just isn't worth it.
This is a great idea. The technical interview is indeed a skillset (on either side of the table) and it's great to see more efforts focused on educating people to do well with them.
A Millennial’s Guide to a Compelling Job Ad
You would be able to get some distance information via the modulation on the signal. If your photodiode response was able to pick up phase changes, you can estimate distance. The light arriving at closer diodes will have a different phase than the further diodes. The article mentiones "MHz" intensity modulation on the does which gives you several meter wavelength.
It might be different out of the USA, but when I got into incognito mode and look at the Wreck-It Ralph Blue Ray I see this when clicking on more info:

http://i.imgur.com/tFz75kd.png

The last line is a link to other sellers.
Hyperloop Glides Toward Reality in California
Made me think of this: http://en.wikipedia.org/wiki/Lost_Cities.
what do you expect to be returned when you return a value not wrapped in a promise?

Nothing that's a type error, it should throw a runtime exception just like all type errors in javascript, and it will show up in the debugger for the programmer to fix.

The ambiguity is actually the auto unwrapping of promises for subsequent then calls but I've yet to see a case where it's a problem (it's actually what makes the API clean looking when used).

I'm not sure I quite understand what you're referring to, but I think you mean the fact that you can chain then calls

Promise.resolve(5)
.then(x => Promise.resolve(x + 5))
.then(x => Promise.resolve(x + 5))
.then(x => {
// x == 15
});

This is totally sound behavior. The simplified signature of `.then()` is

then :: Promise a -> (a -> Promise b) -> Promise b

This makes `.then()` the `bind` function for the Promise monad. As a refresher for people who don't think about monads much:

(>>=) :: Monad m => m a -> (a -> m b) -> m b

While on this tangent, I'll note that `Promise.resolve()` is the `return` function for the promise monad:

return :: Monad m => a -> m a
Promise.resolve :: a -> Promise a

For your last snippet, I don't see an array so I don't know what ordering you want to preserve

It's a contrived example demonstrating how switching based on whether the return value is a promise can make hard to detect bugs. It's hard to come up with a short example for this because strange values turning up where they don't belong is a property of large, dynamically typed systems. So yes, the example doesn't use all the best practices.
When you are cooking, and your recipe calls for transferring a pan from the stove to the oven for finishing, do not forget that the handle to said pan will indeed get very hot while in the oven, and you should wear oven mitts when retrieving said pan.

Source: I am very skilled at burning the palms of my hands.
Also - regulation would not help. Drug cartels only need to know it is possible and they will find a way. Even in 3rd world countries there are universities. Scientists there are trained to produce miracles out of double nothing. And with the money cartels have - buying research won't be hard.
I'm sure this is less painful for people who still have the 30-day trial available to them. To everyone else, it's a $99 minimum cost to buy a $10 product.

But it definitely seems like this, combined with the new Prime commercials I've been seeing is a big push to get their regular customers moved over to Amazon Prime.
Interview with Eric Brewer
>> These texts, wrought with histories and narratives of exclusion and oppression, can be difficult to read and discuss as a survivor, a person of color, or a student from a low-income background.

> Is it really like this in American universities these days? I'm stunned.

Please remain stunned. Yes, there are actually teachers out there who care about how their students/audiences feel and experience as a result of choices made in the syllabus.

Please remain stunned for confusing, intentionally, a trigger warning with book burning.
Kinetic Bombardement
Google AppEngine is just one part of Google Cloud. The discussion and article at hand are specifically about Google Compute Engine.
Our Constitution was made only for a moral and religious people. It is wholly inadequate to the government of any other.

-- John Adams
Even better if it included doctors' notes, diagnosis, prognosis, and treatment before death.
Western civilization would be better off if David Cameron resigned. He just doesn't understand what he needs to do to lead. Sad really.
That's still a why. An irritating one, sure, but it at least tells me to look at the previous commit to find the real 'why'.
YC S11 :)

I remember geeking out with you over camera gear that summer (while I was doing something totally unrelated to video).
Any chance to jailbreak the Ring to be used with my IP video surveillance system? I have had the Ring for a couple of weeks now and it works as advertised but I was very disappointed to find that I can't record or even view the video on my home network.
Basically, we are trying to do what Kayak, Priceline and sites alike did to travel agents, but for loan brokers in the alternative lending space.