skysight-inc/HackerNews huggingface dataset:
It's often called an indicator function. (The Kronecker delta is a special case of the more generally defined set-indicator function [0], the notation for which is also more obvious. The Kronecker delta can be described in this notation as something like 1_{i=j}(i, j).) Similarly, the Dirac delta function is often more descriptively called an impulse function. The Heavyside step function does what it says on the box.

A great many things in mathematics do have descriptive names, although it often helps to know a bit of Latin or Greek or to "get" the metaphor. That said, I don't think naming things in mathematics is particularly akin to naming things in programming. In programming, a good name can tell you enough about an object to be able to use it without understanding anything further about it, but in mathematics it's rare to be able to get much use from an object unless you assimilate its definition and the major consequences of its definition in the context you're working in.

There are few "user-facing APIs" in mathematics, and mostly for good reason.

0. https://en.m.wikipedia.org/wiki/Indicator_function
Presumably because discussion forums aren't anyone at Github's expertise. They're a whole product of their own.
Focus on your happiness mate and rest will fall together.

Suddenly you will become desirable once you do that and get rid of bad habits like needy behavior.

I would suggest focus on health as well and do some lifting and read the book "No more Mr Nice Guy" by Robert Glover and look for references on the web.
Agreed, but in your example 'xargs', 'curl' and 'print' are arguably meaningful.
Those names are related to the common uses. Anybody doing something uncommon is probably advanced enough that the names shouldn't bother them.
It depends how early you joined, how many people there are now, how many there will be soon, how much equity founders still have and how valuable they perceive your contributions to be (past, present and future)... consider that they both need to have the equity to give away and a material reason to part with it, not just because someone desires more. It maybe time to get moving if you have a bigger risk appetite and if they're not providing growth oppys or increased responsibilities... because often people outgrow companies and vice-versa, and that's okay... Never stand still.
Hello, I’m the person who made the video. I’ve been developing a new SDK called Blurrr. I wanted to share this video showing a cross-platform development scenario using Swift language to make an app for SteamOS (Linux), OS X, iOS, and Raspberry Pi 2, all sharing the same code base and unified build system.

Under the hood, SDL provides the common platform layer. The build system is built on top of CMake. I have been adding Swift support to CMake.

Even if you aren’t interested in my SDK, I thought it would be interesting for people to see how much is already possible with Swift today.
Command clicking on backtraces to open that line in my editor is pretty bloody great. Although if you've rigged up some way to do that with the keyboard alone you're unlikely to be impressed I suppose.

It seems to resolve paths relative to the working directory and passes them to `open`. It works for URLs too.
>The backdoor does not currently exist.

This is pretty much semantics. Apple can load a modified firmware without the password. That is a backdoor.

>Creating it leads to a slippery slope because the FBI will not only ask Apple to unlock phones from known dead terrorists who killed multiple people, but it will cascade to suspected terrorists, and then families of suspected terrorists, and then drug dealers and drug users and then speeders and loiterers and people of the wrong color, just like every other police abuse of power.

The fact is that each time this tool would be used would require a federal district court to specifically order it. That eliminates the slippery slope risk. The courts would absolutely allow it for murder cases. In fact, any federal crime. But that's what is supposed to happen.

And if you really think that a district court would let the FBI search a phone because they are the wrong color (or any other blatantly illegal purpose), well that court would also force apple to help them. So it ordering this now doesn't increase the likelihood of it happening.

>And then if Apple gives into the FBI, it'll have to give into the UK and France and Germany and China and Russia and anywhere else they want to sell their phones.

I am not arguing that Apple should give the FBI the power to do it independently. The FBI isn't asking for it. And the court didn't order Apple to do that.

