skysight-inc/HackerNews huggingface dataset:
Our implementation at Hypothesis uses a robust anchoring approach we call Fuzzy Anchoring. https://hypothes.is/blog/fuzzy-anchoring/
I don't put my TODO's at the start of lines? Usually only in single-line comments after some code.

I think a script with a few grep invocations for all code files with lines containing TODO/FIXME etc. is about right, takes minutes to set up and will work for all but the most obscure cases.

It'll easily deal with your README.md case.
Yes, I am also interested in going the self study route with MOOCs but there is way too much information and resources that it is hard to figure out how/where to start. It would definitely be helpful if you could provide recommendations on books.
> I make $250K (base and total) at a non-profit.

This is pretty intriguing. May I ask how common this is? I have imagined non-profit careers to be in the <$150k range and not comparable (compensation-wise) to tech companies/startups.
>compiler developers do unintuitive but technically legal thing in the name of performance

I still think the relationship between compiler developers and developer-users is toxic as fuck, but as long as we keep comparing compilers by increasingly anal microbenchmarks instead of increasingly anal "correct in practice" tests, I don't see why we continue to find this a surprise.

When we demand better performance, compiler developers are going to exploit undefined behavior as well as other language "loopholes" that don't make intuitive sense. Perhaps a new focus on correctness in practice would change this.
Because when you submit the same story again, it instead counts as a vote for that article and redirects you there.
How would rooting your phone (to be clear: enabling the ability to "su" to root, thus giving you full power over your system) screw your camera/image quality?
I totally understand flashing 3rd Party ROMs where they can't speak to the hardware as well.
From Mr "suck it in and cope"? I'm not even sure what to think of it...

http://www.zerohedge.com/article/munger-tells-25-million-ame...

Edit: To downvoter(s): Truth is, this is from a guy who told an audience of students and the media for good measure that they should be happy to be getting raped up their's with gravel. And he has billions to show for the privilege. If you're fine with that, then hey that's cool, there's not much I can do for you. Just remember: his tips aren't necessarily your friends.
And the companion list, "What If I Don't Actually Like My Users?", for easy-to-misuse interfaces: https://ozlabs.org/~rusty/index.cgi/tech/2008-04-01.html
Python is a great language, but three months isn't much time to become proficient and find work. You'll need to hit it hard. One way to build your resume would be to find a Python-based project on github, and submit a bug fix. Good luck!
You might want to take a look at how Django does it, which is more or less an accepted best practice. https://docs.djangoproject.com/en/1.10/topics/auth/passwords...
This is going to make for some awesome release notes and new feature release marketing. Very well done @yrashk.
ESI isn't from fastly.. it's an old W3C standard from 15 years ago. You have to markup all of your HTML to use it though.

So Cloudflare made a nice improvement with Railgun, so that you don't need to markup your HTML.. but you have to setup and run railgun on your server, so it can compare the pages. (I don't think it does anything else other than basically diving up the page content so individual parts can be cached.. but someone from cloudflare is welcome to tell me I'm wrong.)

To compare our tech to railgun:

- there's nothing to setup or run (you just enable it for the zone), and you don't need to modify your pages (like you do for esi)

- it works on all content, including binaries/images/etc

- each page/file only needs to be analyzed once. So if a page is first seen in a request from Japan, a 2nd request from Germany would be accelerated, even though that PoP has never seen the page before.

- Because of the way it works, it's paired with adaptive routing, which routes the data over the fastest active link between the pops.. so there's no handshake setup time, ssl negotiation time, etc over the long haul.

When its enabled, we actually use it to transmit most content between the pops.. so it also accelerates revalidation of static content, etc.

Edit: also it's not $200/mo.. it's just included with your account.
VR needs a GoldenEye moment. VR needs the kind of revolutionary blockbuster that Doom was, to make people sit up and take notice. Something that really pushes the possibilities of the technology, and pushes us into a new era of gaming, the way FarCry pushed the limits of video technology.

Instead, it's not quite getting dumped in the sand the way Atari dumped ET in 1982, but it's not far off - major supporters are giving half-hearted statements, and the biggest application I've heard about receiving VR investment is a desktop replacement - not exactly something from which I'd expect a compelling VR experience. So far, my most mind-blowing VR experience has merely been Google Earth.

Where are the Wii-game clones? Where are the DDR-clones and, like, retro arcades? Where are the games that have co-op in the same space? Why can't you invite your friends into your Google Earth, to look at the same scenes?

