skysight-inc/HackerNews huggingface dataset:
Harvard Medical researchers find online symptom checkers are ‘frequently wrong’
I don't think there is an ESPP at Netflix.
There are no absolute values in the summands, so in your example pairs of consecutive terms sum to 0 when you choose b = 2.

The theorem seems entirely correct to me. You can prove it with these sub-steps:

(1) the set of all j + a_j is the set of nonnegative integers minus a finite number of gaps

(2) thus for large enough n you can express \sum_{j=1}^n (j + a_j) as a quadratic function of n, plus a residual term e(n) of magnitude at most 1007^2/2

(3) more precisely, \sum_{j=m+1}^n a_j = g (n-m) + e(n) - e(m) where g is the number of gaps in (1)

Then choosing b = g solves the problem.

Hope that helps.
The unixy solution to this is rather obvious. Main app runs at relatively-higher privilege. Main app forks proc for plugin. Drops privilege in the child after the fork. Then calls exec on the plugin. The plugin is stuck at that lower privilege, but still talks to the main app through a pipe etc.
well, if it can create new address space mappings, it can simply create a new text mapping and execute the call from there.

If anything, the place to implement it statically could be either a virtual machine jit, or at the compilation stage.
This story is currently at #1 on the front page.

Comments moved to https://news.ycombinator.com/item?id=9909429.
Great unsprung weight seriously affects comfort and handling. I'm not sure this tradeoff is a good one.
> This jives with my experience using pretty much everything, including heroin. A high-level unscientific explanation I've had is basically folks prone to addiction feel like heroin or whatever replaces the feelings of success and companionship etc.

This. If I am on stimulating projects and am spending time with my friends regularly, I never drink to excess because it would interfere with my ability to be productive. When I am stuck on bullshit work and don't get to see my friends, I drink some on weekdays and hard on weekends alone because I am bored and looking for cheap short term happiness.
Note that about half of the parent proc struct is simply copied into the child.
JavaFX is kind of a reaction to all that was wrong with Swing.
Advertising makes as unhappy or poor.
It creates artificial tangible desires for needless goods.
Unfulfilled desire makes us unhappy.
Buying needless and worthless goods poor.
Screw motivation, what you need is discipline.

http://www.wisdomination.com/screw-motivation-what-you-need-...
Lack of Diversity in Tech Is Not a Problem Google or Facebook Can Fix
> Please leave and let the adults talk.

You know that personal attacks are not ok here.
Fastest hashing for Java ever
Caching in Java with JOOQ and Redis
> Who cares about controlling the problem?

Well, if procrastination is liable to hinder you in buckling down to learn things, it's pretty important to find a way to really control it. Otherwise HN/the internet will be just be replaced by some other distraction offline.

How likely is it that your procrastination is really limited to whatever manifestations it currently has on the internet, rather than being a general problem you have to correct?

If it really is limited to certain sites, then getting offline or blocking those sites is a reasonable productivity hack, but otherwise you're just sidestepping the real issue and it'll only come back to bite you in other ways later, no matter how many times you change your environment.
Sure, in the same way you can look at the ingredients of an M&M's bag and replicate the chocolate candy.
Ask HN: Postgres 9.5 has row level security, should my web users get an account?
With Postgres row level security it becomes practical to set high level security policies.

https://wiki.postgresql.org/wiki/What's_new_in_PostgreSQL_9.5#Row-Level_Security_Policies

I'm thinking of using this in a new web application, giving every user who signs up a Postgres user account, and using that role for every database query.

Is there any reason why it would not make sense to do so?
Docker and Openstack are working at very different levels. Kubernetes is a much closer competitor to Openstack.
> "democratic" or "flat" decision-making often translates to who shouts the loudest.

