HNHacker News
TopNewBestAskShowJobs

aplusbi

1,410 karma · joined April 29, 2009

I'm an unremarkable programmer who, unremarkably, keeps a blog: http://www.aplusbi.com

I hope to one day be remarkable.

submissionscomments
aplusbi··on Moonlight on Android
Yes, but since Netflix doesn't use Silverlight for the iPhone/iPad it's not like it's going to make a difference one way or another.

MS has licensed their DRM, but they will not license it for use with Moonlight. From my understanding, the licensing they have done has generally for hardware (the NXP chip in the Roku box, for example).

aplusbi··on Moonlight on Android
Probably not. Moonlight doesn't have the DRM necessary (and won't - MS has no intention of releasing it on Linux) and Netflix doesn't use Silverlight/MS DRM on phones anyway (AFAIK).

From what I understand, on the iPhone/iPad Netflix uses the DRM built into the device. Since Android phones are built by several different manufacturers there is no uniformity in hardware DRM (and some phones don't have any at all). I imagine that it's easier to get content providers to agree to use hardware DRM than software DRM which further complicates the issue.

aplusbi··on Here's the Email That Could Cost Mark Zuckerberg Half of Facebook
Out of curiosity, how did you verify that the emails were actually sent before storing the hash. What would prevent me from storing a hash on your server without sending the email?
aplusbi··on That dev's salary is higher than mine
I think that people should be able to negotiate their salaries even if it leads to a large disparity in base salary. Without negotiations, companies risk losing talent.

However, I think the way raises are calculated needs to be revised. Currently raises are typically some percent of the salary and the range of percentages is fairly narrow (so the disparity remains constant). If instead raises were calculated with the goal of equalizing the salaries of like-performing employees the disparity would fade in a few years.

The problem with this, of course, is that lower paid employees get larger raises, which may seem unfair to the better paid employees. This can be solved by making salaries more transparent.

Although if salaries were more transparent then you probably wouldn't have as many problems in the first place.

aplusbi··on Where meritocracy fails
I don't believe that drblast was trying to make this about a battle of the sexes but was just using gender as an easily identifiable example.

The article states that Postgres isn't a meritocracy because the hackers aren't from diverse backgrounds. drblast was attempting to show how this is a logical fallacy - meritocracies aren't ipso facto diverse.

aplusbi··on Github, the future of book publishing?
Do you have a citation? I checked wikibook's Terms of Use and it didn't say anything about giving up ownership.
aplusbi··on How an informal IM exchange cost one business a million dollars
There are several factors that led to this, primarily:

1) written modifications (with signatures) were allowed 2) under Delaware law, conduct or statements could modify a written contract with a signed writing clause

Clearly in this case statements could not modify this contract (as it was explicitly prohibited). However the court ruled that the IM conversation was not a statement but writing.

The court also decided that since Delaware law allows statements to modify a contract (even one that requires signatures), this also applies to written modifications.

While I agree that it's shocking that a contract can be modified so easily without a signature, that's a law that is already on the books. The only precedent that has been set (as far as I can see, IANAL) is that IMs are writing.

aplusbi··on Hiring Developers: You're Doing It Wrong
If you assume the goal of an interview is to hire "good" people then you're right. If you assume the goal of an interview is to not hire "bad" people, then I think you're wrong.

I think in practice it's almost impossible to determine if someone is a "good" hire based solely on an interview (regardless of technique). It is possible to determine is someone is a "bad" hire based on an interview however.

aplusbi··on The pi is a lie… Happy Half Tau Day!
What I find especially ironic is that while I completely understood that I could get the x and y values using rcos(t) and rsin(t) and used it a lot when I worked for a video game company, it's only more recently that the idea "clicked". I always thought about sin and cos in relation to triangles and not circles.
aplusbi··on The pi is a lie… Happy Half Tau Day!
Radians are pure numbers (which is why I left them out). That said, I see what you mean now and I agree. sin(1/4 of a circle) makes more sense than sin(1/4 tau) which makes more sense than sin(1/4 360).
aplusbi··on The pi is a lie… Happy Half Tau Day!
Perhaps you are correct. I don't remember the order in which I learned various concepts but I probably learned about degrees before pi and certainly before trig.

Since radians involve irrational numbers I can understand it being more difficult to learn than degrees. However degrees are a completely arbitrary unit that are used for historical reasons.

