skysight-inc/HackerNews huggingface dataset:
Or horribly expensive daycare for two kids :)
The Great Statistical Schism
From my experience: If it's man made, it can be opeend, broken, circumvented etc.
For HTTP requests, yes. Using sockets requires the "Full network permissions" permission.
Or alternatively they could have remove the mandatory parentheses around function calls, and kept the old syntax and made print a function.

(Sorry, trolling. ML-style function call syntax would clash a lot with other parts of Python.)
Here's a link to all the images, without the bad grainy effect added.

http://webodysseum.com/art/116-images-of-the-voyager-golden-...
Ethereum and IoT = Smart Contracts on Connected Devices
Is JIT going to be on the horizon (sorry didn't watch the full video)?
US Geological Survey done at the time, with photos and eyewitness accounts: http://pubs.usgs.gov/pp/0354c/report.pdf
My main guesses:

* multiple dispatch
* the meta-object protocol

And the thing is, these features are being used all the time, because the core language is built out of them. If you want to see how a language which is not built on these things runs (on the same vm implementation, I might add), I suggest you try nqp :-).

https://github.com/nqp/nqp
Thanks for the nice words. @Corrado :)
But how would they prevent other producers from re-entering the market once the price rises again? Capital requirements are not a huge barrier to entry when you're competing against governments.
Admittedly, I didn't know all the details of this story. It seems that they indeed stopped the attacker with bare hands when his gun jammed. Just shows how much luck they had.

There are civilians lawfully carrying guns in Europe, just not many of them, so be free to already feel threatened. I'm not saying we should give guns to every kid out there, but if 1% of citizens were armed, shooting up 100 people wouldn't be such an easy endeavor.
Tiny Encryption Algorithm in x86 assembly – 134 bytes
> [...] I have a nagging suspicion that virtually every sizable C++ codebase does actually have some undefined behavior lurking somewhere.

You are being too optimistic. Any C++ code base over at most a couple hundred very carefully crafted lines will have undefined behaviour and implementation specified behaviour.
> This app is incompatible with all of your devices.

I have 4 different android devices, which all fully meet youtube's version requirements. This is baffling. I guess it doesn't like that i'm in germany?

Edit: Yep, after installing the APK, the app complains my account is not american. So it's just a very lazy way of region-locking with misleading error messages.
> That's a caricature. A lot of the perpetrators, like in 9/11, are highly educated and even westernized people, not some backwater goat herders believing such BS.

I am fully aware of this, I said so in other comment. https://news.ycombinator.com/item?id=10564189 The mistake you are making here is the idea that otherwise intelligent and educated people cannot believe crazy things. Just look at the Christian nutjobs.
Thanks. :) Looking forward to your feedback.
How Can We Destroy the Islamic State?
How many of the "crazies" use legally (by local laws) acquired guns?
Show HN: Social Commerce Made Easy with Fulfil.IO (Powered by Stripe Relay)
Fiberize framework for high performance parallel, distributed systems
The problem was when someone budgeted for new code but didn't budget for this sort of maintenance. If there wasn't enough money for that, then the problem was the business plan.

Yeah, easy to say in hindsight, but we won't figure out how to budget better or call out bad business plans if we don't start recognizing it when it happens.
The JVM is fine for running low-latency automated trading systems. I wonder why it's not suitable for applications with timing requirements that are hundreds of times more relaxed?

I don't know if the JVM is better or worse for this than some other runtime like Go's or the CLR or whatever, I just wrote about the JVM because it is the one that I have used in this context.
What Is a Jihadist Version of a Perfect World?
Sounds great. It's 80-20ing. The majority of sites will no doubt be simple cookie-cutters in terms of tech stacks (LAMP/Rails/Python, etc.). Would I expect to use it to build my custom N-tier architecture handling billions of requests per month? No. That still potentially makes it useful though. I'm looking forward to trying it out next time I have to chuck together a wordpress site or something.
If some quants can predict these alleged flights of fancy, they'll trade against them and make some good money.
> On Reddit a username with 88 in it can be interpreted as a dog whistle for racists.

