skysight-inc/HackerNews huggingface dataset:
Not necessarily. But let's look at one specific instance of adapting to a different "KBI", as you call it. I picked HAVE_VFS_ITERATE, just because it sounded interesting. What's the story?

Well, in May 2013, Al Viro committed code to Linux to add several new "KBIs", dir_emit and related functions (in include/linux/fs.h, which does not have a license block):

commit 5f99f4e79abc64ed9d93a4b0158b21c64ff7f478
Author: Al Viro <viro@zeniv.linux.org.uk>
AuthorDate: Wed May 15 20:23:06 2013 -0400
Commit: Al Viro <viro@zeniv.linux.org.uk>
CommitDate: Sat Jun 29 12:46:48 2013 +0400

[readdir] switch dcache_readdir() users to ->iterate()

new helpers - dir_emit_dot(file, ctx, dentry), dir_emit_dotdot(file, ctx),
dir_emit_dots(file, ctx).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
...
+static inline bool dir_emit(struct dir_context *ctx,
+ const char *name, int namelen,
+ u64 ino, unsigned type)
+{
+ return ctx->actor(ctx, name, namelen, ctx->pos, ino, type) == 0;
+}
+static inline bool dir_emit_dot(struct file *file, struct dir_context *ctx)
+{
+ return ctx->actor(ctx, ".", 1, ctx->pos,
+ file->f_path.dentry->d_inode->i_ino, DT_DIR) == 0;
+}
+static inline bool dir_emit_dotdot(struct file *file, struct dir_context *ctx)
+{
+ return ctx->actor(ctx, "..", 2, ctx->pos,
+ parent_ino(file->f_path.dentry), DT_DIR) == 0;
+}
+static inline bool dir_emit_dots(struct file *file, struct dir_context *ctx)
+{
+ if (ctx->pos == 0) {
+ if (!dir_emit_dot(file, ctx))
+ return false;
+ ctx->pos = 1;
+ }
+ if (ctx->pos == 1) {
+ if (!dir_emit_dotdot(file, ctx))
+ return false;
+ ctx->pos = 2;
+ }
+ return true;
+}

Soon after, this was added in zfsonlinux/zfs.git in include/sys/zpl.h (which has a CDDL license block), gated by HAVE_VFS_ITERATE:

commit 0f37d0c8bed442dd0d2c1b1dddd68653fa6eec66
Author: Richard Yao <ryao@gentoo.org>
AuthorDate: Wed Aug 7 08:53:45 2013 -0400
Commit: Brian Behlendorf <behlendorf1@llnl.gov>
CommitDate: Thu Aug 15 16:19:07 2013 -0700

Linux 3.11 compat: fops->iterate()
...
Compatibility with older kernels was accomplished by adding
versions of the trivial dir_emit* helper functions.
...
+static inline bool
+dir_emit(struct dir_context *ctx, const char *name, int namelen,
+ uint64_t ino, unsigned type)
+{
+ return ctx->actor(ctx->dirent, name, namelen, ctx->pos, ino, type) == 0;
+}
+
+static inline bool
+dir_emit_dot(struct file *file, struct dir_context *ctx)
+{
+ return ctx->actor(ctx->dirent, ".", 1, ctx->pos,
+ file->f_path.dentry->d_inode->i_ino, DT_DIR) == 0;
+}
+
+static inline bool
+dir_emit_dotdot(struct file *file, struct dir_context *ctx)
+{
+ return ctx->actor(ctx->dirent, "..", 2, ctx->pos,
+ parent_ino(file->f_path.dentry), DT_DIR) == 0;
+}
+
+static inline bool
+dir_emit_dots(struct file *file, struct dir_context *ctx)
+{
+ if (ctx->pos == 0) {
+ if (!dir_emit_dot(file, ctx))
+ return false;
+ ctx->pos = 1;
+ }
+ if (ctx->pos == 1) {
+ if (!dir_emit_dotdot(file, ctx))
+ return false;
+ ctx->pos = 2;
+ }
+ return true;
+}

Except that Richard Yao took care to say he felt the copying was "trivial", I don't think this example inspires much confidence that zfs.ko is not a derived work of some GPL software.
Some universities (cough *MIT cough) have a habit of saying "sleep is for the weak" and that part of their culture needs to change.
Google proposes new hard disk format design for data centres
> superior outcomes for consumers

