skysight-inc/HackerNews huggingface dataset:
So to figure out the overall value of the investment, you'd need to add up not just all the money it's going to cost the owner, but also subtract all the money the the owner did not have to pay in rent.

I'm countering this assertion that you need to subtract all the money that the owner did not have to pay in rent because this is going to be equal to the amount that the owner did not earn in rent by renting out their house.

People who buy a house for living (rather than rental) do not often make a rational economic investment decision which is kind of my point.

Sorry, I did not make it clear that I was assuming a comparison between renting and owning in the same neighbourhood. People (Americans in particular) generally rent apartments and buy houses, as you rightly pointed out. Within the same neighbourhood, a house is going to cost more to rent than an apartment.
just realised a fix where you can now:

notes -i *.py

I hope this helps :)
Founder of a similar startup here.

The strategy that nervana is taking is to reduce precision to 16 bit fixed point and then accumulate in 48 bits (which appears to be unnecessary and 24 bits should be sufficient).

I can answer any questions if anyone has any.
This is a good explanation, but the conclusion that this isn't a GCC bug is false. y and y2 both have type annotations of "double" at the point they're compared. They should be computed using an intermediate of type "long double", and then casted to double. But GCC is incorrectly comparing them based on those intermediate values instead of their final values.

In a more extreme case, let's say I had two strings: v="1.0" and w="+1.0". atof(v) and atof(w) should ABSOLUTELY compare equal. The logic followed by GCC effectively says that it's OK to compare them by their intermediate string representation instead, though, wherein they would compare as non-equal.
How about a 3310-like phone that works as a portable wifi hub? Then you could use the phone for communication and a tablet/ laptop for anything else. Would battery life be awful though?
For a few extra bytes you could have the ASCII name of the hash function. "sha256" is pretty clear, for example.
First thing first. I am FANATIC about people calling me 'programmer' or 'Java Programmer' or even 'coder'.

Even though I DO code and I DO write programs, I never define myself as such and promptly call people out when they call me that.

I focus on the value I bring. It can be Java with Hadoop and it can be deploying a Kubernetes cluster or writing a React application. I solve problems in a creative way.

I am making more than 200K. I don't work for the big 4 (or 5 or 50 or 100 or even 1000)

Recently switched jobs. Making 200K base and around 280K total comp.

Recently, to be honest, I am really less focused on the numbers. I live in SV and those numbers make no sense. I would be more than happy making 150K and saving and investing more money than I am able to right now.
GNU core utils are more complicated reimplementations of the ancestors of these things.
On the contrary, Trump is just about the perfect example of the dangers of PPE: he's a man who enjoyed advantages early on that most people will never have, who has consequently spent his entire career in an artificial bubble almost totally unrelated to the experience of most normal people, who has learned to speak confidently about almost any subject regardless of whether he actually knows or understands very much about that subject, and who as result of those attributes has now risen to a level of power he is utterly unqualified to wield.
We have a minimum wage. It's $7.25/hr at the Federal level, so that's the baseline.
> In serious academic-ish discussion, I think we should stick as closely to the topic at-hand and avoid...

So does that mean you're willing to do the legwork to dig up the IPCC reports, chase down the studies they reference, and put together an academic-quality rebuttal? Or are you just asking for someone else to do it?

In either case I offer my sincere gratitude to anyone willing to fight the weighted odds. It ain't gonna be me, though. Been there, done that. I've got a few hours of weekend left, and I aim to enjoy them.
Some countries like Germany are talking about dropping 3G entirely in favor of LTE and keeping 2G because old controlling hardware depends on it. So maybe Nokia is on the right track here.
I agree. Explaining that assertion requires explaining that the x87 FPU is providing a leaky abstraction. If you ask for double math, it gives you a result which is a long double while it resides in a register, and then becomes a double when moved to RAM.

There are some cases where direct comparison of floating point values is what you want, and this issue can still bite you even then.
what's your base salary?
I think you vastly underestimate the disparity in salaries in the marketplace, even when comparing experience and job description. A hiring decision is often more about paying what's needed to in order to get the people they want, and less about what an expected or average salary is.
Reading the comments I realized there are currently three main issues:

1. VR costs a lot

2. The technology needs to be better (higher resolution)

3. There's not a lot of VR content available yet.

Two weeks ago, Gabe Newell and his SteamVR team talked openly about these issues in an interview. [1]

They say:

- The price will go down and the tech will become better. He said VR will be a new reason for CPU/GPU manufacturers to up their game again. (2018/2019)

- Valve is currently making three different full VR games (2017/2018)

- There should be an open VR standard

