skysight-inc/HackerNews huggingface dataset:
For me the most messy part is being allowed to rotate the triangle to match it to one of the described cases.

Normally, if you assume triangle does not move, and then draw a random chord, then depending on relative position of the chord and triangle you use one of three methods described by Bertrand to judge whether it is longer or shorter than triangle side.

Then you need a way to count probability of each of those cases to happen and then count the weighted average of all three "paradoxical" cases.

EDIT: in fact I would just bet on Method 3 as a correct solution, because it is the most general: it does not require rotating the triange.

If you are rotating the triangle then you are in fact changing problem definition during solving it, which leads to some hidden assumptions (i.e. Method 2 is only good for chords which are parallel to one side of triangle, and Method 1 is only good for chords that do not cross with triangle sides)
A look at Mozilla's Firefox OS 2.5 a month away from release
Another name for fixing the vulnerability would be a mitigation.
What if they redesigned the subway to be a bunch of self driving cars? basically have the stop be a lineup of cars that you get into on demand like a taxi and have each stop have a bypass so if your small car didn't need to stop there you could move on unimpeded.
Stories without URLs get penalized, so you'd be better off posting this with the link and adding your text as a comment in the thread. Also, put "Show HN" in front of the title if it's your own work.

However, you'd be best off waiting a few days before posting this, since https://news.ycombinator.com/item?id=10324921 was just on the front page and users here prefer variety.
The human quest to find our place in the universe
With uMatrix you can selectively enable various features for sites. I tend to start with minimal sets and re-enable to the point I've achieved sufficient functionality for my needs.
Ick, ick, ick. I wish I could downvote this. I stopped reading when it became clear what Brennan was doing - betraying a lot of confidences with Jobs to make a lot of money. I believe that he was often genuinely awful, and for all I know, Brennan could have been cheated out of a lot of money. But there are things in here that could hurt Jobs' wife and kids. Brennan should be ashamed.
What is the purpose of the specimen sheet? Is that the same thing as a demo? It looks like a huge typographical mess to me http://devinhunt.github.io/typebase.css/demo/specimen.html, but maybe it has another technical purpose?
I think the impact of self-driving cars on real estate will vary wildly by geography as well as their adoption rate.

Urban roads in the US and Canada are quite wide and probably make it much easier to make an effective and safe transportation solution out of this technology. This isn't the case in Europe where urban roads are considerably narrower, regardless of city size. The same can be said about Japan as a whole and other large asian metro areas - Hong Kong, Singapore, Shanghai, Beijing, Seoul. Much tougher.

Europe and Japan also have a much denser rail networks than most of the US, which in turn will cause a different impact on real estate.

Driverless urban buses will probably be adopted much earlier as there are exclusive bus lanes in most medium and large metro areas throughout the world but I don't see it changing the dynamics in a fundamental way.
Learn Python Effectively,interactively with IPython -A Complete Python Tutorial
Well, that's not typical of most of the world, and that's still a lot more watts than something on standby should be using.
If anyone is interested, she's speaking tonight (10/4) in Palo Alto at the Oshman Jewish Community Center.

http://patch.com/california/paloalto/carol-dweck-speak-palo-...
F-14 Tomcat RC Jet – Awesomely Engineered
We Said We'd Never Hire an Admissions Advisor. Then We Did
Compared to "infinitely more deadly", that miscalculation is a drop in the bucket.
I'm going to play the spoiler and say that I think everyone here is on the wrong track. In the short term, yes, I think it will business-as-usual, with some of the ideas being discussed here happening.

But think of the transition from horse to automobile. If you didn't predict the invention of the airplane, your guesses about transportation in the future would have been pretty far off.