You're not factoring in the fact that the Internet creates huge monopolies (just like money also has a natural monopolizing effect; in other words "rich get richer, poor get poorer").

We end up with a couple of huge Internet companies which will increase their pressure as soon as they are sure that they are "strong enough" (meaning: protected from healthy competition which usually favors the consumer).

Example: Amazon - they currently keep only a very tiny margin, because they are still about increasing their overall market power. Once they have maximized that, they will use their power to increase their margin and all players (including the consumer) will feel their heat.
Sure there is a price for everything. Especially not getting everyone engaged and commited to a project. My guess is that you spend a lot of time doing code reviews, demos or just explaining how stuff works, time that you dont have to "waste" when doing mob programming.
I don't disagree with them on face, but do you have a source for those percentages?
> I don't think the writer was placing entire blame with the partner, but actually making a good point earlier about the psychological reinforcement from being around them

This. To badly reformulate a similar article found here (for which I can't recollect the author, sorry... maybe Glyph or Sivers?), "We are not islands, your close friends and loved ones kinda have root access to your brain. Given enough time / frequence, their own attitudes / biases / psychological problems become yours. And conversely, you'll inherit some of their strengths."

→ To come back to Kenneth's mention of the "crazy chick",

- It doesn't have to be framed negatively (interpreting it as Kenneth saying "damn crazy chick, she's the one to blame").

- Rather, maybe a more positive frame involving our own responsibility helps: "try as much as possible to surround yourself with sane, stable, caring people".

EDIT: hi downvoters, I'm surprised, care to elaborate?
Disagreement doesn't mean a relationship must turn sour.

The government's decision to begin the AWA filing without notifying Apple, instead leaving Apple to find out about it from the press, probably did not help the relationship.

There's not much I see from the government's side attempting to further relations with Apple. The upcoming encryption bill due out in March is another example. How much do you want to bet Apple has not been asked for their input while drafting it?
Revenue and profit buys time. If both decline you'll end up exactly where Yahoo is now. Marissa focused heavily on her product strategy without understanding the dynamics of running a public company under the scrutiny of Wall Street. In the first 6 months she should have made deep cuts in staff to reduce costs, eliminate flailing products and double down on those driving top line revenue. All of this would have bought her more time to then focus on product strategy. There's a reason why Google can do whatever they want. Ads was producing 90%+ of the revenue back in the day and is still the biggest cash cow, nobody gave a crap as long as they kept pulling out ridiculous top line growth like that.

As much as you may want to take a 5 year approach you just can't do that in a public company. You have to nail the quarter or they'll lynch you.
Timeline Lets You Browse Hundreds of Historical Documents from the Vault Blog
No problem, if you're interested in reading about this I highly recommend the book An Unquiet Mind. It's a true story about a psychologist who finds out later in life she is bipolar. It's interesting and goes in depth into her manic episodes. I strongly recommend it.
Polymorphism is very powerful, because it lets old code call new code.

But abstraction layers have costs. (Explicitly declared) interfaces are a cost (time to introduce into the system, complexity, lines of code, impedes refactoring).

Therefore, don't use interfaces (i.e. introduce abstraction layers) until needed (cost is justified).

By the way, if you manage to come up with a layer of abstraction that doesn't have as much explicit cost, it's a cheaper layer of abstraction. So dynamic languages' "duck typing" feature allows interfaces to emerge gradually, without explicit code to introduce them. Arguably, but IMO, that's a better approach.

I disagree with the article's definition of a leaky interface:
"A Leaky interface exists when the interface is prone to being ignored during any communication between the system and the environment."

A leaky interface is an interface that has non-obvious, non-declared behaviors, and the code has to rely on those behaviors to deliver value/functionality.

It can be something as simple as an inconsistent implementation that leaks an underlying implementation detail. It doesn't mean that the interface is prone to be ignored. In fact, it can be used quite a lot--just in slightly different ways.
On doing so, Apple probably gains respect from other countries except the USA.
Can we stop pretending that apple are taking a privacy stand? They are taking walled garden and vendor locking stand. If they lose this - they must create device that even they cannot compromise. After all any device that is secure from apple is not easy to be forced to stay in the apple ecosystem.

Sony cares more about my privacy by not caring about what happens with their device after sale - I can unlock my bootloader, put clean AOSP, put firewall and only use F-Droid apps that I have installed.

Apple fight is about - we want to have total control over our users, but we don't want to share it with USG. Well - that is not how it works.
1. Freedom to life (claiming the government has the power to assassinate American citizens without judicial review, and actually performing some assassinations. Yes, the assholes killed were probably murdering terrorists, but depriving citizens of life without judicial review is not what our constitution permits).

2. Not only renewing, but greatly expanding the Patriot Act in 2011. You can look up the details online, but it's expanded coverage on business records in particular is pretty grim for any civil libertarian. This one hits just about every liberty enumerated in the Bill of Rights, except perhaps the 5th article.

3. Egregious persecution of American citizen whistleblowers, going so far as to force down the plane of a foreign head of state in their attempts to capture one whistleblower.

4. All the state surveillance of American citizens revealed by the Snowden whistleblowing, which is why it pissed them off so bad.

5. Continuing egregious violations against constitutional limits on unreasonable search and seizure, particularly with respect to federal "civil forfeiture", up 50%+ in money value in 2010, the last year for which I can find data [1].

If you really want, I'll continue, but I'll let others chip in. All this is pretty grim coming from a professor of constitutional law. It makes me wonder what he really believes/believed when he entered office.

1. http://www.drugwarfacts.org/cms/Forfeiture#sthash.G1c3wBkR.d...
I'm trying to figure out what their net income looks like, and I don't think it's much. They've got 16 customer service reps, over 100 packers, who knows how many other employees, refunds and replacements to deal with, plus the warehouse lease that all have to come out of their margin. What they're doing is still impressive, but they're not taking home Apple-level profits any time soon.
Ask HN is probably my favorite part of HN and I check it every time I visit. I wish it was more active. I love hearing the opinions of all of you smart people.
Release Date:
USA	29 April 2016

http://www.imdb.com/title/tt0787524/releaseinfo?ref_=tt_dt_d...
As a side note, I use uniqueId() from the venerable underscore.js utility lib (last version is 5,7kb only).
I don't really buy the con of async/await allowing you to write really long functions. You can do the same thing in completely synchronous logic. Additionally, I don't really buy the chopping up of a cohesive process into itty bitty functions. Certainly small, simple function are nice, but when small for smallness sake, you basically end up with unreadable spaghetti code.

A benefit the author didn't quite touch on is what a boon async/await is for branching processes. I've got a block of logic that takes credit card info for Stripe, and it needs to validate user info, tokenize payment info, add it to the user model, and then add the tokenized card to the Stripe customer associated with the card. There are a lot of places this can go wrong or data can fail a validation. In promises, branching mid-flow is a huge pain.

The much more interesting issue with callback-driven approach to async, no matter what the sugar, was raised by http://journal.stuffwithstuff.com/2015/02/01/what-color-is-y....
Why Sheryl Sandberg Shared This Indian Ad
Most software already has a “golden key” backdoor–it’s called auto update
>The government's decision to begin the AWA filing without notifying Apple, instead leaving Apple to find out about it from the press, probably did not help the relationship.

This doesn't seem substantiated by facts. Apple had been discussing the case with the fbi for 2 months (http://www.nytimes.com/2016/02/18/technology/apple-timothy-c...). Also Apple wanted the order to unlock it to be kept secret, and the fbi did not (there's another nytimes source on this, can't find it at the moment).
This is false at face value. Anyone who would rather maintain the security of their own device after purchase can do so by choosing a suitable android phone as you have done. There is nothing Apple can do to force users to stay in their ecosystem. Their fight is about maintaining the privacy of people who choose to be their customers.
Why a Hedge Fund Manager Who Made a Killing from Subprime Is Buying Bitcoin
I hate that sites fail to render without JS and dozens of calls to third party sites. At least degrade gracefully back to a readable page!
Location: Ireland

Title: Software Engineer

Years SE Experience: 2-3 years professionally

Next Move: I'm not too sure. I am keeping an eye on the job market to see if anything comes along that I feel would be a great move. I'd love to start a company but I don't think I'll do it yet.
It depends mostly on growth. 10 P/E is OK if you grow 2 x year as a large company or 4-5 x per year as a smaller company. Not if you're a small company growing up to 2 x per year. 10 x earnings means huge growth and potential upside.

Also see Tom Tunguz' post on benchmarking SaaS companies from a few days ago: http://tomtunguz.com/benchmarking-exceptional-series-a-compa...
7 Underrated Websites to Find Amazing Resources for Your Startup
It's the hallmark of corrupt, broken governments when the biggest companies are forced to have amicable relationships, or have their principals sent to Siberia in chains.
It is easy to lie to oneself that sleeping less is great if the activities done throughout the day are interesting.

However, if all that added time is used for mind-numbing tasks, the true destructive nature (physically and mentally) of sleep deprivation becomes apparent, as many parents of small children can attest.
I've bought crappy but running cars before for $200 (outright, no loan). If I were you, I would spend all day today on craigslist for a little junk car that you can sleep in. Shoplift food from supermarkets that will fit in your pocket. Beg on the street for spare change. Clean your body in public restrooms. Try to find drunk women at night who will let you sleep over in exchange for sex (and conversely, if you're a woman, this whole homelessness problem is much easier).

