skysight-inc/HackerNews huggingface dataset:
Why not just estimate p(A - B | observed data) and be done with it?
“The same law which imposes upon the husband the duty of supporting his wife, gives him a general and paramount claim to her obedience.”

I bet you don't get this bit in return.
Is the hot hand fallacy a fallacy?
8 Fundamental Ways to Run a Successful Project
> You can't build routing.

You actually don't need configurable (programmable) routing: We can model every synchronous circuit as a Mealy machine [1], therefore we need two functions and a register. Every function can be constructed from a hierarchy of programmable, fixed-size LUTs which are statically connected (for example, you can build a 5-input LUT from three 4-input LUTs). Now you don't need to build routing, it's implicit in the next-state and output functions.

[1] like this: http://electrosofts.com/verilog/mealy.gif
1st Law of Robotics for autonomous vehicles
Oh wow, I was looking for ways to do exactly this the other day.
My Account's Facebook apps are disabled
I would like to appeal for unblocking the my app. Its is affecting with our users using the app. Please help me.I will share my app ID to solve the issue.
Drug against pregnancy malaria may end up being a universal cancer drug
Benchling (YC S12) is hiring full-stack engineers to accelerate biotech
Ask HN: How SoftICE stop the windows?
How SoftICE stop the windows? Is it hooks IDT?
Shoppyst: A shopping inspiration and discovery community.
Tell the truth. Decide on a salary that would legitimately make you happy and tell them that figure. If they had planned on offering you more, the worst case scenario is that you will get offered your ideal figure. If they had planned on offering you less, the worst case scenario is that they will try and negotiate you down. Either way, whatever their next move is gives you clear insight into their perception of you.

Decent employers don't try to negotiate everyone down by default. The better employers recognise the value a decent employee brings to the table and goes out of their way to ensure that money isn't a concern.
Shoppyst is looking for beta testers to sign up.
We just got featured on Betalist.com
http://betalist.com/startups/shoppyst
SEO losing its popularity among SMB owners
With respect to homosexuality, as far as I'm aware, all of the verses that describe a punishment for it say that the person who partakes of it will end up on a sickbed. Given the times, it probably carried a high risk of STIs. Proverbs has similar warnings with respect to men who lose their vigor to prostitutes, or as a result of fornication.
I don't think that physical and cultural genocide is exclusive to the Victorian era. How much difference is there in reality between the Victorian drive to civilize and Christianize, and the modern Western impulse to ram "democracy" and "freedom" down the throats of unwilling societies at the point of a gun? If anything, they were a lot less hypocritical than we are.
Why Designers Think Users Are Lazy: 3 Human Behaviors
Uber Is Taking Millions of Manhattan Rides Away from Taxis
A scientist's first instinct is "get more funding". This cannot help but bias their conclusions.
Not at the moment, no. But it's not rocket science. The macro essentially creates a struct like this one:

struct S {
// How many fields are in this struct?
static constexpr unsigned int FIELD_COUNT = 5;

// Full specializations are not allowed inside classes, so add a dummy parameter <T> that is equivalent to S
template <unsigned int Index, typename T = S>
struct FieldTraits;

// Partial specialization for the first field
template <typename T>
struct FieldTraits<0, T> {
using type = int;
static constexpr std::size_t OFFSET = offsetof(S, anInt);
static constexpr const char* name() { return "anInt"; }
static constexpr type& value(S& self) { return self.anInt; }
};
// The first field itself
int anInt;

// Partial specialization for the second field
template <typename T>
struct FieldTraits<1, T> {
using type = bool;
static constexpr std::size_t OFFSET = offsetof(S, aBool);
static constexpr const char* name() { return "aBool"; }
static constexpr type& value(S& self) { return self.aBool; }
};
// The second field itself
bool aBool;
...
};

Now that we have the meta-information about the struct's fields, we can process them:

