skysight-inc/HackerNews huggingface dataset:
> I wish women would make more of an effort to understand why men do what they do. Here is my general take on it...

From the author's referenced post[1]:

> My experience is that men are either not very willing to talk to me one-on-one or, if they are, talking shop is the last thing they had in mind. They are looking for romance, not looking to help me professionally. When I say this to other women, they generally express immediate agreement. Men often deny it, criticize it or just stop talking when I say such things.

Most people are not attracted to most people. What this means is that most of the people you are attracted to won't find you attractive, and most of the people who are attracted to you are not going to be attractive to you.

Given this simple fact, believing that most of your interactions with members of the opposite sex are motivated by romantic interest is simply not realistic, no matter how handsome/beautiful or charming you are.

Maybe the tech industry (or a particular subset of the tech industry) is completely dysfunctional, but in my experience, most adult women and men are capable of interacting professionally without believing that all these interactions are somehow romantic in nature or fearing that they will be interpreted as such.

[1] http://micheleincalifornia.blogspot.com/2014/03/the-gray-zon...
It really depends. Usually, you would do something like this in Python:

def whatever(some_string):
try:
return some_string.split()
except AttributeError:
return some_other_parsing_stuff(some_string)

Instead of checking the type of some_string, or seeing if it has the method split. Reason is: it's more straight forward, and it instantly tells the reader this function is meant to handle strings, and it will split them. If it gets a not-string for some reason, oh well, it'll still handle it.

You would check for values in a circumstance like this:

def dict_breaker(some_dict):
if 'items' in some_dict:
return parse_some_items(some_dict['items'])
Some of the mega corps do have some really cool work going on. It's not all rank-and-file development, I'm not even talking about R&D. The cities are fairly small compared to other larger midwest cities and if you have a decent reputation as someone who can deliver code or pick up good work there is plenty of opportunity to shine very brightly at a large org and have your pick of projects to tackle.

Fortune 500 aside, there are a lot of smaller startups in the cities. They mostly focus on creating products aimed at the health insurance industry though, which in my experience is fairly dull work.
I can't answer that question but when I'm faced with a horrible/unfair offer, I take it as a crystal clear signal that they just don't value what I can bring to the table or, to be charitable, the position just can't generate enough value for the company to justify paying market rates.
I imagine it's just a hash? Is a hash considered a derivative work? This is an interesting line of questioning.
Salt in who's wound, though? The bookstores that were charging us more for books? Not sure how cheaper books is bad for the consumer.
The one time pg got super mad at me was when I triggered the second Erlang stampede. It was the evening of Demo Day by the time he saw the front page full of nothing but Erlang stories and he had to go through them on his phone and kill them all manually. He then searched to figure out who had started it and... mea culpa.
The issue is not writing such software in some other language. The issue is rewriting such software in some other language. That's a very very large pile of functionality to implement all over again. In the process new bugs will be introduced, including new security bugs. While it's easy enough to write a toy system in some other language and get a paper published, a more fruitful approach for making a real world system secure is to do so incrementally. Look at the L4 family of microkernels for an example.
DIY CRISPR Genome Engineering Kits on Indiegogo
> If it were all a matter of interpretation we wouldn't need an actual written constitution.

This is false, given that there is no settled jurisprudence until interpretation happens. If the Constitution said "there may be no dog-walking on Thursday", the constitutionality of dog-walking on Thursday would rest entirely upon the decisions of the judiciary with regards to its constitutionality (and this is important, as the court can functionally ignore provisions of the constitution under accepted judicial doctrine; being lashed to two-hundred-year-old thinking is not an inherent good and so plenty of escape hatches have been created over time).

> But from what the constitution reads at this point a number of these measures are manifestly unconstitutional