I think the questions to ask are:
-why will anyone commute to work in the future, when telecommuting becomes more and more lifelike?
-what will "work" even look like? We can't be that far away from most service jobs being replaced by computers/robots.
-Why would anyone go shopping, when anything they want can be delivered to them instantly or even printed on-site?
This looks good. Please email us at hn@ycombinator.com if you would like us to send you a repost invite. This is an experiment we've been running to give good stories an extra chance at attention on HN.
Lol there is a technology called LDAP, avoiding storing passwords anywhere on the server.

Don't go and reinvent the wheel if there are far better technologies widely adopted!
Handy? That sounds like a security nightmare. Your instances are accessible by simply being able to gain access to the Google account? Even with 2-factor authentication, this is a serious no-no to basic security requirements. A remote server should be only accessible from specific IPs using ssh keys. No passwords, no world-accessible browser interface.
Ask HN: What are the signs a piece of technology will become commoditized?
And what are some current examples?
"here's another interview brain teaser for sociopathic managers"
At startup size its considered unsolved. At multinational megacorp level its considered a solved problem, often enough your boss and some coworkers aren't even on the same continent.

One interesting social effect of self driving cars is I only see my bosses boss about every three months because he lives and works several hundred miles away, and I have coworkers I've never met in person. (note, not a remote job, just a typical "dozens of billions of dollars" non-tech mega corporation). Self driving cars mean I'd probably be stuck sitting in a car while working for an entire day to meet people face to face. For people who still believe in mystical laying on of hands, self driving cars would likely explode the amount of it that goes on, as I've found it weirdly true that famous projects are international, but its fractally similar in that you're also more likely to have a boss thats 30 miles away, or a bosses boss 800 miles away, not the proverbial instantaneous jump from the entire company in one skyscraper to fully distributed. Yes, a self driving car would be useless if my boss was in China, but things haven't spread out geographically that fast.
>How will you handle all of the "its not fair" complaints

You look at them with disbelief and ask why they designed it to skirt the edge of illegal levels of pollution and be so likely to fail.
Another one: http://audionotch.com

They offer not just white noise, but many other types of discrete noise samples. They also process your own music for you.
Turbines for sale
Its kind of pathetic the way some subjects get downvoted on here when they fall outside of standard well understood science. We aren't very open minded about certain fields.
Almost everything in there has already been reported many times and is well known. She's not 'betraying a lot of confidences' not that she owes much to someone who treated her so poorly.
OOP 2015 Keynote – Robert C. Martin (“Uncle Bob”): Agility and Architecture
This is an interesting article on a potentially interesting (but paywalled (anyone have a link?) study.

> 20 patients with schizophrenia in San Mateo, California,

One of the criteria for treatment (at least in the UK) would be "Does this interfere with your day to day life?" Friendly voices would tend to not meet that criteria. Modern treatment should include developing ways to live with the voices, rather than just medicating them out.

I'd be interested to see what happens if you include people who hear voices but who are not patients. I know a few people who hear voices, but who describe them as usually okay and only occasionally distressing. They describe similar "providing useful advice" experiences.

Here's someone who describes what hearing voices is like (he hears mostly external voices - a voice which sounds exactly like someone is standing behind you, talking to you, except there isn't anyone there) and an internal voice. He describes some of these as distressing and frustrating, but he talks about the first experiences as being friendly. And that, from the little bit I've heard, is a reasonably common experience even in the west.

(He talks about some distressing events from his childhood, so go careful)

https://youtu.be/LNAuckNrC34?t=15m20s
Take a look at elm-lang.org. It is a functional language that compiles to javascript. Effects are implemented as Tasks (as I understand kind of like a Monad). It has very good interoperability with javascript code.
This is good to have someone that defends these modern practices. My problem concerns NPR (i.e. npr.org) and their direction for the use of Drupal with a specific config for the sites for their local affiliates that often requires Google js for the site to function properly. Practically speaking, this will not impact most visitors, but most of these people are being pigeonholed without knowing it for advertising purposes. I have a big problem with this. It is now affecting non-technical people b/c of the use of (ad)blockers on iOS.
The Grand Theft Auto series (including V) uses bullet, which is a cross-platform open source alternative: https://en.wikipedia.org/wiki/Bullet_(software)#Commercial_g...

