IRC log for #buglabs on 20110425

19:20.18*** join/#buglabs infobot (~infobot@rikers.org)
19:20.18*** topic/#buglabs is Bug Labs IRC Channel. New with logged, indexed goodness, thanks to Tim Riker. see here: http://ibot.rikers.org/%23buglabs/
20:05.49*** join/#buglabs CaptainMcCrank (~CaptainMc@c-76-28-204-226.hsd1.wa.comcast.net)
20:08.18CaptainMcCrankhey a folks... accidentally disconnected
20:08.33CaptainMcCrankI'm sure I missed all sorts of awesome solutions for my emulator problem.
20:10.00jconnollyheh, not too much...
20:10.06jconnolly[14:03] < jedahan> im doing a fresh install of eclipse and dragonfly so we should be on the same page
20:10.09jconnolly[14:05] *** CaptainMcCrank [ae7d749f@gateway/web/freenode/ip.174.125.116.159] has quit [Ping timeout: 252 seconds]
20:10.13jconnolly[14:06] < jedahan> awww
20:10.13jconnolly[14:07] <@jconnolly> jedahan: fwiw... http://wiki.buglabs.net/index.php/Software:SDK_Install_Guide#SDK_Version
20:10.16jconnolly[14:07] <@jconnolly> if you want to figure out their SDK version that's a handy little subwiki about getting that info
20:10.20jconnolly[14:07] < jedahan> nice thx
20:10.22jconnolly[14:08] <@jconnolly> np
20:10.23jconnollyalso, if you're interested, infobot logs our channel
20:10.35jedahanCaptainMcCrank: try the newly updated getting started guide
20:10.40jedahanthe zip is not uploaded just yet
20:10.43jconnollysynced up nightly: http://ibot.rikers.org/%23buglabs/
20:10.45jconnollyinfobot: sup
20:10.45infobotYo jconnolly, how's it going eh?
20:10.49CaptainMcCrankjedahan: will do
20:14.17CaptainMcCrankjedahan: wow... this is a major change
20:14.41CaptainMcCrankthank you for taking the time to clean it up.  Will let you know how it goes in a couple minutes
20:17.14CaptainMcCrankjedanhan: no main method by default.  Can you share the method signature with me?
20:17.25CaptainMcCrankI assume it's public void main (some params) ?
20:17.42jedahanI should change the wording to say 'in the BugWeather constructor'
20:17.50jedahani forgot the word constructor at the time
20:17.57CaptainMcCrankhehe
20:18.45CaptainMcCrankWell I apologize.  My java is very rusty.  constructor will be something like :
20:18.58CaptainMcCrankpublic void BugWeather () {
20:19.00CaptainMcCrank?;
20:19.01jedahanyep
20:19.36CaptainMcCrank(eclipse says no to void)
20:19.45jedahanreally?
20:19.48CaptainMcCrankguess that's cause it's a constructor and not a method
20:19.55jedahanoh, no void yeah
20:20.00jedahanbecause its returning itself
20:20.06jedahanpublic BugWeather()
20:20.14CaptainMcCrankack
20:20.32jedahanThere is a tar.gz of the sample code about 1/3 down the page, you will get to it soon
20:21.31CaptainMcCrankk.... if I can just get this first part working, I'll be happy pants
20:23.09jedahanhmm, maybe I should take the BUG Simulator view parts of the GST and put them up top, instead of asking people to do the same stuff twice
20:25.40CaptainMcCrankSplitting up the simulator sections from the coding sections might help
20:25.48CaptainMcCrankIt's hard going back and forth
20:26.12CaptainMcCrankand to be honest, the "Bug Module Services" section didn't look like it's right (although I am on one of these confounded macs)
20:26.51jedahanCaptainMcCrank: thats because that window is in the new-and-improved sdk which is not out yet
20:27.08jedahani mean its out, but the integration build only
20:27.27jedahanso you would have to add a new update site source, replacing the update string 'current' with 'integration'
20:27.44CaptainMcCrankI see
20:28.15jedahanyeah so the documentation is a bit pre-release
20:28.25CaptainMcCrankIs it a big enough change that I should put off learning this till it's ready for prime time?  :D
20:28.31jedahannope
20:28.39CaptainMcCrankGood :)
20:28.44jedahanit just adds that one nicer page before the ugly one
20:28.50CaptainMcCrankhehe
20:28.51jedahanand fixes a few bugs
20:29.10jedahanbut the api isnt changing so everything will transfer
20:29.15jedahanbrb
20:31.10*** join/#buglabs jedahan (~jedahan@subtle/user/jedahan)
20:37.15CaptainMcCrank@jedahan: Your Activator class doesn't have a run method.
20:37.23CaptainMcCrankis that to be expected?
20:37.41CaptainMcCrank(in the tar.gz file)
20:38.39jedahanyep CaptainMcCrank
20:38.53jedahanthe default should be for the run and stop methods to be in the BugWeatherApplication class
20:38.53CaptainMcCrankMy activator class was auto generated
20:39.04CaptainMcCrankincluded a bunch of noise in there that apparently was unnecessary
20:39.24jedahancan you do what jconnolly showed and let me see what version of the sdk you are using?
20:40.01CaptainMcCrankI can try
20:40.16CaptainMcCrankNo promises :)
20:40.24CaptainMcCrankSource code seems to be cutting through a lot of noise though
20:40.25CaptainMcCrankoh
20:40.26CaptainMcCrankbtw
20:40.34CaptainMcCrankmy original problem seems to be somewhat fixed
20:40.38CaptainMcCrankthe app is trying to run
20:40.46CaptainMcCrankalthough now I'm getting errors in the console
20:40.57CaptainMcCrankbefore it wasn't loading, assumably because I was calling the constructor improperly
20:41.35CaptainMcCrankAny quick way to derive the SDK version number from eclipse?
20:42.16jconnollyhttp://wiki.buglabs.net/index.php/Software:SDK_Install_Guide#SDK_Version
20:43.09CaptainMcCrank2.1
20:45.13jconnollythe full version string?
20:49.45CaptainMcCrankOne moment
20:50.14CaptainMcCrank2.1.9v201103140038_P
20:50.43jconnollyjedahan: ^^
20:51.40CaptainMcCrankThe first delta between wiki instructions and what I'm experiencing is in the choose services section.  It says to select the locate module and check the position service.
20:52.01CaptainMcCrankI don't see a way to do that.  I have th option to select a target bug and specify required services
20:52.30CaptainMcCrankIn the services listed, I see one called IPosition Provider
20:52.37CaptainMcCrankI assume that's the one I should select.
20:52.44jconnollythat's a new feature not yet out
20:52.57jconnollybut it's functionally equivalent selection a bug and selection IPositionProvider
20:53.02CaptainMcCrankk
20:53.03jconnollybut I defer to jedahan
20:53.14jedahanyep
20:53.14jedahancompletely correct
20:53.21CaptainMcCrankin terms of following the current instructions, I'm blocked at this point :)
20:53.28jedahanalso those errors are supposed to be there
20:53.35jedahanread the install guide carefully
20:54.11CaptainMcCrankjedahan: I understand what you're getting at
20:54.14CaptainMcCrankand that may be the case
20:54.16CaptainMcCrankhowever
20:54.16jedahantheres a hint there
20:54.28jedahanthe error you are getting involves felix not finding something?
20:54.36CaptainMcCrankSo far I haven't been able to get the window to pop up
20:54.40jedahanyeah
20:54.45CaptainMcCrankah
20:54.56CaptainMcCrankThat's a bit confusing
20:55.17CaptainMcCrankI inferred from the guide that I should see what the pictures show when I get to those sections of the guide.
20:55.18jedahanYeah I am talking with a person or two about just giving that instruction too
20:55.27jedahanyeah that makes sense
20:55.41jedahanbesides the module guide window, what else is inconsistent?
20:55.59CaptainMcCrank(I can't bring up the errors I was getting, I wiped my first attempt at the app in order to start over with the instructions)
20:56.06jedahanahh ok
20:56.11CaptainMcCrankalthough, perhaps they're still in the debug window?
20:57.02CaptainMcCrankI see 'em.  Yes, there's a felix error in there, along with a bunch of other errors in tracker, bug weather, activator, etc
20:57.21CaptainMcCrankI might have every error possible listed here.
20:57.23CaptainMcCrank:)
20:57.59CaptainMcCrankLet me keep going and I'll try to point more divergences out
20:58.28jconnollystacktraces help ;D
20:58.42jedahanahh well all those errors
20:58.52CaptainMcCrankSorry... irc is on a different machine
20:59.00CaptainMcCrankso cut & paste no worky
20:59.02jedahanall those errors can be fixed with the quickfixes
20:59.09jedahanin eclipse
20:59.25jedahanmainly its just make sure to import the right namespaces
21:01.29CaptainMcCrankSomething unclear: *Create a BugWeather object* section-      The picture shows the IPositionProvider interface being called, and the section underneath showing instantiation seem unresolved.
21:01.38CaptainMcCrankalso, the code in the run method has a bug
21:02.39CaptainMcCrankBugWeather application = new BugWeather() : should be BugWeatherAppplication application = new BugweatherApplication();
21:04.13CaptainMcCrankAlso
21:04.23CaptainMcCrankI assume that section above is actually totally wrong
21:04.31CaptainMcCrankthat seems like it should go in the constructor, not the run method
21:14.21jedahanCaptainMcCrank: no that section is right
21:14.24jedahanit may be confusing
21:14.40jedahanbut its saying to create another class called BugWeather, and use that for the lcd
21:14.55jedahanI can fold it into the run method if that seems easier
21:14.55CaptainMcCrankorly?
21:15.09jedahanlemme try folding it into and seeing what silliness occurs
21:15.14CaptainMcCrankwait wait
21:15.18CaptainMcCrankI'm not a full time dev
21:15.33jedahandoesnt matter, i wanna make this as accessible as possible
21:15.33CaptainMcCrankso I may not be a good person to be tweaking to
21:15.44CaptainMcCrankWhere is the bug weather class defined?
21:15.49CaptainMcCranker
21:15.51CaptainMcCrankBugWeather
21:15.53jedahanwherever you feel like :)
21:16.04CaptainMcCrankis this another one of those tricky parts?
21:16.04jedahani put it in the file but thats because im lazy
21:16.19CaptainMcCrankThe original class was called BugWeatherApplication
21:16.31jedahanyou can break it out to another class
21:16.32CaptainMcCrankat least per the wiki instructions
21:16.35jedahanyeah
21:16.41*** part/#buglabs slashdevnull (~slashdevn@38.96.160.226)
21:16.55CaptainMcCrankok
21:17.01CaptainMcCrankwell, that's a divergence :)
21:17.28CaptainMcCrankI know some technical editors up here in WA if you guys need to hire somebody ;)
21:18.02jedahanno you are totally right that part is stupidly abstracted
21:18.04jedahanlemme fix it up
21:23.43jedahanok CaptainMcCrank its much more simplified
21:23.48jedahani have no idea what state i was in this morning
21:23.53CaptainMcCranklol
21:24.01jedahanbut that was a silly rabbit hole you had to climb out of
21:24.11jedahanthe new code is uploaded too so you may want to get that
21:24.47CaptainMcCrankk
21:24.53CaptainMcCrankthanks jedahan
21:25.34jedahannp
21:26.18CaptainMcCrankIs the picture in the "Create a BugWeather object in need of an update as well?  Still referencing "BugWeatherApplication.java"
21:26.43CaptainMcCrankwait
21:26.44CaptainMcCrankscratch that
21:26.51CaptainMcCrankno
21:26.55CaptainMcCrankscratch the scratch
21:27.01CaptainMcCrankstill looks like there's some confusion
21:27.09CaptainMcCrankWHAT NAMING CONVENTION DO YOU WANT TO GO WITH ?
21:27.15CaptainMcCrankI feel like I'm being toyed with here :)
21:27.38CaptainMcCrankThe beginning section goes back to BugWeather
21:27.45CaptainMcCrankand then later it's bugweatherapplication again
21:28.16CaptainMcCrankAre you secretly Glados?
21:32.47jconnollyyou caught that tutorial pretty much as it was being written CaptainMcCrank
21:32.51jconnollyapologies for the confusion
21:33.52CaptainMcCrankjconnolly: Oh!
21:33.54CaptainMcCrankwell
21:33.56CaptainMcCrankdon't sweat it
21:33.57jconnollyalso
21:33.59jconnollylooking at it
21:34.04CaptainMcCrankmaybe put a warning on there saying "draft"
21:34.12jconnollyThere is indeed a distinction between BugWeather and BugWEatherApplication
21:34.35CaptainMcCrankOk....
21:34.40CaptainMcCrankI'll look at the source code
21:34.52CaptainMcCrankthe way things are written now are a good start
21:35.00CaptainMcCrankbut they brought me here in this very confused state
21:35.06CaptainMcCrankso might need some polish
21:35.21CaptainMcCrankI'll try to add comments in the discussion on the wiki after I've had a chance to just go through the source code
22:07.16CaptainMcCrankjconnolly: Is there a different tutorial online that you would recommend for the time being?
22:07.39jconnollyI'd recommend downloading some bug apps, looking at their source code, and taking them for a test drive
22:07.58CaptainMcCrankK
22:08.08CaptainMcCrankThe place where I'm blocked is in running the app for the first time.
22:08.19CaptainMcCrankI'll assume that one of the others will work out of the box
22:08.47CaptainMcCrankbut right now I'm blocked at loading it in the emulator...
22:08.51jconnollyTry "SimpleWindowCloser" etc.  it depends onw hat you're looking to do
22:08.55jconnollydid you buy a bug?
22:08.56CaptainMcCrankK.
22:09.01CaptainMcCrankMy company did
22:09.10jconnollyI'd get started using the actual device
22:09.18CaptainMcCrankoh?
22:09.26*** join/#buglabs jedahan (~jedahan@subtle/user/jedahan)
22:09.28CaptainMcCrankOk.... I'll give that a shot as well
22:09.36jconnollydon't get hung up on the emulator.  Write a hello-world, send it to bug, get a feel for how to access the command line, etc
22:09.46CaptainMcCrankk.
22:09.52CaptainMcCrankI better go get it set up then
22:09.54jconnollyit's much more useful than debugging tutorial typos ;D
22:10.01CaptainMcCrankHehe
22:10.10CaptainMcCrankThanks for enduring me, gang
22:11.23jconnollynot at all, and when you hit some issues getting acquainted with networking, etc, pop back in
22:11.45jconnollyit's linux, and it's osgi, so it's not like you'll just pick it up without bumping your head a few times
22:11.55jconnollyby the end of it tho, you'll be proficient in both ;D
22:14.31*** join/#buglabs jedahan (~jedahan@subtle/user/jedahan)
22:30.20*** join/#buglabs jedahan (~jedahan@subtle/user/jedahan)
22:46.48*** join/#buglabs jedahan (~jedahan@subtle/user/jedahan)
23:24.56*** join/#buglabs c4milo1 (~Adium@cpe-67-243-15-65.nyc.res.rr.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.