skysight-inc/HackerNews huggingface dataset:
They're just dumb slobs, just like you. Both of you are being commanded to go off and die for your country by people very unlikely ever to be at risk themselves. You have far more common with the dumb slobs in the opposing trench than you'll ever have in common with the people who caused you to be in yours.
I noticed a variable named retval in a few slides and was irritated for a moment.

Maybe because I stopped using variable names like "retval", "data" or even "result" - because they convey so little meaning.
Math Student Unveils Physics Behind Chocolate Fountain
Hard to say.

I've encountered it on some very large and famous websites, so I'm thinking it's not always the fault of a bad regex.
Because the vast vast vast majority of apps aren't cross platform?
It seems annoying because personal names like Jenny and John have grammatical gender in English, so the unknown grammar use of they/them/their seems unnatural. It's also perhaps why similar-sounding names are generally spelt differently between genders, e.g. Danny/Danni, Jerry/Jeri, Tony/Toni, Billy/Billie, Francis/Frances, Robin/Robyn, Sidney/Sydney.
Ask HN: How to turn down a job interview
I applied to 5 companies about 6-7 weeks ago.I got an interview in all but one.To cut the story short,I got offers from all of the four companies.I am thinking to myself which to pick among them.Now,today the last company emailed me for an interview(after 7 weeks or so).I am not interested in the company anymore.How do i decline the interview in a decent way?.
> If you adopt 'they', you have to either adopt plural verbs

Which we already do with semantically singular uses of the first-person and second-person grammatically-plural pronouns in English, so that's not really a big deal. (And already do with semantically singular uses of "they": its been "adopted" in English-as-actually used for over half a millennium.)
Yes the plan is to replace XUL with HTML. I have no idea where you heard otherwise.
Mark Zuckerberg to give 99% of Facebook stock to charity
"Gen George C. Marshall received a report from a general on his staff that some of Marshall’s officers had morale problems. General Marshall said, 'Officers don’t have morale problems. Officers cure morale problems in others. No one is looking after my morale.'"