But Havok is clearly the dominant player in AAA
I agree. Paying people to do comprehensive tests in a few locations will probably cost less than a single brand new car, of which they're making thousands to millions. Even a thousand test drives is not that much; 20 cars borrowed for a month is more than enough to do those.
Further reading: The Origin of Consciousness in the Breakdown of the Bicameral Mind - Julian Jaynes

A beautifully written book about an excentric theory of the history of consciousness.
Qp tries: smaller and faster than crit-bit tries
The Battle Over Genome Editing Gets Science All Wrong
I'm not so sure that governments are too concerned with the 11 million cheating cars so long as they have a nice easy target to blame, fine, and play politics with. I have a feeling they'd much rather have one company and 11 million violations than 10,000 backyard mechanics helping themselves to 15 extra horsepower after reading an article on Hackaday.

Politically, DRM is still a feature not a bug.
Colored candy numbers
People that are too defensive on transit tend to cause congestion, not avoid it. Of course, that's dependent of the streets being full of people a bit more violent, but until we have all cars driving themselves, that condition will be true, what may take decades.

Also, if the car is self-driving, people will be want to make more trips. For example, if we send their cars back home once they got to work, we'll save on parking, but get more congestion. I'd love to automatically send my car to a mechanic when needed, what's also more congestion... I'm sure people will find lots of good reasons for sending their cars around.

Anyway, what will probably reduce congestion is a smart bus system. Imagine a small bus that takes you door to door, and takes only slightly more time to get there than your own car, but is way cheaper. I've seen that on the news just recently, I think it's Japan trying it.
21 Hobbies That Make Money Round the Clock
> Many people are just passive. Doesn't mean they want what they have.

Definitely worth repeating. Probably causes at least #5 and #8.
This is why people don't like marketers. It honestly doesn't even occur to you that there's a problem with e.g. screwing over vision-impaired users, because as a small minority not responsible for many ad click-throughs. "The right thing" begins and ends with money, and you don't even have enough moral compass to realize that normal people don't feel the same way.
Everyone seems to assume that robocars won't work in less densely populated areas, but I'm not so sure. In areas of little traffic it's possible to schedule trips further ahead of time. In addition, much greater speeds might allow a given number of robocars to serve a much bigger area. I'm sure there is a cutoff somewhere, but I think eventually it will be at a much lower population density than many expect.
The consensus among biologists today is that group selection does not occur: https://en.m.wikipedia.org/wiki/Group_selection
People are rightly downvoting dangerous advice. Chiropractic on the neck is associated with increased risk of stroke.
Bing is normally fine.

When I use Google, I use http://startpage.com
I like to explain it with a wager: pick a star from the night's sky. If you pick the star I'm thinking of, I'll give you a dollar. After you've made your selection, I'll give you the opportunity to switch to one other star, guaranteeing that either your star or this one alternative will be the star I had in mind. Do you want to switch?
I think Intel is just focusing on their core business.

Especially given it is under existential threat from the ARM world.
That’s typical for most of the EU. A group of 500 million people. More than the US. Meaning, there are more people unplugging TVs to save money than there people who are able to waste their money on Starbucks coffees.