You speak imprecisely. You think (and maybe I do, too) that those measures are unconstitutional. Until they are ruled unconstitutional by a court (and the decision upheld on appeal, ruled on by the Supreme Court, etc. etc.), the most you can realistically say is that something might be unconstitutional. That's how checks and balances work--only the judiciary can say one way or the other, and that's by design.
What do you consider to be a safer language? It seems like in most 'safe' languages you are relying on the language implementer to provide security and the compiler to basically catch the same mistakes that the static analysis tools do. You could consider this a variant of, "don't roll your own" but when a vulnerability is discovered it might be out of your control until the next release.
Note that this explanation is not fair. If Bob stops the protocol when he gets the answer (equal or not) then Alice doesn't learn anything.

In cryptography there are ways to make such a protocol "fair". Basically both learn "bit by bit" the answer, if Bob stops early, he only gets one bit of information more than Alice and if he can bruteforce the rest, so can Alice (except if Bob is the NSA).
Founders: What to do when you’re replaced as CEO
The latter isn't actually the typical Python style. As the article discusses, Python generally prefers "EAFP"[1] to "LBYL"[2], e.g.

def dict_breaker(some_dict):
try:
return parse_some_items(some_dict['items'])
except KeyError:
pass

Or even

def dict_breaker(some_dict):
try:
items = some_dict['items']
except KeyError:
pass
else:
return parse_some_items(items)

