skysight-inc/HackerNews huggingface dataset:
"Actions to take" section:

1. Reduce and rebalance the number and type of price promotions in all retail outlets including supermarkets and convenience stores and the out of home sector (including restaurants, cafes and takeaways)

2. Significantly reduce opportunities to market and advertise high sugar food and drink products to children and adults across all media including digital platforms and through sponsorship

3. The setting of a clear definition for high sugar foods to aid with actions 1 and 2 above. Currently the only regulatory framework for doing this is via the Ofcom nutrient profiling model, which would benefit from being reviewed and strengthened

4. Introduction of a broad, structured and transparently monitored programme of gradual sugar reduction in everyday food and drink products, combined with reductions in portion size

5. Introduction of a price increase of a minimum of 10-20% on high sugar products through the use of a tax or levy such as on full sugar soft drinks, based on the emerging evidence of the impact of such measures in other countries

6. Adopt, implement and monitor the government buying standards for food and catering services (GBSF) across the public sector, including national and local government and the NHS to ensure provision and sale of healthier food and drinks in hospitals, leisure centres etc

7. Ensure that accredited training in diet and health is routinely delivered to all of those who have opportunities to influence food choices in the catering, fitness and leisure sectors and others within local authorities

8. Continue to raise awareness of concerns around sugar levels in the diet to the public as well as health professionals, employers, the food industry etc, encourage action to reduce intakes and provide practical steps to help people lower their own and their families sugar intake
This is a well-written article, and the concepts are explained clearly, thanks for sharing. I'd just like to add a caveat.

When the author says "if a researcher runs 400 experiments on the same train-test splits" - then depending on what he means by 'test' set, that researcher is wrong. In pretty much all machine learning literature I've come across, it's drilled into you that you never look at your held-out test set until the very end. Hyperparameter optimisation and/or model selection happens on the training set and only when you've tuned your hyperparameters and selected your best model do you run the model on your test set to see how it's done.

Once you've run the model on the test set once, you can't go back to tweak your model because you're introducing bias and you no longer have any data left that your model's never seen before.

