skysight-inc/HackerNews huggingface dataset:
From the JavaDocs for PropertyChangeListener [0]:

> A "PropertyChange" event gets fired whenever a bean changes a "bound" property. You can register a PropertyChangeListener with a source bean so as to be notified of any bound property updates.

I believe the idea of a "bound" property is a Swing UI concept. That is, it implements a binding from the bean to a UI element. If you look at the implementing class list, it's all Swing UI components that implement it.

[0] http://download.java.net/java/jdk9/docs/api/java/beans/Prope...
From what I understand, which is admittedly not very much, waterboarding is a lot worse than being submerged. It's not so much dunking you into water as it is pouring water up your breathing passages.
Hi, welcome on Hacker News

To make more people see your post, you should prefix it with “Ask HN: ” so people know it is a request, and make your title more descriptive.

For instance “Ask HN: Looking for blind coders to talk about [the subject]”.
I am not sure you can, but editing the content of your port to give more details about the topic, what your students do, etc. would be helpful.
They might be, but the person I was replying to wanted to disable all methods that shift window focus. It won't work, at least as of right now.
I think it is a UX abomination.
As I understand it, the Rift's weight includes the weight of the integrated headphones.

Also, the actual HMD (excluding strap, headphones, cable hooks, etc.) of the Vive is still about 40% heavier than Rift's, so there's still more "face tug" and fatigue over longer sessions.

Again, I have not directly tested this, but it makes sense as there's substantially more plastic in the Rift's strap system (i.e., back of the head) than Vive's.
Tiny Apps
Ask HN: Do you always pay taxes on your side hustles?
I think I might have done what you are talking about a while ago. See my write up on my website:

http://jack.minardi.org/software/whats-in-a-shadow/
If they are violating the law, they will be sued by the government and forced to pay what they owe just as any tax payer who violates the law. As it stands, they are paying what taxes they owe as allowed by our existing tax code. Out of curiosity, what, in your estimation, is the legal amount they have failed to remit?
There's definitely something Douglas Adams-esque about that phrasing.
Might be worth posting this

https://docs.microsoft.com/en-us/dotnet/standard/net-standar...

I should probably print it out

I was in version hell yesterday, targeting a standard (1.5) because I thought it would help me run as .NET Core 1 whilst supporting a 4.6.2 .NET Framework dll but that broke something else. It was a juggling game of trade offs
No idea. It just gets caught by the pop-up blocker for me. I end up just copy-pasting the URL over into a new tab, somehow.
Depends on the size. Sure AVX512 is great until either A) you thermally throttle or B) you cache miss. Keep in mind that AMD has 8 memory channels vs Intel's 6. So if you need to hit main memory (randomly or sequentially), AMD has a decent edge.
> Is Wikipedia Trolling?

No. They're asking for money. You should look up the definition of trolling.

They have similarly aggressive ads for people in the US as well.

> When is enough, enough?

When people provide as much value to Wikipedia and Wikipedia provides to them. By that I mean giving Wikipedia enough money that it can run indefinitely.
No. Police are necessarily involved in more risky encounters than laypeople. They have manyfold the opportunities to make a mistake than laypeople.

That's illogical.

There are myriad professions where trust is delegated to the person in that profession, and consequences to go with it. A doctor doesn't get a free pass if they kill someone due to incompetence when performing a surgery just because they do it more often. Heck, engineers are held liable if their work results in injury or death.