Getting stuck thinking in degrees hindered my ability to understand trigonometry, and I don't think I'm alone. It is my belief that teaching trig using radians would be less confusing than teaching trig using degrees first, then radians (as was my experience). With degrees there is no direct correlation between 90 degrees and the values of the trig functions which leads to people simply memorizing values. The same is true (to a lesser extent) when using 2 pi.

aplusbi··on The pi is a lie… Happy Half Tau Day!
It's not simpler, it's identical. 1 "cycle" = 1 tau = 2 pi.

And in any case, I think using degrees to teach trig is a terrible idea and only causes more confusion later. sin90 = 1 makes no sense, and the fact that that's my first thought when thinking about sin only causes me problems. If I had instead been taught radians first, a lot of stuff would be significantly easier.

aplusbi··on The pi is a lie… Happy Half Tau Day!
It's not about errors but understanding. A lot of math involving trig is abstract enough to be confusing to most people. Tau makes is [slightly] less so. For example, understanding that sin represents the y value of a point on a unit circle is easier when 1 tau is a full circle rather than 2 pi.
aplusbi··on Real cost of C++ exception vs error-code checking
I think you partially missed the point - it's not that throwing exceptions is slow, is that even having them in your code is [allegedly] slow.

According to the article there are two methods used to implement exceptions in C++ - one that has higher overhead when you throw an exception (zero-cost) and one that has higher overhead when you call a function that might throw an exception (setjmp/longjmp).

Unfortunately the author didn't go over the latter method, which would have been more interesting.

aplusbi··on The blind man who taught himself to see
I stand corrected. It's hard to tell from the video.
aplusbi··on The blind man who taught himself to see
I don't know about that. While that system is clearly easier to use, from what I've heard about echolocation it provides much more detail than that system.

If you look at my other post, I linked to a video of a kid who used echolocation. He could distinguish objects - he walked past two garbage cans in the street, and said "Is that a car? clicks his tongue several times No, it's a garbage can."

aplusbi··on The blind man who taught himself to see
Here's a teenager who could do the same thing: http://www.youtube.com/watch?v=YBv79LKfMt4

The video is from when he was 14, he died from cancer at 16.

aplusbi··on 70% of the Public Finds Piracy Socially Acceptable
>If I deleted my digital copy that I sent to someone, would that be okay?

Ethically I believe this to be equivalent to lending a book/cd/whatever to a friend (this has been done, actually, as a protest/stunt. A guy attempted to sell an mp3 from iTunes on eBay).

>If I download something from someone, am I responsible for verifying the copyright or is it the distributors responsibility?

Distributor, generally. I feel this is similar to receipt of stolen property. In most places you are only liable if you knew it was stolen.

>If someone requests something from my computer, and my computer allows them to have it without my explicit intervention, am I responsible?

Yes, though how responsible you are is debatable. Intent is important but ignorance is rarely a successful defense.

>Am I responsible for distributing a file if someone downloads it after accessing an FTP server I setup using an anonymous account?

Why wouldn't you be?

>What if it required a password?

How is that any different? Or do you mean someone guessed the password?

Of course, most of these answers are just my opinion/speculation. Sometimes the line between "piracy" and "sharing" is blurry which I think is a huge part of the problem. There is (seemingly) no way have one without the other. If I want the ability to lend an ebook to a friend then I must also have the ability to give a copy to my friend. There are some systems in place to attempt to reconcile this, but they are either limited (you can lend it x number of times) or take away some other right (for example, it might take away the right to have a backup copy).

aplusbi··on Ditch Starbucks and work at the library
I have occasionally brought my laptop to the library near my office to work. However if I'm at home and want to head out, the nearest coffee shop is 4 blocks away and the nearest library is 20.
aplusbi··on Why won't anyone hire middle-aged geeks?
I wonder what the statistics would look like if we normalized the data for these things. There are plenty of middle-aged geeks without mortgages, kids, etc and plenty of younger geeks with them.
aplusbi··on How Effective are Technical Interviews?
The "dating" process only works when both parties are available. If the candidate currently has a job asking them to take time off (or worse, quit without a guaranteed offer) is asking a lot.
aplusbi··on How Effective are Technical Interviews?
I always look at that stuff and I ask about it during interviews, but I still ask general technical questions. Sometimes the candidate's contribution to a project is nothing more than writing the README file.
aplusbi··on How Effective are Technical Interviews?
I interviewed a candidate who had an impressive college project involving compilers on his resume. Almost any question I asked him about it was answered with "I don't know, the other guy did it." Even asking him "What did you work on?" resulted in an "I don't remember."
aplusbi··on How Effective are Technical Interviews?
This sounds like a great idea but I feel it has a couple of short-comings. Most importantly is that it can be counter to the idea of preferring smart, motivated candidates over candidates that are well versed in certain technologies.