And if more people are unplugging their TVs to save money than there are people wasting money on Starbucks coffees, then maybe, just maybe, saving 1.20$ per month on a VPS is worth it.
Murals in the Market: Street art festival in Detroit
uBlock (not origin because it's not available for Safari)

ClickToFlash - Flash can't autoplay

StartPage HTTPS - My Google traffic goes through StartPage
Ryu – component-based software defined networking framework
Also related:

https://en.wikipedia.org/wiki/Hearing_Voices_Movement

...which (if I understand correctly) seeks to de-stigmatize/re-characterize the hearing-of-voices as something that's not necessarily an illness requiring a cure, but a condition of mixed-utility to be coped with.
I had a wise teacher early on who without fail used "becomes the same as", "is assigned to", and "points at" when reading code out loud. "Is equal to / equals" was only for comparisons.

This has helped me to this day.
They will be networked, making demand pricing easy. So congestion becomes a political choice (if people refuse demand tolls in the name of fairness...).
> A remote server should be only accessible from specific IPs using ssh keys. No passwords, no world-accessible browser interface.

Maybe if you own the servers.

Since they're Google's or Amazon's servers you have to be able to administer them with some set of Google or Amazon credentials. Otherwise what would you do if sshd crashed?
I've seen that too and I still don't understand it.
It is very similar to do notation, but async expressions give you the ability to mix monadic and non-monadic code seamlessly and with uniform syntax within the same computation object. It's been a while since I've toyed with Haskell, but mixing regular Haskell and do-notation Haskell always felt like mixing two completely different languages.
Feyerabend on empiricism and sola scriptura
Boston startup Fasten offers cheaper fares, better pay than Uber
Well, some obvious probable historic figures who may have had more supportive cultural backgrounds include

- Abraham, whose voice first said kill your son, then changed its mind.

- Joan of Arc - who gave surprisingly good military advice

- presumably every "spirit guide"

There must be more examples, but hard to think of them
Ask PG: how many startups have used YC's SAFE agreement?
And most of that is constant time overhead of linking and trans, rather than linearly scaling overhead. :P
Better off in every way except for the whole choking in smog because you've essentially abolished emission regulations.
Personally I would have expected to see a 4 or 5 times imporvement n productivity from not being in an office where I was interupted maybe once an hour on average. Saying that a more competent manager could have probably elimiated a lot of that (instead he caused way more interuptions).
Some of the sensors involved cost $8000+ a pop [1]. The immense R&D expenses will need to be recouped from the vehicle price too. Expect sky high prices and little market penetration while the patents are in effect (20+ years).

[1] http://articles.sae.org/13899/
The abandoned mother of the abandoned child of a multimillionaire is justified in recounting any awful behavior she cares to recount.
Yes but in the same vein we can't really predict why people will want to go from point A to point B in the future. Today the main reason is to go to work or go shopping but we may have much more free time and simple want to go to different places/activities.
Where is that? That's literally 4-6x more expensive than my electricity.
Jopwell (YC S15) is hiring a full-stack engineer to help diversify the workforce
I'm not a fan of that term. It sounds so stiff and formal. When people ask what I do, I make it a point to always say "programmer" rather than "developer" or "software engineer".
Rack middleware and application for serving HTML+Ruby in very simple way
> If you write your promises code not to cause explicit side effects - it won't and you get pure code.

The way I've seen promises used in JS is always in this pseudocode form:

- initiate something side effecty (making an HTTP request, for example)

- resolve the promise once the value is ready

Is there something you have in mind for how we'd write promises-based code without side effects in JS?
Readability - through searching (also HN recommendations) because many websites delivering text do so incompetently

Pinterest Pin It - I used to enjoy Pinterest. I recognise they engage in some user hostile stuff, and that the mobile experience is sub-optimal.

Amazon's Add anything to wishlist bookmarklet - it's an easy way to create a nice wishlist. I would happily use something that took me out of Amazon.

Hacker News bookmarklet - it's a nice way of submitting articles, although I tend to do that manually nowadays.

I used to use "Track Me Not", an art plugin that generates a bunch of search traffic. I'd use something that did this properly.
For me, coding is the act of physically working in my editor. Software development is the whole thing - coding, writing docs, troubleshooting, support, etc.
Not an exhaustive list, and a bit of hyperbole on my part :-)

https://en.wikipedia.org/wiki/List_of_games_using_Havok
The article explicitly mentions reproducible builds.
Open source is the only means to guarantee software integrity. What surprises me is the fear that not enough eyeballs will look. But for VW, the scrutinising eyeballs will be employed by GM, Toyota etc. The incentive to catch your competition in cheating and thus collapse their business is enormous.