Or the one that has the most political capital.
to be fair he did accrue nearly 3B is stock, a large amount of that was when he took over in 1997.
I often feel a bit sorry for advertisers and consider they are simply wasting their money and effort. I have no more inclination to buy a car I saw parked on top of a giant rock on TV than I did before I saw the ad. I have no more inclination to drink a coke than I did before I saw the ad. The only ad I remember following or taking an interest in within recent memory was for a drone on youtube. Out of the thousands and thousands seen over the past decade. I realize maybe I'm not typical... but I simply can't fathom how commercials for things like shampoo on TV impress anyone. Are people really still susceptible in this day and age? I just don't get it.
I'd say, if anything, the point of a lot of structures are to force managers to work for the line workers.

Most lean manufacturing books will talk about how managers have to go investigate problems raised by employees. Having reports means the manager has some level of responsibility to see that their reports can do their job.

A "flat" structure just means that the senior employees (and there are senior employees) never have to do their jobs, because they don't have a team that can fail.

As for turf wars - they'll still exist. But nothing's as bitter as a turf war where there's no-one with the authority to sort things out.
Ah yeah, just found that, the patch has a couple lines added to sys/proc.h,

+	u_int	ps_tame;
+

, right before the end of what's defined as `ps_endcopy`, which is copied from parent to child in `process_initialize`.

Makes sense now.
Ruby on Celluloid performs better than Elixir, Go or Rust?
The reason this thread exists is because other options with strong ecosystems and better performance which accomplish the above mentioned stuff just don't seem to exist.

I'd actually love to see some performance numbers comparing performance on Erlang/OTP vs the alternatives, though. I can't find anything quite like that, maybe someone knows a link.
>Not to mention engineers often want to complete the project in the most technically exciting way possible, rather than the way that will most benefit the product.

Well, this has a habit of happening everywhere, no matter who is running the show.
turned out to be way faster just to grab http://mirrors.sonic.net/pub/OpenBSD/5.7/sys.tar.gz , if anybody else wants to poke around and doesn't want to wait for cvs.
Archaeologists find 12,000-year-old pictograph at Gobeklitepe
> As a former Soviet geodesist and forest inventory specialist,

Well that takes the cake for the day.
"but I didn't know I could negotiate"

This is shocking to me. Was it your first formal job offer?
how can you not be learning all the time?
Complaints about the rent and transit are obviously legitimate, though you may be overestimating the quality of transit in most other cities.

Other cities either have similarly insane rent and much better transit (NYC), or similarly bad transit and much cheaper rent (basically everywhere else).
Sounds like you're doing something unnecessarily more complicated than this:

$ time cvs -d anoncvs@anoncvs1.ca.openbsd.org:/cvs export -rHEAD src/sys/kern/kern_fork.c

U src/sys/kern/kern_fork.c

0m2.73s real 0m0.06s user 0m0.04s system
The problem with consensus structures comes when you want to actually do something. That's part of Occupy's problem. They never converged on goals, or an agenda of actions.

Few seem to use Robert's Rules of Order any more. (Except union meetings.[http://www.ueunion.org/stwd_tipsrununmtg.html]) Those rules built on the assumption that the goal of a meeting is to make decisions, which are then acted upon. Motion, discussion, vote, on to the next item. Without that kind of structure, the loudest voice in the room tends to win.

The military has the interesting convention that the most junior person in the meeting speaks first on a topic. This is to avoid everybody agreeing on an off the cuff bad idea from the senior officer present.

[1] http://www.ueunion.org/stwd_tipsrununmtg.html
The self-hating web developer
You're right, perhaps that's not precisely the correct term here.... "Psychological trickery" or just straight up lies maybe. As it's essentially trying to paint a picture of the game in your mind that's just not true.

I would hold them at exactly the same level of sleaziness though.
I'm rather unqualified as a critic of rain sounds - morning fog leaves about as much moisture on things as what people around here would call a light rain. But I agree, it really doesn't sound quite like rain. The more prominent sounds remind me more of a brook or partially open faucet draining into a plugged up sink, and there is some rather obvious white noise in the background.

I also have tinnitus, but it's nowhere near as bad as yours sounds. Something like this is more than sufficient for me to mask it. It's really only an issue for me when things are very quiet.

