skysight-inc/HackerNews huggingface dataset:
Sometime ago I came up with a simpler proposal: emit a warning if UB exploitation makes a line of code unreachable. That refers to actual lines in the source, not lines after macroexpansion and inlining. Most "gotcha" examples with UB that I've seen so far contain unreachable lines in the source, while most legitimate examples of UB-based optimization contain unreachable lines only after macroexpansion and inlining.

Such a warning would be useful in any case, because in legitimate cases it would tell the programmer that some lines can be safely deleted, which is always good to know.
If I knew someone who didn't become friendly to me for the first 25 years of our relationship, I wouldn't call them friendly.
If I say "I didn't like version 3" that means all of the 3.x versions. If I say "I didn't like version 3.0" then maybe I liked 3.1 better. They're not the same thing.
So, in that case, what's to hate?
How did you reduce your BMI? That's not an insignificant loss of weight and it might have been the big factor rather than the supplements. I've found that my asthma is bad when I don't exercise. If I do cardio for a few weeks there is a noticeable improvement.
Why an app? This is an online service not a sodding "app".
That's great! Unfortunately we aren't working on those two things just yet, but we are interested in looking at ways we might be able to add a small web version that would allow anyone outside of iOS to respond and join specific invites.
Okay, maybe not entirely spurious, but how much information can a malicious tracker actually extract using HPKP + invalid certs, and the resulting failed handshake?

1. The client is new enough that it supports HPKP
(information you get from the default UA string anyway,
but could be used to smoke out someone using a blank UA
string)

2. The client has connected to this server once before.

That's, what, one bit? A bit and a half?

