skysight-inc/HackerNews huggingface dataset:
>Whats a more efficient source of work than the human body

probably almost anything?
Spot on.

If you want moped speed, get a moped. You can't safely upgrade one component; you need to upgrade them all. And it's not just your safety, it's the safety of the public, and they have a right to legislate that you don't drive a dangerous vehicle on the public highway.
https://en.wikipedia.org/wiki/Sci-Hub
No I'm not.

Even if fewer poor students get in, that definitely does not mean you can make the reverse assumption: that everyone who attended an elite university is wealthy. For all we know, these results are dominated by poor students who worked hard enough to get into an elite university (which, by the way, wouldn't be a crazy assumption: my CS classes had a lot more income diversity than, for example, political science ones).
Ask HN: How you started your career as web developer?
This is gonna be hard to patent troll, but I’m sure they’ll find a way.
'Who feed it', not 'whom'. The latter is the objective case of the pronoun, parallel to e.g. "them"; just as we wouldn't say "them feed it", we wouldn't say "whom feed it", either.
I'm pretty dismayed by the prebuilt bikes available, they are absolutely extortionate considering the pathetic motors they come with.

I've decided that I'll be buying a reasonable mountain bike frame with disc breaks and retrofitting one of those 1000W Chinese conversion kits onto it.

I have no interest in riding it at its top speed, I just want the power to get up anything more than a shallow incline.
I think we can forgive Krug for believing in Greenspan's scam. Information asymmetry and all that.
Is it an opinion piece? I felt it crossed the threshold for being a native advertisement.
Great suggestions of course. I too take issue with calling The Economist "left-leaning". If you'd have said "liberal" (as in Liberal Democracy) I would accept that.
> It doesn't really work for a country to get rich without climbing it

Bali went straight from having an agrarian economy to a service-based economy without ever going through an industrial period. It can happen given the right conditions, but it isn't common.
"Would I be allowed to sell that product in the US? Probably not."

I can't think of any legal reason why not. If the product meets US electrical/safety standards, and isn't in breach of IP such as patents, sure, it could be sold.

Whether anyone would buy it is a different question: I wouldn't be surprised if a product built in such a way were boycotted.

I would also expect to see court cases and fines (probably in excess of all profits for the product), for the labour conditions.

So sure, you could probably sell it. You probably wouldn't profit from it though.
That's a really complicated topic, of course. CS is in an interesting spot, in terms of how people perceive it and what students expect from it.

On one extreme, people see CS as a kind of trade school housed in a research university, teaching only what is useful on the job. Some people see CS as professional degree, kind of like law - you must teach theory for students to understand the field, but in the end, you're producing practicing lawyers, not abstract thinkers. And then, at the other end of the distribution, you find people who see CS as an academic field, a branch of scholarship, where the question "what percentage of programmers need to understand compilers" would be akin to asking "what percentage of math majors who become actuaries use real analysis?".
If you go more than 750W you're getting firmly into moped/scooter territory. My state limits mopeds/scooters to 1.5hp and no more than 25MPH.
Yo dawg, heard you like web apps, so we made a web desktop web app.

In more seriousness, it would be cool to see atom in the web kind of like the cloud9 editor.
As I noted in https://news.ycombinator.com/item?id=13277477, there are really only two major Rust libraries that are easier to use on nightly Rust (serde and diesel), and both can already be used on stable using a `build.rs` file (which takes about 10 minutes to set up–see the docs for the projects). You'll be able to get rid of `build.rs` in about 5 weeks when Macros 1.1 lands.

That said, if you want to play with nightly Rust, it's pretty trivial. Rustup https://www.rustup.rs/ makes it easy to install multiple Rust toolchains and switch between them, in a fashion similar to rvm and rbenv.
Oh, we've gone full circle now, haven't we?
What Comes Next Is the Future (2016)
That's fine. It's a slow-moving industry anyway. I think it's better to get the right people slowly than the wrong people quickly, and by the right people I mean those who really need Rust, and to be more specific, experienced systems programmers that have worked on large, complex projects (the more complex the software, the bigger the impact the language can have) and know what's really important and what's less so. If those people help direct the features, it would make it easier to get more of the "right" people. OTOH, if, say, Haskell people (I chose that example randomly, but I think they tend to be language enthusiasts and drawn to every new typed language, whether they absolutely need it or not) are those early adopters who help direct the language, the language may become less appealing to those who really need it.
Another major upside to using Kinesis is how seamlessly it integrates with AWS based consumers such as S3/DynamoDB etc. On the technical side of things, for Kinesis "each shard can support up to 5 transactions per second for reads, up to a maximum total data read rate of 2 MB per second and up to 1,000 records per second for writes, up to a maximum total data write rate of 1 MB per second (including partition keys)" (from AWS documentation), i'm not sure if a hard limit exists for Kafka.
W.r.t stream ordering kafka preserves ordering of messages within the same shard i guess which Kinesis also preserves. Again authentication is made easier with the rest of AWS provisioning (IAM) so that's easier to build into Kinesis based application.

I think the bottom line is if you've other AWS components and are willing to be less hands-on about tuning with ease of setup and scalability, Kinesis is your best option. Else go with Kafka
Well you know, that opposition did commit actual crimes on multiple occasions, and that free press did conspire against him...

Being the opposition doesn't make you exempt from justice, and being the press doesn't mean you can lie (more like the opposite)

There's many things wrong with Trump, but these things aren't among them. (the things that are are "the wall", his conflict of interest, his stance on climate change)

I consider myself a proud Trump supporter, but I also think there's things about him we need to question and watch out for - and comparing him to fascists or casting undue doubt on the legitimacy of the election is just distracting from the real important things. For the sake of both "camps" (though I hate to see the world divided up like that - we're all on the same side, really) I wish we could stop this nonsense and focus on the future.

