skysight-inc/HackerNews huggingface dataset:
After about a decade programming PHP, I'm now mostly using java 8 (play framework), with some node.js thrown in on the side. I've found that PHP's benefits are also its downsides. The simplistic concurrency model where every request starts from a blank slate and has no asynchronicity is easy to understand, but difficult to optimize for performance. The large knowledge base is great for getting a solution, not so great for getting the right solution. The "just keep going" error handling philosophy is excellent for newbie programmers, but terrible for guaranteeing correct operation. The interpreted zero-build dev model is excellent for quick edit-reload cycles, not so great for large-scale refactorings where you want to know you've correctly adapted all uses of a core api.

Java has improved a lot from what I remember it used to be. Java 8's elimination of a lot of the boilerplate, coupled with the simplicity of the play framework, and activator's hot reloading of code for quick edit-reload cycles brings it on par with PHP as far as developer comfort is concerned, at least for me. In my experience java is nicer for large-scale web dev, while PHP is nicer for a quick side project. Node with javascript I would put more in the PHP camp than the Java camp. It is great for side projects, but scaling it up necessitates switching languages to something like typescript with a whole-project build, which takes away much of the "ease" that something like PHP or Node provides.
No [0].

There are quite a few ways in which that might be considered better, or at least a step in the right direction.

[0] http://static1.squarespace.com/static/56eddde762cd9413e151ac...
It's clear now that there was no "Iraqi resistance against the US," or else the would have stopped "resisting" after the US left.

It was clear then too, but it obvious now that the proto-ISIS "freedom fighter" narrative was completely divorced from reality.
I'm probably behind the times but I haven't heard it said that any amount may be harmful. Even fructose's harshest critic, Dr. Lustig, says that fructose's harm comes when an large acute volume of it overloads the ideal metabolic pathway and results in the using metabolic pathways with harmful byproducts. This is why he says whole fruit consumption is generally ok. The fiber in the fruit slows down absorption and gives your liver time to process the fructose without resorting to the harmful fallback methods.
His complaints relate to non-technical folks learning to code. In this respect, the HTML note is valid. You, a technical person, understand the nuance, but "easier then it ever was with cleaner html5 tags" won't resonate for folks trying to learn.
NASA’s Juno Spacecraft Will Soon Be in Jupiter’s Grip
Thanks for the lead. I didn't think to look for car stuff, although I have seen police officers in the US with something like that in their cars.
for a return to the glorious past

It's misleading to argue that the Soviet Union was hankering after a "glorious past", the opposite is the case.

I'd even argue that this is misleading in the case of Nazi Germany, although less so as, the National Socialists often spoke of the alleged decadence of the presence which they contrasted unfavourably with a mythical past.

Both the Soviets and the National Socialists were extremely technophile.
Same as my comment below, thanks for the lead!
Yes, working in a product area that's directly responsible for generating $N*10^9 of revenue per year is just terrible. I'm sure they don't do ANYTHING interesting, technology-wise.
"Yes, at one level there definitely is factual that the top hunters can supply the rest of the tribe with all necessary resources. The problem is one of motivation... Why should they?"

I don't think that is a good metaphor.

It's more like: all our ancestors worked hard to build what the tribe have, but a few people just decide they should have most of it because they know how to hunt a little better.

Or, not even that, because they are the grandsons of a guy that, maybe, hunted a little better.
linkedin's IP based tracking includes their website, and doesn't require you to share your location through the browser. They've been doing that for years. If you share a network gateway with someone, LinkedIn will suggest that person as a contact.
> Predicting that interstellar travel will ever be in any way economically advantageous is probably unphysical.

What's sauce for the sad alien is sauce for the human empire, say I.
Talking about the IRA and Scottish nationalism in the same breath is pretty extreme. I don't think we've had anything remotely similar to the IRA in Scotland since the times of Bonnie Prince Charlie (1700s)
Show HN: WeatherTunes — The right tunes for right now
> you should organize and advocate for both electoral reform and the minor party you most prefer during periods between elections

