skysight-inc/HackerNews huggingface dataset:
Everybody who has tried to use const in even medium-sized C++ codebases is familiar with the behavior discussed here. It's not about specific examples, it is about what happens when you have a lot of code.
Hi you should set debug mode to false in production. when i got a 404 it had showed me the line that failed. as well as some other info
Yes, the most vexing parse.

https://en.wikipedia.org/wiki/Most_vexing_parse
We plan to offer testing through your doctor, rather than direct to consumer.

We are measuring circular RNAs.
Apache sort of supports this now..

https://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#hea...

There is probably a way to combine modules to get it to render markdown in place of HEADER.html
It is very simple. I blame the property owners because they have vastly more power than the renters. If a renter has a choice between paying an exorbitant rent and sleeping on the street, then I do not blame him for paying.

However, I think that a renter who pays an exorbitant rent when a cheaper yet still liveable alternative is available is partly complicit.

I work for myself, but in the hypothetical situation where I worked for somebody else, no, I would not offer to take a lower rate from my employer just because it is more than I need. I am entitled to every single penny that my employer makes from my labour. The difference between what he makes from it and what he pays me for it is capitalistic exploitation. It is in the interest of justice that it be minimised.
exactly. 45% is actually pretty near the maximum :/
I was trying not to editorialize too much. :-)
im not, thats part of why i pay 45%.
That's a false dichotomy nowadays. Corporations have learned that, even if you pay, they can still get away with having you be the product.

For that matter, Windows 10 isn't free for a bunch of people either, while FOSS, which is typically as far as you can get from being the product, is most often gratis.
Interestingly, this seems to have been accidental. UUIDs were generated using MAC addresses to ensure some uniqueness, but I guess nobody ever realised the implications.
You're not alone, I'd feel the same way. I value my independence as an individual too much to appreciate being part of something larger.
It is actually a very similar list to that seen in Windows 8. Windows 8 was a little bit more sneaky however, when you chose custom they were all disabled but if you select express they were enabled.

You haven't done all the things necessary to defend your privacy yet, Windows 10 has spread this stuff all over the operating system, its all enabled by default and you need to find it all.
Musicians launch campaign to save the bassoon
I believe this situation is usually referred to as the "Most vexing parse".
The chart seems to indicate about 25 GFLOPS for sequential performance, while real value is up to 100 GFLOPS theoretical at 3.1 GHz on Haswell/Broadwell on a single core.

While realistic single core performance won't of course be approaching 100 GFLOPS, 25 is a pretty lowball value.
We are looking at Parkinson's, heart disease, and cancer initially.
The Texas Railroad Commission has a fascinating history. While it was started as a railroad regulator, for much of the 20th century the TRC set world oil prices and served as the model for OPEC.
Speed comes from two things: implementation and algorithm. Algorithmically, the way to learn quickly is to use some sort of stochastic gradient method, i.e. learn from examples one-by-one, as opposed to as a batch.

As far as implementation goes, you need dense arrays. A native Python implementation will usually be lists of Python objects, which is very slow.

If you just need an SVM implementation, libsvm is pretty good. I'm assuming you need a non-linear kernel. If you're using a linear kernel then there's not really a difference between SVM and MaxEnt (well, there is but not much).

If your data is very sparse then there aren't many general-purpose implementations that are any good. The scipy.sparse module has some key stuff implemented in pure Python, and doesn't interoperate properly with the rest of the PyData ecosystem. I had to implement my own sparse data structures, in Cython.
The NYT seems to be the perfect machine for exposing the uttermost eyerollingist of douchebags.
There's a joke on a hoax on a hoax - Bielefeld conspiracy.

Pretty sure there's a hoax where people said an author? wasn't real.

So the hoax was a persons existence was a hoax. But cannot cite. 'Hoax' brings up as much spam as 'free software' on Google.

