skysight-inc/HackerNews huggingface dataset:
Is [[Int]] a nested array of ints?

This is because there could be more than one set of solutions to the simultaneous eqn
Open the link. The readme has a few.
Your first link is to a video from Robert Lustig. You should probably have mentioned that his viewpoints are quite controversial, and there's hardly yet a scientific consensus on them.

You shouldn't post his videos as the gospel truth.
Very cool. When I was in high school, I tried my hand at developing Game Boy games using a C compiler. Lots of good memories.

Really hoping they do that Super Nintendo talk next year.
I've done 4 months without sugar in any form (added or even fruit). I've lost almost 40 lbs, I feel great, I'm about the weight I was in HS (I'm middle aged).

And even though I'm vegetarian and accustomed to being the weird one as far as food as concerned, not eating any sugar in any form really is exceptionally isolating. Any diet will have you feeling left out, but man. Sugar is a bitch.
Thanks for posting, it is very interesting to see the data from a real pricing experiment. I'm not sure what you're using for transaction processing, but I think that could affect the rankings due to larger percentage transaction costs on smaller transactions.
I found the whole procurement process to be really frustrating, as someone new to the world. You have to talk to salespeople (even for what is a commodity service) and pricing is very opaque. Moreover, there are pitfalls like the fact that a rack never comes with enough power to run more than 1/3 full, and everyone treats this as normal.
The article doesn't say that - it says that glucose and fructose are handled differently (which is true; both occur from natural and processed sources) and that naturally-occurring sugars often come in high-fiber foods, and fiber impacts sugar uptake (which is also true). Sucrose is sucrose, whether naturally occurring or from processed sources.

The issue with "processed sugars" is that they appear in forms which cause you to not necessarily get enough fiber with them, and in form factors that are very easy to overconsume, but biochemically, 19g of table sugar and a couple of Benefiber caps are going to do approximately the same thing as an apple. Being processed doesn't make it magically toxic.
I was about to observation that the python code as posted in the blog missed an important optimization, reordering some of the tests to:

for b in range(1, 27)
for n in range(1, 27)
if b**3 + z**3 + n**3 + o**9 == 1997
for k in (3,4)
for e in range(1, 27)

This reduces the number of innermost tests and on my laptop it runs about 18x faster than the blog's solution. That was:

for k in (3,4)
for b in range(1, 27)
for e in range(1, 27)
for n in range(1, 27)
if b**3 + z**3 + n**3 + o**9 == 1997

Then I see that @eutectic did the same optimization in his Haskell code. Nice!
> like quickstarting meditation

Meditation is hard, so quick-starting it could be valuable, especially for someone who doesn't know how to meditate well.
Another reason to cover up in the summer sun
The free market solution is different tiers of service that offer different qualities.

Health care is tech which means it advances very quickly. It's illegal in the US to get the top tier service of 20 years ago (the only option is the best care right now).

If I were you I would simply choose a lower tier service that is still nearly state of the art. Because the top tier is so expense you must share your data but the lower tier services is 95% as good for much lower cost.

Look at literally every other industry to see how this is true - you have quality choices and its amazing and a beautiful thing. OR, get health care in say India.

Cliffs: You don't have a choice in health care quality and since that's unsustainable corporations are also reducing choices when it comes to privacy.
What are the axes?
Thanks for the reply and I agree with you (and Tim Cook!) on not overextrapolating from such stories. A couple points:

> The WSJ article, though, attributes the cuts in component orders to weaker iPhone demand: 'because of weaker-than-expected demand

In the hypothetical scenario I outlined, the reduction in component orders is literally due to "weaker-than-expected demand". In that scenario, they forecast needing, say, 41M screens but really only ended up selling 35M phones. It's off by less than 20% of forecost demand (and it still represents significant growth!), but it's still weaker than expected and that relatively small miss on expectations could easily result in a component order reduction of 50% or more due to inventory overhang and myriad other potential supply chain factors.