(http://www.dtic.mil/dtic/tr/fulltext/u2/a454364.pdf)
Have you lived in both places ? I have. Hence.
One good answer: It totally changed my perception of Facebook. If the guy at the top is trying to save the world, that automatically makes facebook a lot more appealing, not just to me and many other other I know who have historically been quite suspicious of facebook and its overly invasive privacy 'features'.
The Koch brothers have a combined $100BN and they still haven't gotten the influence that they want. So yes, $45B is a shitload, but practically once you spread it out to where you need it to be to make the world look like you want it to, it still only makes a dent.
It was just to highlight that things are broken even at the top. I've worked all the way from a relatively small institution and I've found little correlation between long term vision and institution ranking, which is quite surprising.
I disagree that the problem was valid. The fact that code doesn't look right to somebody isn't a problem, it's just somebody's opinion. Beauty is in the eye of the beholder.
In what way is it constructive to suggest that stylistic problems with somebody's code indicate that the program is unfit for use?

It seems to me about as constructive as walking into any software company and saying, "Ugh, these engineers are wearing t-shirts and their shoes are completely unshined! People, if these programmers care so little for their appearance, can you trust them to care about their code?"
Pretty clear you didn't read the thing. The guy just pledged to give away 45 Billion dollars to try and improve humanity in various ways. Seems like a pretty expensive 'PR stunt'.
> British could not plunder Travancore Kingdom in Kerala as much as they would have liked compared to say Kolkata which was another trade port

Incidentally, Kolkata is not just a Communist hotspot, but has had the longest-serving democratic Communist government in the world. That has not worked out so well for Kolkata and West Bengal, sadly.

Just pointing that out as a counterexample in another Marxist regime.
The internet does democratize access to information, but part of me thinks that for every job the internet created, Facebook destroys by wasting peoples collective time...
This is amazing. Money doesn't make us live longer, but does $45 billion help bring the future sooner? I bet it does. It will widen our horizons on what's possible. Everyone on earth will benefit from it.
Sometimes, a Whale Dies
Indeed, and unsurprisingly, this results in a bug. It's not that it strips out the text, it's that it sets that variable to null which is then used for flow control.

So you will run in to issues (not sure how it would manifest itself) if you share photo or video that does have text, but just doesn't contain "WhatsApp" ("Sent from FooBar").

It looks like it'll send a text and then send the photo[0] but who knows what kind of state will be modified when you send the text first.

[0] https://github.com/DrKLO/Telegram/blob/74def22213846b1f90a26...
From reading the documentation it's not really obvious to me how conan handles ABI incompatibilities resulting from different C++ standard versions. I could create a package that would pass a std::list to the package user. Depending on the C++ standard compiler setting the user would expect objects of different size -> undefined behavior.
“No More Excuses” for Not Prosecuting Government Officials for Torture
Never much cared for Zuckerberg but this changes my perspective.

Off-topic: can Facebook please go ahead and literally kill the blogging industry by giving the ability for everyone to use these updated Notes section? As is, the majority of the referrer on the Internet is Facebook. They might as well get the blogs out of the way.
I would always advise first checking any listed glassdoor salaries (if there are any) to ensure you are getting paid fairly for your position.

The trickiest component of remote work is communication. Ask other team members how they collaborate effectively and the tools used to do so.

Working from home is a perk in itself but its not for everyone. Sometimes I find myself going into the office just to get out of the house.
Are you denying that there is deep rooted (if surface-subtle) misogyny obvious in the comment thread on just about every post about women in tech / safe places / gamergate / just about anything that challenges the authority of cis-gendered white men?
Wait 7 weeks then say you're not interested.
Elite?
The original Elite on the BBC Micro. Coded in assembly by 2 people as a summer project. Used procedural generation to create a universe of thousands of star systems, all fitting into 32kb of memory. It's just incredible what they achieved.
With the Range and Selection APIs, contenteditable is almost not necessary anymore. It still requires a ton of work on top of them to build a decent editor, but it should be mostly possible now at least.
Singular "they", for the purposes of grammatical agreement, is indistinguishable from plural "they", in much the same way that singular "you" acts like plural "you". The distinct singular 2nd person pronouns and verb forms are now archaic and obsolete.

You wouldst not match the verb form associated with "thou" when using the singular "you". When anyone does, they sounds wrong to the ear of a native speaker.

(The above is intentionally wrong for illustrative purposes.)
“It’s so weird in this day and age to just do an art project.”

Like I needed more reasons to be super fucking happy I haven't moved to the bay, but anyways. Here's one more.
La'Zooz: Welcome in the Future of the Decentralized Autonomous Corporations
Microsoft laid off 30 people working on HoloLens in Israel
Thanks.

Yes there is so much more that could be written about this topic, but you have to stop somewhere.

As I mention in the essay I have never had an idea stolen, only the credit once proven. The only issue I have with telling people my ideas is that nobody is interested [1] - it is viewed as similar to talking about your children - nobody cares how smart/talented/funny/charming your children are and they most certainly don’t want to hear about them from you.

1. If anyone has any ideas that hit 10 or more on my list I am very interested in hearing about it, but I won’t promise to not steal it from you :)
Looks interesting. Why did you change?

I am working on another product too so I am always looking for new opportunties.
Obligatory quote by Erdos: Suppose aliens invade the earth and threaten to obliterate it in a year's time unless human beings can find the Ramsey number for red five and blue five. We could marshal the world's best minds and fastest computers, and within a year we could probably calculate the value. If the aliens demanded the Ramsey number for red six and blue six, however, we would have no choice but to launch a preemptive attack
We already have a perfectly fine and valid phrase: "raises the question X".

