Type erasure has always driven me absolutely batty. The fact that it doesn't factor into overload resolution is particularly frustrating, because you can't create a single class that implements both SomeInterface<P> and SomeInterface<Q>. Bah. Good work, Bob! - Joel Webber
Can't take credit for this one. Jesse implemented type variable resolution. Nice work, Jesse! - Bob Lee
I feel so dumb, since I have absolutely no idea what the excitement is about! - Patrick Lightbody
Patrick, if you have a class Foo<T>, inside Foo, if you want a Class<T>, normally the user has to explicitly pass it in, or you're pretty much out of luck. Now, if Guice creates a Foo<String>, it will inject TypeLiteral<String> (which contains String.class) into Foo. - Bob Lee
Hmm: injections, bindings, it looks like Java is taking some serious medication :) - 9000
Useful for the purposes of injection under test or protecting against cast uses, but is runtime type information something you really want to encourage generics based applications to start building logic upon? - Bill Strathearn
I did a bit of research into the bad tactics around Proposition 8, including falsely implying Obama's support, lying about kids/schools, and threatening companies who supported Equality California ... it's really sad that these tactics appear to have worked. - Tom Stocky
The ads about the kids in school didn't make rational sense at all--suppose they did learn about it, it would be at most 5 pp. in a social studies text! But the ads played on parents' deep-seated instincts that they don't want their own children to be gay. From an evolutionary POV, the instinct is perfectly natural. Unfortunately civil rights / fairness / the golden rule didn't trump this emotionally. - Ruchira S. Datta
People need to be educated that homosexuality is not a choice--it doesn't spread through some sort of mental contagion. This becomes obvious once you learn that it occurs across diverse species in the animal kingdom. - Ruchira S. Datta
I'm confused about the lying about kids/schools. The Education Code §51890 is clear, and it seems like State Superintendent is wrong. I don't think there's any requirement that he apply the code correctly. In fact, I think he could get fired or sued for applying it incorrectly. Can you clarify? - Joel
@Joel: That section is just defining what "comprehensive health education programs" means. It doesn't say what (if any of that) should be implemented. If you look at 51913, it talks about the criteria for reviewing plans, which need to include "evaluation of the program by the governing board of the school district with the assistance of administrators, teachers, parents, pupils, and participants in the program from the community." Then 51914 reiterates explicitly "No plan shall be approved by the State Board of Education unless it determines that the plan was developed with the active cooperation of parents, community, and teachers, in all stages of planning, approval, and implementation of the plan." - Tom Stocky
Video sent to me by an evangelical Christian I know - http://link.brightcove.com/ser... -- If you believe that being gay is a choice and a wrong choice at that, then I think you are easily scared that your children will be told by their teacher that being gay is ok. I don't agree with this and am deeply saddened by the tactics used to get Prop 8 passed. - Michael Leggett
My wife (who was reporting on the election on Tuesday) said that many of the people she interviewed were for equal rights for gay couples but didn't want their children taught about it in school. Further evidence that the lies spread succeeded in scaring people. Or maybe that was just the excuse people gave b/c they didn't want to say how they really feel. - Michael Leggett
@Ruchira I'll gladly accept that some are born homosexual, but am not sure that *every* gay or lesbian was born that way. If you are bi-x what gene did you get? both the heterosexual and homosexual genes? I do think we do a lot of things by choice and can say that I know people that lived it, but then decided it wasn't. I'll love to learn more on this subject. - Elias Torres
Remind me again why there is such a thing as a state recognized marriage. - Kelly Norton
@Kelly: As I understand it, states are responsible for issuing the licenses, but the benefits are at the federal level (http://en.wikipedia.org/wiki/R...). States can choose to recognize things like domestic partnerships as well (http://en.wikipedia.org/wiki/D...), but it doesn't seem like that will ever be a real solution until all marriages are domestic partnerships or vice-versa -- i.e., one legal term that covers everything. - Tom Stocky
@Tom: I think we are in total agreement. When I said "state," I meant state in the broader sense (as in government). State involvement in marriage should be limited to the recognition of domestic tax arrangements, IMO. - Kelly Norton
@Kelly: Yeah, totally agree. It seems like an easy way out would be to just stop using the term "marriage" to describe the legal relationship and call it something else so so religious definitions of "traditional marriage" don't play a role. - Tom Stocky
"Along the way I’ll tidy up the erlang memcached client I’m using and release that (from jungerl, with modifications for consistent hashing and some bug fixes), and some other things. Stay tuned :)" - Elias Torres
via Bookmarklet
"A library for writing readable, composable regular expression matchers that integrates cleanly with Hamcrest." Nat's extending the Hamcrest DSL in some interesting new directions - Adewale Oshineye
exciting title, but ".. The methods are based on two
basic principles. The first principle is that elements that share many attribute values are similar. One method
will favor clustering such elements. The second principle is to group elements that share a common value for a
distinguished attribute or label." sounds not unlike distance methods to me. - Amund Tveit
"The notable thing about this is that despite all of the asynchronous events taking place, the code is sequential (nested, but sequential), and that the JSON results of the AJAX call is immediately available to the function that is invoked when the selection changes." - Jeremy Zawodny
"Quick painless install of side MySQL server in isolation. MySQL Sandbox is a tool for installing one or more MySQL servers in isolation, without affecting other servers" - Jeremy Zawodny
Yes, but I think you can also stop others from seeing your feed by using delete in "Subscribed to me." I wasn't sure if Sanjeev was going to do this also. - Chris White
Isn't that was facebook is for? I use facebook for real life relationships, and friendfeed for good spirited conversations on the interwebs. - Chris Hollander
Chris W, yes I'm going to kick off subscribers temporarily. - Sanjeev Singh
Chris H, Facebook is more about socialization and social communication (how are you doing? what are you up to?). I just want to find and discuss cool stuff with my friends :) - Sanjeev Singh
How will you let us know when you are back? I'll miss your stuff! - Clare Dibble
Actually I think I'll just create a "private sanjeev" account. - Sanjeev Singh
Thanks Dan. Please post an update again as I would be considering a switch if we upgrade the office computer. I'm really attached to the right mouse button that seems like the biggest obstacle i see. - Steve Craft
Hey Steve--if you plug in a two-button mouse the right-mouse button works as usual. At least it's working with my Logitech mouse. :) - Dan Hsiao
You can use multi-button mice on the mac — even the mighty mouse supports right-clicking. It's just that the MacBook trackpad only has one button. But you have the option to right-click by tapping the trackpad with two fingers. - Jim Norris
The main reason I can't switch to a Mac for work is Excel: a very limited set of keyboard shortcuts for Excel in Mac OS X really hinders my productivity there :( - Jennie Lin
@Jennie You can run VMWare or Parallels on a MBP now at work to use the Windows version of Excel - Roshan Vyas
UPDATE: With the permission of the wifey (and using up all gifts for next year) I followed Dan's footsteps and bought a MAC BOOK PRO last night. FYI Apple is clearing out the old in preperation for their new Mac Books, Amazon.com is currently offering the Educational Price on the Mac Book Pro plus an additional $150 dollar discount for purchases over $1k. Pre Tax price for the 2.4Ghz 15inch MBP is $1450.00 while supplies last. - Steve Craft
I have been working with Chris Wensel to try out cascading, but Streaming + Python has been good enough. - Elias Torres
yeah, that was most of what we needed at facebook. hive let us hand the keys to business analysts, which is great. i never really got which problems were appropriate for cascading; it's basically a language for writing query plans, and so is pig. i guess it could serve as the basis for an etl framework, but there are a lot of those that exist already. - jeff hammerbacher
Very cool! Suggest extending the interface with tools that help you find people to add, e.g. search people, search posts, restrict time range etc. - Andrew Grumet
"They aren’t attracted to the field of computing because of the money (though that doesn’t hurt) but are terrified of getting stuck in a job where there’s nothing left to learn. People in other careers speak of a “seven year itch” phenomenon, but these guys have a “two year itch.” These guys will change jobs not so much to get a raise… but to keep from getting bored." PEGGED it!! - Lindsay Donaghe
"The thing is, most people really never think. At least, the concept of what thinking is to this programmer is radically different from that of “regular” people. Most people just go to work, do the same old thing, and go home. When they leave work, they leave work at work and go do something totally different. Our programmer guy can’t seem to *stop* thinking. If he’s trying to solve something difficult, he will not stop as long as he’s inspired." - I feel so exposed. :) - Lindsay Donaghe
"To most people, “it’s just words”… but this guy spends so much time in his own head, he doesn’t really differentiate between ideas and reality. Ideas *are* reality to this guy!" - Last quote... I LOVE this article! - Lindsay Donaghe
is it really helpful to create these imaginary people and regard them as real -- in marketing, serial killer profiling, or programming? or are we just over-generalizing and ignoring when the model breaks. - Whitney Sorenson