That would be the American way. The Western European way is probably going to the welfare office and getting a 1000€ check.
Source: me

When someone first become homeless, the first few days are absolutely the roughest part, everything in your whole life basically changes for the worse and you have to rethink every logistical element of your day-to-day routine.

OP says that this is the first time something like this has happened, so I'm assuming he lost his job or something like that. Times are freakin' tough.

Luckily Germany does appear to have some social services. I think OP should look into them, and obtain a case worker or someone similar who can advise him. I wonder also if his landlord can evict him with a 0-hour notice in the event that he doesn't pay. Perhaps he could get some $ from social services and pay it late this month and figure something out for next month?

OP, whatever you do, don't get homeless. It is worth every bit of effort and inconvenience right now to not have to be homeless later. If that means sleeping at a friend's house, parents house, in a friends dorm on the floor, literally anything BUT homeless.

On top of that, soup kitchens and food banks should be prevalent, but perhaps churches and such might help also?

You can do it, mate. I don't know if you'll even read this but I've been homeless since October 2015, and it's been a whirlwind. Been all across the US, currently in NYC about to become a stockbroker and make some $$$, but it's taken since October to do it. When you are homeless, everything is 10x harder. The shelter I'm at has a curfew, designated meal times, and no way to receive mail. With no income, my phone was turned off. Imagine how difficult it is to schedule interviews with these bankers with no phone number, no house, and I've gotta find a place to hop the turnstile and catch the subway every day and get back before 10pm. It's a real challenge every single day. On top of that, people judge you. Most people don't really give a shit about the plight of the homeless. I'll even admit that before I experienced it firsthand, I really didn't either. But it's not easy to just 'get a job' and fix all of this. At least in the US, anyways.