I guess there is a difference here between American and British English, not so much in what is formally accepted, but in common usage. American English seems to quickly adopt grammatically/syntactically/semantically incorrect phrases that become popular; "touch base" or "call out" or even "${X}gate" comes to mind.
That seems to be wrong. Looking at that code in context that's the text to be sent, when sharing something that is stream based (probably a video, an image).

In other words: As my (green/new) sibling ones_and_zeros states, afaik that ONLY strips the text if it contains "WhatsApp" and you send non-text content. Which .. is an improvement, I guess. Or a band-aid to grudgingly fix a 'bug' in WhatsApp.
Like I said: Those terms will need refining, and all you've done is add "grammatical" and "semantic" to differentiate the cases.
In asyncio and in most other asynchronous frameworks for Python, threads aren't usually involved.

Your Python interpreter is doing one thing at a time. However, a function can get to a statement that needs to wait for something outside of the interpreter -- usually I/O, but it could also be a timer.

What happens at that point isn't thread-switching. The function gets suspended and control goes elsewhere in the program, just like if you yielded from a generator. (It's the same mechanism.) The function can be woken up again by feeding it the data it was waiting for -- the asyncio main loop is responsible for this.

If you actually want your processor to do more things at the same time, though, asyncio's model of asynchronous computing isn't going to do it. Python programmers are afraid of threads (I mean, they have a lot of disadvantages and not much benefit in Python, due to the GIL), so they'll tend to use multiple processes for that, instead of threads.

EDIT: But at this point I realize you're asking about a much more specific thing in the article. This article is asking you to not be afraid of combining threads and asyncio. It's suggesting that a useful asynchronous thing you can do is to spawn a thread, perform a computation in it, and wait for the result.

At this point you do need to worry about the GIL. C extensions can release the GIL, so the article suggests you use one of those (NumPy).
Exactly. Bill Gates came late to the game. He pretty much had to conquer the whole world before developing an interest in philanthropy. Now it's his "real work" and I guarantee you he'll be remembered more for that than MS-DOS!

Zuckerberg, like Gates, is a brilliant but deeply flawed person. However, Zuckerberg appears to be maturing much faster than Gates. I have lots of hope for him left.
I just added this to the essay as this is a good point.
https://hbr.org/2015/04/reinventing-performance-management
Sidenote to sidenote: If the customer is too unreasonable, then the developer finds a new job elsewhere. A manager's job is to balance these polar opposites in a way which makes the company prosper.
Need Advice: How to Be a GREAT Manager
At heart, and ultimately, I'm an entrepreneur; but currently, I'm a Digital Marketing Manager for a small marketing startup in Denver, CO.

I just recently got a minor promotion and got my first employee under my belt. She's a social media specialist, straight out of college, and moved to Denver from Detroit. I'm two days into being a manager and know I'm very capable, but I also know I have a lot to learn. I'm a great people person, but want to make sure I'm managing to the best of my ability.

Any advice from you guys out there?

Thanks in advance.
Well there are more research institutions competing for the same dollars so the only way they can differentiate is based on publications. A lot of science is derivative and collaborative. Most important though it needs to be reproducible. Starting there is priority #1.
If he did feel victimized, how christian of the professor it was to just shut him down instead of trying to understand with compassion why he felt victimized...! :)

One wonders if it was all in the professor's head? Or if it even happened? Where's the proof! Flip the conversation, just because the professor is claiming to be accused of saying something that made the student feel victimized doesn't mean it happened!
(completely off topic)

>But there is no free speech on private property.

You are right. But you know what drive proponents of free speech batty? When people don't understand the philosophical underpinnings of why we advocate for free speech. And this happens all the time on HN. Hopefully, this is because of all the non-U.S. visitors that come to this site. For those, a little explanation. We come from a culture of free speech. We think it is good, and we are the descendants of people who thought it was good. We were taught that it was good from when we were small children. Our experiences are that busybodies and tyrants are the ones who push for censorship and work in the shadows. And those are some of the reasons why freedom of speech is enshrined in our constitution. We do not think: because it is in the constitution, therefore it is good. So to us, it is not like deciding to drive on the left or the right side of the street. Each being perfectly reasonable, and which ever way they do it where you live is an accident of fate. And we do not think that free speech is only reserved for political topics, or when talking to governmental officials.