// Meta-function to process a struct's fields
template <typename T, unsigned int FieldIndex, unsigned int FieldCount>
struct ForEach {
template <typename Functor>
static void apply(T& object, Functor f)
{
// Get the field's value and call the functor with it
auto value = T::FieldTraits<FieldIndex>::value(object);
f(value);

// Next field
ForEach<T, FieldIndex + 1, FieldCount>::apply(object, f);
};
};

// Partial specialization to end iteration
template <typename T, unsigned int FieldCount>
struct ForEach<T, FieldCount, FieldCount> {
template <typename Functor>
static void apply(T& object, Functor f)
{
};
};

And finally a bit of syntactic sugar:

template <typename T, typename Functor>
void forEachField(T& object, Functor f)
{
ForEach<T, 0, T::FIELD_COUNT>::apply(object, f);
}

*(omitted for the sake of clarity: dealing with const objects, using rvalue references and std::forward for the functor to make the code work with non-copyable functors)
This is an interesting article - but really long, like a lot of articles these days; what is the strategy - just skim read it ?

What % of people read these long form articles all the way through.
That is what many that didn't bother to learn the specification thought.

Quote (http://www.w3.org/TR/xhtml1/#why)

Document developers and user agent designers are constantly discovering new ways to express their ideas through new markup. In XML, it is relatively easy to introduce new elements or additional element attributes. The XHTML family is designed to accommodate these extensions through XHTML modules and techniques for developing new XHTML-conforming modules (described in the XHTML Modularization specification). These modules will permit the combination of existing and new feature sets when developing content and when designing new user agents.

Quote (http://www.w3.org/MarkUp/2004/xhtml-faq):

If your document is just pure XHTML 1.0 (not including other markup languages) then you will not yet notice much difference. However as more and more XML tools become available, such as XSLT for tranforming documents, you will start noticing the advantages of using XHTML. XForms for instance will allow you to edit XHTML documents (or any other sort of XML document) in simple controllable ways. Semantic Web applications will be able to take advantage of XHTML documents.

The old HTML behaviors would be achieved by XML stylesheets, rendering into HTML4 or XML events.

There were then a plethora of standards planned to augment XHTML with application level.

http://www.w3.org/standards/xml/components

Bindings in XForms for example, http://www.w3.org/TR/2009/REC-xforms-20091020/#ui-binding-ex...
Redesigning Active Collab
Maybe wants the default alignment for performance. Plus that still leaves endian issues
OpenFace – open source implementation of Google's FaceNet
I can't help but wonder if it isn't simpler just to use gzipped JSON. I'd be interested to see a size comparison of the two. It seems like they're going to an awful lot of work to hand-roll a suboptimal text compression scheme here.
Can Microsoft ever be cool?
Finally we'll have some good data about user tolerance especially if this is really some high profile/high value news outlet.

So far not many went as far to ban users afaik.
Rainier Beach really is rainier than anywhere else in Seattle
Just wow....

It is really the other way around at other places. The orchestra in my town (my old employer before tinnitus ended my carreer) has a big image of the solo clarinettist in a quite out-doorsy clothing saying something about how you should come as you are and ignore the fact that the whole orchestra looks like penguins.
If hornbill is that valuable, why not breed and farm it?
At least parts of it are essentially developed this way: C++14's features were implemented in clang while the standard was still in development (if memory serves) and several of its main programmers are members of the standards committee. The module system that's been proposed (for C++1z?) has been implemented in clang as well. Since clang is open source, it could count as a reference implementation ;-)
Oh how things have changed /s
Sounds like applying a license similar to the GPL instead of copyright would solve this problem?
Google summer of code 2016 calendar
Deer are kept at artificially high levels in Scotland. A more suitable way to keep them "in check" would be to just let nature take its course on the deer population and on the countryside itself. But then that wouldn't sit well with the landed gentry who think it's a jolly good lark to go out shooting with the boys. Ho hum.
Anorexia May Be Habit, Not Willpower, Study Finds
It's the whole FAST/FIX clusterfuck all over again. Use a binary format and stop cocking around. You can't serialise/deserialise it faster and JSON is a string based mess. No low latency path can absorb it. Even influxdb have removed JSON support because it was their slowest part of their critical path that could not be optimised. Complete lack of mechanical sympathy + laziness is why JSON is popular outside of the web world
Intel's only got the ability to develop one microarchitecture family. When they try for more than one, things fall through the cracks and you get the Pentium 4 dead-end or the Atom's lackluster performance.

Intel's primary microarchitecture is aimed at laptops. It scales reasonably down to large tablet power levels and up to workstation power levels. For the high-performance server market, they can only throw cores and cache at the problem, with some enterprise features bolted on.

IBM's always targeted the high-performance server market. For a while, their Power cores were also being used for workstations and even a desktop by Apple, but that's never been the focus. They include things like decimal arithmetic and SMT and hardware transactional memory and they've been selling the high-end parts at 4-5GHz speeds for a long time.
Elon Musk Is Silicon Valley's Favorite Hypothetical Presidential Candidate
You haven't lived until you've implemented a compile-time counter in C++: http://b.atch.se/posts/constexpr-counter/ (which doesn't rely on compiler bugs)
> This is not spoken against in the Bible

Deuteronomy 17:17 begs to differ: "And he [the king] shall not take many wives for himself"
I guess it all comes down to the question of what any given band is. Is it essentially a performance arts collective just trying to cover its costs or a business just trying to maximize profits. All bands fall somewhere on that spectrum, and the answer to who is part of the band depends on where they fall on that spectrum.

firing a Tour Manager or Lawyer is not the same as replacing a drummer, it just isn't.

No, and replacing your CFO is not the same as firing an administrative assistant. But they're both part of the company.

in a rough analogy, just because a waiter brings you food doesn't mean they had a hand in making it in the kitchen.

No but they are crucial to the whole restaurant experience and thus the success of the business. A bad front of house can completely wreck the best of intentions that the kitchen might have, and a great front of house can save the day if the kitchen fumbles the ball.
I don't know if this is really how it is, but I feel as though "long read" articles became more common after Instapaper and Pocket, among others, came into prominence.
The author actually goes into detail about why they created this project on the about page: https://runemadsen.github.io/rune.js/about.html

On a side note, regardless of the alternatives, or that there is a 'better' way to do things, I found this project very impressive.

The author has released their work open source (https://github.com/runemadsen/rune.js/blob/master/LICENSE). It is people like the author that drive large parts of our industry, with generous donation of their spare time. Given this, it is frustrating to see the unhelpful choice of words of people in this comments section.
You presume this "not being greedy" won't mean their going out of business. Look at newspaper journalism for an example of free redistribution of copyrighted content literally killing an industry's worth of companies.
Even when permitted it was very rare.

For one thing only the very wealthy could afford it - each wife was required to have her own house (separate rooms in one house was not enough).

For the most part it was practiced mainly by traveling businessmen/salesmen who would have a wife in each city where they worked. (Don't forget how slow and long travel used to be.)

The main reason for permitting it is that historically males died more often than females, so there is a small surplus of females, and permitting a small amount of polygamy helps with that.

It's no longer relevant these days.
The comparison of sangria versus Mouton Rothschild wine has nothing to do with "classic" versus "modern" and more to do with art appreciation versus entertainment. There is a rich tradition of art music appreciation that has grown in depth and nuance over centuries. This tradition and culture grew in respect and aesthetic value over time, yet today a smaller proportion of the population holds the same respect and aesthetic values.

There is nothing wrong with being entertained by orchestral video game music, but to an initiate in the world of classical art music it is disappointing if listeners don't want to engage with orchestral music more beyond reliving their gaming experiences. There are so many more thoughts and feelings an orchestra can inspire in a listener if they invest in absorbing that tradition.
Usefulness of mnesia, the Erlang built-in database
Yes, that was exactly my point.
Well, I think you need to look at the intended use cases for transit. On the browser, transit serialisation is faster than binary precisely because it uses the fast paths. For server to server communication, it can use msgpack.

There's also a) it's fully schemaless and b) you can add new primitives. Which you may or may not need. But if you're looking for something that does a) and b) while being fast for browser communication, transit's currently your best option.
Am I the only one amazed by what the Clojure community and core team are conjuring up?

Doing client-side programming with things like CLJS, Figwheel, Reagent and core.async feels miles ahead of what we have in moden-js-land (es6/7, babel, webpack, React, promises).

If you were to start a startup today, would you be comfortable going with something like Clojure/script?
A Website Where You Can Upload Pictures and Show Your Creativity in Photography
No, not really. Military planes were shot down, yes, but those operated at much lower altitudes. It's damn hard to shoot down an aircraft flying at 10k feet, you need something like BUK to even be able to reach that high. That's why these fly levels are generally consider safe even over (low-tech) conflict areas; this isn't limited to UK.

More readily available AA weapontry is only good against low-flying targets and it was thought at the time that the "rebels" did not have high-end military equipment from Russia. That's an intelligence failure, granted, but not irresponsibility by the airline.
People could still get into debt because they know that the money is coming. Look at how many people buy things and assess the price based on the size of the monthly payments instead of the actual total price.
So the python implementation is 2.7 only...
Bathrooms?
VMware acquires Boxer
ZeroConf is a relatively simple protocol, and there are only a few implementations on the OS level. Since Dropbox control both sides of the protocol, and only run on operating systems (and not on embedded devices), they could easily ensure that all their implementations interoperate by testing all combinations.
The article is an interesting read. I wonder why it took so long to realize there are longer loops.

I'd think, but this may well be hindsight speaking, about everything that holds for tearm rewriting should hold for tiling.
I recently used this in a project where I simply wanted a typing guarantee that JSON can't provide (i.e., that a timestamp really is a timestamp when it arrives on the other side, not a string like in JSON). It's very easy to use, more or less just a drop-in middleware.
Yes indeed, thanks for pointing this out.
>Complete lack of mechanical sympathy + laziness is why JSON is popular outside of the web world

I generally prefer JSON as a serialization format for a variety of reasons beyond what you cited:

1. Simplicity/plain text. Even a total newb could read a JSON file and probably puzzle out how the data works. This is important if I'm providing an export function or otherwise expect my users might want to shop somewhere else to deal with this data.

2. Forward compatibility/future proofing. If somebody finds my JSON file in twenty years with no documentation, (1) ensures that it's not going to be lost to them and they'll be able to extract the data with minimal difficulty.

3. Cross platform. It might not be the best format, but it's going to be supported in pretty much any language I would ever want to add support for the data to in a new system.
If they're smart, why haven't they found a way out of poverty yet?

I mean, maybe there's some weird outlying cases, but for the most part poverty is caused by shitty decisions. Stupid people make bad decisions and wind up poor.
Not so. The NSA smiley [1] showed that the smartest of attackers (or maybe the chinese are, but that's besides the point) are still (or were still, as of ~5 years ago) relying on passive MITM. It's far easier to exploit a passive vulnerability for a long time - Active exploits leave traces, give clues as to who you are. Passive exploits often leave the user without any idea that they are being snooped.

[1] https://www.google.com/search?q=nsa+smiley&es_sm=122&tbm=isc...
20+ trackers blocked by Privacy Badger while reading this article.
> Let's take gay people as an example.
> Moses said no, Jesus said it's all about love,
> and Paul said no to gay people...

It is a misconception of Jesus' teachings to say that he invalidated the Mosaic law with a message of "it's all about love". Notice in the Sermon on the Mount for example how he is constantly going one level more conservative than the Mosaic law would allow, condemning not just immoral actions but immoral thoughts as well!

Here on the issue of homosexuality you believe Moses, Jesus and Paul say 3 different things. And yet Jesus clearly states that he didn't come to change the Mosaic law in any way!

https://www.bible.com/bible/59/mat.5:17-20

Martin Luther took that last verse to mean that Jesus is not merely giving a list of do's and don'ts, but rather setting an impossibly high standard for anyone but God to meet. Regardless, you have to either understand Jesus to mean that he's not contradicting Moses, or take Jesus to be a liar. There aren't many reasonable options in between.
I couldn't get the why of the project from the Github page alone. Rich Hickey's post introducing it a year ago is clearer:

http://blog.cognitect.com/blog/2014/7/22/transit

JSON has become the go-to schemaless format between languages, despite being verbose and having problems with typing. Transit aims to be a general-purpose successor to JSON here.

Stronger typing allows the optional use of a more compact binary format (using MessagePack). Otherwise it too uses JSON on the wire.

Anyone who knows more, please correct me.
Funny C Programming – Must Watch Till END for TWIST
even more pedantic... modern refers to the early 20th century period, the period we live in is contemporary. so modern classical: stravinsky, contemporary classical: john williams... same applies to design and architecture.
> People don't get that the wolves are gone because we killed them, on purpose.

The implication there is that we had good reasons to kill them which is very reasonable; but do those reasons still exist in the modern world that would preclude them from being introduced?
I live in Bath - it's a world heritage city, it's considered very beautiful.

Thing is, when it was built, it was viewed as a sort of tasteless Vegas-cum-Milton Keynes.

It's just a never-ending cycle, like most things.
Of course, if the victim claims the crime didn't happen, it obviously makes it harder to prove it did, and the prosecutor will take that into account when deciding if the case should be brought to trial.

But there are important reasons why one wouldn't press charges despite having suffered the crime; a few of the obvious ones include fear of retaliation, being unwilling to be in the presence of the perpetrator(s), lying to protect them, etc. And despite that refusal, there still may there be enough evidence to prove it happened.
> If consciousness is an emergent phenomenon of the physical properties of the brain, then surely it will also emerge from a sufficiently accurate simulation of those physical properties.

It's possible, but it may not be the "same" consciousness, and indeed, may not even consider itself to be. Perhaps better terminology to explore this line of theory would be to replace "thoughts" with "memories" and "consciousness" with "self".
Or if your goal is creating terror.
Reinventing XML, one data type at a time.
Requiring a reference implementation with a standard is a bad idea. First off, who's going to write it? The compiler vendors are the people who'd likely do the best job, and they already have to adapt their implementations for changes--now you're making them do it twice. Another, even bigger issue, is that it actually doesn't tell you what's hard to implement. MSVC, gcc, and clang all take different approaches to their compiler, and what can be easy to implement in one could turn out to be ridiculously difficult in another (e.g., exposing a full AST via reflective mechanisms). You need a diversity of implementations, not just one implementation, to know what's actually hard to implement and what's not.

It's interesting that you bring up export templates, because that fiasco feature actually already sort of had a reference implementation. The original Cfront compiler actually supported it (admittedly, it was very buggy). The problem with export was that, at the time of discussion (~1996), no one really understood just what the impact of all of the template complexity meant--they assumed that templates were basically just a typesafe variant of the C preprocessor (or at least that most common use could be boiled down to that description; its Turing-completeness was known by then).

So, in that vein, export template was seen as a "well, this is going to be tricky, but so is name resolution in general in C++" and the overarching use case was compelling (you can hide the implementation of a regular function, why not templates?). Compiler vendors objected to the feature, but not on the basis that it was essentially impossible to implement, but rather that major design points would need quibbles. It was eventually accepted into the standard largely with the understanding that everyone would implement something close to it, if not the exact current specification.

The only thing that would have prevented export template from being standardized would have been requiring a fairly robust implementation that could have discovered that export template really did infect every part of the code base in a horrible way, and it should be noted that reference implementations generally aren't that robust. Amaya, after all, didn't prevent HTML 4 or CSS 2 from having unimplementable sections.
Man claims he know the secret to eternal life
The rabbits are on strike
Four fatalities in Australia last year for Crocodiles.. http://www.ntnews.com.au/news/northern-territory/record-year...