skysight-inc/HackerNews huggingface dataset:
Paul Kagame's anti-corruption policies are impressive. You can really see how much society can change when funds flow to the proper channels.

I have traveled through ten sub-Saharan countries and Rwanda does stick out. While many countries, especially in East Africa, have terrible infrastructure, Rwanda is "civilized". Working traffic lights, street lights even on minor roads in towns, decent roads. It was the only country in East Africa where I was able to easily find a proper black middle class. I did ask locals why this is the case, and they all point to the anti-corruption initiative. It is true that much money comes from the UN post-genocide and from methane gas, but this money does make it's way to society.

That said, I have a far better time in Mugabe's Zimbabwe and Zuma's South Africa. :) Corruption on that level is so blatant and destructive.
There are a couple countries where it is common to have intricate art on the outside of certain large vehicles. Like private buses in Haiti[1] or trailer trucks in Pakistan[2]. I don't know if there would be any possibility of renting out the surface area to advertisers instead, but I did hear a podcast once analyzing the economics of paying to have the private busses in Haiti decorated. If I recall, it basically came down to a feeling in the population that it was more prestigious to go through the city in something beautiful. Perhaps proof of the "value" of art that works even within a first-year economics class.

[1] https://www.google.com/search?q=painted+bus+in+haiti&source=...

[2] https://www.google.com/search?q=pakistan+truck&source=lnms&t...
The difference, in terms of type theory, is that a tuple is a product type [1] but a type representing multiple possible return values (to represent different outcomes) would be encoded using a sum type [2].

[1] https://en.wikipedia.org/wiki/Product_type

[2] https://en.wikipedia.org/wiki/Tagged_union
Yes, it's MPMC. Progress guarantees are only really meaningful for multiple readers/writers. (If you have only one reader/writer, and it dies, who cares if the writers/readers on the other side keep working? Your system's hosed anyway.)
My guess is if the car had to decide whether to kill you or not, you'd think that choice was worth considering.
Cardinal: The World’s First Autonomous Remote Surveillance Drone for Home on PH
The Model S has won many awards. And it's built (in automotive terms) by a very young startup. Their approach is very software savvy whereas all the other automakers treat software as an afterthought. Its a completely different approach and the recent Model 3 unveil (400,000+ reservations) pretty much confirms that petrol cars have a decade left at most. Other manufacturers may catch up, but at the moment they are miles behind. We'll see whether the chevvy bolt works out or not soon.
I was referring to the highways being more safe than other road types.
Also, they may simply lack access. Try walking to your nearest grocery in the US.

https://en.m.wikipedia.org/wiki/Food_desert
Jail is probably #4
Maybe the lack of coordination between intelligence agencies is to blame (it cannot help anyway) but it cannot alone explain the difference.
First we (I am French) have a larger muslim population: 3-3,5 millions for UK the double in France mainly from North Africa. So statistically speaking there's a higher chance of having islamists in France.
Also many of French of Arabic origin just hate or despise France and the causes have different roots: historical (Algerian war), cultural and societal (high unemployment rate especially among arabic population). For UK, I don't think their population of muslims origin "have a grudge" on their host. Every Bastille day, new year's eve or big event does not go without burning cars and policemen attacked by young people with many of them being of North African origin, and it's getting worse with time. Of course relations between the different ethnic group are not going to get any better now .

I am very pessimistic about the future of my country. I see a lot of educated young people wanting to leave it (and not only for business opportunities) and the level of violence raising up. Bad time for being French.
404: page not found
> France has managed to avoid most islamic extremists

Yet any extremist can literally walk into France and terrorize, which is essentially what's happened.

So perhaps the biggest difference the fact that Britain has a physical border wall?
And just like that, all interest I had in this product vanished.
It seems a step in the right direction, but I would really like to see a solution for the kitchen embedded in it... I can't imagine myself going out to eat everyday.
The sad state of Linux download security
I don't get it. Does array-last* has any sense? If someone needs to include a package for last() so the code is more bugproof and stable, I don't know what to expect in more complex algorithms..