But I'm going off topic, so I'll leave it at that.
Car Leasing: 6 ways to know when you should swipe right
This means I'll be recognized even if I appear in photographs taken by others in public places and I dont even use FB. This is unsettling.
You can read one paper a day, but I am not sure you can understand one paper a day.

At least for me during my PhD I spent more than a full-time day to completely understand papers that were interesting for my research.
I'd say it is strong emphasis on models predictive power, to the exclusion of judging if it improves our understanding of the world. The "shut up" part is more key than the "calculate".
Show HN: Behold is a tool for debugging large Python projects
todo.txt and its accompanying structure [0] / rigor are a good starting point. Keeping the thing in a place that syncs across multiple platforms is an exercise for the reader.

[0] https://github.com/ginatrapani/todo.txt-cli/wiki/The-Todo.tx...
I've already responded a couple times with the same content, but the short of it is that rust HOFs are very limited due to its memory model. True functional-style HOFs require arbitrarily sized closures on the heap, and the only way to get that in Rust is by boxing the closures, which ends up being relatively inconvenient. There's a reason no one uses HOFs in rust outside of trivially inlinable examples like the one you give. There are no composition or application operators in the standard library because it's just too syntactically inconvenient to work with HOFs in the same way you would in a functional language.
You're absolutely right, and sadly, this (IMHO) is to the detriment to humanity as a whole.
The ease and accuracy with which the fitness function provides feedback (did this change result in more money being spent?) means that this field will grow to be very accurate in an extraordinary time-frame.

It's not just the fact that this will be used to drain the wealth from society. The same techniques used in marketing to get people to purchase a product can be applied to convince them to do anything. We've already seen how fake new can be used to convince people to bring rifles into pizza places full of young children.

If these techniques can be applied in an automated and targeted fashion, the results could be absolutely devastating to society. Imagine what happens when a company develops the technology that could mine social media profiles, identify people that would likely commit mass murders, then use automated tools the subtly influence their behavior in such a way as to promote that outcome. Then they sell it to the highest bidder.

I consider that to be a scary world to create. And I think it is totally plausible, if not inevitable.
Apparently my comment looks like I'm criticizing Google for making money off OSS projects. That is NOT what I meant to do.

I like companies that make companies that open source their commercial products. It means they aren't paranoid of someone 'stealing' their work, like so many other companies do so. And that they realize the power of open source. I'm NOT against people making money from open source projects. The only word I used to describe my opinion is 'interesting'.

I am aware of companies that also have OSS as their main/major revenue like Nginx, Redis Labs, and ofcourse the big one, Red hat. Even Ubuntu is a such a company and I like them.

I thought it was 'interesting' because till now I saw google as this black box which never open sourced anything other than some tiny tool which wasn't related to their revenue source. That changed a bit when they open sourced Kubernetes and Tensorflow, but that was possibly because they would benefit from adoption.
The big question is what happens when the Chinese government puts a high priority on getting into aerospace and tries to replicate their own 787s or A-350s.

That said, Boeing's defense contracts might keep is secure regardless of what happens in civil aviation. United Airlines might buy a plane from China (in a decade), but the US Navy certainly wouldn't.
Do you really think you need unbounded storage?

This is an example of a trap that interviewers run into when they try to arbitrarily reword questions.

While I could be mistaken, an exact solution to the top-k problem requires O(N) space where N is the number of distinct items. I can trivially think of a stream of tokens that would defeat any reasonable computer in both available memory and general "storage" (ex: 1 quintillion distinct words, then the next 10 words are a duplicate of an existing word, then end of stream). Since you asked for an algorithm and not a heuristic, it's clear you are looking for an exact answer. So the answer is "Yes, I would need unbounded storage for the new question as asked". Since this is an interview, I'd expect that'd you'd want me to give you the technically correct, and accurate answer.