When someone starts to mention legal technicalities of free speech, it makes me want to barf on their shoes, because they are completely missing the point. We grew up with it as a minimum expectation of decency. A fundamental human right. Slaves and servants don't have the luxury of free speech. Demand more of yourself and your fellow citizens.

</soap-box>
Not cool. That crosses the line into incivility.

I know you like to stay as close to the line as you can get without crossing it—which is far better than crossing it—but I wish you wouldn't. Your posts would be much better if you would show readers the respect of simply taking that edge out. They're literally edgy, and this acts as a low-grade provocation even when you're not technically saying anything abusive. This is not the way to bring the best out of your interlocutors and fellow users, and it's still a toxin in HN's environment, even if it's below the legal level.

Instead, you should optimize for overall thread quality, which I'm sure you could do if you wanted to. There's some variant of the principle of charity in here somewhere.
mobiledoc sounds like an open source implementation of some of these ideas: https://github.com/bustlelabs/mobiledoc-kit
"I'm just going to quit my job / school so I can go on Facebook all day!", said no one ever. Ten years ago, few people could boast that they could reach out to hundreds of people all at once; I'd not call that a waste of time.
Literally the only reality that makes that quote not incredibly depressing is the one where Alexis is the author of the book and his response is also a part of the larger satirical project.
You've never been to a safe place have you? :)
There is a degree of fear, uncertainty, and doubt whenever a new technology appears, but there are consumer watchdogs and regulatory bodies that keep it in check - whether that's the EFF/FTC with tracking or the EWG/EPA with GMOs.

The majority of the populace is okay will these technologies, because honestly, you're probably more likely to be injured in a car accident than be negatively impacted by tracking.
Pat Metheny's Orchestrion Project
Yeah, reading that just made me sad. That's some next level everything-that-can-be-done-in-life-has-to-have-some-monetary-ROI-on-it, kind of bullshit.
Some video: https://www.youtube.com/watch?v=evHVh4bqaOQ
Hope many more will follow, my sincere admiration.

Here the SEC filling:
http://www.sec.gov/Archives/edgar/data/1326801/0001326801150...
Neither of them changed their names.
Keep going, I want to hear how monads get mapped into the world of toast. :-)
It's very probable Facebook will get a competitor, and/or make a decision, that makes the company worth a lot less in a very short time, like its predecessors / previous competitors did. Internet companies can be fickle like that. Mind you, it's not likely to happen overnight and it also depends on how much the company's value is based on thin air, but still.
It's always interesting to think about the key moments in a start-up's life. Those ride or die moments that lead to great success or losing the Jonas Brother. I wonder how many a startup gets? How many are created by action or by luck? Do all startups have a couple of key moments they can look at as lynch pins to their success?
Has it really been so big a failure as the press has led us to believe?

https://www.facebook.com/zuck/posts/10102461245925231
> India has such a coal shortage they are making a pivot faster than many people think to Solar and Nuclear.

I'm sorry but those claims are so far out of phase with reality I have to respond. India's response to coal supply problems is to grow coal mining at double digit rates. India is opening a new coal mine every month with the goal of doubling already large coal production in the next five years.

http://instituteforenergyresearch.org/analysis/india-opening...

This means that by the time the next US president tries to get reelected India will be producing more coal than the US.

India is definitely not "pivoting" to renewables. If there is a "pivot" it is toward domestic coal over foreign coal. The amount of new coal generation capacity under construction now is almost five times the approved (as opposed to under construction) nuclear and renewable capacity combined. Details here:

http://www.industry.gov.au/Office-of-the-Chief-Economist/Pub...