[1] https://www.youtube.com/watch?v=kMpQWSqQFK0
Location? If you're cracking $200k, you are likely in a major city, silicon valley, etc, and the cost of living is pretty outrageous. Either that, or I am severely under-paid.
As the author of the list these extensions are using (sites-using-cloudflare), I have doubts about the utility of public browser extensions to check for Cloudflare sites. An extension will alert if the user is on any of 4,000,000+ domains in the list. There will be too many false positives to make it a useful tool, and by forcing users to reset so many passwords, we're more likely to make them choose poor ones. That risk may outweight the safety gained by resetting passwords.

It was also mentioned in the Techcrunch article, many companies will probably choose not to reset user passwords, and will instead just pay for insurance to cover the tiny chance that one of their users had data leaked. https://techcrunch.com/2017/02/24/how-to-secure-your-data-af...
Perhaps the filtering would also be done by a third party. This isn't entirely foreign now: if you write an article online, you can't control the comments on reddit, HN or 4chan. However, users have some control over which comments they see, in that they can select which sources of comments they want, and each source has different moderation policies. The roles of publishing content and moderating comments are totally de-coupled from each other.
Have you checked out who the author is?

I am not sure it qualifies as flamebait. The situation may be a bit more nuanced. I first read some of the comments in this thread, then went and read his article, then came back here to read some more comments.

Charles Leifer (per his resume [1]) is a co-creator of readthedocs.org (where the docs for a lot of Python OSS projects are hosted), and of the PeeWee ORM (which I know of and have used a bit).

[1] http://media.charlesleifer.com/blog/documents/resume.pdf

He also writes a lot of (technical) Python posts on his blog. I've read some of them in the past. Unlikely that a person like him would be interested in writing such a post as flamebait.

I'm guessing the post is describing his genuine thoughts / feelings (right or wrong) about Python's evolution of late, even if some of his points may not have been well-thought-out, per what I read from some comments here. I haven't gone into an analysis of what he wrote vs. the comments here, in depth. But I think we should cut him some slack, and not flag the post as flamebait. Just my 2c as a Pythonista and HNer.
What about the other way around?

I'm from an engineering background, going in the direction of data scientist. Sometimes I find that my math skills could be stronger, and I try to read up on things when I encounter them, but still it sometimes feels like there is an infinite amount to learn. Maybe I could use some more systematic approach to it. Anyone else who has walked this path, and could come with some useful advice/resources?
As long as the algorithm is sufficiently described, the parameters can be part of the body. So instead of `<hash-type><hash-result>` it would be `<hash-type><hash-rounds><hash-result>`.
I'm an SRE (Site Reliability Engineer) for a Fintech startup based in NYC my base is $190000, with options + bonus my total compensation is probably closer to $300k. I've mostly worked in financial for large firms such as Lehman Brothers, Bank of America, Citi, and Morgan Stanley. I now solely work for fintech startups. My career started out as a traditional system administrator working on large Sun Solaris servers (2000 - 2006), I transitioned over to Linux (2007+) then picked up some Java, Python, SQL and I'm now learning Go and big data (Spark) and have a strong background in networking. I primarily get paid to automate and scale infrastructures these days -- my background is that of Google's definition of Site Reliability Engineering, 40% Code 60% infrastructure.
Eh, was wondering how I wandered to the page myself.
Never met a data scientist with an MBA. I work with plenty with PhDs (or a few Masters) in CS, stats, or the hard sciences.
Unless you specifically work in a scientific environment, when do you ever solve problems using a novel, non trivial algorithm designed by yourself? An amazing amount of programmers are simply doing CRUD, batch processing, and mapping data from one format to another. It's not rocket science.

I'd bet that ~99% of programmers never created a new algorithm, or needed to. And that's fine. (where by new algorithm I mean an actual, unique solution lowering the bounds on some operation which is usually done in a simpler way) Outside of what's happening in ML research, I can't even think of recent known examples.
If you have to maintain Kubernetes _and_ classical VMs, you have two overlapping systems. I'd rather just use one, and get the flexibility it brings over classical VMs.

For example, I'd be able to upgrade by just starting another container and replicating into it, then routing traffic over. I'd retain the option of rolling back by routing traffic back if anything goes wrong. I'd be able to spin up/down redundant read-only replicas simply by changing the number of replicas. And other apps would be able to piggyback on Kubernetes' discovery system (typically you let service names resolve into IPs/SRV records through DNS). And so on.

You can do anything you want with classical VMs, of course, it's just more static and slower: Provisioning another VM, configuring it (Puppet, Salt, Chef, etc.), connecting persistent storage, reconfiguring everything to point to the right places, configuring DNS, etc.

