tag:blogger.com,1999:blog-40691458792876416412009-02-21T00:04:34.699-08:00Rob's Java Blog (and other things)robhttp://www.blogger.com/profile/08715326387296952372noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-4069145879287641641.post-12824603640357106242008-07-09T10:20:00.000-07:002008-07-09T11:41:31.449-07:00Google Test (Google's C++ Unit Testing Framework) is now open source!If you like writing tests in C++ and haven't found the right unit test framework yet, then you should check out the <a href="http://googletesting.blogspot.com/2008/07/announcing-new-google-c-testing.html">Google Testing Blog article on Google Test</a>.<br /><br />It's Google's xUnit style test framework available under an open source license. Give it a spin, you can use it to test your new <a href="http://google-opensource.blogspot.com/2008/07/protocol-buffers-googles-data.html">protocol buffer</a> code that's written using the <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml">Google C++ Style Guide</a>.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4069145879287641641-1282460364035710624?l=blog.robsite.org'/></div>robhttp://www.blogger.com/profile/08715326387296952372noreply@blogger.com0tag:blogger.com,1999:blog-4069145879287641641.post-2169424155653917702008-07-09T10:13:00.000-07:002008-07-09T11:41:38.518-07:00Videos posted from Eclipse Day at the Googleplex<b id="dnpr">Videos posted from Eclipse Day at the Googleplex</b><br />By Robert Konigsberg, Software Engineer and Eclipse Enthusiast<br /><br />Here's a short follow-up to our recent post about <a title="Eclipse Day at the Googleplex" href="http://google-opensource.blogspot.com/2008/06/eclipseday-at-googleplex.html" id="s28x">Eclipse Day at the Googleplex</a>: All the talks from the larger presentation room are now available for your viewing pleasure:<br /><br /><ul id="b731"><li id="vx691"><a title="Introduction & Keynote: Eclipse at Ebay" href="http://youtube.com/watch?v=yVNF6COKQwE" id="p2na">Introduction & Keynote: Eclipse at Ebay</a> by <span id="d_230">Michael Galpin, with introduction by Ian Skerrett,</span></li><li id="vx692"><a title="How Mylyn Changes the Way I Develop" href="http://youtube.com/watch?v=P34eFGdswOU" id="fc4p">How Mylyn Changes the Way I Develop</a> by <span id="d_231">Bjorn Freeman-Benson</span></li><li id="vx694"><a title="Tools Make the Difference: GWT in Eclipse" href="http://youtube.com/watch?v=dJbt2CHOd9g" id="upfo">Tools Make the Difference: GWT in Eclipse</a> by <span id="vx695">Bruce Johnson</span></li><li id="vx696"><a title="Plug-in Development Tips and Tricks" href="http://youtube.com/watch?v=3MVN4XCQzn0" id="q:ij">Plug-in Development Tips and Tricks</a> by Chris Aniszczyk</li><li id="b7311"><span id="b7312"><a title="Wiring Hacker Synapses: Collaborative Coding and Team Tooling in Eclipse" href="http://youtube.com/watch?v=GfeUCT-tRJQ" id="sd1y">Wiring Hacker Synapses: Collaborative Coding and Team Tooling in Eclipse</a> by Scott Lewis & Mustafa K. Isik</span></li></ul><br />These, and other interesting talks can be found on the <a title="Google Tech Talk channel" href="http://youtube.com/user/googletechtalks" id="yfzd">Google Tech Talks channel</a> on <a title="YouTube" href="http://youtube.com/" id="b.o:">YouTube</a>.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4069145879287641641-216942415565391770?l=blog.robsite.org'/></div>robhttp://www.blogger.com/profile/08715326387296952372noreply@blogger.com0tag:blogger.com,1999:blog-4069145879287641641.post-43434104762069551532008-07-02T10:37:00.000-07:002008-07-02T10:43:05.039-07:00To Ellipses or not?I just noticed an interesting <a href="http://dev.eclipse.org/mhonarc/lists/ui-best-practices-working-group/msg00313.html">discussion</a> on the eclipse <a href="https://dev.eclipse.org/mailman/listinfo/ui-best-practices-working-group"><span class="blsp-spelling-error" id="SPELLING_ERROR_0">ui</span>-best-practices-working-group</a> list about a recent change in Eclipse to rename Preferences... to Preferences and the <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=226468">bug asking to rename it back</a>.<br /><br />I admit that in general, I'm usually one to follow Microsoft's lead for <span class="blsp-spelling-error" id="SPELLING_ERROR_1">UI</span> standards however I think in this case, and probably going forward, I'd be more inclined to follow the Apple or Windows <span class="blsp-spelling-error" id="SPELLING_ERROR_2">XP</span> style guide instead of the Vista guidelines. I've only briefly tried Vista before dropping the <span class="blsp-spelling-error" id="SPELLING_ERROR_3">VM</span> and switching back to <span class="blsp-spelling-error" id="SPELLING_ERROR_4">XP</span> and didn't really see anything impressive from the <span class="blsp-spelling-error" id="SPELLING_ERROR_5">UI</span> in it.<br /><br />I too am in favor of using ellipses in menu items when a dialog is invoked vs. a command being executed.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4069145879287641641-4343410476206955153?l=blog.robsite.org'/></div>robhttp://www.blogger.com/profile/08715326387296952372noreply@blogger.com0tag:blogger.com,1999:blog-4069145879287641641.post-35637749510021694922008-03-19T13:19:00.000-07:002008-07-09T11:41:48.631-07:00Microsoft to help enable Java on Windows...From <a href="http://port25.technet.com/archive/2008/03/19/supernova.aspx">http://port25.technet.com/archive/2008/03/19/supernova.aspx</a><br /><br />What a great dig at Sun. Microsoft to help make SWT better on Vista...<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4069145879287641641-3563774951002169492?l=blog.robsite.org'/></div>robhttp://www.blogger.com/profile/08715326387296952372noreply@blogger.com0tag:blogger.com,1999:blog-4069145879287641641.post-36902680357375005622007-08-15T16:13:00.000-07:002008-07-09T11:42:03.972-07:00Open Source Developers @ Google Speaker Series: Michael StillI just heard from Leslie Hawthorn in the Open Source Team here at the <a href="http://code.google.com/events/visitors/">Google Mountain View Campus</a> that there's going to be a talk that's open to the public this Thursday (August 16th).<br /><br />Here's the link with information about it:<br /><a href="http://google-code-updates.blogspot.com/2007/08/open-source-developers-google-speaker.html">http://google-code-updates.blogspot.com/2007/08/open-source-developers-google-speaker.html</a><br /><br />I attended Bob Lee's Guice talk shortly before coming to Google (no relation), and thought it was way cool. So come hear about MythTV and eat some free food.<br /><br />- Rob<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4069145879287641641-3690268035737500562?l=blog.robsite.org'/></div>robhttp://www.blogger.com/profile/08715326387296952372noreply@blogger.com0tag:blogger.com,1999:blog-4069145879287641641.post-38060587239819471712007-03-20T11:10:00.000-07:002007-03-20T11:21:01.903-07:00Generated Code slightly better with unit tests.I've never been a fan of generated code. Quite frankly, I would rather type it myself so that I understand what's happening than trust a tool, that is arguably more reliable at creating error free code than myself, to spit out something for me to code against.<br /><br />Laziness however, is a very important motivator for trying new things. :-) The hesitation at coding against generate code has been overcome in this case by the ease of generation, and also writing several unit tests against the generated API's.<br /><br />The case in point is I decided to use Oracle's JAXB2 generate support to generate the Java Bean to code against for an XML Schema that I wrote for an in house tool I'm working on. The schema is relatively simple, it contains a set of properties and other random bits of information needed to kick off a process on an iAS server.<br /><br />Although I know hat the generated Java code will function just fine going from bean to XML document, and back to bean, the Unit test serves as an excellent way for me to tell if a future regeneration of the XML schema will break any of my API's that I'm using to code against the bean. This little tiny bit of security was all I needed, coupled with the fact that it's bloody simple to generate the java class from a XML schema, to finally give in and try a small bit of generated code.<br /><br />Also, before anyone (read: Alex or Brian) else says it, All code is [more than] slightly better with Unit Tests.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4069145879287641641-3806058723981947171?l=blog.robsite.org'/></div>robhttp://www.blogger.com/profile/08715326387296952372noreply@blogger.com0tag:blogger.com,1999:blog-4069145879287641641.post-6399563052713841122007-03-05T13:28:00.000-08:002007-03-05T13:32:45.893-08:00Moving is always such a pain....Hosting your own email and other services is a pain. I thought it would be heaps of fun to manage everything myself. I had high aspirations for using wonderful new bits of technology that we are working on at Oracle right now. Then, reality set in. I realized that I didn't have the unlimited free time that I used to, I realized that I can't always bounce my server remotely (it would like to die the moment I left town), then I realized....<br /><br />Let's just outsource it.<br /><br />So...<br /><br />Mail => Google Applications (http://www.google.com/a)<br />Blog => Blogger (also Google)<br />Old Static content => Good friend Brian Duff's graciously agreed to help me out with some disk space.<br /><br />The best part of this is my computer room at home will finally be quiet for a change.<br /><br />Maybe I'll even find time to blog more frequently now that the sysadmin hat is off.<br /><br />- Rob<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4069145879287641641-639956305271384112?l=blog.robsite.org'/></div>robhttp://www.blogger.com/profile/08715326387296952372noreply@blogger.com2