**** BEGIN LOGGING AT Sun Jan 31 02:59:57 2010 Jan 31 03:00:17 any SQL gurus around? Jan 31 03:00:40 yeah, it seems to work well. i've got so much crud in iTunes and have to use it for work anyway so i was trying to streamline. Jan 31 03:01:00 but i suppose if i'm stuck at 9.0.1 forever i'll eventually have to go to doubletwist. Jan 31 03:01:48 malk; i wouldn't claim to be a guru, but i know sql a bit. Jan 31 03:02:11 mostly in the context of sqlite. Jan 31 03:02:25 ever used SELECT DISTINCT ? Jan 31 03:03:00 yeah, its been awhile though Jan 31 03:03:38 whats the prob? Jan 31 03:04:50 i'm trying to select 6 or 7 fields from 3 different tables. i only want a row if its ID is distinct as multiple rows can have the same ID Jan 31 03:06:26 is the call not working, or you're getting the wrong stuff? Jan 31 03:06:26 if i just do SELECT DISTINCT id FROM table it works fine, but as soon as i start adding multiple fields in the SELECT it doesn't work. my guess is DISTINCT is using all of the fields listed, but is there any way to get it so it just does DISTINCT on one field? Jan 31 03:06:33 i know that sounds convoluted Jan 31 03:07:11 lemme see if i can rephrase so that i understand what you mean.. Jan 31 03:07:19 heh, thanks Jan 31 03:08:06 you want distinct fields from multiple columns from a single table. but if the word 'BLAH' appears in multiple columns you want to see 'BLAH' in the result multiple times? Jan 31 03:09:26 oh hah, i see what's happening Jan 31 03:12:12 happy to have attempted to help, hehe :) Jan 31 03:12:36 ok. so one field among all of the ones i was selecting will always be different and of course that doesn't mesh well with what DISTINCT wants to do Jan 31 03:13:08 i was hoping it would just give me like the first occurence, you know? Jan 31 03:13:52 ah Jan 31 03:14:21 so one column's values were all more or less unique Jan 31 03:14:23 ? Jan 31 03:14:36 right Jan 31 03:14:54 gotcha. yeah, i bet that query was taking awhile too (if your dataset was large) Jan 31 03:15:25 not too bad. i think i'll just select all of it and handle the duplicate data in the app Jan 31 04:13:40 anyone know if there's a special class in javascript that will let me take a number of seconds and convert it into a time since type of format? so like 3w 1d 4h type of thing? Jan 31 04:14:09 or even just 43d 2:03 Jan 31 04:23:35 maik: not sure, but I wouldn't bet on it Jan 31 04:24:18 it's all good, i realized it would be better to do all that on the server anyways Jan 31 04:29:51 holy crap, one of my answers on serverfault got 5 up-votes Jan 31 04:57:13 Anyone have experience with Box2d-js with webOS? Jan 31 04:57:18 Or just box2d-js, I guess. Jan 31 05:05:08 never looked at it roy Jan 31 05:07:37 I need to either swap out physics engines or GPL my code. Jan 31 05:09:09 Can anyone explain why I have more tabs open in firefox at the end of the day than I start with? Every day? Jan 31 05:13:09 ADD Jan 31 05:13:15 wanna go ride bikes? Jan 31 05:15:01 mmm, few things beat a B&Rs brownie sunday with Love Potion #31, hot fudge and whipped cream Jan 31 05:15:19 :D Jan 31 05:16:21 I don't have attention defi...hey, look, a chicken! Jan 31 05:16:35 heh Jan 31 05:19:50 so...two people live in a house...ones a programmer the others a graphic designer...how many computers do they need?.... Jan 31 05:19:58 4 Jan 31 05:20:08 nope Jan 31 05:20:10 er, 5 Jan 31 05:20:14 nope Jan 31 05:20:21 7 Jan 31 05:20:24 heh Jan 31 05:20:36 you can't count your phones or console Jan 31 05:20:37 s Jan 31 05:20:38 counting pre's? Jan 31 05:20:40 i'm not Jan 31 05:20:46 christ Jan 31 05:20:59 yeah installing the second media pc now Jan 31 05:21:07 I have 4 Jan 31 05:22:06 i think he wants one in the bathroom for valentines day Jan 31 05:22:31 hah Jan 31 05:22:47 we have 3, plus my work laptop Jan 31 05:24:49 cool amazon on demand 1.99 Jan 31 05:30:01 I think I have everyone here trumped on computers at home. Jan 31 05:30:25 Of course, since I moved the business into the house that might not count. Jan 31 05:33:12 you must never talk to joshua.... Jan 31 05:41:28 JenP: I can see 13 from where I sit right now. :D Jan 31 05:41:41 lol Jan 31 05:41:51 Not counting data collection terminals, which are themselves terminals. Jan 31 05:41:54 er, computers. Jan 31 05:42:02 lol Jan 31 05:42:38 That's an impressive amount of computers Jan 31 05:43:51 I will admit that 6 of them are heading to the computer recycler as soon as I wipe the drives. Jan 31 05:44:07 Possibly becoming VMs on the way. Jan 31 05:44:29 Of course, I've said that for a year and half. Jan 31 06:07:13 hello?? Is it possible to style the message in an alert dialog? I tried putting tags in the message but they get displayed Jan 31 06:13:23 jfelectron: Not to my knowledge.... outside of styling all alert messages through css. Jan 31 06:14:06 Roy-Pre101: OK thanks....I found an example where someone had
in the message but it probably didn't work for them either Jan 31 06:15:01 probably didn't. Though it might have been before they did the escaping. Jan 31 06:15:02 Jfelectron: it is built Jan 31 06:15:30 Roy-Pre101: I could make a custom dialog....but that's a lot of overhead just to get a one word bold and to add a line break Jan 31 06:15:38 LoneStar99: built? Jan 31 06:16:14 a better way to search for apps Jan 31 06:16:42 oooh nice....you made an app to search for apps? Jan 31 06:17:37 oh yeah, Jan 31 06:18:39 the problem with all catalogs is that they only push new, best or browse Jan 31 06:19:03 uhuh....what do you have? Jan 31 06:19:17 have a good thing Jan 31 06:19:36 a crawler Jan 31 06:21:08 OK, so that populates a search? Jan 31 06:21:37 or results as you type... Jan 31 06:22:33 i emailed the palm engineers about this, and did not get a response Jan 31 06:22:54 no surprise...what did you expect.? Jan 31 06:23:34 so "black bird" is going to be released Jan 31 06:24:17 what's that? Jan 31 06:24:37 your web base app search thingy? Jan 31 06:24:38 a cool beatles song Jan 31 06:24:41 the search engine Jan 31 06:25:13 OK....still not clear what this offers over the app catalog search Jan 31 06:25:22 you're being obtuse :) Jan 31 06:25:53 This is pretty interesting: http://lifehacker.com/5459673/sikuli-automates-almost-anything-with-screenshot-ease?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+lifehacker%2Ffull+%28Lifehacker%29 Jan 31 06:26:26 Roy-Pre101: have you tried it yet? Jan 31 06:26:42 nope, not yet. Jan 31 06:28:04 jfelectron: try "television shows" on the app search Jan 31 06:28:23 Roy-Pre101: This reminds me of the GUI based scripting language that some folks at MIT developed....unless this is the same thing? Jan 31 06:28:41 Don't believe so. Jan 31 06:29:13 LoneStar99: don't have my phone handy....I assume its either nothing or so much that its not really useufl Jan 31 06:29:29 LoneStar99: I have found the search to be frustrating unless I know exactly the name Jan 31 06:29:44 ok, that is gone Jan 31 06:30:08 Roy-Pre101: yep it is the same project....http://sikuli.csail.mit.edu/ Jan 31 06:30:20 Well, that was smart: I bought fish in this fishville game that grow up in 5 minutes and then watched the 6+ minute video. Jan 31 06:30:34 so they were all dead when I got back. Jan 31 06:30:39 lol Jan 31 06:30:53 FB games rot your brain Jan 31 06:31:00 jfelectron: I know. Jan 31 06:31:11 I'm, uh, shopping for ideas. Jan 31 06:31:12 I'm on farmville hiatus Jan 31 06:31:26 boys a new way to find app info is coming Jan 31 06:31:55 Adora is hanging around too...so that'd be gents and ladies Jan 31 06:32:57 anyone been able to use a border image on a textField widget...can't seem to get it to work Jan 31 06:33:09 seems to just ignore it Jan 31 06:35:55 if i want an app that finds local information how is it found? in the current system Jan 31 06:35:57 ? Jan 31 06:36:42 you mean like WHERE and four-square? Jan 31 06:37:29 searching by location aware apps would pull down quite a few Jan 31 06:37:41 if you could even do that...which you can't Jan 31 06:39:36 why not? Jan 31 06:39:54 dunno...try it...does it return anything? Jan 31 06:40:16 is that in the metadata in the app feed? Jan 31 06:40:23 whether its loc aware or not? Jan 31 06:41:03 give me a keyword of your app Jan 31 06:41:18 don't have an app in the catalog Jan 31 06:43:06 how long does it take for an app submitted to web catalog take to appear? Jan 31 06:43:25 crasheed: Good question. Jan 31 06:43:38 it all depends Jan 31 06:45:00 jfelectron: when u submit your app, you will be found by what it is worth Jan 31 06:45:33 that's one way to browser...not the only way though Jan 31 06:45:51 there are categories, chronological, popularity... Jan 31 06:46:04 boo Jan 31 06:46:31 it is a very flawed system Jan 31 06:46:40 I'm sure your search engine is whiz bang Jan 31 06:46:56 LoneStar99: no argument there Jan 31 06:47:19 you don't have to convince me that there is room for your search engine...convince the masses to USE it :) Jan 31 06:47:32 whisper in PreCentral's ear Jan 31 06:47:48 tell Dieter sweet nothings Jan 31 06:48:06 ok true that Jan 31 06:48:25 also how do you grab the URL to the app on the web catalog for people to buy from phone? Jan 31 06:51:53 crasheed: it takes an hour or two Jan 31 07:26:03 what does it all mean at the end.. Jan 31 07:26:07 nothing Jan 31 08:22:14 anyone up here? Jan 31 08:23:48 barely Jan 31 08:24:04 i take it you're from texas. :) Jan 31 08:29:20 kinda Jan 31 08:34:41 still here Jan 31 08:39:07 anybody up? Jan 31 08:45:30 the horse was broke, make it better by giving it some care Jan 31 09:25:12 for fucks sakes need some help Jan 31 09:26:35 horse? Like a real horse or is that a metaphor? Jan 31 09:27:32 LoneStar99: what's doing? Jan 31 09:27:51 need another beer Jan 31 09:29:11 it sucks that people can not find anybodies app Jan 31 09:32:09 yeah definitely.....but that's how long-tail markets are Jan 31 09:32:14 their is no excuse for seeling only 200 Jan 31 09:33:07 longtail, that sucks Jan 31 09:33:47 Instead of a web service...you should make an app that uses your webservice...ppl are more likely to use it if it provides an on phone alternative to the app catalog searching Jan 31 09:34:27 longtail is the way of the internet....for every facebook and radiotime there are 100000 other things used by 2 people Jan 31 09:35:31 jfelectron: i need feedback now Jan 31 09:35:41 OK Jan 31 09:36:43 brb in 5 gonna get 2 more beers Jan 31 09:36:50 lol...ok Jan 31 09:45:17 got caught Jan 31 09:45:26 i am 34 Jan 31 09:46:45 it just makes me sad could not make nothing Jan 31 09:47:11 huh? got caught with what? Jan 31 09:48:09 am tired, Jan 31 09:48:49 same here....need to go to bed...but want to quash this DB bug before I do Jan 31 13:49:26 hello world Jan 31 13:53:44 goodbye cruel world Jan 31 14:39:53 morning folks Jan 31 14:56:44 hello ls99 Jan 31 14:57:29 hallo Jan 31 14:57:37 how is the coffee Jan 31 14:58:07 good. how was the beer? Jan 31 14:58:53 lovely as always, Jan 31 14:59:43 vodka, goldslager, beer Jan 31 15:02:08 brandy Jan 31 15:04:07 can an open source app be sold? Jan 31 15:04:27 I think so. Jan 31 15:04:33 I am not sure Jan 31 15:06:33 yeah not sure either Jan 31 15:08:24 the thing is gonna release an app catalog search engine app, but not sure if to make it free with apps, paid, open source etc... Jan 31 15:09:38 personally, I wouldn't pay for an app catalog search engine app. Jan 31 15:09:41 but that's just me Jan 31 15:11:42 was thinking .99$ Jan 31 15:12:21 actually 1.49$ it actually works quite well Jan 31 15:14:43 haeffb: what does your app do? Jan 31 15:15:37 Taskadder - adds tasks to the Toodledo web-based todo list service Jan 31 15:15:51 Agenda - displays an agenda view of your Calendar events Jan 31 15:16:05 Myles - tracks mileage for IRS/business expenses Jan 31 15:16:34 only Taskadder is in the catalog, the other two are currently available as homebrew Jan 31 15:30:22 haeffb: you can find your app under tasks Jan 31 15:30:56 ever wonder if such an app existed? Jan 31 15:36:29 yes, but not enough to pay $0.99 Jan 31 15:37:09 lol, what are you wonder about? Jan 31 15:38:27 conducting some tests on the service Jan 31 15:40:32 perhaps it will be free with ads Jan 31 15:40:39 without ads Jan 31 15:44:58 wondering about the meaning of life, the universe and everything Jan 31 15:45:41 same here Jan 31 15:51:12 haeffb: http://work.lonestarbeer.operaunite.com/file_sharing/content/ Jan 31 15:57:05 cool. Jan 31 16:00:04 haeffb: will send you a copy free Jan 31 16:00:38 code name is "blackbird" Jan 31 16:01:06 finds apps that most people thought did not exsist Jan 31 16:35:18 haeffb: what ever happened with the milez thing? Jan 31 16:46:29 it's now called Myles Jan 31 16:48:47 cool quick fix Jan 31 17:05:03 haeffb: have developed on the C/C++ WebOS stuff? Jan 31 17:58:54 hi everyone Jan 31 18:01:19 Can anyone tell me how can i retrieve some selected records from my table by passing a variable in the where clause of my Sql query? Jan 31 18:06:44 Yatharth: the transaction.executeSql method takes 4 parameters, the lat 2 are the onSuccess and onFailure handlers Jan 31 18:06:50 the first one is the sql statement Jan 31 18:07:03 the second one is a 'replacement array' for any ?s in your sql Jan 31 18:07:06 so Jan 31 18:07:39 if you have "SELECT * FROM table WHERE col1 = ?", then your second parameter is ['what I want col1 to equal'] Jan 31 18:17:44 hey thanx alot sugardave Jan 31 18:18:19 np Jan 31 18:23:35 http://hexnut.org/post/363511596/ipad-nano Jan 31 18:23:40 heh Jan 31 18:44:19 haeffb: ping Jan 31 18:45:46 anyone want to debug an sql query gone bad? Jan 31 18:48:30 http://www.pastie.org/803155 Error message says there are 22 columns and I only give 21....but table creation only has 21 lines Jan 31 19:03:20 jfelectron, you have 8 ?s and seven parameters Jan 31 19:32:37 oh goody ATC for the PRE! Jan 31 19:33:55 atc? Jan 31 19:34:08 air traffic control hit the app cat last night Jan 31 19:34:14 ah Jan 31 19:50:15 it's possible to crop a image with sdk? Jan 31 20:46:03 has anyone used Sqlitmanager with Komodo? Jan 31 21:01:52 woot.. 17 more to go and i'll have had 1000 purchases of my app Jan 31 21:03:57 nice Jan 31 21:03:58 what app? Jan 31 21:04:05 swap&drop Jan 31 21:04:16 bejewled game? Jan 31 21:04:19 yeh Jan 31 21:04:27 nice, I remember that in homebrew Jan 31 21:04:33 yeah PreJeweled Jan 31 21:04:34 been to cheap to purchase a lot of apps Jan 31 21:04:38 hah Jan 31 21:04:49 I'll probably buy that eventually Jan 31 21:04:54 lol i found out a way to buy apps but not actually buy them Jan 31 21:05:02 i got Need For Speed free Jan 31 21:05:15 or it was a fluke Jan 31 21:05:30 :O Jan 31 21:05:36 my CCV and EXP changed on my credit card, but i forgot to update it Jan 31 21:05:51 palm let me download but sent me an email reciept saying the transaction failed Jan 31 21:06:09 Woops. Might want to tell Palm.;) Jan 31 21:06:22 my bank recieved the transaction but it disappeared after a couple days, so apparently it went thru but not fully Jan 31 21:06:56 hello Jan 31 21:07:08 i think i shot off an email to someone at palm, but i could be mistaken, i havent tried again since theres no apps i feel like paying for right now Jan 31 21:07:31 Anyone know does text-shadow css property work in webos ? Jan 31 21:07:59 Id say buy mine...but its free... :D Jan 31 21:08:00 fanatsumy: yes it works Jan 31 21:08:29 can you show me the example? text-shadow: 1px 1px 0px #000; does not work... Jan 31 21:08:42 fatasumy: let me pull it up Jan 31 21:13:54 fantasummy: I'm using text-shadow: #ffffff 0px 1px 0px; but now that I think about it, I can't really verify it works. I'm using it for the selected class for a button, the swap is too quick to see. I guess I could try making the shadow more obvious Jan 31 21:14:32 i saw the topic that it doesn't work in webos http://forums.precentral.net/web-os-development/224261-shadows-webos.html Jan 31 21:14:47 yeas..just saw that too Jan 31 21:15:02 I know box shadows do not work, so this very well might not either Jan 31 21:15:24 fantasummy: you can of course fake it with positioning hackery Jan 31 21:15:53 yes, maybe) Jan 31 21:15:56 thank you Jan 31 21:16:40 no prob....sorry for bad news :/ Jan 31 21:16:55 chuq has claimed major webkit improvements in near future Jan 31 21:17:23 they dropped a lot of the effect nicities and the canvas support is half-baked at the moment Jan 31 21:18:27 ok, i'll wait) thanks Jan 31 21:23:15 hi all Jan 31 21:23:25 hi Jan 31 21:30:56 hihi Jan 31 21:53:05 jfelectron: belated pong Jan 31 21:53:17 hello world Jan 31 21:53:41 hello haeffb Jan 31 21:53:43 haeffb: hey....well figured out my DB situation....tracking that stuff down is tricky with all the callbacks and what not Jan 31 21:54:29 okay. Been out playing bball, just got back and browsed thru what I missed. Jan 31 21:54:44 haeffb: turned out it wasn't actually a DB prob..but that I stupidly stored 'true' in a cookie rather than true Jan 31 21:54:55 'true' != true :) Jan 31 21:55:00 true Jan 31 21:55:15 fact! Jan 31 21:55:32 I had fixed my table, but the old one wasn't being dropped because of the 'true' Jan 31 21:58:22 hi haeffb! Jan 31 21:58:54 hey JenP Jan 31 22:54:14 so, thinking about submitting Myles to the app catalog. But then I start thinking about the support workload. And liability if someone should lose their years worth of mileage data in some mishap. And whatever else could go wrong. Jan 31 22:54:31 and I'm like, meh. Jan 31 22:54:52 So I need to form an LLC. But I'm like, meh. Jan 31 23:02:46 haeffb can't you put a disclaimer? Jan 31 23:02:56 but your's sends a report too right? Jan 31 23:03:00 indeed Jan 31 23:03:09 "if this breaks you get to keep all the bits" Jan 31 23:03:28 it's a really good app. I don't think you should hold it back. Jan 31 23:05:28 haeffb: you have a full export feature... Jan 31 23:05:49 idk why you're worried. You've probably given more export features then most others Jan 31 23:06:31 Who wants to volunteer to handle all the support emails? Jan 31 23:06:49 refer them to the forum? Jan 31 23:07:01 haeffb: just do the usual "this is a beta release, make sure you backup data regularly, the author take no responsibilty for any lost data" Jan 31 23:07:32 looked at the BSD license earlier on palm's github Jan 31 23:07:47 * swishy nods Jan 31 23:07:51 that would probably work. "No warranty for merchantability or fitness of purpose." Jan 31 23:07:55 indeed Jan 31 23:08:10 and as JenP says use forums/mail list for support Jan 31 23:08:31 that way you personally arnt obliged to take full responsibilty for support Jan 31 23:08:52 looking at http://www.sos.mo.gov/BusinessEntity/BusinessEntitiesOnline/help/mo/notice.aspx to register an LLC. Jan 31 23:14:44 haeffb; from experience a forum works really well. i worked on Air Sharing for the iPhone and more often than not other users would answer questions within a few minutes of someone posting. Jan 31 23:15:17 granted, i don't know what your app is, but its probably not as complicated as walking someone through connecting over webdav like we had to do constantly. Jan 31 23:19:34 haeffb: LLC aren't strictly limited liability in the same way being incorporated is...judges can choose to ignore the LL aspect Jan 31 23:20:49 haeffb: if you release under GPL or the like, there is no implied warrants Jan 31 23:20:54 warranty Jan 31 23:21:06 link to GPL...done Jan 31 23:21:13 still, anyone can sue anyone anytime. Jan 31 23:21:18 yes Jan 31 23:21:27 what does your app do that you're worried about that? Jan 31 23:21:28 * haeffb is now Tiger Country Software, LLC Jan 31 23:21:43 haeffb: id say the gpl would hold up in court as much as LLC Jan 31 23:22:09 or even bsd for that Jan 31 23:22:12 and with GPL you have EFF and FSF on your back Jan 31 23:22:29 LLC....uhhh just you Jan 31 23:22:42 and your 'lawyer' :) Jan 31 23:22:50 * haeffb needs to read more about the various licenses. Jan 31 23:22:55 GPL sounds like a winner. Jan 31 23:23:06 LLC also has tax advantages. Jan 31 23:23:28 over single proprietor? What are the advantages? Jan 31 23:24:09 LLC also has tax advantages. ? Jan 31 23:24:26 yeah...what are they? Jan 31 23:24:46 are you selling Otto Myles? Jan 31 23:24:56 don't know yet. Jan 31 23:25:00 ahh Jan 31 23:25:51 I was thinking about making Myles free and GPS-Myles a paid app. Jan 31 23:26:59 Myles...would be manual entry? Jan 31 23:27:03 good idea Jan 31 23:27:08 right Jan 31 23:27:16 call the second one Myles Davis Jan 31 23:27:23 heh Jan 31 23:27:27 cuz its smooth Jan 31 23:27:29 cause it's so cool Jan 31 23:27:34 that too Jan 31 23:30:28 wierd.....I'd expect that when you store a Hash as JSON and then do evalJSON you'd get backa hash...but you just get an object Jan 31 23:31:15 I realize a Hash is just JS object wrapped in methods....but still, I want the same thing back I put in ! Jan 31 23:32:40 jfelectron: your evaling the js object not the hash Jan 31 23:38:35 yeah Jan 31 23:41:14 haeffb: you still around? Jan 31 23:41:37 my webos xcode plugin is now working. w00t! http://drp.ly/jzp6X Jan 31 23:44:26 bsneed: nice Jan 31 23:44:44 repurposed my old mingw one i made. Jan 31 23:44:52 remote debugging coming up next. Jan 31 23:45:08 well, gui remote debugging anyway Jan 31 23:45:22 rhwitby; thanks! Jan 31 23:46:30 JenP: yes Jan 31 23:46:44 jfelectron: so I just wasted $50? Jan 31 23:47:03 i sent you a file and had a question Jan 31 23:47:07 haeffb: for a paid app? Jan 31 23:47:16 no, for LLC registration Jan 31 23:47:27 haeffb: oh.....same value Jan 31 23:47:37 I don't know...it sounds very PRO Jan 31 23:47:50 haeffb: maybe more folks will download it :) Jan 31 23:48:13 well, and then I don't have to have my actual name out there. Jan 31 23:48:26 Maybe cut down on the stalkers... :) Jan 31 23:48:55 wouldn't want them finding those exciting engineering reports Jan 31 23:50:02 Well, I had some dude on a sports message board threatening to call my wife, my employer, etc one time. Jan 31 23:50:08 Not a pleasant experience. Jan 31 23:50:24 haeffb: yeah...been there, on the receiving end that is...some trolls are crazy Jan 31 23:50:25 There are some weird people out there. Jan 31 23:58:25 I'm having a weird issue... there's a delay when updating the css of an overlay I'm using in my app. If I Mojo.Log what I think the class should be, it is correct, and after about 10 seconds, it visually changes to the correct class. Has anyone else experienced this? Jan 31 23:59:50 fiftycal: is it loading a new image file or are you just changing color/opacity or something? Feb 01 00:00:24 just changing from a class with "display:none" to no class. Feb 01 00:00:42 no class? Feb 01 00:01:09 are you using setStyle? Feb 01 00:01:17 or setAttribute? Feb 01 00:01:41 tried with setStyle, tried with style=, tried with setClass, tried with Class=, haven't tried setAttribute('class' Feb 01 00:02:36 when you remove the class what is it defaulting to? Feb 01 00:04:24 if I remove the class, then it should be visible, and it is. Then when I set the class, it should be hidde, but it isn't. If I Mojo.Log.info("what gives: " + theDiv.className, it correctly shows the className of "hidden" but it is still visible in the UI. Feb 01 00:04:41 hidden = .hidden {display:none;} Feb 01 00:11:38 fiftycal: what I do when I want to hide and unhid is to just change display: none to display: block Feb 01 00:11:42 and then reverse Feb 01 00:11:45 works for me Feb 01 00:11:58 yeah, tried that... but within the style... Feb 01 00:12:07 do you set 2 classes to do that Feb 01 00:12:33 nope I use setStyle({display: none}) etc. Feb 01 00:13:26 fiftycal: in my experience...class swaps are pretty slow Feb 01 00:13:47 ah ok. define slow.. like almost a second, or like 10 seconds? Feb 01 00:14:05 slow enough to not be usable...don't remember exactly Feb 01 00:14:11 untolerable Feb 01 00:14:49 show and hide should be nearly instant...unless something else is going on to occupy the processor, then rendering grinds to to halt in general Feb 01 00:16:07 ok thanks. very helpful. Will try. Feb 01 00:23:33 anybody know the admin password for my router? Me neither. Feb 01 00:23:45 lol Feb 01 00:26:39 haeffb: just start a library attack now...might be done next week :) Feb 01 00:27:08 anyone know the utf code for the registered symbol? Feb 01 00:29:11 ahhh here we go.... \u00AE Feb 01 00:30:39 do we have to use R to TM when we use WebOS in an application (like help etc.)? Feb 01 00:30:49 R or TM that is Feb 01 00:42:22 jfelectron: probably... they should have rules on the site somewhere... if not, just try to follow the rules they use on the website Feb 01 00:42:38 fiftycal: OK, thanks...will poke around Feb 01 00:57:59 is there a limit to the size of a property of a json object? Feb 01 01:00:20 maikL hmm...interesting question....no intrinsic limit that I know of...but of course the heap is limited Feb 01 01:00:43 maik: bad typing Feb 01 01:01:12 maik: is this in theory or are you experiencing an error? Feb 01 01:05:13 experiencing text coming from my json serializer coming up short Feb 01 01:16:20 wierd...maybe its barfing of something in the string?? Feb 01 01:16:26 or object rather Feb 01 01:16:32 could very well be, it is vb .net :) Feb 01 01:16:58 bahh....man you really have it rough IIS AND .Net Feb 01 01:17:04 :/ Feb 01 01:17:09 tell me about it Feb 01 01:17:10 maik - how long are you expecting it to be? Feb 01 01:17:42 well i was hoping it could be unlimited length so i didn't have to do any truncating Feb 01 01:18:31 heheheh. Feb 01 01:18:33 as it stands i need to strip html tags and unicode characters server-side as the data i'm dealing with is...special Feb 01 01:18:45 you only have 256meg of ram. There's no such thing as unlimited. maik Feb 01 01:18:53 heh Feb 01 01:19:02 this is just in the browser as i'm examining the json output Feb 01 01:19:35 it can't be that huge....unless you are transferring an entire DB as JSON or something Feb 01 01:19:45 sounds like just a response though.... Feb 01 01:19:57 html e-mail sized Feb 01 01:20:19 so you Feb 01 01:20:21 i threw in a left(string, 200) and got the expected data, anything bigger than that and it gets cut off Feb 01 01:20:36 so you're doing xml string to JSON ? Feb 01 01:20:48 maik when you say it gets cut off, how are you deteminging this? Feb 01 01:20:53 no, just a database string which may or may not contain html Feb 01 01:21:10 i have 4 records coming out of the server app in a 4 element json array Feb 01 01:21:47 how are you looking at what you're getting? Feb 01 01:22:21 if i let the longest of the properties be greater than 200 characters it barfs and the output stops in the middle of a partial element Feb 01 01:22:56 maik I have returned json with several thousand characters in a string Feb 01 01:24:00 looking at it in the browser Feb 01 01:24:07 that's why i'm thinking it's my serialize that's choking Feb 01 01:24:12 some stupid static limit Feb 01 01:24:19 maik -- how are you serializing it? Feb 01 01:24:45 .net's System.Runtime.Serialization Feb 01 01:24:55 and System.ServiceModel.Web Feb 01 01:25:44 oh .net Feb 01 01:25:50 ya :/ Feb 01 01:26:03 i can make due as i really don't need all of hte content i'm getting Feb 01 01:26:14 i was just trying to be lazy and hope these tools would suffice Feb 01 01:26:17 can you share the source URL of what you're trying to get data out of? Feb 01 01:26:25 nope, it's internal Feb 01 01:26:36 what should i be setting the contenttype to on the server? text/json ? Feb 01 01:26:47 yep Feb 01 01:29:36 maik - you are pulling json data INTO a .net app, right? it's FROM json INTO .net.... Feb 01 01:31:03 nope. web asp .net app queries mssql and creates a vb List object, the object is serialized, then is output Feb 01 01:31:26 ok, have you ever looked at http://json.codeplex.com/ ??? Feb 01 01:31:35 that's what we use for in or out of json in .net Feb 01 01:33:34 i haven't. read that there was a one included in .net and didn't give it a second thought Feb 01 01:33:58 built in is hard. that library makes it simple. Feb 01 01:34:16 the built in one has to freaking many options, it's a general purpose serializer, not json specific. Feb 01 01:34:25 I like my tools to be pointy. Feb 01 01:34:28 heh Feb 01 01:34:34 well maybe i'll give that a shot Feb 01 01:34:46 take a quick look, dead simple Feb 01 01:34:48 my biggest problem at the moment is making the text from the db suitable for my webos app Feb 01 01:35:26 nodnod Feb 01 01:55:16 anyone know: if this is a proper sql "truncate table WebOS" Feb 01 02:00:22 LoneStar99 assuming you have a table named webos, and that you want to truncate it, then yes. Feb 01 02:00:28 unless you mean drop table Feb 01 02:00:44 just want to empty the table Feb 01 02:00:56 then, yep that ought to work Feb 01 02:01:04 for some reason it does not seem work... Feb 01 02:01:22 prhaps user permissions Feb 01 02:02:40 thanks Feb 01 02:03:56 $query = "truncate table WebOS"; $result = mysql_query($query); does that look correct? Feb 01 02:04:47 yes, but I was just looking at the sqlite docs. Feb 01 02:05:12 looks like the fastest way to do it in sqlite is to use a delete with no where clause. Feb 01 02:05:38 delete from webos Feb 01 02:05:49 ok, cool good to know Feb 01 02:05:57 http://www.sqlite.org/lang_delete.html Feb 01 02:06:26 they say in mysql it is quicker to delete table and re create Feb 01 02:07:33 yeah but sqlite has an optimization built in for the delete without where. Feb 01 02:07:37 see the page I linked to Feb 01 02:08:15 ok thanks Feb 01 02:09:18 "" When the WHERE is omitted from a DELETE statement and the table being deleted has no triggers, SQLite uses an optimization to erase the entire table content without having to visit each row of the table individually. "" Feb 01 02:12:20 interesting Feb 01 02:31:32 good to keep in mind **** ENDING LOGGING AT Mon Feb 01 02:59:56 2010