RE: [jug-discussion] Flex Web services
Hey Dennis - I've only run through a sample with Flex web services. I found it easier touse simple XML over HTTP, or the flex data services to do RPC and let the Flex Server handle the serialization. I was looking at an article on AMFphp and OpenAMF (flash remoting for Php and Java)...which linked to a benchmark (a bit dated, used Flash 7.0 instead of current 9.0). The reason I bring that up is they made a point worth considering -- to consume a non-local service, you have to leverage a server proxy, so it may be faster in some situations to leverage the Server to connect to the SOAP service, and use the faster flash remoting to the Flex front end. http://www.flashorb.com/articles/soap_vs_flash_remoting_benchmark.htm (Note: I'm fairly sure Flex v2 can connect to non-local services, but the services must have a permissions file at the server root to allow connections. ) -Tim -Original Message- From: Dennis Sosnoski [mailto:[EMAIL PROTECTED] Sent: Friday, October 06, 2006 2:33 PM To: jug-discussion@tucson-jug.org Subject: [jug-discussion] Flex Web services I've seen some past Flex discussions on the list - has anyone tried using Flex for web services? One of my clients has a customer who wants to use Flex, and they're having a lot of problems trying to make it work. The service is doc/lit form, with namespaces used for the payload. - Dennis -- Dennis M. Sosnoski SOA, Web Services, and XML Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] 30 Min Flex Test-drive for Java Devs
Downloadable WAR for tomcat, with src and a walkthrough. http://coenraets.org/testdrive/flex4j/index.htm Speaking of src...the Actionscript src is included for all the standard components so they can be completely rewritten if necessary. Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Java Rich Clients with Flex 2.0?
So now that the Flex 2.0 SDK and deployment to a single CPU is free... has anyone here started to rethink Java + Flex for client projects? -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] OT: Google and Yahoo - closed
Josh -- if you are sincere about starting a discussion on the topic of JCP and JUG Goverance, then by all means walk your own talk and start a new thread with a relevant subject line. -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Web Oriented Architecture WOA
I agree that focus on XML as the message is key. I'm not even sure that XML is the key. I've been experimenting with some JSON data transmission, and it seems to work just fine with the bonus of no angle brackets. http://developer.yahoo.com/common/json.html Parsing or outputing in Java is easy and in Javascript it's truly trivial (since it's a native data struct). Why do we all buy into XML? For two good reasons -- it's plain text that is both human readable and usually understandable, even without a schema. JSON provides the same thing. I'm not going to argue JSON v.s. XML smackdown... just pointing out that it seems like another rationale option for services. -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Java Rich Clients with Flex 2.0?
Josh wrote: I'm considering using Flex for a project. What are the terms of this 'free Single CPU' license? If its free why don't I just get another free one for another CPU? My understanding of the license is that you can run one App on one machine with One CPU. It forbids running the same app on many machines (ex. kiosks or clustered). Actually...that's not quite the full story. You *can* run the same app on a cluster/kiosk...if it does *not* use the Flex Express Data Services component. If you just have a Flex/Flash file that's connectig to basic HTTP-based web services... you can run it with as much load as you wish. Flex Data Services Express is the server component that provides declarative security, a binary RMI with auto marshalling/serializaing of objects, auto-conversion between Java and Actionscript objects, proxy-whitelists, and more. I'm betting the assumption by Adobe is that folks will try raw free Flex and like it. Then they will try free FDSE and like that more, and eventually need to scale up and spend $20K/CPU for the Enterprise version. If that works or not...time will tell. Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Flex 2.0 vs Dojo vs Google API
OK HERE GOES PUBLICLY SINCE PRIVATELY DIDN'T AVOID A FLAME WAR, I MICHAEL OLIVER DID OFFENSIVELY INSERT MY QUESTION IN TIM'S THREAD AND I APOLOGIZE! YOUR QUESTION WAS NOT LESS IMPORTANT THAN MY QUESTION. Mike... simmer down and slow down, dude. You emailed publicly and privately at the same time, so I justreplied to both. And I didn't flame... I would have called you something nasty if it was a flame. Have a look, I just did a little explaining why I thought it was uncool -- about a 1.5 on a scale of of 1 to 10 of flame hotness. ha! I'm just fine down here in Tucson, it's a beatiful day. ;-) Back to the topic of *this mesg*: as I said, personally, I don't really care to argue the merits of Flex/Dojo/Google API. They do different things. I think folks should use whatever item or combo fits their needs. -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] just curious - flamebait
Josh -- if you are sincere about starting a discussion on the topic of JCP and JUG Goverance, then by all means walk your own talk and start a new thread with a relevant subject line. Tim, just curious, who 'owns' a thread? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Flex 2.0 vs Dojo vs Google API
Well at the risk of being accused of being a hijacker and being assaulted by ALLCAPS what would I get from Flex2.0 1cpu license that I can't get from Laszlo which is not only free to put on as many cpus as you want but is also open source and not left to pricing whims of Adobe (free today - $$$ tomorrow)? Ha...this is Mike's thread - folks can have smackdown they want between the threehmm... Laszlo isn't in there. grin Flex -- *without* the server component, is free for any use. It's not open source, so that could be a showstopper. The server component does a bunch of stuff you may or may not find useful, overview/details: http://www.adobe.com/products/flex/productinfo/overview/ http://www.adobe.com/products/flex/dataservices/ I did a proof of concept using the server component for 1.5...and I found it to really speed up development by handling some of the drudgery of the RMI over the wire. An interesting aspect of Flex and the Google API to me is that they both seem to be trying to present a standard programming paradigm. ex. objects and action listeners that appeal to a Java developer more than a javascript/html person. Have a look at a quick demo with code/MXML. http://www.adobe.com/devnet/flex/quickstart/coding_with_mxml_and_actions cript/ Flex has a lot of widgets, including charts, that are fairly mature...and lots of solid second generation documentation and samples. It's not without flaws, but I keep coming back to it as a compelling option. The Google API is slick too, and DOJO has some great demo's... but lately I've been really drawn to the responsiveness and features in Yahoo's Flex-based maps (http://maps.yahoo.com). Tim -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Java Rich Clients with Flex 2.0?
Josh wrote: From a Java perspective Laszlo still does appear more attractive. I disagree. From a license standpoint, Flex 1.0 and 1.5 were certainly unattractive. From a java perspective -- my experience has been positive with Flex. For example, using the server component it takes only a configuration setting to enable the client to call an unmodified POJO, pass parameters, and use the returned object or collection of objects. It's a slick way to leverage existing code. In your professional opinion, which platform offers more for ~20K budget? ~50K? ~100K? It depends on the assessment of value for what is offered. If open source is of utmost importance, then Flex provides no value. If documentation, support, and speed of development are desired, then Flex provides a fair bit of value. -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Java Rich Clients with Flex 2.0?
I hadn't followed this development.tell us more. To where has the licensing fee moved? (i.e. what are the new deployment/licensing terms?). As you saw, I described them a bit in a prev email that'll probably hit your box a few seconds after you sent this one. :-) I'll add that the optional IDE, Flex Builder is a separate charge. (It is based on Eclipse, and Mr. Green will be happy to hear I think they did a great job with it. I like it. It's not as good as if they'd used Intellij of course... but I digress. grin) If you need the chart components, they also cost a few hundred bucks per developer. Also, does Flex require its own server?, or only requires it to get some advanced feature set? Just to re-iterate...not anymore. You can deploy just the flash file. Or you can leverage the Data Services server-side component...J2EE, can drop it into an existing JVM. BTW - (just an off-topic comment) per-CPU licensing terms tend to be deal-breakers with gov't clients, who often have machines with many CPUs. Yeah, I understand the logic in trying to charge based on CPU in that smaller folks pay less than massive apps. But it also hurts when two 4-CPU boxen are in use in a cluster for an app-farm and only 1 out of 200 might actually use flex. My understanding is that $20K/cpu is really just a starting point, so like the $35K sticker on a car, careful negotiation can probably hammer out a deal for far less. -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Java Rich Clients with Flex 2.0?
considered Flex but it's a little lower down on my list because of the Flash plug-in requirement. The customer would like a thin-client with no plugins. Yeah, the plugin is small and startup is fairly quick...but I hear what you're saying. The license change opens Flex 2.0 up for consideration for me... but the ultimate decision must still be based on the client needs. For quick in and out tasks HTML AJAX seem to be just fine. (ex. lookup a single address and print a map: google maps) More involved task-based applications seem more ripe for Flex. (ex. lookup five addresses, and manually plot a traveling-salesman course to all of them: Yahoo Maps) Video is another interesting area for Flex -- say you wanted to create a customer service app where the service rep's were speaking to the client with video. Hard to impossible in Web 2.0 but certainly doable in a Flex App. -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Java Rich Clients with Flex 2.0?
do you have anything online that you've built? Not publicly. The work I've done is proof of concept internal stuff. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] OT: Google and Yahoo
Lol... am I the only one laughing that Nick sent this from his yahoo.com email? Hojillion -- number of hos you can fit in your car ... hmm, in my two-seater that'd only be one and she'd have to sit on the wife's lap...which would most likely end badly. grin It's too bad GOOG doesn't seem to have a remote worker option... or FYI... I'll be at the Yahoo Open Hack Day (hackday.org) in the Bay Area next weekend. Anybody else going to be there? Nick? Or are you too white and nerdy? http://video.google.com/videoplay?docid=7939447080926152362q=white+and+ nerdy -Timo -Original Message- From: Nick Lesiecki [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 19, 2006 9:23 AM To: jug-discussion@tucson-jug.org Subject: Re: [jug-discussion] OT: Fwd: Potentially interesting Seattle Times story I think this is an appropriate time to mention that Google has an office in Phoenix, and if you want to be part of a team that wins a hojillion* dollar award, you should send me your resume. I've already helped one of the Tucson JUG'ers find employ at Google, and I hope to shepherd a few more into our Island of Snacks in Tempe. Cheers, Nick * Hojillion: http://www.urbandictionary.com/define.php?term=hojillion P.S. This is my one chance for famous name dropping: I was in a meeting w/ Guido Van Rossum yesterday. WOot! P.P.S. Despite the tone of this email, I am serious. Send me your resume. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Javalobby book review
FYI -- folks here might be interested in signing up. Javalobby plans to ship out free books and $50 for a review that will be posted onto javalobby.org. Free book and some public exposure. http://www.javalobby.org/wiki/display/br Cheers, Timo (I'm helping with the wiki stuff, of course. ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Picnic
I'm out of town in San Jose now through the weekend, so I'll have to send my regrets. :-( Have fun folks...and remember, there is NO WIFI in the mountains grin Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Solr
Solr has a custom response handler hook so XML is not required, just the default. Interesting. Do you know of anyone created a handler that returns JSON to compare speed of parsing? http://www.json.org/ Might be fun to rig a Solr XML feed to a Flex UI...now that it's free. (Stop reading now if you don't want to hear about Flex.) Dunno if anyone has noticed, but Macromede, Adobe is says on their site that the core Flex 2.0 SDK and distribution will be free. http://labs.adobe.com/technologies/flexframework2/ At the core of Flex 2.0 is the Flex framework, which is included with Flex Builder and will also be distributed in the free Flex Software Development Kit (SDK). Using only the free Flex SDK, you can commercially deploy Flex applications that connect to XML and SOAP web services with no additional costs or server licensing required. Note the limitation of XML services and/or SOAP Services (both lowercase and upper intentional). The uninitiated might wonder why this is considered a limit. The Flex Data Services server piece (which will still cost big bucks) provides a super-easy super-fast binary-proto-over-the-wire auto-serialization auto-conversion-to-ActionScript-data-types RPC mechanism that can leverage existing POJO's on the server with finegrained declarative security. A mouthful of buzzwords that truly is worth something... but not sure it's worth the price they're asking. ;-) Oh, and for all you Eclipse freaks... the new FlexBuilder IDE is based on Eclipse. -T - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] our own code camps?
Seems like a good topic to continue on the wiki. ;-) http://tucson-jug.org:8080/display/TJUG/Home http://tucson-jug.org:8080/display/TJUG/Code+Camp+Discussion Speaking of wiki -- it would help tremendously if a mail server was available. Warner -- you mentioned the SMTP server requires a login. I think if you create a [EMAIL PROTECTED] acccount, Confluence will login and email will work. Worth a try. -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] our own code camps?
If we are going to do more stuff on the wiki now, it would be good to put a link to it on the main JUG home page. And maybe link to the meeting list on the wiki too, instead of the outdated one on the home page? Personally, I'd prefer to see the wiki be the homepage, on port 80. Then anybody who wants to update stuff, can. Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] our own code camps?
I think that would be great. Volunteers to help set up? (I have absolutely no idea on how to make confluence look less confluency and more like a regular site). It is more import to have current information than a site that doesn't look confluency, in my opinion. ;-) -T - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] RE:confluence navigation mod_jk
Okay, Confluence can do navigation out of the box. :-) Browse Space - Space Admin - Themes - select Left Navigation theme. Add a page called Navigation. Bingo. You've got navigation. ;-) For setting up the port 80 thing -- here are some sample configs using mod_jk or apache proxypass: http://tucson-jug.org:8080/display/TJUG/MOD_JK+or+Proxy+Setup -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] RE:confluence navigation mod_jk
Excellent! Much better. In the mean-time we could set a redirect from 80 to 8080 (I won't have time to look at setting up mod_jk until maybe the weekend). The proxypass trick might be easier, assuming that module is loaded. http://tucson-jug.org:8080/display/TJUG/MOD_JK+or+Proxy+Setup http://confluence.atlassian.com/display/DISC/Using+Apache+VirtualHosts According to the comments, a default tomcat running on 8080, might just need this change to httpd.conf: VirtualHost * ServerName www.tucson-jug.org ServerAlias www.tucson-jug.org ProxyPass / http://tucson-jug.org:8080/ ProxyPassReverse / http://tucson-jug.org:8080/ /VirtualHost (Confluence would need it's base url changed to match.) More proxypass info for apache 2.0 http://httpd.apache.org/docs/2.0/mod/mod_proxy.html -T - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] RE: Duffy Gillman on Natual Language Processing
Next Meeting (Natural Langauge Processing and Learning Algorithms) at the CCIT building on the UofA campus: Tuesday Duffy Gillman will be talking about Eric Brill's (http:// research.microsoft.com/%7Ebrill/) Transformation Based Learning Algorithm (TBL - http://nlp.cs.jhu.edu/~rflorian/fntbl/tbl-toolkit/ node3.html) as well as talking about other learning algorithms time permitting. Hey Duffy -- I know this is close to the wire, but if you're still around can you give us a rough synopsis? A catchy hook like, Want to add nifty FOO feature(s) to your next app?!? Well, well, after this talk you'll understand how the secrets of FOO can help you do BAR!!! (And yes, I do have beer on the brain. grin) -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] RE: Organization Discussion
If the JUG hooks me up with another contract like my current one, I'll be happy to throw in a projector, too! :) lol. :-) I haven't mentioned it because I'm lazy but I suspect I could get us a room with projector and net via the UA CS department. Good to know. Yes, the TCS does have a room, at E. Grant. It has chairs, a projector and, I believe, a net connection. You can see a tiny picture of in the top banners at http://aztcs.org/sigs/sigs.shtml. Affiliating with the TCS as a SIG, assuming they'd have us, would solve the meeting room problem, the dues-collection problem, and the budget-committee problem. Their dues are $45/yr, $25/yr for students. As a bonus, my cost for attending Developer's SIG (http://devsig.editme.com/) meetings would be slashed in half! :) This might be good option. Martin Lapidus has attended several of our JUG meetings (I think he's on this list too, right Martin?). We said that this group consists of mostly professional developers and that we like the focus of talks to be fairly technical. So as a rule, we're all mostly geeks -- doing the business side of running the organization is the part that's hard to get folks to do. We could bring 20-30 members into the TCS, software licenses for JiveSoftware Forums, Jira, and Confluence...and the brains to run the stuff, even perhaps write some custom software. TJUG gets non-profit status, access to a building and projector, monthly advertisement and announcement of the group, a MUCH bigger group of members to entice corporate sponsorship/demos to the SIG, etc. Bill -- do you know where they host the aztcs.org site? Perhaps we could combine effort and resources? Of course -- I'm sure we'd have to give up some control so we'd also want to understand/discuss how funds are allocated, officers elected, etc. Summary though -- maybe this is a really good way to get the drudgery off our backs so we could focus more on the fun stuff like good topics and creating online versions? Tim P.S. If you are interested in the idea of creating a preso to sell, I may be interested in buying, so please contact me offlist at [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Organization Hosting Solution
org.tucson-jug.TimoIsBeingGeekyException at gillman.duffy.ReadEmail (ReadEmail.java:57) at gillman.duffy.StareIdlyWhileDrinkingCoffee (StareIdlyWhileDrinkingCoffee.java:1044) at gillman.duffy.MorningRouting (MorningRouting:32) ... 39 more Man, I feel so much -less- geeky now. ;-) Yes, I have previously felt a little awkward realizing that if I don't show the TJUG becomes an exciting hallway experience. More than once I've been pulled in by conscience alone (...but Lifetime is running a Little House on the Prarie marathon this Tuesday... *sigh*). But what alternatives do you have in mind? I think we might be able to get a meeting room at the UA Library with little or no effort - but I don't imagine we'd get a fancy overhead projector. And think of that fabulous doorbell, Timo! What would replace the fabulous doorbell? I have no alternatives in mind -- but it's something I think the group should work out before you come down with a fever, go on vacation, want to watch Laura Ingalls Wilder bale hay... or after 15 months of meetings, you decide, uh, folks, I just honestly don't want to come to the meeting tonight, it's just Tim talking, and I'd rather pass. And if we discuss and say, gee...we can find a meeting room...but no projector...hmm... do we 'need' a projector? Well, unless Nick is presenting and we can huddle around his gigangtic Powerbook screen...yep, we need a projector. Sooo...how much is a projector? Oh, about $800. Hmm...we have no budget, so, Hey Bill, could you donate $800 so we can buy a projector? grin Lol -- I'm starting to understand why the Tucson Computer Society folks might have been silly about wanting all folks who attend meetings to pay dues (even if they do give a preso). I believe TCS rents a building, owns a projector, has furniture, and presumably incurs other expenses too. Cheers, -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] RE: online presentations
FYI -- MS Office 2003 has a free add-on called MS Producer that kind of mashes Window MovieMaker and PowerPoint together to let you create a preso with audio and/or video. It's buggy, but's something to look at if you have Office. Even if there's a tool -- you still need to get folks to create the premium content. What's in it for them? (besides fame and admiration from adoring geeks) ;-) I'm curious how many folks would be more interested if they were _selling_ a presentation? 'pop'...the sound of a dozen geeks ears pricking up. Example: $250 for 60 mins preso, guaranteed even if only 5 people pay to watch or $1 per paid view of the preso -- if 5 people watch you get $5, if 5000 watch you get $5000. How much would you pay to watch a typical JUG-quality 60 min technical preso (i.e. not necessarily a professional presenter, with a well-oiled presentation)? $1 $3 $5 $10 $25 other? How much for a No Fluff quality preso (ex. Dave Thomas on Ruby, Bruce Tate on EJB -- with well-rehearsed material)? -Timo -Original Message- From: Chad Woolley [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 12:23 PM To: jug-discussion@tucson-jug.org Subject: Re: [jug-discussion] Re: Organization Hosting Solution The RubyOnRails guys seems to have a pretty low-tech approach: http://rubyonrails.org/screencasts They use Snapz Pro X (http://www.ambrosiasw.com/utilities/snapzprox/), which I guess is Mac only. The point is, they just have a screen capture and audio of the presenter talking. This should be sufficient to at least have something started, right? If the presenter diligently repeats any questions, keeps random audience conversation to a minimum, and people can live without seeing any live video of the presenter or audience, something like this just might work, and wouldn't require any cameras or fancy sound stuff.. Anyone know of a non-Mac solution which does the same sort of thing? Anyone want to volunteer to put it on their laptop and let me use it for my presentation this month? :) I don't have a Mac and my laptop is so old I'm embarassed to take it out in public... -- Chad On 2/3/06, Steven Elliott [EMAIL PROTECTED] wrote: On 2/3/06 11:51, Tim Colson (tcolson) [EMAIL PROTECTED] wrote: I'm not saying it's impossible -- just pointing out that it isn't simple. I agree with Tim that you can make producing the content a huge effort. I was thinking of something simpler, more of a: record the audio of the presentation. sync the audio with the powerpoint slides. import the powerpoint to breeze. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Organization Hosting Solution
Geez Timo, did we offend you? First you dis our job offering, now the wear out the welcome crack. ;) Hmmm... that job email seems like it was a long time ago... I do vaguely remember taking a jab at the description, which I think was fairly boring and vague, eh? ;-) The point, perhaps backhanded, was that AMO, Simon, and others were kind enough month after month to provide a room, an overhead projector, and somebody to lock the place up after we left. Duffy is doing that now at UA...but unless I'm mistaken, he's a single point of failure in the whole where to meet for The Meeting process. Seems like an unhandled exception just waiting to throw a stack trace. (okay, that was a bit too geeky for even me to write.) For the record, the JUG did not wear out the welcome at AMO, we just kept converting the big conference rooms into office space until there were no more conference rooms big enough for the meetings. Really, that's all? I could have sworn somebody gave me the finger the last time we were there. Hmm, well, that might have just been Drew. ;-) Personally, though I rarely attend the meetings anymore, So, uh... rare == 0? Seriously, what can we do to convince you to drop by some time? I would be happy to pay annual dues to support the group and the option of attending some awesome presentations. I think everyone has violently agreed that the meetings should stay open to anyone (even you Vince... as I recall, someone actually said the words, even Vince... err...maybe that was me saying the words... hmm, can't recall...) Another thing to consider is individual dues and corporate dues. Corporate dues would be more expensive, but would entitle all employees of the corporation to attend member only events and access to the not quite free stuff. Indeed something to think about. Coming up with the list of not quite free stuff is on the list of things to do. Food comes to mind, but if folks aren't attending in Tucson, not so much of a benefit... same for parties and beer. Begs the question -- what would convince folks it's worthwhile supporting this group with cold hard cash? Thoughts? Cheers, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Organization Hosting Solution
The organization in William's story was certainly silly... but that was perhaps a problem due to that groups silly rules. But at least they were one step ahead us -- we have no ground rules at all. ;-) The informal donations might cover hosting budget for a year or so, but I think there is more to consider. Without dues, everyone/anyone is a member and can use the free server, eat free food at meetings, and vote on issues. I don't know about others, but if I'm going to give money to a group, I want a little more say in how it's spent than the freeloaders. ;-) I'd also prefer dues so the group had a known budget - would make it easier to plan for expenditures for hosting, holiday parties, food, or to take a guest speaker out for drink, or buy them a thank you. I don't think it's fair to just rely on the few of us who usually attend to pick up the tab for this kind of thing. And I don't believe the group will grow if we have to always beg for handouts. We apparently wore out our welcome at Old Pueblo Traders -- and if the same happens with Duffy and UA, then the group is homeless, budgetless, and projectorless. I'd like to see the group think longer term and bigger than just our next preso. Cheers, Timo -Original Message- From: Chad Woolley [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 9:29 AM To: jug-discussion@tucson-jug.org Subject: Re: [jug-discussion] Organization Hosting Solution Why, we're just poor programmers! You're not implying that our time is worth more than our money are you??? But seriously, I agree entirely. For something like $18/month for hosting, the informal approach would be more efficient than dues. Popping for chips and coke to lure college students might be another matter, though - but I'm not sure... -- Chad On 2/1/06, William H. Mitchell [EMAIL PROTECTED] wrote: I think it would be great if the various consultants, contractors, and companies that have benefited from the JUG would simply offer to step up and help fund reasonable expenses as they see fit. Thus my offer cover hosting for a year, assuming we have a webmaster (that's the big contribution, of course). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] scripting language shootout
I woke up on the pessimistic side of the bed today... so I apologize if this sounds curt... but here goes... ;-) I obtained free non-profit licenses for Atlassian.com's Confluence, Jira and JiveSoftware Forums...oh, about 18 months ago. It's taken this long just to get enough time and coordination to get Confluence running. (And it's only barely installed, running standalone using HSQLDB in a user-account and won't survive machine reboots.) I think it'd be overly optimistic to think Trac will magically appear on the tjug machine. ;-) FYI -- Confluence integrates with Jira (issue tracker) and Jira can integrate with SVN http://confluence.atlassian.com/display/JIRAEXT/JIRA+Subversion+plugin Anyway -- I posted the notes I took and opened up the Confluence install to anonymous users to view: http://www.tucson-jug.org:8080/display/TJUG/Jan+2006+Meeting+Notes Cheers, Tim -Original Message- From: Chad Woolley [mailto:[EMAIL PROTECTED] Sent: Sunday, January 29, 2006 11:54 PM To: jug-discussion@tucson-jug.org Subject: Re: [jug-discussion] scripting language shootout Is this a wiki that it integrated with an SCM, similar to Trac (http://www.edgewall.com/trac/)? I think that would be more appropriate for a small, code-centric project such as this. I looked for about 1 minute to see if Confluence appears to have any SCM integration, but I didn't see it here: http://www.atlassian.com/software/confluence/features/integration.jsp I'd vote for setting up a Trac site and SVN repo dedicated to this shootout activity and use subversion, if only because Trac and subversion are really cool and good to know. Also, how about those meeting minutes from the last meeting? There was definitely some important discussion regarding the future of the group that should be shared on the list. Can we just publish them in their raw glory, or with just some minimal expletive censoring? -- Chad On 1/27/06, Warner Onstine [EMAIL PROTECTED] wrote: Once I get the wiki setup (sorry, should have it done this weekend), we can do it there. -warner On Jan 27, 2006, at 11:03 AM, Chad Woolley wrote: Sounds interesting. Is there some confluence/trac/scm/wiki-ish sort of thing that is set up so we could do all the specs and coding publicly (or with visibility to all jug members)? -- Chad On 1/26/06, Warner Onstine [EMAIL PROTECTED] wrote: Ok, I know that we've talked about this before, but I really would like to make this one a reality as I just think it's a lot of fun. Here's what I'm thinking about: 1) Define something with a little spice to it to accomplish - say connect to a db through a command-line application, retrieve a set of data, allow the user to select a record and return just that record. 2) Any scripting language is fair game (perl, ruby, python, jython, beanshell, groovy, etc.) 3) briefly go through the code to show what's involved with each one 4) Speed tests! (I think we'll need judges on this one!) We have plenty of presenters lined up for a while (I believe) so we can line up anyone who's interested in participating in this and plan it for a future preso. Whose interested? (I'll take Groovy and maybe Ruby if noone else does). -warner --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] URL Rewrite filter
I could probably give a 15 min talk on this...but the quick summary is that Url Rewrite is a simple and extremely versatile tool! More details here on a wiki page :-) http://www.tucson-jug.org:8080/display/TJUG/URL+Rewrite -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] FW: [CONF-user] Help us spread the word about Codegeist
FYI -- individuals and teams can win gifts and prizes writing Confluence plugins ($10,000 in cash and prizes). Timo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Nolen Sent: Monday, January 30, 2006 6:47 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [CONF-user] Help us spread the word about Codegeist Help us spread the word about Atlassian Codegeist! While it may slightly lower your odds of winning first prize, you'll make up for it by having more new plugins that will make your life easier in the future. Isn't that worth it? http://www.atlassian.com/codegeist If you are a member of any technical user-groups (JUGs, LUGs, MUGs and the like) please mention the contest where it's appropriate. And you can publicize the contest to your co-workers, colleagues and fellow students with these flyers we've posted. Print them out and tack them on your cube, the department bulletin board, or in the loo (the ultimate captive audience.) There's also a logo, if you want to mention the contest on your blog. (All you kids today have blogs, right?) A quick pointer back to the Codegeist home page would be huge. http://confluence.atlassian.com/display/CODEGEIST/Flyer Thanks for your help! Cheers, Jonathan and the Atlassian Team -- Jonathan Nolen Mail: [EMAIL PROTECTED] Web : http://www.atlassian.com AIM : JonathanNolen Cell: 805.895.2794 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] scripting language shootout
Duffy wrote: 1) ask Warner to add 'tomcat/bin/catalin.sh start' to /etc/rc.local, or start and stop scripts to the /etc/rc*.d directories, and Thanks Duffy. I know what would need to be setup for start/stop scripts...but there are other considerations too , like starting as root so it could attach to port 80. Better still of course would be to setup startup scripts and mod_jk connector to Apache (I've got all the configs from the corporate setup.) 2) make sure hsqldb is configured to write data to disk (it does in-memory only if configured specifically NOT to write to disk) Yeah, the default is writing out data into the confluence_home/database dir. Otherwise, I know there was an attempt to configure MySQL on that machine. If someone wants to install it (is the distro .deb or .rpm capable?) I can figure out how to init the Confluence tables given an appropriate login. MySQL is on the box, but I believe it's 4.0 -- which I personally had many issues with that went away with 4.1. Confluence table init is automagic -- so long as there is a datasource setup with a uid/pass, Confluence can take it from there after a bit of change to the config file. The tricky bit really is getting folks to actually volunteer and coordinate with the fact that this is still a production box for Warner... really don't want to blow stuff up. ;-) -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Organization Hosting Solution
Cool, thanks for checking into that, Chad! I'm +1 for rimuhosting...assuming we can get enough dues collected to cover at least 12 months, preferably 24 months. Until we are a non-profit organization with a bank account... somebody will have to personally handle the hosting/payment, eh? I think we should figure out a bit more of the organization and business stuff before we get the hosting solution and dues going. Thoughts? -Tim -Original Message- From: Chad Woolley [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 10:08 PM To: jug-discussion@tucson-jug.org Subject: Re: [jug-discussion] scripting language shootout RimuHosting got back to me. They will waive the setup fee and give us a 10% discount, which works out to $18/month for a linux VPS with full root access and choice of distro, 96MB ram and 4 gig of disk: http://rimuhosting.com/order/startorder.jsp These guys have great support too, they are very helpful plus have a bliki with lots of specific HOWTOs on setting stuff up: http://bliki.rimuhosting.com/space/start If anyone knows of a better deal that gives full root access, pipe up. Lets get this moving... P.S. As for hosting it on SourceForge as was suggested, I'd personally rather have it hosted on something we have control over - with a wiki, and with subversion, and anything else we think up. On 1/30/06, Tim Colson (tcolson) [EMAIL PROTECTED] wrote: It's been the time and coordination that has been difficult. Ex. Hardware. Stable OS. Access to the box. Setup of Java SDK. Setup of - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] JMS
Has anyone worked with the ActiveMQ JMS server? http://www.activemq.org/ Would anyone be interested in a code sprint to create a java gossip client that sends notes to JMS topics and listens for responses? (Okay, so this sounds a bit like RSS... but JMS seems perhaps like a better way to do subscriptions, no?) Further thought... howabout a JMS server that has a client MDB that listens to a big feed, filters the postings based on user-prefs (articles with '32 TV' in them), and then posts the cream of the crop into a personal JMS queue that their Java client listens to. -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] JMS
Well, this would fall into something besides a code sprint sprint refers to actually implementing functionality for a specific project rather than just to learn something. Geez, sue me for semantics. ;-) a two-day or three-day focused development session, in which developers pair off together in a room and focus on building a particular subsystem. Okay, so I'm suggesting something shorter than a sprint... more like a 3-4 hour warmup jog. ;-) And as for a specific project...well, all it needs is a kewl name and my one line req't description becomes a project. ;-) Ergo -- I propose we create JGossip -- a java client that smells like an RSS feed reader/poster app...but uses JMS in the backend so it is way way way more scaleable than any silly firehose of previously grabbed data XML RSS Feed. grin So who's down with that? Timo P.S. The advatnage of doing this at the Colson Casa is that I can provide 6Mbps of WiFi, several comfy places to sit, a friendly dog (http://www.flickr.com/photos/timcolson/), and the most important thing -- beer. ;-) Besides that, these little learning sessions are definitely a good idea (we could dredge up the original name that you coined Colson Coding, or was it Colson Casa Coding?). In short, I'd definitely be interested in digging into JMS, it's been awhile since I've done anything with it (I did some contract work for Andy on the IBM mq seriies stuff and some work on OpenJMS way back when). -warner On Jan 5, 2006, at 12:56 PM, Tim Colson ((tcolson)) wrote: Has anyone worked with the ActiveMQ JMS server? http://www.activemq.org/ Would anyone be interested in a code sprint to create a java gossip client that sends notes to JMS topics and listens for responses? (Okay, so this sounds a bit like RSS... but JMS seems perhaps like a better way to do subscriptions, no?) Further thought... howabout a JMS server that has a client MDB that listens to a big feed, filters the postings based on user-prefs (articles with '32 TV' in them), and then posts the cream of the crop into a personal JMS queue that their Java client listens to. -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Meeting in December
I'll be out in San Jose that week. Bummer. Timo -Original Message- From: Warner Onstine [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 10:10 AM To: jug-discussion@tucson-jug.org Subject: Re: [jug-discussion] Meeting in December They all sound good to me, but I'm going to vote for Cuvee. At least I will be attending (unfortunately Danielle will be working Tuesday). -warner On Nov 16, 2005, at 9:14 AM, TR wrote: Lets make the December meeting a christmas get together. First we need to know where, Places brought up at meeting were Cushing St 198 W. Cushing Cuvee 3352 E. Speedway Caruso's , 434 N 4th Ave Cup Cafe 311 E. Congress Casa Vicente 375 S. Stone ( Boy you'd think we only had the the C page of the restaurant section ) Other suggestions welcome but time is limited.The date would be the same as our regular meeting Dec 13. Also need to get head count of those who plan to attend. RSVP TR - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Positions in Phoenix!
Unless everyone wants to change this, which I'm fine with, I just don't want to clutter the list with job postings. FWIW - job postings on the main list don't bother me. Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Meeting in December
Casa Vicente both rock (though C. Vicente may be a madhouse - a large group ordering tapas from a restaurant with por service... but man, the food is awesome). I am spoiled, no doubt, by the tapas we had in Barcelona... but yeah, the Casa Vicente service was really slow, we liked about half the dishes,and the price wasn't exactlya"ganga" ;-) -Timo
RE: [jug-discussion] [11/8] Meeting Tuesday
So -- how'd it go? I didn't show up because I've been sick the past week, and on top of that I had to migrate three apps and two app servers on Wednesday starting at 6AM. It's been a long week. What's on the plan? Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] JUG code sprint
Sounds like fun... What will we be coding? - An events calendar (using some code donated by Andy as the base) - A membership sign-up form - A membership directory - Presentation archival tool Some of this functionality might be easier to add as an extension of the Confluence wiki. Ex: calendar macro here that is open and could be extended: http://confluence.atlassian.com/display/CONFEXT/Basic+Calendar+Macro There are always lots of ways to do anything, so I'm not saying this is the way, but it might be a great starting point to leverage. http://confluence.atlassian.com/display/CONFEXT Docs on developing plugins and macros: http://confluence.atlassian.com/display/DOC/Confluence+Development+Hub Plus some sysadmin type things: - Integrate a blog Not sure what you mean by integrate -- but Confluence has blogging functionality built-in. The new 1.5 version will have a custom RSS feed creator that can grab content that is labelled to your liking. - Setup the Wiki - Setup the bug-tracking system Obviously, I'm interested in getting Jira/Confluence installed... but our schedules haven't meshed. So maybe this date will work out great. :-) Oct. 29th Nov. 5th Nov. 12th I'll be out of town on the Oct date, so the 5th or 12th would be better for me. Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] JUG code sprint
Some of this functionality might be easier to add as an extension of the Confluence wiki. Another thought, some functions might be easy enough to just use the wiki directly -- no need for a tool. Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Why Jython, or Jelly, or Groovy, or Beanshell or ... instead of perl, or sh script?
Groovy would be a decent solution I suspect, but wouldn't you need to layer in HttpClient or something like that to get decent HTTP facilities? Yeah, but in fairness - both ruby and perl need HTTP libraries too. And Commons HTTP Client has a nicely documented API. Oddly, 5 seconds ago on the urbancode anthill list, somebody just sent a link to the beanshell manual (I believe they integrated bsh into Anthill) http://www.beanshell.org/manual/bshmanual.html For somebody with primarily a Java background...it might be an interesting option. Ant could do it, but you'd have to have Java, Ant, and to get looping you'd want ant-contrib as well :) I wondered about the looping...and I certainly don't want to start debating the readability of the build.xml files... I think we've all been there before. grin http://groovy.codehaus.org/Ant+Scripting Looks fun almost a little disorienting without the pointy brackets grin Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Why Jython, or Jelly, or Groovy, or Beanshell or ... instead of perl, or sh script?
I suspect a subject line with the P-word in it will at least hook folks into reading this... ;-) Problem: developer has access to a website with tar/gzipped log files...archived into folders by year 2005/ and month 01/ 02/ and then the filename has a date in it too - daily. He complains, Wh! I need more than one file, so without SCP access, I have to click click click... Whaaa! I say, Shut up and write a 3 line script to automate the HTTP call... and leave me alone. (I can only imagine what he's thinking about my parentage after that IM. ;-) But this begs a question for the group here... if he asks, What are the three lines? and I decide to do all his freakin' work for him... then, I'd write a little perl script because I've done this in Perl at least a dozen times in my life so it's familiar. I wouldn't grab java because although commons has an http client that's slick, I'd also have to write files and I suck at that in java. But if I make the developer learn how to fish... well, perl might not be apropos given his skillset (i.e. no perl), so I don't know what would be best to suggest to him. So if you were doing this task, how would you approach it? What tool would you use? And more importantly, why? -Timo P.S. there are no bonus points for out of the box approaches like, change the server logging setup or attach a drive share, etc. The point is to focus on the HTTP task and how to do that. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Why Jython, or Jelly, or Groovy, or Beanshell or ... instead of perl, or sh script?
[Eric would] use Ruby, personally. It'd be much more readable than the equivalent Perl variant, almost for sure. The readability factors into the maintainability too. Let me break that down a bit... Can we assume you, Eric, have the experience to write either a perl or ruby script? So the choice of Ruby was because you believe that would be more readable than a perl equivalent, not due... maybe because of more familiarity with Ruby and less with Perl? I'm trying to put that gingerly...because, well, my equivelant of your script looks readable to me, because I know more Perl than Ruby. :-) -Timo # Leverage the LWP Useragent lib # http://search.cpan.org/~gaas/libwww-perl-5.803/lib/LWP/UserAgent.pm require LWP::UserAgent; my $ua = LWP::UserAgent-new; # agent automagically handles 7 redirects by default, but we'll increase to 10 $ua-max_redirect(10) my $url = http://www.somewhere.com/logs/logfile.txt;; my $response = $ua-get($url); if ($response-is_success) { print $response-content; } else { die $response-status_line; } One way would be to leverage the Net::HTTP library: http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/ I use it to fetch a string from an HTTP response this way: # Fetch method copied from PickAxe, p. 700 def fetch(uri_str, limit=10) fail 'http redirect too deep' if limit.zero? response = Net::HTTP.get_response(URI.parse(uri_str)) case response when Net::HTTPSuccess response when Net::HTTPRedirection fetch(response['location'], limit - 1) else response.error! end end fetch(http://www.ruby-lang.org;) # for example, which would follow the redirect to /en To pull binary content, you'll have to use the API slightly differently, but it'll still be pretty trivial. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Why Jython, or Jelly, or Groovy, or Beanshell or ... instead of perl, or sh script?
At least I can spell your name correctly :)) Heh heh, well, mine -is- easier to spell of course. grin Sorry about that. :-) This beautiful blog entry sums up my take on readability quite a bit: http://onestepback.org/index.cgi/Tech/Ruby/LineNoise.rdoc Hmm... readable means more than percentage of squiggly chars to me. Perl gets more and less readable the more or less I work with it over the last 2-3 months. Recent experience with any lang taints my perspective slightly. Although weird idiomatic things in Perl that I know about an understand like $_ and $self-bless() --always-- look funny to me. grin So in this particular case, the readability is not much different. Ruby and Perl have a lot of commonalities - I just find Ruby much more pleasing to the eye personally. And I wouldn't hesitate to recommend a simple Ruby script to someone over a Perl one. Flame on! That commonality is another reason why it's hard for me to unbiasedly give somebody advice on what to use. When I look at Ruby, I see things that are perl-esque and therefore familiar like the unless and the if clause at the end of a line instead of the forefront like java expects. It's hard, actually impossible, to not have my background cloud my perception of easy to read. Dave Thomas said so many times in his talk about how Ruby just makes more sense. I wanted to scream because ruby and perl would both lose to english if I gave them to my Mom (who hasn't written a book on Ruby, and lived with it for the past two years) and asked her which was more readable. Let me turn the question on it's side a bit... assume your main experience is with Java -- then what solution would that person likely grok quicker and be able to do what EriK and I (both Recovering Perl Users) have shown in ruby/perl? My guess is that -both- of our solutions would be strange to somebody who hasn't ever used a perl/ruby interpreter. Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] RE: Streaming preso
Say... somebody could, y'know... try streaming the preso or something... ;) Hey Robert - Duffy and I were talking about setting up Macromedia Breeze (borrowed use of the University license). It most likely isn't feasable to do for this month, but I do hope to followup and look into it for future meetings. But who knows, maybe if I show up early today, Duffy will be around and have time to try an alpha test. Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Meeting tonight - Howard Lewis Ship, creator of Tapestry and HiveMind
Woot! I'm looking forward to tonight! (And not just for the beer this time! grin) Cheers, Timo -Original Message- From: Warner Onstine [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 10:13 AM To: jug-discussion@tucson-jug.org Cc: [EMAIL PROTECTED] Subject: [jug-discussion] Meeting tonight - Howard Lewis Ship, creator of Tapestry and HiveMind Tonight we are very lucky to have a special guest, Howard Lewis Ship - creator of Tapestry and HiveMind, joining us for our monthly JUG meeting. He will be talking about Tapestry 4 and HiveMind. As usual our meeting begins at 6:30 for meet and greet, and then continues at 7 with any JUG business, and then will conclude with Howard's talk and QA to follow at Gentle Ben's on University, east of Euclid. Our meeting is now held at the CCIT building on campus, which is just off of 1st Street and Highland on the UofA campus. The best place to park is just east of Highland on Vine. Since 1st is a one-way street the best way to come in is either off of Cherry (from Speedway) or off of Campbell (heading southbound). Make a right onto 1st from Cherry and then make your first right (I believe). Park near the west end of the lot and there is an exit in the southwest corner that you can use to cross the bike path and over to the CCIT building (3 or 4 story structure on Speedway). Once in CCIT follow the signs or go up to the third floor and head to the other side of the building to room 337. Maps can be found on the JUG home page - http://www.tucson-jug.org I know that this is short notice, but I sincerely hope that you all will be able to make it to the meeting tonight, it promises to be fun! -warner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] meeting tomorrow
I am currently in talks with Howard right now to do either a short Tapestry or HiveMind preso tomorrow evening. I'm personally interested in HiveMind (http://jakarta.apache.org/hivemind , an Inversion of Control container). What about everyone else? Sure, it would be interesting to hear a comparison between Spring and Hivemind...and hear his theories on how Spring got so damn popular instead of the other IoC containers. :-) And in deference to Mr. Z, another quick dose of Tapestry couldn't hurt. grin (Latest project I've got is using SpringMVC and Velocity.) I have also fixed the mail archive. Thanks dude! And of course...there is always beer. grin Cheers, -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Promotion of new JUG mascot
I now know, without a doubt, that we live in a wacky town. We have Trogons, which aren't fictional characters that read poetry, mind you...and we talk about them on java mailing lists more than java itself. Interesting banter, yes... but still... Wacky. ;-) -Timo -Original Message- From: Cara [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 5:32 PM To: jug-discussion@tucson-jug.org Subject: Re: [jug-discussion] Promotion of new JUG mascot Here's an idea ... but, if I'm boring the non-birders on the list, just tell me. Southern Arizona rocks when it comes to birding. We share a bird with Java ... the Trogon. Seriously, this is an awesome bird and our great birding area should give the Tucson JUG the right to pick our own darn bird (and one that isn't a lowly finch and rice paddy pest!). Java has the blue-tailed trogon and the orange-breasted trogon. We could just stretch things a bit and use our elegant trogon. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] it's been fun...
Heh heh -- well, don't think of it as leaving...think of it as remoting ;-) On that topic -- just last week I helped pull video from a DV camera -- damn simple. A simple conversion to something streamable seems doable. Makes me wonder if the folks at Macromedia have a dirt cheap offering of Breeze for non-profits... perhaps then we could virtualize and leverage speakers in Tucson, Phoenix, and elsewhere? Think of it as No Fluff Just Stuff On Tour. ;-) Of course, we'd need good people like Robert to step up and volunteer to give presentations. :-) Cheers, Timo -Original Message- From: Robert Zeigler [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 9:29 PM To: jug-discussion@tucson-jug.org Subject: [jug-discussion] it's been fun... Well gang, sorry to say I won't be able to make Warner's mangling. ;) Actually, I wanted to write and say thanks for the good times, great presentations, and letting me get up a time or two to make a fool of myself. ;) Tomorrow I'll be packing up a truck and moving to Missouri for grad school (computational biology). Thanks again for everything, it's been fun. :) Robert Zeigler - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] June Mtg and beyond?
Are there any speakers/topics for the meetings for June, July, etc? Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Ajax example @ Amazon
Interesting stuff they managed to do here for product selection. There's gotta be AJAX under the covers... http://www.amazon.com/gp/search/finder/102-8300467-2476111?productGroupI D=loose_diamonds Weird thing is why after all that work to stay client side...the results grid has server-side sorting of the data. :-) Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Group direction ideas
Hey gang - Last month the in-person group was rather small. TR gave a good talk on running Java from Oracle. We all know the group number varies...and some times of the year or particular topics/speakers bring in a lot more folks than others. And there is also have a large 'virtual' contingent on the list... so obviously speakers aren't a big draw for those folks right now. I've been attending for a few years now, and I'd like to see TJUG evolve and grow a bit. I'd love to have more people interested in attending the meetings, and participating on the mailing list. I'm interested in all sorts of presentations topics from code to html design to css to the Dark Side to C# to home theatre to animation to decorated 2d graphic buttons. :-) More people -- I think, will help get more topics, more discussion, and more beer. :-) But how to do that? What interests other folks? What will entice you to meetings? What will convince you to bring a friend? What thoughts and ideas do folks have? What can you do to help? -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Ajax, Laszlo, Flex
You could do the same admittedly with Lazslo or Flex, but you're going to be outputting XML from them anyways (in most cases). The backend can be any framework, but the paradigm is so different as to make the backend controllers not always 100% applicable. XML is probably the least efficient, at least for Flex where connections using Macromedia's proprietary wire protocol for essentially making remote procedure calls are faster and (sometimes) easier. RE: comparing the three... some comparisons/contrasts could be explored without writing code. For example -- since both Flex and Lazlos run in the FlashVM, they gain the ability to work in any browser, on any platform, with identical functionality. They both gain a bucket of re-usable widgets. Ajax does not seem, to me, like the actual 3rd category -- technically, AJAX describes a communication via XML over an inline HTTP call via javascript. In the more colloquial sense -- Ajax is starting to mean like GMAIL -- a partially dynamic webapp. (Please, no flames for the word partially -- just distinguishing it from a fully dynamic desktop app from a DHTML+Javascript+XMLrequest chimera.) So the comparison between the three becomes how does the user experience compare? and how does the developer experience compare? Since the group can apparently discuss which local bookstores suck less than others for a good bit -- I'm certain we could discuss both of the above for months. grin Here -- I'll lob one opinion into the fray, Gmail is a HUGE step forward! But, well, HTML/DTHML was three GIANT steps backward from a typical GUI client app... so you do the accounting. ;-) Tim P.S. Oh how I miss the Computer Literacy bookstore in San Jose which had 99% technical books...in numbers too high for even William to count, and even included copies of books that weren't published yet (big fat stack of 8x11 paper comps of what was coming soon). ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Ajax, Laszlo, Flex
Another couple good Ajax links... Pretty diagrams here: http://www.adaptivepath.com/publications/essays/archives/000385.php Dude here responds to folks who think Ajax sucks... http://www.ajaxian.com/archives/2005/03/ease_of_deploym.html (BTW - don't get me wrong, I do think ajax and gmail are good stuff... I'd like to see a lot more of that applied to the overwhelming majority of brain dead designed web apps. But I also believe that One Size Does Not Fit All...and always try to pick the best for the job at hand.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Google Insider
Say Nick - After you become a Google Insider...maybe you can figure out if the Maps engine http://maps.google.com/ can be asked to map multiple locations? ;-) We already know that doing a local search will plot multiple found locations... but I want to provide the list of locations...and then ask it to give me directions from point A to C to B. And while you're at it, I want a web-service so I can tie into it. grin I'm betting other JUG'rs might be interested in that too. BTW -- the folks at Google rock. :-) Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Google Insider
Thanks Vince -- Interesting site, at first glance, a bit more effort than I'd prefer -- I'm lazy. ;-) I really like the Google maps stuff, especially that I can type 4755 N Oracle Rd, Tucson, AZ all in one line and not have to take the time to pick fields. Computers are smart, they can figure that string out. ;-) I want the same super simple UI so I could paste in addresses, perhaps delimited by semicolons... have them plotted. Click on Get Directions and it routes from A-B-C. Click Round Trip and it plots A-B-C-A. Then use Edit-in-place DHTML voodoo (linke below) to allow me to drag/drop to create a rout efrom A-C-B-A. http://tool-man.org/examples/edit-in-place.html THAT would rock. ;-) And even better...you specify the starting point and it figures out the shortest route to all the spots. (Sales folks would dig that.) Timo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 2:04 PM To: jug-discussion@tucson-jug.org Subject: Re: [jug-discussion] Google Insider Try www.randmcnally.com. Use the trip planner and you can add all kinds of stops and get detailed driving directions and maps. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Simple Spring question
Chad - Hmmm... here's an idea... no guarantees it will make any sense because it's early in the morning (well, not 2:44AM early...but I digress)... Instead of using the Spring Property Configurator... I inject my own MultiplePropertyConfigurer which is property loader that can do more tricks than the standard beast using static lookups from my Configuration class. So here is the idea... do something similar, wrap the existing PropConfigurator and check for a special versionNumber lookup key then deal with that differently. Differently meaning something like loading the file from the classpath and returning the entire content as the value. Your milieage may vary, I make no guarantees, my wrist is not broken, but what I've typed above may still be crap. grin Cheers, Timo package com.foo.bleck; import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import java.util.Properties; /** * Attempt to provide files for multiple environments using only one properties file. * * foo=default_value * lcl.foo=local_value * dev.foo=dev_value * */ public class MultiPropertyConfigurer extends PropertyPlaceholderConfigurer{ public static Log log = LogFactory.getLog(MPC); protected String resolvePlaceholder(String s, Properties properties) { String prop = Configuration.getProperty(s); String ppc_prop = null; // If we cannot find it, try the parent. if (null == prop) { ppc_prop = super.resolvePlaceholder(s,properties); } String val = (prop != null) ? prop : ppc_prop; //log.info(MPC:+s+=+val + ppc_prop=+ ppc_prop ); return (val != null) ? val : ppc_prop; } } -Original Message- From: Chad Woolley [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 2:44 AM To: jug-discussion@tucson-jug.org Subject: Re: [jug-discussion] Simple Spring question Thomas Hicks wrote: I suspect you already know that *if* the file was in Java Properties (i.e. key=value) format that you could have Spring inject the value directly into your bean, as illustrated below where I am assuming that the file 'AntHillPro.properties' contains a line like: anthillpro.version=5.6 I had thought of that. Anthill will increment the last parsable number in the file and ignore everything else, so it would definitely work. However, I did want to avoid having the specialize the format of the file and add extra stuff other than just the number, because the number in it is used for other purposes (building artifact ids, for example). I guess I could post-process it somehow to add the extra stuff after reading it, or remove it when used for other purposes, but that starts getting complicated again. -- Chad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] April Presos
Hey gang - I just wanted to say thanks again to Ray and Robert for the preso's tonight, and Duffy for getting us access to the bldg/room. I'm inspired... I now want to build a multi-user server with two threads that has purdy buttons. :-) Some interesting code snippets to gaze upon: http://javaalmanac.com/egs/java.nio/pkg.html http://www.onjava.com/pub/a/onjava/2004/09/01/nio.html Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] OT: Garage sale with geek stuff - Mar 19
Off topic...but well, I'm sure the adventurous might be able to run J2ME on some of the devices I'll be selling tomorrow. grin The neighbor across the street is moving and selling all sorts of stuff. So we decided to join in -- we'll be in the morning with various stereo gear, speakers, TV's, computer bits, cables of all sorts, a mountain bike, and other things my wife yanks outta the house. Drop by to peruse, or just say hello. :-) East two streets from Prince Campbell. http://tinyurl.com/4xzar Cheers, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] storing blobs on file system or in db
if there's a general rule on whether one should stick such things into a db or onto the file system. Where to stick uploads always tends to spark debate from both sides. (I see there are already a bunch of replies. ;-) Personally, the debaute leaves me thinking that either [religion] has it's benefits/problems and there isn't a clear winner. (Unless you've got some hard and fast environ req't.) putting them on the fs seems to interfere with clustering Yep. I've seen some systems where the file system area made writeable for 'uploads' is actually shared across the cluster to avoid that problem. But then, you still have potential for concurrency issues if multiple CGI/Servlet/Gerbils try to manipulate the file. I'm no expert, but Unix Filesystems have let me shoot myself in the foot more times than I care to recall. ;-) putting them in the db puts extra load on the db and the network. there are a bunch of other issues too. Yep and Yep. No clear winner IMHO. Another possible DB issue... cache. Say the files are images, webserver and FS will automagically handle cache, but if served dynamically -- your image server cgi/servlet will have to deal with that, or worse, just dynamically serve the images over and over again. The client can't cache either, if the server doesn't play nice and give back HEAD data. And even if it does play nice, your server will have to run a DB query to see if the image is updated from the last time the user was there. I'm currently thinking about serving some images stored in a DB via FS by rigging the 404 error handler into a custom server piece that pulls down images from a DB and stores them in the FS, and then the next request won't be a 404. Fun hack, eh. Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] the languages that we create....
There is a lot of room for non-fatal mutations (like Tomcat, Jetspeed, ...and Drew grin) to survive and even procreate. Heck, I hear Drew has a reay cute kid that looks nothing like him. grin This is the second thread that I've been forceable dragged into :-) And now Tim is making inflamatory remarks about both my genetics and my progeny. Is this flame bait, Timo? :-) Heh heh. Non-fatal mutations can cripple an organism, lessening their chances for survival, and lowering the chances for reproduction (which is true failure)... or the mutation might create a unique characteristic change which heightens the organisms survival rate and ability to reproduce...which if you haven't caught onto the genetics of it all...is a Good Thing(tm). ;-) Summary -- unless they are lethal -- meaning the offspring dies before birth, mutations aren't always a Bad Thing(tm). (...but Jetspeed still really does suck. grin) Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Java Tasklist/Calendar
Sunbird client and an ApacheServer running webDAV to store the info might work. http://www.mozilla.org/projects/calendar/screenshot.html http://www.mozilla.org/projects/calendar/images/Calendar_Modern_Day.png RE: tasks with subtasks, it's a great feature, but you're SOL. * Jira 3.x has sub-tasks and an RPC Services API that could be leveraged. * CodeJedi.com has ShadowPlan with PDA sync. Say -- which plugin to Outlook have you seen that does the sub-task thing? Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 12:26 PM To: jug-discussion@tucson-jug.org Subject: [jug-discussion] Java Tasklist/Calendar I need a task and calendaring program that: 1) Will synch to a central file (preferably via ssh to my server, but if I have to manually copy a few files up and down it is OK as I can just write a script to get the latest copy on machine start up and upload changes on shut down) 2) Can be run on windows (without admin privileges is preferable, but I can live without) 3) Can be run on OS X 4) Can be run on other *nix's 5) The task list needs to be tiered, such that I can put down something like Arrange RSS Conference and then underneath it put subtasks like, Arrange Location, Arrange Speakers, Arrange Venders, etc. And under those put tasks like Arrange Location - UAC Conference Room, TCC Auditorium, etc. I have seen pluggins for outlook that do this, but I need something a bit more portable. Any suggestions, keeping in mind I am a poor starving college student? I am more then willing to dump everything I have now and start with a new system if it meets the requirements above. Heck if I can get a task list that does reminders I can dump the calendaring requirement as well. Any suggestions would be most appreciative (Yes, I have thought about just programming one in JAVA myself, but I hardly have the time) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] RE: Bagging on ASF...or not
However, please note that the focus was on the ASF as an organization and how their (lack of) leadership has failed the entire community. Howdy John, et. al I probably would have agreed/shared a lot of John's opinions on ASF... up until this week. I've started talking with the chaps in Apache Infrastructure to try and help understand why wiki.apache.org runs an antiquated MoinMoin install and what I can do to help. These dudes have jobs just like the rest of us, and yet they are flying in from as far away as the UK (perhaps farther) to relocate servers to a different colo facility and do some upgrades in person. And I got to thinking, Uh... yeah, it may be a mess...but what am *I* doing to help? And uh, what organization have I -EVER- been a part of that despite the best intentions, actually delivers on them? And why is that? Are they all incompetent morons? Are they eeevil? Hmm... no, probably they're [volunteer] humans... some smarter than others, some with opinions stronger than others, some who can -donate- more time than others... but in the end, a meritocracy probably is measured by popularity... and by and large ASF's end product(s) are better than a stick in the eye. I think in long rambling sentences. Normally I am not so charitable towards less than perfect organizations...but my head is softening after years of beating it against the walls. ;-) Oh...Jetspeed and Tomcat still suck. grin Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] the languages that we create....
Various People said: [various things i don't care about] LOL :-) Another problem with my analogy might be that it's been a while since i took a genetics class and didn't exactly ace that one. I have an actual degree in the subject... and regardless of 'correctness' -- the analogy is at least interesting in the parallels you made. Compared to the analogies that usually come from higher up in the mgt food chain, it's downright brilliant. ;-) We want IT to be a supermarket! Thassit! Yess, a supermarket... because just like a market, we have fish! Ye! Quick! Put that into a PowerPoint! Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] the languages that we create....
a peacock tail evolved naturally, but actually runs counter to the survival of the organism and the society of peacocks( Josh apparently didn't do as well in Genetics as Andrew grin Go have a look at Dawkins, The Selfish Gene... the Game of Life, as it were, is all about continuation of the species - live a rich life, but don't have offspring, and according to geneticists, the organism was a failure. Peacocks, like most other male mammals, have little to do with childbirth... it's all about HEY! Lookit me! Plase! Don't I look pretty! You want ME! Who's your daddy??? The more progeny they have, the more successful they are because their genes have made it into the next generation(s). If the plume gets the male eaten, yes, that's bad for him...but not bad genetically if he managed to survive long enough to mate -first-. So while Code != peacock plumes, the analogy kinda holds up... at least enough to be fun to chat about. Ex: a free server that is Great Stuff(sm) but runs in obscurity vs glitzy software from Peacock Inc that markets via a Superbowl ad -- whichever one winds up installed into an enterprise wins the genetic race (or at least one lap.) As Andy pointed out... maybe Codehaus.org will kill Apache.org... or maybe not. There is a lot of room for non-fatal mutations (like Tomcat, Jetspeed, ...and Drew grin) to survive and even procreate. Heck, I hear Drew has a reay cute kid that looks nothing like him. grin Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] the languages that we create....
Peacocks, like most other male mammals, have little to do with childbirth... it's all about HEY! Lookit me! Plase! Don't I look pretty! You want ME! Who's your daddy??? Heh heh, of course, I would slip myself with all this silly talk of peacocks. :-) Peacock's aren't mammals, of course. Doh! (I have a microbiology degree...never was all that good with higher forms of life. Maybe that's why I work well with computers. grin) Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] More wasted time...laughing
One of the links somewhere from Williams blog brought me to the BileBlog. I don't read Hani's stuff often because his rants often make me want to develop in C#. ;-) But sometimes what he writes is just damn funny...some [in]appropriate excerpts that hit close to T-JUG home (and almost always get comments from Rick grin): http://www.jroller.com/page/fate/Weblog?catname=%2FJava --- For 's sake, even maven, a tool for spastics, by spastics, a tool that's so badly written it would make any number of holy figures break down and cry like little girls, a tool so horrifically incompetent that it'd make the baby jeebus attempt to gnaw off his own family jewels, manages to actually get this right. Lucene is a worthy exception; how those lucene devs sleep at night while being part of such an embarrassingly incompetent organisation is fast becoming a modern day mystery of epic proportions. Good vs Evil ... In terms of editors, the side of evil prefers Eclipse. The side of evil is almost exclusively pure Windows users, and wouldn't know a cross platform issue if it yanked off their genitalia and slapped them in the face with it. The side of good uses IDEA, because they're not afraid of paying for quality software. ...you're a smart chap (despite the very debilitating handicap of having the attention span of a guppy ...you can't figure out what the docs mean unless you already understand the product, but can't understand the product without the docs. Ya just gotta laugh. :-) Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] IoC and object encapsulation
Hate to burst your bubble before you read it, but it appears to be an article on why Injection-based IoC is bad and then provides an alternative way to do IoC called Context-based IoC. So not a complete slam against IoC pro-EJB. Well, I never said I had a bubble to burst. ;-) I suppose what I did say could leave for an ambiguous interpretation. I've been waiting to see some non-lovefest, other side of the coing, articles concerning IoC, but that doesn't imply I agree or disagree with them. Especially not without reading them. Right now, it seems everybody and their brother loves IoC, but is the love justified or are there negatives too...Everything tends to have some of both. For example, a scant two years ago, Struts was a lovefest... but lately, it seems, not so much, as Mr. Stewart might say. So has anyone actually read the article yet? :-) Timo -warner On Feb 10, 2005, at 4:23 PM, Tim Colson ((tcolson)) wrote: Hey gang - I've been waiting for this... article(s) that aren't as warm and fuzzy toward IoC... http://www.theserverside.com/articles/article.tss?l=IOCandEJB I don't have time to read until the weekend...but thought this article might spur some interesting discussion here on the jug list. Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] LMS notes and a question
Perhaps more than you wanted to know... but you did ask. Indeed! On both counts. :-) Thanks! Tim P.S. When I heard portfolio -- I thought it was a project portfolio... i.e. a way to keep track of all the projects being worked on by an organization. Boy howdy was I wrong. ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] IoC and object encapsulation
Hey gang - I've been waiting for this... article(s) that aren't as warm and fuzzy toward IoC... http://www.theserverside.com/articles/article.tss?l=IOCandEJB I don't have time to read until the weekend...but thought this article might spur some interesting discussion here on the jug list. Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] LMS notes and a question
Hey there Mr. Duffy -- The LMS discussion was interesting tonight... took a scant few notes below for those who weren't able to attend. (yeah, the markup means I'm anticipating Confluence running soon for tjug) Say -- one question... you mentioned an open source Project Porfolio Mgt thing... what would that be? Cheers, Timo h3. Portal Discussion h4. Single Sign On * Central Auth Service (CAS) ** AuthC not AuthZ, but could be hacked to sorta do that by ex, returning groups for the user during the AuthC XML return step ** Can you do pass through authentication (so WebApp1 can get data for 'tcolson' from WebApp2) -- yes! proxy AuthC * Warner says check: JSSO.org h4. uPortal * XSLT webbage engine * sounds like a small portal engine * channels instead of portlets * Summary: robust code, but not easy to follow... expects it might go through a major redesign h4. OKI * SOA, with some def'ns for various systems * Mgr class for each service, acting as a facade for biz objs * some anti-OO h4. SAKAI * plan to create OS product, but with docs and stuff you'd expect from boxed SW * name comes from the Iron Chef dude :-) * Community interested in guiding development, pay $10K, get a higher priority voice * created using JSF components and have components for Date Widget, Rich Editor * Spring + Hibernate + Pluto What makes it not a portal -- It is geared more toward Learning and is more an an aggregate application for learning mgt tools. h4. LMS * Commercial: Blackboard, WebCT (now at $xxx,xxx+) , Desire2Learn * OS: Moodle h4. Kuali * Financial system integration... kinda next thingy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] RE: Topic for Tues, Jan 11
Hey Gang - Let's just make it official, shall we? http://www.tucson-jug.org - I listed Richard as a "special guest"... but howabout we get him to do Spring this month and Robert could do NIO in February? Warner is the scheduler -- I'm just the lackey who puts things up on the website. Cheers, Timo From: Richard Hightower [mailto:[EMAIL PROTECTED] Sent: Monday, January 10, 2005 11:41 AMTo: jug-discussion@tucson-jug.orgSubject: RE: [jug-discussion] Speaking at the Phoenix JUG on Spring Whew! I thought I went insane. Thomas asked me to present. If someone else was scheduled, I am happy to just attend. I will be speaking in Phoenix, the next day if anyone want to see the presentation and does not mind driving two hours. From: Thomas Hicks [mailto:[EMAIL PROTECTED] Sent: Friday, January 07, 2005 9:39 AMTo: jug-discussion@tucson-jug.orgSubject: Re: [jug-discussion] Speaking at the Phoenix JUG on Spring Geez...if all we had to do was ask, then I'm asking. I've been readingthe Spring book and would LOVE to see your presentation. Would you like to give it to us first?our meeting is the day before, you could do itas a "rehersal". regards,-tomAt 07:24 AM 1/7/2005, you wrote: They asked me yesterday. It was short notice, but I have a presentation thatI have used before for a workshop. The presentation covers Spring templates,Springs IOC (including property editors), Spring transactions, interfacingwith Hibernate via Spring. It should be fun. (I plan on attending the TucsonJUG next week. I am in town.)Speaking at the Phoenix JUG on Spring Date: 01/12/2005, 6:30 PM Location: University of Advancing Computer Technology Keynote: Title: Introduction to Spring, AOP, and IoC Abstract: Spring is a popular AOP/IoC framework that was developed by RodJohnson, Juergen Hoeller et al. Spring simplifies J2EE and Java development.(Rod Johnson is the famed author who wrote Expert One-on-One J2EE Design andDevelopment.)Spring makes J2EE development easier. Spring is a J2EE framework thatsimplifies commons tasks and encourages good design based on programming tointerfaces. Springs makes your application easier to configure and reducesthe need for many J2EE design patterns (quite a few J2EE design patterns arereally glorified hacks that clutter your code base). Spring puts the OOdesign back into your J2EE application. URL: http://www.arc-mind.com Speaker: Rick Hightower, CTO ArcMind Inc. Bio: Rick Hightower serves as chief technology officer for ArcMind Inc. Heis coauthor of the popular book Java Tools for Extreme Programming, whichcovers applying XP to J2EE development, and also recently co-authoredProfessional Struts. He has been working with J2EE since the very early daysand lately has been working mostly with Maven, Spring, JSF and Hibernate.Rick is a big JSF and Spring fan. Rick has taught several workshops andtraining courses involving the Spring framework as well as worked on severalprojects consulting, mentoring and developing with the Spring framework. http://www.phxjug.org/meetings.html-- r i c k h i g h t o w e r-- Senior Mentor-- [EMAIL PROTECTED]-- http://www.arc-mind.com-- p: 520-290-6855-- m: 520-661-6753-- f: 520-290-4179-- 15378 e colossal cave rd-- Tucson, AZ 85641Upcoming conferences:JSF QuickStart: San Diego, CA, 10/9/04-10/11JSF QuickStart: Santa Clara, CA, 10/16/04-10/17JSF QuickStart: Los Angeles, CA, 10/23/04-10/24JSF QuickStart: Phoenix, AZ, 11/6/04-11/05JSF QuickStart: Houston, TX, 11/13/04-11/14JSF QuickStart: Dallas, TX, 11/20/04-11/21JSF QuickStart: Boston, MA, 12/04/04-12/05JSF QuickStart: Seattle, WA, 12/11/04-12/12 JSF QuickStart: Las Vegas, NV, 12/18/04-12/19See for more info:http://www.arc-mind.com/courses/jsfCourseWeekendWarriorEdition.html New Publications:Warner Onstine Rick Hightower have a new book, "Professional Java Tools for Extreme Programming : Ant, XDoclet, JUnit, Cactus, Maven", available now at your local bookstore and Amazon.com:http://www.amazon.com/exec/obidos/ASIN/0764556177/Rick Hightower has two new books, "Professional Jakarta Struts", available now aat your local bookstore and Amazon.com: http://www.amazon.com/exec/obidos/ASIN/0764544373 and "Struts Live" available through SourceBeat.com: http://www.sourcebeat.com/TitleAction.do?id=3-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] codiing shootout?
I like Nick's suggestion to have a few folks work on a simple problem and then present the results in the meeting so we can see three different ways. I like the idea of keeping the task small so it isn't too much effort for the volunteers. Seems we already have a couple volunteers for a Search object graphs test. grin I also like Randy's idea of larger paradigm stuff. Maybe part of a meeting we could do as a panel discussion on a topic? Oh hey, and Randy, when are you going to attend another meeting. grin Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] 1060 microkernal thingamijiggy
I was having a look at Jetty (again... I keep looking and looking and looking...and running Tomcat. I suck.) And I noticed on their homepage a link to this 1060 NetKernel thingy. I don't know what the hell it is... from the intro... 1060 NetKernel is different - it's a self-consistent operating abstraction which offers a convergence of core ideas of both the Web and Unix. But relax, you already have an innate understanding of the operating principles of NetKernel - it provides a straightforward generalization of the Web architecture, but directed inwards at the finer granularity of software development. Yeah... I still don't know what the hell it is either. http://www.1060research.com/netkernel/index.html Anybody got a clue? Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] J2ME on Palm T3 - tutorial?
Still digging... found the J2ME Toolkit at Sun, version 2.2 http://java.sun.com/products/j2mewtoolkit/ From there, I found a link to a quick-start hello world using netbeans. http://www.netbeans.org/kb/articles/quickstart-mobility-40.html Still would be interested to hear if anyone else has experience doing any J2ME stuff. Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] J2ME on Palm T3 - tutorial?
Yet another tutorial link, with a HelloMidlet example. http://developers.sun.com/techtopics/mobility/midp/articles/wtoolkit/ Cheers, Timo P.S. Too bad we don't have that free license of Confluence up and running at confluence.tucson-jug.org... I'd post all this info there. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Searching large object graphs
So just assume for a moment that RAM is cheap and you decided to load 100K objects into memory. Assume those objects were Employees... you can imagine the fields would be the usual suspects. Assume each employee is associated with a profile that is another object, which is composed of a bunch of other data objects. What would you use to find/select objects like Name or email foo matches *olson* ? Some possibilities: http://jakarta.apache.org/commons/jxpath/ Some of the stuff inside Commons: http://jakarta.apache.org/commons/collections/ Lucene indexes http://jakarta.apache.org/lucene/docs/ Others? Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] last chance to rsvp for tonight
Hey folks - I had planned to come, but we added a new family member on Saturday that's keeping me busy, especially since my wife, Valorie, is out in California this week. http://www.happysearch.com/gallery/chestnut Miss Chestnut and I will be staying at home tonight. No beer for Daddy. ;-) Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] FW: Confluence -- dropping Radeox
Interesting note on the Confluence mailing list... since the last discussion thread mentioned the Radeox renderer, seems relevant to note that Mike (of Atlassian) has confirmed they are moving away from it. Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Cannon-Brookes Sent: Sunday, November 28, 2004 12:50 PM To: [EMAIL PROTECTED] Subject: Re: [CONF-user] Escaping \ Serge Knystautas wrote: Mike Cannon-Brookes wrote: It's not a perfect solution we know. We're working on what's called the V2 Renderer (no, nothing to do with rockets) in house which will fix a lot of the niggling markup problems as well as give us a lot more power in the rendering in particular areas. Out of curiosity, are you moving away from the Radeox library? Yes we are. A number of the current restrictions or limitations stem from the Radeox library. The new renderer is quite different in its approach to how the rendering is done. Cheers, Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Java based Wiki
XWiki SnipSnap Confluence As Robert noted, Confluence uses the same Radeox rendering component, which is essentially: INPUT TEXT + BAG OF YOUR REGEX TAGS HERE = HTML. ;-) I admin a perl-based Twiki (still transitioning) -- it has been a night and day improvement IMHO with Confluence. Usage by new users has been explosive compared to Twiki. I thought about SnipSnap, but I recall that there was something about the req'ts for install that wouldn't work in my environment. Also -- if your organization can afford Confluence, I feel the administration tools, remote API, support, navigation improvements, and tons of new stuff on the way make it a clear leader in the wiki space. (Atlassian gives free licenses for non-profits and open-source projects.) BTW -- TimTam http://timtam.codehaus.org/ is seriously shaping up to be a great tool for managing/editing Confluence spaces. Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] XML / Flex MXML editing in Intellij IDEA
Vince -- just stop reading now. You too, Drew. And anyone else who uses VI or EMACS -- skip this post. ;-) Just found out that the built-in XML editor in IDEA will happily suggest all the possible MXML tags after typing "" if you have configured a "resource" in the settings for: http://www.macromedia.com/2003/mxml(i.e. the namespace) and point it to the XSD file C:/mmflex/extras/schema/mxml.xsd Not as slick GUI wise as FlexBuilder -- but the text editor in Intellij is more civilized. ;-) Cheers, Timo
[jug-discussion] More Flex Examples
http://www.macromedia.com/software/flex/solutions/developers/ "Experience the Flex Explorer" has all the widgets This is a MM employees blog -- he's got a couple neat examples: http://coenraets.com/samples.jsp Cheers, Timo
[jug-discussion] Ant and Anthill Spawn o' the Devil
I'm goingnuts. I've been trying to get ANT tore-deploy a webapp to Tomcat 5 via AnthillPro. Works from command line, but hangs AnthillPro. A little background... I first tried the ant-tomcat tasks to simply undeploy/deploy but the Flex app (inside util.war) has problems undeploying - there is a directory filled with jars that cannot be removed. So Idecided to just stop tomcat, wipe out thedirectory and redeploy... It all works... the build is a success... butAnthillpro hangs at the end. :-( I just don't get it. (I've tried exec with startup and startup-using-launcher... with and without spawn. It really does need spawn, otherwise it understandibly does not finish the build process. Ideas? Timo INFO - Buildfile: remote-deploy.xmlINFO - INFO - tc5stop:INFO - [exec] Using CATALINA_BASE: C:\java\jakarta-tomcat-5.0.28INFO - [exec] Using CATALINA_HOME: C:\java\jakarta-tomcat-5.0.28INFO - [exec] Using CATALINA_TMPDIR: C:\java\jakarta-tomcat-5.0.28\tempINFO - [exec] Using JAVA_HOME: C:\java\j2sdk1.4.2_03INFO - INFO - INFO - INFO - wait:INFO - INFO - cleanwebapp:INFO - [delete] Deleting directory C:\java\jakarta-tomcat-5.0.28\webapps\utilINFO - [delete] Deleting: C:\java\jakarta-tomcat-5.0.28\webapps\util.warINFO - INFO - copywar:INFO - [copy] Copying 1 file to C:\java\jakarta-tomcat-5.0.28\webappsINFO - INFO - tc5start:INFO - [echo] Started TC5INFO - [echo] Going to inline sleep...INFO - [echo] Waking upINFO - INFO - stop-remove-install:INFO - [echo] Stopped TC, cleaned up, moved in the war, and restartedINFO - INFO - BUILD SUCCESSFULINFO - Total time: 13 seconds taskdef file="${ant-contrib.dir}/tomcatTasks.properties" classpath pathelement path="${tomcat5.home}/server/lib/catalina-ant.jar"/ /classpath /taskdef target name="stop-remove-install" depends="tc5stop,wait,cleanwebapp,copywar,tc5start,wait" echo message="Stopped TC, cleaned up, moved in the war, and restarted" / /target target name="wait" sleep seconds="5"/ /target target name="tc5start" echo message="Started TC5" / exec executable="${tomcat5.home}/bin/startup-using-launcher.bat" spawn="true" env key="CATALINA_HOME" value="${tomcat5.home}" / /exec echo message="Going to inline sleep..." / sleep seconds="5"/ echo message="Waking up" / /target target name="tc5stop" exec executable="${tomcat5.home}/bin/shutdown.bat" failifexecutionfails="false" failonerror="false" env key="CATALINA_HOME" value="${tomcat5.home}" / /exec /target target name="cleanwebapp" delete dir="${tomcat5.home}/webapps/${project.jvm}" / delete file="${tomcat5.home}/webapps/${project.jvm}.war" / /target target name="copywar" description="Install application in Tomcat" copy file="${project.dist.dir}/${project.jvm}.war" todir="${tomcat5.home}/webapps/" / /target
RE: [jug-discussion] Ant and Anthill Spawn o' the Devil
A hint: the Tomcat tasks are more trouble than they are worth. The ant tomcat tasks worked with some of my contexts, but the flex app does not seem to be behaving -- it won't undeploy cleanly when using the Tomcat Manager either. :-( That's why I switched to just exec'ing the shutdown.bat and manually scripting the deploy of a new copy of the war. I just run tomcat in a console window and restart it whenever I redeploy. Yeah, I do that locally, but this situation is on a remote server with AnthillPro -- i.e. I want to have it automagically redeploy new builds. Tomcat service you can use the control panel to start/stop I've got one of those too. ;-) Better yet use Resin (http://www.caucho.com) which is faster to start and stop. It has a control panel also (no service install, however). For personal dev, I may try out Jetty and Resin -- I've been interested in them for a while -- ever since the Does Tomcat Suck? blog post came out. grin But for the corporate gig, Tomcat more closely resembles the production environment -- it is what it is, and so I need to use TC. Way back -- before Intellij had built-in Tomcat integration, I ran TC as an external 'tool' by starting with the Bootstrap class. I haven't re-found the docs on that -- thinking maybe it might be a cleaner way to start Tomcat from Ant since it wouldn't involve java to exec/native process to fire up a java app. -Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Ant and Anthill Spawn o' the Devil
It sounds like the problem is that undeploying an app from tomcat doesn't work. I'm pretty sure that's becuase on windows you can't delete open files. Yep -- that was the original problem, but since then I changed the script to physically stop tomcat and delete the war and exploded dir. That gets around the problem that the jars seem to be open (despite the context being told to STOP -- naughty Flex!) and Windows as you say won't let me delete them. i've never even heard of anthillpro, so that seems pretty likely. AnthillPro is reasonably good stuff to automate project builds for continuous integration. http://www.urbancode.com/ After using it for a year or so, I can't imagine working on a team and not having CI. Cruise Control, Damage Control, and Anthill Open Source are free CI alternatives. I've used CC but in a comparison matrix to AHP, AHP offered enough advantages to be worth the $1200 (It has since increased in price, but still worth it IMHO. I can easily show an ROI of about a week due to less developer time running integration builds.) Damage Control looks interesting -- but they use Ruby and honestly, I'm just not interested in learning yet another scripting language, only for doing builds. Cheers, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] lazslo publishing system
As an alternative to Flex and now opensource: http://www.laszlosystems.com/products/ Before Tim gets too deep into Flex ;-). I suspect the debate will go on for a long long time... so I won't forward more from the flex-lists, but suffice it to say the Laszlo open source announcement has been heard. ;-) Macromedia announced today a free license for Flex/FlexBuilder for non-commercial/non-institutional usage. http://www.macromedia.com/macromedia/proom/pr/2004/flex_ncni_license.html Cheers, Timo P.S. The views below aren't mine...but they seem reasonable, especially the blog entry. -Original Message- From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 6:55 AM To: flex-general Subject: RE: [flex-general] Why Flex over Laszlo? Patrick, I've literally just blogged something over at www.richinternetapps.com, since I've been getting asked the same question by developers all day. Hope that's a starting point for discussion for you, Steven -- Steven Webster Technical Director iteration::two -Original Message- From: Patrick Stapleton [mailto:[EMAIL PROTECTED] Sent: 06 October 2004 14:30 To: flex-general Subject: [flex-general] Why Flex over Laszlo? I'm wondering what answers Macromedia has to questions around this kind of thinking? I'm not sure of the licensing model for Flex, however I do know that the company I am working for see open source technologies more favourably over proprietary ones. Also I know they don't mind making the job of the developers harder if the final cost is significantly lower. Do you have some spin on this subject as of yet as this Laszlo stuff is weakening my abilty to promote Flex as a perferred architecture considerably. __ __ -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 11:21 AM To: flex-general Subject: RE: [flex-general] Why Flex over Laszlo? I'm happy about the announcement with regards to propagation of RIA in general...but I worked with Laszlo before Flex, they need to revisit a few design decisions. More options, the better. -Stace -Original Message- From: David Onglatco [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 1:43 PM To: flex-general Subject: Re:[flex-general] Why Flex over Laszlo? My two-bits. The word FREE is so powerful and enticing. For me, choosing between free open-source software and commercial proprietary software has always boiled to the following factors: 1) Can you afford Flex? If not, think no further, go with Laszlo. 2) How time-critical is your project? If it is not time-critical, go with the open-source. But if it is, going with a product governed by capitalistic motives rather than altruistic (for the lack of a better word) would be more practical. In the face of a complex issue that absolutely needs to be resolved, relying on a kind soul in the forums to provide me a free and thorough response that entirely resolves the problem is, from my experience, an unrealistic expectation. Not impossible, but improbable. But I know that with Flex, albeit not free, I can pay for support that will legally bound Macromedia to help me resolve any critical issue that might crop up. 3) How mature is this open-source technology? While I would heartily endorse Tomcat, it wasn't always so. I remember the yesteryears when it was nowhere as stable as it is today. It may take a while before Lazlo earns my confidence. There's not even a book out there yet about their technology, and to stake my profession and reputation on a fledgling technology who makes no support guarantee is, for me, imprudent at least, folly at best. 4) How widely supported is this open-source technology? Numbers do count, as the more developers use a particular technology, the better assurance that it will improve and proliferate. The presence/absence of book(s) on the subject is, for me, a good indicator. (Authors usually do not invest their effort and time unless they feel there is a vast enough audience to make a profit from book sales.) I will probably play around with Lazlo one of these days, and I will definitely keep an eye on it from hereon, but as of this point in time, I'm still moving forward with Flex on our projects because when all has been said and done, I trust Macromedia more not only in terms of the company itself, but also of its technological maturity. Again, this is my two-bits, so please don't shoot me down :) __ __ View/post via a browser: http://lyris.macromedia.com/read/?forum=flex-general Manage your account: http://lyris.macromedia.com/read/my_account/ View this discussion via a newsreader: news://lyris.macromedia.com
[jug-discussion] Ant hostname
That dude Hatcher writes in his Ant book and his website two almost the same, but different ways to grab the hostname: -- Identifying the local host We identify the local host by looking at the standard environment variables: property environment=env/ property name=env.HOSTNAME value=${env.COMPUTERNAME}/ property name=hostname value=${env.HOSTNAME}/ This extracts the hostname from both the Windows NT and the Unix environment variables. Apparently, it does not work on Mac OS X; non-Unix platforms are an unknown. We have a hostname task in the pipeline that will work across all platforms, but it came in too late for Ant 1.5. -- -- http://www.ehatchersolutions.com/JavaDevWithAnt/ant.html !-- Capture the computer name in a cross-platform manner -- property name=env.COMPUTERNAME value=${env.HOSTNAME}/ The env.COMPUTERNAME property line is an interesting trick to get the host name of the machine running the build in a cross-platform manner. Windows machines use the COMPUTERNAME environment variable while 'nix platforms use HOSTNAME (except Mac OS X, through version 10.2.3 at least, *arg*). -- Which is it? Both work? Neither? And that hostname task apparently hasn't materialized yet (unless I missed it on the ant site.) Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Oct Meeting Topic?
Hey folks - I won't be starting the Macromedia Flex research until next week -- meaning I won't have any code to leverage for a presentation until the November meeting. Somebody else will need to step up for October. Cheers, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] grab a Spring configured bean - part Deux
a ds bean... can Spring just do MyServletFilter.setDataSource(myDataSourceBean) at startup? Nick said: Unless Spring instantiates the bean, the answer is no. You can ask spring to configure a bean programmatically: I'm not so sure that's the case for static stuff. In fact, I kind of surprised myself -- my config of my Configuration bean already looks like it does what I'm asking about doingsorta. :-) I don't believe this trick will work for EventLog objects, but have a look at this static setup magic: bean id=FOOappConfiguration class=common.Configuration init-method =start property name=myConfigurationFiles value/resources/application.properties,/resources/sql.properties/value /property /bean Relevant bits of Configuration.java private static String theConfigFiles = ; private static Properties theProperties = null; /** * This is a utility class and is never instantiated. */ private Configuration() {} /** * Tells the class which property file(s) to read. * @param filenames */ public void setMyConfigurationFiles(String filenames) { theConfigFiles = filenames; } /** * Starts up the class, reads in the config file(s). */ public static void start() { // load properties Properties props = new Properties(); InputStream in = null; logger.info(Configuration init - + theConfigFiles); // allow for comma separated list of config files StringTokenizer tokenizer = new StringTokenizer(theConfigFiles, ,); while (tokenizer.hasMoreTokens()) { String currentFile = tokenizer.nextToken(); logger.info(loading config file: + currentFile); try { in = Configuration.class.getResourceAsStream(currentFile); if (null != in) { props.load(in); logger.info(currentFile + - loaded.); } else { logger.error(currentFile + - NOT FOUND); } } catch (Exception e) { logger.error(Unable to load + currentFile + , the error is: + e); } finally { try { in.close(); } catch (Exception ignored) { } } } theProperties = props; } -- During startup -- INFO [main] [2004-09-24 14:18:26,607] [org.springframework.beans.factory.support.DefaultListableBeanFactory]- Creating shared instance of singleton bean 'FOOappConfiguration' INFO [main] [2004-09-24 14:18:26,617] [common.Configuration]- Configuration init - /resources/application.properties,/resources/sql.properties INFO [main] [2004-09-24 14:18:26,617] [common.Configuration]- loading config file:/resources/application.properties INFO [main] [2004-09-24 14:18:26,617] [common.Configuration]- /resources/application.properties - loaded. INFO [main] [2004-09-24 14:18:26,617] [common.Configuration]- loading config file:/resources/sql.properties INFO [main] [2004-09-24 14:18:26,617] [common.Configuration]- /resources/sql.properties - loaded. And then later when I use Configuration.getProperty(test) - I get the expected value. So it seems Spring configured a Configuration class instance, byproduct is initialized static info... so I get a config'd Configuration Utility class, which is not dependant on Spring. Cool. :-) (This may not be the best design... but hey, it makes me happy today. :-) Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] How to grab a Spring configured bean?
So I've found some info on getting the Spring Context inside a generic servlet. ServletContext servletContext = this.getServletContext(); WebApplicationContext wac = WebApplicationContextUtils.getWebApplicationContext(servletContext); But where I need to get the context is inside a class that is a Servlet Filter... which does not have access to a servlet context (presumably because filters can act cross contexts?) So I'm still stuck. :-( Timo -Original Message- From: Tim Colson [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 1:32 PM To: [EMAIL PROTECTED] Subject: [jug-discussion] How to grab a Spring configured bean? Hey folks - I'm trying to understand and use Spring, falling down a bit. I have a ds bean in Spring config (DataSource), and a Struts action which extends DispatchActionSupport. It is easy to grab the bean using: getWebApplicationContext().getBean(ds); Cool but now I am in another class which is not an action -- and I'm at a loss how to grab the ds bean. :-( I'm reading the 200 pages of docs ...but if anybody could point me to the relevant bit to jump-start me, that'd be great! Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] How to grab a Spring configured bean?
Rambling away...slowing getting closer... But where I need to get the context is inside a class that is a Servlet Filter... which does not have access to a servlet context (presumably because filters can act cross contexts?) Wrong. In the Filter Init, there is a FilterConfig object which can get to the ServletContext... So I'm going to give that a tumble. :-) Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] grab a Spring configured bean - part Deux
Hey gang - I managed to hack the Filter to get a ServletContext and then the Spring WebApplicationContext. Thanks to all for the many helpful replies. Nick wrote: Cast the request to an http servlet request. That should have access to the session, which has access to the context.(I think). Correct. That works too, but I stuck with the init() hook because it just seemed like something I'd only need to do once. But here is part two... I now have a Servlet Filter that is coupled to Spring! That seems like a bad thing... I mean, if the whole point of Spring is to allow you to inject different implementations/configurations, shouldn't one strive to be able to replace Spring with another container in the future? So the question now becomes a bit more esoteric (since I have a soln. that works and that gives me a little breathing room)...and perhaps this is obvious to Spring folks, but not to me yet. Can I setup a spring config that injects a DataSource into MyServletFilter class? So rather than have MyServletFilter obtain a Spring context and then ask for a ds bean... can Spring just do MyServletFilter.setDataSource(myDataSourceBean) at startup? Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Meeting Tues Sep 14
The moment we've all been waiting for has almost arrived... time to drink beer! Err, well... okay, before that, we have a mini-preso from Dennis Sosnoski on SWT and possibly Swing client stuff. (And just to spice things up, Tim will have a Flex and Flex-Builder demo running before the start of the meeting.) And of course, let us not forget the main event, the smack-down of generations, the Framework battle royale! The articulate and wise Robert Zeigler will tell us why we should all be using _Tapestry_ for webapps, and how to do it. :-) If you want donuts... send me an email... but the beer is your own responsibility. grin Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Eclipse: find usages?
Disclaimer: I'll get this out of the way first... I use Intellij IDEA and like it. There I said it. ;-) I use it because it makes me happy, but I'm not here to bash other IDE's or debate the value of emacs versus Netbeans versus Eclipse and how it will Rule The World, or whatever else. I'm using Eclipse to work on an Eclipse plug-in (seems the logical path), so I probably will have questions for a while to help me understand how to use Eclipse. Simple as that. Okay, that said... is there a "find usages" feature? In other words, you click on an object, and the IDE shows you all the places that object is used, in the current class, or project. Tim
RE: [jug-discussion] Next week's meeting
So, for the meeting next week, Warner has asked me to present on Tapestry. Excellent! I was wondering if that was still on tap... I'll add your name to the website link so you can't back out. :-) Anybody up for doing a mini-preso on something? * I could just drone on about the various facets of tapestry, Hmm... you've made that option sound oh so exciting. grin * I have a couple of (more-or-less) completed tapestry projects that I could show, to display various aspects of tapestry * I'm seriously contemplating putting together a simple object model, and then building a simple webapp using tapestry, from scratch (more or less) during the presentation. Both ideas sound good. If you've got the time to build a simple app, that might be better than a complex app. Many of us go into a preso wondering a couple key questions: 1) Why would I use this technology? 2) Why would I use this technology instead of similar tech Foo? 3) Ok, where's the code? Ok - maybe it's just me that thinks in those terms... but one or two others might agree. :-) Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Eclipse question
I think as long as the project is shared, eclipse won't show .CVS. The only time you'll see them if i'm right is if you check out a project from cvs using a cvs client other than eclipse and create an eclipse project based on those files. Tim, if that's basically how you ended up with your project, you'll probably want to right click on your project, team - sharing and enter your cvs information or something along those lines. Andy hit the nail on the head. I did exactly that, checked it out with WinCVS, then imported it into Eclipse. So I tried the Team sharing... Eclipse automagically determined the CVS server settings, allows me to update from the repository. :-) But -- it didn't make the .CVS packages go away in the Package explorer. :-( It took me a little bit, but I found that the change flag and (ASCII -kkv) at the end are configurable in the Team preferences. Timo -- riding low on the Eclipse learning curve. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Eclipse question
I think you are thinking of Simon -- he's the man that knows about writing Plugins and using SWT. Unfortunately he is off to New Zealand for a couple weeks, so it looks like you get to read that big PDF. Crikey. No shortcuts for me. :-( I probably won't have finished reading the doc before Simon returns. ;-) For your CVS issue, you might try the Filters option on Yeah, already did that. ;-) The filter by name *.CVS did the trick too, but again, seems like I might be missing something. I looked in the preferences:Team:CVS but found no love there. I have searched my configuration and don't see anything special that I have set up to exclude the CVS files, but they do not show on my system. Thanks... it's really kind of odd. I'd check the project out directly with Eclipse... except I'd like to be able to use any editor/ide interchangeably, and I have a LOT of projects already checked out that I would like to leverage. Cheers, Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jug-discussion] Eclipse question
So after a bit of work, I've got Eclipse 3.0 running, compiling and building the TimTam plugin. I've got some newbie questions which I'm sure Vince will be happy to answer. grin Is there a way to magically hide all of the *.CVS entries in the src tree? Note: I created a working set, but that seems like the long way around. The filter by name *.CVS did the trick too, but again, seems like I might be missing something. I looked in the preferences:Team:CVS but found no love there. Is there a quick and dirty tutorial on creating plug-ins so I can start to understand this code without reading the 979 page PDF on plug-in development? Thanks, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [jug-discussion] Create a Tree from unordered files
My first thought is to create a HashMap of the data, register the children with their parents, and then build the tree from the root on down. Perhaps not the most elegant, but that approach worked. Still curious if others have alternative suggestions. Now the tree needs sorted. Question: a) Sort before loading into the tree? or b) Sort after the tree is loaded? I can do (a) relatively easily by having each item return the list of children in sorted order. But (b) has appeal since I could theorhetically add more items anywhere, and then have the tree resort itself. It does not look like the API has anything ready-built for this... seems I'd have to manually remove and insert nodes to sort them. Am I missing any convenience stuff, or just a case of it is what it is? -Tim P.S. For the curious, I'm parsing FAQ-O-Matic data files. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]