I totally agree with this.

>Once its clear who the major candidates are in the present election, you should still generally vote for the one least harmful to your interests

I don't agree with this, because the platform-creation calculus of the major parties is to ignore interest groups that will not abandon ship.

As H's platform makes clear, when there is sufficient loyalty, it's in the best interest of the candidate to edge as close as possible to the opposing party's platform, to attract as many swing voters as possible.
So you've got a few small repos with good build infra,and many small repos that don't. Your overall system is still a sibling ship, and you have no economy of scale force multiplying your few people who take infra seriously
Actually those on government assistance were shown to vote mostly to stay, so that they could hold on to their government assistance. The EU helps the welfare of many poor people.
Seems to be happening more and more often with people.

I spent the last few months learning how to code and making weatherTunes. Its an app that takes your surrounding weather conditions and makes a playlist that fits the current mood created by the weather. Check it out, and if your up to it, would love to get feedback!

https://itunes.apple.com/us/app/weathertunes-weather-based/i...

www.weatherTunes.com
Unfortunately one way to define variable bit rate is its compressed CBR.

Rather than defining at the protocol level "insert comfort noise here" at the compression level you get bitstream level "I donno what this stream is at a higher level, but replace the next 1000 bits with zeros".

That's if you do simple sampling. I donno about weird higher level vocoders. I think you could create a constant bit rate vocoder that really is constant. But it'll likely be uncompressible if its a good one because a vocoder basically is a compressor that's specifically very smart about human speech input. If your vocoder output is compressible its not a good one.

I think if you replaced your compression step with run it thru a constant rate vocoder you'd get what you're looking for. Probably.
Large-scale data collection with an array of robots
Can you give us the source for that chart because it is very curious what they say.

Look at Norway and Switzerland
Not nearly as much, which is why the emphasis is on affordable as well.

Further, housing is not a purely elastic good. Many luxury/high end places would rather a unit stay vacant for longer than to rent it out at lower prices to someone who might be an "undesirable".
The UK has always had the "islander mentality". The development of a European Superstate would either have had to drag the UK along unwillingly (barring apathy), or happen without them.

The positive I am taking from it all is the fact that for once people are actually talking politics again.

The next general election won't be as apathetic as the last few, which is likely why Boris won't call one if he becomes leader of the party.

This article pictures a gig economy built upon a universal income as a pre-requisite, which I just don't see happening.

Given the current state welfare system, there is potential for something like this to be gradually introduced, such that those on lower/no income could start building the gig industry on top of any basic state benefits (as opposed to earn a pound, lose a pound in benefits).

That would require a huge shift in current mentalities though, possibly greater than the admission that maybe we would be better off as an integral part of any EU superstate.
The group that became ISIS wasn't the only group fighting the US occupation. (And the fact that a group has goals beyond resisting the occupation doesn't mean its not resisting the occupation; just like the fact that it had goals beyond opposing Saddam's regime doesn't mean that the same group wasn't opposed to Saddam's regime -- which had contained it far more effectively than the US occupation did.)
I'm convinced shoddy implementations are to blame. I have two examples, both anecdote. First, watches. I've had every Pebble since I pledged the original Kickstarter. I've hooked various Pebble's to various iPhones. The connection to this day is flakey as hell. If I feel the watch buzz, indicating that I've walked away from my phone, there's a 50% chance that I'll be doing the Bluetooth Pairing Watuzi Dance to get it to pair again. Such is the way of things, eh?

Except the Garmin Fenix I bought a month ago has been rock...m'f'ing...solid. I walk away from phone, watch buzzes, walk back, watch buzzes and says it's connected again. Every time. I pull up the Garmin app, it's always connected. In a month of heavy usage, it has NEVER failed to reconnect or stay connected to the phone. Always get my notifications. Couldn't begin to say what the difference is, but someone appears to be doing it right and someone else: meh, not so much.