Please do everything you can to avoid homelessness. It's in your best interests. It's a slippery slope, and a lot of people never make it back up.

Best of luck, mate
From 2013.
Business books are like romance novels– they're all about fantasy.
It's a very good point. Moreover, an abusive administration will almost definitely take over soon, because the scope of data the current one has will attract all kinds of "evil forces", including (but probably not limited to) powerful corporations.
For quite some time I've been toying with the idea of building CPLD/FPGA recreations of pioneering computers like the Alto, the Lilith, the Symbolics series, the Tektronix storage CRT machines and the PDP-[1~8]. I know people have done it with MSXs and Apple II's, C-64's and even the Cray I, but it would be lovely to be able to gift someone with a simple to use (I understand operating a PDP-x is NOT simple) recreation of this cherished machines.

Of course, when appropriate, an as faithful as practical recreation of the original keyboards (or front panels) should be made available.
You don't even have to leave the US - COINTELPRO is a great example of this. In the 50s and 60 the FBI used surveillance data of questionable legality to target a number of groups deemed "undesirable". This included trying to convince Nobel peace prize winner Martin Luther King Jr to literally kill himself via harassing anonymous letters that threatened the release of embarrassing personal details.

Here's a key quote from the letter: "No person can overcome the facts, no even a fraud like yourself. Lend your sexually psychotic ear to the enclosure. You will find yourself and in all your dirt, filth, evil and moronic talk exposed on the record for all time. . . . Listen to yourself, you filthy, abnormal animal. You are on the record."