Perhaps the hoax was the person was made up for other reasons than a hoax, perhaps a lie or a joke. So it might not be meta.
This is so patronizing, like it's being explained to a sixteen year-old. Also, how is are these "terms":

"Board of Directors

We think you should control your board, but we generally like to have a seat too. We don’t take board control. Sometimes it makes sense for us just to have a less formal observer, non-voting seat."

If this is a term sheet, then what terms were just stated? 1) investor gets a board seat 2) investor gets a board seat if founders offer one, which they generally accept. 3) investor gets an option on a board seat. 4) investor gets an option on an observer, non-voting seat. 5) 4&5. It's like saying "We generally like to invest at a valuation of $1M-$2M, but smaller - or occasionally larger - deals occasionally make sense." Well those are some great terms there.

The section on Exclusivity is directly negated by the section Non-binding Effect. I guess it's only non-binding on them! "If you decide to switch to another investor in that period and it's not because we've done anything wrong, then we might charge you for our costs." But it's totally non-binding, yo.

The section on Important Decisions directly contradicts what was stated about board control, since presumably as the first investors they would be majority investors and have to approve the listed decisions.

All in all this simply seems like an executive summary of a term sheet. And really, completing a Founder's Questionnaire is a condition for close?

This is so incredibly patronizing. It would make anyone want to move to Silicon Valley and get treated with respect. Founders aren't children.
The problem's pretty obviously the Python implementation...Throwing more cores at it isn't really going to help.

Is it even easy to parallelise SVM training?
A plaque bearing the Test can be found at the Palace Hotel at the corner of Market and Montgomery Streets in San Francisco:

http://www.waymarking.com/waymarks/WM5WBJ_The_Four_Way_Corner_San_Francisco_CA
Your inherited genes control your IQ and may affect how well you do at exams
"C-family languages" here means C, C++, Objective-C and D -- not any of the "look-like-C-but-have-completely-different-semantics" languages, or Go which is probably closer to proposed C replacement Alef than to C itself.
It's interesting how many of the more 'bad' approaches are actually fairly readable and reasonable- including The Monolith.
And we do. Hating on Microsoft in no way diminishes hate for all of the other violators. Hate is not governed by the laws of thermodynamics, there is enough warranted hate in the universe for them all, and then some.
Are there some key publications you could point us at? I've been out of the bioimformatics game for a couple of years and I'm always curious to see where the state of the art is at.
Make everything you can as immutable as possible. The less possibilities exist for data to change, the more you know about it during runtime, the easier it is to reason about it. I love the trend that new languages, like Swift and Rust, make it really easy to make variables immutable and even disallow using "null" values unless a variable is explicitly nullable.
Hacker spaces?
I don't think I saw anything strange or ambiguous in this article, and the only thing I didn't know before. And I'm a beginner C++ programmer.
Can you please provide some examples, so I can better understand what you mean?
Hi, could you point us to some papers on this subject? I have never heard of circular RNAs put into clinical use.
I don't quite understand how just using circ. RNAs would give you better predictions. From the little I've read about circ. RNAs is that they can form from normal RNAs and possibly function in sequestering regulatory small-RNAs.

So you can detect circ. RNA that come from specific tissues and partition those reads out as expression for those tissues? What kind of coverage do you need to do that? Are mRNA circularization rates consistent among different genes?
I think that the scope of this discussion is limited to C/C++. If a programmer doesn't like immutability as a broad concept, he is clearly an incompetent imbecile (and I'm trying to write that as polite as possible, given the severity of the issue).
You forgot the kids.
Here's a good place to start:
http://dx.doi.org/10.1038/cr.2015.82
Maybe I missed it, but as far as I can tell, this comment is the only documentation of what "research mode" means. You might want to address that somewhere...
He is now the co-author on the 3rd Edition. Expecting coverage of the Volumetric Layered Materials and Manifold Exploration. PBRT is only getting better.
No, you're right. Adding it now (thanks!) (update added to landing page and pushing out to the Chrome/FF stores)
I find it weird that a website called "evolution-institute" is calling for more community, and even pointing to religious communities as an example. If evolution created us social, then evolution will provide our salvation. Or we'll die off because we're less fit.