This, like many stuff I see in the javascript world, is overegineering.

* https://github.com/angus-c/just/blob/master/packages/array-l...
What I don't understand is...

In the Constitution of the United States are these words "We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights..."

Morally, it seems that the US, as a people, claim the rights granted by the Constitution are rights due to all men.

Why then, do we selectively apply these rights to only US citizens? Are the citizens of other countries of a lesser status that they do not deserve due process? Is that why it's okay to summarily judge and execute someone in another country when we suspect them of terrorism? Why can we legally do something(execute without due process, invade privacy, etc...) to a person in another country, that is illegal for their own country to do to them?

Legally, of course, the Constitution can only be applied to those under its legal protection.

But why is the rest of the world treated like second-class human beings by the US Government?

The US Government should be bound by the constraints of the Constitution when dealing with any human being, not just a US Citizen.
Unless the driver was asleep at the wheel and it was all an accident, it's pretty clear Nice was a terrorist attack. The question you're looking for is whether it was an act of Muslim extremism.
I would expect it to be a common use case in actor-based systems like Erlang, Akka, etc. It's perfectly supported to have 100k+ processes running in an Erlang VM, but the vast majority of them will have an empty message queue at any given time.
There is a recent movement in America that can be neutrally summarized as obesity prescriptivism. (I won't use the language either of its proponents or critics. By the way, I am super-proud of everyone in this thread as of the time I'm posting - though it's only 9:30 AM East coast, 6:30 West Coast on a Sunday, so that the quality of responses might drop soon. Let's do our best to keep it high.)

My recommendation is to be able to opt out, for example via a smart phone setting that shows that an individual has opted out of obesity prescriptivism. As a practical matter, for example this may allow them to be shown menus with 500-1100 calorie entrees (or less), whereas obesity prescriptivism would require that such choices not be shown. I'm careful not to use the language of either side. These are the facts of the current situation.
I think the point he's trying to make is that while the natural level may vary between genders and be accounted for, they very likely didn't account for ease of weight gain.
To be fair, it's based on a very limited amount of experience, but it has been consistently bad experience.

Neither of us is American but we've eaten Chinese food in China, Hong Kong, Malaysia and the UK, among other places.
Do many people have heat pumps? Most people I know in the Midwest make 100% if heat from burning natural gas. So in the winter not a huge loss (just the delta on cost between electricity and natural gas). In the summer obviously you pay double..
Then consider this ... :-/
http://s-media-cache-ak0.pinimg.com/736x/fd/c3/02/fdc3028d49...
As far as I know, we don't know the motivation of the Nice attack, so we can't yet say it was certainly terrorism. It was certainly a deliberate act of mass murder but that does not necessarily mean it was a terrorist attack, which implies a political or religious motivation to terrorize (as opposed to, say, mental illness or general hatefulness). For example most US mass shootings are not considered terrorism.

I realize this sounds a bit like hair splitting in the face of a horrible mass murder, but terrorism has different policy implications from other kinds of mass murder, so we should be careful about language.
Is plastic vs paper bags really that clear-cut an issue? I get the recycle/decompose angle, but I would have thought that paper bags would use much more energy (embedded + transport), release many more chemicals, and cause much more deforestation. I suppose Nepal is probably optimizing for the trash reduction benefit
The idea of having a select number of explicitly defined implicit conversions is interesting, though, but not unheard of. (Is there not something like that in Scala?)