We should encourage more of it. Maybe give the competitors a factory each.
Same with many charities as well; they're created for PR & tax purposes, not to serve any actual public good.
Every game released using unity or unreal uses PhysX rather than Havok. Physx has a sizeable market share in AAA games too.
I was shown a similar problem (I believe it was originally a Putnam question) which asked if you could cover a chessboard missing one corner with L-shaped triominos, and then asked to prove whether or not you could always cover a 2nx2n board with one corner missing. Neat problem
Rather a simple exercise for a first-semester exercise sheet.
I've actually seen your site before and was blown away by the physics in your demo. Thanks for the awesome and detailed post!

I have fond memories of Trespasser. :-)
Fun fact: One charge against Socrates, the founder of western philosophy, for which he was put to death, was for hearing voices... that weren't Greek gods, but were 'other gods.' And talking about it. Preaching other gods being punishable by... death.
Indeed (spoiler!) an easy, but nice induction proof, which easily can be turned into an algorithm.
It should come down with time, no?

I can look in my phonebook and find 500 people to install new electrical wire in my house. I doubt I can find that many people that know how to install solar.. but given a few years, it could/should eventually become fairly common knowledge.
Moto X style with 21MP camera will come soon in India
Nock, Hoon, etc. For Non-Vulcans (Why Urbit Matters) [2013]
See also "Chesterton's Fence": https://en.m.wikipedia.org/wiki/Wikipedia:Chesterton%27s_fen...
If you understand problem 2, then you will get problem 3 as well, so let's focus on 2.

> It is right that probability = favaroble out comes / total possible outcomes.

No, not actually: It is only right if all outcomes are equally likely! (There's an old joke about the guy who has a 50% chance of winning the lottery, since either he will win it or he won't.)

In particular, you make that mistake here:

> 1) Potential Outcome 1: Both are boys 2) Potential Outcome 2: One boy and one girl 3) Potential outcome 3: Both are girls

These three outcomes are not all equally likely. Outcome 1 has probability 1/4, outcome 2 has probability 1/2, and outcome 3 has probability 1/4. (This is if you assume that each child has a half chance each of being a boy/girl.)

Norvig gets rid of this problem by listing out all four possible outcomes, which are all equally likely.

1. First child boy, Second child boy

2. First child boy, Second child girl

3. First child girl, Second child boy

4. First child girl, Second child girl
Clearly this should be automated, tied into the fire alarm system. Once employees are educated that their code is safe in an emergency and not to waste time trying to preserve it, fire safety is improved.
That demo is a really bad representation of whatever this is:

http://i.imgur.com/6tUIx5U.png (Chrome, Windows)

Those gridlines make a mess of the page and those headings at h5 and h6 look horrible.

It's even worse in a test env (PhantomJS, Linux):

http://i.imgur.com/7n3nOKz.png
I see nothing whatsoever incompatible with hardware refusing to run anything other than a small list of signed binaries, and publishing the source code and makefiles (etc) to create said binaries.

Hackers turning their / your car into a socially offensive mechanism should be treated similarly to putting firing pins back in decommissioned handguns.
That was my original point.
LDAP is a remote login provider, works through PAM-module and is nowhere near "lightweight" as it supposed to be. Also, it stores only one hash for original password, not many. If you do not have cached version of auth info on the server and remote login provider is offline, you have big problems.

I can't imagine a single reason why I will do remote login service for the root user on the front-end load balancing server of a high load project.

shadowd is not remote login provider, it only serves /etc/shadow hashes for local and possibly offline use.
On the Way to a Modular Cryptocurrency, Part 1: Generic Block Structure
If the source for the SDK is available, what part of PhysX isn't available? All of their core algorithms and solvers are available, although the Flex source code isn't available.
Game works is another kettle of fish thigh.