I don't know what others are doing wrong, but I basically reimplemented Apple's Core Bluetooth for a hardware piece that allowed old iPhones (4 or less, IIRC) to pretend they had BTLE, and consequentially pretend they supported Core Bluetooth. We tested heavily, never had issues, sold it to users, and I don't recall support issues with connectivity (I'm sure someone had an issue, but not enough that it was ever brought to our attention). I believe the devices sold like dog poop sandwiches, but it was for a company large enough that they probably sold more of their devices than Pebble has sold, so I would think we'd have heard about it if there were issues. But if I did anything "right", I couldn't tell you what it was, as I just followed the specs as best I could.

In summary, it would appear that it's possible to get devices to reliably connect and stay connected, but I don't know what the secret is.
I've been interested in using Swift for webapp too. Anyone has recommendation for a good framework?
That's what EU leaders are saying. “Marriage or divorce, but nothing in between,” said Luxembourg Prime Minister Xavier Bettel. “Those who want free access to the European domestic market will have to accept the basic European freedoms and the other rules and duties which are linked to it” - Merkel.
The UK will not be allowed to pick just the features they want from the EU.
>They just have completely different goals.

Not really. Teachers have every reason to fight for their life to be better too. If what you say of the UK teacher's union is true, maybe we should find out why the teachers, good and bad, are so intent on having a well paying secure job.

>requiring 4-year veterinary degree to do dog massage

No, that is not the rule, that is a exaggerated simplification.
> The other members of the tribe will be forced to join the new tribe, because they wouldn't be able to survive on their own.

The analogy breaks down here, because the hunters can't realistically leave. They aren't really hunting as much as gathering the scraps of all the villagers and combining them into a tasty new meal, along with a little hunting on the side. Leaving the village means they might not have as easy access to the scraps, and game is much more scarce and hard to hunt than gathering scraps.

> Similarly, my fear is that a world in which a few elites provide everything for a large "idle class", people of that idle class would have no practical rights against that elite.

I'm not sure it's a large idle class compared to a small elite. The idea, if it works, is not that nobody works, but that they can focus work where they want. Some people are fine doing menial (or unfulfilling) work and using the extra money on the side, others want to devote all the time to what they love. Or maybe, people will naturally flow between these states over their life. None of us really know how it would work, since we haven't had a system like that before (and I would argue that getting from here to there might actually be harder than making there work).
Being able to take the blackbox recordings of your combat drone which got shot down, reconstruct the scenario and permute the rules till you get a win, seems like...well, a big win.

Air combat is also one of those areas which does notionally have narrowly computable victory parameters - given hardware of capabilities X, there is a model we don't know which should generally predict the outcome.
Norway and Switzerland are brilliant examples of success outside of the EU.

Switzerland has some of the highest quality of life you can get.

They also have higher per capita gdp

http://www.wolframalpha.com/input/?i=per+capita+gdp+of+norwa...
If the business can get adjacent jurisdictions to compete for the new store, it might not matter whether such a rule is enshrined in existing law or not.

When I envision the big boxes around here, it's mildly unfortunate that they might end up unused, but there is so much open space that they aren't a particularly big concern. By area, most of the US is like that. In areas where there isn't a whole lot of open space, the redevelopment will be more likely anyway.
Show HN: Babel-plugin-istanbul for ES2015 test coverage
Hyrum Wright (the king of large-scale refactoring at Google) did a talk at CPPCon about it. https://www.youtube.com/watch?v=ZpvvmvITOrk
You realise all the "EU funding" is just them giving us back our own money, right? We're a net contributor. We could replace all the EU funding/subsidies with payments from Westminster and still have cash left over.
Trickle down economics doesn't work.
For what it's worth, I think it might be worth A/B testing a

+--------------------+
| Hero |
+--------------------+
| Step | Step | Step |
| 1 | 2 | 3 |
+--------------------+