So, it'd be wrong to conclude that Apple's forecast was literally 50% off from this story... But that's not what they said and it is an incorrect assumption to presume a 1:1 relationship between component supply order cuts and subsequent sales actuals.
"Abolishing the leap second all those centuries ago was the best thing we'd ever done."

"I agree; now, come on, it's 3am - the sun's going to set soon, and if we want to enjoy this warm January day, we'd better be off."
>> List comprehensions have always struck me as a very ugly mechanism

I've always thought they are basically an implementation of set builder notation, e.g.:

X = {a | a ∈ Y}

Equivalent to:

X = [a for a in Y]

And so on?

[1] https://en.wikipedia.org/wiki/Set-builder_notation
It is. And Sony provides us with minimum and maximum available hdd bandwidth. We have to make sure that the game works and is playable at both(the devkits have a special mode to simulate the minimum available bandwidth).
In the same boat of not knowing Haskell, this is how I interpreted it - the [[]] denotes a nested array of ints, where each array represents a set of variable values on 0..26 that satisfy all guards.

Guard $ foo

Is equivalent to filtering out the values in u in each variable that fails foo. They're staged that way for the sake of performance - filter out possible values of x now so that the next guard statement has fewer possibilities to iterate over.

Then, once all guard statements have been put into effect, the full set of combinations of values that pass each guard are placed in the array.

Critically, it is not "for u in [0..26]" but "u=[0..26]", which gives me the idea that this isn't a loop but a filter.
This is retarded. If you try something this you will end up just like lavabit did. You can't rely on solutions that require the operator to remain honest.
Instead of

for a in range(1,27) for b in range(1,27) if a == 2*b ...

you could try

for b in range(1,27) for a in [2*b] if a < 27 ...
Since you cannot realistically prevent unencrypted emails from being sent to your email service, that's not any kind of a solution.

You can't rely on your ability to block them either, or you'll end up just like lavabit did.
Also QUIC, which got most of its ideas from SCTP and some from DCCP.
There is a good movie about it: Fed Up

Made me watch my processed foods, and especially sugar intake.

Still think balanced diet and exercise are a very good idea
How would Assange know who released the DNC emails? They were publicly released by Guccifer 2.0. Assange merely downloaded the public dump and indexed it on WikiLeaks.
On the other hand I have heard more than once people who do sometimes very secretly confess they wish their cousin/brother/etc with Down's had been aborted. They always talk about all the love and joy and positive things too. But at the end of the day, they say, they think they would have preferred it the other way. But this is not pretty, and it's not something people like to talk about. So if you just take what people say in public, you maybe don't get accurate representation.

Maybe the people I know are not good representation of the population, though!
Time of day and shadows? Just a guess.
On the subject of sugar, there is a review of Gary Taubes' new book "The Case Against Sugar" in the Atlantic: https://www.theatlantic.com/magazine/archive/2017/01/the-sug...
The reason we cannot see these concepts in today's Hebrew letters is because the modern Hebrew script has been adopted from Aramaic script used in Persia. Most learned Jews were taken into captivity by Babylon, which was then captured by Persia. And the schools which Jews established in Babylon thrived, and most likely adopted the Persian script when writing.

If you want to see the original script, look at a Samaritan Pentateuch.

https://en.m.wikipedia.org/wiki/Samaritan_alphabet
The author identifies "resetting sugar-addled taste buds" and becoming mindful of how many foods have added sugar as benefits. Having gone without sugar for a month, I can affirm that both of these things were true. And, of course, willing abstinence from certain foods is a part of many spiritual traditions.

Given that the author is suggesting that interested people undertake this as a month long exercise, and only claims to have undertaken this exercise twice, it is not clear why you are characterizing this as an extreme diet.
How were Sanders's claims of Clinton rigging the elections proved by the emails released on WikiLeaks?
That's a fair critique, but I think it's worth noting that news of the inventor passing away came out the day before the article was published. It seems reasonable to me to focus on one brand with that as the framing.
QUIC keeps message boundaries (just like SCTP) and also got congestion control negotiaton from DCCP.
October rr Talk Online
Microsoft did exactly that with their Bing toolbar.