On the other hand, if the religious communities seem to be more fit enough that they are worth emulating, maybe that says something about evolution.

Disclaimer: I find evolution completely unpersuasive. The article just seems weird, like maybe the author has discovered a flaw in evolution without realizing it, but I can't quite describe why I find it weird.
If I find myself in the area, can I take a tour of your lab? I work in pharma and this is interesting to me.
These are social constructions. In an African country (no name mentioned, But close to South Africa), it was/is not unusual to see men holding hands walking down the road. In this country the same two hypothetical men would be considered homophobic by U.S. standards. Gender roles identities are always modulated by time and place.
I don't know if it was common or not.

But let's not forget that until recently heating was extremely primitive, houses had almost no insulation, and European winters seem to have been colder and longer-lasting.

Staying warm and dry was a real problem, and it wasn't unusual for families and sometimes friends to share a bed because of it.

There's probably a PhD waiting for someone who can write up a thorough survey of the effects of improved heating and lighting on relationships and sexuality.
Ha, took a few minutes, but now it's showing up in the API results. :)
I might post something in the +-near future.
The rare technical book that rewards the reader with not merely technical excellence but also robust humor. I still read parts on occasion even though I have no need for C these days.
Show HN: Grunt HTML Email Workflow Now Supports Responsive Browser Previews
great article. we need some disruption
This is a renters coop.

In a coop, the owners approve/reject apartment sales. This is the same, except the residents are renters, while the owners still pick who is allowed in.

I am surprised this doesn't run afoul of Equal Housing (anti-discrimination) laws, since the people rejecting applicants aren't the residents.
I think at this point you must apply Occam's Razor. It seems more likely that Melville was having fun and subtly hinting at the homoeroticism of the situation. Otherwise, you are indeed "consciously working to not see", like user nemo said above.
I guess it depends what "curating" means. I never want to live with people who leave food remains in the living room, don't wash the dishes and keep old rotten food in the fridge.
I was not arguing that orthodontics is bad. I was just using it to illustrate the expanding definition of the word "health".
> On the other hand if you get raped by a stranger it is also most likely a muslim

Whoa. That sounds like a nasty slur. You can't do that here.
hehe, insane is a good word to describe this one. I´m not
sure of the long term consequences but there were long nights, weeks, months and years spent on this one.

It´s even a tad bit more than you guessed. First: Make photocopies of ground plans, sections and drawings of each side of appr.600 houses at the city planning office.(appr.3.000 a2 sheets of paper if I remember correctly) Sit down for one summer with two friends, model those buildings and play a lot of ping pong in between to keep mentally stable. Then charter a plane, persuade the air control to get you permission to fly 10 circles over a busy city center to photograph almost each house from the same angle (for colors and details such as flagpoles, trampolines etc.). Then walk the streets to photograph missing parts.

After all of that: Decide on an angle, start trying to find a suitable style, do test blocks, then draw 186 a3 drawings, watercolor each one using the aerial photos for accurate colors and then finally assembling the map, color grading, bunch of dodging and burning, street names, et voilá, you got yourself a map!

No problem really......
>I always ask co-workers how much liberty Windows users are willing to sacrifice to continue using their systems.

You do realize we live in an era of smartphones, facebook and cloud services. Those liberties have been given up already. Window is looking downright open these days.
> Have you ever actually tried producing a statically linked C/C++ binary?

Many times actually, I prefer to deploy just one file whenever I can.

> just to be able to produce binaries that work on every Linux

That's a Linux design/decision thing. Linux binary compatibility is ... well ... challenging. In Windows is not hard at all (Not sure how is it in MacOS since I have worked mostly for iOS in Apple's world).
Decoding a PHP SuperGlobals exploit program
I don't think Mir has that much ambition at being a 5-round fighter any time soon. Not that he probably couldn't do it if he set his sights on it, but I think he's reached the golden years of his career and knows it. I don't expect a Couture-style championship run, nor do I think he's particularly aiming at one.