I've tripped up enough interviewers who have tried to slightly reword questions, but ended up changing their meaning.
Oh, don't worry, just because you are not interested in Facebook, doesn't meant it's not interested in you.
You simply need to change the dynamic. We have the Fed, which is structured to insulate our monetary policy from politics, and it has worked quite nicely for the past 70 years. It's not insane to imagine doing something similar for at least some aspects of our fiscal policy.
Not my comment, but for small projects I can see the appeal of putting some .php files into apache's /var/www/ and you're good to go.

With Python you need to choose a framework, choose a wsgi server, and hook all that together with nginx.
Like it a lot, guys. You got my up-vote :)
Why Is JavaScript the Programming Language of the Future?
> Military: We have a bunch of super expensive airplanes that nobody wants. Security: We have a former presidential candidate who though she was "above" security protocol and kept her own email server. Personal privacy, Finance: Well, you get my point.

I disagree with these claims. Ironically, do you know anything about them, or are you repeating what has been said with the 'loudest voices'? For example, I actually do know a little about the F-35, which I assume you are referring to, and though there are reasons to criticize it most in the U.S. military (and in others) desperately want it.

Also, what about other things I mentioned such as airplane safety? Food safety? Public health? These are unqualified successes, though of course flawed.

Problems and flaws are the nature of every human enterprise and institution; there is no solution that won't result in them. But we still accomplish a heck of a lot. Sure, more numeracy and technical literacy would be great, but the idea that our government can't function has little foundation - it's just someone yelling loudly.
I have a 250W e-bike and it cuts my 15 mile commute about in half which is the difference between my chubby ole self being able to do it twice a month or 4 days a week.
At the very least, evidence demonstrating a persistent, long-term trend would seem to be evidence in favor of the trend applying to the current day. Especially when the main thing driving people's perception that life is _not_ getting better seems to be media reporting that fails to focus on the big picture. In other words, the world could be improving while (of course) human lives are partly bad. Focusing on the bad --which can always be found -- and not on the overall general trend skews our perception about whether and how things are changing.

Of course, there could be countervailing reasons (and evidence) that the general trend does not hold currently, like the suggestion that (a) distribution of benefits has become more uneven and (b) this uneven distribution may make things worse overall than they were before the benefits existed in the first place.

There are lots of ways people could try to provide evidence that the general trend somehow no longer applies. But I think the linked article points out: this sort of evidence is not what media is giving. News media points out that something is bad, sure, but it fails to place it in broader context. The broader context is one of general slow improvement over long periods of time, which is something that we don't get from the news; news media likes to focus on today's bad things, long general trends are not "newsworthy".

Also, as the article suggests, even today's positive evidence for the general trend is not newsworthy, in part because it is so pervasive and boring (e.g., every day 130,000 fewer people are living in extreme poverty). Something that happens regularly every day is not "news". (Or maybe the 130k fewer people thing is not news mostly because it's a good thing. The rate of murders and/or car accidents can be fairly stable, but people seem to have an appetite for hearing about each of these bad things as it happens, so that's what news reports.)
The removal of gets is what I was thinking of.

FWIW, I think that's the right thing to do. My point is just that the OP has completely unrealistic expectations of how actual programming languages work. What actually matters is, how much pain do you feel when upgrading to a new version of the language? The removal of gets violates the parent's "even once is one time too many", even though in practice, it's a complete non-issue.
> Having beer and brats delivered to your tailgate party at a baseball game by an Amazon blimp and drone sounds pretty awesome

It does sound pretty awesome - but after the novelty wears off, is this a viable business?

If you're going to a tailgate party, chances are you're going to bring the food with you - after all, Amazon is going to have to charge some additional delivery fee vs. you just picking things up at your local store.
> They got rid of the idea of the X protocol and network transparency.

> I like being able to log in to remove Linux machines, and run programs that show up locally on my desktop.

I sure don't. I've had terrible experiences with this and end up going with VNC for any sufficiently complicated program (Firefox, Matlab, Cadence).
>> I'm not certain that class-action lawsuits are the most productive approach to take, though.

1. I don't understand the hand-wringing. If FB turns off the feature for Europe, why are they allowed to continue in the US? [1]

2. It would be better to simply send the decision makers at these tech megacorps "to the guillotine" (figuratively, of course) [2] without over analyzing this issue until they announce a moratorium on these features unless...

3. ... they explicitly ask for permission for each new data point they collect and infer. Sure, opt-in seems high friction in the short run, until these companies finally realize that they are going to be clubbed together with the Enrons and the Arthur Andersons of the world. Character is generally judged at its worst, and having a billion dollars in your back pocket and all the lobbying power in the world, believe it or not, only reinforces suspicion.

[1] http://www.nytimes.com/2012/09/22/technology/facebook-backs-..., also mentioned in the article.