https://www.google.com/search?q=hiybbprqag
You'd be surprised. In general, I think sugar has been known as something that you had to consume "in moderation." But, this is akin to the false belief that moderation can fix most any problems.

My favorite example is a survey that asked people which one saved more money, turning the lights out an hour earlier every day, or switching to higher efficiency lights. The vast majority thought turning lights out earlier would have higher impact, which is incredibly wrong.

So, the same with sugar for many right now. Many think that they can get by with more "moderation" and skipping a desert.
Create a good reason to talk to other people then. Maybe learn a new language. Now you have a reason to talk to people that speak the language you are learning.
We've banned this account for trolling.

Please don't create accounts to break the HN guidelines with.
You'd be really surprised - fruits contain a lot of sugar. Dried fruit and fruit juices (which many people think of as "healthy") can zip you past sugar quotas in a hurry.

Honestly, I think it's probably just easiest to limit carb intake overall. Don't bother with the nonsense about subtracting fiber and all that, just set your carbohydrate goals for the day and stay under that. Sugar-heavy foods tend to get naturally eliminated in such a routine because the calorie-to-satiation ratio sucks.
I think "completely different" is overstating it, the money quote from the article you linked is “the liver doesn’t know whether it came from fruit or not”.

Naturally occurring sugar is just as bad, but has some other ingredients deemed to have positive impact. The analogy here would be opposing the claim that smoking is bad for you with the statement that some cigarettes can contain menthol or eucalyptus, which are known to have soothing effects and pleasant odors, and therefore are "completely different".

But back to sugar. The usual pro-sugar argument with naturally occurring sugars involves vitamins and nutrients. Unless you have a severe case of vitamin deficiency, your body does not need extra supply of those vitamins, at least doesn't need them urgently enough to justify sugar as a delivery mechanism.

Nutrients can be obtained from zero-sugar green leafy vegetables - watercress and kale tend to be the bomb as far as nutrient load.

Also "naturally occurring" is a misnomer by itself - modern commercially available fruit has been bred to have longer shelf lives and higher contents of sugar to appeal to general public.
No the original sin is healthcare is not respected as a market.

In the US you can't get lower tier quality for a lower price. Literally every other industry has this.

In Europe HC costs are going up as well so your argument is invalid.
This is a great way to test a hypothesis, and a good experiment.

I'll mention that there is a ule that was added a few years back, in backbone.js days, that urls with /#!route anchors will enable (read: force) ajax requests and JavaScript from the spider. Still remains a helpful way to force caching/indexing of JavaScript-only pages in Google.
But that's not how publicly traded companies work. In practice, it's difficult to go public without substantial revenue, and your numbers have to be audited and disclosed through SEC-approved processes. Combined, these two factors have the effect of keeping most outright scams out of the major markets.

Equity crowdfunding eliminates both of those guardrails. So it's reasonable to ask how effective they'll be (at generating returns for retail investors) given the obvious issue of fraud (and incompetence).
Yes, a UE4 world can be divided into a grid and the engine will manage loading/unloading areas as necessary. There's a caveat with this however, as each segment is effectively a separate level so you have basically no choice but to import your terrain as a chunked hieghtmap instead of using the terrain tool as meshes can't span multiple levels.
We are doing something like this for hackerexperience.com :) hope to see more games with real world interaction!
It's definitely confusing but let me put on my conspiracy hat here for the moment and point out that it's in the interest of a lot of multinational corporations to keep people confused. The science on things like artificial sweeteners is a jumbled mess. If you happen to believe a calorie is a calorie, triscuits seem as good as brocolli, in certain amounts. But triscuits are a lot tastier and a lot more profitable because they dont spoil. I guess my point here is every article you read on this subject, you have to be careful of what their motives are.
I may be nit-picking here but I said that the impact of the 2 sources is different...because of fiber, etc. I didn't mean to imply that the sugars themselves were different.
Microsoft vs Instagram in real-time hyperlapse creation
I read the whole article thinking "this needs to be an emacs mode!" only to get to the punchline at the bottom.