Or NASCAR fans. Which contrary to popular belief is not the same thing.
In the context of the water jars experiment, "attitude" is not the explanation though; instead it refers more to the "installation" of the previous solution in the subjects' minds (i.e. the subjects who were "trained" with the 5 pre-test examples effectively had those solutions installed/set in their minds).

You see this in game development a lot- users are trained in the first 1-2 levels "Here's a puzzle - look around for clues". When they later encounter a puzzle in levels 3-n, they often apply the same methodology despite the obviousness that another approach is called for.

You see it in chess development - an app teaches users, "Given a board with these positions, the best option is x". Later during growth, the same board positions may have different solutions yet the student continually applies the original.

Attitude isn't at play here; it's simply expectation.
I think the focus in Islam itself is misleading. The Ottoman empire was muslim for hundreds of years yet christians and muslims did not fight against each other on religious grounds, and there was definitely no such fringe fanaticism. My grandmother remembered that people were sad when muslims had to leave the balkans due to national population exchanges back in the beginning of the last century.

The terrorists you see today would become terrorists in the name of Christ just as well. Having said that, it's true that certain groups can be identified as "bad" and labeled so, and it seems that the one unifying characteristic is their islamic faith, although there are other national characteristics as well. Saying that we need to defend against "Islam" would be too broad a target, and the terrorists use that to their advantage. In Europe, we need to stop treating muslim populations as minorities, start treating them as european citizens, and demand that their religious leaders contribute to public safety. They need to actively engage in the expulsion of radicalized people from their religious communities and preach against the sentiment that justifies the attacks. Laisez-faire comes at a price to everyone, and muslims are not excluded from it.The terrorists have been bastardizing the meaning of Islam for 4-5 decades now. Maybe Islam should be having it's own velvet revolution.
This is little different from something like:

#!/usr/bin/env perl6
my $number = 3;
printf( "%s\n", $number * 4 ); # prints 12

What is your complaint?
Because it's very clear that whoever did this had a point, an objective. Therefore it's not pointless.
Why? Why is eg constant debt not sustainable?
Sadly not.

I wrote them all in mIRC-script they went missing years ago :\
Remote Buddy Display: screen-share Mac from Apple TV, use Siri Remote to control
Problem only is, that many today only believe (and follow) in Mammon and not in God any more!

You can believe in God or not, but what is better to believe in, when it comes to build and uphold communities?
The description of the photo here https://en.wikipedia.org/wiki/Lituya_Bay#/media/File:Lituya_... refers to a fishing boat being carried over the spit into the ocean. Perhaps this is what you were thinking of?
Floor Length Strapless Ball Gown
I am a cyclist myself (2 mtbs, 1 roadie, 1 cx commuter); take a guess. Hint: It's a lot easier to overtake a considerate cyclist than it is to overtake a slow moving car.

Also: A cyclist will ride at the speed the cyclist can ride. No beef there. The lethargic, social network distracted drivers, however...

FWIW I also have a full motorcycle license, although I gave up my 600 many years ago; I miss doing Phillip Island at 180km/h leaned over. I like to believe that having used multiple modes of transport broadens my horizons.
Sweden hasn't been as affected as other countries. Instability will always spill over from conflicts, there's nothing special about this era. RAF occupied the West German embassy in Stockholm in 1975 and planned to kidnap a Swedish politician. To some extent it's the same for France, they didn't invade Iraq, created Guantanamo or other things to escalate the conflict yet they are targeted. Maybe because they have a lot of dealings in the Middle East or to please IS supporters or it's just convenient. I'm sure people will speculate a lot about this in the coming months.
You totally got it.
Hi Folks, we know how important it is to catch the omnichannel customer who can shop anywhere anytime. So, to help small and medium retailers who struggles to keep up with growing number of channels, we have Fulfil.IO which is a single source of truth for order, inventory and post sales activities management like returns, refunds etc.

