skysight-inc/HackerNews huggingface dataset:
Imagine you have 100 ordered rooms. All initially are filled with gold and ponies. God tosses a coin and depending on the result of the flip God strips 10 or 100 rooms of ponies and gold.

You are in one of the rooms, open your eyes and see that there is no gold and ponies around. You take a look at your room number and see 7. Then you know that best decision is to operate on assumption that there is 91% chance that only 10 rooms were stripped of gold and ponies. So lots of gold and ponies should await you very soon as you move to further rooms of increasing numbers.

Reassured with that bulletproof argument we may look into the future with hope that rather sooner than later there will be times where we won't be confined to this dull rock we evolved on, to this lame rapidly decaying bodies with machines that push those clunky electrons around that can barely add 0 to 1 while overheating immensely.

Because near future is (likely) full of gold and ponies.

I hope this illustrates why purely philosophical arguments are empty of any utility. If you reason without experimental data to anchor your reasoning to something real you end up with reasoning that works just as well when applied to the thing you had in mind when it wandered as to thing opposite to your intention giving opposite conclusions and teaching us absolutely nothing about world.

Ah. First two dowvotes and no comment from fans of realworld importance of philosophy in this day and age. How classy!
Author here. If you let me know some sources for the above, I'd love to add them. Contact info in profile. Thanks!
The other "Missing feature" is null safe ".". Other languages have it, but I don't know what the technical name is... basically:

Integer val = some.other.chain.of.objects.value;

In Java, this code has a huge potential for NullPointerExceptions. Instead a new operator (yes, I know) like:

Integer val = some.?other.?chain.?of.?objects.?value;

If any of the intermediate objects are null, the whole assignment becomes null. This could be done with a smarter compiler (easy way), or a new JVM bytecode (probably 'better' but not easy).
I think you could also have done something like "&(v[0])" to get the same thing.
Any suggestions on single sign-on (SSO) with WordPress + Wiki + Discourse?
Cannot ask on StackOverflow as it would be too broad / too generic.

There is an organisation that does really well and now is in the process of revamping their IT... New forum engine (move to Discourse), wiki (quite likely MediaWiki) and CMS (quite likely WordPress).

What would be the way for single login to work across all the systems? (Wordpress + wiki + Discourse)

My guesses:
* http://openid.net/
* https://www.mozilla.org/en-US/persona/

Any feedback / suggestions / recommendations welcome :)
Thank you
I can see that yeoman is one of the included tools, but I don't see what Rec Room adds on top of the capabilities of Yeoman. Couldn't this entire toolchain be encapsulated as a Yeoman generator?
Author here. Make sure to check out the examples and docs! This is alpha-stage software, but there is roughly enough functionality to build a complete modern video game.

Please ask me any questions you have! Feedback is appreciated.
I wonder: why Java and Spring? Do you consider other Java implementations?
Interesting article. I hope that the families affected by this Met Police massive error of judgement find a way to get peace in their lives.

I imagine that many are deeply hurt by the actions of these undercover police officers. This lady was obviously deeply emotionally scarred by her failed marriage to this man.

I also feel some sympathy for the officers involved. The police are a brainwashing operation on young impressionable minds. In many ways they are also victims of the state.

It is likely that those responsible for the decisions that led to this happening are long since retired and nothing will happen to them, but it must lead to safe-guards to make sure it doesn't happen again.
Why Do We Say “Big Red Barn,” But “Red Big Barn” Sounds Wrong?
The concept behind httpshaming is great, although it would be nice if there were a softer/more positive initial request to the sites to add https. However, it's not like https is new; even post-Snowden is over a year now.

I love TripIt, but they really need to fix this for me to keep using it.
This problem has to be solved on the supply side. As long as researchers keep voluntarily publishing in journals that jealously guard knowledge from the people who (often) paid for it via their taxes in the first place, nothing will change.
Wow, thanks for sharing this! Love the meteor community :)
It just predicts that farther future is more uncertain than closer future if you know nothing about how past influences future.
Has anyone taken a look at the new versions of Bjarne Stroustrup's C++ Programming Language [1] or Scott Meyer's Effective Modern C++ [2]? The originals are classics, and I would be interested to know if the new versions hold up.

[1] http://www.stroustrup.com/4th.html
[2] http://shop.oreilly.com/product/0636920033707.do
Is that not what final does?

I'd be interested in seeing C#-like getters and setters. As long as they're just getting and setting, they're implied, but if you want to introduce a check or some other logic, you can do so without changing the signature of the class.