>> Benjamin Beckwith has contributed a "writegood" mode for emacs inspired by these scripts.

This is going into my .emacs right now.
Related: Animation about the history of writing (47 minutes) https://www.youtube.com/watch?v=PdO3IP0Pro8
That's it exactly.

You're awesome! Thank you very much.
In reality the MTU is 1500 because the odds of all devices on a given path supporting anything larger is almost zero. The only way IPv6 could have helped was mandating a larger fixed known MTU... say 4096 or 8192.
"tends to take a lot of innocent people who are winners in the status quo (in this case, people who try to stay healthy, and enjoy lower premiums) and makes them into losers (since now they have to pay the same premiums as people who don't use preventative medicine)."

It's not obvious to me, in the US medical system, that "healthy" people use fewer healthcare dollars over their lifetimes.

Of course I'd like that to be the case and it would be satisfying to shift costs to people making relatively poorer health decisions.

The problem is, it appears that healthcare spending skyrockets asymptotically at the very end of life - as you are literally dying - and that explosion of costs and care-use occurs regardless of how healthy you were throughout your life. Healthy people (and their relatives) desperately attempt to eke out extra days and weeks of life just like unhealthy people (and their relatives) do.

I don't know how to solve this problem but until this is no longer the case I don't think it's appropriate for "healthy" people to act so wounded about the money they're paying in for the couch potatoes.
Just adding on as to one of the reasons: we've bred fruits over thousands of years to be packed with sugar.

http://www.sciencealert.com/here-s-what-fruits-and-vegetable...
It's an eventful year when Alan Kay's AMA isn't even in the top 30 of submissions: https://news.ycombinator.com/item?id=11939851

With the meme that 2016 was a particularly deadly year for celebrities, it'd be interesting to do a count of death posts that made it above a threshold of up votes -- maybe 30? Like other similar metrics, it's limited by a selection bias -- i.e. It consists of folks considered celebrities to the HN Crowd, which apparently doesn't include Debbie Reynolds, but does include lesser known pioneers in tech -- but it'd still be interesting to count. David Bowie was the most popular death post in 2016. His death might be the most prominent for folks who don't think Castro's death was bigger news.
The resetting the taste buds effect is amazing. Several months ago, I started trimming back my sugar intake, with a goal of putting almost none of it in food I make myself, and generally avoiding dessert-type items.

What I've found is that restaurant food all tastes incredibly sweet. All of it. There has to be so much sugar they're putting in food, and I just used to be used to eating that much.

Getting a chai-type beverage, if they add sweetener at all, it's wayyyyyy too much. I've started requesting no sweetener in my chais, and that now tastes normal to me.

I still eat fruit, but no more than one piece a day. Even a whole apple often feels like a little too much sweet for me.

The biggest take-away I have from all this is just how easy it is to get accustomed to foods, one way or another.

The biggest benefit has been weight loss and having my energy throughout the day feel almost totally steady and even now. Even when I get hungry, it's a sensation I can mostly delay gratification of, where I used to get crazy and distracted from hunger.
I'm fine with new things. That's another tangent you're on. The original one that started all this was a claim that pseudocode wasn't about broad understanding. The Pascal-like pseudocode that I've seen for over a decade now has been there for familiarity and understanding. Even lay people get it without much work. If they didn't want it comprehensible, they'd be using C language they wrote the code in or who knows what.

Now, the OP designing a new method for perceived benefits is fine. I even encourage experimentation. That's a different topic. I haven't even responded to that one that I recall. I was countering misinformation about common pseudocode. Discussing OP's would require me actually using it on a number of problems along with diverse set of others with a meta-analysis of reported pro's and con's. Obviously haven't done that... ;)
High-resolution LiDAR and IFSAR. You can download some US elevation data for free from the USGS[1], other countries may have similar datasets available.

