skysight-inc/HackerNews huggingface dataset:
Really now, what is so terrible about the prospect of failing to suffer years of hideous pain, disfigurement, and disability that it forces people to wax lyrical and beat their breasts and say, woe is me, we might have the chance to not suffer and not be diseased and not be forced into a painful death not of our choice?

I mean, I believe near everyone you can find to ask is generally in favor of cancer research. That's absolutely about preventing all of the above.

But the prospect of treating the medical condition we call aging and removing its consequences? Suddenly everyone is a poet, inclined to the morbid.
It works well and the babies come out really cute.

All right, let's run this scenario forward in time. You meet a nice black lady, you fall in love, get married, and have a son. Now, while I hope things will be better in future, chances are that many structural racial disparities will still exist 10, 15, 20 years from now, though hopefully to a lesser degree.

So your hypothetical son comes to you in the year 2030 and says 'Dad, quite a lot of people express hostility towards me on the basis that I'm black. Help me out.'

What are you going to say? Tell him that it's a solved problem as far as you are concerned? Or tell him to just ignore the issue (even though it might be quite a pressing problem for him)?

It's hard to escape the impression that you haven't really thought through the ramifications of this particular situation. Likewise, I suspect the reason that black women aren't just shrugging their shoulders and electing to marry outside their own ethnicity is at least partly because they're painfully aware that their offspring are likely to run into the same sort of problems they've faced themselves.
Rust does not have undefined behaviours in the sense of C. C and C++ are rather unique in the very large amount of undefined behaviour that is in common use. A nice comment pcwalton https://news.ycombinator.com/item?id=7601944 gives a better explanation than I can.

The undefined behaviour in C is in my opinion a bad design that unfortunately poisoned a whole lot of software for minor gains in speed somewhere. A mistake that did not need to have become popular but for chance in history.
It sounds like you are attributing a lot of value to several months work and a few months pay. Consider this venture over the next decade - these months are just a rounding error in the lifetime of a successful startup.

It matters a lot more whether this person can influence the success of the company - you describe someone who can learn and grow into additional roles, those are really good talents on top of which they have a functioning work relationship.

So really it comes down to whether your friend wants a cofounder, and secondary to that is whether this person meets the grade looking forward where almost all the work is yet to be done. If not then your friend needs to take that possibility off the table and explain how the employee's future exists within their larger plans.
No, you're looking at it the wrong way. It's not that I want to use things like this and pick vim. It's that I want to use vim, but am entertained by the notion of this (you're just assuming my priorities are the other way around).

In an ideal world, I wouldn't actually want this in vim, I'd want this as a separate ncurses application.
"Is Marriage for White People?" attempts to answer that question. As I remember it, the main answer was that black women don't want to date outside their race.

http://www.amazon.com/Is-Marriage-White-People-American/dp/B...
There are things that last because they were done once and were done, mostly, right. Then there are things that have lasted because they were done once, mostly wrong, and still provided enough value at the time that they became popular among the group with the power to determine what would be the dominant solution before they could be refined.

The flip-side of permanence is path-dependency. So many programs get written for a certain architecture of chip and instruction set, for instance, that to change it to something more efficient would break too many things.

To make something that lasts because it is good, that lasts on its own virtues, would be a wonderful thing. Nonetheless, the next generation ought to be able to surpass us - and if they are not able to do so, we have done something wrong. Blanket approval of past solutions simply because they have lasted seems likely to lead one wrong.
In your opinion what does an organization which does pay for Sistine Chapels of code look like?

That's a hard question. Until recently, people relied on institutions to set visions, take on big projects, and think to the future. Whatever you think of governments, churches, and universities, they had long-term plans and that prevented them from being too greedy or focused on the short term.

These days, individuals have more long-term vision than the corporations that they work for. Programmers can expect a fight if they want 30-40 year careers. It can be done, but you have to "steal time" at most companies to keep abreast of changes, contribute to open source, etc.

Companies are now in next-quarter mode, because it's a way to hide the fact that most companies are being looted by their executives. If you create a sense of short-term desperation and mandatory immediate focus, then people are distracted from the hands in the corporate coffers. You basically don't see people thinking further ahead than three months in most companies.

So now we rely on individuals to set the long-term course, but individuals are (coincidence of words not intended) individually effective but rarely as coherent as a well-run institution. We rely on individuals for long-term orientation because organizations no longer make themselves adequate.
The neg/sbb/neg operation is 'x = x != 0' or 'x = !!x', I think.

