corner imagecorner image FeaturesPluginsDocs & SupportCommunityPartners


Transcript of the 1st official NetBeans Community Quiz

Topic: NetBeans features and history
Date: Thursday, July 13th - 2006
Time: 5:00 p.m. CET (3:00 p.m. UTC)
Conversation: netbeans
Chat Client: NetBeans Developer Collaboration module

Total number of participants: 8


16:57:32avbravo joined the conversation
16:57:33Glenn Holmer joined the conversation
16:57:33Cesilko joined the conversation
16:58:36Cesilko I believe you both guys are gonna play !
16:59:29Glenn Holmer Hi Gregg, are you going to tell us the latest gossip about NetBeans?
16:59:59Cesilko What a shame that only few guys came.
17:00:31Gregg Sporar Hi Glenn, no I'm just here to watch what happens.
17:00:56Cesilko Can you guys see my messages ?
17:01:01Glenn Holmer Yes.
17:01:51Cesilko Well, in spite of tight schedule I would recommend to wait 5 more minutes. OK ?
17:02:10Glenn Holmer OK.
17:02:42Cesilko I think you have great chance to guess all 10 question correctly and win the Golem !
17:03:06Glenn Holmer LOL, I want to be a golem when I grow up
17:05:25Dean Iverson joined the conversation
17:05:40Cesilko I got an e-mail from Masoud that he will come too.
17:06:31avbravo excellent
17:06:32Cesilko OK, the time has come.
17:06:51Cesilko Hello everybody. Let me officially welcome you in the very first NetBeans Community Quiz in the history.
17:07:11Cesilko I hope you all sit comfortably and will enjoy the next 1 hour.
17:07:27Cesilko OK, before we start let's check out the process. I will now ask one easy question and you try to answer as soon as possible, ok ?
17:07:35Glenn Holmer OK
17:08:01Cesilko It's only a pace lap so you get no Q-point but we will see how it works. So, the question is:
17:08:08Cesilko What's the project name of the new NetBeans revolutionary GUI builder ?
17:08:13Glenn Holmer Matisse
17:08:18avbravo matisse
17:08:24Cesilko Cool !
17:08:46Cesilko Well, one has to type fast, right ?
17:09:34Cesilko Cool, it seems to kind of work so we can move on to the real contest. So, let me ask the first question.
17:09:46Cesilko Are you ready Dean ?
17:09:54Dean Iverson Yep
17:10:19Cesilko Fine. This should not be hard for those who watch NetBeans open source project. The question is under which license is NetBeans distributed ?
17:11:09Dean Iverson CDDL?
17:11:23Cesilko Yes, you are right. CDDL is the correct answer although two weeks ago it was SPL. Yarda Tulach did the amazing job and updated headers of ~40.000 files in 2 CVS branches!
17:11:31Glenn Holmer Sun Public License (SPL)
17:11:57Cesilko No, Dean is right and gets his first Q point !
17:12:03avbravo cddl
17:12:27Cesilko Cool guys, I am glad you found it. More info is available here: http://nbbuild.netbeans.org/fix-cddl.html
17:12:38Glenn Holmer Well I guess Yarda couldn't update 5.0's Help/About...
17:13:35Cesilko That's right. However, my question was not targeting 5.0 release but project as a whole. Anyway, congrats Dean !
17:13:48Glenn Holmer I will have to read the news more often
17:14:22Cesilko Okay, let's move on.
17:14:33Cesilko Second question: NetBeans editor has a popular feature called "hippie completion". Now I want to know a short description and appropriate shortcut of this time saver?
17:15:38midicat joined the conversation
17:15:49Dean Iverson Ctrl-K, it searches around your document for a completion to the word you are typing (and other documents too).
17:15:54Cesilko Hi midicat !
17:16:13midicat hi Cesilko, hi all
17:16:20Cesilko Yes ! Correct answer is that hippie completion is context based completion of words forward or backward. The shortcut is Ctrl+K or Ctrl+L.
17:16:32Cesilko For example, if you want to complete the famous Pink Floyds' song "Is there anybody out t|" and press Ctrl+K at position denoted by | character, editor completes "there" as the first previous word beginning with "t" char.
17:16:41avbravo ctrl+k or ctrl+l
17:17:08Cesilko Correct avbravo ! Dean has 2 points already ! Congratulation ...
17:17:10Cesilko Just curious, is there anybody out there who didn't know about this cool thing ?
17:17:39Glenn Holmer I didn't, I am learning about NetBeans today. Every so often I go over the shortcut list, but I don't remember to try them all.
17:17:53midicat I knew about it, but often forget the shortcut
17:18:32Cesilko Well, I tell you I don't know many shortcuts but this one I try to use even in Mozilla which does not support it.
17:18:56midicat <lol>
17:20:11Cesilko Fine, the third Q point is prepared. Topic is history of NetBeans.
17:20:26Dean Iverson Does anyone know why it is called hippie completion?`
17:20:54Cesilko Not sure about it Dean.
17:21:19Gregg Sporar I have always heard that for some reason it was called hippie completion in emacs, and the name moved over from there....
17:21:25avbravo 1996 project originally called Xelfi
17:21:44Dean Iverson Thanks!
17:21:53Cesilko 3rd: As many of you know Sun acquired private held company NetBeans in 1999. The question is who was the founder of NetBeans and what is his/her nationality. Note that I am interested in both name and surname!
17:22:11Glenn Holmer Roman Stanek (Czech)
17:22:22avbravo Czech Republic
17:22:23Cesilko Yes, it was Roman Stanek. His nationality is Czech as many folks in NetBeans engineering team.
17:22:33avbravo Roman Stanek
17:23:00Cesilko Congratulations Glenn ! This time you were faster than your own shadow !
17:23:06midicat Gee guys, you're writting faster than I'm thinking
17:23:09Cesilko Cool avbravo.
17:23:24Cesilko @ midicat
17:24:10Cesilko And this one should be easy. The first player who provides a way how to turn on font antialiasing in NetBeans editor, gets a Q point.
17:24:50Dean Iverson There is a setting in the advanced editor properties
17:24:57Cesilko Where exactly ?
17:25:36midicat Options -> Editing -> Editor Settings
17:25:45Glenn Holmer Tools/Options/Advanced/Editor settings/Expert
17:25:52Toni Epple joined the conversation
17:26:16avbravo Tools-Options-Editor
17:26:26Cesilko The correct procedure is to go to "Tools|Options", push "Advanced Options", select "Editing|Editor Settings" node and check "Text Antialiasing" option.
17:27:03Cesilko Well, I think midicat deserves the point ! Congratulations.
17:27:26Toni Epple left the conversation
17:27:26Cesilko Just a quick research. How many of you actually use antialiasing in editor ?
17:27:49Dean Iverson I turned it on as soon as I found it!
17:27:56midicat I do in the while system
17:28:01Cesilko Which means when ?
17:28:30midicat sorry, whole system, including NetBeans, since it's turned on by default
17:28:30Dean Iverson About a week after I started using Netbeans.
17:29:14Cesilko I see then.
17:29:43Cesilko Do you know how to turn on AA for whole IDE ?
17:30:10Dean Iverson IMHO, AA should be turned on by default (and I think it is on the Mac, at least I don't remember having to do it on OS X, just Linux).
17:30:31Dean Iverson It is so much easier on the eyes!
17:31:50Dean Iverson -Dswing.aatext=true
17:31:52midicat use latest 6.0 JDK
17:32:02Cesilko Something happened ?
17:32:08Dean Iverson In the conf file, that is...
17:32:36Gregg Sporar > Something happened ? Not that I noticed. Are you seeing a problem?
17:32:47Dean Iverson Everything is fine here
17:33:00Cesilko Well, it's okay now. I couldn't write for couple of minutes.
17:33:21Cesilko OK. Now comes the first practical exercise. I am gonna share small project with one class QuizTest which calculates a magic number.
17:33:52Cesilko If you run it, it ends in never-ending loop soon. Your task is to find out what is the finite value of that magic number when it loops.
17:36:53Cesilko left the conversation
17:37:54Cesilko joined the conversation
17:38:24Cesilko Did you survive here ?
17:38:48midicat 22
17:38:51Gregg Sporar I'm still with you
17:39:25Cesilko Somebody ran the app in my IDE which killed it as it looped forever ...
17:39:27Dean Iverson Yep, 22. And I'm still here.
17:39:41Cesilko Gregg, who was the first ?
17:39:57Dean Iverson Looks like midicat got that one.
17:40:25Gregg Sporar I believe it was midicat
17:40:29Cesilko Okay, in such case midicat gets the point !
17:41:05Cesilko Off-topic: can you guys save the transcript for me as I lost the history ...
17:41:27Cesilko Gregg ?
17:41:43Gregg Sporar Sure, I should be able to do a save
17:41:46midicat sorry, I've been late
17:42:05midicat I can save only since 17:15
17:42:21Cesilko No problem, just do it every 10 minutes in case you get disconnected too ...
17:42:54Cesilko OK, so correct answer is 22. The point of this exercise was to highlight conditional breakpoints. All you needed was to setup a breakpoint at line 34 and customize its condition to 'magicNumber==getNewValue(magicNumber)' statement.
17:43:22Cesilko Take a look at the breakpoint.png screenshot I have just shared.
17:43:43Dean Iverson I'm old fashioned: System.out.println
17:43:43avbravo Return, was busy
17:43:52Cesilko To be honest were you aware of this feature ?
17:44:25Cesilko And can you see the screenshot ?
17:44:43Gregg Sporar I can see the screenshot. And I was aware of the feature.
17:44:57Cesilko Which is no surprise to me ...
17:45:08Dean Iverson Yes and yes.
17:45:08midicat I can see the screenshot, but I haven't used this feature before
17:46:02Cesilko Perfect ! Now the funny thing (avbravo will get why).
17:46:06Cesilko Some of you might know that NetBeans was based on certain student project that originated at Charles University in Prague. So, the question is simple: what's the name of that project ?
17:46:12Glenn Holmer Xelfi
17:47:11Cesilko Good. Did you know that or avbravo gave you the hint ?
17:47:23avbravo in 1996 Xelfi
17:47:26Glenn Holmer I knew it, I even have a copy.
17:47:41Cesilko The project was called Xelfi and began in 1997 so the next year we will celebrate 10 years anniversary !
17:48:14Cesilko I am sorry avbravo, but Glenn was the first. So Glenn, you have the point !
17:48:32avbravo not problem
17:49:04Cesilko Now something easy. Which version of Apache Tomcat web server is bundled with NetBeans 5.0 ?
17:50:23Glenn Holmer 5.5.9
17:50:32Cesilko Yes, it is 5.5.9. It was piece of cake, wasn't it ?
17:50:52avbravo -5.5.9
17:51:01Cesilko Yep.
17:51:12Dean Iverson Unless you happen to use 5.5!
17:51:55Cesilko Yup, that's different: 5.5.17 ! Glenn has already 3 points !
17:52:19Glenn Holmer We set up an external copy of 5.5.17 so we are working with the same version as on our servers, it works great even with the HTTP monitor.
17:52:21Dean Iverson Mine says 5.5.16, I must be out of date.
17:52:43avbravo netbeans 5.5 tomcat 5.5.16
17:52:57avbravo without udpdate
17:53:08midicat 5.5.17
17:54:06Cesilko Great. Let's try another kind of harder practical. Please open the QuizTest.xsd schema file that I have just shared.
17:54:20Cesilko It contains many <xsd: elements and couple of comments. Your task is to comment all the <xsd: elements (both opening and closing tags) line by line.
17:54:25midicat it's empty
17:54:31Cesilko What is the best way to achieve that if the file would be 100x times bigger ?
17:54:46Cesilko Really ?
17:54:52Gregg Sporar Yep. Empty
17:55:11Cesilko Now ?
17:55:24Gregg Sporar Better!
17:55:26midicat now it's ok
17:55:38Cesilko Fine, so go for it !
17:55:50avbravo document parse is invalid
17:56:12Cesilko It contains errors, but that's okay.
17:56:34Cesilko Anybody has an idea ?
17:56:35keip joined the conversation
17:56:47Cesilko Hi keip !
17:57:05keip hi all guys!
17:58:07midicat search&replace
17:58:16Cesilko Okay, go on ...
17:58:41Cesilko In other word could you be more specific ?
17:58:56avbravo thi file is empty?
17:59:01Dean Iverson If you were searching and replacing, it would be easiest to use Netbeans' regular expression support.
17:59:33Cesilko Yes, and do you know exactly ?
17:59:48Dean Iverson You could also record a macro, I suppose, but regex would be easier.
18:00:44Dean Iverson Cesilko: Do I know the regex off the top of my head? No. It would probably take me a few tries to get it right. So I would download the live regex plugin first!
18:01:01Cesilko OK. Correct answer is to use "Edit|Replace..." feature with regular expressions. Look at the shared screenshot replace.png to get what I mean.
18:01:36Cesilko Simply set "Find What:" field to (<[^!?].*)$ and "Replace With:" field to <!-- $1 --> then check "Regular Expressions" option and push "Replace All".
18:01:50Cesilko Do you like this ?
18:02:45Cesilko So, now I am torn so I give 0.5 point to Dean and 0.5 point to midicat !
18:02:47Dean Iverson Very nice.
18:03:07midicat yes, I'm using it from time to time, by I always have to check the regexp help before
18:03:22Cesilko Sure, me too.
18:03:44midicat btw. regepx description in NetBeans help is too general IMO
18:04:17Cesilko Would you recommend to have more specific ? Or appreciate examples ?
18:05:45midicat exaples with scalers at least
18:06:18Cesilko Fine, I will pass this idea to our docs team.
18:06:40Dean Iverson There is a nice plugin that lets you see the results of regex patterns as you type them, but I can't find it right now. It seems very helpful for the trial and error regex'ers like me!
18:07:02Cesilko OK. This practical question should be easy. Look at another shared project. It contains class QuizForm.java and dictionary.properties resource bundle.
18:07:13midicat I often go to UltraEdit help to see better examples
18:07:48Cesilko What would you do to quickly internationalize the class ?
18:08:41midicat i would use the wizard
18:08:53Cesilko Lead me ...
18:08:54midicat internationalization wizard
18:09:18Cesilko Do you know where it's located ?
18:09:36Dean Iverson Right click the properties file and Add locale...
18:09:41avbravo tools internationalize
18:10:17Dean Iverson Then open it and translate...
18:10:22Cesilko Yes, the most easy way is to invoke "Tools|Internationalization|Internationalization Wizard", push "Next" button twice and "Finish". That's all !
18:10:48Gregg Sporar Off-topic: how much longer will the contest be going?
18:11:11midicat it will add all the necessary java.util.ResourceBundle.getBundle("test" .getString("Good_morning,_honey_!" ;
18:11:13Cesilko 2 questions left = 10 minutes ?
18:11:23Dean Iverson Yes, much easier.
18:11:23Gregg Sporar Okay
18:11:55Cesilko I think avbravo deserves the point.
18:12:10Cesilko Now something about NetBeans customization. Say I have many own XML files with extension *.xfl. Would anybody know what to do if I want NetBeans editor to support syntax coloring, indentation etc. for those files ?
18:12:59Dean Iverson Write a new module suite.
18:13:18Cesilko Wow, NB developer here !
18:13:21midicat IDE Configuration > System > Object Types
18:13:41Glenn Holmer Tools / Options / Advanced / IDE Config / System / Object Types / XML Objects / Extensions
18:13:53Cesilko Yes, midicat. This question is actually asked often on our nbusers mailing list. One has to simply register the extension to "XML Objects".
18:13:53Dean Iverson Well, it is so easy with the project wizards in 5.0.
18:14:03Cesilko In order to achieve that invoke "Tools|Options", push "Advanced Options" and select "IDE Configuration|System|Object Types|XML Objects" node.
18:14:08Cesilko Push "..." button for "Extensions and MIME Types", type xfl into "Item:" field and push "Add" button. Close the dialogs and you are done.
18:14:31Cesilko midicat was first and Glenn was precise. 0.5 point each !
18:14:34Glenn Holmer We use this feature to get HTML completion in Velocity templates, works great.
18:15:00Gregg Sporar For another example, see: http://weblogs.java.net/blog/gsporar/archive/2006/05/jaxx_support.html
18:15:16Cesilko BTW, current ranking: Glenn 3.5, Dean 2.5, midicat 3, avbravo 1
18:15:34Cesilko Last chance to win a point is approaching ...
18:15:43keip left the conversation
18:15:47Dean Iverson Go avbravo!
18:16:06Cesilko So last bonus question. What is the name of monthly NetBeans HTML magazine ?
18:16:36midicat the last question will be crucial
18:16:36Glenn Holmer Sprout
18:16:36midicat edge
18:16:36Glenn Holmer Sprout
18:17:02Cesilko The magazine is called The Edge but to be honest it's not issued every month.
18:17:28Cesilko Midicat won the last point !
18:17:28Dean Iverson Uh...Netbeans Magazine?
18:17:28avbravo NetBeans Magazine - Issue One - May 2006
18:18:06Dean Iverson avbravo: That's what I was thinking too. The first issue was pretty good.
18:18:53Cesilko Ok, so we are done. Glenn, Dean and midicat won the prize. Congratulations guys !
18:19:01Glenn Holmer Yay!
18:19:09Cesilko Will you give me your e-mails ?
18:19:18Dean Iverson Thanks Cesilko, this was an enjoyable way to learn more about Netbeans.
18:19:23midicat btw, my name is Cezariusz, I just forgot the password to my primary collab account
18:19:45Cesilko Oh, that's you Cezarius !
18:19:47midicat ******.***@----.pl
18:19:58Dean Iverson ******@-------.com
18:20:01Cesilko OK, did you like the quiz ?
18:20:09Glenn Holmer You could use this for periodic online tutorials, it would also encourage a sense of community and also show off the collaboration module.
18:20:17midicat yes, it was a great challenge
18:20:25Cesilko Cool then.
18:20:27Glenn Holmer ******@-------.com
18:20:47Dean Iverson Glenn: I agree. Learning about the collab module was the primary reason I decided to attend. I'm glad I did.
18:21:11Cesilko Can you somebody please save the transcript and send it to me by e-mail please ?
18:21:14midicat congratulations Cesilko, especially for the practical tasks
18:21:28Gregg Sporar I'll send you the transcript
18:21:33avbravo This was very important
18:22:06Cesilko Cool, thanks ! What was important @ avbravo ? You mean practical ?
18:22:19midicat great job Cesilko, too bad that there was quite a few participants
18:22:45Cesilko I think they were either afraid of their knowledge or on vacation.
18:23:26midicat I recall, that during netcat chats there were a problem with the time of the chat
18:23:55Glenn Holmer I am on vacation too, I have to catch a train in an hour to go see Robin Trower
18:24:04Cesilko I know but whole United States are already up !
18:24:28avbravo Meeting of the community
18:24:28Cesilko So enjoy it Glenn.
18:24:59Cesilko I see. And BTW do you think the questions were hard or easy as I wrote in my announcement ?
18:25:13avbravo in panama the netbeans is used
18:25:35Glenn Holmer Some hard, some easy; they made us think of features we don't use but maybe could.
18:25:36midicat I would say moderate, some were at least not obvious
18:25:37Cesilko How many people @ avbravo ?
18:25:54Cesilko Like regular expressions ?
18:26:01Dean Iverson I thought they were just right. Some I knew from following the comunity some were easy to find out. The practical questions were especially enjoyable.
18:26:23midicat I didn't know the history of NetBeans for example
18:26:40midicat agree Dean
18:26:47Cesilko That's Google's job !
18:26:51Gregg Sporar I have to sign off in a moment, but before I do...
18:27:03Glenn Holmer http://www.developer.com/java/other/print.php/631131
18:27:11Cesilko OK, thanks everybody for being so brave and came here !
18:27:15Gregg Sporar I have a bonus, bonus question. There will be no Q-points for this one.
18:27:15midicat there were no time for Google, others were too fast
18:27:32avbravo i working university
18:27:51Cesilko Listening Greg ...
18:27:54midicat and I didn't know, that I will lock up your machine trying to run the infinite loop in your IDE instead of mine (mine didn't lock)
18:28:07avbravo Programmers in the banks
18:28:09Gregg Sporar Okay, here goes.
18:28:19Cesilko That was you Cezariusz !
18:28:47midicat yes
18:28:51Gregg Sporar For some time now we've been working on a project to provide an entirely new type of refactoring tool. Can anyone tell me the name of that project?
18:28:59Glenn Holmer Jackpot?
18:29:03avbravo I am trying to install netbeans in reacts 0.3.0
18:29:12midicat I've seen the flash demo about collaborative running and debugging
18:29:12Gregg Sporar And Glenn was the first to respond correctly!
18:29:17Gregg Sporar Thank you Glenn.
18:29:25Cesilko Glenn is the golem !
18:29:26Gregg Sporar I'm trying to understand how well people know about it
18:29:32Glenn Holmer Isn't that what Dr. Gosling worked on?
18:29:33midicat but I haven't an opportunity to try it before
18:29:38Gregg Sporar For more info, the best place to start is here: http://www.netbeans.org/kb/articles/tom-ball-interview.html
18:29:52Gregg Sporar And yes, Dr. Gosling started that project
18:30:51Cesilko Fine, thanks for your Jackpot promo Greg and all the others for joining us !
18:31:15Gregg Sporar All right, thanks for organizing this! Bye!
18:31:31Cesilko Bye !
18:31:39Gregg Sporar left the conversation
18:31:44midicat thanks, bye
18:32:05Glenn Holmer Bye everybody!
18:32:19Glenn Holmer left the conversation
18:32:53Cesilko Bye bye !
18:33:07avbravo bye
18:34:17Dean Iverson Bye!


$Date: 2009/10/29 16:50:37 $ GMT [Back]
 
 
loading
Please Confirm