layout against the "wall of text." Even if for no other reason than it would be an exercise at the other extreme of explanation. My gut is that the optimum is in the middle. But I think that a sales pitch that gets to a clear value proposition relevant to the lead's current knowledge has value.
Doesn't Spaceteam use Wifi, rather than Bluetooth?
It's the Adam Smith Institute's research on the EEA Option:

http://www.adamsmith.org/evolution-not-revolution
On a project I work on* we've found that this technique has worked well so far. We're slowly moving from v3 to v4 by splitting out groups of components into their own packages and upgrading them as we go. We've been heavily inspired by d3's approach e.g. with the use of rollup for bundling.

We're probably at about 60% of the library upgraded/split-out but we've yet to tackle the more tricky changes like d3-selection.

* https://github.com/d3fc
I won't argue whether we must work, but I will instead argue that the author should think long and hard about his view on 'dignity'.

I doubt the author would claim that a wealthy rentier who spends their days creating art and debating philosophy was lacking in dignity. So why is dignity suddenly a problem if the person is very poor?

That sentence let us know a lot about the author and his view on the very poor; but it didn't actually tell us anything at all about the poor, or their "dignity".

In the meantime, I'll make a note that if the author believed his writings, he'd move to Britain. He is not going to do that. Because he is just taking a silly stance to get attention. It's a dumb hot-take, written by a shallow, bigoted jag-off. It sucks that this thing is on HN.

This is, by a wide margin, the worst thing I've read on stratechery. And thanks to the bigotry of that dignity comment, it will be the last.
I'm pretty sure it's always been like that but presently I lack the data prove it
Scotland's First Minister sets up expert group to advise on Brexit aftermath
Brexit or Fixit
Why is this in the kernel? It seems to me like a failed separation of concerns compared to running this in userspace. There shouldnt be anything magical requiring this level of coupling.
My hope for the future of phone/car interfaces is that once you've paired a phone, the touch screen basically becomes a display for the phone... I have a brand new (less than a week old) car, and the UI feels sluggish, and looks very dated at this point. I'd rather my N6P managed the whole thing. Hopefully BT5 can allow that to happen.
The latrge federated something or other doesn't exist because Google chose to build monorepo tools instead, and approximately no one else's code base is really big enough to matter. Why didn't/couldn't Google build the federated something or other?
My point was never that it was possible 100% of the time. Simply that it was possible some of the time.
SCOTUS Justice Sotomayor Favors Jury Nullification
I still use PHP for a very simple reason: stable libraries and extremely well done documentation.

As a language and general features I prefer by far node.js... but i hate the total lack of decent-level documentation I found over the years.
Facebook just redesigned the like button
The paper cited in this article (Phonotactic Reconstruction of Encrypted VoIP Conversations) really deserves to be highlighted, so I submitted it separately:

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

http://www.cs.unc.edu/~fabian/papers/foniks-oak11.pdf
.NET Core makes the CLR dependency a little easier to swallow. It's modular, so you can only pull in the stuff (packages) you need. Cuts down on the bloat and "CLR kitchen sink" quite a bit.
If you think Soviet Russia happened because of nationalism and a desire for glorious past, you should check your sources. It's the opposite of true. Early Soviet Russia embraced modern art, abolition of family, "denounce the old world" and all that jazz.
Swampthing :) do you think is a good idea to incorporate in DE with only 5,000 shares? that gives a minimum anual tax of $175.

The minimum tax for the Assumed Par Value Capital Method of calculation is $350.