You could add a new subdomain once a day, then invalidate the cert 24 hours later, to get more bits of information, but this is an attack that requires buying a new cert once a day, forever, which costs money. (StartSSL gives you one free cert, but only one) (It wouldn't cost a state sponsored attacker any money to create certs, of course...)

Is there even any way to implement PKP that wouldn't leak client information via failed handshakes? Is killing pervasive monitoring worth enabling an expensive supercookie attack?

(One dumb mitigation: ignore handshake failures due to PKP, proceed with the connection as normal, but throw away the data. You'd have to load and parse the requested page in the background, though, or else the attacker would notice that the client isn't requesting inline images/scripts...)

---

EDIT: Ah, the draft mentions the supercookie attack: http://tools.ietf.org/html/draft-ietf-websec-key-pinning-20#...
Modern compilers have a tendency to just remove code that can be proven to result in undefined behavior. This can make it very difficult to track down a problem because you'll be staring at the source code, assuming the code was run, unable to fathom how it could possibly have ended up in a particular state.

If the compiler were required to return an "unspecified value", you'll at least know that your code DID run (and generate an incorrect result).
another major anti pattern being the use of an app excluding anyone on a computer
Visual Studio online now lets developers add unlimited stakeholders for free
I'm below average height (183cm, average here is 183.8cm) but over average weight (105kg, average is 85kg).

I'm 20% heavier than most, but I don't have to pay extra to fly.

* http://www.cbs.nl/en-GB/menu/themas/gezondheid-welzijn/publi...
Serious question: Are all members of a company's board typically expected unanimously agree ("align") with everything the company they direct does?
Obviously you don't see the benefits. Have you tried the program?
In case anyone has about 30-60 minutes and is interested to get a quick glimpse of how easy (I guess meaning free and accessible at the least) it has become to do such graphics:

- Download and install Blender 2.71 (http://blender.org/download). On linux (Ubuntu) I did not even have to install it; I just extracted the tarball and ran the blender binary.

- Go through this two part ceramic mug tutorial (30-60 minutes): http://youtu.be/y__uzGKmxt8 ... http://youtu.be/ChPle-aiJuA

As someone who does not have graphics training, I was blown away when I did this. Apparently there is this thing called 'path tracing' based rendering, that takes care of accurate lighting, as long as you give the correct specification of geometry and materials.

Some interesting videos:

- Octane 2.0 renderer: http://youtu.be/gLyhma-kuAw

- Lightwave: http://youtu.be/TAZIvyAJfeM

- Brigade 3.0: http://youtu.be/BpT6MkCeP7Y

- Alex Roman, the third and the seventh: http://vimeo.com/7809605

Brigade is an effort towards real-time path tracing, and it's predicted that within 2-3 GPU generations, such graphics would be possible in games.
> Not becoming an idiot is the best solution [...] [...] but don't assume that you'll ever be good enough to not be an idiot. Try to converge on it if possible through. I'm still an idiot with C and I've been doing it since 1997

We have wildly differing definitions of "best solution". I like solutions to be actually achievable, for example.
The space between the seats is a commons, just like the audio spectrum.

You chose a seat expecting that it would recline, I chose a seat expecting I could actually sit down without dislocating my kneecaps. These expectations overlap, and might require grown-up negotiation to resolve.
Faux Pas for Xcode
And in a lot of cases in Anglo Saxon employment law working for some one else with out authorisation is a breech of employment law.

It was the they wanted production ready code that set alarm bells ringing.
Beautifully simple. And thanks for the reminder about http://jekyllrb.com/ which seems like a cool blogging system...
Can someone give a rationalization of why a "friendly" dialect of C should return unspecified values from reading uninitialized storage? Is the idea that all implementations will choose "0" for that unspecified value and allow programmers to be lazy?

I'd much rather my "friendly" implementation immediately trap. Code built in Visual C++'s debug mode is pretty reliable (and useful) in this regard.

EDIT: It occurs to me that this is probably a performance issue. Without pretty amazing (non-computable in the general case?) static analysis, it would be impossible to tell whether code initializes storage in all possible executions, and using VM tricks to detect all uninitialized access at runtime is likely prohibitively expensive for non-debug code.
Are you kidding me? Just about of Snapchat's? This comes to tell us how ridiculous the valuations are nowadays!
It isn't confusing at all. When the reason to charge more is material cost (i.e. increased fuel cost) some charge can be justified even if it remains discriminatory in nature (see mens Vs. womens' health insurance for one example).

> First of all, how do you decide that $200 is OK but $350 is not OK?

That is easy, look at a normal ticket, figure out how much you're paying per inch and then calculate how much they should be charging for ADDITIONAL inches based on that figure (even ignoring the savings presented by taking less passengers (less luggage, less admin, etc)).

They're charging too much.

> The airline industry is pretty competitive. If one doesn't offer what you want, use one that does.

None of them do. They're competing for 90% of the audience who aren't tall, nobody wants a niche in that 10% of the market.

So they sell a "premium" product to people who want, don't need, it. So they charge a premium price.

> Secondly, you're just wrong about the cost. I picked a United roundtrip between IAD and SFO, and they want a whopping $84 for Economy Plus on the outbound leg, and $79 on the return leg, on top of a $414 base roundtrip fare. That's $174 extra for the roundtrip, within the range you state as acceptable.

That's a 50% increase which I stated was unacceptable. Let's ignore fixed figures and say 50% is too much, period. That is too much and that is my point.

> For another example, I flew IAD-PEK on United earlier this year, and it was $200 each way for Economy plus, on a $1,400/person trip that takes 14 hours each way.

That's a very interesting way of wording things. You use three techniques there to mislead, first you conflate single trip with round trip costs, secondly you are vague about if the $1,400 is the relative cost (of a normal economy ticket) or the new cost after you added in the Plus, and lastly you use a personal anecdote nobody can possibly verify.

So I won't respond to that. No way I can argue with vague "facts" and unverifiable anecdotes anyway. Plus looking at the cost of flights your figures all seem inaccurate.

> Now, one might expect you to delighted at this, since apparently you didn't know before, and it's exactly what you asked for. Somehow, I don't think that's going to happen, though.

As you didn't state the cost of the economy tickets along with the cost of the "upgrades" those figures are utterly meaningless as you well knew before you posted them.

You likely went and found the shortest cheapest flights you could, then noted the upgrade cost (e.g. $50 on a $100 flight) and used that as "proof" that upgrades are inexpensive.

But relative to the base ticket they're not and that's the only thing that matters. 50% is 50% is 50%. You can find a $100 ticket or a $5,000 ticket, if the cost is 50% more for the legroom (while offering less than 50% more space) then they're over charging people who were born a certain way.

This is the last time I'll reply to you as some fact checking in the above post as made me deeply distrustful of you and your motives. Frankly I don't want to have a conversation with someone who will be intentionally misleading in this way.
This is a pretty real, concrete concern.

http://mako.cc/copyrighteous/google-has-most-of-my-email-bec...

(By the way, you can have this concern without thinking that Google is "evil": for example, you might think that it's risky to have so much e-mail in one centralized place and want Internet services to be redecentralized.)
You actually know someone who bought a phone on credit?
There have indeed been a lot of airlines on, or over, the edge.

"Over the last 30 years, more than 150 airlines have sought bankruptcy protection or disappeared, but more keep springing up as investors continue to put hope over experience, said Denis O’Connor, managing director with AlixPartners, a restructuring firm."

Source: http://www.nytimes.com/2008/04/17/business/17air.html?pagewa...
> Not becoming an idiot is the best solution

"Best" by what quality metric? "Not becoming an idiot" is difficult and time-consuming. Furthermore, there's no reliable way to determine if you have in fact succeeded in ceasing to be an idiot because part of the license that compilers have when encountering undefined behavior is to mask it. So even if your code compiles without warnings and passes all tests that is no guarantee that you have ceased to be an idiot. So requiring a compiler to do something more reasonable in the face of undefined behavior than reformat your hard drive (or at least to make it an option) is not an unreasonable position.
I've been to Racetrack Playa, and it's awesome. I'm glad a rational, scientifically plausible explanation has been found for the movement of the rocks.

You need to rent a Jeep with reinforced tires, otherwise you could find yourself in the same predicament as some people we met, who got a flat tire on their rented SUV at Racetrack Playa.
Why does something have to be an online service, and not an app?

I'd presume that most people who are doing sports are fairly active and own a mobile phone.
"Comfortable" is subjective, though. While there may be the same distance between seats when they're all reclined, the change in the shape of the space is enough to make a previously workable arrangement impossible because, and here's the remarkable bit, people are different shapes.
tl;dr: We gave away our competitive edge to the Chinese in return for goosing short term profits, and are now paying the price.
Undeadly.org – The OpenBSD Journal
They actually have AR overlays already. What you do is lay the catalog down on the floor, and the iPad app uses it as a size reference to generate the overlay. It's a little finicky in practice but still pretty impressive.
I read "Epidemic of Absence", a science journalist's survey of the research, telling of individual stories, and speculation about where the field could go. Super interesting.

My takeaway was that there's clearly stuff happening here, but the research is still very much in its infancy, so it's hard to be too confident about any one claim.

http://smile.amazon.com/Epidemic-Absence-Understanding-Aller...
> Flawed logic. You have the "right" to recline since that feature is built into the seat you are paying for.

Flawed logic. You've paid to be moved from A to B. Incidental furniture is a bonus: you merely might have the ability to recline the seat.
(Replying as edit window is gone)

So the whole reactionary "USA isn't America" thing seems a bit overblown and misguided at best; see for example http://www.slate.com/articles/news_and_politics/a_fine_whine...

And while jingoism, imperialism and US-centrism are good things to oppose, calling USA "America" isn't really an example of them. For one thing, by calling USA "America", you implicitly separate USA the country from the rest of the countries in North America and South America, and make the default assumption that the whole world isn't America. Point the second, if US citizens shouldn't be calling themselves "Americans", then neither should anyone else; at least "America" is in the name of the country for USA. Point the third, and I'm sure I'm not alone in this, but I've always assumed a kind of racism to go along with over-labeling; cf lumping Japanese and Chinese into the category "Asians".

As a final point, if we're really wanting to be more inclusive and eliminate borders and imperialism, shouldn't we all be calling ourselves "Earthicans"?
> It doesn't matter that what she says is a lie?

That statement makes it sound like you have additional information about this situation. If that is the case would you care to share it?

I have observed that there are at least two weighting components to an opinion, the person and the person's position. The same opinion uttered by a programmer at corporation X has different weight than when it is uttered by the CEO of the corporation. I have also observed that it can constrain the ability of highly opinionated people to achieve positions of higher authority.

So without an understanding of what the statements were, and what her basis was for making those statements, and even the context in which the statements were made. It is not possible to judge the appropriateness of her actions.

That said, I have spoken to many managers who have been chastised at some point in their career for expressing negative opinions about entities that were important to the organization (sponsors, customers, investors, Etc.) How folks internalize that feedback varies from individual to individual.
Heatmaps are fairly easy to do with Bokeh, for instance: http://bokeh.pydata.org/docs/gallery/unemployment.html
LinkedIn Redesign Concept
Hmm.. I guess that's why the uptake of node.js has been so bad...
Nationalizing the health care industry is itself fraught, though.

I wonder: How much would our national dental health improve if we merely offered universal coverage for the simple stuff: cleanings, photographs, and X-rays?

The standard of care for these things doesn't seem like it varies wildly: Everyone should get a cleaning and inspection from a dental hygienist every six or twelve months. Obviously, once we get into treatments the judgement calls begin, and then it does become fraught.

But speaking as someone who might have saved a small fortune on fillings, crowns, and root canals if he hadn't just stopped going to the dentist regularly for several years – because, by the time your teeth start hurting, it is way too late for the inexpensive interventions – I wish we had national dental coverage for checkups, such that it was economical to station people in malls and on street corners begging passersby to step inside a door and spend thirty minutes getting their "free" dental cleaning. Yes, the hygienists would probably try to up-sell you. But that's a relatively nice problem to have.
Most people that complain that Linux isn't ready for the desktop are complaining about not being able to run specific applications, so it's not ready for mainstream use. Who cares? I use linux on MY desktop because it's an amazing programming environment. Multimedia people use OSX (or at least used to) because it is great for multimedia. If spreadsheets are your thing, use Windows. I dont understand what the fuss is about, if it doesn't match your needs, don't use it. I use Linux on my desktop and I couldn't care less if you do or not.
Out of raw d3.js, nvd3.js, cubism, and rickshaw.js, I've by far had the best experience with nvd3.

I was particularly pleased with the way nvd3 supports sliding data off line charts without any extra work.

D3.js is an excellent, low level visualization library. But you will find yourself spending days to a couple weeks with custom styling, tooltips, legends, etc. Many high level charting libraries are nice because they have this out of the box.

However, I want a library that lets me make visualizations that I can run on my monitor for 10 days straight without running into obscure bugs. Rickshaw failed me in this regard. I have a caching scheme in my client-side application. Rickshaw has its own local copy of data which requires the developer to write custom, messy javascript to evict. I found that rickshaw actually has some custom 'sliding window' logic. I was unhappy because I had to go to stackoverflow to discover that feature rather than using the documentation.

nvd3.js simply worked for me.
Your employers -- or, usually, your employer's bean counters -- may be like many humans in that it's easy to see cash flows and harder to see where value is produced.

This is one of the reasons sales and marketing often have a lot of power in modern business organizations (at least, as long as sales are good).
cuts both ways with 5 or 6 or more untrained interviewers the chance of some one making a legally "naughty" statement and causing problems increases.
Thank's a bunch! We're thrilled about finally getting this out there!

Stats are very interesting. Especially perhaps partnering with some other apps that already do that extremely well. Who knows. Good suggestion.
You can use the IKEA catalog iOS app to see show items in your home using augmented reality. It uses the physical catalog as a reference in the camera view to determine size and viewing angle (there was an option if you don't have the catalog, but I didn't try it to see the alternatives).

Works decently well, enough so that I used it to pick out a TV stand.
Assembly (YC12) Lets You Crowd-Build Startups and Split the Profits [Podcast]
Cool :) author here, thanks for posting this!
"And it can help to add a reason why you are declining a candidate too, since it can help them improve and perhaps return for another interview in the future (I've hired a few people that I originally passed on too)."

I've always tremendously valued the rare feedback I've gotten, but my understanding is this is not the same advice a lawyer would give (and that makes me a little sad).
I could have sworn there was a ClojureScript wrapper for D3 that was also called C3.

Taking a quick search shows that it is actually called C2[1], from Keming Labs.

[1]: http://keminglabs.com/c2/
Yes, more like that. There are some extra wrinkles they could add with subtyping, record types, etc but its still going to be a silly thing to patent.
> Those same people intentionally paid for a seat reclining function with the intention that passengers use it.

Not quite. They paid for a seat reclining function hoping to lure punters into paying for a ticket. I'm not sure they care whether anybody can actually use the seat functions further than that.

> This is constantly framed as an issue between passengers, but it's not. It's an issue between passengers and the airline.

Absolutely this. Getting customers arguing over the details of property rights they almost certainly don't have is a truly wonderful reframe.
I would label your third point as a subcategory of the second, as it is impossible to have a garbage collector without having some sort of overhead.
In the emails, you can see that Adafruit checked with the supplier to make sure nothing had changed. They still got back to the customer after just 3 hours.
The change affects compiler optimization. The proposal changes many results from "undefined behavior" (compiler can do anything, including throwing away code before the statement executes) to "unspecified value", which means the statement might result in unknown values, but it can't remove the code.

Read the linked articles in the post for a better treatment of what undefined behavior means and how compilers deal with it.
Interesting! I did not know that. Thanks for the heads up, I shall investigate further :)
You know your stuff. :)