In short: If you use Kubernetes as your orchestrator, why would you not want to use it for everything?
Intel would still loose even without amd. Yesterday people that were ordering 100 Intel chips will be ordering maybe just 10% of these as the major processing s has been passed on to a different processor. They could even go for cheaper intel CPUs as the major processing power requirement would be met by gpus.
Plenty of developers come out of non CS degrees, enjoy your degree, it will give you a more in depth understanding on computational substrates (electronics) which is a good advantage. On the other hand... you should do your self a favour and take some Algo courses in coursera or elsewhere if you really want to pursue a purer developer career. It will leave you better positioned when you graduate.
I'm on mobile, and all I'm getting are AMP links (ugh), but there are a lot of results when you google "Rap Genius controversy".

They tried dirty SEO tactics that Google ultimately punished them for, and their staff have made off-color remarks in the past. There's a lot more if you search for it.
Chemotherapists have also faced the dilemma of whether their chief responsibility is to minimize an individual patient’s suffering or to further the search for an eventual cure. When risks to a given patient may mean benefits to future sufferers, the boundary between experiment and care can blur. Mukherjee, describing experimental chemo regimens of the early sixties, recounts the controversial decisions made to concoct terrifyingly toxic cocktails for child-leukemia patients, while the physicians in charge did what pathetically little they could to make the kids more comfortable. Years afterward, and with the clearer conscience of substantial success, one oncologist recognized the dangers of what they had done: “We could have killed all of those kids.” From its postwar origins to the present, the chemotherapist’s predicament is the precarious balance between best-practice care and the crying need to improve current practice. In the eighties, AIDS patients started to insist on being “guinea pigs,” and terminal-cancer sufferers soon followed their lead. In the current world of end-stage cancer, care and experiment can often be much the same thing.

Remember that, if you're ever in the difficult position to make a decision for yourself, or help another to make their own, regarding hospice care. Remember that you might be the one who has to realize that hope has passed, and it's time to look at palliative options. I'm not arguing against proper treatment, but there comes a time (a time which many doctors and patients fail to recognize) past which what's being done is just cruel.
My experience is its a great way to get sick in any fast paced FPS, but YMMV.
It just decouples commenting communities from publishers of the content being commented on, it doesn't change (increase or decrease) the work required or tools available for moderation. In effect, it just provides a standard structure for consumer-driven discovery of what already happens in off-site discussions that already happen (e.g., via sharing and dicussing the source on social media.)
And then your code would still need a table mapping the string to the implementation.
So first, sorry about the problem. Please come hang out in the sig-aws or kops channels - we're a bit smaller and more focused than kubernetes-users, and can typically get these problems solved pretty quickly together.

IIRC we improved garbage collection settings in the latest kops (1.5.1), so if you were running out of disk, using the latest kops should fix everything. It's also easy to reconfigure to use a bigger root disk if you're churning through containers faster than GC can keep up. But if it's something else we can try to diagnose it as well!

> Why doesn't Kubernetes destroy these nodes when they've been out of commission for 3-4 hours?

We should, I believe. I actually thought we had an issue for this very problem, though I can't find it. I'll open a new one if I can't track it down. There is maybe an argument that we should fix the root cause, but there's an unlimited number of things that can go wrong, so we need to do both.

(edit: Gave up on finding the existing issue and opened https://github.com/kubernetes/kops/issues/2002 )
If a candidate doesn't know what "bubble sort" is, they cannot implement it without having it described to them first. If you have to describe the algorithm to the candidate, then what is the point of them asking for an implementation? The implementation is the description in code form. A better test might be to give the candidate a bubble sort implementation, and ask questions about that specific code, like what the "big O" is.
America Outsources Our Stories to China
Debt is money. Money is debt. You borrow money and it's fresh new money, expanding the money supply. If everyone pays back their debts, then (nearly) all of the money is gone.

You don't have $1000 in your checking account. You have an IOU from the bank for $1000. You can then 'spend' the money by transferring the IOU to someone else. But it is never guaranteed transferable for something real. It relies on everyone else believing the $1000 has value, which they do, so you are OK.
One plus 3 owner here. Received nougat back in December and 3 additional updates since. For a fairly cheap phone I'm surprised with their commitment to software updates.
Experimenting with Early Retirement
thanks a lot for the pointers. I have just updated the license (actually copied Johns license and just added my name next to his)

I missed that with no intention of ignoring the great work of John
less than $70k. London, UK ;/
But how much is it compared to your salary? I pay 33% of my income just for Healthcare. Or well, government just takes it :)
I make about $275k (145 base, 35 bonus, 90+RSUs) as a designer with strong technical and product management skills. For example I can write you a basic Android front end and also a PRD while tangling through legal and security.

I am an individual contributor and just about to begin managing. However I unofficially lead a team of 20. There are still 4 levels above me that can be paid upwards of low millions dollars before entering executive titles like VP.

I'm 30 and it took running a startup, then pushing high profile products in a big 3 company then launching net new products and running as a solo entrepreneur within the company.