[1]: https://viewer.nationalmap.gov/basic/?basemap=b1&category=ne...
yes, but 2017 is the sum of five destinct integer cubes
There were some stories about a Russian bank being hacked and money stolen, as well as a (related?) story saying that Russia had stopped a hack. I don't know how true any of that was and they vanished off the radar soon afterwards.
The problem with marketing as a developer is that there is a fine line between helpfully increasing awareness of your product/service and being an asshole about it with modals which interrupt blog post reading and "growth hacking" of unsolicited email/Tweet blasts/etc.

Silicon Valley has been encouraging the latter because it works, to my frustration. One of the reasons people ask for upvotes on Product Hunt is that everyone else is doing it and there are no visible consequences for doing so. (and I've recently found out that people do the same for HN votes on occasion because they assume it's a part of the culture)
If the article were instead devoted to exploring the application of similar programs in a different context, perhaps it would have been named "Drive Safe or Else: How Car Insurance Companies Became Obsessed with Tracking Your Speeding Tickets".

There are clear benefits to charging insureds in proportion to risk, especially controllable risk. But of course these benefits need to be weighed against potential negative impacts. There's some discussion here about how to strike the right balance. It may be comforting to learn that actuaries, who design these risk classification programs, and regulators, who monitor and approve them, aren't just making this up as they go along. We're guided by principles, a basic summary of which [0] covers some of the topics discussed in this thread. Of course this only scratches the surface.

[0] http://actuarialstandardsboard.org/wp-content/uploads/2014/0...
This is true for the toy example. In the actual problem, the loop guards are quadratic equations or even higher order, and his first method generalizes better (and for small ranges is hardly slower).
Leaving out Russian news sources of which there are numerous:

http://www.bbc.com/news/world-europe-26079957

http://www.csmonitor.com/World/Security-Watch/Backchannels/2...

https://www.csis.org/analysis/us-trainers-ukraine

https://www.stratfor.com/geopolitical-diary/west-hems-russia...

From the second link:

"[Nuland's] strong statement of preference for how Ukraine's government should be formed – and apparent confidence that the US has major influence over that – is a reminder of the disconnect between US government assurances that it doesn't meddle in nations' internal politics and its actual behavior (White House spokesman Jay Carney repeats this canard in his comment on the tape.) This was not a conversation analyzing unfolding events and how to respond to what comes next. This was about molding a situation according to US interests."
Aren't climates, in general, changing anyway. Not to mention that for half of the globe that is an accepted fact anyway. So, temperature just isn't that compelling of an argument for this.
I went three months without sugar while dieting. That ended at a birthday party, where I had a tiny piece of chocolate cake. The cake immediately made me ill. I started sweating and became dizzy. After that I was convinced that sugar is awful for our bodies.
A couple of years ago, in a show of solidarity with my wife, I did a Whole 30. It's a 30 day elimination diet that cuts out all sugar (except for naturally occurring in whole fruit). I'm in my thirties and very slim.

The Whole 30 lets you have as much fat, meat and calories as you want. I plowed through eggs, homemade mayo, meat, and other calorie dense food. I'm skinny enough that I don't have much weight to lose. Even so, I dropped ten pounds effortlessly.

I don't know if this generalizes to other people and their physiques, but it was enough to convince me that sugar/simple carbs really do correlate more directly to my waistline than just counting calories does. I'm sure what the right metric to pay attention to is. My hunch is that it's glycemic load.

Either way, I cut down on my sugar and carbs since then, and I've lost of a lot of the middle-aged Dad belly I was starting to develop. I don't count calories at all. It seems to work for me.
Salt is another big one - if you go on a low-sodium diet for a while, many "normal" (American, at least) foods start to taste super salty.

My wife and I cook quite a lot at home, and tend to under-sweeten and under-salt things compared to the status quo, and my perception is that we're both much more sensitive to salt and sugar levels in foods we don't prepare as a result.
Regular business apps or processes at Mission Critical IT:

http://www.missioncriticalit.com/technology.html

You could also use it anywhere Prolog is used. So, you could look up applications or commercial users of Prolog. Here's one in finance that would probably benefit from Mercury:

https://dtai.cs.kuleuven.be/CHR/files/Elston_SecuritEase.pdf