Groovy does some of this, but it requires you to use the name of the field - ie. person.age will check for a getAge() method first, then fall back on the "age" field. I quite like that methods have verb-names, but I don't want to verb my fields.
That's true but there are a hundred reasons why you should use an external API email service, like better deliverability to secure, authentication of your emails etc
That's indeed what I'm refering to.

Mithril doesn't have any dependencies. It takes 13KB minified, down to 5KB when gzipped.
Complete iOS7 Course – Learn by Building 14 Apps Free
Why don't you use an IDE that shows you the type?

I do agree that jumping into a new code base can be slightly more trickier if type inference is used, but it's a minor point compared to the benefits in my opinion.

If you cherry pick something like Vec2i, type inference doesn't look that good, but the benefits are clearer from more complex code.
The thing is that the web doesn't need to catch up to native. The web just needs to satisfy the definition of "quality" held by the majority of users, where "quality" is defined as "fitness for use".

It's not only possible, but almost certain that the web will achieve acceptable performance for 99% of use cases in the next 1-2 years. After that, the web ends up with greater "fitness for use", since they can be ephemeral (instant, on-demand, no installation required), which native apps cannot do.

The only place where native is likely to hold out for the long term is 3D head mounted displays like the Oculus Rift.
Not really a place for it in a strongly typed language like Java :/ I could maybe see language support for creating Maps or something, but in Java you're supposed to create your own Objects and let the compiler check your code for errors.
Defining Algebraic data-types in Haskell by Don Stewart
Apple releases OS X YosemiteJailbreak Watch
That does make sense. But it still leaves me a bit wondering what the state of KDE5 is. I mean when can it be considered as released and ready for production? Will Kubuntu ship Plasma5/KF5 next release (14.10) even if the applications are not yet ready?
There's always JRebel!
Show HN: Reviewo – Ebay feedback system for your website
How to Run and Wrap-up a Meeting
What's to prevent someone from modifying the firmware in their own car which either indirectly or directly causes destruction?

This by its very nature cannot be a closed network.
"At best, an air gap is a high-latency connection." -Ed Skoudis
"recover" doesn't neccessarily have to mean that they had the mails in plain text
That's just a special case of a general feature of probabilistic arguments: a small but positive fraction of the times they are used, they will give wildly misleading predictions. If we assume that everyone uses the doomsday argument with a uniform improper prior on the total number of people who will ever live, then all of them will conclude with 95% probability that they are not one of the first 5% of people to ever live (that is, that no more than 20 times the past population will be created in the future), and 5% of them will be wrong, which is exactly how probabilities are supposed to work.
I read his short A Tour of C++ and enjoyed it a lot. Much of it is taken from parts of his update to The C++ Programming Language. If you just want a short book to introduce the new parts of C++11, A Tour of C++ is the way to go.
North Americans are probably astonished at what is 'permitted' for UK police to become involved in - there are no constitutional protections and no effective oversight and there never has been in the UK. Even today the Police actively obstruct and frustrate attempts to bring effective controls and oversight of their activities which can be in clear and blatant breach of what limited legislation exists.

This (and other related) stories rolls on with only a few days ago the Metropolitan police in London being forced by a court order to admit the identities of two officers - Jim Boyling and Bob Lambert [who the referenced article is about] - who fathered children (then disappeared leaving the mothers and babies to fend for themselves). http://www.theguardian.com/uk-news/2014/aug/15/metropolitan-...
Design Patterns and AngularJS
It would be awesome if they could incorporate something like this into bicycles.
I assume you meant statically typed, rather than strongly typed.

Swift has this: var airports: [String: String] = ["TYO": "Tokyo", "DUB": "Dublin"]
My experience is different - I help develop systems like that and what I often see terrifies me. Yes the system may be on a different physical network, but almost always there is at least one point of entry i.e backup server, domain controller etc. And I can't believe how many times I worked in front of the computer that had usb storage turned off, but had a cd writer installed ;)
Technical Debt – Why not just do the work better?
Scrolling works fine for me. Not really sure what you're talking about.
This is solved in a more general way in Java 8 via monadic optionals. The basic idea is to wrap your nullable objects in an Optional<T>, which then both forces you to deal with the possibility of the value being absent and gives you good tools for doing so. Your example, with Optional, looks like this:

T obj = ...;

Optional.of(obj).map(T::some).map(U::other).map(V::methods).getOrElse(null);

Not quite as clean syntactically, but much more general, as the same operations can be applied to other monadic objects.
Yes, sort of like final... but different.

I was thinking this is more for _public_ variables... so like internally, a class could modify it's own readable fields, but code external could read only.
I'm sure it must be listed in the Yahoo Directory somewhere.