At the upper end, it's not about just being a manager or even being good. It's about how well you can create new opportunities that are strategically valuable for the company.

Honestly, I think of myself as just getting started, as I aim to reach 1m+ total comp per year.
> You can ask hard salary questions beforehand without offending a recruiter. Nothing worse than going through a long process to find out the company expects to pay below-market.

This right here is invaluable. When I talk to company recruiters (inside a company) I try to get an idea early on whether it's a waste of time due to below-market pay. I've had my share of people who were honest and open about it and those who give me the "we pay market rate" nonsense. I take that as dog whistling for below-market.

When talking to independent recruiters they're usually quite happy to give up this information, and/or find me positions more suitable. It tends to be more amicable.
fundamentally change how?
And I believe he's right, if he was asked specifically what that program should do. If all the statements in the program are really just:

#include <stdio.h>

void test(double x, double y)
{
const double y2 = x + 1.0;
if (y != y2) printf("error\n");
}

void main()
{
const double x = .012;
const double y = x + 1.0;

test(x, y);
}

Then the comparison has to be done on doubles, and "but it's extended precision internally" mentioned in some answers is the wrong answer. All the variables in the program are stated to be doubles. If I'd write the x86 and x87 asm instructions I could easily write them so that they work as expected, even without SSE2.

However if you compile with some "special" optimizations that are documented to relax some specific code generation rules, then it can be OK that these specific optimizations behave differently, but then: you asked for it by choosing that documented optimization.

In the answers there, Richard Henderson wrote 2001-01-16 06:30:04 UTC:

"You are seeing the results of excess precision in the FPU. Either change the rounding precision in the FPCR, or work around the problem with -ffloat-store."

He's also right, if the -ffloat-store is documented to be turned off by -O and if it's documented that that flag also affects the precomputed calculations that are done in the compile time. If the second detail is not documented, the results could be unexpected, but again depends of what you expect from the optimizer. The properly written compiler and optimizer should perform the calculations during the code generation correct to the definition and not cut the corners. If the generated code was generated to actually perform the != during the run time, then the compile-time calculations are irrelevant, but the sane default should be something like -ffloat-store when not using SSE2 even with -O, if -O has the semantic "the optimizations that should not produce really unexpected effects." It sounds complicated, but it has its reasons.

P.S. answer to nsajko's post below: I mention -ffloat-store not ffast-math. Read the description of ffloat-store please:

https://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Optimize-Options....

and also "Note on x86 and m68080 floating-point math" here https://gcc.gnu.org/wiki/FloatingPointMath
Continued fractions are perfect if you have infinite memory.
I got the PSVR as a day one pre-order. I was so excited, I preordered months before its release (when they first announced it). I had it for 2.5 months and then I sold it. It was cool at first, but the technology just isn't quite there. The limiting depth of field, limited choice of decent games (Rush of Blood was great) and Wii style graphics for a few of the experiences (especially Playstation VR Worlds).

It's a fun platform, but it definitely has the gimick aspect to it. I've experienced Oculus Rift, HTC Vive, Gear VR and PSVR. In all honesty, nothing has really wowed me just yet. I believe we'll need 4k VR for the technology to truly take it up a notch, it's getting there. My favourite is definitely the Vive, just peripherials and the resolution is great.

No doubt, the PSVR 2.0 is going to be amazing and I will buy that again.
Microsoft's support rules for Windows10 LTSB void allure to enterprise customers
From the other side of the table, anyone who is a big name in Deep learning will fetch big bucks (if we can afford it).
I use it because I like to highlight text whether its a news article, online text book, or HN comment. Then the next time I reference the material I already have the content I need.
Truncations happen in many sizes. The combinations here are not helpful: N functions * M commonly chosen sizes. Simple assumptions: 20 functions * 10 sizes = 200 codes. already not good.

You can print a human-readable version of multihash as:

sha2-256-20B-<hex>

Using the same values of the table. But again, it is preferable that it travels in-band with the values, as otherwise it will likely get chopped up and placed into out of band context.
9 Types of programmers Really funny
Makes me feel bad also, until I think of the living costs in US big cities. I would really like to see an European version of this thread. Probably the bar would be set somewhere around EUR 100k?
200k US$? I am from Germany, currently working in a company and studying at a university (both in the fields of computer science). To be honest, I never thought about how much I wanna earn in 5 or 10 years, but 200k US$ is super high.. Or am I missing something? I don't know how the US tax system works, but is this, what you can spend? Or is it 200k US$ minus taxes?
I am kinda confused right know, can somebody help me please? :D
Standard annotation providers will have the same spam-prevention challenges as existing comment/annotation providers; the standard is just a way to link annotations to the annoyed material when the former is maintained with a separate party from the latter.