As for his conditioning, it is generally very rare to see a full heavyweight with great conditioning. I can think of a handful, so it's not impossible, obviously, but carrying that much weight, and having to lug all that arm-weight around for each punch just seems arduous.

Nice reference to the Diaz/Lawler fight. That's literally one of my favorite fights of all time, and catapulted Diaz into a totally different tier from where I thought he was. Joe Rogan's announcing on that fight was also, ironically, perfect.
I know you said no audio or video, but I strongly recommend taking a look at this one from the conference! https://www.youtube.com/watch?v=ERB1TJBn32c I may do a write up on reactjsnews for you soon though :P
India as well, although India is also generally seen as homophobic [0]

[0] https://en.wikipedia.org/wiki/Homosexuality_in_India
Just to satisfy my curiosity: what do you think should be on HN? What is it about this link that makes you think it's unexpected here?
Flux – application architecture Facebook uses for building client-side web apps
Steam Gauge: Measuring the Value of the Steam Summer Sale
I am not saying you should not care for your body, when you are old. I am just thinking that the amount of care you put in should have a positive ROI in quality of life and I am not so sure about that in any case of so called elderly care.
Oh god, some of the OpenGL techniques he's using are simply horrible. I really should commit to this...
I like what they're going for, but I'm not sure it really works.

- Some of the terms, as noted by others here, are ambiguous (board seat esp).