https://dir.yahoo.com/
toe_tag is really cool. We've clearly have some code and catches an exception, look for a string the message and rethrows it when needed.

I'll use your gem next time I find myself doing that :)
Thanks for this blog post; it will help me to make the best use of C++11/14 features in day-to-day programming. One thing I've been wondering about for a while is how the auto keyword relates to type-safety. The blog post lists the point "auto type deduction everywhere" under "type-safety". But consider the line

auto x = foo();

Suppose you refactor your code, and in the process, the return type of foo() changes. Without the use of auto, the compiler would produce an error message, alerting you that the above line of code may need your attention. As it is, with the use of auto, the above line will compile no matter what. In other words, that particular line now behaves as if C++ was an untyped language. Isn't that a step down as far as type-safety is concerned? Please note: I'm not asking here whether that's good or bad. I'm asking, "Assuming that we use the auto keyword throughout, can we still call C++ 'strongly typed'"?
I once actually needed to emulate a LAN to do a migration of an ISP POP from one place to another (the terminal servers lived on a LAN with hardcoded dependencies on RADIUS servers, DNS, &c). I did it with a proxy ARP daemon I wrote for the task.

Nothing comes immediately to my mind for why I'd want that same capability in 2014. Which is not to say there isn't an important use case. Rather: even people who have done stuff like this before probably need to be told how this service makes their life better.
because the code base has several million lines and eclipse is a horrific user experience?

The example posted is a horrible use of autocomplete.

>const int calculated = [&] {
auto l = lock();
auto first = stage1();
auto second = stage2();
return combine(first, second);
}()

No idea what that does. It takes 2 variables of some type and does something too them. There is some sort of lock there too. I guess.
Did you miss the part in that Die Hard movie where they have to physically break into a power plant because the network is not accessible from the outside? http://www.imdb.com/title/tt0337978/synopsis?ref_=tt_stry_pl The third stage will be to take out the power grid; this cannot be done remotely but requires intervention at the actual physical plants.
Invokes... sarcasm?
"Yeah, it's a Ruby video game framework. Wanna fight about it?"
Two points:

1. Tell that to Iran... They thought the same thing and look what happened to their centrifuges.

2. I hope so too, and it likely will be. Many current car designs already have a separation of interests, with things like engine control systems only giving "read only" access to entertainment systems and similar (so you can get diagnostic information without the entertainment system having the chance to alter engine settings).

Some cars have "over the air" updates which CAN update the engine control systems however, that can only happen when the engine is not running and they often use traditional digital signing to confirm the authenticity of updates.

I do suspect you'll see people try to exploit these V2V systems (e.g. next blackhat?). Let's hope they're designed with security in mind. We've already seen the security services using hacked cars as lethal weapons to kill journalists.
One thing missed here is this sort of thing is a lot easier (to read and code) using the built-in earthdistance module.

The query doesn't need the added "shape" column unless you want it for indexes, and becomes simply:

SELECT d.city, d.state, earth_distance(
ll_to_earth(d.latitude, d.longitude),
ll_to_earth(l.latitude, l.longitude)) as distance
FROM dennys d, laquinta l
WHERE distance <= 150
ORDER BY 3

No more magic numbers or confusing function names.

Note I don't mean this as a slight on the article - I purely mean it to educate postgres users that they can do this sort of thing easily without downloading/installing PostGIS.
You mean threesomes.
I think if you can't pay enough attention to avoid turning across oncoming traffic, you shouldn't be driving, warning gizmos or no.
Sorry to ask, but as a noob who just picked up Java, how do other languages address this issue? What's wrong with getters and setters?
He's talking about a different browser or platform or environment to yours.
yawn..

Maybe around 2020 we'll get some useful stuff like string interpolation, long strings, default param values, and multiple return values!
From the article: "In each experiment, 12 subjects (280 total; ages 21.7 ± 1.5 year)"

This would imply that each variable group was composed of 12 participants but overall there were 280 participants.
It's "forest versus city" though, so it's not even a great non-double-blind. I would have been more interested in "forest versus museum" or "forest versus canal". I don't think anyone has ever claimed cities as having any kind of calming influence.
Choosing a business structure
When lines adjust and the 'next word' moves, it is very jarring and absolutely too difficult to track. Consider fixing this. It will be an inadequate gauge of typing speed until that is worked out. Other than that, pretty good.
Where there is a will, there is a way. There will always be ways around an air gap.

The Iranians had their centrifuges isolated by an air gap. Until someone (cia? mossad?) dropped USB thumbdrives in the parking lot that contained stuxnet and people being curious plugged them into computers on the air gapped network to see what was on them.