Yet, with law enforcement, the opposite is often true, even when the facts clearly demonstrate fault on the part of the police. You couple that with the "thin blue line" culture that results in police circling the wagons whenever one of their own screws up, and it's no wonder that trust in the police has eroded. The perception is that there's simply no consequences to police misconduct. And in many cases, that perception unfortunately matches reality.
Interestingly, Blackbird has a patent portfolio that is not exclusive to software, although Cloudflare intends to invalidate them all.
Yea, those were the only things that seemed to have a decent discount as well. The other discounts seemed very lackluster.
Instagram only had 12 employees when it was sold to Facebook in 2012 for $1bn
Sometimes a turning point happens and something that looked unreal becomes real. Look at Libya and Syria from 10 years ago and today. Most people there probably didn't see it coming, and most still don't understand why did it happened.
hustles
I've seen worse.
Yes, it's possible with a high degree of confidence to distinguish natural from synthetic diamonds and for synthetics, to determine which method (HPHT or CVD) was used to make them.

The IIDGR [1] company makes a series of devices (DiamondSure, DiamondView and DiamondPlus) that will indicate whether a diamond is a natural (and if so, of what type), or flag it for further characterization. One system will flag type IIa naturals for further analysis, as they resemble the best of CVD synthetic diamonds. Microscopy + (IR, fluorescence, and photoluminescence) spectroscopy distinguish a stone's origin to high confidence. Even though the best CVD stones have far lower impurities than the best naturals, they have internal strain patterns (optical birefringence) that can be diagnostic.

Most jewelers don't have these machines, but they are available as a service.

Faceted CVD stones have been seen up to 5 carats [2] and 10 carat stones made by HPHT are known [3]

[1] https://www.iidgr.com
[2] https://www.gia.edu/gems-gemology/winter-2016-labnotes-CVD-s...
[3] https://www.gia.edu/gems-gemology/winter-2016-labnotes-blue-...
I was curious about how small (file size) and efficient (memory) I could write a program with a GUI and came across this old gem. Most of them have links to their source.
Very typical of law review articles (academic publications in legal journals). Compare this famous humorous law review article, "The Common Law Origins of the Infield Fly Rule",

http://scholarship.law.upenn.edu/cgi/viewcontent.cgi?article...

(As something of a joke, it starts off by giving a citation for the meaning of the word "The".)
I was given one as a gift, and decided to try it for a while. The biggest benefit is being able to ask to hear any song, and being able to hear it. The Echo has brought music back into our lives, in a big way, which was a surprise. I also use it for listening to news and/or podcasts while cooking.
I'm an erlang fan but I wouldn't claim message passing is "fast" in the sense that you might be thinking of (though copying data does have some GC and CPU cache performance benefits that are harder to reason about.) There's no magic in Erlang; copying data is copying data. The benefits of Erlang lie elsewhere, and I've heard Joe Armstrong, when asked about BEAM performance, say something along the lines of "why do you care about performance [in this day and age]?"
Yes, China would take an invasion of a bordering ally as an act of war on them. It wouldn't be a risk of war, it would be the US declaring war on China, and much of the world's favor would go to the defender.

And yeah, the UN resolution is incredibly unlikely. That's why it would work, if China consented to the move it wouldn't trigger WWIII.
linkies

https://github.com/airbnb/javascript

https://news.ycombinator.com/item?id=9822975
> I think this is less of a concern with government funding, since in many cases the government doesn't care what you find — they just want you to do reliable research to see what the answers to relevant questions are.

I think that's a somewhat idealistic view. From my reading (which may be out of date, the book was published in 1999), even the basic research funding from governments often has a technological goal in mind, and many of the savvier grant applicants know what that goal is.
People tend to forget that scalability is not a binary property. You always scale up to some users, up to some architecture, up to some amount of nodes. There is no system that will scale to infinity without requiring developer intervention once business needs and application patterns start to settle in.

Distributed Erlang/Elixir has known limitations. For example, the network is fully meshed, which gives you about 60 to 200 nodes in a cluster. Or don't send large data over distribution, as that delays the other messages, etc. Some of those are easily solvable. For example, you can rely on your orchestration tools to break your clusters in groups. Or you can setup an out of band tcp/udp socket for large data. Others may be more complex.