However, in order to perform the simplistic algorithm that the parent comment imagines, we have to give up overloading. If you have f(A) and f(B) and an implicit conversion between A and B, and we type f(x) (where x is an A), both f(A) and f(B) could be selected. Since they might have different types, a larger expression it is a part of could be valid by picking one and not the other, but we cannot know which until we go through all possibilities. That's an exponential algorithm too.
How Retailers Can Use Right Time Marketing
People who are overweight or obese usually end up with diabetes. It's a metabolic disorder that is separate from nutrient intake.
What are you basing that on? Looks like you've misplaced the decimals there someplace, because you're concluding that the likely rate is around 1/10 of the observed rate. Depending on your priors, you can get some difference of course, but that sounds absurd - can you more precisely explain the method you used to arrive at that conclusion?
That was a really confusing website to me. Lots of pictures and none that really explained what it did. The main important piece is the video in the middle, but that don't look like a video unless you pass your mouse over it. And with a slow network connection, it didn't happen to be animated as I scrolled by so I didn't notice it until the second pass.

It appears to require a hard floor and I wonder if it would make grooves in the floor after a while.
For millenia the main source of sustenance for almost everyone in the world was carbs: bread in the west, rice in the east, maize in the new world, roughly. Most of the time they weren't malnourished.

The "withdrawal" and subsequent sustainable diet that people describe sounds to me just like what you would expect from someone making a major diet change.

The great feeling that people talk about having after a few weeks of low/no-carb diets sounds a lot like what people describe after switching to a vegetarian diet. It can be explained in terms of the sense of purity that restricted diets create (as seen in spiritual traditions dating into prehistory), the knowledge that you have the self-discipline to control your diet, and also the repleneshing of nutrients that your old diet lacked and are present in your new diet. Vegetarians often see health issues arise a couple years after ceasing meat consumption. Those who aren't carefully monitoring their nutritional intake, and some who are, get sick. It would be interesting to look at people who ate no-carb diets long-term.

I've seen ketogenic diets work for people close to me, but I'm skeptical that it's so much the lack of carbs that make it work as the self control that it forces people to exert. Maybe a vegetarian diet would be more productive if it achieves the same results, but is arguably more ethical, and definitely not less.
> My problem is with Autopilot's branding - it's called AUTOPILOT.

Quite a fitting name for an AUTOmobile, don't you think?
Only if you're motivated solely by money. In which case you'd frankly be better doing neither and getting a more conventional job.
A "wait free" data structure has a specific technical definition so yes, in some ways the novelty in this is that it meets that verbiage.

Lock free stacks have been around since at least the 80s but I haven't seen a general wait free stack before (though I'm no expert).

In neither this paper or the classic lock free stacks do you have lock contention on writes as you are using CAS operations.

I'm having a little trouble parsing the algo in this paper, but what they seem to have added that is novel is their cleanup function will always complete in a finite number of steps, thus making the whole thing both wait free and bounded, which is pretty neat.

In any case, with wait free structures generally implementation details matter a lot and stacks are pretty notoriously hard to handle because of the contention around the top node, as opposed to something like an append only log like Kafka uses, so that particular comparison is not fair.
Unfortunately HN didn't allow me to edit the comment. 1127 however contains the definition of many terms and I believe the same conclusion can be drawn from them (Trademark does not apply to noncommercial use).

Here is 1125(a):

(1) Any person who, on or in connection with any goods or services, or any container for goods, *uses in commerce any word*, ...

As such, it does not apply in this situation.

Further, 1125(c)(3)(C) is an exclusion across the entire 1125 subsection (and yes, for dilution, which is what has been argued here).

https://www.law.cornell.edu/uscode/text/15/1125
They actually aren't adjusting for sex at all in their definition of obesity, it is just based on height and weight:

"BMI was calculated as weight in kilograms divided by height in meters squared, rounded to one decimal place. Obesity in adults was defined as a BMI of greater than or equal to 30."
What keeps it from crushing you while you sleep?
He was originally from Tunisia, there is a large body of water that separates them from France. Extremists can arrive by plane or boat. The same way they can get into the UK.
I suppose there's more data from the number of attacks which don't happen, but how we'd get that data, I don't know.
"The burka and niqab, for example, is not only illegal but even before being so it was extremely unpopular in France"

Niqaab/burka != terrorist
And shipping. Real hackers ship.
The idea of the 10,000 hour rule has been quite a motivation for me, but you do put your arguments very well.

