skysight-inc/HackerNews huggingface dataset:
It doesn't have to be two's compliment - for any modular arithmetic, the answer will be the same.

But that's at a cost of giving up knowledge of whether it overflowed. In this case it overflows and underflows, when it does, an equal number of times, so there happens to be no problem. In some cases, all you care about is the answer modulo some number which jives well with your numbers' representation. In that case, there is also no problem.

In many cases, if there is a different number of overflows than underflows, you'd get the wrong answer without knowing it, and your answer is likely (but not guaranteed) to be very wrong when you do.

There are other approaches we can take. Overflow could saturate. In that case, we get the wrong answer in one direction here but it's only off by a little instead of a lot. Overflow could also trap, in which case we'd notice that we had risk of giving the wrong answer.

In either of these cases, we could not apply this optimization unless we allow for some measure of undefined behavior - which is why undefined behavior is so useful. It is absolutely the case that undefined behavior in a specification has significant drawbacks as well - but the issue at hand here is not the result of them.
Intel Pentium 4 2.0 GHz vs. Intel Pentium III 1.0 GHz (2001)
Brown University's Computer Science Diversity and Inclusion Action Plan [DRAFT]
> Let's say they sold a few thousand units - do you really think it's worth keeping it running indefinitely?

That's not the only option. Some alternatives would have been to make it not a SASS reliant brick. Or to open source enough that people could do that work themselves, at least in theory. Or to offer buybacks. I did read:

> Nest is working with customers on a case-by-case basis on compensation, according Burnett. The company would not disclose exactly how Revolv users would be compensated or whether their Revolv devices could be replaced by Nest devices.

