| 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.18 | CaptainMcCrank | hey a folks... accidentally disconnected |
| 20:08.33 | CaptainMcCrank | I'm sure I missed all sorts of awesome solutions for my emulator problem. |
| 20:10.00 | jconnolly | heh, not too much... |
| 20:10.06 | jconnolly | [14:03] < jedahan> im doing a fresh install of eclipse and dragonfly so we should be on the same page |
| 20:10.09 | jconnolly | [14:05] *** CaptainMcCrank [ae7d749f@gateway/web/freenode/ip.174.125.116.159] has quit [Ping timeout: 252 seconds] |
| 20:10.13 | jconnolly | [14:06] < jedahan> awww |
| 20:10.13 | jconnolly | [14:07] <@jconnolly> jedahan: fwiw... http://wiki.buglabs.net/index.php/Software:SDK_Install_Guide#SDK_Version |
| 20:10.16 | jconnolly | [14:07] <@jconnolly> if you want to figure out their SDK version that's a handy little subwiki about getting that info |
| 20:10.20 | jconnolly | [14:07] < jedahan> nice thx |
| 20:10.22 | jconnolly | [14:08] <@jconnolly> np |
| 20:10.23 | jconnolly | also, if you're interested, infobot logs our channel |
| 20:10.35 | jedahan | CaptainMcCrank: try the newly updated getting started guide |
| 20:10.40 | jedahan | the zip is not uploaded just yet |
| 20:10.43 | jconnolly | synced up nightly: http://ibot.rikers.org/%23buglabs/ |
| 20:10.45 | jconnolly | infobot: sup |
| 20:10.45 | infobot | Yo jconnolly, how's it going eh? |
| 20:10.49 | CaptainMcCrank | jedahan: will do |
| 20:14.17 | CaptainMcCrank | jedahan: wow... this is a major change |
| 20:14.41 | CaptainMcCrank | thank you for taking the time to clean it up. Will let you know how it goes in a couple minutes |
| 20:17.14 | CaptainMcCrank | jedanhan: no main method by default. Can you share the method signature with me? |
| 20:17.25 | CaptainMcCrank | I assume it's public void main (some params) ? |
| 20:17.42 | jedahan | I should change the wording to say 'in the BugWeather constructor' |
| 20:17.50 | jedahan | i forgot the word constructor at the time |
| 20:17.57 | CaptainMcCrank | hehe |
| 20:18.45 | CaptainMcCrank | Well I apologize. My java is very rusty. constructor will be something like : |
| 20:18.58 | CaptainMcCrank | public void BugWeather () { |
| 20:19.00 | CaptainMcCrank | ?; |
| 20:19.01 | jedahan | yep |
| 20:19.36 | CaptainMcCrank | (eclipse says no to void) |
| 20:19.45 | jedahan | really? |
| 20:19.48 | CaptainMcCrank | guess that's cause it's a constructor and not a method |
| 20:19.55 | jedahan | oh, no void yeah |
| 20:20.00 | jedahan | because its returning itself |
| 20:20.06 | jedahan | public BugWeather() |
| 20:20.14 | CaptainMcCrank | ack |
| 20:20.32 | jedahan | There is a tar.gz of the sample code about 1/3 down the page, you will get to it soon |
| 20:21.31 | CaptainMcCrank | k.... if I can just get this first part working, I'll be happy pants |
| 20:23.09 | jedahan | hmm, 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.40 | CaptainMcCrank | Splitting up the simulator sections from the coding sections might help |
| 20:25.48 | CaptainMcCrank | It's hard going back and forth |
| 20:26.12 | CaptainMcCrank | and 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.51 | jedahan | CaptainMcCrank: thats because that window is in the new-and-improved sdk which is not out yet |
| 20:27.08 | jedahan | i mean its out, but the integration build only |
| 20:27.27 | jedahan | so you would have to add a new update site source, replacing the update string 'current' with 'integration' |
| 20:27.44 | CaptainMcCrank | I see |
| 20:28.15 | jedahan | yeah so the documentation is a bit pre-release |
| 20:28.25 | CaptainMcCrank | Is it a big enough change that I should put off learning this till it's ready for prime time? :D |
| 20:28.31 | jedahan | nope |
| 20:28.39 | CaptainMcCrank | Good :) |
| 20:28.44 | jedahan | it just adds that one nicer page before the ugly one |
| 20:28.50 | CaptainMcCrank | hehe |
| 20:28.51 | jedahan | and fixes a few bugs |
| 20:29.10 | jedahan | but the api isnt changing so everything will transfer |
| 20:29.15 | jedahan | brb |
| 20:31.10 | *** join/#buglabs jedahan (~jedahan@subtle/user/jedahan) |
| 20:37.15 | CaptainMcCrank | @jedahan: Your Activator class doesn't have a run method. |
| 20:37.23 | CaptainMcCrank | is that to be expected? |
| 20:37.41 | CaptainMcCrank | (in the tar.gz file) |
| 20:38.39 | jedahan | yep CaptainMcCrank |
| 20:38.53 | jedahan | the default should be for the run and stop methods to be in the BugWeatherApplication class |
| 20:38.53 | CaptainMcCrank | My activator class was auto generated |
| 20:39.04 | CaptainMcCrank | included a bunch of noise in there that apparently was unnecessary |
| 20:39.24 | jedahan | can you do what jconnolly showed and let me see what version of the sdk you are using? |
| 20:40.01 | CaptainMcCrank | I can try |
| 20:40.16 | CaptainMcCrank | No promises :) |
| 20:40.24 | CaptainMcCrank | Source code seems to be cutting through a lot of noise though |
| 20:40.25 | CaptainMcCrank | oh |
| 20:40.26 | CaptainMcCrank | btw |
| 20:40.34 | CaptainMcCrank | my original problem seems to be somewhat fixed |
| 20:40.38 | CaptainMcCrank | the app is trying to run |
| 20:40.46 | CaptainMcCrank | although now I'm getting errors in the console |
| 20:40.57 | CaptainMcCrank | before it wasn't loading, assumably because I was calling the constructor improperly |
| 20:41.35 | CaptainMcCrank | Any quick way to derive the SDK version number from eclipse? |
| 20:42.16 | jconnolly | http://wiki.buglabs.net/index.php/Software:SDK_Install_Guide#SDK_Version |
| 20:43.09 | CaptainMcCrank | 2.1 |
| 20:45.13 | jconnolly | the full version string? |
| 20:49.45 | CaptainMcCrank | One moment |
| 20:50.14 | CaptainMcCrank | 2.1.9v201103140038_P |
| 20:50.43 | jconnolly | jedahan: ^^ |
| 20:51.40 | CaptainMcCrank | The 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.01 | CaptainMcCrank | I don't see a way to do that. I have th option to select a target bug and specify required services |
| 20:52.30 | CaptainMcCrank | In the services listed, I see one called IPosition Provider |
| 20:52.37 | CaptainMcCrank | I assume that's the one I should select. |
| 20:52.44 | jconnolly | that's a new feature not yet out |
| 20:52.57 | jconnolly | but it's functionally equivalent selection a bug and selection IPositionProvider |
| 20:53.02 | CaptainMcCrank | k |
| 20:53.03 | jconnolly | but I defer to jedahan |
| 20:53.14 | jedahan | yep |
| 20:53.14 | jedahan | completely correct |
| 20:53.21 | CaptainMcCrank | in terms of following the current instructions, I'm blocked at this point :) |
| 20:53.28 | jedahan | also those errors are supposed to be there |
| 20:53.35 | jedahan | read the install guide carefully |
| 20:54.11 | CaptainMcCrank | jedahan: I understand what you're getting at |
| 20:54.14 | CaptainMcCrank | and that may be the case |
| 20:54.16 | CaptainMcCrank | however |
| 20:54.16 | jedahan | theres a hint there |
| 20:54.28 | jedahan | the error you are getting involves felix not finding something? |
| 20:54.36 | CaptainMcCrank | So far I haven't been able to get the window to pop up |
| 20:54.40 | jedahan | yeah |
| 20:54.45 | CaptainMcCrank | ah |
| 20:54.56 | CaptainMcCrank | That's a bit confusing |
| 20:55.17 | CaptainMcCrank | I inferred from the guide that I should see what the pictures show when I get to those sections of the guide. |
| 20:55.18 | jedahan | Yeah I am talking with a person or two about just giving that instruction too |
| 20:55.27 | jedahan | yeah that makes sense |
| 20:55.41 | jedahan | besides the module guide window, what else is inconsistent? |
| 20:55.59 | CaptainMcCrank | (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.06 | jedahan | ahh ok |
| 20:56.11 | CaptainMcCrank | although, perhaps they're still in the debug window? |
| 20:57.02 | CaptainMcCrank | I 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.21 | CaptainMcCrank | I might have every error possible listed here. |
| 20:57.23 | CaptainMcCrank | :) |
| 20:57.59 | CaptainMcCrank | Let me keep going and I'll try to point more divergences out |
| 20:58.28 | jconnolly | stacktraces help ;D |
| 20:58.42 | jedahan | ahh well all those errors |
| 20:58.52 | CaptainMcCrank | Sorry... irc is on a different machine |
| 20:59.00 | CaptainMcCrank | so cut & paste no worky |
| 20:59.02 | jedahan | all those errors can be fixed with the quickfixes |
| 20:59.09 | jedahan | in eclipse |
| 20:59.25 | jedahan | mainly its just make sure to import the right namespaces |
| 21:01.29 | CaptainMcCrank | Something unclear: *Create a BugWeather object* section- The picture shows the IPositionProvider interface being called, and the section underneath showing instantiation seem unresolved. |
| 21:01.38 | CaptainMcCrank | also, the code in the run method has a bug |
| 21:02.39 | CaptainMcCrank | BugWeather application = new BugWeather() : should be BugWeatherAppplication application = new BugweatherApplication(); |
| 21:04.13 | CaptainMcCrank | Also |
| 21:04.23 | CaptainMcCrank | I assume that section above is actually totally wrong |
| 21:04.31 | CaptainMcCrank | that seems like it should go in the constructor, not the run method |
| 21:14.21 | jedahan | CaptainMcCrank: no that section is right |
| 21:14.24 | jedahan | it may be confusing |
| 21:14.40 | jedahan | but its saying to create another class called BugWeather, and use that for the lcd |
| 21:14.55 | jedahan | I can fold it into the run method if that seems easier |
| 21:14.55 | CaptainMcCrank | orly? |
| 21:15.09 | jedahan | lemme try folding it into and seeing what silliness occurs |
| 21:15.14 | CaptainMcCrank | wait wait |
| 21:15.18 | CaptainMcCrank | I'm not a full time dev |
| 21:15.33 | jedahan | doesnt matter, i wanna make this as accessible as possible |
| 21:15.33 | CaptainMcCrank | so I may not be a good person to be tweaking to |
| 21:15.44 | CaptainMcCrank | Where is the bug weather class defined? |
| 21:15.49 | CaptainMcCrank | er |
| 21:15.51 | CaptainMcCrank | BugWeather |
| 21:15.53 | jedahan | wherever you feel like :) |
| 21:16.04 | CaptainMcCrank | is this another one of those tricky parts? |
| 21:16.04 | jedahan | i put it in the file but thats because im lazy |
| 21:16.19 | CaptainMcCrank | The original class was called BugWeatherApplication |
| 21:16.31 | jedahan | you can break it out to another class |
| 21:16.32 | CaptainMcCrank | at least per the wiki instructions |
| 21:16.35 | jedahan | yeah |
| 21:16.41 | *** part/#buglabs slashdevnull (~slashdevn@38.96.160.226) |
| 21:16.55 | CaptainMcCrank | ok |
| 21:17.01 | CaptainMcCrank | well, that's a divergence :) |
| 21:17.28 | CaptainMcCrank | I know some technical editors up here in WA if you guys need to hire somebody ;) |
| 21:18.02 | jedahan | no you are totally right that part is stupidly abstracted |
| 21:18.04 | jedahan | lemme fix it up |
| 21:23.43 | jedahan | ok CaptainMcCrank its much more simplified |
| 21:23.48 | jedahan | i have no idea what state i was in this morning |
| 21:23.53 | CaptainMcCrank | lol |
| 21:24.01 | jedahan | but that was a silly rabbit hole you had to climb out of |
| 21:24.11 | jedahan | the new code is uploaded too so you may want to get that |
| 21:24.47 | CaptainMcCrank | k |
| 21:24.53 | CaptainMcCrank | thanks jedahan |
| 21:25.34 | jedahan | np |
| 21:26.18 | CaptainMcCrank | Is the picture in the "Create a BugWeather object in need of an update as well? Still referencing "BugWeatherApplication.java" |
| 21:26.43 | CaptainMcCrank | wait |
| 21:26.44 | CaptainMcCrank | scratch that |
| 21:26.51 | CaptainMcCrank | no |
| 21:26.55 | CaptainMcCrank | scratch the scratch |
| 21:27.01 | CaptainMcCrank | still looks like there's some confusion |
| 21:27.09 | CaptainMcCrank | WHAT NAMING CONVENTION DO YOU WANT TO GO WITH ? |
| 21:27.15 | CaptainMcCrank | I feel like I'm being toyed with here :) |
| 21:27.38 | CaptainMcCrank | The beginning section goes back to BugWeather |
| 21:27.45 | CaptainMcCrank | and then later it's bugweatherapplication again |
| 21:28.16 | CaptainMcCrank | Are you secretly Glados? |
| 21:32.47 | jconnolly | you caught that tutorial pretty much as it was being written CaptainMcCrank |
| 21:32.51 | jconnolly | apologies for the confusion |
| 21:33.52 | CaptainMcCrank | jconnolly: Oh! |
| 21:33.54 | CaptainMcCrank | well |
| 21:33.56 | CaptainMcCrank | don't sweat it |
| 21:33.57 | jconnolly | also |
| 21:33.59 | jconnolly | looking at it |
| 21:34.04 | CaptainMcCrank | maybe put a warning on there saying "draft" |
| 21:34.12 | jconnolly | There is indeed a distinction between BugWeather and BugWEatherApplication |
| 21:34.35 | CaptainMcCrank | Ok.... |
| 21:34.40 | CaptainMcCrank | I'll look at the source code |
| 21:34.52 | CaptainMcCrank | the way things are written now are a good start |
| 21:35.00 | CaptainMcCrank | but they brought me here in this very confused state |
| 21:35.06 | CaptainMcCrank | so might need some polish |
| 21:35.21 | CaptainMcCrank | I'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.16 | CaptainMcCrank | jconnolly: Is there a different tutorial online that you would recommend for the time being? |
| 22:07.39 | jconnolly | I'd recommend downloading some bug apps, looking at their source code, and taking them for a test drive |
| 22:07.58 | CaptainMcCrank | K |
| 22:08.08 | CaptainMcCrank | The place where I'm blocked is in running the app for the first time. |
| 22:08.19 | CaptainMcCrank | I'll assume that one of the others will work out of the box |
| 22:08.47 | CaptainMcCrank | but right now I'm blocked at loading it in the emulator... |
| 22:08.51 | jconnolly | Try "SimpleWindowCloser" etc. it depends onw hat you're looking to do |
| 22:08.55 | jconnolly | did you buy a bug? |
| 22:08.56 | CaptainMcCrank | K. |
| 22:09.01 | CaptainMcCrank | My company did |
| 22:09.10 | jconnolly | I'd get started using the actual device |
| 22:09.18 | CaptainMcCrank | oh? |
| 22:09.26 | *** join/#buglabs jedahan (~jedahan@subtle/user/jedahan) |
| 22:09.28 | CaptainMcCrank | Ok.... I'll give that a shot as well |
| 22:09.36 | jconnolly | don'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.46 | CaptainMcCrank | k. |
| 22:09.52 | CaptainMcCrank | I better go get it set up then |
| 22:09.54 | jconnolly | it's much more useful than debugging tutorial typos ;D |
| 22:10.01 | CaptainMcCrank | Hehe |
| 22:10.10 | CaptainMcCrank | Thanks for enduring me, gang |
| 22:11.23 | jconnolly | not at all, and when you hit some issues getting acquainted with networking, etc, pop back in |
| 22:11.45 | jconnolly | it'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.55 | jconnolly | by 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) |