Anecdotally, I find it much easier to concentrate with extremely loud music, usually with a strong and at least moderately fast beat. Even if I were to turn this up to 11, I don't think it would help me very much, aside from possibly masking background sounds that might grab my attention. At normal levels, I don't see it making any difference at all.
Warning, article is product placement for Netbeans. Author bio at the bottom: "Geertjan Wielenga is a principal product manager in Oracle for NetBeans".
> I also don't understand why anyone wants to use their phone as a music player. The idea of that sounds needlessly awkward and they'll fill their device's HD up with largely useless music.

My primary use of my phone is as a music player. The second biggest use is as a camera. Between those two (and considering a lot of the music is streamed), the device's storage is never a problem.

What about it sounds awkward? To me it's way more awkward to carry a separate device to play music, given that I'm going to be carrying a cell phone anyway.
The hard drive in my iPod was dying so I replaced the hard drive with a Tarkan iFlash and SD card. Instant went from a slow clunky 32gb CompactFlash hard drive to a 128gb SD card for storage. It more reliably boots now too.
If you read through the examples, it's even better. The default case when you call tame() is that you don't get any privileges, so you explicitly have to call and declare to the operating system, "I need to be able to do <x> - don't let me do anything else."
In the medical practice world, marketing of pharmaceuticals has been an incendiary subject for some time. The common gist has been that medical practitioners are too easily influenced and merely hearing what a pharma company rep has to say will lead to inappropriate prescribing.

On such grounds many clinics forbid manufacturers' reps to have access to staff, else they would be tainted. Of course they'd be, a dozen years of training and 20 years on the front lines mean nothing, really, prescribers are clearly unable to know a sales pitch when they hear it, incapable of applying their own judgement concerning a product's merit.

Sure, there are instances where pharma firms have been unethical, but in my dealings with them, reps have mostly stayed within the lines. In case they don't, I'm not that delicate and can deal with overzealousness when necessary. Generally, it's a two-way interaction, I listen to what reps have to say, and the better ones listen to my feedback about clinical realities.

One thing that gets lost in the noisy public discourse is the role of marketing. In our economic system marketing is fundamental to distribution of goods and services. A pharma company could develop a break-through product, but if providers don't know of its existence it won't be used where it would make a difference.

Inadequate marketing has impeded uptake of a number of useful medications, and fewer treatment options is not a good thing. I'm not advocating a free-for-all in this sphere, rules are necessary. But we can have too many rules too, better to maintain an intelligent balance.

Sometimes I think about an interesting experiment: what if all advertising had to follow the same rules as pharmaceutical companies? Imagine a car commercial on TV, and the announcer having to murmur a list of all the defects reported for the car's vehicle class. You know, real truth in advertising would be very refreshing.
I'm too young to drink, I figured this reference would work just fine on the GP here... Though the five downvotes I got on my message tell a different story. :-P
yeah, I was wondering if there were measurables that could be correlated with failure before SMART kicked in, even if they were something like date of year, or location of manufacture, or shipping route they took. :P
I use an iPod nano on the gym, is small enough, lightweight, and doesn't ring with a call when I dont want to be disturbed.
Having fine-grained capabilities and the ability to turn them off is always useful. The usual problem is that some component needs to, say, open a file, so all code gets "open file" privileges.

There's a tool like this for Android phones. It not only can turn privileges off for an application, but also offers the option to provide apps fake info for things they don't need. You can, for example, deny address book access; if the app tries to access the address book, it gets a fake empty one. You can deny camera access; the app gets some canned image. This allows you to run overreaching apps while keeping them from overreaching.
Canada Claims It Will Back Out of TPP to Protect Its Sovereignty
Yep, I was grabbing `src` instead of `src/sys/kern/kern_fork.c`. I've completely forgotten how to CVS, and I'm okay with that.
> The things is: engineers don’t like bosses.

I don't like being told how to do my job.

But I don't want to do everyone else's, either.

On an engagement I don't have to think about what feature to develop next. That's up to my product manager, working with a designer. I sometimes venture an opinion, but it's just, like, my opinion man.