( Edit: http://www.cnbc.com/2016/04/06/nest-to-disable-revolv-hub-mu... )

Any former Revolv users want to disclose how they did/didn't get screwed over, actually?
Exactly! Ugh I hate that. "A cat can be an instance of animal, but it needs a 'meow' function" ... What?
> but at the cost of Firefox's more powerful extensions?

What do you believe you'll be missing? Add-on authors say the new API will meet their needs. Giorgio Maone, the author of NoScript, says he's satisfied with the direction of the development of the new API: https://hackademix.net/2016/03/09/webrequest-where-were-wher...

If you develop some add-on that needs features the new API doesn't currently provide then I'd say the best thing to do is to get involved with the development and get those features added.
Yup, and that's a problem that hasn't been fully worked out yet.
>Hardware doesn't have native saturating overflow operations

Uh, what hardware are you talking about? x86 and ARM at the least have saturating arithmetic instructions.
Addiction doesn't happen by choice but rehabilitation does.

Not all ailments are the same. There's room for human intervention in addiction, both from oneself and their family. We can't always be blaming God for our misery.
>and has a community of people working to make those components even better for YOUR USE CASE.

How did the latter point derive from the former?

Frameworks come with prepackaged components and it's usually their way or the highway.

A framework might very well have a "community of people working to make those components even better" (period), but surely not "a community of people working to make those components even better for [MY] USE CASE".

If anything, a component's community try to make them as generic and all-encompassing as possible.

Contrast with libs, where I can cherry pick and use the one closest to my exact use cases.

>I guess I won't be hiring you then.

People use those kind of "arguments" a lot, as if they prove anything.

Depending on what those who say it are arguing against, it could both be a wise decision or the sign of an totally inept boss.

There are people who don't like frameworks that can code circles around people who do (and vice versa). If you don't want to hire the former, it's totally fine. Telling strangers who haven't applied to you, and have no intention to do so (and might be making hiring decisions themselves, elsewhere) that you won't hire them shows you in bad light -- trying to beat them into line not with arguments but with "boss" power.
No, that was just treating you with respect commensurate to what you offered, and I notice you're still dodging. I guess you'd know trolling.
Putting all your eggs into a single risky basket is not a good thing. Sounds like your dad was wise despite wishing he had done otherwise with the benefit of hindsight.
Same here - Asus RT-AC68U running DD-WRT has a current uptime >100 days and noticed no problems with it during that.

The only downside is lack of auto-updates, but for my setup I'm not too concerned about that (WAN-side management features are disabled, and is behind another router anyway; occasional manual updates mostly mitigate LAN-side attacks [and web UI is usually disabled which prevents most of them anyway])
> If you stay active you will lose strength on a calorie deficit but you will not lose muscle mass.

That's not true. If you're on a calorie deficit you will lose muscle mass. You'll lose less if you exercise.
What? Seriously?

If you can't imagine trying to build these things, why on earth should you be trusted to use these things built by others?

All of your comments in this thread are so unnecessarily abrasive. And you just continue to give off an unfounded and indefensible air of smug superiority, when what you're really falling back on is ... the ability to run a command that puts you in a padded room so you don't hurt yourself?
Daniel J. Bernstein would probably be a good candidate. Then again it looks like he has written a couple books already (disclaimer: no referral).

http://www.amazon.com/s?ie=UTF8&page=1&rh=n%3A283155%2Cp_27%...
Seriously? Among other things, they publish Cell, The Lancet, the various Trends in XYZ, and some of the Current Opinion journals. These are all widely read and well-respected journals.

There are tons problems with the current publication system, but as I wrote up-thread, I think it's unfair to put tons of blame on individual scientists, many of whom are trapped between "playing the game" and making a somewhat ineffective individual stand.
but this happens time and time again in business, where business's are so afraid to cannibalize their own products that they miss the next big wave.
IMO He got the hint and left willingly -- I might be cynical but that's probably what the manager wanted. If I get the vibe or direct message I'm at risk of getting fired, I'd be prompted to immediately find a new position.
It is GNU/Linux. Claiming that Linux is the most important part of the system is rewriting history (the GNU project started almost a decade before Linux was created).
Not if you can't code, which most engineers cannot (nothing wrong with that). In fact, I'd say without a team of highly trained software engineers and a whole lot of time and money, having the code for a CAD program is almost useless. In civil engineering, it's my understanding that it's standard procedure to check everything CAD tools output. If a bug leads to failure in the field, at least one person, but probably multiple people, has failed horribly and he will rightfully be held responsible.
Sounds like you're espousing the doctrine of Revealed Preference! Here's my reductio proof that actions don't always reveal preferences: http://blog.beeminder.com/revealed/

Short version: People sometimes use commitment devices (like Beeminder!). Doing so is an action and the preference it reveals is that the person engages in actions contrary to their own preferences!
I wish companies didn't think their interviews were some weird "secret sauce" -- I've had companies flat out refuse to tell me what the interview process would be like, or even how long I should expect for the interview beyond "1-4 hours". Well, you know 1 hour is a lot different than 4 hours!

Personally I think all companies should be using pair-programming or contract to hire, as I think trivia questions and whiteboarding are worse than useless. I'm happy to do take home work for a company I'm really interested in, but it does feel a little unfair and like a bit of a waste of time overall.
I went from 260 pounds to 199 pounds in about a year or so simply by eating less food and cutting out junk food. Only eating fast food when in a hurry and then only a small sandwich like the McDouble which only had one slice of cheese and the Double Cheeseburger had two slices of cheese.

I didn't exercise much just did some walking.

I took in less calories by eating less food for the tl:dr people.
I don't agree with the sum of it's parts, but I like some of the... components... in this article.
It's a good idea but I'm a bit worried about making those threads even more top-heavy than they already are by asking people to include even more info in their posts.

It might also be hard to explain what we're asking submitters to do in a way that makes sense to everyone, especially the ones who don't post on HN except in those threads.

We'll think about it. There's a couple days before the next thread.

Edit: ok, I added such a sentence. Let's see if it improves the quality of the posts.
Riiiiiight, because the FSF conducts ritual hazing? Or do they pressure people into giving them money by harassing their whole family? Or because they have created the most successful pyramid scheme in the world? Since the FSF hasn't done any of those things, I'm surprised that someone would liken an organisation trying to give freedom to all users of software as being "oddly like Scientology".
Who constitutes the big 4? Facebook, Google, ...?
As used, a "font" is a particular inventory of letter forms, distinguishing, say, ℂ from C, when both of those represent a platonic capital letter 'c'. That is the sense in which modern English speakers are applying it to inventories of letter forms in medieval writing.

Checking Merriam-Webster, I see that "font" is defined (in the relevant sense) like so:

> an assortment or set of type or characters all of one style and sometimes one size

It is being used here to refer to an assortment of characters all of one style, which seems like a good match for the modern definition.

In contrast, "script" has the following senses:

1(a) something written: "text"
(b) an original or principal instrument or document
(c) (1) "manuscript"
(2) the written text of a stage play, screenplay, or broadcast

2(a) a style of printed letters that resembles handwriting
(b) written characters: "handwriting"
(c) "alphabet"

3 a plan of action

(quoted words are how I've represented references to other dictionary entries)

The only sense referring to the style or appearance of characters in a "script" is explicitly restricted to printed text.

Perhaps the linguistic term you were looking for is https://en.wikipedia.org/wiki/Semantic_shift ?
Since Yale refuses to act, students rename college with slave-owner's name
Besides using only base 10 representation, 1) all numbers are exact even if there are multiple representations. 2) because of 1), .1 + .2 = .3, eg, arithmetic follows the same rules you learned in school for 4 function arithmetic. 3) It supports upto 56-bit precise integer math without loss of precision. Look around YouTube for crockford talks about it. Usually they're JavaScript related. Or check dec64.com
React is popular because it re-frames the meat and potatoes of frontend dev as a simple input -> output problem. VDOM merely helps make this approach performant at scale - it has little to do with why people actually use React.

