skysight-inc/HackerNews huggingface dataset:
A "zero-cost abstraction" really means that abstraction doesn't impose a cost over the optimal implementation of the task it is abstracting. Some things—like chaining a dynamic number of (arbitrary) closures—fundamentally require some sort of dynamic allocation/construction, and so a zero-cost abstraction would be one that it only does that dynamic behaviour when necessary.

If you don't need the dynamic behaviour, the library is a zero-cost abstraction, by statically encoding all the pieces at the type level: like Rust's iterators, each combinator function returns a new future type that contains all information about its construction and operations. To add to this, a closure in Rust is not a function pointer, each one a specialized struct containing exactly the captures, and thus this all gets put into the type information too, and everything can be be inlined together into a single pipeline.

However, if you are dynamically constructing the future you'll have to opt-in to a uniform representation for the parts (i.e. erase the type information about the different constructions). This does indeed require allocating and storing pointers, but AFAICT this is required in any implementation, i.e. this library imposes no/little extra overhead over the optimal hand-written implementation.

Furthermore, the static and dynamic parts can work together: if you have parts that are statically known, these can be constructed as a single static type (with no function pointers or allocations), and then boxed up into a dynamic future as a whole unit, which can then also form part of other static chains, meaning allocations and dynamic calls only need to happen when absolutely necessary.
It's a tricky thing ...

But 'Palestine' is not an internationally recognized place, it should be 'West Bank' and 'Gaza'.

That said Google Maps does show 'Israel' as encompassing both those areas, which is also wrong.
> "Let's go by Jeremy"

Non-native English speaker living in California. I've heard that construct in CA quite a bit.
Cool ;)

Edit: I'll just note that considering the presence of peaks, probably median would be a better indicator than average. Hell, a whole distribution would be pretty informative lol, but that's probably too much info..
I am talking about better not in some sort of philosophical sense, but in terms of GDP and GDP per capita
S3 now supports IPv6 according to this: https://news.ycombinator.com/item?id=12269278
Really really. It's 16 IPs. By comparison, your IPv4 mask is /24 or something, but that doesn't mean the whole subnet is yours.
I have taken about 70 courses by now - about 1/3 of them "hard", the rest more like "Nutrition for Horses", on edX and Coursera mostly.

From the courses currently offered on the major course sites it seems they limit themselves to courses taught during the first two years of college - and many courses are dumbed-down to a "general public" level. There are a few exceptions, for example the quantum mechanics courses on edX, but they really are exceptions.

You can get more demanding courses on the university learning websites themselves, for example https://lagunita.stanford.edu/ for Stanford.

