HN user

Serplat

210 karma
Posts8
Comments19
View on HN

For smaller memory allocations that don't go directly to the OS, I suppose it's theoretically possible (though I'm not sure any compilers do it). For the larger allocations that the author mentions that go directly to the OS to fulfill, however, the compiler wouldn't be able to optimize this away. In that case, the zero'ing occurs in the kernel, which is something that the compiler has no control over.

The zero'ing is done significantly for security reasons anyway. If a program could somehow disable that feature and get leftover memory from the kernel it could very easily contain password, secret keys, and other important bits of data that you wouldn't want random programs on your computer to have access to.

This story appears to go beyond a simple HR dispute, but is endemic of a culture all too common in our industry that we should have zero tolerance of and should work to undermine. It appears that not only were inappropriate statements made, but other high-ups at Google weren't willing to stand up for what's right. Considering this happened at an employer of many readers on this site who may have additional insights or stories to add, I think it's perfectly reasonable to have posted here.

Prison Switcharoo 12 years ago

The issue is that the counter doesn't know the state of the first switch at the start. If it's on at the start, then sure your solution will work. But if it's off at the start and they all agree to only flip on the switch once, then the counter will sit around forever waiting for p flips, when only p - 1 will ever happen. They need a solution that will work no matter what state the switch is in at the start.

33 Questions 13 years ago

I think you misunderstood. powrtoch proposed having a set of questions in which each individual question is itself very complicated. For example, being a non-practicing Catholic with exactly three children is only one small facet to a single question. By or'ing a bunch of really specific questions together you can come very close to getting exactly 50% of the population to answer yes to a single question.

This bothered me as well, particularly for the example that they provided. The convention may work for tracking conversations, but knowing the exact time that the helicopter was spotted relative to other events seems more important. Yet, by their convention you can only accurately compare it with the time of other cited tweets.

I would agree, but the pricing page only claims compatibility with more modern browsers: "Cross-browser tested (IE 9+, Chrome, Safari, & Firefox)"

When's the last time you saw a laptop that old running one of those browsers? I typically see them running IE6 or 7.

I think you're absolutely correct regarding "homework." It can be a good indicator of a candidate's competency, but many people don't have the patience to do it.

I spent much of this past fall interviewing for an internship for the upcoming summer. It's one thing for a company to ask a candidate to devote a day to interviews, after flying them out and putting them up in a nice hotel, but it feels completely different to have the candidate complete some sort of homework.

The candidates that you want to hire are likely busy interviewing with several other companies as well, and probably don't have time to work on some random assignment for your company. So, unless your company really stands out, they're just going to pass.

I've found that interviews benefit both the company and the candidate, while I can only really imagine homework benefiting the company. I learn a lot about a company from the way they interview and the way developers talk about their jobs; the interaction is really important. Yet, homework assignments don't really have much interaction, and end up being a test of how much the candidate wants the job, instead of how well they fit with the job.

The theory behind it is that material about specific frameworks is easily learned. If a company is looking to hire you, what you currently know matters far less than what you can learn. The best developers are able to master new frameworks in days or weeks, making their current experience near meaningless.

So, instead of testing what you current know, many companies look to evaluate the way you think and your potential to learn. I'm sure that the current methods of doing this aren't perfect, but I think they're a hell of a lot better than asking me minute Hibernate details when I haven't used Hibernate in years.

I currently prefer overall design questions. The type where the interviewer proposes an overarching problem, and you have to design a full system to handle it (not a difficult algorithm necessarily, but the data structures and classes involved). Mix this with a bit of actual coding, and I think the interviewer can get a decent idea of your skills.

This completely misses the point of Two-factor authentication, though.

Two-factor authentication is all about increasing security by combining two separate factors: something you know (password), and something you have (phone). From what I can tell, you're just switching from relying on one factor (password) to relying on the other factor (phone). It's just a different one-factor authentication paradigm.

Unfortunately, this leaves several gaps. For example, what happens when I lose my phone, or someone takes it from me? Can that other person log in immediately?

I can potentially understand an argument that this is more secure than solely password-based solutions (although I don't think it would be for me, where I use complex random passwords), but I certainly wouldn't consider it an alternative to two-factor authentication.

The DNT header was likely to be ignored to begin with, but this just seals it.

The only way that the DNT header even stood a chance was if it was only enabled by a select few individuals who are greatly concerned with their privacy. By defaulting it to 'on' for users who don't particularly care about their privacy, or understand any of the implications, they essentially guarantee that only a handful of sites will even consider honoring DNT.

Assuming they actually stick with this, DNT has lost all of the little meaning it had to begin with.

RethinkDigg.com 14 years ago

Actually, when it was first released, it simply didn't work. Very few pages actually loaded, and there were errors all over the place.