You're right that yours should work too, because after the and the value can only have 1 bit set. But it only works for this particular and mask.
...coupled with the "legitimizing" effect of paying some amount of money for something. aka "You wouldn't steal a car would you?" "No, but I might pay a dollar for it".
San Francisco, Product Manager. 4 years of product experience, before that, 1.5 years of tech (non-developer) experience. $125K base, $15K bonus, about $1K of stock vesting every month (public company so stock value changes). Unlimited vacation (used about 4 weeks last year, will use about the same this year). Employer pays all benefits and for all lunches. 4 years ago was making $70K. Consider myself a good PM (others seem to agree).
Why no one uses enterprise social networks
Ask HN: Should I learn Aurelia?
Apologies if framework paralysis is a tired subject, but I'm at cross-point where I need to make a career oriented decision in the framework Im going to choose.

Right now, Aurelia looks like it hits all the right points, and it appears to be built in a way that just makes sense and is future forward. That said, its still so new, and does not have the same kind of exposure to employers that Ember, Angular, and React do. Ive already eliminated React, despite its acclaim, because I actually am looking for a full MVC-like framework as I don't have the background in application development to know what to do with all the other pieces on my own. Im coming from a "brochure website" background, and have been stuck in CMS hell for years modifying HTML, CSS, JS, and hacking at PHP because Ive never wanted to learn it, but most CMS demand it.

Ive been looking at job listings for Front End Devs and see some employers asking for existing experience in Angular. Backbone is mentioned almost as often, but I have not seen many asking about Ember, and none as of yet asking about Aurelia experience.

I know I'm not going to be a pro in any of these frameworks for at least a year, so I'm kind of leaning towards Aurelia and crossing my fingers that when I arise from the documentation and feel confident within that framework, Aurelia will be more mainstream. At the very least I consider it a good start to get my hands dirty with ES6.

Am i crazy to try and learn Aurelia at this point as a career oriented decision?
I doubt any of the hipsters moving into the Mission would patronize a Cheesecake Factory or a McDonalds.
>> They want the information they program into them to be secret so that their hardware is not easily duplicated by the folks in China and mass produced to under cut them.

So how does having a closed tool chain achieve that? Aren't the FPGAs programmed either on the line, or from ROM at power up? Either way, board producers should be able to replicate the product. How does being closed help?
emscripten generates asm.js (asm.js was originally made to support emscripten iirc), and it has flags for things like properly emulating overflow.
But when you do need unsafe code (e.g. for defining a structure that interacts with a C API), is behavior undefined? I’m just looking at a bit of my own offsetof calculation and hoping it won’t break once I turn optimizations on.

unsafe extern "stdcall" fn callback(arg0: *const IUnknown) {
let myself: &MyStruct = &*(arg0.offset(-(&((*std::ptr::null::<MyStruct>()).as_event_handler) as isize)) as *const MyStruct);
}
Another great example of a cubism artist is anatole krasnyanksy

https://www.google.com.au/search?q=anatole+krasnyansky&espv=...
Here's a BBC radio four programme that talks about some tiny cities in Missouri, and how they raise money from minor traffic violations, and how many people either can't pay the accumulating fines or can't get time off work for the court case and thus a bunch of people end up in prison.

http://www.bbc.co.uk/programmes/b05pqskm

> Are excessive traffic fines and debtors' jails fuelling community tensions in suburban Missouri? Claire Bolderson reports on a network of ninety separate cities in St Louis County, most of which have their own courts and police forces. Critics say that their size makes them financially unviable and allege that some of them boost their incomes by fining their own citizens and locking them up when they can't pay.

> This edition of Crossing Continents goes out and about in St Louis County to meet the people who say they are victims of a system which sees arrest warrants issued for relatively minor misdemeanours. Many of the victims are poor and black. The programme also takes us into the courts, and out onto the freeways with some of the County's police, who say they are upholding the law and promoting road safety.

> The US government is not so sure. One of the towns in question is Ferguson where riots erupted after a white police officer shot a young black man dead last summer. In a recent report on the riots, the Department of Justice concluded that the Ferguson police had been stopping people for no good reason. It said they were putting revenue before public safety.

> Claire Bolderson investigates how widespread the practice is and considers the impact on relations between citizens and the authorities that govern them.