Additionally, this technique would probably work against college students and recent grads.

It can also be hard to quantify the results and the questions will vary wildly between candidates.

Of course none of those obstacles are insurmountable and I think that when this approach works, it probably works better than a more general tech interview.

aplusbi··on How Effective are Technical Interviews?
I posted this in the comments on the blog, but I'm reposting it here for discussion:

I've done a lot of interviewing and have been interviewed myself a few times so I think I have a good amount of experience in the process. There are a lot of factors involved in technical interviews which I think a lot of people miss.

Tech interviews are usually only an hour, so the questions have to be short - this often leads to more academic questions, and questions not directly related to the work done at the company.

Interviews only tell you so much. You won't really know much about a candidate until they've been working with you for awhile. As such, many technical interviews are more about weeding out bad candidates than finding good ones.

People embellish, cheat and lie. Just because a resume is impressive doesn't mean the candidate is impressive. Just because they worked on a project doesn't mean they contributed anything worthwhile to it. Most people are honest but will still bend the truth sometimes. It's a lot harder to do that in person.

I like the idea of having a candidate work with the company for a week, but that's not realistic for a majority of cases. Not all companies are going to be able to do this, and neither are all candidates. If a candidate already has a job, asking them to take a week off is asking a lot. I also like the idea of a "homework" assignment. However it's possible for the candidate to cheat. It's also asking a lot of the candidate who may have a job and a family life.

These two approaches heavily favor college students and recent grads.

It's far from a perfect system. However it's reasonable (or so it seems) and is easy for companies to implement.

aplusbi··on Interviews with Fibonacci
Most of the interviews I've been to involved coding. The only one that didn't was my first - but they required a code submission.

My reputation/referrals have allowed me to skip parts of the process but never the whole thing (I've skipped phone screenings, for example). I haven't been in the industry as long as you (~6 years) which might have something to do it. Also, you may be well known whereas I am not.

aplusbi··on The Myth of Female Software Developers
I think the point is that of the information available on students, math performance is the best indicator for cs performance.

Obviously there are outliers (such as yourself). However I don't think there are any reasonably objective statistics for many of the other qualities you have mentioned.

aplusbi··on Eek, A Male
You're going to want better (different, rather) citations if you want to justify your claims. None of those citations give reason to be wary of allowing a male teacher to be alone with a student.

What are the statistics on the number of men who are pedophiles? Better yet, what are the statistics on the number of male teachers (who are screened before they are hired) who are pedophiles?

If there was only one pedophile in the world, and he happened to be male, you could say that 100% of pedophiles are male and so you should never leave a child alone with a man. But that doesn't make sense, does it?

aplusbi··on Eek, A Male
While I agree about the lack of supporting evidence for her claims, nothing in the article suggested to me that she isn't concerned about pedophiles, nor do I think this article was really near a gray area at all.

>Of course it's stupid to label all men as possible predators, but there's another side to it: when a single pedophile can damage literally hundreds of children, who wouldn't have cause for concern?

Concern about pedophiles isn't the other side to this. It's related in so far as our concern about pedophiles has turned into a concern about men in general. The only way it could be the other side would be if the majority of pedophiles are men (probably true) AND if a significant amount of men are pedophiles (I don't think I need to cite any references to say this is absolutely false).

It's pretty easy to have concern about pedophiles without having concern about men working with children. In fact, we already have systems in place for this - all teachers are screened before they are hired, for example.

aplusbi··on BitTorrent Has More Users Than Netflix and Hulu Combined--and Doubled
I am not trying to take a stance for strong copyright. My stance is that there are (or can be) non-artificial ethical reasons to not commit copyright infringement.
← PreviousPage 8 of 15Next →