**** BEGIN LOGGING AT Sat Oct 04 02:59:57 2008 Oct 04 03:16:34 erre Oct 04 04:45:23 oy Oct 04 05:17:06 *coding* :) Oct 04 05:19:29 jksdfds Oct 04 05:25:19 01:23:29 up 141 days, 58 min, 1 user, load average: 0.30, 0.27, 0.26 Oct 04 05:25:21 woot. Oct 04 05:27:23 22:25:55 up 111 days, 19:09, 4 users, load average: 0.07, 0.07, 0.02 Oct 04 05:29:17 22:27:46 up 298 days, 6:43, 1 user, load average: 0.06, 0.03, 0.00 Oct 04 05:29:18 base Oct 04 05:29:25 hmm. Oct 04 05:29:28 http://i33.tinypic.com/2hgqxkg.png Oct 04 05:29:30 oh and Oct 04 05:29:33 22:27:40 up 137 days, 11:37, 5 users, load average: 0.06, 0.06, 0.02 Oct 04 05:29:37 you got nothin' ;P Oct 04 05:29:48 these are all production servers btw. Oct 04 05:29:53 yeah, so is mine Oct 04 05:30:10 pft 137 days Oct 04 05:30:13 my load average is much higher than yours Oct 04 05:30:13 except, the 137 is actually my personal server at home. terabyte raid5 :) Oct 04 05:30:18 better resource usage. Oct 04 05:30:21 18:28:55 up 559 days, 5:49, 1 user, load average: 0.41, 0.33, 0.28 Oct 04 05:30:23 than any of your boxes Oct 04 05:30:27 wow im kind of proud of myself Oct 04 05:30:28 22:02:22 up 209 days, 1:05, 2 users, load average: 0.00, 0.04, 0.00 Oct 04 05:30:32 now, see, duey's I can respect Oct 04 05:30:33 never would have thought Oct 04 05:30:35 duey ftw Oct 04 05:30:36 his machine has been doing stuff. Oct 04 05:30:46 I see it as duey > kraln > * Oct 04 05:30:51 =p Oct 04 05:31:04 duey: what machine is that, and what os? Oct 04 05:31:04 it seriously needs a reboot Oct 04 05:31:10 but the uptime is to awesome Oct 04 05:31:13 its debian Oct 04 05:31:15 etch Oct 04 05:31:19 in a data center Oct 04 05:31:24 * yakischloba wonders what uptimes he could find on his network Oct 04 05:31:24 what does it do? Oct 04 05:31:30 its my personal box Oct 04 05:31:35 does email/web/stuff Oct 04 05:31:38 granted, but what does it do Oct 04 05:31:43 to give it that load Oct 04 05:31:45 or is it underpowered Oct 04 05:31:47 http://in.youtube.com/watch?v=HuwhTmM_QGQ&NR=1 Oct 04 05:31:53 Kraln: maybe my systems are just more efficient and need not waste so much time because of poor administration? :) Oct 04 05:31:58 Kraln, hosts a few websites Oct 04 05:32:03 friends etc Oct 04 05:32:09 I think some of them are quite popular Oct 04 05:32:55 jasta: uh, no? if your system load is consistently low, and you have 2+ machines, you're making poor use of your resources Oct 04 05:33:12 Kraln: it's called mission critical redundancy ;) Oct 04 05:33:22 yakischloba: no, not really Oct 04 05:33:23 does system load take into account I/o wait? Oct 04 05:33:28 duey: yes Oct 04 05:33:41 heh then Oct 04 05:33:45 it's a rough measure of how long things wait to get cpu time Oct 04 05:33:55 18:31:35 up 143 days, 3:21, 2 users, load average: 0.00, 0.00, 0.02 Oct 04 05:33:55 one main production machines @ work Oct 04 05:34:09 lol Oct 04 05:34:16 We have two commodore amiga's at our datacenter. If there was any correlation between age and uptime, I'd probably have a winner lol Oct 04 05:34:21 see, good production machines should not be over-utilized. Oct 04 05:34:22 18:32:50 up 3 days, 4:18, 1 user, load average: 0.40, 0.69, 0.66 Oct 04 05:34:22 db server Oct 04 05:34:33 (it just had software updates) Oct 04 05:34:35 there, that is a server doing its part. Oct 04 05:34:48 I see machines with load averages of like Oct 04 05:34:49 20 Oct 04 05:34:52 :| Oct 04 05:34:56 that's bad Oct 04 05:35:00 granted you can barely use a shell on them ;) Oct 04 05:35:06 I had a machine with 4 cores that'd get up to 20 Oct 04 05:35:07 yeah. thats our customers. Oct 04 05:35:09 if they got slammed Oct 04 05:35:18 btw, load averages are based on 1, 5, and 15 minute periods Oct 04 05:35:31 so, being 10:30pm on a Friday, it is not hard to see why my work servers haven't seen any action Oct 04 05:35:37 jasta: protip: load averages are an average cpu load Oct 04 05:35:38 yeah same here Oct 04 05:35:47 they are all fairly low, weekend Oct 04 05:36:31 Kraln: it's more complex than that, but its based on averages over relatively short periods of time Oct 04 05:36:46 any reasonable average for a production machine would be based on a monthly cycle, not the last 15 minutes Oct 04 05:36:46 it's not really even averages Oct 04 05:37:11 my average load average is about 1 Oct 04 05:37:15 http://i33.tinypic.com/2hgqxkg.png (see top graph) Oct 04 05:37:45 * jasta goes back to hacking Oct 04 05:39:50 hmm Oct 04 05:40:19 * umdk1d3 looks for small spinning wheel animation Oct 04 05:45:37 umdk1d3: progress bar? Oct 04 05:46:01 is there any generalization to do a wait for a monitor lock with a timeout not bothered by an interrupt? Oct 04 05:46:45 something to generalize the timeout -= (now - then) if (timeout <= 0) { timed out! } foo.wait(timeout);? Oct 04 05:47:04 look in java.util.concurrent Oct 04 05:47:08 there's everything you need Oct 04 05:47:50 hmm, i've looked before, but didn't find it? Oct 04 05:49:38 what i'm wanting to do is Object#wait up to some timeout, but such that the wait is resumable if interrupted before the timeout has been reached. Oct 04 05:50:03 its a simple like 5 or 6 line loop to do, but feels clumsy not to have been generalized somehow... Oct 04 05:51:33 if a wait is interrupted, there's probably a good reason Oct 04 05:51:53 yeah, probably, but if there wasn't, i still want my code to work as it was designed. Oct 04 05:52:04 that feels really weird to me to do this Oct 04 05:52:19 but it reminds me of the pattern for wait/join Oct 04 05:52:25 why? Oct 04 05:52:36 where you do use a loop with a condition to protect the wait from spurious wakeups Oct 04 05:52:53 right, which is what you should do Oct 04 05:53:14 well reading your code above it seems like you want to ensure you'll wait for a given period of time right? Oct 04 05:53:45 the basic logic is: Oct 04 05:54:11 while (somethingHappened == false) { somethingHappenedLock.wait(timeout); } Oct 04 05:54:29 actually, that doesn't express it well without all the other junk Oct 04 05:54:46 ok, so why the need to check for the timeout if wait was interrupted? Oct 04 05:54:52 ah ok I see Oct 04 05:54:55 what i'm doing is waiting up to 1s for an event to occur Oct 04 05:55:04 muthu_: perfect :) progressbar works i thought there was an animation or something Oct 04 05:55:06 if the wait is interrupted before 1s, and the event has not occurred, i want to *keep waiting8 Oct 04 05:55:23 which is what you do with the while (!somethinghappened) already Oct 04 05:55:28 in particular, if woken up 500ms in, i want to wait with a timeout of another 500ms. Oct 04 05:55:33 but you might wait for more than 1s Oct 04 05:55:46 romainguy_: except that if the event DOESNT occur after 1s, i want to abort and give up. Oct 04 05:56:34 yeah I got that Oct 04 05:56:56 the logic is really simple. you just take the current time, measure it after the wait and if the condition is false, and wait the remaining time Oct 04 05:57:10 er, yes, that's what you wrote above Oct 04 05:57:14 but it also makes a very simple expression of a timed wait into something much longer. Oct 04 05:57:26 and not very general Oct 04 05:57:53 not really sure how i'd generalize this... Oct 04 06:23:42 hmm i think i ran into this before, but is there a way of forcing an activity into touch mode instead of kbdmode? Oct 04 06:23:50 last time i think i didnt find a solution :/ Oct 04 06:24:13 umdk1d3: easy, don't Oct 04 06:24:49 well its going into the activity in keyboard mode, which is selecting my footerview by default Oct 04 06:25:04 when i refresh the adapter with the "page" of results, it keeps the original footer view selected Oct 04 06:25:10 which continues triggering ALL the next-pages :/ Oct 04 06:25:17 but in touch mode, it stays at the top of the list Oct 04 06:25:19 then set the selection to the position 0 Oct 04 06:25:25 but do NOT try to force touch mode Oct 04 06:25:28 just don't Oct 04 06:25:31 kk Oct 04 06:25:39 or I'll personally come kick your butt :) Oct 04 06:25:51 :P Oct 04 06:26:34 i should have this finished this weekend at some point and then ill gpl it and throw an apk out there Oct 04 06:26:42 your remote? Oct 04 06:26:45 or something different? Oct 04 06:26:45 yep Oct 04 06:26:49 have you talked to xav? Oct 04 06:26:54 he showed me an app he's working on Oct 04 06:26:59 using zeroconf in pure Java Oct 04 06:27:04 ooh nice :) Oct 04 06:27:05 thought you might be interested Oct 04 06:27:10 does it work over Wi-Fi? Oct 04 06:27:12 yea im borrowing the jmdns pure-java mdns package Oct 04 06:27:17 jasta: yea it kinda /has/ to use wifi Oct 04 06:27:19 that's what he's using Oct 04 06:27:49 umdk1d3: well, it doesn't have to. it could work over EDGE/3G. Oct 04 06:27:49 ive got it pairing with itunes over the air fine now :) there was somethign wierd in the hotel with my vmware bridge keeping it from working Oct 04 06:28:01 jasta: lol home stereo control over edge Oct 04 06:28:14 then youd have to tell them all about port fwding, etc Oct 04 06:28:19 well actually, yes. it wouldn't be that bad, actually Oct 04 06:28:24 hmm Oct 04 06:28:40 well it certainly wouldn't be a bad idea to support it at some point. remember, Wi-Fi is no guarantee on an Android phone. Oct 04 06:29:03 hm true Oct 04 06:29:07 not every application has to be easy for dolts to use either. something to keep in mind :) Oct 04 06:29:51 and an easy way to filter out those features is a simple "Oh by the way, check the README for other features." :) Oct 04 06:30:00 filter out those people, i mean. Oct 04 06:31:29 umdk1d3: in case you're interested, I added a new feature to Photostream Oct 04 06:31:39 it shows how an app can "enhance" web sites by responding to their URL Oct 04 06:32:04 hm so responding to their authority? Oct 04 06:32:07 yes Oct 04 06:32:10 i could overload google.com! Oct 04 06:32:10 =D Oct 04 06:32:11 muihaha Oct 04 06:32:16 in this case, you click a flickr.com/photos/ link and you get to choose between seeing it in the browser or in photostream Oct 04 06:32:25 sure, but you will get a dialog first :)) Oct 04 06:32:28 very nice, i was wondering if that was possible for end-users Oct 04 06:32:36 i know the maps.google.com thing is intercepted Oct 04 06:32:46 all apps are equal :) Oct 04 06:32:51 ^.^ Oct 04 06:38:13 hm Oct 04 06:38:29 so i have my footerview and im View.GONE'ing it, but it still takes up the space in the list Oct 04 06:38:58 might just do removeFooterView Oct 04 06:39:00 * umdk1d3 tries Oct 04 06:39:25 just set the selection to 0 when you get at least one item in the adapter? Oct 04 06:39:43 ah sorry Oct 04 06:39:45 misread Oct 04 06:39:50 yeah ListView doesn't care about GONE Oct 04 06:40:06 yea ive got that part working now, i just selection=0 on the first page of results thats returned Oct 04 06:41:32 yay removeFooter worked :) Oct 04 06:42:45 hmkay something ive been meaning to write for along time is something that loads http images from a separate thread and fills them in as they arrive (into a listview) Oct 04 06:43:09 currently ive written it as a pair (image->view) that gets thrown off to fetch the image Oct 04 06:43:33 then a handler takes an event back with the image->view pair and updates them Oct 04 06:43:42 umdk1d3: UserTask is your friend :) Oct 04 06:43:46 it's exactly what Photostream does Oct 04 06:44:07 but this causes an issue when we recycle views, as a recycled view will be filled with a stale image Oct 04 06:44:27 how so? Oct 04 06:44:46 * umdk1d3 peeks at usertask first Oct 04 06:44:59 so i pass off the imageurl->view to a separate fetching thread Oct 04 06:45:22 if the user scrolls past and that view happens to be recycled, the thread will shoot off the first image to the now-recycled view Oct 04 06:45:22 you should pass the position instead of the view Oct 04 06:45:40 and then do something list getChildAt(position - getFirstVisiblePosition()) Oct 04 06:45:43 to get the View Oct 04 06:46:07 oh and check to see if the incoming request is outside of view Oct 04 06:46:14 *outside of the visible scroll range Oct 04 06:46:17 exactly Oct 04 06:46:36 okay cool that should work Oct 04 06:47:49 Good morning guys. :-) Oct 04 06:53:31 oh usertask is AWESOME Oct 04 06:56:04 umdk1d3: told you :p Oct 04 06:57:07 why hasnt it been rolled into the framework yet?! :P Oct 04 06:57:19 I wrote it too late for 1.0 Oct 04 06:57:24 but it's on my list for 1.1 Oct 04 06:57:39 I just need to rename it, clean up the doc a bit and it should be good to go Oct 04 06:58:32 hmm Oct 04 06:59:03 ohbtw i couldnt get any of that caching stuff to work :/ Oct 04 06:59:08 webkit appears to be jealous Oct 04 06:59:17 *android.webkit.CacheManager that is Oct 04 06:59:36 just make your own cache :p Oct 04 06:59:51 well yea, i have that written already, but i dont think theres anyway it could use the /cache partition Oct 04 07:00:04 no you probably can't Oct 04 07:00:09 use /sdcard if available Oct 04 07:00:23 or use Context.getCacheDir() or something like that Oct 04 07:00:34 ooh! maybe we can write to cache then Oct 04 07:01:02 getCacheDir() returns a path to /data if I remember correctly Oct 04 07:01:04 but give it a try Oct 04 07:01:06 maybe I'm wrong Oct 04 07:01:42 oh ouch :/ Oct 04 07:02:26 at least the cache dir is managed by the system Oct 04 07:03:31 yea getCacheDir() is in /data Oct 04 07:03:42 unless its some sort of transparent symlink over to /cache Oct 04 07:03:48 I doubt it Oct 04 07:04:24 that doesnt make sense tho--we should avoid caching on /data, and yet getCache returns there :P Oct 04 07:05:08 another day.. another ubuntu problem Oct 04 07:05:17 scim refuses to work.. any ideas Oct 04 07:05:24 :( Oct 04 07:05:37 man, my hours are spend looking at linux Oct 04 07:05:53 install / update / remove / reinstall Oct 04 07:06:12 fedora / ubuntu / back to fedora / again ubuntu Oct 04 07:06:22 muthu_: thats kinda why i swtiched to gentoo Oct 04 07:06:35 i was always having apt repos get into broken states Oct 04 07:06:47 woah gentoo Oct 04 07:06:48 was a huge headache, esp because i liked to stay on cutting edge of stuff Oct 04 07:06:59 gentoo is debian based Oct 04 07:07:03 ? Oct 04 07:07:09 umm lol gentoo is gentoo based :P Oct 04 07:07:15 hehe Oct 04 07:07:23 umdk1d3: you can cache on /data with getCacheDir because the cache dir content is cleaned up by the system when storage runs low Oct 04 07:07:37 but probably not recommended? Oct 04 07:07:53 hmm Oct 04 07:07:58 taht I don't know Oct 04 07:07:59 ask Dianne Oct 04 07:08:03 im thinking ill just use getCacheDir() Oct 04 07:08:10 if it changes to use /cache in the future, perfect ;) Oct 04 07:08:19 I use the sdcard in my books app Oct 04 07:08:23 works fine :) Oct 04 07:09:33 for the image cache i wrote, it had a db and code to handle deleting old stuff, but i could just rely on getCacheDir() to handle all that Oct 04 07:10:17 db + sdcard is what the pictures app does Oct 04 07:15:06 http://clanbase.ggl.com/news.php?nid=299290 Oct 04 07:15:06 cool Oct 04 07:15:09 that was a nice game Oct 04 07:22:46 gah /me wishes java had tuples Oct 04 07:22:56 well Oct 04 07:22:59 it's not as good Oct 04 07:23:05 but you have varargs :) Oct 04 07:23:12 doesn't work for return values though Oct 04 07:23:26 exactly, im trying to pass the position+image as a Result ;) Oct 04 07:23:36 use an array Oct 04 07:23:41 or a custom class with 2 public fields Oct 04 07:23:42 Object[] true Oct 04 07:24:00 i was writing it as a new class with 2 fields, but object[] might be faster Oct 04 07:24:12 not necessarily Oct 04 07:24:18 it's less readable :( Oct 04 07:24:26 I don't think it's worth the speed different Oct 04 07:24:33 but in the end it's really up to you Oct 04 07:30:28 romainguy_: How much does using GPS drain the battery in the G1. Or differently how much differs the battery life of GPS off vs. GPS on in the G1. In the end is it possible to use apps that need GPS all the time. Oct 04 07:30:55 swetland could give you precise numbers Oct 04 07:31:06 but having the GPS on all the time drains the battery pretty quickly Oct 04 07:31:14 anno^da: i doubt the G1 is terribly different than other devices with GPS. GPS drains a lot. Oct 04 07:31:27 and I mean *quickly* :) Oct 04 07:31:30 Well yeah I thought so. :-) Oct 04 07:31:31 the 3G radio is also a massive drain on battery life Oct 04 07:31:44 3G is also really not that bad Oct 04 07:31:50 at least the G1 does very well Oct 04 07:32:27 i'm not sure i buy that...i've had quite a few devices with 3G radios and it's significant for sure. Oct 04 07:32:34 I'm just thinking about some apps for example Locale. They are partly based on GPS so how do they save battery life? Setting up profiles based on your location. Oct 04 07:33:05 They need your current location all the time. Oct 04 07:33:14 they could poll from time to time Oct 04 07:33:19 anno^da: well, Locale probably uses triangulation and periodic polling. Oct 04 07:33:24 Well ok. Oct 04 07:33:27 location based on the cell ID is probably enough Oct 04 07:33:27 google's "my location" is pretty cheap, actually. Oct 04 07:33:41 it's just triangulation with data the cellular radio has anyway Oct 04 07:34:04 the only piece that the radio can't tell you is the location of the towers, but since you aren't often moving between towers, it won't need to update that often either. Oct 04 07:34:18 Yeah thats true. Oct 04 07:34:44 google's "my location" almost certainly works by measuring the delay in communication between the cell towers that the phone is communicating with, then triangulating. Oct 04 07:34:50 okay Oct 04 07:34:52 How long does the G1 take to get a position? (cold starting GPS) Oct 04 07:34:52 so simple math on top of numbers that are always available to the radio Oct 04 07:34:53 so i had a genius moment Oct 04 07:35:05 with mickrobk the other day Oct 04 07:35:16 we freaking realized how google is doing some of their triangulation stuff Oct 04 07:35:25 anno^da: it varies Oct 04 07:35:37 all of their streetview vehicles were wardriving! :evilgrin: Oct 04 07:35:45 it TOTALLY make sense Oct 04 07:36:08 they would have an internal database of all the wifi networks to get better detail in certain areas =D Oct 04 07:36:14 umdk1d3: actually, they did it with devices that had both GPS and GSM radios and mapped out the cell tower locations. Oct 04 07:36:15 no need to lease it from someone else Oct 04 07:36:39 jasta: well gsm cellid has been around for awhile, and i think you might just license that from the cell providers Oct 04 07:36:46 yahoo has had an api for years iirc Oct 04 07:36:49 this is not new technology by any stretch. my friend worked with this at Intel research *years* ago. Oct 04 07:37:07 in fact, he had a functioning version of it on early Windows Mobile phones in the Seattle metro area. we used it all the time. Oct 04 07:37:34 umdk1d3: yeah, but you don't *have* to license it from them. Oct 04 07:37:55 besides, the licensing from the carriers is absurd. or, it used to be. you'd have to pay a fee *per* lookup. Oct 04 07:38:25 this is what inspired Intel research to start figuring out a way to subvert them. I mean really, this technology was functional in 2003. Oct 04 07:38:39 romainguy_: Hmm whats the average. What would you say. Oct 04 07:39:05 there were two big problems though: the cell radios were black boxed so you couldn't get this data on most phones, and the cell tower database was huge and hard to map. Oct 04 07:39:21 anno^da: I honestly don't know, I've seen fixes obtained with a delay of a few seconds up to a few minutes Oct 04 07:39:27 depends on the place :) Oct 04 07:39:30 the former i think is still true, but the latter is a problem google can solve with its army of interns Oct 04 07:39:40 lol army of interns Oct 04 07:39:44 ok thanks. :-) Oct 04 07:41:49 * jasta wonders if he was actually supposed to talk about the fact that Intel research was doing this Oct 04 07:42:03 i guess i never thought to ask if that information i got was through a breach of NDA :) Oct 04 08:19:08 O.O Oct 04 08:19:08 10-04 02:16:26.016: ERROR/AndroidRuntime(8570): java.util.concurrent.RejectedExecutionException Oct 04 08:21:05 hmm Oct 04 08:28:17 http://gizmodo.com/5058030/nokia-5800-xpressmusic-hands+on-with-nokias-first-s60-touch-phone <- has also some nice hardware specs. Oct 04 08:29:14 hmm Oct 04 08:29:39 i wonder if there is a good way to figure out if a getView() from an adapter is really "important" Oct 04 08:29:50 like if its going to be in the final landing spot of a fling Oct 04 08:30:11 I know it is Symbian but 3,5mm jack, 8GB card included etc. sounds pretty nice. Oct 04 08:30:11 so that i coudl skip loading images for "in-between" views Oct 04 08:32:11 umdk1d3: use the OnScrollListener for this Oct 04 08:32:19 aha Oct 04 08:32:20 I use this for this exact reason in my books app Oct 04 08:32:26 there's an API demo of it too Oct 04 08:32:31 that shows exactly this use case Oct 04 08:32:48 and should i be using WeakReferences to try creating an inmemory cache instead of reading from disk each time? Oct 04 08:33:05 trying to figure out Weak vs Soft Oct 04 08:33:22 no, soft references for a cache Oct 04 08:39:48 umdk1d3: sounds like youre working on something interesting over there :) Oct 04 08:50:02 holy CRAP!@!!! this thing is **FAST** Oct 04 08:50:06 thanks romainguy_ =D Oct 04 08:50:15 what is fast? Oct 04 08:50:27 im pulling album covers as part of the itunes search thingy Oct 04 08:50:34 ah :)) Oct 04 08:50:35 and with both disk+memory caching it sings ^.^ Oct 04 08:50:42 ^^ Oct 04 08:50:49 its unreal how fast its working Oct 04 08:55:31 LOL its faster than the ipod touch Oct 04 08:55:39 the touch looks choppy next to it :) Oct 04 08:57:13 umdk1d3: awesome :))) Oct 04 08:58:32 what are you comparing? Oct 04 08:58:33 lists? Oct 04 08:59:28 yea scrolling through lists that have album cover art in them Oct 04 08:59:33 nice Oct 04 08:59:34 both fetched from same itunes on the backend Oct 04 08:59:38 yay for ListView :p Oct 04 08:59:42 :) Oct 04 09:04:32 i'm really happy with what ListView lets us get away with Oct 04 09:04:41 like that SEARCH intent is so easy to provide knowing how efficient ListView is. Oct 04 09:05:00 just toss up a list with everything your app supports and use a filter query. Oct 04 09:05:27 very tidy for both user and dev Oct 04 09:07:05 at some point we even played with a ListView of WebViews for Gmail Oct 04 09:07:17 that was a bit too much though :) Oct 04 09:07:34 (the initial layout of a WebView is too expensive for nice scrolls in a ListView) Oct 04 09:07:47 of course itw asnt listviews fault :) Oct 04 09:08:00 not at that time Oct 04 09:08:07 you have no idea how much work went into ListView :p Oct 04 09:08:34 but when the initialization of a WebView takes several hundred milliseconds, it's hard to get a smooth scroll Oct 04 09:09:27 i can imagine, actually. i've attempted something like it a long time ago Oct 04 09:09:42 a fast, "windowed" list view...i failed, however :) Oct 04 09:09:44 list view is great Oct 04 09:09:56 muthu: still needs some work though Oct 04 09:10:12 the default scroll bar coulda been better Oct 04 09:10:23 well that has nothing to do with ListView :) Oct 04 09:10:26 i sort of like it being small and sexy, actually Oct 04 09:10:55 and i like the fade to show you that there are more items at the top/bottom Oct 04 09:11:05 a lot more built in layouts for listviews would be nice Oct 04 09:11:13 umdk1d3: do a screencast :-) Oct 04 09:11:15 the fade was fun to implement Oct 04 09:11:37 romainguy_: Are there any plans to allow adapters to invalidate at a more granular level? Oct 04 09:11:39 romainguy_: it's actually great because it's both visually rich and informative. Oct 04 09:11:40 and a nice headache to make it fast during a ListView fling Oct 04 09:11:56 jasta: my favorite feature about it is how it grows smoothly Oct 04 09:12:09 hmm? Oct 04 09:12:14 the invalidation is a bit buggy Oct 04 09:12:14 tomgibara: it's in a bug somewhere, but very low priority Oct 04 09:12:20 muthu: er, no Oct 04 09:12:27 hehe, romain will kill you Oct 04 09:12:31 haha Oct 04 09:12:31 jasta: go to the top of a list, then scroll slowly Oct 04 09:12:37 you will see the fade gradually grow Oct 04 09:12:42 it doesn't toggle Oct 04 09:13:11 romainguy_: understandable, it hasn't actually caused me any performance problems Oct 04 09:13:25 tomgibara: we'd rather make a full screen invalidation fast first Oct 04 09:13:39 and then add a fine grained invalidate :) Oct 04 09:13:57 the problem with the fine grained invalidate is when the adapter is backed by a database Oct 04 09:14:33 okay Oct 04 09:15:36 hey, noticed that the cursor adapter does not auto update the list view Oct 04 09:15:41 when the content changes Oct 04 09:15:51 do we have to request layout? Oct 04 09:16:08 you have to call notifyDatasetChanged Oct 04 09:16:16 why is it? Oct 04 09:16:19 and one of the constructors of CursorAdapter allows you to setup auto requeries Oct 04 09:16:28 hmm, ok Oct 04 09:16:29 muthu: to notify ListView that something has changed Oct 04 09:16:37 right, but thought that's the default Oct 04 09:17:04 this view/adapter/cursor thing is nice Oct 04 09:17:12 vac patter Oct 04 09:17:16 pattern Oct 04 09:18:08 avc rhymes more with mvc Oct 04 09:18:42 hmm with expandablelists, can we use getChildAt(int) where the int is a packed position? (packed positions are long though :/) Oct 04 09:19:06 yeah, the expandlist demo shows that Oct 04 09:19:12 there are methods to do the conversion between packed/unpacked positions Oct 04 09:20:35 $1.50 house on ebay Oct 04 09:20:55 right, but packed posititions are long, and getChildAt() takes an int, and there doesnt seem to be a nice getChildAt(group, child) Oct 04 09:21:06 that's what I just said Oct 04 09:21:08 aha getFlatListPosition Oct 04 09:21:09 use the conversion methods Oct 04 09:21:20 sry i need food Oct 04 09:21:25 that's a bummer Oct 04 09:21:35 you coulda added some comfort methods Oct 04 09:21:46 getchildpos() Oct 04 09:22:00 muthu: it looks like i can put something together tho Oct 04 09:22:08 oh yeah Oct 04 09:22:11 exp list is nice Oct 04 09:22:19 with getChildAt(getFlatListPosition(getPackedPositionForChild(group, child))) Oct 04 09:22:20 :P Oct 04 09:22:26 lol Oct 04 09:23:13 why the ui guys don't think about adding comfy methods.. no one knows Oct 04 09:23:28 what are you talking about? Oct 04 09:24:00 a convenience method to get a child item from a group Oct 04 09:24:09 but there are such methods... Oct 04 09:24:26 getChildAt(getFlatListPosition(getPackedPositionForChild(group, child))) Oct 04 09:25:03 getChildAt (group, child) Oct 04 09:26:22 shit, another day lost updating linux Oct 04 09:26:22 well we did not because usually you don't need to go grab the view this way Oct 04 09:26:39 the view is handed to you in click and selection listeners Oct 04 09:26:44 which is most of the time what you care about Oct 04 09:27:09 yeah, but you need the parent too Oct 04 09:27:41 how's the _id tied up to the view? Oct 04 09:27:56 what is _id? Oct 04 09:28:05 database id Oct 04 09:28:27 it depends on your adapter... Oct 04 09:28:30 does the cursors bind them to the rows? Oct 04 09:28:45 usually i requery from cursor Oct 04 09:28:59 but that's not right Oct 04 09:29:33 I don't understand what you're getting at :) Oct 04 09:29:45 yeah, me too :) Oct 04 09:29:51 just remembered reading some docs Oct 04 09:31:25 https://www.getdropbox.com/home Oct 04 09:31:30 nice Oct 04 09:31:51 pretty cool Oct 04 09:32:25 umdk1d3: how's gentoo? Oct 04 09:32:40 lol its awesome Oct 04 09:32:47 * Miek high-fives umdk1d3 Oct 04 09:32:52 :) Oct 04 09:32:52 hehe.. ok gonna try that Oct 04 09:33:03 muthu: beware, youll spend the next week learning it ;) Oct 04 09:33:06 but its worth it Oct 04 09:33:17 and btw dont use genkernel :P Oct 04 09:33:19 if it doesn't crash, fine with me Oct 04 09:33:28 he speaks the truth, genkernel sucks :( Oct 04 09:33:32 where's the distro? Oct 04 09:33:39 muthu: do you have multple boxes, so you can atleast web+irc? Oct 04 09:33:50 yeah Oct 04 09:33:53 google for gentoo minimal ;) Oct 04 09:34:01 i think there is a 2008.0 torrent out there Oct 04 09:34:01 ok.. minimal is what i want Oct 04 09:34:08 like 60mb iso :P Oct 04 09:34:12 wow Oct 04 09:34:12 boot the minimal cd, start ssh on it and install from another machine :) Oct 04 09:34:21 cool Oct 04 09:34:32 and get ready to spend a lot of time walkign through the docs ;) Oct 04 09:34:33 fedora and ubuntu screwed me over the last fortnight Oct 04 09:34:45 muthu: gentoo doesnt have ANY gui ;) Oct 04 09:34:52 WHAT? Oct 04 09:34:56 ubuntu screwed me over a few years ago, just before i switched to gentoo Oct 04 09:34:56 LOL!!! Oct 04 09:35:00 im serious tho Oct 04 09:35:16 Miek: kinda same here, got fed up with ubuntu+debian and breaking apt all the time Oct 04 09:35:19 hmm.. so you don't run any xserver? Oct 04 09:35:28 just not during the install Oct 04 09:35:28 muthu: oh sure you can install xorg Oct 04 09:35:33 ubuntu sucks bigtime Oct 04 09:35:50 muthu: you essentially get a root shell on that cd and do everything yourself to bring the box up Oct 04 09:35:55 there is no "setup wizard" Oct 04 09:36:05 great Oct 04 09:36:05 thats what i meant by no gui Oct 04 09:36:12 no GUI /o\ Oct 04 09:36:19 haha Oct 04 09:36:21 also, you really learn alot about how linux works under the hood in the process Oct 04 09:36:43 guess i'll do it after 22 ;) Oct 04 09:36:59 i'll give you a cookie if you get to the reboot step without forgetting anything Oct 04 09:37:09 i always forget something :( Oct 04 09:37:14 haha Oct 04 09:37:58 apt is the worst Oct 04 09:38:05 guaranteed to break Oct 04 09:38:05 muthu: do you have a dual/quad core? Oct 04 09:38:13 nope Oct 04 09:38:18 in gentoo the package manager compiles everything by hand Oct 04 09:38:29 and its pretty hard to get into a broken state Oct 04 09:38:39 what's the package manager? Oct 04 09:38:43 just make sure to liberally apply use flags before emerging stuff Oct 04 09:38:47 my first install was on a 333MHz amd k6 Oct 04 09:38:55 sucked. Oct 04 09:38:58 is it rpm? Oct 04 09:39:02 how many days did xfree take? :P Oct 04 09:39:13 it was a server, luckily :p Oct 04 09:39:15 muthu: there are no .deb or .rpms Oct 04 09:39:24 there's tarballs Oct 04 09:40:09 sounds good Oct 04 09:40:24 * romainguy_ has bad memories of gentoo :)) Oct 04 09:40:36 oh oh Oct 04 09:40:39 also muthu there are overlays that make it super easy to jump into subversion copies of projects Oct 04 09:40:40 well Oct 04 09:40:41 it was great Oct 04 09:40:48 just that the install was loooooong Oct 04 09:41:00 installing it on my core2 was lovely Oct 04 09:41:08 so fast! Oct 04 09:41:17 Miek: last time I installed it was on a 200 Mhz or something like that ;-)) Oct 04 09:41:28 i had the privlidge of installing gentoo on a nice 8-core xeon box the other day ^.^ Oct 04 09:41:30 ouch Oct 04 09:41:46 umdk1d3: I should try on this machine then :)) Oct 04 09:42:04 watcha got? Oct 04 09:42:26 8-cores Xeon MacPro Oct 04 09:42:29 with 8 GB of RAM Oct 04 09:42:33 LOL mac :P Oct 04 09:42:47 woah Oct 04 09:43:03 umdk1d3: what can I say, I like UIs :) Oct 04 09:43:14 actually i remember setting up gentoo some years back Oct 04 09:43:25 it ran like days Oct 04 09:43:32 then i pulled the plug Oct 04 09:43:32 muthu: yep thats gentoo ;) Oct 04 09:43:43 ha! Oct 04 09:43:51 i have a printed and bound copy of the handbook :> Oct 04 09:44:56 umdk1d3: that's a sweet machine, I have Photoshop and Lightroom always open ^^ Oct 04 09:50:50 ouch this parsing is slow :/ all 800 albums Oct 04 09:51:07 what are you parsing? Oct 04 09:51:19 all the albums in the itunes library Oct 04 09:51:23 in 50-album chunks Oct 04 09:51:33 you're parsing the library's XML? Oct 04 09:51:38 no way lol Oct 04 09:51:40 :)) Oct 04 09:51:43 their custom binary format Oct 04 09:51:47 that comes over http Oct 04 09:51:55 oh good :) Oct 04 09:52:02 ive got a nice abstract parser, but its horridly slow when working with large things Oct 04 09:52:11 did you profile it? Oct 04 09:52:17 creating a hashtable for the entire tree :/ Oct 04 09:52:30 no i havent yet Oct 04 09:52:35 could you use a SparseArray instead? Oct 04 09:53:55 well not really in this case--its more that im decoding an entire tree of the format: http://umdk1d3.mine.nu/dump/tree Oct 04 09:54:07 and im creating a hashmap for each branch Oct 04 09:54:18 its inefficient i know, but makes for fast coding Oct 04 09:54:27 because the tree comes across in all sorts of odd formats Oct 04 09:54:39 so its good general code, but in this case im creating tons of unneeded objects Oct 04 09:54:50 do you get a lot of GCs during parsing? Oct 04 09:55:13 tons :/ about 3 during every 50-albums Oct 04 09:55:24 how many objects are collected during each cycle? Oct 04 09:55:25 each one freeing about 10k objects Oct 04 09:55:30 ouch Oct 04 09:55:31 here you go Oct 04 09:55:45 that probably hurts you a lot Oct 04 09:55:46 im also treating all integers as BigInts :P Oct 04 09:55:53 lol Oct 04 09:55:58 yeah that doesn't help :p Oct 04 09:55:59 because some of them are, well, big Oct 04 09:56:11 eh ill just have to write a faster parser Oct 04 09:56:11 can't you just use a couple of longs instead? Oct 04 09:56:27 bigger than a long? what are the values? Oct 04 09:56:31 well to make it faster you can try removing as many allocation as you can Oct 04 09:56:41 given that a GC pause can easily be in the 200-300ms range... Oct 04 09:56:47 yea :/ Oct 04 09:57:12 jasta: apples guids are 16-bytes Oct 04 09:57:40 or wait, 8-bytes, but they need to be unsigned Oct 04 09:58:27 so why not just use a byte array? BigInteger is for a very different purpose Oct 04 09:58:55 well i do need to decode it at some point, and bigint takes care of all that math Oct 04 09:59:11 umdk1d3: why? Oct 04 09:59:49 or maybe i dont now--i think i can set the playlist using just strings /me checks Oct 04 10:00:01 ouch nope, need that guid to play an album Oct 04 10:00:14 umdk1d3: btw, java's longs are guaranteed to be 64 bit signed integers, so you almost certainly can fit your data in there. Oct 04 10:00:23 for the love of god don't use Strings to represent those guids Oct 04 10:00:27 use either a long or a byte array Oct 04 10:00:34 and certainly don't use BigInteger unless you are really doing _MATH_ on it. Oct 04 10:01:02 jasta: the key is /signed/ Oct 04 10:01:07 uhm, so what? Oct 04 10:01:41 i need them as unsigned strings at some point, and i was too lazy to look at the bit twiddling needed to get what i needed out of longs Oct 04 10:02:33 signedness is just a representation of a decimal number. the data can be represented in other ways if you know how it is encoded (you do). Oct 04 10:02:44 it's got nothing to do with some immutable property of the data Oct 04 10:02:49 besides, there isnt any native type bigger than long that could store the value while twiddling it Oct 04 10:03:28 * umdk1d3 goes to find food Oct 04 10:03:33 why are you "twiddling" with a unique id? what does twiddling mean? :) Oct 04 10:04:04 a unique id is for storage and lookup, you need only be able to represent and supply the same data you were given originally. for this, byte[] is probably most appropriate. Oct 04 10:04:55 okay jasta how do i get my nice unsigned string representation out of that byte[]? they already wrote the code in bigint, so im using that Oct 04 10:05:00 and id on't mean store the number as an encoded string, that is absurdly wasteful (with each character holding only 10 possible values when in the same storage space you could hold 256) Oct 04 10:05:38 jasta: the point is that itunes wants me to send back the guid as an unsigned string, even when it sent it to me in raw bytes Oct 04 10:05:46 meh Oct 04 10:06:14 the bottleneck isnt biginteger, its that im creating all these recursive hashtables Oct 04 10:06:28 yeah, stop allocating :)) Oct 04 10:06:30 i know that, but you still shouldnt be this silly :) Oct 04 10:07:30 also it appears that getFlatListPosition() will throw a nice exception if the group isnt expanded Oct 04 10:07:57 umdk1d3: do we have a isGroupExpanded() at least? Oct 04 10:08:27 yea its there ;) Oct 04 10:08:35 im just gonna catch the exception and ignore tho Oct 04 10:08:38 I think the problem comes from how it's implemented Oct 04 10:08:48 cuz the album art will only be requested when something is expanded anyway Oct 04 10:09:09 I mean, the reason why we throw an exception Oct 04 10:09:11 and it was happening where i expanded/collapsed quickly and the UserTask tried updating something that disappeared Oct 04 10:09:22 oh right Oct 04 10:09:33 I don't remember exactly how ExpandableListView works but it probably doesn't have the data it needs Oct 04 10:09:55 * umdk1d3 starving, goes shopping at 4am bbl Oct 04 10:10:18 umdk1d3: get me a beer! Oct 04 10:10:57 aww, we can't get beer that late here Oct 04 10:12:57 really? Oct 04 10:13:10 can't you buy it krogers? Oct 04 10:13:12 yeah, beer can't be served after 2, and liquor after 9 or 10pm Oct 04 10:13:27 india closes at 11 Oct 04 10:13:28 err, can't be *bought* Oct 04 10:13:31 nothing after 11 Oct 04 10:13:38 beer and liquor can be served up until 2am both Oct 04 10:13:54 hahahaa Oct 04 10:13:56 right, in SF there are places open till 4 Oct 04 10:14:23 here places are open 24/7 to buy beer Oct 04 10:14:36 tric: that's the place to be Oct 04 10:15:58 and some places serve beer 24/7 as well Oct 04 10:16:43 au? Oct 04 10:44:37 god, why does my project stop randomly building all the time Oct 04 10:45:04 stop? Oct 04 10:45:13 just lame ADT bugs i guess Oct 04 10:45:23 this time it now is claiming therse a problem with one of my services, even though it reports no build errors Oct 04 10:45:27 the manifest just says its bogus Oct 04 10:45:29 and i didnt even change it Oct 04 10:45:34 hmm Oct 04 10:46:43 PlaylistService does not extend android.app.Service is the error Oct 04 10:46:47 reported in the manifest Oct 04 10:47:31 rm -rf bin apparently does something more than Project -> Clean, because now it works Oct 04 10:48:13 yeah, periodic rm -rf bin will keep android happy Oct 04 10:48:33 ugh what the hell is this Oct 04 10:48:35 now the apk wont start Oct 04 10:48:43 unable to instantiate one of my activities now Oct 04 10:49:15 a compile error? Oct 04 10:49:17 hmm, yeah, some bugs I guess Oct 04 10:49:19 and now a Project -> Clean, and it works. Oct 04 10:49:25 woah Oct 04 10:49:38 so that was Clean, rm -rf, Clean to get it building :\ Oct 04 10:49:39 how do you guys cope with using CVS/svn/bzr for android projects? Oct 04 10:49:44 after not changing anything Oct 04 10:49:50 pjv: just like any other project? Oct 04 10:50:09 mostly the R.java is a pain in the *** because it is regenerated Oct 04 10:50:17 exclude R Oct 04 10:50:35 yeah, you dont commit anything autogenerated Oct 04 10:50:42 thats the golden version control rule. Oct 04 10:50:54 yeah Oct 04 10:51:24 will need to work on my bzr filters then Oct 04 13:39:32 hey guys Oct 04 13:39:54 anyone basically interested in becoming a moderator for anddev.org ? Oct 04 13:40:21 Well I would be intersted. Oct 04 13:40:27 interested Oct 04 13:40:29 :-) Oct 04 13:40:40 do you already have an account? Oct 04 13:40:49 For which parts of the forum ? Yeah we talked about my app last time. Oct 04 13:41:08 (in german :-) ) Oct 04 13:41:11 android_coding ? Oct 04 13:41:14 yeah Oct 04 13:41:19 great :) Oct 04 13:42:47 I'm just mixing my identities. :D Oct 04 13:42:48 give me a minute... Oct 04 13:42:57 Yeah sure. Oct 04 16:29:10 hows power management of android phone ? Oct 04 16:32:29 does anyone knows how power management is there on android ? Oct 04 16:40:12 hi, i am trying the helloword example from the google android site, i follow all the instruction but, on eclipse, when i try to run the helloworld, i have this error [2008-10-04 18:37:52 - HelloAndroid] Could not find HelloAndroid.apk! Oct 04 16:40:59 i am a beginner, and i don't know how to resolve Oct 04 17:23:54 there is no one here? Oct 04 17:57:32 ஓ போடு Oct 04 19:25:28 romainguy_: my linux-hating freind was talking smack about linux cuz the linux version of chrome wasnt released the same day the windows version was Oct 04 19:25:51 he said "you see... the wonderful thing about windows is you get what you want NOW"... those are almost his exact words Oct 04 19:26:13 tell him he should talk shit about google in that case Oct 04 19:26:32 benley: he would ask why Oct 04 19:26:36 lol Oct 04 19:26:48 should i bring up googlebuntu or whatever it's called? Oct 04 19:26:50 just point out how many new kernel versions you got between xp->vista ;) Oct 04 19:26:55 goobuntu? Oct 04 19:27:02 gOS? Oct 04 19:27:05 ah yes thats it Oct 04 19:27:14 gOS? Oct 04 19:27:18 goobuntu sucks. Oct 04 19:27:24 gOS has nothing to do with Google Oct 04 19:27:37 gOS is Good Operating System which is made to look like a mac and run like Ubuntu Oct 04 19:27:46 oh true, i thought they had a lot of google apps integrated Oct 04 19:27:52 they do Oct 04 19:28:08 thats why they have (had) a thing at the bottom indicateing they are not affiliated with Google Oct 04 19:28:10 Should I be expecting a python sdk soon ? :D Oct 04 19:28:20 and explain the XP->Vista thing? Oct 04 19:28:43 oh... how i get krnel updates and he doesnt? Oct 04 19:28:51 his kernel is infected with Spore lol Oct 04 19:43:43 i repeat my question Oct 04 19:43:59 hi, i am trying the helloword example from the google android site, i follow all the instruction but, on eclipse, when i try to run the helloworld, i have this error [2008-10-04 18:37:52 - HelloAndroid] Could not find HelloAndroid.apk! Oct 04 19:44:31 i read on google that this can be cause about the debug.store file Oct 04 19:44:41 but i don't know how to resolve Oct 04 19:45:09 i just started with android Oct 04 19:54:39 if anyone has news about a python SDK, plz let me know Oct 04 19:54:50 kim0, you could use Hecl Oct 04 19:55:19 that's a separate language ?! Oct 04 19:56:10 kim0: there's no python SDK Oct 04 19:56:26 kim0, yeah Oct 04 19:56:32 but there will be ? Oct 04 19:56:38 I don't know Oct 04 19:56:39 I'm sure I read that somewhere Oct 04 19:56:43 it's not on our roadmap for now Oct 04 19:56:58 romainguy_: r u working on the android team Oct 04 19:57:01 I am Oct 04 19:57:15 oh .. that means it's not really gonna happen :( Oct 04 19:57:21 I didn't say that Oct 04 19:57:29 I said it's not on our planning for now Oct 04 19:57:35 there are tons of more important things to do first Oct 04 19:57:39 (unfortunately) Oct 04 19:57:45 pff :D Oct 04 19:57:55 is that roadmap public ? Oct 04 19:58:05 one of the biggest issues with supporting Python for instance is that all the applications API are in Java Oct 04 19:58:18 it's certainly possible to interop but it's not trivial Oct 04 19:58:22 and probably not efficient :) Oct 04 19:58:25 jython ? Oct 04 19:58:32 you'd likely just have to use a bridge. Oct 04 19:58:41 hence the not efficient part Oct 04 19:59:07 I'm just not a java dev .. and wanted to create some smallish apps Oct 04 19:59:12 python suits me fine Oct 04 19:59:13 just learn Java Oct 04 19:59:18 programming languages are just tools Oct 04 19:59:23 agreed, especially when every mhz counts. Oct 04 19:59:25 there's no reason no to learn them :) Oct 04 19:59:26 i'm learning java Oct 04 19:59:27 Java is a bit huge :D Oct 04 19:59:30 no they aren't... they're toolsheds Oct 04 19:59:39 kim0: the language is very simple Oct 04 19:59:54 romainguy_, you're looking at it from the point of view of someone who spends all his days hacking:-) Oct 04 20:00:02 for many people, they just want to learn one and use it to do a few things Oct 04 20:00:17 davidw: which is why python is so attractive to that user group. Oct 04 20:00:20 frankly, even most of us who spend our days hacking don't use more than 2 or 3 at a time Oct 04 20:00:26 davidw: that's why you created yet another language? :)) Oct 04 20:00:30 davidw: I agree Oct 04 20:00:41 why can't python be compiled to dalvick bytecode Oct 04 20:00:46 romainguy_, most existing languages wouldn't work where Hecl does Oct 04 20:00:47 and run natively Oct 04 20:00:55 kim0, now you have a weekend project;-) Oct 04 20:00:56 but if I need/want to write apps for a new environment, I just learn whatever tool I have to learn Oct 04 20:01:03 hehe maybe Oct 04 20:01:08 kim0: that doesn't solve the problem of accessing the APIs Oct 04 20:02:36 any efforts to get android running on x86 ? Oct 04 20:03:18 not without source code? Oct 04 20:03:52 wonder why google isn't releasing the rest Oct 04 20:04:06 the source code will be released when the phones are available Oct 04 20:04:48 btw ... I don't find the hardware of the G1 particularly sexy .. but I wanna get an android phone soon .. any other expected models soon ? Oct 04 20:04:50 yay! Oct 04 20:05:02 kim0: G1 is the only phone that has been announced at the moment Oct 04 20:05:11 that much I know :) Oct 04 20:05:58 I'd just hate it to buy one .. and a month later an iphonish model comes out Oct 04 20:06:11 the last guy who he told anything interesting to got disappeared by men jumping out of the G-copter Oct 04 20:06:22 lol Oct 04 20:06:32 that's funny Oct 04 20:06:40 i'm beginning to think that in order to maximize ROI that they wont release a new phone either late Q2 2009 or VERY soon after the G1 launch Oct 04 20:06:46 kim0: honestly, G1 might not be the best looking phone out there, but it's definitely really nice to use every day Oct 04 20:06:48 abducted by Galiens Oct 04 20:07:03 I don't care anymore about its looks, it's just really cool to use ;) Oct 04 20:07:10 * davidw would love to know what the internal politics are like regarding gphones vs iphones Oct 04 20:07:25 that's easy, gphones don't exist :) Oct 04 20:08:03 romainguy_: once G1 is out, and all the code is out, can I expect to run androidy on x86 easily ? Oct 04 20:08:04 kim0: the only current model out on the market that comes close to the Iphone is the HTC Touch HD. Oct 04 20:08:04 let gphones == phones that run android Oct 04 20:08:31 kim0: not easily :) Oct 04 20:08:36 unix_infidel: yeah .. why can't I flash that Oct 04 20:09:08 unix_infidel: it's probably very similar hardware to the G1 not ? Oct 04 20:11:40 well the HD, has the same CPU, but it's a quadband device, and it has a larger capacitive screen, 2 cameras, etc. Oct 04 20:12:14 If I was a gambling man... Oct 04 20:12:41 if I were* ;) Oct 04 20:14:23 I think the logic being lets get a community of developers behind a pragmatic device, and then we can push out with a more broad base consumer oriented device. Oct 04 20:16:03 that's not how marketting really works Oct 04 20:17:16 well you could do it the iPhone 3G way. But Google / %DeviceManuf% aren't Apple. Oct 04 20:18:29 kim0, anyway, if you want to play around with a simply language, Hecl runs on Android, although it is still fairly alphaish there Oct 04 20:18:38 s/simply/simple Oct 04 20:20:18 i.e. you'd need to be patient, ask questions on the mailing list, and work with me to fix any bugs that pop up:-) Oct 04 20:21:02 romainguy_, I think one option that you guys ought to consider is to find a way to make the javascript interpreter on the phone do double duty Oct 04 20:21:15 people would probably be happy enough with that Oct 04 20:22:39 davidw: I definitely agree with that Oct 04 20:22:57 interesting. Oct 04 20:23:02 having a simple way to call through to the javascript engine would be an excellent way to add scripting to applications Oct 04 20:23:28 and the engine in Webkit is already a separate module AFAIK Oct 04 20:24:00 I'm not sure it's a safe assumption that the android javascript interpreter is the same as the one in safari Oct 04 20:25:00 benley: I'm not assuming that, what I'm saying is that at at an architectural level, the interpreter is a separate 'pluggable' entity within webkit Oct 04 20:25:32 as such one could expect it to be separately invokable Oct 04 20:36:46 javascript can already call to Java Oct 04 20:36:53 there's a video about it on youtube Oct 04 20:40:48 romainguy_: What I would like is Java calling javascript without the cost of a WebView tagging along Oct 04 22:28:10 so in eclipse, you can't press F3 on android classes like TextView to see the source code? you just get class file for android classes ? Oct 04 22:30:15 fhobia: right, because the android framework source hasnt been released yet Oct 04 22:31:15 ah, i see, umdk1d3 Oct 04 23:05:31 freaking power went out :) Oct 04 23:06:27 :( Oct 04 23:06:29 in your city? Oct 04 23:06:29 no ups? Oct 04 23:06:41 * umdk1d3 pats apc backup Oct 04 23:07:17 hmm so i have this footerView on a listview, and im trying to figure out a good way to make it not selectable Oct 04 23:07:26 ohwait lol Oct 04 23:07:39 there is public void addFooterView(View v, Object data, boolean isSelectable) Oct 05 01:13:13 question Oct 05 01:13:20 does Picasa run in a WINE wrapper? Oct 05 01:41:54 meoblast001: on Linux? Oct 05 01:42:05 yes Oct 05 01:50:02 meoblast001: I believe it is Oct 05 01:51:25 loke_: strange Oct 05 01:51:33 meoblast001: why? Oct 05 01:51:44 idk Oct 05 01:51:54 it tried to index every image on my hard disk Oct 05 01:51:57 I mean why is it strange Oct 05 01:52:25 what does that have to do with it using the Wine libs? Oct 05 01:52:49 idk Oct 05 01:52:59 things usually work better when they are ran natively Oct 05 01:53:04 of course Oct 05 01:53:18 picassa not crappy enough for you? :-) Oct 05 01:54:06 watch out.. there are google employees around here Oct 05 01:54:33 ? Oct 05 01:54:43 dont talk smack about google products Oct 05 01:55:29 you can say whatever you want :) Oct 05 01:55:57 I feel the need to make several things clear: 1) If somehting is crap, I say it outright, especially if the responsible is listening. 2) I never used picasa, so I wuldn't know if it's crap. 3) I was referring to you being surprised it was Winelib, and thus you must have expected the program to suck more than it does Oct 05 02:02:44 i think Image-Line needs to put FL Studio in a WINE wrapper Oct 05 02:02:49 google can do no wrong Oct 05 02:02:59 but they wont... they want to work on adding more features and bug fixes to the Windows version Oct 05 02:03:13 google supports linux so i have no complaints Oct 05 02:03:54 google products don't have bugs, the world is incorrectly configured to accomodate the google code Oct 05 02:04:36 lol Oct 05 02:40:26 http://www.thenetw0rk.com/features/microshaft.shtml Oct 05 02:57:26 and done Oct 05 02:57:30 I switched to T-Mobile Oct 05 02:57:36 3G works really well in San Francisco Oct 05 02:58:00 tmob eh Oct 05 02:58:07 i used to live in sf Oct 05 02:58:17 yeah, definitely surrendered my iPhone's AT&T plan :) Oct 05 02:59:21 romainguy_: bit the 200 dollar fee? Oct 05 02:59:31 it's worth it **** ENDING LOGGING AT Sun Oct 05 02:59:57 2008