We partnered with Stripe to made social commerce order fulfilment process a breeze. Now, you don't have to worry about the order coming in from your social channels. With Fulfil.IO, you've got one single system which will aggregate all your orders and facilitates smooth order fulfilment.

There's lot more to explore. Do let us know what do you think :)
There’s an awful cost to getting a PhD that no one talks about
No, you're talking about the Lituya Bay megatsunami. Howard Ulrich and his son, Howard Jr. survived it just like you described.
> const-by-default

const isn't the same as immutable. 'const' implies a (mostly) read-only view, not read-only data. That is, C++ does not guarantee that the memory does not change, just that some parts of the code will not change it (and even then, there are ways to get around 'const').

It would be marginally better to be const by default, because there would be less code to consider when analyzing changes to data, but the cost of this feature is much larger than the benefits we'd see from it.

And, to top it all off, dealing with a lot of immutables really requires different syntax and different style. Read through the rust book and then try to do the examples in C++. You can do pattern matching and variant types in C++, but they are ugly and probably slower than what we do now.
It's already there on x64.

Note that to fully take advantage of it, the optimization layer above it that does type specialization also needs work (eg some optimizations were lost during the 'Great List Refactor', a semantic change that was set as one of the blockers for the 6.0 release).
The biggest power of Haskell (and other functional programming languages) is in the type system and the ability to abstract well (e.g. equals()), and these functional functions are secondary. How do you suppose to replicate that in JS?
Death in Airbnb Rental Raises Liability Questions
It has been confirmed that the attacker is ISIS.
There's Taleb's "tail risk fund".
Strangely composed article: "Norman" is introduced from nowhere along with the multiple authors.

Some valid points but all rather overstated ("destroying design") and finishes with admitting that a lot was fixed in iOS 9. However, that's not enough because another overblown article calls new features "secret"...
You should probably do this at inspection time, not commit time. Maybe a list of commits from the command line,or a commit ignore file.
High reward goes with high risk. I honestly think there's a gap in the market for a falling knife fund.
> they'll raise it up sky high as the monopoly supplier.

No, they won't. There are still multiple producers, and still lots of reserves, and still lots of shale oil sites waiting to be reopened as soon as the price goes up enough. And don't forget, all that "manipulation by OPEC" was actually increased production by the US:

https://marketrealist.imgix.net/uploads/2015/10/US-crude-oil...

And the production didn't really slow down because of the price collapse, it only forced the small players to freeze their operations:

http://pbs.twimg.com/media/B-3swI7UcAAlnEd.png

As is, there's a pretty hard limit on how high the price can go.
Great question! The key is in what way are we using tech. Our model, conditional cash transfers (CCTs), has been used for many years by governments in several contexts. We are not inventing anything new by any means. However, our manner of implementation is trying to innovate by reducing some of the biggest challenges these government programs face: corruption and accountability.

For example, without technology we'd be facing the same issue as the Nigerian government (the country we work in): ghost beneficiaries. By taking advantage of currently available biometric solutions, we reduce this and increase the likelihood that our money goes to real beneficiaries. We are wary of adopting technology unless it is absolutely necessary. Another way we use technology is to collect data in the field. We are working in remote, rural areas with high levels of rainfall so we use mobile apps to collect data. This helps reduce the amount of data compromised and also provides an additional layer of verification: by seeing timestamps and knowing exactly who edits what and when. This helps us maintain higher levels of accountability and identify early warning signs of potential fraud.
jnjkblbkb
Don't forget about the grammar engine - the parsing speed is only in the hundreds as measured in lines of code/s, which is a concern for script startup.

I've come up with rather 'creative' workarounds[1] until a more proper solution arrives...

[1] https://github.com/cygx/6make/blob/master/6make
You are allowed to mix any roles in any combinations. This shows only a flat hierarchy, but I'd love to explore that in an example sooner than later :)
"Western" seems like an odd term to distinguish Europe/North America from Africa, but I assume that's what you meant.