Like most people I've never taken the 10,000 hours as an absolute yardstick, just that you will be rewarded in proportion to the effort you put in. Of course, it's hard to slap a slick rule name on it when put that way.
Meanwhile, in this reality, Nepal is a somewhat democratic country who deposed their hereditary monarchy within the last ten years.
Wait, didn't we install frontend stuff like css frameworks via bower? I feel kinda out of the loop.
Plastic bags are actually more environmentally friendly for the issue you mentioned. Their production uses far less energy and water which results in fewer CO and CO2 emissions. The only negative impact of plastic bags is that people litter.
The suggestion is that "lone lunatics" don't wake up one day and decide to commit murder without there being any warning signs in advance. Even people who aren't in a cell are likely to exhibit changes in character, association and behaviour that could bring them to the attention of the authorities.

One of the other things about the UK over the past 15 or so years has been the massive investment in "community policing". It has been a huge cultural change, police forces became police services. Thousands of PCSOs were hired and conscious efforts made to get officers out of cars and into communities building up relationships. While sources aren't revealed I'd be amazed if some of those 40 foiled plots hadn't been in part stopped due to better initial local intelligence rather than hi-tech GCHQ gizmos.
You mean /etc/network/interfaces?
I can set tx queue length of eth0 to 300 packets:
echo 300 > /sys/class/net/eth0/tx_queue_len
Or change frame forwarding behavior from switch to hub:
cat 0x65535 > /sys/class/net/vnet0_11/bridge/group_fwd_mask

Granted, it's not possible to change IPv6 address through /proc/net/if_inet6, but just because I don't know about it, doesn't mean that it isn't possible.
Except that the other data is certainly suspect. I mean - what other source of realistic data can they possibly have that is realistic enough and large enough to be more significant that 100000000 miles of actual usage? At this level, it's the odd, unpredictable events that are going to get you, and whatever models they have cannot include all of those.
Hmm page doesn't show anything apart from the footer and header for me on Firefox nightly...
I personally don't use the others too, I made my own :)
You mean the cases we know about due to the independent judiciary and that have led to massive systemic change? You're not going to find a terror suspect being interviewed by the police without a lawyer present and the whole thing being videoed. The days of false confessions and coercive interrogations are long gone.
In my experience, ketogenic diets tend to work because you're basically eating the same meals, just with one-third (the starch) cut out of it. If you're eating a traditional American meat-vegetable-potato dinner, eating just the meat and vegetables without the potatoes probably cuts out 500 calories. Regardless of any metabolic benefits, that calorie reduction makes quite a difference, and then if you factor in the better satiety and more stable blood-sugar levels that consuming fat and protein gives vs simple carbohydrates, you really wind up eating considerably less food, total.
It's sad to be in "the other cultural circle", isn't it? Imagine that in western Europe a number of theorems by eastern European mathematicians is known by the name of the western professor who would propagate it...

Also: I feel there should be a comma in the sentence above, but can't figure out where to put it :/
I really like this library. I've used it to implement a minimal React+Redux toy "framework" when I was spending hours in cranky trains in India.

It turns out in 200 lines of TypeScript I can have a view library which has everything I like from React/Redux/mithril/Elm:

* reactive (hopefully fast, I haven't benchmark anything but I trust snabbdom benchmarks)

* simple API (basically 2 functions) and simple workflow (event -> update -> render)

* hot-reloadable (thanks to Webpack HMR)

* time-travelable (inspirated by Elm Reactor)

* type safe-ish (I wish I could do more here but I think TS is limiting it - a const keyword would be awesome)

Disclaimer: I wrote that during my Asia backpacking so the code is ugly and not even named consistenly but as I'm looking for a job I will try to make it more presentable/usable soon. https://github.com/maattdd/AuberJS for those interested

Random interesting bits:

function draw() {
if (m && node) {
const new_node = ballastView(r,m)
patch(node,new_node)
node = new_node
} else {
console.error("Unable to draw")
}
}
Service fabric is a different distributed runtime with its own complex semantics. Orleans is conceptually simpler, with (virtual) actors running on "silos"; it's much closer to erlang.
Less if is better, I agree on that. Lamdas technique is interesting because they "encapsulete" a specific case. In OOP this is achieved by using polymorphism on the objects instantiated for the right case. Right?
Or smooshing you into the wall? Or just pinching your hand when you bend over to get something that fell under the bed?
https://noncombatant.org/2014/03/03/downloading-software-saf...

https://news.ycombinator.com/item?id=7334269

https://news.ycombinator.com/item?id=11234589
I think there was a TV show or ad instructing children to pick up the phone and hold it near the TV which then was playing dial tones.
> Golang said you should avoid using numbers greater than about 20k in your program to avoid GC problems

Isn't this unavoidable with conservative garbage collectors? The GC looks at your fields and believes your integer is a pointer… It cannot know better.

Swift doesn't have that issue, but reference counting has its own risks of memory leaks through mishandled weak references, and a performance overhead.
HM has no concept of subtyping or overloading, I think. Scala has both of those and cannot do full type inference, only local inference.
Another neat side effect, if it's everlasting, it will probably not be mounted in a changeable fixture.
Nobody ever gets the David Brin references. To Real to be funny.
Everything is on npm now
So, Powershell, basically?
As they explained, the bug doesn't affect other users. There's no data compromise.
Funny, I had a coworker several years ago whom built this exact algorithm. The performance of our system increased literally orders of magnitude.

I've been slipping it into systems for a couple years now :D
I think the trend of front-end projects not providing a compiled `dist` folder with the assets for web inclusion to be a bad idea. This requires me to NPM install this "front-end code" (no Bower) and then add this Gulp compilation to my build. What happened to adding a `dist/hack.min.css`? Why no Bower?
You mean spectrum - a big difference. "Color" means little or nothing. Very different spectra can have the same "color".

I highly recommend reading through this, very educational about how complicated "vision" really is: http://webvision.med.utah.edu/book/part-vii-color-vision/col...
It's a long read but well worth it.

"Color" is something your brain creates, it's not "physical". Frequencies of light of course are a (the) major input, but it's not in any way a straightforward 1:1 one.
Given Erol Incedal, prosecuted in one of the few actual "secret trials", was found not guilty I'd say that suggests a pretty decent basis for believing the system isn't rigged. I'd even go so far as to say that secret trials are likely to be the ones with higher acquittal rates as the further advanced the plot is the less likely the need for secrecy as more conventional evidence can be led by itself.

The judiciary and bar are still independent. The Court of Appeal regularly sides against the government on issues relating to terrorism trials - for instance why you can know the name of Erol Incedal.

Compared to Roman system on the continent, or the much more politicised US system, I'd definitely contend the UK is one of the fairest judicial systems on the planet to be accused of a serious crime.
Lock contention? Why do you think they're using locks?
You kind of pose a straw-man, here. The activity was against the current law:
"
In the case, the conservative non-profit organization Citizens United wanted to air a film critical of Hillary Clinton and to advertise the film during television broadcasts which was a violation of the 2002 Bipartisan Campaign Reform Act, commonly known as the McCain–Feingold Act or "BCRA".[4] Section 203 of BCRA defined an "electioneering communication" as a broadcast, cable, or satellite communication that mentioned a candidate within 60 days of a general election or 30 days of a primary, and prohibited such expenditures by corporations and unions.
"

Besides, the correct implication (that this case meant unlimited campaign contributions through what would become SuperPACs) was pretty well disliked:
https://en.wikipedia.org/wiki/Citizens_United_v._FEC#Opinion...
The figure I've seen is 50% of Autobahn is without speed limit, 25% with permanent limits (due to noise control, permanently high traffic volume or intersections) and 25% with temporary limits (depending on buildings works, weather, congestion). Of course the perception is probably worse because more people use the congested parts with speed limits, and due to the limits they spend more time on those parts...
Promise.all?