Nice, eh? When that failed, his marriage was attacked instead, and anonymous audio recordings (again, questionable legality) were sent to his wife. This continued in various forms up to MLK jr's eventual assassination.

You don't even need the entire government to be corrupt and malicious - a single bad department or group can cause an enormous amount of damage, which won't be found out about until decades later (if at all!).

Edit: Source https://www.eff.org/deeplinks/2014/11/fbis-suicide-letter-dr...
Are you really suggesting that underrepresented groups are just less intelligent?
This is the wrong topic - but a lot of last eight years' policies make a lot more sense if you view Obama as moderate republican (in the old timey sense of the world - probably mid 90s) when not talking about social issues.

I am not sure if this is because both parties have drifted to the right economically and foreign affair wise, or it was just his world views from the beginning.
Share your “home-grown” data integration code
I won't cost 50 million dollars to comment out a few lines of code and recompile the OS. That reporter has no idea what they're talking about.
> If they lose this - they must create device that even they cannot compromise

That's the reported plan even if they win.

At any rate, it opens the door for a competitor to offer a secure product. I'd love it if Apple would do this but they can act as they wish, that's their right. For now I'll support what I believe in, the right to privacy, and encourage Apple to give us self signed systems (maybe dual signed?) in the future.
In the real world, though, opportunities arise that neither "a" nor "b" take advantage of.

One of them is noted in the article...grey area product sources. If "b" isn't taking the time to find distressed inventory, there's an opportunity for a middleman to do so, and undercut "b".

There's also some value added where the middleman has expertise or something to offer that neither 'a' nor 'b' has. That could be better marketing (product photos, how-to videos), or better support (more lenient return policy, deeper technical support, etc), bundling multiple products together, niche sales, or something else.

Generally, successful middlemen find something missing between "a" and "b" and fill the gap. Is it a war of escalation, where either "a" or "b" can react? Sure...but typically middlemen can move faster.

Or, in short, they exist for a reason, and I don't see that the internet age changed anything about that other than pace of change.
Create Simple, Clean, and Resilient Unit Tests (My Sadness Reduction Strategy)
Ditto. Nothing at all with uBlock Origin, just the article.
The "we only allow software signed by us" on iphones is forcing people quite a bit when bought iphones. There are no legal ways for a person to load their OS on the apple devices. Or alternate app stores.
> "Assuming a=0 implies a=0" is absolutely true.

This is not correct. There is no such thing as absolute truth. Something can only be true within a set of previously agreed constraints and rules. For example, I can simply imagine a scenario where a=0 implies a=0 is considered to be false, because I define it to be so.
This is highly inappropriate. The argument should be based in principles and philosophies, not in political machinations motivated by a diplomat with a history degree.

Denis McDonough is not qualified or educated to understand what he is arguing against. He is a man standing for the wave of Establishment thinking without ever having offered an original thought of his own.

The idea that the White House could unduly influence Apple on this issue is frightening. The Chief of Staff should not be doing this. He yields ridiculous power; what if the next Tim Cook is weaker or the next Denis McDonough is even more authoritarian.

We should argue from principles and philosophies. This is a dangerous world we are creating. One where individual personalities dominate us and determine our freedom, instead of philosophies derived from reason and analytical thinking.

Truth should be defended with honor, while power blinds those from knowing there was ever such a thing as truth. What is right is not relative, there is only one correct answer here.
Stop beeng an ass, force yourself to be better Manager
Won't that cause the element to get a different key every time render() is called, causing React to think each is always a new element thus throwing away the state every render?
I'm still on the fence, too. The internet is still too young of an experiment. We are now at a stage where machines themselves are going online. I'm sure he would have loved seeing the next 24 Yeats unravel.
Double Program Entry and Computer-Aided Code Review (2009) [pdf]
Im very happy to see this on the top of hn. I had a very similar experience but do not talk about it at all because the stigma is so strong.

A major problem with the conversation in mental health is that having thoughtful or well formed opinions about the subject can incriminate you. I have a tremendous respect for anyone that is willing to talk openly about it. I am no that brave.
The+Flat-Belly+Overnight+in+Details+Review
WW3 ALIEN SHIP AND GODESS DEAD FOUND BY MARS TRACKER,
Phabricator: http://phabricator.org/