The important question, however, is how far you can go without having to tweak, and, once you reach those roadblocks, how well you can address them. In many platforms, writing a distributed system is a no-no or, at best, they require you to assemble and tweak from day one. In this case, the ability to start with Erlang/Elixir and tweak as you grow is a feature.

And if you never run into those roadblocks, then you can happily continue running on the default stack. Just look at the many companies using Phoenix PubSub and Phoenix Presence, both distributed, without having to worry about fine-tuning the distribution.
> All that bluster is a very dangerous game and I don't understand why Kim plays it.

It is not difficult to understand. They consider the US and South Korea a threat to their existence and, as you pointed out, he doesn't want to finish like Saddam and Gaddafi and NK the new Iraq or Libya.
While you don't need language X to scale, certain languages can definitely make it _easier_ and more cost-effective to scale. So it can matter depending on what you're trying to achieve.
Wait, a profit-driven company is spending money supporting research into areas related to the company's interests?

Why is this even news? Is there a single for-profit company that funds research contrary to the company's interests?
Even today there are only a couple places in the former Soviet Union that can grow gem-quality synthetic white diamonds. Their production numbers are far less than the output of a single mine, and the results are still rather random. Prior to 2004 or so, the only synthetic diamonds that could be produced commercially were colored and primarily industrial-grade.
Google like the tobacco and oil companies and soda companies, etc largely/only want to fund research that furthers their business and public policy aims.

It's pretty simple. To equate the two, you'd have to say the USG only funds research that increases the size and scope of USG.
You can generally, just Discord is getting to a level of scale where the issue has more to do with architecture than language. All of their solutions in this post were Elixir-based solutions, and have very clean, easy APIs(and so far not very much code- all those libraries that solved their problems came out to ~400 LOC).

I guess the message here is, "There's never a magic bullet, but you've got everything you need to make yours."
I think the main reason would be that they can compare their scans directly against the original models.

If they were to use real world objects, any comparison would have to use another scanner, which would introduce its own bias.
FlockOS: World’s first chat operating system
Music with minimal words (which I find distracting) but often with vocals. Usually an album at a time e.g.,

Ibiza chill sessions (annual albums)
Melody AM
The altogether
Little dragon (NPR remix)

a lot of electric guitar - Steve Vai, joe satriani
The US was facing a direct nuclear threat. Risking nuclear war with the USSR was hardly an escalation. Also, there's a large difference between "risking"and "acting."

China has much more to lose than gain (economically and militarily) by warring with the US over NK.
It's new because the source of the funds was often not disclosed. Other than that, and it's a big that, there is not much there.

And by not much, if you consider the stakes low for sustaining a monopoly as long as possible.
Perhaps use the new ‘Map’ object in ES6 instead?
Twitter users sue Donald Trump for blocking them over critical comments
Here's a nice size comparison of objects in the universe.[1] According to that video (and a Wikipedia article on it[2]), the observable universe is 93 billion light years in diameter.

Yet the "farthest star" article says the farthest star is only 9 billion light years away, which is ten times closer than the diameter of the observable universe.

[1] - https://www.youtube.com/watch?v=4S69zZwYrx0

[2] - https://en.wikipedia.org/wiki/Observable_universe
If you have a share-nothing architecture, then yes, any language can scale to any load, some with more hardware than others.
I mean you've already said you don't know what you're talking about ("I have no idea what [Cat III] means.") but you're totally cool with taking a confidently authoritative tone on it anyway, I'm not sure what other conclusion anyone should be expected to draw.
I find taking paper notes and then reorganizing on the computer works best. The repetition helps memorization.
[1] does not mention a linear space requirement, it mentions O(1) time for random access and removal of elements. Both major implementations implement std::deque in this way libstdc++ [2] and libc++ [3], but you say it can't be so. Well well.

[1] http://en.cppreference.com/w/cpp/container/deque

[2] https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a015...

[3] https://github.com/llvm-mirror/libcxx/blob/master/include/de...
Ask HN: Is there any umbrella as a drone
I personally dont like a direct sun (btw 11am-4pm)

