skysight-inc/HackerNews huggingface dataset:
Took out the hedging words. It could probably still be made more firm and remain civil.

-------------

Linus’s Rant RE-Rewritten

This is the old code in net/ipv6/ip6_output.c:

mtu -= hlen + sizeof(struct frag_hdr);

and this your replacement:

if (overflow_usub(mtu, hlen + sizeof(struct frag_hdr), &mtu) || mtu <= 7)
goto fail_toobig;

The problem is that the overflow_usub() function is non-standard and requires special compiler support to generate reasonably efficient code. That function hasn't been used anywhere else in the code base before. Also, the code uses two conditionals. Here is how it should have been written:

if (mtu < hlen + sizeof(struct frag_hdr) + 8)
goto fail_toobig;
mtu -= hlen + sizeof(struct frag_hdr);

It takes the same number of lines, doesn't need a little-known helper function, is clearer in its intent and is easier to read. There could still be overflow issues if the "hlen + xyz" expression overflows, but the "overflow_usub()" code has that same problem.

Also, we are near to rc7 time, and we don't want conflicts at this point.

Thank you for submitting the code, but, for all the aforementioned reasons, I have to reject it and will do so for similar code in the future.
Why wouldn't they?
We see what you did there.
Thanks for sharing this. Sounds like a great outcome.
Can These Dry Bones Live?: The Necrotopology of the Churchyard
I think he's talking about GOOG, FB, & TWTR.
Activision to Buy King Digital for $5.9B
No Risk Involved for Hiring Manager:

Will work for free for 2 weeks. If you are satisfied by my contributions then hire me as a full time.

Location: San Francisco Bay Area.

Remote: Yes

Willing to relocate: Depends

Technologies: HTML5, CSS3, JavaScript, Ruby on Rails, NodeJS, AngularJS, AWS, Git, Database design, SQLite, MySQL, PostgreSQL and MongoDB.

Résumé/CV: Upon request.

Portfolio: subratrout.com

Email: subratnrout[at]gmail[dot]com

Github: http://github.com/subratrout

I am looking for an entry-level junior developer position in both front and back-end technologies. I have extensive healthcare background and have gone through ~1000 hour of intensive immersive web development through Front End web development NanoDegree program from Udacity and Full Stack Web developer program at Coding Dojo, San Jose.

If you are looking a rockstar/ninja developers with x(x>=2) years of experience then please pass on.

However for a junior role I will put my 110% effort to work as an intern or junior developer in front end or full stack web developer position.
Are the only possible options swearing at employees or tricking them into thinking you're happy while you secretly are upset with their code quality?
Ok, that makes more sense. I had something like Skype in mind... in theory I have my entire Skype history, but going back more than 100 lines or so is cumbersome. I'd rather teach my wife how to grep logs than to deal with that.
No, it's not a meaningless nitpick! Yes, general purpose computers need to be programmed, but the reason we do it with a command line is because we prefer keyboards for data entry. When we stop using keyboards we will stop using command lines, just as we've stopped using punch cards. Everything that's not manually and physically setting voltages on memory is an abstraction. It's important to note that the command line is more an UI than an abstraction, though. Where the command line is on the abstraction level depends on implementation. Which one UI we use depends on convenience.
I feel like the rewrite, in an attempt to succinct, completely misses the point of Linus' rant. I might be reading too much into it, but its less about "using nonstandard functions" and more about "people thinking they're smarter than everyone else and submitting esoteric and/or obscure code."

The rewrite should make better effort to translate

>and a shiny new nonstandard function that wants particular compiler support to generate even half-way sane code, and even then generates worse code? A shiny function that we have never ever needed anywhere else, and that is just compiler-masturbation.

I'm not a kernel developer, but I'm sure others can sympathize with seeing code that was submitted that performs worse, but was only added because it uses some shiny new framework/tool/library/technique they read on a blog.
Activision to Buy Candy Crush’s King for $5.9bn
OneDrive Changes
I got my start at "serious programming" using Visual Basic 6.
There is a lot to be said for early successes.
which web game?
>Sure, it would be nice if you could spend the majority of your time on the fun stuff, and it looks like your predecessors certainly tried. But in that case you should probably not actually write software and choose a more theoretical career path if you can't be bothered to learn how to use a hammer.