- Some of the terms are IMO founder unfriendly (option pool - though I recognize it's still "normal" to have that in a term sheet; reverse vesting; OMG _monthly_ financials!), and reading the "nice" language gives me the impression of someone trying to fuck me over, even if they're not trying to do it any more so than normal.

- this makes it harder to compare to other term sheets, which typically use similar language to each other. That makes it harder to spot things you don't agree on. It's also harder to read for people with experience reading such term sheets (eg other founders who are helping you, lawyers).

I would recommend instead giving a "normal" term sheet and including the glossary and explanation alongside it instead. I think that would be well received.
If you make a function that accepts an unsigned int, and then you try to pass in a const unsigned int, you will need to either typecast it, make a new function, or change the function to only accept const unsigned ints.

Although it's been a long time since I coded in C/C++, correct me if I'm wrong.
> Your turn.

Please stop racheting up the nastiness in this thread.

All: HN is not for taking shots at others. If you can't comment civilly and substantively, please don't comment.
It is nowadays pretty much a 'solved problem' for any remotely serious MMA fighter and that means anyone in UFC.
Good idea. Until we have said cure lets not pretend that you can fix ageing by visiting the doctor twice every week, effectively offloading needed social interaction to them.

Edit: This view might be radical on HN, but while I do believe that we can fix ageing and that eventually someone will, I am not quite sure if we really should.
I read Google's plan was rejected because Mountain View didn't want more Google employees living in the city -- they wanted a more employer-diverse resident+business base.
does the searching happen on your machine (scrape google search results by crafting a url query) or does it get routed to a central server that we are forced to trust? If the latter, no way in hell this is going to be popular around here.
Const, in theory, is a fine idea. As implemented in C++ though, it's unwieldy. There's at least three (if memory serves) places you can put it in a member function declaration (not including params).

What's more, it can "infect" any other code that touches it, in turn requiring casting or weird const additions. For a simple rant, check the first few paragraphs here:

http://www.vaxpower.org/~isildur/const.html
The Art of the Deal (Donald Trump) [pdf]
It doesn't help in this case since they're third-party APIs, but if you controlled the backend it seems like a good application for bloom filters.
She would have no chance of getting a male fighter to tap out with an armbar. All male fighters know how to defend against an armbar and they are so much stronger she'd never keep one on against a male opponent.
It's dead. I remember Mike Acton said something like site had serious technical issues or whatever and since then it's dead.
primarily a whole lot of labor and a whole lot of love
The author observes that traditional religious organizations (a.k.a. "churches") have historically been the source of community in Western culture, then suggests that secular organizations could compete with them.

I'm intrigued that he suggests secular communities should "put fellowship first" and "appeal to all kinds of people" in order to do so, when the traditional religious communities that he says succeed don't set out to do those things.

In a functional Christian church (and granted, many US churches are not), the community's shared goal is to love and serve God and the people around them.

The community, and any appeal it has, are side effects.

This shared goal comes straight from the Bible. If you read the whole thing, you'll find the theme appears throughout, but Jesus espouses it very clearly in Matthew: https://www.biblegateway.com/passage/?search=Matthew%2022:36...

As a Christian who grew up in the church, and has watched various Christian communities function (and sometimes dysfunction), I think this belief, at the very core of Christianity, is exactly what makes many churches wonderful communities.

Each member of the church believes that the crafter of particle physics, the shaper of Mount Everest, the painter of the auroras, loves them so intensely that he took on human form and died to save them from the worst decisions they have made, the betrayals that devastated their friends, family, themselves, and him.

You may think that belief is ludicrous, and that we are naive, irrational fools for holding it.

Even so, it should be clear that those who believe it would feel compelled to follow that example, as much as they can. Caring for others that well is nigh-impossible, but it's the unattainable standard a church strives for.

Many churches have long forgotten what they once believed. Even when it's remembered, humans remain frail as ever. It is not easy to put others before yourself even when you like them, let alone when they belittle and insult you.

When it works, though, it's amazing to see.

I think that's why few secular communities or institutions have outlasted the Christian church. Right or wrong, the Christian vision has caring for others as an essential imperative.

That seems to me to be the very essence of a community.

I may be blinded by my bias, but I don't see how an explicitly secular organization could have as rich a community.

It cannot point to the perfect exemplar of their ideals and say "This is how you should strive to be." It cannot say "The earth and its works will be unmade and remade, but the communities you forge now will live into eternity."

"If we don't make better communities, we'll be sadder before we die" just doesn't seem as compelling.
I was a car nut long before I became a computer guy...I vaguely recollect something about this. I believe they would have created a series of cardboard templates, mirror images for left and right, about one inch apart along the length of the contour, front to back. And then carved the clay to match the templates. Hope this verbal description is clear enough.
The only reason a top male fighter would be wary of facing her is because they'd be nervous about seriously hurting her.

There are NO guys (professional MMA fighers) that she could beat in the Octagon. Respectfully, this is a fantasy.
By what process are you going to determine what constitutes "destroying the lives of others"?
Generally churches have a minimum set of beliefs to be accepted as an official member. However, most churches welcome people who don't believe to be part of the community. There are limitations--non-believers usually can't be part of leadership (one of the reasons being the reason you gave)--but it's part of the Church's mission to bring to goodness of God, community included, to non-believers.
> If you decide to switch to another investor in that period and it's not because we've done anything wrong, then we might charge you for our costs.

There's a weird effect when you actually put a price on something which is usually just enforced by a social contract. There was a story about the kids playschool which charged parents $3 if they were late to pick up the kid: it caused more parents to be late. They weighed the costs ("$3 isnt that much") whereas before they would just have had wilting looks and having to be really sorry.

Breaking a term sheet is pretty shitty. If it changed from "pretty shitty" to "this will cost you $5k", that might change the calculus a bit, especially since I can objectively value the latter and compare it to another deal on the table.

(FYI: the terms say the investor is paid costs, but the entrepreneur doesnt get the same deal if the investor pulls out. Also, for someone with a large fund investing lots of money, demanding your costs be paid by the relatively much poorer startup is a tiny bit shitty and feels punitive.)
We are used to parents and grandparents dying. We are not used to kids dying.

I think back in the times when child deaths were common, it was less hard to handle.