It's weird. The consequence for driving at twelve MPH over the speed limit shouldn't be prison (unless you're drunk, or by a school, or some kind of speeding unrepentant criminal).

("Crossing Continents" is a generally good, interesting programme and it's well worth listening to it.)
This sort of thing probably works better as an html5 app which is cached and not reloaded every time, less trust in the server.
Whites seem to deal at a higher rate: http://www.washingtonpost.com/blogs/wonkblog/wp/2014/09/30/w...

And that's not a red herring at all. Correlating use with dealing is pretty logical.
Strategy in Cards Games and Cards That “Win Harder When”
Btw, this is the original "Kubist" I made with Processing a couple years ago. It uses opencv instead of JSFeat for feature point detection, and Mesh library instead of d3.

http://www.metaphorical.net/note/on/kubist (really old website, sorry it's kind of unusable :P)
I read LSD: My Problem Child. Interesting, short, book. At one point, Sandoz was giving out samples to anyone who asked, as they were hoping someone would find a good commercial use. Timothy Leary went and ordered 10 grams (which is 100,000 x 100ug doses), but apparently Princeton(?) didn't back him up or there was some importing issue, and by that time Sandoz started getting suspicious and stopped sending out samples. Oops.

It's probably due to the reckless behaviour of early users that LSD got such a bad rap and banned so hard. Not that they should have had to been responsible -- they shouldn't be blamed for stupid government actions -- it's just an unfortunate thing. And early proponents weren't very rigorous and came up with fantastical claims, greatly exaggerating LSD's capabilities. It's still great stuff, just not quite a magical cure-all. Also I'm guessing most ethics systems would have issues with dosing people without their knowledge/consent.

The book also talks of later trips to Mexico where they did mescaline I believe. And how the images they saw, the shapes and patterns, looked exactly like Aztec art.
Why having an english or french class when the school is actually paying so we can follow online course on a website like babel??? (don't remember the name).
Truth is some people are lazy and don't want to bother learning another language.
The Python 3.x print function and 2.x print statement automatically called the __str__ method on an object to get a representation to print to screen. The result is then sent to the appropriate file handle for actual printing (which can be overridden).
I think Los Angeles--and much of southern California--need to worry about preserving their water supply--especially the deep aquifers that take millenia to recharge--before worrying about anything else. They need to fix this problem now, because if they don't, southern California will become a wasteland. The rate those aquifers are being depleted by farms in the San Joaquin Valley is astounding; measurements have been taken showing subsidence of an inch a month in some places. It may already be too late for southern California, in all honesty. If I were living there, I would be finding a way to move out as soon as possible. Yes, the water crisis out there really is that bad.

Sorry I don't have any links handy, but my opinions are the result of spending two days a couple of weeks ago researching California's and India's water problems. I highly recommend doing some reading and watching some YouTube videos to educate yourselves on these issues.
On i386, CS and DS prefix bytes have no meaning but are valid for conditional jump instructions and are then used by some CPU's to provide hints to branch predictor.

As an example of another (arguably more sane) architecture, on Alpha, all branch instructions (including non-conditional ones) have bits reserved in their encoding for hints to branch predictor.
Lol. I used to work in HW.

You are kind of insulting but it's true: we take what we can get.
I am not sure what you are suggesting HW engineers do.

Who has time to build a better tool? That's a massive task. When you are on a project, you work on delivering it.

Projects fork out several thousand dollars for tools licenses because revenue for the finished product is in the millions of dollars.

The Xilinx tools are crap. But you just work around them.
95% of HW engineering is fixing the actual design. It doesn't matter that much how good the tools are.

It's like asking a truck driver to build their own truck. They're paid for getting stuff from A to B on time.
Blacks use drugs at much higher rates than whites and blacks distribute drugs at even higher rates than whites.

Most studies suggest the exact opposite to be true.

http://healthland.time.com/2011/11/07/study-whites-more-like...

http://www.washingtonpost.com/blogs/wonkblog/wp/2014/09/30/w...
Theory Lowers the Speed Limit for Quantum Computing
Everything.
OS X for the primary.
Linux for 99% of the VMs.
Windows, when some application makes it absolutely necessary.

Because I'm pretty invested in the Google ecosystem, I can move between them with ease. (using Chrome and Google Drive, and Google Apps for Work, for all my domains)

(I also have both an iPhone 6+ and a Nexus 6)

EDITED: to mention Chrome & Google Apps
Haha, yeah, let's treat and prevent all the conditions that cause us to die, except all the conditions that cause us to die.
The real test is the pool, not the internet test.
Learning up to binary trees in a month in c with no experience in programming at all ain't nothing like very basic
I missed that one. Thanks! BTW I'd also like an extended band over 125MHz to pick up air traffic ;-) I mentioned this to a pilot that worked at Nokia several years ago, but I guess it didn't go anywhere.
Absolutely agree. Like the drummer for My Morning Jacket, he totally makes the band for me. The earlier stuff is good, but to put grooves that creative behind already good songs is the sauce...
That's a reasonable way to do things, but only if it is not a misappropriation of resources and effort. If someone is writing C code, it is generally inadvisable to rely on behavior that is implementation specific, even if your implementation does nice things. That would violate portability and readability, both things that are nearly unanimously considered to be ideals of programming practice.

So really, the "something sane" that you are talking about should be issuing an error or warning.
I don't know if romantic relationships would prevent civilians becoming terrorists, but in at least one case, they were deliberately used to turn terrorists back into civilians:

http://www.theatlantic.com/past/docs/issues/2001/12/hoffman....
The OKCupid research doesn't account for socioeconomic backgrounds, which is ridiculous. Marriages are essentially financial transactions with significant economic considerations. Most people date within their socioeconomic background. This is much likely a greater bias than racial bias. Blacks are underrepresented in higher economic classes which are dominated by whites - not hard to see why dating between both races would be affected as a result.

It's also likely the case that the OkCupid research samples heavily from the US population. Interracial dating in the US is encumbered by massive historical baggage from the slavery era. For instance, black women in the US are the only group of women that I'm aware of that are more inclined to "marry down" than to "marry out".
I thought it was regression which was at issue here.

I'm not convinced cache is so different from all the other aspects of performance we have to deal with in HPC systems (insofar as they're isolated), but no matter. At least there's plenty of tool support and literature.
http://decafmud.stendec.me/
The author talks of evolution in terms of meaningful progress, what meaningful progress? It's just change and adaptation, eventually this primate race will die out or evolve into a dumber species. Eventually life on earth will return to simple life before the sun runs out. Meaningful progress!
I prefer the backcalls of LiveScript to any implementation I have seen thus far, coupled with do, you can do some pretty complex things
Building Better Node.js Applications with RethinkDB
Chef and Conjur: Baking in Security
Funny you should invoke turning off CSS and images -- a lot of people have actually worked pretty hard to make standards that would work for cases where visitors had them disabled, or want low bandwidth options, or had their own custom style sheets, or weren't using a visual user agent (or even, for that matter, directing the user agent manually).

A failure of function availability from turning off images or CSS is a failure of developers, not a failure of the platform or user agent. You can find sites even in 2015 that either straight up work or degrade gracefully when being browsed by Lynx (a browser that I don't think has seen even a dot-release update since 1999) because they were put together by thoughtful professionals who understand the platform.

If you're trying to deliver an application that absolutely requires client side computation or specific browser APIs, you can have a pass for choosing the have your site not work without JS.

If your site really is just a series of documents (either static or dynamically computed), though, there really isn't much of an excuse.
Fotran can be a pain to write, but it can lead to very efficient programs, especially with the incorporation of advanced math kernels like ATLAS or MKL. Of course, CUDA will lead to 10x-40x boost in GEMM performance in certain algorithms as well. If you have a very matrix heavy hot loop, or could possibly represent an algorithm as a matrix operation [1], it might be worth your time to write some modern Fortran [2].

[1]: http://kukuruku.co/hub/algorithms/using-the-quick-raise-of-m...
[2]: http://fortranwiki.org/fortran/show/Fortran+2008
It's not necessarily a "miscompile". C is supposed to be portable to even completely stupid architectures, and on some architectures, just loading an invalid pointer value into a register will cause a trap, even if you don't dereference it. So on those machines, if x is NULL, then an unoptimized compile of ((size_t)(&x->y)) will result in code that crashes. So that's why it's undefined.

(I'm pretty sure POSIX does impose certain non-stupidity requirements on its underlying architecture, so there are things that are undefined in plain C that are guaranteed to work on any POSIX platform. But I don't know if this is one of them.)
Better Starts Here – Apple
I wonder that myself. It's apparently a good way to get your name out there :)
Right yes I understand now, and agree.

I wasn't saying the existing systems are foolproof, but I don't think PPA's add anything to help the problem you're describing.

Ah and I just realise you were originally replying to the bit about "dpkg-scanpackages and a Makefile”!
Elon Musk's chief asset is a never ending supply of ambition.
The rationale was that Google doesn't want a secure code signing mode as it would undermine their thesis that turning off the Google Play store is insecure.

At least even MacOS has a App Store + Identified Developers. Though of course, iOS doesn't have that..
I've been able to get real-time stats in nginx by adding custom counters with the lua plugin and exporting a stats handler.

http://wiki.nginx.org/HttpLuaModule#ngx.shared.DICT
This is amazing. It is about as poorly written as a 419 scam. I cannot believe how infantile it sounds.

Take it for what it is: a hilarious scam attempt by someone who will have to move on to their next "victim" rather than spending time and money harassing you.
__builtin_expect is good for error handling code, because gcc can avoid size-increasing optimizations in that path, and it can even move all the unlikely code out into another section so it won't take up space in your caches.

But its code generation is better for a 99%/1% case than a 60%/40% case, because Intel doesn't listen to branch hints anymore nor really give advice on how to tune for them.
Yeah, it really just touches on the 2 recent plagiarism issues. They then go on discussing the new album basically. Not much "science" if you ask me.
That specific MongoDB feature is "tailing the oplog", where the oplog is the capped collection with the idempotent commands that represent the changes in the database. This is what Meteor uses to receive (be pushed) changes (not polling).

Certainly, logical decoding provides the necessary infrastructure to implement it (and also normal tailable cursors): thank you Andres, really nice work! :) But some work is also needed to transform the representation you are using in PostgreSQL into MongoDB's oplog entries.

This is definitely what we are using in ToroDB to emulate it (currently, under development).
How to Kill Online Advertising