The breadth of the courses and course-takers is focused on the basics though. That doesn't mean it's all easy and dumbed-down - a course like "Medical Neuroscience" on Coursera (excellent, by the way, the professor is a wonderful teacher - https://www.coursera.org/learn/medical-neuroscience) have a workload of >15 hours/week. It still is "only" an introductory course though.

I think you can sure get the basics via online education, and that means "university level basics". The main problem I see with more advanced courses is that you need to test your level of understanding and have it challenged on a high level, way more than is good for an online course. That's because those tests, if they are any good, is going to show you the huge gaping holes you still have in your knowledge, and for an online course that's too discouraging.
'journalists' ?

It's a blog ...
San Jose median home price is $1M
Though "Let's swing by Jeremy's" would be AFAIK pretty common across the US--although I suppose in that case there's a [house/place] implied by the possessive.
As I understand it, Google Maps sometimes changes what borders it shows depending on where you are and the opinions of the relevant national government.
buried the lede quite a bit in this article. Toshiba announces 100TB drive: http://www.theregister.co.uk/2016/08/10/toshiba_100tb_qlc_ss...
Breaking the life cycle of the parasitic worm that causes river blindness
I don't understand your first argument. Yes, those people are not tradesmen. They design the plant. However, they don't build the plant. Construction workers do. And if you tell construction workers to "build a plant", you're not going to end up with a good product. You're going to end up with a "bazaar" vs a "cathedral"
It seems that routing is done in the following way /API/* goes to applications and expects :8080/api/ rather than the root. Would be nice to have the option to direct traffic to just :8080.
Pitch lessons from the “Power of Now” guy
> 3. Google's Sustained Use Discounts vs AWS RIs

Big +1 on that one.

Getting reserved instance correct always feels like a form of voodoo mathematics (I want to save money but what if we scale?!).

The old light/medium/heavy was odd enough but the new no/some/full upfront is a effectively usury. You're agreeing to pay the whole thing regardless of the up front amount so the other two options are effectively a high interest loan to buy the full upfront fee.
Greenland shark found to be at least 272 years old
Would you exchange your online privacy for a discount?
Thanks for this comment! I actually totally agree with this perspective, and wish I'd used your suggested scale in the post.
You raise the good point that it's possible for someone to have a strong expectation for bronze; to have the sense that they have a reservation in third place. But then the probability comes into effect of what is the likelihood that a given bronze medalist falls into this disappointed category versus the "oh wow, I bronzed against all expectations".
Awesome, In that case, I will start breeding snakes for their oil.
The futures crate is intended to be the successor to eventual, the author of which, Carl, helped us with some key insights in the futures crate as well.
I would suggest checking out https://claudiajs.com/. I used it for a few quick API Gateway to Lambda things and it seems to be pretty sweet so far.
Brucerai John – Promo e spot
I've unfortunately received somewhere around 100 supposed formulas for primes in the past decade and a half. :-(

There's a great Wikipedia article about this:

https://en.wikipedia.org/wiki/Formula_for_primes

But most of what people send me is along the lines of "numbers containing only odd digits, that don't end in 5" or "4k+1 for any k, if it contains only odd digits", or "(p-1)²+7 for any prime p" or whatever. A kind of unfortunate example was an elementary school girl who became convinced that numbers containing only odd digits are always prime (many people are tempted by some form of this idea), and spent several weeks writing such digits down in a composition notebook in order to form an integer that would be big enough to qualify for one of our awards.
America Votes with Cards Against Humanity
I think you have to understand this as a question of strategy. GNU and GPL does not exist only as a free alternative as a gift to the world. They are both strategic creations to further the aims of the free software movement.

Your argument is more or less correct, but it's a feature, even as seen by free software advocates. Not really a fallacy.

Compare it to the argument for gender quotas. A fair criticism, along similar lines, is that if you really do believe in equal rights and fair chances then you shouldn't argue for gender quotas, as they are, in fact directly opposed to equal rights.

In both cases the argument fails because it conflates interim strategies, designed as bootstraping mechanisms, as an application of the principles it's supposed to further.
Congrats to Beam but I will admit it's kinda sad since the chances of the PS4 ever getting an option to stream to Beam are now pretty much 0.
Impressed with the size, I need to see what size IBM is offering us for our next move, but we go from 6 racks of 15k drives to one rack.

While the SSD cost in our setup is more expensive than spinning media IBM is pushing it and the price has dropped immensely since first availability. The second bonus we have is we have systems at COLOs which charge both for power, cooling, and rack space. Needless to say those all come down and since our processing heavily batch oriented with strong web based activity the SSD systems will certainly boost performance and provide a good two to three year buffer.

Fortunately Toshiba and Seagate are moving the density so fast that by next upgrade the prices should be amazingly different (we are 60tb, but mirrored meaning 120tb). Now I am curious if our AIX side will have fun here as they should make for easier flash copies that would be faster too.

I guess my real concern is, that is a lot of data to lose to one device failure. So raid/mirroring is so much more important.
Sparklines!
> The various Chinese tongues have long been called dialects, yet many are mutually unintelligible.

China, India, and Europe are on a continuum of separateness / unification, just fixated at different points in it. Europe is the most disunited, China the most unified. But basically the stories are the same. Areas of intense trade and cultural interchange, achieving different levels of political unity.
The Cryptobond and Autopublic Companies
I recently put back on my old geezer hat and switched to GNUS for email at work. I yearn for the days that all email was simple text and people actually trimmed long reply chains. Inline responses were also easier in text.

That said, I do realize this is mainly for marketing emails. Or things that need to show charts and the like. I don't instantly despise the idea. But it does amuse me that much of what makes the space difficult, is a combination of a ton of things that were designed to make the space easy. (Though, I question who the target was for most of the ease. Seems many features are made specifically to make it easier to market to me. Not for me to use email.)
Balancing Your Programming Skills Portfolio
> basic needs

Depends on what you consider basic needs doesn't it? If humans only consumed their basic needs than I agree, we should be scared of automation. The thing is as we become more prosperous, our basic needs are met and our other needs expand. Do you need a cell phone? Do you need a car? No, of course not, but people demand them, and other people supply them. The problem is that the automation people are making sweeping statements about all of our needs being supplied by automation. I don't think that's possible. I also don't think its wise to take advice from a Keynesian.

http://www.cato.org/blog/keynes-was-wrong-stimulus-keynesian...
Not sure how "responsive" this is. The litmus test uses the simplest of all the email templates and just looks like centered, possibly tabular content.

https://litmus.com/checklist/emails/public/2e539c3

This different than zurb?

http://foundation.zurb.com/emails/email-templates.html
So you think it makes more sense for the government to force companies to pay a minimum wage? How is that a free market? Yet without a minimum wage, poverty in the US would be tremendous.

Wouldn't the market be freer if we slowly replaced that minimum wage with UBI (i.e. decrease minimum wage and increase UBI over time). The market would then be free to set prices more accurately because there would be a lower artificial price floor. This also helps create more jobs to offset the ones lost to automation, since people can afford to be paid less, a wider variety of jobs can be economically viable. Additionally, people would have more freedom in find jobs that they enjoy and are well suited for. All of this would increase economic efficiency.

Thus, yes, UBI could benefit everyone by making our labour market freer and more efficient. Basically, UBI is a form of economic infrastructure, and thus is a MORAL thing to spend taxes on.
Pochettino disappointed to lose ally
> Because we can predict with high accuracy what our members will watch and what time of day they will watch it

Not only can they predict it, but I imagine to a large extent they control what people watch. Our usage often involves browsing the recommendations on the home page and picking something.

I wonder when (or if) the availability of content in a cache close to the viewer will play a role in the home page content? Obviously it already works in the other direction (cache what we think they'll want to watch), but do they penalize the ranking of a title (or category) because it hasn't been cached?

It'd be a useful feature for Netflix because they could cut down their bandwidth costs. It could even be useful for some users: those who could watch a movie at full quality from a cache but their ISP can't deliver a full quality non-cached title.
Typing Tricks: Diff lists
This was part of my thought. I'll not be buying a 100tb SSD in the next 2 years I imagine. But if they are available, buying a 4tb SSD might be within my price range.

Im currently using about 3tb of HDDs and looking to expand. HDD seems obsolete (for buying something Im trying to future proof with, also, drive spinning accounts for a large portion of noise in my computer) and SSD prices arent there yet. Hopefully these insanely huge advances push the lower end up.
Some UI screenshots would help.
You don't feel that it's appropriate to ask a "Sr or higher" candidate questions such as:
"'how many requests per second can we handle given this hardware', 'how much memory do we really need- if we quadrupled it, what would that get us', etc," ?

In addition- do you feel it's reasonable for a "Sr or higher" candidate to lock up (ie- stammer, not be able to come to any sensible conclusion)if one was to be asked a question where they have to use the same tools to answer those questions above when asked a question not in their domain- for example, 'how many pianos tuners are likely to be in this area'?

I'm not arguing in favor of non-domain experience questions like mt fuji or piano tuners- but I can't see hiring a Sr who can't tell give me some Fermi question approximations about how many servers we need.

Maybe I don't know what a Sr is supposed to be capable of doing?
Just the other day, I was looking for a BT-implementing library in Java. This one uses modern Java 8 idioms and seems great for integration/embedded use. So far, so good.

Hopefully BEP-5 (DHT) and BEP-19 (url_list seeds) support arrives soon, to reflect how torrents are often used in the wild, but also to enable interesting uses of the DHT, like the ones discussed here [1]

[1] https://news.ycombinator.com/item?id=12257065
Join a consulting company. Almost any consulting company would do but your best odds are with the really large ones that have lots of different needs: Accenture, Ernst and Young, Deloitte, KPMG, PWC.

If you can get into McKinsey, BCG or Bain, that is even better but a much longer shot (unless you are about to graduate).
Virtual Reality and Exoskeleton Help Paraplegics Partially Recover, Study Finds
Does this mean that your integrations run on the web browser rather than your servers?
I'd really love to see a demo of what they mean by "seamless transitions."
Why are the laws different? Because the people who live in those places, on average, prefer it that way.

I agree that there is value in trying a diversity of approaches, but I'm doubtful that a "will of the people" explanation can explain the state by state differences. Assume two groups of people, one from North Carolina and one from Wisconsin, but somehow we didn't know which group was from which state. In an attempt to determine this, we poll each group with a single written question about how best to regulate the sale of olives.

At what group size are we able to reliably identify which group is which? I'm doubtful that this is possible to do with greater than 90% accuracy at any group size less than the full population of each state. To the extent that it might be possible with lower accuracy, I'd guess it's based on the "status quo" rather than an actual "preference".

For many issues, I think it's likely that the initial decision is essentially random: one merchant convinces one legislator to propose a law. That legislator trades favors with other legislators to get the law passed. With the patina of time, the arbitrary self-interested law becomes associated with prosperity, "strong moral values", and evidence that Our Great State is still in the favor of God.

ps. I'd been meaning to ask you why your moniker is "logfromblammo", but a web search delightfully answered this for me: https://www.youtube.com/watch?v=2C7mNr5WMjA. I'm embarrassed to say that I previously was ignorant of this piece of retail history. Thank you.
Thanks for your answer. Here's a more realistic example. Say we have a file.close() function that returns a Future<Void>, indicating when the close is complete. Now we want to make a Future for closing a list of files:

let fut = Future<void>::new();
let v = vec![file, file2, file3];
for file in v.into_iter() {
fut = fut.and_then(file.close());
}

Is this possible with this API, or would the assignment to `fut` break because we now have a different type?

With traditional Futures I'd expect this to look like a sort of linked-list of closures (definitely lots of allocation). What does it end up looking like under the hood with zero-cost Rust futures?
New Measurement Deepens Proton Puzzle
Tesla can't sell cars in MI, but state retirement fund owns the stock
a summarizer. This is a field of NLP/NLU. Do you prefer to extract key phrases or a realy summary that extract important notions and rephrase it. Take a look a sumy for an overview.
"Mal" means "time" (singular)
Well that makes me feel a lot better about some of the high readings around me, since I already carbon filter most of our water.
I was thinking the same thing and this website doesn't seem to be powered by such technology either.
GitHub for crafts, please give me your feedback about my page
They're getting closer to doing this but not quite like a human http://sumve.com/ai-chatbots/relationships/ai.html
Ask HN: Best advice for a fresher looking to step into the corporate(IT) world
hello HN, I am undergrad in computer science engineering and I will be graduating march 2017, with all the peer presure of friends getting placed and feeling anxious about my future, I feel all I want is to get a good job with a good pay, regardless of if the job position coincides with passion, and I know this is already mistake number 1, so just like these please guide me into the world (have a few months intern experience before thats all), what was best for you ? what is the most important thing at the end of the day ? etc
Although teengager seems to be the goto term for when describing people who actually use new upcoming pop culture references and slang. It transcends into people well to their twenties and thirties.
The whole "dedication to free speech" mantra is cute, but ultimately just reeks of a failed bet on how to run the company.

From a technical perspective, letting essentially anyone say anything is easier to handle. The engineering resources that would otherwise go towards advanced content filtering and detection, etc can now just focus on making the platform scale. That works out well when a company is growing like crazy in the early days.

From a business perspective, the hate-spewing users are "really engaged with the product." Having a lot of users in this category is a great thing to tell investors. Also, the growth from these users is something investors like, too. So it's also a win from a business perspective.

I'm guessing that Twitter's leadership made a decision early on. Something along the lines of "let's go with the free speech thing for now. It lends itself to efficient allocation of engineering resources and improving key metrics." When you're growing as fast as Twitter in the early days, it's not necessarily a bad choice. However, the current growth stagnation and other negative issues surrounding the company is really starting to expose the downsides of that haphazard decision.
why a bot that can talk and speak would use another format to communicate even with other bots?
This is interesting, especially since I just spent the last two weeks setting up a boilerplate for a universal react/redux SPA on spec for a new client. I enjoy the flexibility but the need to develop a deep working knowledge of several independent libraries, transpilers, and build tool configuration files (each of which has several competing options with their own way of doing things) just to get to hello world is cost-prohibitive for most people, I'm sure. At the same time, I'm hesitant to go "all in" on a stack that I haven't heavily researched myself. If the developers are reading, can you go into some details about how you handle routing and data stores? Are you using off the shelf libraries or have you rolled your own?
To me this is the very the definition of irony. Interestingly though Tesla is blocked from selling cars (passed in a special 3 am legislative session) they do own a tool and die plant in Grand Rapids.
I run an AWS partner who deals with many large ($millions a year each but not tens of millions each) aws customers.

It seems like the number of customers asking for a feature is more important than the size of those customers in my experience.
other test: techempower benchmarks

https://www.techempower.com/benchmarks/#section=data-r12&hw=...
From personal experience, unemployment scales terribly. It capped out for me at around $1,200 a month, pre tax. it's been a long time since I've tried to live on that little, and I hope it doesn't happen again.
It doesn't seem like it is for beginners. Docs look at the author assumes everything is self-obvious. Need better tutorials.
Training with a BMI Gait Protocol: Partial Neurological Recovery in Paraplegics
I agree, but the article claims aftermarket parts are "$36 billion dollar a year industry" which seems like more than a rounding error...
It does strike me a tricky issue to address, ensuring air quality is very important, but having some ability to fix and modify your own vehicle seems worth protecting.
And the criminals. It's much less profitable if you pay taxes and can't kill your competition.
Yes they do.

For a single connection the websocket will always go to the same back end regardless of sticky sessions being enabled.

If stickyness is enabled, and the same client creates a new websocket, it will go to the same back end as previous connections.
The language of the constitution is pretty clear. So what this says to me is that the Supreme Court is not enforcing the constitution.

While these thefts are disturbing, this lack of accountability from the Supreme Court will ultimately lead to much worse crimes.
You might take a look at Quiver if you are Mac based.

http://happenapps.com/#quiver

This was covered previously here on HN.
Yes, Linode will route /64 and /48 subnets to you. They'll even give you several of each if you ask, and the subnets can be failed over to other nodes for high availability.

Linode are the only ones I have seen do IPv6 correctly. I wish they also knew how to do security correctly; unfortunately I can no longer recommend them in good conscience.
http://www.dell.com/us/business/p/precision-m5510-workstatio...

32GB, Xeon processor, 3840x2160 Touch. You can buy it with Ubuntu preinstalled.
Why it's hard to use a decade-old SQLite feature in 2016 Python code
> ... inhabitants are free from want.

Do you mean chemical lobotomies or a post scarcity economy? Because there are some wants that are impossible to fulfill, for example: there are a bunch of murderers in Syria motivated by the desire to fly a winged horse to a sky mansion where 72 infinity virgins await. I don't see that happening, even post scarcity.