You didn't understand what OP's post was getting at, you didn't what my post was getting at, yet you still managed to be condescending. Congratulations.
Good idea, but it's difficult to justify building any commercial or mission critical applications that depends on it out of fear that it'll disappear the next day (bought out, given up, network issues, etc.). For that reason I can't see myself using it beyond a hobby app or one off script... even then I probably wouldn't use it.
Economics That’s Not Politically Left or Right
Interesting what they might be able to do here with their geo data... University Village is a high-end shopping center with a lot of high-income traffic. The way they're stocking the shelves - covers facing out - combined with the convenience of strolling down from the big Starbucks to the store to grab the latest just might work for this clientele.

Not to mention the chance to get more Kindles into the hands of folks with low price sensitivity...
You've already said this 2-3x elsewhere in this thread and people gave you thoughtful replies there. I agree mostly with the counter arguments you received.

Do you not see how difficult it is to identify what money is being spent in support of political campaigns and what money is not? Or, do you trust people who are corrupting politics to properly label how they are spending money as either a) on politics or b) not on politics? If not, who will figure it out and how? What if a foreign company starts advertising online? Do we censor that? Do we forbid US companies from investing in them which is a form of indirect support?

The whole reason I posted the above was to raise awareness that simply ending citizens united is not a whole solution unto itself. It may just drive the money underground and make it harder to track. We need a real public, open discussion about this, giving proper thought to everyone's ideas, or we'll never move forward
You're right that there isn't a lot of evidence about whether money influences elections. But ultimately it doesn't matter whether money influences elections. What is more important is whether elected officials believe money is influential in elections, and I think this is trivially true.

What are your fears if "The Democracy is for People Amendment" passed? Are you worried that the congress would limit political spending too much? Or are you worried that the amendment doesn't specifically separate political spending from political speech well enough?
Our Web is lost in Spam
I am always shocked at how marketing-adverse indie game devs are. Developers invest a ton of their base commodity (time) into a game, but refuse to advertise it or fail to save cash to do so. Instead they rely on front pages, bundles, and sales. Then 9 months latter they do post mortems, where they correlated sales graphs to events. I want to see a sale graph for conversions based on Facebook ads. Mobile/FB Game companies pump out mediocre games, but maintain huge user bases just because people find their games.

Everything thinks that they are going to be Notch and their game will spread by word-of-mouth, because they have a unicorn. Turns out your time-bending, retro, 2D, pixel-art shooter/platformer doesnt have the genius of Virtual Legos, and no one cares about it.
There is an argument here: At one point, where each of those problems lie, somebody prioritized actual results and writing papers over a modest investment in the tools often needed for writing papers and obtaining actual results.

Perhaps those modest investments are worth far more than people realize?

I'm not sure we can design that away either. There is always the body of tools people depend on and rewriting them is an even more difficult investment for people focused on other things to make!

New / better systems and tools could make a lot of sense, but given the use case here, who exactly is going to fund those?
Bayes Impact is hiring data scientists/engineers to build better social services
"I didn't say you should use it, nor would I. Only that it isn't pointless/futile to attempt. No tool will be as mature as bison or what have you until it has also been battle tested for 25+ years"

Exactly! Exactly what I'm saying!
wtf does "bike shedding" even mean?!
There is nothing wrong in examining this carefully. And, besides the fact that the money could be applied elsewhere, private enterprises are pursuing this.
I still use it:

$ eesh version
e16 1.0.17

(without Gnome, which just adds useless bloat)

It's incredibly fast, and the cost of customizing anything else at this point would be huge. (I've tried many times...)
XYZ.com in deal withChinese govt to block domains involving 12K banned words
It's a big deal if you have fleets of machines which travel outside your control. It lets you treat them as identical (modulo hardware damage).