Apple already has the capability to do this.
Cohorts beyond 35 or so (also known as people who might actually have something to lose) are more conservative and they have always been. So your hope that conservatives will die out is naive at best. People turn conservative real quick once they have a bit of money in their brokerage and/or savings account.
One of the greatest games of all time - recently added windows 10, bootcamp, virtualbox... just to be able to re-enjoy the original classic version again. Future versions don't do justice to the original.
I've got one word for all you lovebirds- roommates. Best (reversible) way to know your domestic faults. Distrust any potential romantic partner that hasn't lived with other people extensively. And in their adult lives, since in college most people aren't ready to do that kind of self-development. And distrust yourself if you haven't done the same, of course.
Facebook, Twitter side with Apple in iPhone fight
Swifty View Controller Presenters
This is the TechEmpower plaintext benchmark (http://frameworkbenchmarks.readthedocs.org/en/latest/Project...). I'd agree that it's kind of a micro-benchmark. There are other TE benchmarks that test more real-world web application scenarios.

My understanding is that the ASP.NET team started at the bottom of the stack and is working their way up. They want to get fundamental HTTP serving basics nailed first. I think that makes sense - they were getting around 170k rps in September, so there were definitely some things to sort out at the basic HTTP serving layer.
TLEM: very high speed link emulation [pdf]
Skype: Up to 25 simultaneous video caller support in iOS and Android
To add to that, it looks like OP's entire post is how he's revising his opinion in light of new facts.
I would presumably work for anyone you are chatting with; that’s mostly your friends, but there are edge cases like people who asked to become your friends and haven’t accepted yet, friends of friends in a group chat, with whom you might be able to chat, etc. I haven’t tried though.

If you are inclined to, I would strongly recommend you create test accounts there to do so: https://www.facebook.com/whitehat

A. you get way funnier screen grabs, and honestly simpler controls;
B. you will get love from the security engineers, which I’ve tried, and is an awesome idea.
Only works in idiots who have Facebook installed on their phones
>And why do the best hackers on the planet not work for the FBI? Because the FBI will not hire anyone with a 24-inch purple mohawk, 10-gauge ear piercings, and a tattooed face who demands to smoke weed while working and won't work for less than a half-million dollars a year. But you bet your ass that the Chinese and Russians are hiring similar people with similar demands and have been for many years. It's why we are decades behind in the cyber race.

Then the next photo they show is a bunch of people with short hair, except the one guy with a ponytail, no hair dyes, no piercings (that I can tell at least), and no visible tattoos.

I can't help that they did that to make him look foolish. Some would argue he doesn't need the help, but I think he simply likes hyperbole to exaggerate his points.

That being said - pointless offer. FBI wouldn't risk losing the data. Always a joy to see what crazy things McAfee is shouting about. He's an interesting character at the least.
>I like to think it's about the 3rd amendment. The backdoor is a digital soldier.

I do like the creativity. However, we are arguably at war with ISIS. Congress could probably pass a law quartering soldiers in our houses.

Plus this court order isn't putting the backdoor in any phone other than the one the FBI already possess.
For men who had a bit of an awkward childhood (like, say, me, and perhaps some of you as well), perhaps the most important bit of advice about marriage is that your first serious relationship, should it happen to end, will not end up being the only one you ever have, and that "we've already been together for an appropriately long period of time" is not remotely a legitimate reason to get married.

Should there not be a very, very strong match - due to lack of shared values, mismatched libido, poor communication skills, whatever - then the appropriate thing to do is break it off, not limp along in an adequate-but-far-from-ideal state until length of tenure or the pressure of societal obligations compel you to the altar.
Gol Dari Cristiano Ronaldo Dan Jese
Wait, you have two relationships right now?
OSX-only apps that I absolutely love and consider must-haves:

Free:
Iterm2
Spectacles
Sip

Not free:
Dash
Textmate (I use it as the equivalent of Windows' Notepad.exe)
Transmit
Sketch
Paw

If anyone has any other suggestions for things that they consider must-haves, I'd love to know about them so I can try them out!
I am the team I am afraid, and only at the planning stage so there is no code to speak of as yet. I'm in Australia so it might be better to send an e-mail and see what can be done. Thanks for the info.
Since I compare the extracted OCR data against known part, catalog, upcs, skus, the variability is boolean. For instance if I OCR a picture of a tape roll and it has a part number printed on the seam I compare that to a trusted data source of part numbers.
Based on the first Google result [1], average age of first marriage goes up by ~2.5 years for men and ~3.5 years for women with a bachelor's degree over just a high school diploma.

1 http://www.bls.gov/opub/mlr/2013/article/marriage-and-divorc...
(Tedious disclaimer: not speaking for anybody else, my opinion only, etc. I'm an SRE at Google.)

"Within the last 10 years" covers several generations of refinement to the interview process. I'd suggest forgetting about anything more than a couple of years old.

The major thing to keep in mind is that these days, your recruiter will ask you up front what subject areas you are strongest in, and you should expect to get interviews about those things.
Your precise situation is a common theory for why women disproportionately initiate divorce.
you're not suggesting that China is Uber's Battle of Waterloo, are you?
I think cm2187 was referring to the CA death penalty with the "lose their cert" reference. ie, Browsers decide to reject Comodo CAs from their trust store.

One would hope that losing control of HSM-stored crypto material is improbable, regardless of other questionable security practices.
Just look at the very large companies -- they have staff trained and ready to deal with visas and have no issues with it. I'm not just talking about the Google/MS/Apple/etc -- just very large companies (GE, IBM, Thomson Reuters, Lexmark, etc)
> iTerm2 has been updated for the modern Mac OS X "flat" look and is stunningly beautiful.

It does look very polished! Just two things:

When you choose "No title bar", the rounded corners and drop shadows all disappear so it looks a bit too "sharp".

And it would be really great if you can add an option to specify internal padding, similar to urxvt's internalBorder.

Great work and thanks again!
Nothing. It's the same as nvidia's non-gpl kernel modules. The simple fact is they will never be accepted upstream, but that matters little to distributors of ubuntu's scale.
This is an astute point. Encryption is a modern, defensive technology against an overreaching State intent on total control over its populace. In the 21st Century, guns are a relatively weak counterbalance to State power. Even in Saddam's Iraq, people had guns.
Do they have 24-hour analytical sun+sky model? I'm obsessed with something like that ever since I came across Hosek-Wilkie model (unfortunately it is dawk+day+dusk only, no night time).
I think sort of the implication here is he's just coded up something that may be a starting point for something that will later involve more files - just makes it easy to do the initial repo setup.
Shkreli on Twitch?
> Parks have time restrictions

OMG THIS.

So, I found about the last meteor shower one day before its peak. So my idea was to find a place – any place – that wasn't near any buildings. Forget about light pollution, I just wanted a sky devoid of direct lights. So, parks would be a nice option.

But try as I might, I couldn't find any parks that would allow me to stay after 6PM. There's one in Palo Alto that allows that for 'stargazing', but you have to request a permit in advance.

A permit? Really? For stargazing in a notorious light-polluted area? And that has to be filed in advance in business days? Come on.

At this rate I expect that you won't be allowed to park in the middle of nowhere in Nevada after the sun goes down.
There are a lot of names in mathematics that are common names; limits, sequences, absolute, smooth, continuous, etc.. I daresay the named-after-people definitions are in the minority.

You also have definitions named after common intuitions like openness and closeness in topology that end up confusing people because after some thought, mathematicians have found that some sets are open and closed at the same time, but that's not possible in most physical objects.

Ultimately, I think that the unfamiliar-name problem is just something that people have to get over with. We learn all the time the difference Coca-Cola and Pepsi, Apple and Google, and so many other unfamiliar names.
Ridiculously easy deployment and lower memory footprint.
How a team of five created a next-gen MMO with Unity and SpatialOS
Melbourne app iBackpacker helps backpackers find safe employermant
Hi. I'm one of the GlusterFS developers. Hi, Justin. ;)

The basic answer to your question is that networks are slow compared to local storage. In order to get decent performance, you must either avoid network round trips or amortize their cost over many operations. We - not just GlusterFS but distributed filesystems in general - can do this pretty well for some operations. We can batch, buffer, cache, etc. This works great for plain old reads and writes to large files (for example). It doesn't work so well for operations that have to touch many small files. For those, in order to ensure the required level of consistency/currency, we have two choices.

(1) Send a request per file to get current metadata.

(2) Cache metadata, and participate in some sort of consistency protocol to make sure we don't serve stale cached information.

Both approaches have workloads where they perform better and workloads where they perform worse. In addition, the second approach adds a lot of complexity, especially in a system where failures are common and a loosely coordinated set of servers must respond (systems with a single master server have an easier time here but are less resilient). The inherent difficulty of this approach is why e.g. CephFS has taken so long to mature.

GlusterFS took the first route instead. It does mean that "ZOT" (Zillions Of Tiny files) workloads will perform poorly. I won't deny that. On the other hand, it's easier to test or prove correct, and the time not spent on solving the hard version of that problem - often for little eventual benefit - can instead be spent on other kinds of improvements. Some people are happy with that. Some are not. Some spread FUD. Some try to implement the practical equivalent of a distributed filesystem on top of some alternative (e.g. object stores) with their own even more serious limitations, and experience even more pain as a result. Some are initially unhappy with these tradeoffs, but work with us and learn to work more effectively with these limitations to enjoy other benefits. That's life in the big city.
Do you have a citation for that?
As it says in the article, this returns a list of the statuses of your friends, he's not querying people individually. He is, however, storing the records individually, but that's a function of his program, not how the API behaves.
China isn't a homogenous uniform market, those large market advantages arent present like in the US
http.sys smokes netty in almost every way.
This is true of any sufficiently advanced ecosystem. You're going to develop your own lexicon based on the historical advancement of your field. In our field, functor can mean at least 3 different things[1], which I argue is even worse, because without sufficient context you could make a false presumption. (Granted in mathematics, greek-letters are polymorphic, the polymorphism tends to be isolated in between branches).

Computer science has only had about 50 years to develop - we may have seen our Issac Newtons and Leibniz's but once we have 200 years of Gausses and Riemann's there'll be a lot of additional abstraction that's implicit depending on which subset of study you choose. CS will fork off into various subsets just like any other formal science, and a greek symbol to someone who finished their PhD in complex analysis might mean something entirely different to someone who's been working specifically in combinatorics for 30 years. At that point, our level of abstraction won't be pieces of paper on a stack.

It's not exclusive to CS or mathematics, ask someone who hasn't taken O-chem what "R" means in a Lewis Diagram. Ask a non-linguistic (of either type (ugh pun not intended)) what a 'terminal symbol' is. I'm sure they'll answer differently from someone who works at the airport, that's for sure.

[1] http://www.catonmat.net/blog/on-functors/
This problem goes far beyond clinical trials to science in general. What kind of journal wants to publish results that are negative?

The only time I've ever seen negative results published is if someone tries to repeat "known" science, fails to do so, but finds something interesting in the mean time.

I used to hear these complaints about negative results in chemistry. The problem is, most scientific experiments (including clinical trials) are negative. If published, you'd need to increase the number of papers by ~500% to include all these failed experiments.
RealVNC (authoritative) is currently 255 characters. Older legacy implementations may still be 8.

RFB protocol itself is agnostic[0]:

VNC authentication is to be used and protocol data is to be sent unencrypted.

The server sends a random 16-byte challenge:
No. of bytes Type [Value] Description
16 U8 challenge

The client encrypts the challenge with DES, using a password supplied by the user as the key, and sends the resulting 16-byte response:
No. of bytes Type [Value] Description
16 U8 response

The protocol continues with the SecurityResult message.

[0]: [pdf] http://www.realvnc.com/docs/rfbproto.pdf
You're missing out on $25K post-tax dollars per year by working at this company (assuming US taxes in CA or NYC and 80K "real" base)

You plan to stay there 4 years and in that time if all goes well, you hope the company to exit for $25M. I assume a low exit because the company is raising a 2nd seed implying that it isn't a moonshot business and seems to be struggling. This means you're looking for a very minimum of $100K in post-tax returns in 4 years and assuming you have not purchased your options yet and filed a 83b, will be subject to AMT (roughly 35%). Assuming the FMV strike price values the company at $1M today, you'd need to spend $ to buy those options as well so let's increase what you need by 1/25.

Sooo... to break even on missing $100K in salary over 4 years you need to own at least $160,000 in stoke or about 0.64% of the company AT EXIT. Over the 4 years, I'd anticipate a conservative 25% of dilution so now you need 0.85% of total equity in options.

To just break even on a $25M exit compared to salary loss, you need 0.85% of the company's total value today. Let's say that the company has a 33% shot of exiting for $25M meaning that you need 2.55% in options to break even on expected value. I'm guessing that if there's a $25M exit, you'd also like some upside beyond making up for loss salary so let's double it to 5.1% in options. If I'm being purely logical, I think 5.1% of the company in options is fair today for you.

Based on the model, if there's a $25M exit:
You'll own 3.82% at exit.
Pretax is $956,250
Post-tax is $583,312
Less salary loss = $483,312
This is a fair reward for 4 years of working hard and taking on risk.

Okay. Now some sanity. I don't think this founder is going to give you 5.1% of total equity in form of options. He just doesn't sound like the guy and given the undermarket salary, you also don't sound like a long term lead engineer. I could also be wrong to suggest that the company would only be worth $25M and could be worth $25B instead. That obviously makes a big difference so you could ask for less.

What would I ask for? I'd ask to be brought to market rate after the next round closes and threaten to leave if not. I'd also ask him what an optimistic outcome looks like and when then I'd cut that number in half and extend the time table by 2 and run the above calculation to come to an equity number.
>And, Didi is also offering a Tinder-like matchmaking service for passengers. As a kid, I was getting it on in the back seat of my parent's Dodge.

Wait, what?
Because every time you open the site you'd have to receive an email. vs just letting 1password, browser, etc enter the password.
Well, using "abs()" for it would be a bad idea, because "|x|" (or "||x||") means "whatever is the distance I've defined between two elements of this particular space".

For all that I know, the only reason to write "|x|" instead of "norm(x)" or "length(x)" is because brevity and because it is a well accepted notation.

Edit: wrong post.
My wife had me buy her a poster this year which I have found to be particularly profound in a variety of life's situations. It says, simply "The grass is greener where you water it."

We've since had it framed.
A friend sent it to me and I was on the fence whether it was worth posting, figured why not.
Sick politics is the driving force of useless ceremony
Do you know who fails to update clinicaltrials.gov the most? Researchers using public money (NIH, publicly funded academic institutes). Pharma companies have a much better compliance rate.[1]

[1]http://www.statnews.com/2015/12/13/clinical-trials-investiga...
Can't put my finger on it but putty isn't on the level iTerm2 is
I think you're radically mistaken on how corporate contributions work.

Near as I can find, corporations don't have carte blanche to give unlimited money to an individual campaign. In fact, corporations cannot give any money to an individual candidate's campaign.

Corporations can give money to Political Action Committees, but are limited by amount to the same as real people.

Corporations can give money to SuperPACs, but so can real people.

http://www.fec.gov/info/contriblimitschart1516.pdf

http://www.fec.gov/pages/brochures/citizens.shtml

If I am wrong, I welcome corrections, but I think you're off on what corporations can and cannot do.
He'll decrypt the iPhone with social engineering?
Thanks for joining the discussion!

I understand that it's a non-monetary contribution; my confusion is just on why we should treat them differently from monetary and why people think of them differently, even when they accomplish the same thing (deliver $X worth of value to a campaign), especially given that, for a foreigner to contribute money is a serious crime.

(Less of an issue in your case since you're not some random Chinese government official but an actual US resident with legal status who can stay.)