And they don't have to worry about the minutiae of code. That's my job as an engineer. They can ask questions and make suggestions, but it's up to my peers and I to decide the engineering questions.

The problem isn't with clearcut roles. Clear separation of responsibility is great. The problem is trust.

And trust problems are not solved by throwing everyone into the same deep end.
Whats the name of this app? Can it run without root permissions?
Build something and tell everyone around you that you're building it. Celebrate the small wins with them (share progress).
iOS 7 jailbreak
I believe one of the biggest advantages of space exploration, if done seriously, is that keeps us from stagnating on and inevitably overblowing the various quibbles we have today. I think it's clear that either space exploration or the technology borne of it will have enormous implications for our society; it's simply a matter of time. With that being the case, what good reason could we possibly have to strangle it and push off meaningful progress for another 50, 100, or 200 years? The sooner the better.

As far as the cash needed goes, it's really nothing compared to military expenditures. If NASA had even a fifth of what we spend on our military it would do wonders.
That was pretty interesting until it turned into a crazy-rant.
I don't understand why this is on the front page. Take a look at his contributions:
http://stackalytics.com/report/users/carlp
http://stackalytics.com/report/users/carl.perry@dreamhost.co...

I've met Carl Perry several times at a couple of OpenStack summits and mid-cycle operator's meetups. He's a nice guy, and seems like he's pretty smart, but he's got an opinion about everything and likes to hear himself talk. The last time we were in the same room was when we were in the same working group. I don't remember what our topic was, but all I remember was Carl completely derailing any kind of discussion we had in the room.

I've been part of the OpenStack community for about two years (working for an OpenStack operator) and I've had nothing but good experiences. Developers that I've met seemed genuinely interested in hearing our pain points and other operators are interested in sharing their experiences running OpenStack and learning from our experiences.

It's really not that hard to contribute to OpenStack, you just have to play by the community rules, learn to listen a little, and don't piss people off with arrogance. Oh, and about the price of attending a conference, $600 for a full access pass. Is that a lot?
One thing I don't like from the start in this analysis is the assumption of a Gaussian distribution for power. If you're riding in the Tour de France, you're in the tail of a distribution of power generation of the human race. To assume it falls off symmetrically balanced in each direction from the mean of qualifying riders is wrong. The cutoff to even be able to ride in the Tour is far to the right on a Gaussian curve.

I'm not saying there isn't a way to model what the poster is talking about, but I don't think this is it.
Well, you can get a 128 GB iPod touch, but it's pretty expensive.
Amazon CloudSearch vs. ElasticSearch vs. Apache Solr Comparison in Detail
public website or more like an internal application?

internal apps are an easy yes. a public website requires a few bits to make sure everything is secure but it can be done safely. be thorough and it'll be safe.
It was old hat 1500 years ago, and rediscovered repeatedly. I am suggesting there is a legitimate separation from what people find out in the first few years of research on a topic and what's built after that. So, you really need to pick a deeper topic if you want to defend your argument.

As to survivorship bias, that's huge but it's not just based on good ideas. Copernicus was ~4,500 years late to proposing the sun was the center of the solar system. But, the pop story looks better when Darwin is breaking new ground instead of simply collecting more evidence in support of an old theory.

As to Amazing progress, I would hope the ~1,000,000 active mathematicians are not all wasting their time. But again, the point is we don't need to maximizing the number of Mathematicians, we are well into diminishing returns.
A simple easy way to keep a lid on privelige escalation is to remove all the files that you computer does not absolutely require to do its job.

Especially the development tools: the Morris worm enabled portability by distributing itself in source code form then building its binary on its target hosts.

My sister once read a novel about some very traditional, strictly religious people who fastened their shirts with string ties as they felt buttons were hooks that the Devil could use to grab hold of you.