These versions may be more efficient (only have to do one hash and interaction with the hashmap, but this probably won't be visible with integers/short strings), and don't suffer from race conditions in concurrent code with the hashmap being modified between the check and the use (yes, this can occur even with GIL).

[1]: https://docs.python.org/2/glossary.html#term-eafp
[2]: https://docs.python.org/2/glossary.html#term-lbyl
Oh, they switched to harder-to-remove ones at some point, because douchebags tended to remove them and continue following their douchy ways of behaviour.

A hard-to-remove sticker that takes up a third of the windshield is a really great idea IMO; all the "Putinjugend's" issues aside, I think StopXam are doing a great work.
The picture is a really nice idea: shows the product, its size and its creator, which does add a nice human touch to it.

But your smile does indeed look a bit demonic. Maybe take a couple of pics and chose the best one? Might help to have some friend saying something funny or silly while taking phtos, that's a easy way to catch genuine smiles :-)
There's something to be said for the experience of browsing bookstores (especially ones that stock things other than just bestsellers).
Thanks! Generally speaking it would be helpful to have info on the business side of things, such as incorporation, taxes, bookkeeping and I probably missed a bunch.
I say: good. Drivers as a general category are incredibly hard to keep in order. There's something about cars that makes many people lose their sanity.
A column specification isn't a table. A table contains user-editable fields. If you have two SQL tables and compute their Cartesian product, the result is a query, not a table.
North Korea is indirectly fed by all its neighbors, because its demise will mean a huge influx of refugees, very poor and largely not adapted to life in a non-North-Korean society. It will also mean that South Korea would have to absorb and restore North Korean territories; even mighty West Germany had visible difficulties absorbing East Germany, which was pretty prosperous by the Soviet bloc measures.

I don't think the US or Europe would feed starving USSR to prevent it from collapsing.

Also, North Korea is pretty compact. Keeping a country the size of USSR in an iron fist would be somewhat harder (though this has been done in 1930-50s), and attempts to cut certain regions away from an ailing empire would probably be much more successful.
Do you usually get to work later?
<script type="text/vbscript">
Sub link_onClick
' Do some processing!
End Sub
</script>
Do you usually leave around 3pm or stay at work?
BlackBerry Priv Review: Can an Android Phone Save BlackBerry?
I think DanBC inadvertently gave the wrong (first) link for the original announcement of this feature. It was https://news.ycombinator.com/item?id=10298512. The link Dan gave was when we announced some other stuff, that you also should know about. :)
That is really awesome! I am a little jealous that you got to work on that.
Should people have access to something like this? Is genetic engineering and geneware going to be the next big thing? Seems like it. I imagine that one day we will all have automated genetic programmers in our homes.
If you Google 3.141592653589793 then you'll find it cited as π in plenty of places. I wonder what the cause of the discrepancy is?
> The existence of a "readable" parse tree doesn't provide the same level of "hackability" or openness as a DOM.

Um, the DOM will still exist.
Arsenic? So they not only using mercury in fillings but arsenic too for killing the nerve, nice :(.
I'd rather have a corporate bookstore than an independent one. My personal experience with independent bookstores is that they're usually biased about their stock and can be even more vindictive against authors they don't like.

It doesn't help that most bookstore owners I have met (maybe half a dozen) are aggressively opinionated about what books are "worthy."
Okay, so let's say American businesses can't get hacked so easily by nationstates and have their secrets stolen. Also, Iran has successfully tested a nuclear bomb. Is that the world you'd prefer?
True, I didn't really think about also the possibility of backward linkages and the ability of the company to be worth it's investment value in terms of research and patents that can be applied to other use cases.
I guess this is off topic, but neat language.

But that algorithm allocates a bunch of intermediate lists and iterates through the hash table when it doesn't need to. Here it is in common lisp:

(defun count-elements (lst)
(loop
with rval = (make-hash-table)
for val in lst
do
(incf (gethash val rval 0))
finally (return rval)))
Good point about trading versus investing. When index investing advocates say that it's hard to beat the market over the long term, I've always wondered what the difference is with traders. Do their returns beat the S&P500? Does an individual who trades forex as their day job do better than stuffing their money in an index fund for 40 years? Lately I've learned that larger traders can provide value apart from buy&hold, e.g. market making, finding the right price for something, shorting bubbles.
ZKP is Alice proving to Bob something, without telling him what it is. Alice doesn't learn anything.

In the Millionaire problem both learn the result of the comparison
It's not considered quite that bad. In many languages, using exceptions for non-exceptional flow control is bad style. Python is a bit more ambivalent about this, for instance take a look at the iterator protocol which uses an exception to signal the iterator is done.

https://docs.python.org/2/library/stdtypes.html#iterator-typ...
Quite often, recipients of those stickers totally deserve it. I recommend watching some of the videos from the channel 'vermontdevil linked to.

I thought few times about starting something similar in Poland but then I understood StopXam really works only because they're government-backed program, so if someone gets too angry about having half of their windshield covered in a "I don't respect people" stickers, the police will bring him to order quickly.
A materialized view cannot contain user-editable fields unless these fields actually come from some actual table. Hence, a materialized view isn't a table in its own right, let alone a sum or product table.
It's all about perspective. For example, if I introduced you to somebody who painfully regretted not dating in his 20s out of, say, fear of rejection or relationship failure, you might come to see your past dating experiences in a kinder if not more positive light.
Yes, in Canada virtually every major bank issued debit or credit card for the last several years has supported NFC. There's different branding depending on the card - Interac Flash (debit), visa paywave, etc. But all use the same terminals.

No PIN, tap and go, no batteries.

With little user benefit, I'm assuming banks are reluctant to sign on to give apple a cut.
no need if the protocol is "fair". He just gave a simplified example on how to solve the millionaire problem. There are many ways to solve it, some are unfair, some are fair.

For example you can use fully homomorphic encryption to trivially solve this problem.
Isn't that called the Feed in the world of Facebook ?
Triggers are an imperative hack. This is like using a C struct with an enum and a union, and claiming that C has "sum types".
The fact that a court overruled the original decision in a technicality really means they know the whole damned program is wrong and they were stalking whilst the program was being shutdown.

These coward judges don't want to make a precedent. At least there are brave judges still left!
A moment that changed me – the kindness of a stranger in the pub
Nevertheless, on this particular point, there is more reason to be optimistic about Turnbull than the last 3 prime ministers.
No reason to downvote you, brute force is indeed one of the reason using hashes is not an elegant solution.
Interactive Content Rocks – Here’s How to Get Some of That
I was not familiar with the term "sealioning" until I looked it up[1]. Frankly it sounds like an name you call your opponent when your not-so-well-thought-out ideas can't withstand debate or criticism.

A: I think the moon is made of cheese.

B: Why do you think that? Do you know of any evidence?

A: Sea-lioning! I will not debate you!!

1: http://simplikation.com/why-sealioning-is-bad/
The way to do so in Haskell is putting "Safe" in the Language section of a cabal file, and it covers other stuff like partial functions IIRC.

Are you saying that Java has something similar to SafeHaskell? Are you saying they are nearly the same? If yes to the last one, I feel that might be untrue.

It's quite possible I just read through your comment too quickly though.
> It's not so easy finding a co-op to live in if you're not near a university

CoWorks, the development in the story, is located exactly one mile from Syracuse University: https://goo.gl/maps/HhJmvrsFR6z
Malaysia: economic woes demand “out of the box” strategies
Ah yes. So doing it on tax day actually saves people with higher marginal tax rates more money than those with lower ones.

Interesting.
Previous discussion: https://news.ycombinator.com/item?id=10306611
Flipkart, the India's Amazon re-launches it's mobile website
>A lot of people here seem to be taking it a great deal more seriously than any of the relevant authors.

Lack of context, probably. I fetched the text from my RSS reader - I didnt know where it came from. From the title, I had a false expectation, as other HN readers seemed to have.
How Google responds to U.S. search warrants: https://www.youtube.com/watch?v=MeKKHxcJfh0
I get that this is annoying, and we're working on a plan to group duplicate submissions together, but in the meantime everyone needs to understand that allowing reposts until a story has had significant attention is explicitly ok here. It's a tactic for letting the best stories surface, which is the #1 quality concern for HN.

https://news.ycombinator.com/newsfaq.html

https://hn.algolia.com/?sort=byPopularity&prefix=false&page=...
Is that a negative, when there's another one down the street? I like people with opinions, when there's more than one to sample from. That Amazon has effectively destroyed the idea of a bookstore as a curator, without really replacing it, is still troubling to me (and random curators online don't have the same investment--that is to say, a financial one--in providing something worth considering).
How American tech workers are being sold out
China and Taiwan's historic meeting
Check out the last paragraph of "Is WebAssembly only for C/C++ Programmers?" in the FAQ [0]. The tl;dr is that you'll be able to port a Python interpreter (that is itself written in C) to WebAssembly from day 1, but a more robust solution that relies on WebAssembly GC will have to wait until after the MVP.

[0]: https://github.com/WebAssembly/design/blob/master/FAQ.md#is-...
What you have described is the sort of government we have, but it's not one characterized by the rule of law -- or at least not characterized so thoroughly as you imply. If law can be retconned, then we are not ruled by law at all; we are ruled by the ones doing the retconning.
> Women has been "nice" throughout history. No one cared.

Really now?
Exclusive $2000 Gift Card Winner Email – MailShark
I would love to see all the other operating systems adopt pledge(), but as is often the case with OpenBSD's security mitigations, it will be years before we see it happen (if at all).
>Tensors are the future

"Tensor said the tensor.
Tension, apprehension,
And dissension have begun."

https://en.wikipedia.org/wiki/The_Demolished_Man

Tensors were the future even before they were cool.
That sounds very reasonable.

OK, TPP doesn't. But that term does.
Glad to hear. I killed most bugs before posting it here but if you notice something odd while using it, please submit a issue on github right away.

You could probably symlink `Contents/Frameworks/Electron Framework.framework` (on mac) to something like ~/.electron to get rid of the duplicated core (and around 100mb per app). Though I didn't try that yet.
You got it—that's exactly what's going on. Instead of inviting a repost, we're re-upping posts by resetting their timestamps and otherwise treating them the way an invited repost would be. So far we're only doing this for submissions that are up to a day old, but I don't see why it couldn't extend back a week or two, especially since that would let us privilege the original submission in most cases.

We considered resetting the timestamp a while ago and thought the community wouldn't like it, but people turned out to dislike the repost solution more, because it pollutes the story stream with more dupes. A couple users suggested the timestamp approach, so we gave it a try, and indeed it works better. It also has bonus properties like not relying on an account having an email address (or people reading their email).

This is the latest in a series of experiments we've been running to try to give the best stories multiple chances at making the front page. The holy grail of this is figuring out a way to distribute the work of picking 'the best stories' to the community, in a way that doesn't just reduce to upvoting. (The latter bit is important, since if upvoting worked for this, we wouldn't have the problem in the first place.) We're hoping to get to that soon.

Edit: I forgot to mention that the re-upped timestamps only appear on the /news and /item pages. If you look elsewhere, such as the /submitted page for the user, or the /from page for the site, the original timestamp is displayed. So you can think of /submitted as the historical record and /news as displaying a timestamp relative to other posts on the front page.

Edit: here are some links for anyone interested in how these experiments have evolved:

https://news.ycombinator.com/item?id=10395389

https://news.ycombinator.com/item?id=9866140

https://news.ycombinator.com/item?id=8790134

https://news.ycombinator.com/item?id=9828818
I don't disagree that legally you are correct.

But I think you might be missing my point. The constitution is on display in the nations capital. Copies hang on the walls of courtrooms around the country. It is taught to school children. It is (in theory) the supreme law of the land.

If it were meant strictly for closed door interpretation by qualified individuals I doubt this would be the case. It would be like the bible during the dark ages. Only highly trained and qualified priests would be able to correctly understand it and pass their deciphering on to the masses.

The point is that we live in a democracy. We are entitled to read the agreement we are supposed to be living under and to ascertain that it is (or isn't) being followed. In theory, (if anyone gave a shit), we can then elect people who will appoint judges who actually follow the document rather than weaseling around it for who knows what purpose while keeping the masses in the dark.

Now, maybe the system is in need of overhaul for new times. But that is how it is supposed to work. Don't _ever_ feel you aren't qualified to ascertain an injustice or an infraction of the rules. And please don't suggest others don't have this right either. Down that path lies darkness.
5am - 9am
HTM is a theory. It's very incomplete at this point, because our understanding of the brain is very incomplete. Numenta published their code as they discover more and more about the brain. Once the system is complete enough to process language, the code will be able to process language.
Malcom Turnbull is the guy who, for purely political purposes, messed up the planned upgrade of our absolutely terrible internet infrastructure. Now instead of having fibre, we have a bunch of crappy technologies that supposedly will also cost more and take longer to roll out.
Ok, I have read section 7 one more time and debates over the internet. As I see many users are unhappy with such type of dual licensing.

Which scheme will be perfectly clear for everyone? Will http://creativecommons.org/licenses/by-nc-nd/3.0/ for non-commercial/ developer license for commercial be ok for everyone?
> This is argument from anecdote

So? Just because you can play logical fallacy bingo with someone's point of view, does not mean that they can't express it.

That was my opinion, not a formal debate argument entry in a PC convincing contest.
I wouldn't worry too much about being scooped by this--the idea of data flow programming has been around since the 60s. Tensorflow looks like a very nice implementation of those ideas for neural network training, and is potentially useful for more general numerical computing, but to what extent remains to be seen.
> "... I could perhaps have tried to find out about things."

I meant that.

> Wait what? you're Snwoden?

Not that.
Rackspace reports 11 percent more revenue amid hiring spree
These are a thing in Japan. Not sure how common they are. One of my co-workers now in is 40s recently moved into one.

They generally advertise you'll have an active social live in the shared space and they advertise beautiful shared spaces. I've never been so I don't know if the ads live up to reality.

A few links

http://www.social-apartment.com/

https://www.hituji.jp/

http://tokyosharehouse.com/jpn/

Note there have been crappy shared living houses for ever, for example an infamous one that targets foreigners is Sakura House

The new thing is advertising them as better than living alone and dressing them up, including organizing activities like shared dinners etc..