We're roughly a year out, with multiple platforms, and almost every game is still a tech demo. Where are the news reports of people breaking their TV with their Vive-mote? - Nobody has been so preoccupied with a VR game that that they flung the controller into the TV yet. I'm worried that investors were so preoccupied with whether or not they could make money off of this, that they didn't stop to think if they should make it fun. How many consoles have successfully gone their first year without a compelling release, and later recovered?
And with that the risk of the permanent destruction of the market for student lending in the future, meaning college will go back to being a upper-class game.
Summary of 'Programs with Common Sense' (1959) by John McCarthy
When did a >server become a consumer desktop?
I'm writing an `sh`-based version, should take about 20 minutes minus the fluff.
Adding to that - it's the flaw of averages at work in many of those examples. The listed "expected value" in some of those examples could never actually be a real outcome of the examples - it is completely rational to opt to take a 500 loss rather than risk a 1000 loss if you have, say, only 750 to your name and cannot be overdrawn (see debtors prison or whatever incentive one would like to imagine). The expected value of the $500 loss only happens in one option. In the $0 or $1000 loss, if you had repeated draws over time it would indeed trend towards an average of a $500 loss but in a single draw situation, you can never achieve the average so you absolutely must view it as different from the flat $500 loss and compare that to your imagined circumstances in this thought exercise.
I don't know who is in charge of Sony's smartphone business, but boy did they fucked up. What a confusing mess. Sony used to be a huge brand, innovative and look what happened.

I mean, they had everything; the design chops, the brand power, the tech, the Sony Stores, etc... Everybody knows the iPhone, Sams's Galaxy, LG G series, Moto phones, but Sony really failed to market their Xperia phones properly.

Just for fun, I went to Sony Canada's website to look at their phones and they have 21 models on the page. I'm not joking. https://www.sonymobile.com/ca-fr/products/phones/
I make about 500K
Over about 5 years
Just for a piece of context, this year, the base salary for right out of college software engineers at Google is ~$110,000. I would be very surprised if over the course of 10 years just $60,000 was added to a salary.
I have a Z5 Compact as well. Nice little phone, and quite fast. However, I don't think that many developers test their apps on a sub-5" screen, because I've encountered issues with several apps where controls overlap. For example, in VLC's file list the context menu button overlaps with the invisible scroll bar track. It is easy to scroll accidentally. Amazon Music has exactly the same problem, too.

The Android ecosystem is difficult to recommend, and a small Android phone is even more difficult to recommend.
Wonderfully written. Sent this to a bunch of people already.
I run a company that collects compensation data. We do have a lot of people making well over $200K, though its much rarer in pure salary form. The difference with our platform is you can actually curate by people with degrees from top programs or working at top companies. We can also break it out between salary, bonus, RSUs, etc.

Most of the people in our database with masters degrees and a few years of top-tier experience make in the $120K-$160K salary range, but including stock options and bonuses, a lot of people are easily passing $300K at top companies in mid-level engineering and product roles.

I'd be happy to do some custom data pulls for anyone if anyone has any specific questions. If you want to explore more of the data yourself, check out https://www.transparentcareer.com
At least with the 'big' valley companies, as a "senior engineer" (level 5) the usual numbers are around $170k base + a bonus that is 10%-20% of your base salary.

That's about $200k cash without RSUs.

So I'd say people are not lying.

I guess if you switched 7 times in 10 years, it's hard to get RSU refreshers / salary bumps and companies tend to, if in doubt, hire BELOW your actual level.
I see the same thing on /r/cscareerquestions and /r/programming. Who benefits the most from pushing the image that the average silicon valley programmer makes this much?
The backend does many different things, hence could be split into microservices
I've noticed the disconnect on glassdoor and real world as well. I don't think people are lying, but there may be bias in that people with large salaries want to boast here.

In general, I find public stats useful for relative information (this job pays more than that, this company pays more than that company) but not useful for my own negotiations.
Scientists suggest spacetime has no time dimension
There is - but there is no good reason to not have good naming plus also a simple wrapper to do the most common cases. That the IO framework is very general is good, but that you need tons of boilerplate for a common scenario is bad. C#

var txt = File.ReadAllText("file.txt");

This is exactly the abstraction you want if you want to read a (whole) text file. The point of abstractions is to pick the right one. For IO it's likely best to have many layers of abstraction so you can choose the simple top level function or use a more complex one when needed.

I'm sure there is something similar in Java these days too. Would be a huge mistake to not have simple IO helpers to the std library.
Part of the goal of making it a standard, and one in particular where annotation clients could listen to multiple annotation service providers, is precisely to avoid "Annotation Central". Our client does not currently operate this way, but our intention is to move that direction this year. Many underlying architectural changes are being made now to support that change.
Your comment upthread counts as trolling whether you mean this explanation seriously or not. No one could have understood what you posted in this sense, and singling out Africa the way you did is incredibly rude.