I don't have any data to back up or refute such a claim, but it makes sense: Europe & North America have economies of scale for internet infrastructure, including hosting, so hosting there is presumably cheaper than in SA or other African countries. Which drives the domestic demand for hosting abroad, causing that money to not be reinvested in the local infrastructure. I don't know what the solution to that is. Maybe global CDNs building (more) datacentres in Africa will bring some of that money back and have a positive impact on the local ecosystem? (Taking their hosting money abroad is presumably the rational choice for most African companies, so it's difficult to fault them for not "helping themselves")
> If you want something you understand and can control, you could build your own phone system with Asterisk. Inbound calls could come via VoIP (if you can find an upstream phone company you trust) or PSTN (if you're willing to invest in having the necessary ISDN/phone line installed, and in the hardware to connect to those).

If you want to install it yourself / or not, have support, use a fully open source solution: go look at 2600Hz [0]
(disclaimer: I'm a backend engineer there)

[0] http://2600hz.com/
> “I always thought I picked up my nervous habits from my father – like fidgeting with other people’s rubber bands and pads and paper clips—until I saw [Oskar],” Yufe said in The Times. “He’s the same way.”

They were separated at 6 months, is it possible they picked up this trait by observing their father at such an early age?
He does call it a "compiler" in the video. Maybe that's temporary while it's still unoptimized, or a change in direction?
I personally dislike Pundit's way of defining permissions, but as always it's a preference.

I really wanted to keep CanCan's simplicity, but add roles while cleaning abilities/policies up.
Is there a way to bet that something will grow more slowly than normal? S&p 500 has been growing about 10% per year. How would I "short" it and bet that it will grow 5%? Can such a position be constructed?
Interesting, this is very project specific so might be tough to implement for general user-base.
Its a good article.

Force touch is a good example of this. Adding a new action without any signifier for its availability or its purpose when we already have a baffling mix of durations and gestures. Madness.

An innovation by a platform would be to invent a new way to aid discovery / learnability of a UI not just add a new input. For example gestures - there should be a system standard way to be told about the available gestures and their effect for each screen - a bit like browsing a menu to learn what a tool can do. Instead its left to each app to try and invent a tutorial mode.
> The JVM is fine for running low-latency automated trading systems.

1. There is a lot of expert tuning to get that sort of performance with respect to latency. That tuning would need to be reproduced for every target system.

2. Those trading systems can have ridiculous amounts of RAM to give the JVM GC lots of room to work with.

3. Reading packets from a wire and writing other packets to a wire is a different problem than reading controller inputs and modelling complex 3D worlds.

...that's not to say you can't have AAA Java games. To some degree that already happens with Android games, at least if you're willing to stretch the definition of AAA. (If you define AAA as "uses C++", the nomenclature becomes fairly moot).
The authors, Don Norman and Bruce Tognazzini, have both been rather cranky in their writings for years. Sometimes Tognazzini seems almost too ready to criticize anything new.

cf: Tognazzini's "Top Ten Reasons the Apple Dock Sucks" (http://www.asktog.com/columns/044top10docksucks.html)
> But it doesn't change the fact that general population will say these things, and it's them, not HN crowd

What about thought leadership? I know its a cliche beaten to death perhaps, but still I think people are able to see a raised level of discourse, than theirs, while they may not always leave their hard positions and immediately agree.

But there's also this balancing act, that we need to do, of not wanting to get into an argument of certain kinds.
I'm really interested in this. Perl6 is so jam packed with interesting novel features, that it serves as an amazing testbed for future languages. I always feel that Ruby was a language that came out of Perl; a subset of it's features, carefully selected and implemented with the knowledge of what did not go too well with Perl.

Thanks Larry and co!
For Ada, yes to all your points.

For .NET, almost with a few additional tricks.

- Value types

- Struct layout attributes

- Field offsets.

- Arrays with value types

- Unsafe

- Interop with native buffers

- Buffer manipulation with custom serialisers

Your challenge can be fulfilled with getting a native buffer, with a custom serialiser and a few unsafe tricks.

As a matter of fact, you just gave me a mini project idea. Lets see if I am up for the challenge or need to eat my own words.

Meanwhile here is an example what C# devs are able to achieve, when they know how to explore the tooling properly.

http://www.infoq.com/articles/Big-Memory-Part-2

I am an old C++ dog since the C++ ARM days, meanwhile busy with other languages.
Great post. I love your thinking, and the code that goes with it!

But in the end, this seems exactly like normal envelope method accounting software, but without bank integration and with a daily view. You just have one big envelope for "Daily spending" which can be anything. You still keep an envelope for each bill, and you still keep an envelope for each irregular bill and big ticket item.

A system like YNAB could eclipse this by simply adding a daily view, and reinforcing their point about keeping your estimated spending categories few and broad. You could switch to YNAB (or whatever) seamlessly, and have your bank transactions pulled in automatically.

Am iImissing something?
> I'd be interested to see what features there are that
> make the system slower in general, even when they
> aren't being used. I did a lot of work in my PhD on
> making odd features not affect the performance of
> Ruby code when they aren't being used.

I suspect you would be warmly welcomed, and meet many interesting people, in the Perl6 IRC channel, especially if you lead to a link to your PhD.
Thanks for this question! You can find GiveWell's preliminary cost-effectiveness assessment of New Incentives in their writeup here: http://www.givewell.org/international/charities/new-incentiv....

It's important to note that GiveWell is not necessarily pushing in this direction yet. Instead, they are placing bets that they potentially think could have a huge payoff if done right.

CCTs can be very effective or completely ineffective. This is because the second "C" matters a lot. What the program conditions makes all the difference. If the program is focusing on incentivizing interventions that are not cost-effective, the CCT won't be cost-effective because the underlying focus is too costly. Another aspect is what the long-term effects of the program are when the incentive ends. In our case, we are focusing on HIV transmission from mothers to infants and neonatal death. Our temporary incentives have a long-lasting effect by saving a child from getting HIV or a newborn from dying. However, if you were to have a CCT for something that is not life or death and would be needed throughout one's lifetime, the cost would potentially be too high.

Some of the most successful CCTs are for immunizations. This is because immunizations are a proven cost-effective health intervention in the first place. So adding the small CCT to increase coverage maintains cost-effectiveness while achieving benefits from having a greater percent of the population that is immunized.
For Better or for Worse
Great links!
Repeat after me:

No open cut coal mine has ever damaged the local ecology.

No coal mine tailings spill has ever damaged the local ecology.

Strip mining has ever damaged the local ecology.

Coal mining has never damaged water supplies.
One has to be careful there. Yes, according to that data, in Italy 67% of homicides are by firearm while 11.9% of people have a firearm. Since the numbers for the US are 60% and 89% one is tempted to conclude that in Italy there are more firearm related homicides. However, this is false. If one looks at the fourth column it is clear that in Italy there are 0.71 homicides by firearm for each 100k peoples while in the US there are 2.97, more than 4 times as many.

Brasil on the other hand has indeed much more homicides per 100k people than the US, although having only an 8% of the population legally possessing a weapon.

TL;DR: In Italy there are four times less homicides by firearm per 100k people than in the US.
Mathematician Claims Breakthrough In Complexity Theory
What's a "checking balance"?
I don't have to as I didn't assert that.
I find it weird that such a seasoned academic researcher would completely gloss over the distinction between academia and an FFRDC.
Back rubs are nice, sure, but reducing working hours and hiring more programmers would be a better solution. A mentally burnt out employee with loose back muscles is still a burnt out employee.
> The production of beautiful objects is only one
> small component of modern design…

As the authors say, and as Steve Jobs and Jony Ive have reiterated in almost every Apple product launch, how something looks is only a small part of the design Apple focuses on. Historically, the priority is how things _work_.

This is probably the most misunderstood aspect of Apple products. A screenshot of software XYZ may look just as thoughtful as an Apple product, but rarely in practice is that true.