Target theoretically had isolated the network that their cash registers where on, but someone mis-configured a VLAN and it was connected to the HVAC network which was vulnerable.

I don't think that is an excuse to not do some super cool shit regarding inter-vehicle networking, but you just have to be careful as hell. Based on how horrible most car's entertainment/gps systems are, I'm not sure I put a whole lot of trust in the auto manufacturers to put as much scrutiny on it as they should.
> The Internet started that, with patients able to become much more knowledgable about their own conditions

... or more deluded. I've heard of patients telling doctors that vaccines cause autism, fluoride causes impotence, etc. Because, you know, the internet said so. People who can't say what major body parts do should not tell doctors how disease processes operate.

I'm not saying you are deluded, but it seems common.
Nice catch, hot-fixing that real quick
Ask HN: Can RETS Data Feed be integrated into a shopify store?
We are fully licensed real estate brokers in New York.
I am interested combining real estate listing from the MLS into a shopify store.

The shopify store can be found here: www.wnymls.org
Documentation for RETS: http://www.reso.org/tools

Shopify support said it may be possible, but would require extensive custom work.
The objective right now is to pull data from the MLS and display it on the shopify website.

If anyone has experience in doing this, or believes it can be done, please let me know and we'll get the ball rolling on compensation.

Additionally, any comments, suggestions, and criticisms are welcome.
California solar plant scorches birds in mid-air
I agree with all that/ What I mean about another Hitler being possible is that I find it quite easy to imagine that establishe powers will turn a blind eye to disturbing rhetoric if it suits them, much as people shrugged off Vladimir Putin's repeatedly expressed nostalgia for the USSR until very recently (although I don't think Putin is an ideologue in the mold of Hitler, just strategically ambitious).

I do agree that nobody could be as obvious about their ill intentions as Hitler was; mass communication through radio, film newsreels and so on was a fairly new phenomenon when he rose to power and people were not fully aware of how it could support totalitarianism as they are today. But you can get away with a lot in politics by simply making the right noises, sadly.
:D Thanks for the correction

I like the swift example... Map<String, String> map = new HashMap<>(){"TYO": "Tokyo", "DUB": "Dublin"};
That could be due to more robust private property protections, and the fact that China would have much more trouble confiscating property in US than cash in case of some dispute. That doesn't explain why anyone would want to bid up a specific city, though.
So is the core problem that there's no decent IDE for C++ which can identify the "autocompleted" types to the developer?
In a general sense, I don't believe so. While "there exists an experimenter" is an inherent assumption in many deductive chains, there's no attempt to use the existence of the experimenter as a prior in a Bayesian calculation. The logical flaw in the DA comes when you say "I, the reasoner, am likely to exist at a random point in the history of humanity", because the reasoning could not take place without your existence and therefore the hypothesis is not-falsifiable (no matter when in the history of humanity the reasoning occurred).
Watch out! "&(v[0])" has undefined behavior if v is empty. "v.data()" always works, besides being more readable.
I'll be the first. I'd be very concerned about this type of communication system and my vehicle. My concerns aren't limited to government surveillance, but that certainly is one. I'm also concerned about malware or other security vulnerabilities. I'm also concerned about the government "requiring it" and the related costs associated with it. It will certainly drive up costs to consumers.
I'm not entirely sure, but I don't think they give any advice. The students only interpret / translate what the physician wrote in their usually-cryptic notes, and turn it into a simple, understandable form that almost any person can understand.

If I remember correctly (I don't speak German nor understand medicine), the note can say something like "test XYZ - negative results". This can sound scary to someone who doesn't understand what this test is about. The interpretation could be that negative results on this test means the patient does not suffer from some kind of disease, and this indicates normal function...
Help us build the largest mobile marketplace – Listia is hiring engineers
Microsoft Azure Cloud Service Outage
Startup School 2014
Windows lost the taskbar in Win 7, OS X has never had one.

In my experience a dock is preferable when you have a small number of windows open for each application and a taskbar is preferable with a larger number. Perhaps tabbed applications have made this switch possible.
Is it possible to have native JSON parsing with JNI bindings to make parsing faster, or will the overhead cancel out any boost in performance?
I think the compiler would give an error if the variable x is (later in the code) used in a way that's forbidden by the type.
This was not guaranteed to work in C++98, but has been fixed in C++03 by stating that std::vector has to use a contiguous block of memory.

&v[0] (without the parens) is even shorter :)
Well, so long as advancement, job security and prestige are tied to publication in those journals -- and they are -- the researchers are likely to keep publishing there. I'm not even sure that "voluntary" describes it well.
Just noticed application is open and didn't see it posted before. Also, wasn't sure whether to make this TellHN.