It's also a big deal because on a conventional machine, malware remotely can download, root, reflash, and persistently doom you, no physical access needed.
I just don't understand asking a human to run the camera drone.

Presumably there's more than one of these, have one follow and rely on the pace drone for positioning.

It was pretty hard to watch, but really watching sensing and localization applied in a 3D space is extremely cool.
Said no one who knows what they're talking about.
I'm a command line chauvinist and I'm not ever going to apologize for it.

> [Incidental complexity] arises simply because modern research software development is a messy jumble of open-source tools tied together by the duct tape of command-line scripts.

That's ironic, I think the output of modern CS research is this way because students don't learn this "bullshittery". Good luck getting your interesting research to compile elsewhere with that makefile that you copied off of stackoverflow and edited with hardcoded values until it built.

This past summer I worked for about a week and a half with a local startup trying to exist in fitness-watch IoT. They wanted to flash the boards with some proprietary tool provided in the board devkit. I wanted to flash the board using flashrom. They were content using a cloud compiler that had a costly license and hooked in the bootloader magically using a closed source library. I wanted to get us using arm-none-eabi- and a proper build system.

They wanted to press a green button in their IDE. They wanted their familiar starting point of

int main(int argc, char* argv[]) { }

And that's the real hidden tax of not learning this "bullshittery"-- a lack of an ability or urge to learn or do more. Oh, we need to do OTA flashing? Well we don't understand the bootloader. Or the flashing process.

Good. luck. with. that.

And I guess that's fine if your goal is just to make theoretical software for a paper. But if you're trying to make code that isn't meant to be disposed of, you need to know what's going on underneath-- you need to be able to explore things from first principles.
Something the software engineering discipline seems to either loathe, be afraid of, or just want to avoid at any cost.

I think it has to do with the fact that a lot of developers are taught that abstraction/indirection are good things (and to a certain extent, they are), and can be used to manage complexity; but not that they're more of a last-resort option compared to actually making the design as simple as possible.

Linus' rant about "helper functions" reminds me of a time when I taught an intro programming course and helped a student who, when faced with not knowing how to solve a problem, decided to take "write a helper function" as his mantra (apparently he read that somewhere in a book) and ended up with around a dozen-level-deep nested set of functions that turned out not to do anything useful at all - each one just called another and returned its result, except the deepest one, which he came to ask me about. He thought that the solution would somehow come to him more easily the more "abstract" (in his terms) the code became, and went steadfastly down that path - until common sense took over and he came to me wondering what he did and why it didn't work.
I am one of Jeff's true fans, having played his games since the mid 90s, which makes me think he's understated one important point: you have to have fans. You can't expect to stand out on the strength of your ideas, gameplay or story alone. You have to work to find an audience for them, and then work to get those people to buy your product, at full price. Good games are almost a commodity now. The developer is one of the few points of difference buyers pay attention to.

"You can be 50% off one sale and then 75% the next. Nobody will notice." I disagree with this; once you put it on a temporary sale or in a bundle, many people are content to wait until it goes on sale for lower. I've lost count of the number of Reddit threads where people asked, "Will [game x] go lower than $1.49?"
> if my code went that sort of treatment, I would probably be in tears.