Please do not post to HN like this. Comments here need to be both civil and substantive, and yours was neither.
I know Dan Whaley, the author of the post, personally. This is not about promoting a company. This is about allowing people with knowledge to combat fake news. He has been working to make annotation a web standard for years. The fake news that he, in particular, is worried about is climate change denial. The pages of the WSJ and much of the Web are riddled with BS. This annotation enablement will allow, for example, climate scientists to set up channels that annotate the falsehoods and point to credible sources and facts.
OP and the rest of her eugenicist crew make clear in follow-up comments that no satire was intended. I don't see how you read anything here as satire either.
Glad you shared your experience here. I totally believe you're right. People are getting mad with numbers, taking the best salary they've heard of for the average, which is so inacurrate..
An explanation for the lay person of why this is.

Engineering degrees typically start off with a couple of years of general science education, with minimal contact with the engineering faculty. It's often not until halfway though the degree that the engineers branch off from the science students, into engineering specific courses, and find out what makes an engineer different to a scientist.
amazing. 4x what I was paid out of university, and still more than I've been paid since

If you are in Silicon Valley and at uni, I guess whether you get into Google etc. or not will make a massive difference to your future. It could determine if you have enough money to but a house, have kids in the area in the future, etc. All down to a few interviews.
Looking at glassdoor.com and my personal experience, salaries are much lower than what people are claiming on HN

A major problem with Glassdoor salaries is the absence of a date range. The salaries they show is the average over the period of time starting when they started collecting salaries. So yes the salaries on Glassdoor tend to be lower than the current average.

A lot (too many) people on HN are claiming $200k base salary per year as being totally normal.

I agree. It is pretty high. My own reference for base salaries is my own website where I collect H-1B salaries. We also have an option to only show the salary distribution starting on a given year. For instance, for a software engineer at FB, the average base salary is $149k if you only include salaries reported after 2015 [1]. At Netflix however, Sr. Software Engineers make $200k on average[2].

[1] http://h1bpay.com/companies/Facebook/cities/Menlo%20Park-CA/...

[2] http://h1bpay.com/companies/Netflix/cities/Los%20Gatos-CA/jo...
Most cases of hypothermia occur in the temperature band between 30 and 50 degrees, so I'm not sure what your emphasis on the temperature was supposed to indicate.

Additionally, exposure to cold temperatures can be more dangerous if it rains, or if a person is in compromised health for any of a bunch of different reasons.

And, obviously, shelters aren't built for the overnight low temperature yesterday. It's 45 degrees out right now in Chicago (having just had an hour-long phone call in my back yard, with a jacket on: way too cold to sleep outside!), but it should be far lower, and could get much colder on very little notice.
By arming the "rebels" (the Syrian govt calls them terrorists), the "western world" has already intervened.

These type of "intervention" follows a pattern.

1. First we instigate an uprising by exploiting existing tensions or creating one.

2. Then when the local govt reacts like we expected them to, we cry foul, and say we have to defend helpless civilians from a "brutal and authoritarian" regime.

3. We warn members of that regime's police and military that they'll be guilty of war crimes if they act against the "rebels". This is when you come to see the role the International Criminal Court plays in our efforts at global domination. Key members of the govt military will start getting phone calls to defect. And many will defect.

4. At this point all you'll read in the western press about the local govt are just how bad the regime is. Propaganda all the way.

5. If things are not going according to plan, we rush to the UN for permission to establish a "no fly zone" in the country. We'll get our wish, of course. And that's when cruise missiles start taking our the military infrastructure of the local govt. Dams and other civilian infrastructure are fair game too. Everything goes down hill from there.

That was how it played out in Libya. Syria was close to 5 when Russian stepped in. Assad owes Putin big!

While this is going on, we in the west (the rest of us not involved in the war effort) are busy with our lives. We don't bother if it's our govt doing it to others.

And the beat goes on. Until something happens. But it happened because "they hate our freedom".

But the gods are not to blame.
Also there is a difference between 'doing Java' and being a Software Engineer writing code in Java (or whatever other language makes sense or makes you happy). For sure you can find people 'doing Java' but I wouldn't allow them to commit a single line of code into anything I care about or want to be associated with. It's not about how much code you produce (which 'doing Java' sounds like) but what quality you produce and how little code you write to make your project do what it should do. That's exactly where these two kinds of people differ. With 10 years+ I would hope a developer is in the second part and wouldn't hire someone still being in the first one.
They aren't lying, but you're witnessing a perfect example of selection bias: high-earners are much more likely to voluntarily share their salaries.
We agree that this is an issue that deserves attention. We've discussed it here.

https://hypothes.is/blog/involving-page-owners-in-annotation...
Corporate Communication in the GE Pricefixing Scandal [pdf]
Who is "them"? There are many smart people who acknowledge that climate change is happening, but also acknowledge that there's no proof that there's a clear urgent action we need to do.
Multihash doesn't work for storing password hashes, both because the cryptographic hash algorithm are too fast for password hashing, and because password hashes need extra info like the salt and parameters like the work factor for Bcrypt.