BTW interactive path tracing-based rendering streaming into the browser: https://clara.io/view/1f7bd986-a232-4b42-8737-ce675093faa8/r... You can edit the scene too like in Blender if you click the "Edit Onilne."
It's a bit annoying that your WebRTC-check also triggers on the "what" page, even though it seems to render just fine (and then redirects away).
True. Just words of encouragement. Even with all my experience, I'm still terrified of rejection. :)
Ah, I see. Personally I think I could have taken the "give an example of a classifier" question into a deep dive of their competency (talk about how one would build that classifier, etc.) but they might get so many completely unqualified candidates that don't know those things that they need to have those sorts of hurdles before they start really evaluating you for more holistic problem solving traits.

But if you don't think they did that at all then I guess that's bad!

I generally am for the "look things up" argument, but so many people in tech take that to an extreme of "I can fully understand an entire discipline by looking at the Wikipedia page for 5 minutes".
Compromising your beliefs for money is a form of corruption. It's just one that people are forced to do every day to varying degrees.

From Wikipedia[1]: 'In philosophical, theological, or moral discussions, corruption is spiritual or moral impurity or deviation from an ideal. Corruption may include many activities including bribery and embezzlement.'

Keeping your mouth shut in exchange for sponsorship money sounds a bit like bribery to me.

[1] http://en.wikipedia.org/wiki/Corruption
The scope of an unspecified value's effect is limited to that particular value, whereas undefined behavior's effects are unlimited: http://en.wikipedia.org/wiki/Nasal_demons
Highly recommended: Code Complete by Steve McConnell. A big part of the book talks about how to reduce complexity, in the literal sense and by using abstractions.
Awesome! Just emailed you.
Neuroscientists reverse memories’ emotional associations