I think the reason Linus feels justified in being an asshole is that he feels you can't accidentally write code this way. Rather, he thinks it's someone trying to make themselves look smart at the expense of the project, which is itself assholish behavior. I'm not saying he's right, but if you look at it from his perspective it's at least logically consistent.
That is pretty common and readable for '&&', but I agree it is too subtle and obscure for '||'.
Aspose.Newsletter November 2015: Powerful .NET and Java Document Processing APIs
So it is "stealing" to produce a superior, cheaper, but otherwise virtually identical product or service that sells better and displaces a competitor's revenue? Strange, I thought that was the whole basis of market economics.
That seems like a very sheltered perspective. It is clear that Mr. Torvald used the language he did to express and support his thesis. This was not a personal attack, a lashing out, or any other sort of fit. There was a clear message: stop writing shit code. He began by explaining his definition of 'shit code' with an example. Then, he explained why we don't want it. Finally, he presented a solution. He did all of this while still conveying his conviction. Sure, we could sit around crying about the f word, or we could accept the fact that sometimes when we do shitty things to people it pisses them off. Mr. Torvald was clearly pissed off from people doing shitty things to him. In this case, trying to taint a project he's spent the last decade working on. Should he have hidden this frustration just to appeal to your PC upbringing? Absolutely not. It was refreshing to read something sincere. Toxic? That code was toxic. That code would have had real world consequences that affect millions of people. A few harsh words mean nothing in comparison.
This is the exact same as Zynga buying OMGPOP just for Draw Something, and we know how turned out. Except with 10x bigger numbers.

King, in fairness, has multiple games in the App Store at the top of the Top Grossing charts in addition to Candy Crush Saga. No idea what Activision gets out of this. (games like Call of Duty have been sneaking ad-hoc microtransactions similar to F2P games)
Here's the problem - NO-ONE WILL FUCKING READ THAT. (Sorry, just swearing to grab attention).

Linus isn't just talking to the submitter. He knows perfectly well that his rants will be read by everyone in the community. A polite "plz fix it" will go unnoticed.

I'm not sure whether there's some common understanding that his rants are just an act, to get everyone to read them. Or if Linus thinks that it's actually justified to be a dick when people fuck up. But I think it's a factor - when Linus rants, everyone pays attention, and Linus will certainly be aware of that.

Yes, it would be nice if people paid attention to him being polite. But if he wrote it like the rewritten suggestion, only a handful of people would read it, and they're probably not the the type of people who are making the mistakes to begin with.

If people ask Linus to do anything, ask him to politely reach out to the people he flames, and let them know that the reason for his grandstanding is mostly just to grab eyeballs. It raises an important issue, and while he may be annoyed at the bad submit the level of vitriol is only really there to grab attention.
What leads you to believe that it's actually going that way? A couple high profile winers with too many twitter followers and no horse in the race does not a trend make.
Meituan is not ad-funded. Spotify - eh, that's one's a 50/50. I think more people use the free version of Spotify with ads than people who pay for it.

Also, I love uselessly speculating! So, here's the list with speculation as to whether the unicorn will last in the next 5 years or wither away:

1. Uber - will be alive and be doing extremely well
2. Xiaomi - will be alive and doing moderately well
3. Airbnb - will stay, regulations will put a damp on its operations
4. Palantir - will downsize; other companies will emerge and compete with it
5. Snapchat - (ad-funded) will fail to find a sustainable monetization model
6. Didi Kuaidi - (Chinese 'Uber' clone) will be alive and well
7. Flipkart - (Indian e-commerce site) will be alive and well
8. SpaceX - will fail
9. Pinterest - (ad-funded) will stay just barely, will downsize
10. Dropbox - will fail
11. WeWork - (home:AirBnB::office space:WeWork) will be alive and well
12. Lufax - (Chinese finance marketplace) will be alive well
13. Theranos - will fail
14. Spotify - (~ad-funded) will fail
15. DJI - (Chinese company that creates unmanned aerial vehicles) will downsize
16. Zhong An - (Chinese online insurance firm) will be alive and well
17. Meituan - (Chinese retail service site) will stay but not strongly
18. Square - will fail
19. Snapdeal - (India's shopping site) will be alive and well
20. Stripe - will be alive and be doing extremely well

edit: formatting
He learned on the job. The first season is pretty cringe-worthy. Maybe re-watch S01E09, 'the passenger'. Or maybe this: https://www.youtube.com/watch?v=PJgdVLk2C2c
Aren't the greater fool theory and 'cheap' the same idea, just from different reference points?

Both assume I can buy an asset for less than I can sell it for.
PLANET: Massively Parallel Learning of Tree Ensembles with MapReduce [pdf]
I know plenty of attractive/cool/popular people, who get hundreds of likes, and don't claim to fit this victim narrative.
And in Cash.. 18.00 a share... 20% premium

Thought for sure when I saw the announcement was going to be using the incredible run-up on the ATVI stock we've been seeing lately.

How exactly they are going to find the 30% increase in revenue year after year on a company that feels exactly like Zynga in its prime.

Perhaps Bobby knows something, but I can't seem to be grasp this one.
tldr; too much mac universe; I'm assuming 10 bit means 10 bit per channel instead of 8, so what the rest of the world would call perhaps 30 bit over 24 bit?
Until it needs to be done again.

Things change. It's a balance between the pay off and the ongoing investment to maintain the automation.
We are still in the first century of software development, I doubt any code written today will be relevant by the time we enter the second. The computer science class of 2065 will enjoy seeing all these chaotic things we made, running in virtual machines hosted by museums that are yet to be built :-)
Turns out a machete is much easier to use than the machine that is Unix. A machine that will mow down the entire forest in 30 seconds, or blow itself up, depending on what you tell it. Oh, and that machine has 1014 levers, knobs, dials, most of which are only labeled with single letters, or vague snippets.
Isn't there a more fundamental issue that IRC does not map to Slack? Mentioned over and over, but Slack backlog is crazy useful, and I don't think IRC the protocol has any mapping for that. There's also things like permission sets that don't map 1:1 (but you can find workarounds, of course)

