Archive for the “general” Category
May
15
2011
Playstation Network Cause: HackingPosted by Don Hass in entertainment, gaming, general, nintendo, sonySo first I love Intellij IDEA IDE (not for just Java anymore). I find it one of the best tools (in the EAP version) to work with Adobe Flex (much better than Adobe’s solutions) as long as you don’t need a visual Flex editor. It is not a IDE for a wimpy machine though. It has gotten way slower over the years, but it does a zillion more things than versions ago. What I love even more, is the new features and UI enhancements they have made in IDEA X (Early Access Program version): Idea X EAP It’s code complete takes a major step forward in this new build! Few quirks still, but it is EAP, but it really is setting the stage for a huge upgrade in my book. With all that IDE gushing over, there has always been something that annoyed me. For classes that are Serializable, you would think it would have an intention for creating an actual serialVersionUID. I am not going to get into whether your should create serialVersionUID or not in your Serializable classes since we could have an entire debate over the pro’s and con’s. What I want to talk about is that IDEA does have this (not limited to the EAP, but at least 9 as well). So for those who care, this is what I discovered after actually looking in the intentions available this week. All the following screen snaps are from IDEA X since that is my mainstay these days. Can’t go back to 9 any longer. Now for Steps for enabling IDEA to generate serialVersionUIDs via intentions. 1. Click the Code Inspection icon from the lower right portion of IDEA. The one displayed like the little guy with a black hat on. 2. Click the Configure inspections link to see the Inspections dialog box. 3. You should now see the following window: 4. Find the Inspections -> Serialization issues -> Serializable class without ‘serialVersionUID’. 5. Check the serialVersionUID options (I highlighted in the above snap). Your choice to select all four (4) that I did or not. 6. Click OK to close the Inspections dialog box. Now, when editing a Serializable class without a serialVersionUID, it will display a warning on the class name and an inspection suggestion to generate the unique serialVersionUID for you. Viola! And to think I started out thinking I was going to need a plugin or something, it was there all along. Thank JetBrains! Tags: classes, idea, intentions, java, Serializable, serialVersionUID![]() Nine Years Ago - Never Forget 9-11, day of disbelief and day that forever changed our nation. At first it brought our nation together and very sadly in the past 9 years has divided us. Former first lady Laura Bush, speaking at Shanksville, PA, says that on 9/11 “we saw the worst of our enemies and the best of our nation.” President Obama, speaking at the Pentagon, says this is a day of remembrance and reflection and “with God’s grace, a day of unity and renewal. ” Mayor Michael Bloomberg says: “We will build, on the footprints of the past, the foundations of the future.” Sweet animation over at Vimeo! The Monk & The Monkey from Brendan Carrol. Warms the soul. Tags: Monk, Monkey, Soul |








Entries (RSS)