And some large fraction of the approved renewable capacity is window dressing so renewable proponents and climate negotiators can make the claims you offered here. It won't be built. Ten years from now India will have doubled it coal generation and that same token amount of 'approved' renewable capacity will still be on the books.

India is all about coal and India knows it. India just told Obama and the rest of the climate elites in Paris to sod off with their "carbon imperialism." India has no intention of ruining its growth on behalf of Western anxieties.

Right or wrong, that's reality.
Relevant reading:

http://www.gayalliance.org/programs/education-safezone/safez...
from an evolutionary psychology standpoint, we are all driven to constantly increase our social value (and indirectly that of our offspring). once you hit a certain level of wealth, it is rational for you to shift your attention from making more money. your social value is only increased by wealth up to a certain amount, after which the marginal returns in social capital approach zero for every additional dollar earned. to put it simply, how much more social value do you have with $1 billion versus $2 billion? The world is indifferent. At that point, you are simply a rich person.

once you reach such an inflection point of wealth, you must find an alternative means of increasing your social capital. there are two common ways: one is to demonstrate your evolutionary fitness in a field completely unrelated to how you amassed your wealth: many rich get into movie production, novel writing or other creative endeavor. These usually fail.

another alternative, the safer alternative, is to expend your remaining time and resources advancing social causes (running for an elected office certainly falls under this category). this is the simplest way for an adult, untrained in anything other than their primary business, to increase their social capital.

it's not a coincidence that zuck is still willing $450mm to his offspring--more than enough to hit that inflection point. he knows that any additional dollar beyond that inflection point provides marginal social value to his offspring.
The irony is that the documentation[1] is now 335 lines.

[1] https://github.com/groupserver/gs.group.member.canpost/blob/...
If you're in the US and want to actually make the world better there are ridiculously more efficient ways to do so than handing your money to the government. Tax dollars paid in the US are probably more of a negative force in the world than a positive one when you consider the damage our military and corporate subsidies have done over the last 50 years.
We ban accounts that post uncivil comments like this, so please don't do that.
Your comment doesn't make sense. You've always been able to embed the renderer with non-JIT JavaScript. Now you can build an app with full JIT embedded, so saying they don't want you to for business reasons is obviously false. They do let you do it.

The attack vector they're concerned about is to do with the JIT exposing access to shared memory. As for alternate engines, any such engine would need to include a JavaScript engine, which immediately opens up vectors for attack. That's why the ability to download and execute code is restricted. now, thanks to a robust and secure cross process communications framework, many restrictions that were supposedly 'for business reasons' have been lifted.
Is There a God? Can You Scientifically Prove the Existence of God?
Just email back and let them know you are no longer available as so much time has passed. Don't burn bridges as you never know what the future holds. So a polite rejection should wok in this case.
I'm not aware of any passenger car with an electronically controlled clutch. The driver in question finally resorted to pulling the handbrake, which locked up the wheels, so she lost control of the car. Flooring the clutch pedal OTOH, if she'd had one, would have saved her life.
> Those terms will need refining

But they won't. We've used "plural" and "singular" fine in referring to the grammatical features of verb tenses and the nouns/pronouns they agree with just fine for centuries, despite the fact that grammatical number of "we", "they", and especially "you" has often -- for longer than we've even had formalized descriptions of English grammar -- disagreed with semantic number.

There's nothing new here to necessitate "refining" anything.
What'll really blow your mind is that gender only tangentially has to do with genitals in the first place ;)
I'd rather see them pay a considerable chunk of those billions in taxes - which Facebook and other giant companies like it don't pay in the US due to its lax tax laws, and which they evade in other countries using various tax evasion schemes. Then there'd be more money to pay for affordable schools and whatnot.

Then again, the US is more likely to spend trillions on wars abroad without those really improving their own country, so on that note, it's probably better for a philanthropist to invest the money in a charity with a singular goal, such as education or research.
Yes, have lived. Hence.