To avoid overfitting, you can use cross-validation to effectively re-use your training set and create multiple training/validation splits. (As an aside, I find it frustrating how liberally different sources switch between 'validation set' and 'test set', it's really confusing).
The French beat the British for the US actually, because it was in their interests to have Britain lose their hold on the North American colonies. Without French support the American colonists would not have been able to maintain a prolonged resistance against Britain.

At the same time, Britain's main forces were across the other side of the world, fighting battles that were more important to them at the time. They were a superpower with global concerns.
So which podcast do I have to subscribe to, to listen to these reviews?
Hammer 2 and xlinks
You have no idea why I stepped down, or about anything else that went on behind closed doors.

People I trust at Mozilla told me there was no user hemorrhage either while I was CEO or (due to the #Nozilla counter-action) immediately after I left.

From statcounter and netmarketshare (both not great as reliable measures; each uses different methods), anyone can see that user attrition was ongoing and worsened in the last two years, with a little temporary recovery when Yahoo! started distributing and promoting Firefox (this recovery seems to have ended). But there are too many confounders that could be to blame, including Flash-related problems, the lack of process-separation (increasingly required by Google web apps), and Australis.

Calling me a name because you assume things about me not in evidence simply makes you look like the only one here who hates out-group members because they don't conform to your in-group. Save it.
I have God talking.

God says...
Ionic's wall's storminess sago's truckload remembering asp hunger preposterous calamitous gracing daiquiris Jacky armfuls reamer's infinitude's notebook bettor Lucian worker's Brittney's brownout's wanton beastliest outlook's stockading verbalizing Zorro's treasonable monotheistic prediction toolboxes sacredly Rheingau's perforations smuggles incremental stall's edit's scouting springiness cadger cylinder's Thanksgiving's friendliest protester's saving's disavow Rosalinda Karol redraw bucketful's Racine intone outskirt's renting aside betrayed Osaka's bonus's polysyllable's chanter's lithographers Armenia's combatant's monk's kaftans peg vaccines obstructionist dynasty weir's Levant's establish Donetsk's grains methodology disproportionate hesitant pockets extirpate enervated metatarsals express shudders Seneca negotiation denuding profanity's twill pinball's aquariums Rory raiding ajar vender's poinsettia's Cognac's mesh thunderbolt's
It's true it is harder; definitely much harder if you're not a sysadmin by trade. These days to get mail to deliver you not only need to support SMTP, but also TLS, SPF, DKIM, DMARC at a minimum. You also need to make sure that you aren't inadvertently a source for relaying, or non delivery report (NDR) / delivery status notification (DSN) bounce source (vis a vis spam with faked return paths etc).

In short if you don't / won't / can't do the above you are indeed much better paying someone else to do it (preferably at scale with attention to detail like fastmail).
I use cloud IDEs, more for the cloud workspace than for the IDE, I guess.

Maybe I could have the same thing with VMs or containers (disclaimer: I've never even set up docker or vagrant), but I still would like to have that in the cloud where somebody else takes care of patching stuff, backing up data, etc, and I can share it with a URL if I want to, instead of with a multi-GB file.

I'm too lazy to care about my infrastructure anymore, and I'm happy I can pay other people to do it for me.
You use runtime.GC() when you did your benchmark. This tells the Go runtime to do an aggressive stop the world GC, which it does. The normal GC is concurrent and if you use it latency should not be a problem. For your use case I'd remove runtime.GC() and try timing the RPC and look for latency spikes. Report back if you can, if you are still seeing high latency we can file a bug report with the Go team.
While this may be true in your experience (and mine, but only in the Enterprise field) this doesnt make java any less of a "real language"
Her own privacy.

Pretty sure she doesn't give a shit about the privacy of the average schmo in the street.
Prevent your website being hacked during Christmas Holidays
Yes, that is true. I was merely trying to explain the melodramatic sentiment of the comment you responded to.
A "sugar tax" is not a bad idea if it is ringfenced to creating a healthier environment and funding NHS obesity-related treatments.

The problem is that this type of tax will be subsumed within general taxation.
I'm lucky, work for smart people who realized that if they wanted me to sign they had to yield on where. (Or as they put it: we don't understand what you do anyway and we trust you, so whatever you want as long as you show up most of the days.)

Edit: Used to work on personal projects in a previous job that included long commutes. For me it is often the best time of the day for programming: Nobody to interrupt, few distractions, a very specific start time and stop time.
Indonesia says AirAsia plane crashed due to rudder control glitch
I tried locating the paper "Novel Phase of Carbon, Ferromagnetism and Conversion into Diamond" by Jagdish Narayan and Anagh Bhaumik which is given as one of the sources for the artikel and was supposedly published yesterday. I can't find it though :(

The DOI doesn't check out and it's not on the Journal of Applied Physics homepage. Can anyone point me to it?
I'm only a data science student at the moment so I don't have much "real world" experience with machine learning, but this is what I would have thought. If you're trying to get quick value from a dataset, you can probably run a "vanilla" random forest or something and get pretty good results. Then, if you want to use it in production somehow, you can go back and "go all Kaggle" (I like the expression!) on it.
That's not what I said. The point I was making is that replicating their hardware functionality is a small part of the puzzle. Their customers are buying solutions and trust, not just hardware. So even if you replicate everything, they still have a business.

That said, there is plenty of high end networking gear that is hard to replace without getting into similar price territory. If you're going to be handling throughput in the tens of Gbps per line card, with high enough availability to require everything (CPU, line cards, RAM) to be hot-swappable, you may be able to do that with PC's, but you're going to be looking at high end, high margin specialist servers of the type you won't be buying in a local store.

And even assuming you can save on the server, you'll still be paying for line cards and network cards that are produced in small quantities and that are high margin as well.
If the vast majority of ideas are bad and only a few ideas are good - this leads us to think about a market of ideas. Generally then the market is awash with ideas - this makes ideas cheap as there is plentiful supply. The only way to determine the value of the idea is to enact, to invest in the idea - but before this, when the ideas are on their own, they are cheap and plentiful and most will be lemons.

This is why I still believe that not telling anyone about your idea is likely to be a bad thing - stealth mode in general is not wise at the early stage before enactment. Why? Because most times these ideas are not worth much and you would benefit from the feedback from seeing how that idea fares in the public domain. This doesn't invalidate the authors very good summary of how to find a good idea - and I don't think the article was necessarily saying that ideas should be kept secret all the time either - it's just a related thought!
Escort Catalogue – Escort Catalogue
Regarding the state of web graphic standards for animation, I would like to know where SVG animations[0] are going.

With SMIL animations being pushed into deprecation[1] by chrome devs while CSS animations are a inferior replacement, web animations are still a draft[2] and SVG 2 with SMIL 2.1 not being released anytime soon?

[0] https://developer.mozilla.org/en-US/docs/Web/SVG/SVG_animati...

[1] https://groups.google.com/a/chromium.org/forum/#!topic/blink...

[2] http://www.w3.org/TR/web-animations/
"Good" isn't an amorphous property - it's contextual. Unless you are talking about Pirsig's "Quality", it's Good for some thing.

This article reads similar to Abraham's "Getting Everything You Can Out of All You Got" but there he calls them "breakthroughs". The advice and descriptions are nearly identical.

The approach is too internalized. What about "failure is easy to spot and pivoting is quick" or "fosters insightful unguided feedback from the user" or an idea that "suggests a conversation"?

The approach relies on what Gardner calls intra-personal intelligence and not inter-personal intelligence. (https://en.wikipedia.org/wiki/Theory_of_multiple_intelligenc...) Taking it back to Pirsig, this becomes too aristotilian - something that makes sense internally in our own heads so we believe it's true and blissfully ignore strong market signals that tell us it isn't.

For instance, the Nokia N900, MSN TV, Apple Newton, or the Palm Pre checks every mark here. NeXT, BeBox, "Clippy", Lotus Improv, New Coke, Crystal Pepsi... "Good" idea with a failed execution and bad process.

The valley is awash in similarly approached ideas that got their 250k seed and burned out. They were smarter than everyone else and provided solutions to problems people didn't have. It was their holy idea and not a topic for an open dialog with the potential customers.

Zuckerberg's generous $100 million donation that ruined Newark schools was the same mentality. (http://www.commonwealthclub.org/events/2015-09-29/dale-russa... - click "play now" hidden on the right, it's about an hour)

The reality distortion field may have worked a remarkably high 1/3 of the time for Steve Jobs, but for us mortals it's a one-way ticket to a tent on the side of the road.

So what do you do instead? Patio11 talked about this in building "Appointment Reminder". He made appointments with his potential customers and instead of getting his nails done he sat with them and listened to their appointment-related problems. Then he built his product. Weeks of dialog before a single line of code.

The difference here is between building Quality Ideas, Quality Products, and Quality Services. I wish they were the same, but they aren't. What you do is entirely dependent on how you want to exit.
It's frustrating that many of these alternative approaches to accessing space (e.g. the space elevator) are "all or nothing", i.e. they require a massive investment just for performing preliminary experiments. Rockets (and to some extent space guns) can be built up incrementally, in range and capacity, which is probably a major reason they're so far ahead.

I'm not sure if miniature launch loops would be viable (i.e. self-supporting), but it should certainly be possible to build a space fountain up from the ground, at a very small scale. I'm still waiting to see it done though :(
We’re All Selfish, So Align Your Self-Interest with the Customer
How we used Category Theory to solve a problem in Java
I like the general idea of this.

Considering how much of a resource hog modern C++ compiler is for example (I hear good things about Scala as well) it would be nice if I could use a lightweight low powered front end machine to edit code and then have the backend bother with parsing, compiling, etc. People do this already with distributed builds so why not make it baked into IDE with code analysis as well. Maybe the OS can even save memory if you run multiple instances on stuff like executables, etc.

What I really don't like is how developers are pretending that HTML is the only client side technology if you go client->server route. To me architecting this as a HTML app shows 0 benefits - the install time is irrelevant - I am a developer - I know how to install applications and I do this for all my other IDEs, the time it takes me to install a thin client is irrelevant.

All this "use JS/DOM as front end" does is either :

compile to JS -> introduce an extra compile step, a shitty VM emulation, worries with interop and leaky abstractions

use JS -> poor semantics

and both are abusing a layout model made for documents into application development model that gets really inefficient at rendering.

IDEs are at the top of GUI complexity - why make shit even more complicated by doing things that slow development down - if they would for example write the frontend in something like JavaFX (not having used JavaFX I'm only speculating here, but I heard good things) it would probably be equally good (if not better) and at the same time it would make development a lot simpler.
Note that sugar consumption has been falling since the 1970s in the UK. Strangely this "evidence" is not mentioned.
We stopped buying raw sugar as well as things with added sugar at the grocery store. We also stopped buying juice and obvious junk food like potato chips. We still buy whole milk and bacon and cheese and pasta.

It was hard at first, but we still have sugar in various forms around the home to use on occasion. We're buying more fruit now too, but eat less than it takes to make the juice we eliminated.

We're losing about one pound per week, with no change in activity levels. So that's crudely about 500 calories per day, each. We have sweet things for social reasons, or to celebrate. The trick is just to avoid buying them so you can't eat them when you get hungry. Once we get down to our target weights I imagine we'll buy more.

It's really quite shocking when you stop buying sugar, just how many of your usual purchases you end up putting back on the shelf.
A lot less will be wrong with Java, once "struct" value types are implemented. I guess that'll be in Java 10? This should improve performance significantly thanks to locality of reference and reduce heap footprint in the same time.

Java tends to be "Star Trek Borg like" [1] in sense it's often impossible or at least cumbersome to use libraries written in it in non-JVM languages. When can we write a .so/.dylib/.dll in Java? There are of course some (cumbersome) ways around this, but it tends to involve RPC of some sort and multiple processes.

Not exactly technical reason, but a matter of opinion: The shadow of Oracle Corp. Makes me feel uneasy using Java.

[1]: Borg is an alien race in Star Trek that considered other species inferior, assimilated their technology and turned them into more Borgs.
Yes the market is awash with idea - ideas that are just OK or so-so - very few are a really, really good. The problem is as always telling the truly good ideas from the just good. Having a good checklist is one way I think.

I am most defiantly not saying that truly good ideas should be kept secret, but I am saying they have true intrinsic value. Sometimes this value can be best utilised by sharing widely and sometime is best utilised by keeping quiet. The important thing is knowing when it is best to stay quiet and best to talk.
I believe yes, there's plenty of room and making Android phones is the one thing Nokia didn't do. The Lumia line was of great value, my wife received one as a gift, but the one thing we both couldn't stand was the OS. Windows Phone is what killed it.
In my personal experience, the opposite is true: the first times are the most intensive ones.
I'm afraid that just because the NSA says they've stopped doesn't mean I believe they've stopped. I'd like to hear from all telco CEOs come out and report their secret rooms with secret taps have all been removed. Even then...
It was possible it was banned in 2011 by the cabforum.
It was deemed that it would more likely be exploited for malicious purposes rather than anything else, and since you cannot explicitly validate the ownership of local domains it pretty much creates a FCFS environment which can fail very easily due to the inability to validate domain existence.

Internal sub domains e.g local.mycorp.com are still valid as long as you can provide proof of ownership of the parent domain, and after the "ban" they also introduces some leniency in getting an intermediate singing cert for internal domains because in many cases the reason why a company would buy a "CA" cert for an internal domain / host was regulatory and auditors don't care what the cabforum has to say.

Those CA's however will not be distributed outside of the organization so they pretty much provide as much assurance as an internal self signed CA just with the ability to please an auditor by saying that it was signed by verisign.
Ironically the tattoo in the image is the Newton's equation.
Note that our environment has changed significantly since the 1970s, with a propensity for many people to go from A to B by car and generally exercise less.

I see a sugar tax as a way of creating a fund to enable councils to implement healthy travel options (protected cycle to school networks, discounted public transport, public transport networks) and mitigate the cost of obesity-related diseases to the NHS.
What I've learned about growth after 1 year in a SaaS business
I work from home, but I'll still often do a "commute" if the weather is nice.

Here's a recent one, involving a quick six mile mountain bike loop in the hills, with a pause in the middle to fit in a 36 problem bouldering circuit:

https://www.strava.com/activities/196113578

As nice as it is to have that extra couple hours of free time each day to spend with the family, it's still a good plan to fill it up with some time for yourself every once in a while.
A New Work Paradigm: Digital Nomads and Location Independence
what about a "healthy food tax" ringfenced for funding the costs of end of life care for people with longer life expectancy??
Congratulations to the contributors. A lot of this kind of work goes unnoticed by many. I personally appreciate the expertise and effort required to even be part of these achievements (though I share none of it myself). Based on the recent trend of posts on HN, I hope that others will see these efforts for what they are.
One of the atom-typescript guys (basarat) has built his own typescript focused editor: http://www.typescriptbuilder.com

It's built entirely in Typescript and is not based on the Electron shell. Why they built it is mentioned here https://github.com/TypeScriptBuilder/tsb/blob/master/docs/co...
That's sad, because Adobe Edge was an open source web app running in a webkit/blink window. I always thought it would replace Flash IDE.
Especially for the kind of glue scripts we're talking about, having to install new language packages across a heterogeneous environment consisting of thousands of boxes is not an easy option.

For me the greatest advantage of the Perl5/shell integration is that you can use Perl's sane data structures, flow control, and code organization features instead of their bash equivalents which have endless pitfalls and can be less portable than basic Perl5.
> The Scientific Advisory Committee on Nutrition (SACN)
> has concluded that the recommended average population
> maximum intake of sugar should be halved: it should
> not exceed 5% of total dietary energy.

If we say that an average man has nutritional requirements of 2500kcal per day, then these recommendations imply he should not consume more than 125kcal of sugar per day, which is 31.25 grams of sugar.

A ~350ml can of Coke contains 39 grams of sugar [1]. A ~600ml 'Vitamin water' drink has 31 grams of sugar. A single McDonalds 'McFlurry' dessert has 64 grams of sugar [2].

Even something 'healthy' like a 250ml 'pomegranates, blueberries & acai' smoothie from 'innocent drinks' has 35 grams of sugar [4].

I guess my point is that we want people to reduce their sugar intake to recommended levels, there needs to be a sea change in what's seen as a normal diet. No one thinks that a 'McFlurry' is a health food, but in my experience they're not seen as a huge indulgence, despite being more than two-days worth of sugar-allowance for an average man, and more for an average woman.

[1] http://www.coca-colaproductfacts.com/en/coca-cola-products/coca-cola/

[2] http://www.mcdonalds.com/us/en/food/product_nutrition.dessertsshakes.3832.mcflurry-with-oreo-cookies-12-fl-oz-cup.html

[3] http://vitaminwater.com/files/vitaminwater_2014_NutritionFacts.pdf

[4] https://www.innocentdrinks.co.uk/things-we-make/our-smoothies/smoothies/pomegranates-blueberries-acai