you save $175/year and any time you wish or for example receive external investment you can do a stock split or authorise more shares.
Exactly right. Jurisdictions need to make these decisions intentionally, or else it is possible to make roads that not all users can use. Manhattan avenues are very similar to this, and are surprisingly usable for all three modes -- they are limited to 25 MPH, and are not limited access freeways, but can feel like one to a motorist in medium or better traffic because they are one way and the signals "travel" up the avenues at 25 MPH -- so as long as you can go the speed limit, you never need to stop, which is great for motorists, yet they're still reasonably usable by pedestrians and cyclists -- it helps that the speed limit is self enforcing in that there's no point in going much faster since then you'll hit a red light. The only thing that could make it better is probably to reduce to 20 MPH.
Switzerland is part of EFTA which is one step above the EEA [0] as-is my understanding. It would apparently take longer to negotiate this, however there is some political will for the UK to join [1] so it's not something that's impossible given a bit of time and exploration of each countries incentives.

Longer-term it might be better if the UK diversifies more, and begins to trade less with Europe, and more with booming Asian economies or countries which share its language.

Obviously in the short-term there will be a lot of noise: FUD and posturing.

[0] https://pbs.twimg.com/media/CmBqSu-WgAEFHSa.jpg:large

[1] http://www.swissinfo.ch/eng/european-economic-area_switzerla...
Really looking forward to trying out the browser.html tech preview! Especially since it seems to have native support for a vertical tab layout with autohide!
Insightful read and an interesting thought experiment. Unfortunately, executing this in reality is much harder than it seems.

While he rightly observes that the new order will largely be built on supranationals (like Google & Facebook), it is still difficult to run away from nationalistic & economic realities (Brexit is a case in point).

Different nations, states, regions and people are experiencing growth at vastly different rates (in the old order). And it is this widening gap between the haves and the have-nots that is preventing us from achieving the utopia the author speaks about.

We see this in the US, the UK (as seen in Brexit poll results), Europe in general (with Eastern Europeans moving west in search of opportunities), and also in Asia (which sees a growing gap between the affluent and those left behind).

It's well and good to think about ideals, but the real question is really what is the route we must take (and the obstacles we have to overcome) to reach that objective.
.....

grins sheepishly

As Jack mentioned in another comment (https://news.ycombinator.com/item?id=11994607), a lot of our glue is slow just because we haven't paid attention to it. Some of this is duplication of the kind you specify.

So we do do a lot of extra copying. Especially once we switched to multiprocess -- there's a ton of data being passed between processes through a copy that really should use shared memory or something. It's pretty straightforward to fix in most cases, but we just haven't gotten to it. Like many other issues we have. Servo is mostly a testbed for the smaller components, so this is to some degree okay.

My favorite example of this is that we probably contain the worst cache implementation ever. Before multiprocess, we still used threads and senders a lot. So switching to multiprocess just involved replacing certain threads with processes, and using IPC instead of regular sync::mpsc senders.

One thing that got caught in the mix was our font cache. This cache loads fonts from disk and shares them with content threads till they aren't needed anymore. It was a simple cache, implemented as an atomic refcounted weak pointer being stored in the cache while strong refcounted pointers are being handed out to content threads.

In the process world, refcounted pointers are duplicated across IPC with their refcounts reset to one. So this involves copying the whole font across IPC. Inefficient in itself.

Also, on Linux, our IPC currently assumes /tmp is tempfs (it isn't in many cases), and uses it for shared memory. So, our cache, to save us from loading fonts from disk, loads a font from disk, and each time a process wants it, stores the file to disk in /tmp and has that process load it from disk. Which is unequivocally worse than what we had :)

It's not hard to fix, though. But it's stuff like this that we still have. It doesn't have to do with Rust, just has to do with priorities. My plan here is to first get a sane IPC shared memory implementation for Linux (to be used whenever we send gobs of data across a process), and build a better caching layer over it for the font cache. (If you like OS stuff and want to help ; let me know!)

However, the individual components themselves are pretty great!
You're saying modern air to air combat is relatively simple and doesn't require that much pilot skill? If that's the case, why do all the accounts of the 1991 and 2003 Gulf Wars claim pilot skill was perhaps the single largest advantage the Americans and British had over the Iraqis? (Not a rhetorical question; I don't know what the specifics of the task consist of, and I'm curious about the answer.)