Abusing MutationObserver to get "easy" 2-way data binding is precisely the sort of antipattern that React & Friends would have discouraged.
Not at all. If your exchange takes five milliseconds, you're gonna lose the volume of high frequency trading algorithms because they cannot front run as effectively. For an exchange volume (hence fees) is key, so you really have to work for HFTers.
It's not paranoia if proprietary software companies do take advantage of you. And they do.
The posts that are transparent about the interview seem to have positive responses, too -- I distinctly remember seeing Compose's listings with comments like this one:

> great hiring process and response from the team, even though I didn't get the job I enjoyed my application process

What better feedback (or recommendation) could you ask for?

That said, I need a little more convincing that always including this information will increase the quality of the listings. For Compose this set them apart, for most places I'd guess there's a pretty common pattern, and for the terrible places they just may not say.

Much as I think the ONSITE/REMOTE thing was a success, I think this might be better left to happen culturally rather than by fiat. Happy to be convinced otherwise, though.

https://news.ycombinator.com/item?id=11014670
I think this is true. I've never been very overweight so I admit it was easier for me to do this than it would be if I had to do it for longer, but I dropped ten pounds primarily just by drastically cutting the amount of food I ate for lunch. This led to feeling hungry at work, but when I'm working I'm very focused and able to ignore what my body is telling me. I suspect many other people here are the same way - if you find you're able to work for long periods of time without a break and you can drop into "flow", you may be able to lose weight by just eating less during those periods.
I suspect that on a percentage basis, the incidence of field failures due to CAD bugs are vastly outnumbered by field failures for other reasons.

Also, perhaps by culture, we don't trust CAD enough to let it get us into that kind of trouble, because we know that modeling always involves approximations and assumptions. Truth be told, I rarely see CAD used to determine critical design margins, without at least a sanity check.
I thought IE11 and earlier have none of these features right? And you can't run Edge on windows 7 right? And aren't more than 50% of windows sill Windows 7? And in't windows still 90% of the market?

I was thinking these features are still 5+ years away unless you are prepared to actually ask your users to switch to Chrome.
For what it's worth, here's an amazing interview in which Harris Wittels details how he fell from a casual recreational drug user into a heroin addict, taken a few months before his overdose.[0] The logic is nightmarish, the whole story tragic. I miss Harris.

[0] http://nerdist.com/you-made-it-weird-236-harris-wittels-retu...
There must be a relationship between those behaviors described as anxious and those caused by being anxious, otherwise a different label would have been used to classify the behaviors.

Why is twitching labeled anxious? Perhaps it is part of a workout routine, in which case it would be more accurate to label the same observed behavior as exercise.
But the author has already tried to cover that aspect:

> I understand that React is only the view-layer, but in reality many of you are using things like Redux with it - along with other plugins. The result of that is a pretty heavy application.
> I can't imagine trying to build a ... and more, in less code that just...
I really wish I didn't need a javascript framework, but I find this essay unpersuasive. He doens't seem to deal with the same kinds of problems I do. But I like that he's making the argument, and trying to pull out the parts where the web API has gotten a lot better. It's approaching maybe. I really do wish.

If we're lucky, maybe we can come up with something lighter weight (conceptually, and in terms of build tools needed, as much as in byte size) that is closer to the built-in browser API. I definitely don't feel like I can do what I need in a sane way with nothing but the browser API though.
how is Jack Ma more impressive than bezos?
It's a lot easier to learn React than what all of you think. It's especially easier to learn these frameworks when you tried to solve the problem without them and experienced the pain of not having them.
The FBI just got more power to peek into your computer
Just remember that this is an election year so articles blaming scapegoats come from both sides.

Conservatives blaming immigrants and Liberals blaming the rich.
How tanking oil prices have caused the world's biggest traffic jam
I just clicked your link, and it's down for me. Same message as before.
Kudos for sharing. Btw I read your blog post on the project and really enjoyed it; you write well!
Anyone who knows what they're doing is one dumb moment away from not knowing what they're doing. I suspect I know no programmers that don't average at least a dumb moment per day. Your code reviewer is one dumb moment away from not catching it in your code review - which may be as simple as skimming a little too fast because the diff was a little too big. tl;dr: This:

> None of those are "pwned" if you know what you're doing.

