**** BEGIN LOGGING AT Sat May 12 02:59:58 2012 May 12 04:08:42 fxspec06_: yeah they've got plenty of them May 12 04:17:54 hmm.. wonder if my dev device will pickup the 3.0.6 update May 12 04:19:25 nope it's not on the regular dev servers May 12 05:55:52 i think i'm going to finally get my office desk properly setup.. bbl May 12 15:00:46 anyone see a 3.0.6 update yet? May 12 19:05:20 dkirker: complex use of futures can be maddening May 12 19:08:09 i'm running a loop on data from the network, which runs a few database calls, and operates on that data, which i then need to operate on once all the database operations are completed. can't quite seem to figure out how to get the future to continue when all the database ops are completed, right now it's running the stuff that's supposed to happen at the end of the loop after the first db hit comes back May 12 20:40:04 gaaaaaaaah how the hell do you do this without doing 2000 db queries May 12 20:41:03 and how the hell did i have it almost working last week, i make a single change and can't get it working again o.O May 12 20:44:40 invalidopcode: argh! May 12 20:45:17 ericBlade: you should know never touch anything that works ;) May 12 20:45:24 EricBlade: aye matey May 12 20:47:07 invalidopcode: i had to basically re-write my sync function to make it less complex, and now I can't recreate something that even kind of works May 12 20:47:22 ...... wonderful May 12 20:47:39 so nothing works at all? May 12 20:48:07 sending works beautifully :D May 12 20:48:52 haha one way conversations don't get one very far in life :P May 12 20:49:14 i think that's how most of us get through our teenage years May 12 20:52:36 hahaha May 12 20:52:58 ... and i just spammed myself 18 copies of a message. oops. May 12 20:53:12 haha very nice May 12 21:07:52 ... and now node is telling me i have an unexpected ; May 12 21:08:04 but jslint and jshint aren't locating it May 12 21:14:24 lovely... so are the message being written to the database? May 12 21:14:42 i think i'm locked out now :| May 12 21:14:51 like are they showing up in imposta? May 12 21:15:00 what do you mean you're locked out? May 12 21:15:29 well i'm trying to perfect the outgoing process so that it will only mark a message as sent when it's actually sent May 12 21:15:36 and i'm instead causing major loopage May 12 21:15:57 so now google has told me "error 58" on outgoing May 12 21:21:33 i cannot figure out how to properly get a future to return only after several other futures have May 12 21:27:46 whats a future? May 12 21:28:13 https://developer.palm.com/content/api/reference/javascript-libraries/foundations/foundations-control-future.html May 12 21:28:56 holy crap, i think i got that part to work May 12 21:30:34 hm... interesting May 12 21:34:03 attempting to build a structure using this that needs to retrieve things from the network, then from the database, and do other database operations depending on those results, is proving to be nightmarish May 12 21:52:09 well i undertook this process because I figured that the number of db requests I was making was blowing up the node process May 12 21:52:19 unfortunately, i'm still blowing it up May 12 21:56:00 ok, next research topic.. either increasing the amount of memory available to a service command, -or- reducing the amount of memory the node-google-voice library uses May 12 21:57:06 is this the library you are using https://github.com/amper5and/node-google-voice ? May 12 21:57:12 ya May 12 21:57:51 hm... ok May 12 22:06:06 I don't think there is much you can strip away from the library, it looks kindof barebones to me May 12 22:14:08 it's making at least one extra request May 12 22:14:40 * invalidopcode will now keep his mouth shut May 12 22:15:33 :) i doubt that's the real culprit of it, but getMessages() requests the first page, then pages 1..N May 12 22:22:08 ah haha ok May 12 22:23:46 looks like xml2js might be the memory culprit, but i'm not real sure what to do about that May 12 23:46:23 if i ever get this working it'll be more an accident than an understanding May 12 23:50:41 some of the greatest advancements in history have been by accident May 12 23:53:57 encouraging. May 12 23:54:42 :) May 13 00:27:31 maybe if i run a few of them as seperate commands, it'll work May 13 00:27:41 then i don't have to deal with all that crap May 13 00:27:58 but then i'll get like 3 database accesses minimum for each thread May 13 00:28:42 i was hoping to get it down to one per thread, +1 to do all of the inserts May 13 00:29:00 or something like that May 13 00:52:22 invalidopcode: i think i've almost got it back to the state it was in last time you saw it lol May 13 00:53:45 EricBlade: haha yay for progress! oh wait... May 13 00:53:49 :P May 13 00:53:54 well, if it were actually storing anything May 13 00:57:28 GAHgowrhg204ghgh2gh2gh May 13 00:57:32 i'm taking a break May 13 00:58:07 EricBlade, I suggest watching Top Gear (UK of course) that always helps me become un-frustrated May 13 01:02:00 holy something vaguely resembling success, batman! May 13 01:12:06 WOOOOO May 13 01:12:23 now i can resume where i was working at before the weekend began May 13 01:12:34 and this time i can understand most of it May 13 01:17:41 invalidopcode: sms me? May 13 01:20:58 EricBlade: sure May 13 01:33:03 argh. if i have to re-jigger this thingamobob so that it syncs incoming before parsing outgoing, i'm going to be angry. May 13 01:49:47 that was quite a descriptive message May 13 01:58:14 trying to see if the 5-minute sync is working. May 13 02:00:16 my guess is that it is not May 13 02:13:56 or is it? :P May 13 02:49:20 it is now **** ENDING LOGGING AT Sun May 13 02:59:59 2012