I feel much the same way about files. I dont know what tomorrow's zero-day will look like but the chances are quite good that it will depend on a file that is installed by default. Cliff Stoll wrote in "The Cuckoo's Egg" of a subtle bug in a subprogram used by GNU emacs for email. Had the Lawrence Berkeley Laboratory used vi rather than emacs they would not have been vulnerable. ;-D

Yes it is a step in the right direction not to run daemons or windows services you dont need but its even better to remove them.

In 1990 I wrote an A/UX 2.0 remote root exploit to drive home my objection to one single file having incorrect permissions. Its source was about a dozen lines. That particular file was required but our default installs have many files we dont really need.

Also if you can read - not just execute - the binary to any program or library then your malware can load it into its memory then execute it. We have no way of knowing who is going to do that tomorrow but we do know there are many binaroies we do not really need.

If you develop code for your server, install the same distro in a vm on your desktop box then compile it there.
NinjaFlex is a new type of material that some people are printing for rubber-like things, including little toy tires. Don't think it's ready for a car yet, but it's fun to play with.
A better example might have been

func (f (add 1 z), f (add z 1))

Since f is not memoized it will be evaluated once for each component of the tuple.
> “We’re not talking about a few kilobytes of data here, we’re talking about thousands of times that amount,”

So we are talking about a few megabytes of data. This story told me very little about the industrial network. I'm not even sure if that is the name of it.
I have a 5 series bmw (f10 latest one), and I have had other premium cars before and I (and many car experts) can tell you nothing comes close in this price range in terms of handling and comfort of BMW, run flat tires make no difference for me compared to regular tires on my previous Merc and my friend's audi a6.

Why downvoting? It's my personal experience and opinion? Sometimes I don't understand HN users...
What is the scariest theory known to man?
Tyler Hamilton's book on that era is a great read:

http://www.amazon.com/gp/aw/d/B008WOUJQG

I think you'd have to be crazy to dope now, after Lance's fall from grace. My default opinion is that systemic doping isn't happening and I'll be really sad if it is.
http://kotlinlang.org/ with http://docs.paralleluniverse.co/quasar/#preview-quasar-kotli...
Classic Mac OS applications had 32 kb of stack. Desk Accessories had 8. Much of my effort to fixing Working Software's QuickLetter went towards reducing stack consumption. My predecessor had apparently not read the fine manual.

We spent a lot if money to purchase MacCLint but it overflowed the stack by megabytes and so corrupted the heap. The author wasnt receptive of my advice to remove all its recursion, he asserted rcursion is necessary for compiler-like programs.

Recursive algorithms di not require recursive implementations. The pricedure fir converting recursion to iteration is documented by Robert Sedgewick in "Algorithms".

Really you do have a stack but its not the runtime stack.
Url changed from http://www.ancient-origins.net/news-history-archaeology/arch..., which points to this.
xprivacy/xposed framework, no
> I have all the documentation I could ever want right on my hard drive

If you're on a Mac, Dash.app is a great way to read documentation, distraction free. No internet required (after you downloaded the docs you need).
Actually I did not.
Docker is not great for multi-tenant environments.

But Intel is trying to solve this with Clear Containers.
if the intent of the hiring policy is to get elite employees, then being elitist seems like an excellent plan
Just a nitpick here, for me simply having phone and internet counts as 24/7 passive usage because people can call/text/email. It's like a mailbox, I'm always using it.
Perhaps you'll like this, then: https://github.com/ustuehler/git-cvs
I'm sure that doping was incredibly widespread. Just like in baseball. Look at the raw numbers in MLB today: the number of pitchers with an ERA under 3.0 has doubled this years compared to ten years ago, and the power homerun leaders are down about 20 HRs as well. You've got some technical and strategic changes that might help to account for the ERA improvements, like increasing emphasis on defensive skills at some positions, and massive increases in the usages of aggressive defensive shifts, but the HR numbers are pretty clearly the result of cleaning up steroid usage among hitters. There's been a few ballpark changes that have switched some of the old bandbox parks over to parks with larger outfields, but that's not enough to get us from having random third-basemen and shortstops cranking 40-50 HRs to where we are now.