[2] Yes, the guillotine was a knee jerk reaction too. The problem is - these preachy founders seem to strongly believe they are entitled to apply rules differently to themselves. E.g. Mark Z buying off all the four houses surrounding his house, Eric Schmidt getting angry when Google was used to obtain his personal stuff..
While this is true, we need to de-weaponize our patent system and restore its original purpose of protecting innovators (especially and specifically small innovators) rather than forcing everyone to acquire a defensive arsenal of nuclear IP, and hoping they never decide to take a "best defense is a good offense" approach.
Left of Brietbart, which is now the standard template for the right. Overton window, ho!
The best description of what's happening that I've heard is "in-deflation." That's inflation in everything you need (housing, health care, education, etc.) and deflation in everything else including wages. It's basically a result of QE in a very soft labor market.
"I don't think max performance is an issue at all"

I'll consider believing that when you remove both the performance-enhancing aspects and their marketing from your company's products that appear to target enterprise space of people using GC's and concurrency. Rust's safety w/out performance hit affects those two, specific areas. I think they might be interested.

Not to mention businesses doing analysis they want to happen faster, game developers, real-time groups wanting no runtime (or close to it), HPC that definitely cares about max performance, and small (or cloud) companies like those switching from Python to Go specifically due to lower costs from higher performance. Maxing performance is always a benefit if you can tell them it saves time or money but comes with the tools essentially free. That's actually how a lot of better JVM's (esp AOT) were sold.

"(there are realtime GCs, and GC languages do support arena GC allocation in embedded and realtime settings, like realtime Java)"

They're not default in these GC languages. We both know about them but most people don't. I've been telling Java & C# developers about those things for years with not one ever having heard of it before. Recently explaining to people that think an OS can't be written in Go that both OS's w/ GC languages & real-time, concurrent GC's existed. So, in their minds, there's horrid C/C++ w/ no safety, all these languages with GC's that have GC issues, and now a safe language with no GC. It's a perception thing that gives Rust an advantage over tech you described.

" but on those for whom the language is indispensable, or tremendously beneficial."

I'll cede you that. This would almost solely be aimed at the C, C++, Objective-C, and Fortran crowds. People stuck with caveman tools and unsafety.

"and for systems programming, that network is not well represented on HN and Reddit."

Definitely true.

"end up making up most of the community, they may slowly push the language in directions that may make it less appealing to those who really need it."

This is a real risk they should consider more. The best route would probably be to send people to the sites, conferences, and companies heavily into C and C++ for many use-cases. Get all this feedback they're getting from them at least as much as the others if not more. That might inform the language design in a way that addresses the risk you're bringing up.
It's not about if we can automate something, I believe it will come down to social forces preventing ai in certain areas.

Politics are not going away any time soon, nor is law.
> I felt like they were bursting at the seams to criticize Trump

Could be, there's a reason for that. With some things, the two sides do not really merit the same consideration. Slavery, for instance is an easy one, not something where you need 'fair and balanced' coverage of 'both sides of the issue'. Not comparing Trump to slavery, mind you, but from their editorial stance, he combines a number of worryingly illiberal qualities that are antithetical to their position. They were (and are) the same way about Silvio Berlusconi, despite not having a lot in common with some of his past left-wing opposition.
People aren't talking about stealing the drones - rather, stealing the goods the drone is carrying.
Show HN: Consecution: A Python Pipeline Tool Inspired by Apache Storm Topologies
Wexford teen creates iOS app for Salesforce
I feel this argument is taking things to extremes. There are many intermediate states between living in a vehicle without heat and insisting on eating out, buying nice things, having vacations, expensive phones and plans, etc.
Needs a Who is your daddy? and What does he Do... maybe in a switch statement? or if/then? use case like in rails.
> Modules seem much more important than either of those.

Modules solve an immediate and obvious pain: unacceptably long compile times. Sum types are more profound. Anyone having tasted an ML derivative (as I have) would dearly miss them. Seriously, once you've tasted sum types, you'll want to use them everywhere: option types, error returns, abstract syntax trees (JSON, XML, compilers…), you name it, sum types probably solve it.

Sum types are no panacea, but if you squint your eyes just right they're pretty damn close.
Financial Independence Retire Early

Everybody in the community has a different view of things, but for many "retire early" simply means "work on what you want to" rather than "bum around the beach all day for the rest of your life".

There are large subsections that focus on travel, giving up office jobs for being outdoors, and those that are truly much too frugal for my personal tastes.
Yes, but since China is the manufacturing hub for so much of the world, its local surrounding galaxy of expertise, supply chain, and related resources will exceed the size of such a galaxy built only in the US — especially if the US efforts are by dint of tariffs and related policies, and not economics.
For comparison I have a food mixer in my kitchen with a 1 HP motor.