There are two standardized formats that can be used for storing password hashes in one field. There is the RFC2307 format from LDAP which prefixes the algorithm like "{MD5}". There is also the crypt format which uses prefixes like "$1$".

There isn't a standard RFC2307 scheme for Bcrypt but can use "{CRYPT}" for crypt format, or "{BCRYPT}" with crypt-style bcrypt hash.
Deep Reinforcement Learning: An Overview
Pop used to be one of the few ways creative and intelligent working class kids could become millionaires.
Schizophrenia risk alleles and neurodevelopmental outcomes in childhood [pdf]
So, what do you want them to do? Scale up their manufacturing to fulfill the projected initial demand peak, hope they got it right, and scale it down afterwards, or pile up a few weeks or months of production before starting selling it, increasing the amount of money they need to invest before getting money from sales?

Scaling production up and down may be easier than it used to be, but it still can be fairly costly.

I think the advertising of 'we sold more than we can make' is just a nice extra.
The White House Correspondents Dinner, Without Trump
Yes. There are many cases where a lower expected value is a rational trade off for reduced variance.
It...it doesn't, most of the time
http://community.pcgamingwiki.com/uploads/gallery/album_63/s...
Fair point about ambiguity of what a given string means.

> I think what you would like is if some body (NIST + all others who make hash functions) was maintaining the registry.

Not really, that sounds ungainly.
Hypothesis supports private "only me" annotations, as well as the ability to create ad-hoc private groups. Only about 24% of annotations made through our service are public.
Been a Googler for >8 years, currently among top 10% of engineers at Google.

Base: >200K, Total comp (w/ bonus + RSU): >500K

Total comp number counts RSUs which are going to vest in 2017, at the current GOOG price of 825+. If GOOG tanks, total comp would go down accordingly.

Didn't have to do anything special, neither I am a rockstar/ninja like Jeff Dean or Amit Singhal - just worked hard, made sure to be on a team with good people, avoided bad managers (lots of data sources within Google to figure out who is a good/bad manager).
Selection bias - the title of the other Ask HN was "Do you make more than $200K? What did you have to do?", after all.

Secondly, I think there's a difference between "totally normal" and "not outlandish". Most sentiment falls in the latter unless you're asking people in the Battery Club.

Considering most managers are making $170-180k base, a $200k base is not outlandish for someone who has specialized knowledge in high demand.
> Could you implement insertion sort from scratch at a whiteboard in less that 45 minutes? Including getting the partitioning part right? It's tricky, and at a whiteboard, it's particularly difficult to get right (well, for me it is).

I think you have confused insertion sort with quicksort. Let me stress that not only would I have difficulty doing quicksort correctly in 45 minutes on a whiteboard, I'd have difficulty doing it in twice that time on a computer. And for exactly the reason that you specify -- the partitioning part of the algorithm is very hard to get right.

Insertion sort, on the other hand, is a breeze.

It might be reasonable to ask somebody to code the recursive part of quicksort assuming that they already had a function to do the partitioning part. This might be useful to see if they understand recursion.
> That interactive SVG slide-show is pretty impressive in itself.

That is @shepazu's work.
OTOH AT&T in the US has already shut down its 2G network and T-Mobile US has reduced their 2G capacity to the point where they can operate it in the guard bands for their 3G signal. 2G is basically on life support in the US at this point. The writing is also clearly on the wall for 3G as well, though the carriers won't be able to shut that down until enough people upgrade to VoLTE-capable handsets (even T-Mobile, who have the greatest VoLTE penetration among the US carriers, still see a third of their customers' calls go over their 2G and 3G networks).
I think that generally, yes, people lie/embellish/exaggerate, especially about things like their salary and especially on the Internet.

I cannot speak to any situation in the SF bay area, but I have caught people telling this lie, and had people confess to telling this lie.
Multihash looks cool. It looks a little tricky to apply directly to git, though. The problem is that git and git users treat the first few bytes specially. In git, directories are split on the first few bytes, and users particularly use the first few bytes to distinguish between commit ids.

I wonder if multihash might be useful in git if slightly reordered (so that at least the first several bytes of the hash function are first).

I'm thinking out loud; I'd be interested in hearing others' thoughts.
Why is "base salary" a metric that you are even paying attention to as opposed to "liquid annual compensation"? The second one is the one that puts money in your pocket. I assume that anyone talking about "base salary" is actually trying to sloppily distinguish between liquid compensation and illiquid compensation and interpret accordingly.

Average Google engineers aren't getting $200-300k in "base salary", but they are putting (before taxes) $200-300k in their bank account per year.
Using Dataflow in Clojure to process Google’s huge new WikiReading dataset