While hiking or on the beach i want to drone (with an umbrella) to make shade and follow me whereever i go.

Is there any drones to do that?
You're ignore that NSF/NIH funded research is plainly visible as the source of the funding upon publication of the research.
Where are you getting that info? According to the specs on both sites, the Vive is lighter than the Rift (although you're probably correct that this includes the weight of headphones whereas the Vive only comes with the in-ear buds). That to me makes it seem like the HMD hardware has gotten lighter because I can't imagine that they would make the straps less sturdy to shed weight. I could be wrong, but that doesn't make sense to me.

Edit: It seems the initial Vive release was heavier than the Rift but the latest release is lighter.
You mean the researchers often did not disclose the funding? Again, why is this even news?

Apparently, tomorrow the WSJ will be reporting that Google lobbies.
Ask HN: How long did it take for you to get your patent?
I'm sorry, but this just isn't a fair comparison. Software is hard and the impact of software security issues is seldom limited to just one tiny place where it originates.
I think that was the same impetus as the WashPo dataset. I do wish the United States made it mandatory for agencies to submit their data to the FBI. I also wish Eric Holder's Justice Dept didn't withhold offender race data from the NCVS. Interestingly, the FBI's Unified Crime Report seems to cover about 50% of police-involved shootings, making it a pretty good sample (and the UCR is generally consistent with the NCVS which is a survey of victims). Leaving data collection up to the media is sketchy, notably because the media are more likely to report officer race if the suspect is black and even more so if the officer is white.
That's why pensions should be provided by the government, as one of the things paid for by all those taxes you paid over the years.

Which is why I get really mad when the current Australian government tries to spin it that retirees are 'bludgers' and are a drain on the system when they draw their (paltry) pensions. No, these people paid 40 years' worth of taxes to the government, and being supported by the government after they retired was part of that deal.

You can't offer to pay me tomorrow for a hamburger today, and then when I ask for my money tomorrow, call me a beggar.
I mean, personally I'm using Elixir more for the language itself than OTP. I have a basic knowledge of OTP now after using the language for 2 years, but FP was my main reason for coming and staying, which for me has been the real fun of it.

Then again, FP for me was not difficult at all, and actually made several of the issues I had with my Ruby code not being expressive/obvious enough, or difficulty in composition, disappear overnight.
The Echo won't play you "Alexa, Buy This Song" [1] but that's probably for the best.

[1]: https://www.youtube.com/watch?v=AbigjSBk1qY
They're largely interchangeable in this context:http://blog.oxforddictionaries.com/2015/05/trolling-trawling...
I like the idea, but I guess the learning curve would be very steep.
Plus, people would have to learn two scripts: one for trying, the other for scribbling (which, IMHO, would only disappear once telepathic UI are stable enough).
Second just deploying wordpress on WPEngine for them, maybe put them behind a free CloudFlare account for the CDN. But offloading the security and caching instead of dealing with WordFence and W3 Total Cache plugins etc is well worth the "expense" of wpengine, which isn't much expense at all for any kind of actual business that generates revenue.
Ecto is hands down the best "ORM" I've used. At no point has it ever gotten in the way of us dynamically creating queries on the fly, just following the Ecto internals (not recommended, but totally doable) and has an extremely expressive syntax. The team behind it has been rolling out new features and are extremely responsive to requests on the mailing list. I encourage you to give it a chance.

The mental shift is that "schemas" are not objects in an ORM sense, but instead are just data, or views over data. The functions come from taking in data or a Changeset and manipulating those, versus calling a function on a class.

As far as errors, Elixir 1.4.5 has much better error messages, specifically printing the args to crashes and such, and OTP 20/ Elixir 1.5 should drastically improve Dialyzer error messages. I am not a Ruby guy, so perhaps you can say what you feel is missing from Elixir's messages and how the Ruby gem improves it. Also you can literally inspect running state on the fly with the BEAM tooling, so the need for things like debuggers goes down.
So you're saying the source of funding for publicly published research is not relevant? If so, that's not a reasonable/common position to take.
> The "Unix Philosophy" of "do one thing and do it well" isn't just a tagline. That philosophy is cherished because it's been proven to be valuable. Replacing init with something that moves away from that is certainly worthy of questioning, if not outright criticism.

Systemd is a whole group of small, factored tools that call to each other. This complaint gets trotted out a lot and I lump it in with the "It is different because it has new features."
I don't know how possible this actually is. I was having some issues with this, personally

Like isn't the point of docker to not be able to install a bunch of stuff after the image is built?
> For example, if you say "I'm going to research the effect of eating lots of eggs on cholesterol", the government won't care what outcome you find/publish. They funded you because they want the truth to come out about the question you seek to answer. There are some topics where the government "has a dog in the fight" — but much of their research funding is for areas where they are truly agnostic.

This isn't true at all for NSF and NIH grants, FWIW (and "I'm going to research the effect of eating lots of eggs on cholesterol" is not at all the level of specificity of proposals, which is part of this).

It's cause for criticism about how they approve grants (null results are science, too), but it's also partly a natural result of having limited money and many many requests for it.
This would be true if calculating the volume of various shapes was something that kids did for 16 hours a day, every day.

Formulae without context are meaningless to most.
Correct. The Soviet technology for growing diamonds is HPHT (high pressure high temperature). There are a handful of known producers and research facilities in the former Soviet Union that can grow diamonds, but all using HPHT. These were all industrial grade until the late 90s-early 00s, and colorless diamonds did not consistently grow with this technology for several more years.

The other technology you mention is CVD (chemical vapor deposition), which was not developed in Russia, and was not commercially viable for gem-quality diamonds until the last decade either.
It's done to escape from iFrame jail attempts. Rogue site loads bank site in iFrame, end user types in their password...
IMO this has significant appeal. Lots of firms can provide capital, but few can provide relevant expertise let alone training.

They seem to be trying to cover all bases with the Google Brain Residency the Machine Learning Ninja program, standard VC funding, and now this. If you have talent in ML/AI there is a way Google can help you succeed in the style of your choice. Want to be a founder? Excellent! Want to be a founder but also kinda part of Google? Sure! Are you super talented and experienced in other disciplines and want to explore AI and maybe contribute a 2-5% improvement to one of our model's performance? Yes! We have that!
Except alchemy didn't get man to the moon, for example.
They provide an installation method.

For servers, you can just run the daemon. For desktop, Nautilus is supported (or you can just run the daemon!).

https://www.dropbox.com/install-linux
>Who's outraged at her actions being misinterpreted?

Anyone characterizing her behavior as doing "absolutely nothing wrong".

You can both believe that the son-in-law and officer overreacted without believing the buyer somehow did everything exactly right. It's not either/or.

>The outrage is at the fact that a panicky cop saw something they thought was suspicious ...

Yes, people are outraged at that too, but they also blur that with the more dubious claim that "she did nothing wrong". I think that's pushing it. Again, not "either/or".
There's no such thing as pointing a firearm to "deter." One of the basic tenets of firearm training is that you never point it at anything you don't intend to shoot. And, when shooting, always go for a center mass shot. "Winging" someone is neither practical nor probable.
"Battle-hardened" code is a myth. Please do not appeal to it. Either you're doing the hard work for security or you aren't.

You do not need to experience a breach in advance to have a hope of stopping a breach.

Besides, if people cared about security they'd use tools and languages and runtimes that help them test thst code works right. They don't, by and large.
Hugo Larochelle
The definition of immigrant founder, as others have pointed out, is an immigrant or a child of an immigrant. I wasn't born in 1985 so it is almost as much about my grand parents (17%) as it is about me (20%).

My definition of immigrant is not a child of an immigrant.