There's also the whole way notifications work... basically Slack and IRC are only the same (or even similar) on an extremely superficial level.
I disagree. "Consider this replacement" is practically an invitation to debate; or worse, possibly misunderstood as "I agree your way works, but I like my way better, so let me be capricious about it and reject your PR because I can." Another poster re-rewrote it in a way that I feel is at least unambiguous.
The 1st Amendment does not attempt to guarantee equality of "voice," just the opportunity to speak. It especially does not attempt to guarantee equality of voice by silencing some arbitrary group.

And even if it did, which, again, it really does not, it wouldn't do it by the avenue of declaring that "money is not speech" and thus that there are no restrictions on the government preventing people from spending money on speech.
> Confused public statments do hint at internal confusion.

Why is it a "confused public statement" because they didn't directly respond to the rumor? They most likely didn't want to. Do you have a criteria for what makes a "confused public statement" and any data showing that it correlates with "internal confusion"?
It's just the regular Scala brigade that stalks and attacks anyone who dares criticize Scala, regardless of the content of the criticism. They seem to have become extra sensitive with the recent momentum that Kotlin has been gaining.

If you were wondering why the Scala community has such a bad reputation, it's because of people like them. Just ignore them. Fortunately, not all Scala users are like them.
In the article it shows a screenshot where Apple themselves also call it 30 bit.

And the text for the image is as follows:

The graphics driver enables 30 bit pixel depth. 10 bit for each RGB color. Image courtesy Mac & I magazine.
To be fair, King IPO'd at $22.50 a share so a lot of people lost out on this deal regardless of the premium. It may not be all cash, the details are still pretty scarce.

Update: even worse, nearly 30% of the float is short. There will be a lot of red tomorrow.
Hahaha, I remember when Activision said that the mobile space was not worth getting into. Now five years later they're having to spend $5.9B just to continue to be relevant.

Riccitello is the reason why EA is still relevant, shame they got rid of him before his mobile efforts paid off.
As linked by the article, the original news is at PC World, the language is milder but the point about the invasion of privacy is essentially the same http://www.pcworld.com/article/2997213/privacy/microsoft-doe...
https://en.wikipedia.org/wiki/Trusted_computing_base

Consider one thing though, "trusted computing" as a concept comes from the military. It is a computer the generals can put into the field and trust it to not leak classified info (be it the enemy, or the soldiers learning that their lives are being wasted).

So when you use such a computer, you have to ask yourself "trusted by whom?". Because it is also a lovely starting point for the *AA's to cram the file copying cat back in the bag.