... can be rephrased as "All of these are still 'pwned' on a daily basis."
Yeah I agree. Firefox is slowly becoming a Chrome clone. It took them a long while to migrate everything to follow the Chrome lead (release strategy, update strategy, multiprocess architecture, sandboxing, extension API, HTML UI, etc.) but I wonder what's the benefit of having two identical browsers. Yes the HTML engine is different but then so what, I don't think end users are ever going to switch because of HTML engines.
I don't get a lot of opportunities to play around with JS frameworks, which is odd because I hobby-code a lot in JS. I imagine the top reasons to use frameworks are cross-browser compatibility and support for scalability in the domain of your work. Unfortunately sometimes people use them because the only tool they have is a hammer, so everything is a nail. Vanilla DOM manipulation has become much easier in the past few years. I have played around with some new DOM features in my own time, but for anything public-facing I'm going to use a library that allows for cross-browser compatibility, and typically that's a combination of jQuery, polyfills, etc.
Semi trucks aren't trying to calm traffic, they are maintaining a consistent speed (or rather engine RPM) and gear for fuel efficiency. Drivers are paid per mile and the further they can go on a single fill-up is more money in their pocket.

Edit to add: It is a computer telling them how fast to go, usually something similar to http://www.scangauge.com/
I draw exactly the opposite conclusion: over time everything is going to be computing, yes, and so the whole Free Software thing becomes more and more a fundamental, essential, political idea.

If the objects and systems surrounding you are controlled by software, then your personal freedom to make your own personal choices is determined by your ability to control the software that controls your environment.
Facebook.com contains more than 20,000 react components. They use React at pretty much every dynamic aspect on their website. They also use React Native in a lot of aspects of their mobile apps, both for iOS and android.
I thought his point was clear. A framework provides all those things, free of charge. Instead of using location.href or e.innerHTML you're invited to use framework.html(), etc. It's possible you would take care of escaping output on your own, but the point he was trying to convey is that you are likely to take shortcuts and not do all those things.
I have spent a lot of time around junkies, addiction may not be a choice, refusing to acknowledge your problem and seeking help is.

Junkies are the kings of selfish behavior, and they have little to no regard for how their actions affect their loved ones. Lies and the eventual grief of their loss are their legacy.

I have buried enough friends to know this as a fact.
S3 is a good way to share files
Thing is, I'd consider buying and at least get it working again. Sadly, the current owners won't realize that what little value it had is now gone, gone, gone and are almost guaranteed to want too much. So instead of putting it hands of someone that knows enough to keep it running, it'll just fade back into obscurity.
Facebook, Google, Microsoft, Amazon, I think is the current list.
Firebug 3 integrates with Firefox's native DevTools so you'll still have Firebug (or you can just use Firefox's DevTools without Firebug if you want): https://hacks.mozilla.org/2015/10/firebug-devtools-integrati...
I just know this. :)
I'll bet $100 that GCHQ detected someone else using all those vulnerabilities. That is, GCHQ was using them (or at least sitting on them for potential uses), and they detected Dread Hooded Hackers using those same vulnerabilities. Since they're now out in the wild, GCHQ can't use them for their super secret defense of the realm. Next best thing: earn a bug bounty on them.
FBI spent $1.3mil to not learn details of iPhone hack / says it can't tell Apple
>Now admittedly the guy does put the responsibility on the operator, but it appears CAD packages can indeed calculate this for you. So long as the right info was input into the program, the formula should be programmed correctly and the operator should be able to have confidence in the results!

"Should" is the operative term. I can tell you with that having hand checked the automated results of several CAD packages at developing sheet metal flat patterns and finding unexplained variability and errors too many times to count that if you want confidence in the dimensional accuracy of a sheet metal part, you need to develop it by hand. Especially for anything over 5mm in sheet thickness. As far as I'm concerned you really can't engage in sheet metal design without being able to manually verify the development results, so in a sense it is up to the designer regardless of the capabilities of the CAD software.

To be fair, I'm picking on one of the hardest physical manufacturing processes to actually get right - even CNC brake presses have a great amount of variance in calibration (e.g. the amount of bend allowance you need to make for various sheet thicknesses...) across different suppliers, materials, etc to produce physically identical parts. The valuable lesson for a fresh designer is don't trust your 3d representation of the part, don't trust the manufacturer specs on ANYTHING and always prototype. I'm guessing this is why people tolerate it - the world with 3d CAD is still a vastly nicer place to be an engineer than otherwise, so we just rationalise away the shitty parts as a reasonable price to pay.
what about FPGAs allows these operations to be more power efficient on than A GPU or even CPU? Could you elaborate. I found your statement interesting. Thanks.
Programmer, Developer, Engineer: What's in a Name?
I think this is spot on. Companies would not move to the Tenderloin without some benefits and this could change the area for better. It has a pretty good location so it should not take a lot.
Supreme Court ruling puts FBI closer to searching any computer with one warrant
Thanks a lot for your comment, after all I'm not crazy at all, I wish find more people like you
Yahoo CEO Marissa Mayer Compensation Soars 69 Percent to $42.1M
Common table expressions, not "with statements", sorry to be pedantic. Also, CTE's are awesome - I used them pretty heavily in massaging a self-referential table used to implement a hierarchy into something that doesn't piss off reporting tools (to make things worse it's a slowly changing dimension, oh the fun).