**** BEGIN LOGGING AT Tue Jun 10 02:59:56 2008 Jun 10 05:06:44 where are the bouncy castle classes in android Jun 10 05:14:37 any developers extremely familiar with the android sdk PM me Jun 10 05:14:55 im looking for developers for a rather simple but large scale project Jun 10 05:15:35 Why not just tell people what you're wanting here? Jun 10 05:15:56 without going into specifics Jun 10 05:16:02 Seeing that android isn't released, and that this is probably a dev channel, that would seem like the best course of action. Jun 10 05:16:33 gps would be a main aspect of the application Jun 10 05:17:04 i can't go into specifics right now Jun 10 05:17:16 The current public elease of the android sdk doesn't have the gps api implemented. Jun 10 06:33:12 markf: ping Jun 10 07:32:33 hmm Jun 10 07:32:43 just wondering Jun 10 07:33:07 with this Dalvik VM, does android basically need apps to be made specially for it? Jun 10 07:33:25 unlike openmoko where its a standard X server and most things *should* work with a recompile (hardware permitting) Jun 10 07:33:58 jscinoz: yes, it requires apps specifically compiled to the bytecode. Jun 10 07:34:07 >_< Jun 10 07:34:12 provided tools translate java bytecote to it Jun 10 07:34:19 hmm Jun 10 07:34:27 given the platform, though, it would be possible to add support for other languages later Jun 10 07:34:30 not now, since source is unavailable Jun 10 07:34:39 i'm gonna get me a htc touch pro when it comes out and put either android or openmoko on it Jun 10 07:34:55 why do you think you will be able to put either on it? do you know that it is fully supported under linux? Jun 10 07:34:59 I realise Jun 10 07:35:27 i don't mind so much about things not working I use an n95 as my main phone it'll probably just be for testing Jun 10 07:35:35 Does anyone know how to port a J2ME app to the Android platform ? Jun 10 07:35:43 what if nothing works? like the touch screen? Jun 10 07:35:48 and there's a linux distro for HTC phones already existing called xanadux so it cant be too hard to get openmoko working Jun 10 07:35:53 alex133: yes, by porting a J2ME app to the android platform. Jun 10 07:36:08 jasta I'll figure something out, I've fair experience in driver development Jun 10 07:36:14 jscinoz: You should research this furtehr. You are confusing a distro with drivers. Jun 10 07:36:14 hehe thx, I meant not to have to change any line of code Jun 10 07:36:24 like an emulator or something Jun 10 07:36:25 alex133: that's not porting. Jun 10 07:36:40 jasta, Agreed, its purely hypothetical at the moment, since neither the hardware nor software is out right now :P Jun 10 07:36:45 whats the real definition of porting then ? Jun 10 07:37:29 alex133, recoding something so its native to a platform Jun 10 07:37:43 ie what icculous did with quake 3 Jun 10 07:37:53 or however the hell he spells that tag Jun 10 07:38:01 allright so it means rewriting some of the application (at least the user interface) right ? Jun 10 07:38:12 most likely Jun 10 07:38:15 bed time Jun 10 07:38:21 night folks Jun 10 07:38:23 night jasta Jun 10 07:39:02 k, so lets say I dont wanna port but just emulate a J2ME app on Android, how would u guys do ? Jun 10 07:39:24 cuz my boss is asking to port a J2ME app on Android but I have to keep the same interfq Jun 10 07:39:29 Not sure, i've never really played around much with android yet Jun 10 07:39:34 the same interfaces that the J2ME app, its so twisted Jun 10 07:39:43 there could be something useful in the SDK documentation Jun 10 07:39:46 not sure though Jun 10 07:40:27 sorry i couldn't be of more help Jun 10 07:40:52 its okay thank you ! Jun 10 07:40:58 :) Jun 10 07:41:22 by any chance do u know any company that does porting for a business ? Jun 10 07:42:02 unfortunately no :( Jun 10 07:42:55 alex133: if the interface is trivial, just fork the code and reimplement it on Android. Jun 10 07:43:05 you don't want to copy the interface semantics exactly anyway, since J2ME is crippled. Jun 10 07:43:34 i didn't fork as in copy it. rather, just branch off those parts of the code. Jun 10 07:44:48 ok, night for real now Jun 10 07:45:31 ok thx fot the advice, thats what I told to my boss.... Jun 10 08:39:47 any j2me developer here ? Jun 10 09:38:59 what is the status of debugging on android...can eclipse be used for breakpoints etc Jun 10 09:39:22 <--- newbie eclipse/android person Jun 10 09:45:34 amazing that the first program ive written seems to have killed everything Jun 10 12:27:05 I get the error "the import android cannot be resolved" when trying to create a android project (or rather, when trying to run it) Jun 10 12:47:48 Good Morning Jun 10 12:53:58 Dvyjones: did you configure the sdk in the prefernces? Jun 10 16:22:13 yawn Jun 10 16:22:25 big yawn Jun 10 16:22:37 >< Jun 10 16:22:51 0_o Jun 10 16:23:55 jasta: any major iphone news? Jun 10 16:24:04 why wouldi have iphone news? Jun 10 16:24:20 you are the mobile guru! Jun 10 16:24:33 i am? Jun 10 16:24:36 haha Jun 10 16:24:41 i thought so Jun 10 16:25:21 i dont know anything about the iphone, so... Jun 10 16:25:29 iphone sucks! Jun 10 16:25:33 there's this wwdc going on Jun 10 16:25:44 SJ might have pulled some stunts Jun 10 16:25:57 apple sucks Jun 10 16:25:57 right now i'm trying to figure out a way to debug the code i wrote over the past couple of days without actually owning the phone :) Jun 10 16:26:02 i might just have to buy one. Jun 10 16:26:13 well, my friend was on stage at WWDC, that was neat. Jun 10 16:26:53 jasta: who? Jun 10 16:27:17 jasta has high profile friends in google and apple ;) Jun 10 16:27:25 James Howard, demoing Loopt Jun 10 16:27:49 why do we care about apple again? have they done something special? Jun 10 16:28:01 oh yeah, loopt Jun 10 16:28:18 michaelnovakjr__: that's what i'm trying to figure out Jun 10 16:28:26 i personally don't care what apple does. Jun 10 16:28:36 they annoy me now Jun 10 16:28:47 good they are feeling the heat Jun 10 16:29:08 from android, and now are adding some much needed functionalities like GPS Jun 10 16:29:31 i dont think its android specifically Jun 10 16:29:45 what else? Jun 10 16:29:47 gps is in blackberries and they have devices already :) Jun 10 16:29:55 and that is what apple is after Jun 10 16:30:04 i really don't think they care about android Jun 10 16:30:11 they want enterprise Jun 10 16:30:17 and that is blackberry Jun 10 16:30:29 they would want consumers too Jun 10 16:30:36 consumers are easy Jun 10 16:30:42 flashy gets you that Jun 10 16:30:47 enterprise is a different beast Jun 10 16:30:57 android would be perfect for enterprise Jun 10 16:31:10 in what sense? Jun 10 16:31:18 gmail + gdocs Jun 10 16:31:29 ::outlook:: Jun 10 16:31:34 ::exchange server:: Jun 10 16:32:11 i am not disagreeing Jun 10 16:32:34 just providing some not some high up in the cloud responses to the android platform Jun 10 16:32:35 once the activesync protocol is documented, i will personally look into implementing it on android. Jun 10 16:33:14 zimbra is where it is at Jun 10 16:33:33 zimbra on android would be killer for enterprise Jun 10 16:33:35 so no major feature steve jobs announced? Jun 10 16:34:02 dude.... 3G iPhone?? Jun 10 16:34:54 so that's it? Jun 10 16:35:02 that is a big deal Jun 10 16:35:23 whatever snow leopard is Jun 10 16:35:33 This is worth paying attention to: Jun 10 16:35:34 http://www.macnn.com/articles/08/06/09/iphone.push.notification/ Jun 10 16:35:54 that is a bullshit workaround Jun 10 16:36:14 Not sure if it is a good idea but they are not standing still. Jun 10 16:36:21 Could be. Jun 10 16:36:24 Not sure yet. Jun 10 16:36:35 sj is bullshitting on this one Jun 10 16:36:45 How so? Jun 10 16:36:59 forstall actually presented Jun 10 16:37:11 that's one way of covering up why iphone don't do background services so far Jun 10 16:37:30 apparently they don't have a kernel worth using if it can't handle cpu cycles and battery life Jun 10 16:37:57 how's the application maintaining internet connection? Jun 10 16:38:05 magic pixie dusty Jun 10 16:38:08 dust* Jun 10 16:38:45 hey jasta Jun 10 16:38:49 " technology will be seeded to developers in July" Jun 10 16:39:09 from the article. Jun 10 16:39:14 i used to be an apple developer member, realized what a waste it was Jun 10 16:40:15 I much prefer the open source Android to the iPhone. Jun 10 16:40:40 just as i prefer linux to mac os x Jun 10 16:40:59 However the iPhone is not a joke and worth watching for a number of reason. Jun 10 16:41:20 linux is better than OSX in some respects. Jun 10 16:41:41 apple === microsoft Jun 10 16:42:10 DRM iTunes must die!! Jun 10 16:43:00 I think you are preaching to the choir. Jun 10 16:43:06 :) Jun 10 16:43:28 Fights can be had on Apple lists. Jun 10 16:43:44 anyone other than jasta running android on an htc phone? Jun 10 16:44:31 i will if someone mails me an HTC phone :) Jun 10 16:44:37 anyone have a good solution to pushing to Android. I could sure use a solution. I thought xmpp would do it for me. Jun 10 16:45:35 Apparently xmpp has been dropped from Android. Jun 10 16:47:27 I get the error "the import android cannot be resolved" when trying to run an android project Jun 10 16:48:32 Anyone here that has run android on HTC P3470 / Pharos (same chipset as Touch / Elf I think)? Jun 10 16:48:43 dmoffett: gtalk is how. Jun 10 16:49:07 I thought gtalk was xmpp? Jun 10 16:50:08 What are the implications of having a gtalk connection always on? Jun 10 16:50:31 battery power? Jun 10 16:50:46 unknown. perhaps not much if they implement it with particular care for the mobile data network. Jun 10 16:50:51 Trying to avoid polling since that would seem evil. Jun 10 16:51:11 google is clearly setting GTalk up to be used for signaling and device-to-device communication. Jun 10 16:51:38 unfortunately, they haven't revealed this strategy officially, and i don't think it's even workable until they do. Jun 10 16:52:05 Could Google build it or would it be up the carriers? Jun 10 16:52:19 google would and has built this. Jun 10 16:53:01 if you tinker in the dev settings, you will find that XMPP configuration is global, and can be toggled to connect at boot. Jun 10 16:53:23 Cool, another item I guess will come in time. Jun 10 16:53:28 but what they mean by xmpp is GTalk, which they have said will later be a compact, efficient binary protocol particular to android devices. Jun 10 16:53:56 (probably just a compacted XML document) Jun 10 16:54:12 jasta: any luck with that terminal apk? Jun 10 16:54:24 i setup the HTC with android Jun 10 16:54:38 AttractiveApe: no, i haven't been working in that area yet. Jun 10 16:54:44 i'm working on getting USB up instead. Jun 10 16:55:06 USB would be the most useful thing to make work, as i could conceivably run adb shell. Jun 10 16:55:07 any reason windows mobile is the bootloader? Jun 10 16:55:24 michaelnovakjr__: because it's shipped as a windows mobile phone? Jun 10 16:55:59 jasta: okay, cool :) Jun 10 16:56:08 obviously... but windows mobile sucks battery life! Jun 10 17:01:30 Is it normal that the first run on the emulator is really slow? Jun 10 17:01:52 ? Jun 10 17:02:02 the red bar bounces forth and back Jun 10 17:02:08 yes it's normal Jun 10 17:02:13 k Jun 10 17:03:55 AttractiveApe: but it's being a bitch. the kernel won't even boot with USB enabled :) Jun 10 17:04:08 i am trying to get a better dev env set up to debug this stuff Jun 10 17:04:12 setting up haretconsole and stuff Jun 10 17:13:02 Good Afternoon Jun 10 17:38:46 Good afternoon Dougie187 Jun 10 17:41:37 * borism is on android n810 now, thanks to http://www.alextreme.org/drupal//?q=android_on_n810 Jun 10 17:42:04 now what? where do I get those wonderful apps? Jun 10 17:45:27 you mean all the wonderful apps that nobody released source code or binaries for? Jun 10 17:45:36 :) Jun 10 17:45:58 you can build mine if you'd like: http://five.googlecode.com Jun 10 17:46:28 borism: if you're curious, the HTC Vogue can also run Android currently and has a working telephony layer up too Jun 10 17:46:42 i'm working on adding USB support, though i didn't do any of the original work Jun 10 17:46:44 just building from that Jun 10 17:46:54 with USB, i could meaningfully debug apps and explore the phone Jun 10 17:54:51 heh, Innsbruck is soccer-crazy Jun 10 17:55:01 this userspace I've got isn't of much use besides browsing the web Jun 10 17:55:08 hey Jun 10 17:55:41 google should provide prebuilt images for few devices that are more or less supported now Jun 10 17:55:42 if i want to use eclipse for android, which should i download? Jun 10 17:55:53 what are your choices? Jun 10 17:56:00 http://www.eclipse.org/downloads/ Jun 10 17:56:08 java, java ee, c/c++, classic Jun 10 17:56:09 on windows? Jun 10 17:56:12 yeah Jun 10 17:56:36 i think you just need java Jun 10 17:56:42 any will do, you'll just have to download extensions Jun 10 17:56:56 well can the java version do c++ and vice versa? Jun 10 17:57:03 yeah Jun 10 17:57:05 they are all plugins Jun 10 17:57:09 squeakypants: Only Java development is supported officially on Android. Jun 10 17:57:10 borism: yeah, i also plan on using python with it :) Jun 10 17:57:18 you will have to install the c++ into eclipse Jun 10 17:57:18 jasta: yeah.. i've read :( Jun 10 17:57:29 mmk, i'll get the java version then Jun 10 17:57:30 thx Jun 10 17:59:23 heh, so why did they choose to use dalvik? Jun 10 18:03:16 squeakypants: a number of reasons. performance and licensing mostly. Jun 10 18:12:05 jasta: why not allow c++ though? Jun 10 18:12:32 squeakypants: not as portable Jun 10 18:12:50 what do you mean? Jun 10 18:13:15 some phones might be arm, some intel, etc etc Jun 10 18:13:29 ah Jun 10 18:13:29 one apk needs to work on every android phone Jun 10 18:13:38 gotcha Jun 10 18:14:09 that's the problem with javame...different versions for different phones Jun 10 18:14:22 mmm Jun 10 18:14:29 i haven't done much with java Jun 10 18:14:41 * squeakypants is a python guy Jun 10 18:15:44 there will probably be python bindings one day Jun 10 18:15:50 if you make them :) Jun 10 18:15:54 well i looked into a bit Jun 10 18:16:12 jython doesn't work on dalvik... Jun 10 18:16:14 or you could just use Java :)) Jun 10 18:16:19 Java is just a language Jun 10 18:16:29 yeah Jun 10 18:16:36 but python is so.... pythonic! Jun 10 18:16:43 but it's also just a language Jun 10 18:16:51 yeah Jun 10 18:17:23 i actually quite like both python and java in different situations lol Jun 10 18:17:43 Once you have been spoiled by Ruby or Python C based languages leave a bit to be desired. :-) Jun 10 18:18:00 I disagree Jun 10 18:18:05 c was my first language, i'll always love it deep down hehe Jun 10 18:18:08 Python has its annoyances too :) Jun 10 18:18:15 Which is your right. Jun 10 18:18:18 romainguy__: yeah Jun 10 18:18:18 of course. Jun 10 18:18:25 Don't leave Ruby out. Jun 10 18:18:31 It can be annoying. Jun 10 18:18:33 I hate Ruby :)) Jun 10 18:18:37 But that's purely personal Jun 10 18:18:43 yep Jun 10 18:19:07 i like assembly Jun 10 18:19:13 push & pop Jun 10 18:19:25 I'm pretty surprised that Google would choose java for android Jun 10 18:19:27 (if you have the luxury of having a stack) Jun 10 18:19:32 f00f: again with a painful perspective. :-) Jun 10 18:19:35 They're generally python fanatics I thought :p Jun 10 18:19:39 java seems the popular choice for phones Jun 10 18:19:43 haha dmoffett Jun 10 18:19:56 AttractiveApe: we use Python, Java and C++ Jun 10 18:20:14 ah Jun 10 18:20:21 cybereagle: yeah... i guess just cause they can port em Jun 10 18:20:41 i like to have a lower level "system" kind of a language, and a higher level more conceptual language laying around my brain Jun 10 18:20:47 C++ is an abomination imo. :-) Jun 10 18:20:51 Java is a well known language, it has excellent freely available tools, it's easy to learn... :) Jun 10 18:21:03 Java is decent. Jun 10 18:21:04 but sure, it's not perfect and not everybody like it Jun 10 18:21:37 no language is *waits to get flamed* ;) Jun 10 18:22:15 Languages are like skiing. 10% equipment anyway. Jun 10 18:22:19 romainguy__: besides cross-compatibility, what does java offer vs c++? Jun 10 18:22:38 java has some flaws in terms of objects that shouldn't be objects! Jun 10 18:22:43 michaelnovakjr: ?? Jun 10 18:22:56 michaelnovakjr: if Java has one flaw is that it has primitive types :) Jun 10 18:22:59 this is very debatable, but in some ways java is probably easier for people to pick up fast and not have stuff totally bomb out on them Jun 10 18:23:10 squeakypants: in a way it's safer Jun 10 18:23:28 yeah, java will baby you more lol Jun 10 18:23:31 why do i need to instantiate a SimpleCalendar just to format a Date object as a String? Jun 10 18:23:36 it also has cleaner syntax Jun 10 18:23:43 michaelnovakjr: that's an API problem, not a language issue Jun 10 18:24:04 that is something to me that is greatly annoying Jun 10 18:24:25 there should be a method you can call statically to return the result for you Jun 10 18:24:51 again, it's an API issue Jun 10 18:24:58 nothing to do with the language Jun 10 18:25:09 file a bug, join a JSR, etc. if you want to fix it Jun 10 18:25:20 (there's actually a JSR to improve data/calendar/time APIs) Jun 10 18:25:26 true, but api's for a large part of day to day usage of languages like java. if they were consistently annoying, it could be said to be a java problem Jun 10 18:25:32 i wouldnt say it was all that bad though Jun 10 18:25:47 Java has some bad APIs, but it also has some great APIs Jun 10 18:25:56 i'll agree with that Jun 10 18:26:00 the concurrent APIs are awesome for instance Jun 10 18:30:24 hmm Jun 10 18:30:27 i'm trying to run a sample Jun 10 18:31:11 all i see is a red dot going left and right... Jun 10 18:31:20 yes the emulator is booting Jun 10 18:31:30 ...it's taking a long time Jun 10 18:31:36 it does Jun 10 18:31:39 there it goes Jun 10 18:31:42 :) Jun 10 18:32:11 get a faster machine :) Jun 10 18:32:31 working on it Jun 10 18:32:44 wow i didn't realize this emu had all the software on it too Jun 10 18:32:55 psh, only 2 bars? :-P Jun 10 18:35:06 yeah, Google phones have bad reception ;) Jun 10 18:36:06 hehe Jun 10 18:36:26 so that HTC prototype... how expensive do you think it'll be? Jun 10 18:36:31 iphone is only $199 now so... Jun 10 18:36:47 but they raised the monthly fee :( Jun 10 18:37:01 can somebody tell me the name of the service that has lyrics for songs. I saw an android plugin somewhere that would fetch the lyrics and move them along karaoke style with the music. If there weren't there, you could tap the lyrics. Anybody know the name of that site? Jun 10 18:37:11 tunewiki Jun 10 18:37:18 thanks Jun 10 18:37:35 romainguy__: yeah and no more jailbreaking Jun 10 18:37:56 romainguy__: google didn't, AT&T did. Jun 10 18:37:57 if you don't activate with at&t within a month of buying the iphone, they can charge you Jun 10 18:38:10 attractiveape: you mean apple Jun 10 18:38:10 squeakypants: do you think the iphone 3g will be extra-hard to jailbreak? Jun 10 18:38:27 squeakypants: ah, yes. Jun 10 18:38:36 donomo: well, i've heard the sim card won't be as easily accessible. still, i doubt it will be too hard Jun 10 18:38:48 apple wants to drop the price now so it can take over the phone market. AT&T just wants more money :p Jun 10 18:38:53 lol Jun 10 18:39:10 whaaa Jun 10 18:39:13 im just glad non of this crap affects me and my non-apple phone :) Jun 10 18:39:14 i can't give my contact a picture? Jun 10 18:39:14 it'll be a looong time before the operators see profit from iPhone Jun 10 18:39:38 squeakypants: one what phone? Jun 10 18:39:47 on Jun 10 18:40:22 attractiveape: in the emu Jun 10 18:40:45 also, the FIC FreeRunner phone (hardware for the openmoko project) is in mass-production. should be for sale about the same time as the iphone 3g Jun 10 18:40:45 lol i have to say Jun 10 18:40:53 this emu is pretty rough ;) Jun 10 18:41:07 donomo: is openmoko any good? Jun 10 18:41:08 what do you mean rough? Jun 10 18:41:20 romainguy_: besides slow, the interface is messy Jun 10 18:41:26 squeakypants: i havent used it beyond the emulator, so i cant say really. Jun 10 18:41:35 of course the interface shown at google io was awesome Jun 10 18:42:00 its a beta emulator for building apps Jun 10 18:42:00 wow the webkit browser is in the emu Jun 10 18:42:13 not a consumer test of what the phone will really be like Jun 10 18:42:14 michaelnovakjr__: yeah i know, i'm just messing around ;) Jun 10 18:43:17 aww the mirror thing isn't in the emu... that was awesome Jun 10 18:44:30 the mirror ? Jun 10 18:45:13 squeakypants: it's not the emulator which is missing it. Jun 10 18:45:28 squeakypants: the public SDK release is quite old (released in early February) Jun 10 18:45:40 with no expected updates in the near future. the version that Google is operating on is much newer. Jun 10 18:46:30 romainguy_: so, do you have your h1b? Jun 10 18:47:29 jasta: ah gotcha Jun 10 18:47:38 romainguy_: my bad, meant magnifying glass :-P Jun 10 18:51:39 squeakypants: i wouldn't expect an SDK release containing the features you saw at the I/O keynote until handset launch later this year. Jun 10 18:52:12 despite the unconvincing assurances google employees are giving to the contrary. Jun 10 19:16:40 yeah, the google employees tend to get your hopes up and squash your dreams. Jun 10 19:16:41 lol Jun 10 19:25:10 can I just upgrade userspace without upgrading the kernel? Jun 10 19:35:36 borism: upgrade what userspace? Jun 10 19:35:38 to what? Jun 10 19:49:13 * jasta grins Jun 10 19:49:15 Android has /dev/ptmx :) Jun 10 19:49:30 (moving on to the terminal emulator app, for those that are curious) Jun 10 19:50:06 have you been using android jasta? Jun 10 19:55:11 using, as in like it's a working phone? Jun 10 19:59:27 yea Jun 10 20:01:18 hell no :) Jun 10 20:01:29 Android, as it is released, would make a terrible phone. Jun 10 20:01:35 it has basically nothing but a web browser. Jun 10 20:02:12 have you installed apps on it yet? Jun 10 20:03:21 what apps? nothing exists. Jun 10 20:06:54 it is occurring to me that allocating a pty in Java may not be natively possible. i will have to glue this with JNI Jun 10 20:06:59 but that sucks :( Jun 10 20:07:24 jasta i meant anything you've created Jun 10 20:07:32 you wrote five and an rss reader that i know of Jun 10 20:07:47 oh yeah, i loaded those Jun 10 20:07:52 Five breaks horribly Jun 10 20:08:06 the app hangs the UI thread on invocation, for some reason. Jun 10 20:08:32 i dont know why, but rather than guess and check, i'd rather get USB support working and just do logcat ;) Jun 10 20:08:43 probably due to lack of writable memory. Jun 10 20:09:01 also, Five ultimately won't work since there is no main speaker support, and no writable memory Jun 10 20:09:09 AttractiveApe: no, because the app does not attempt to write anywhere on startup. Jun 10 20:10:14 jasta: how do you think performance compares to the emulator? Jun 10 20:10:29 performance was frankly amazing. Jun 10 20:11:16 the base platform certainly felt nice, and that it was certainly attainable to meet iPhone standards Jun 10 20:11:51 I strongly suspect that moseycode's performance will suffer very badly from the Dalvik interpreter Jun 10 20:12:07 as opposed to? why? Jun 10 20:12:12 But that any apps using all of the native goodness (graphics APIs etc) will perfom well Jun 10 20:13:06 well the native APIs are likely to have better performance not because they are not interpreted with Dalvik, but rather because they are not generating as bloated a bytecode at all :) Jun 10 20:13:13 Simply that the interpreter overhead is (I believe) very great on the hotspot in Moseycode - the image processing Jun 10 20:13:45 The more efficiently you write your code, the greater the overhead of the interpreter as a percentage of execution time Jun 10 20:14:03 Moseycode's image processing code is very very efficient Jun 10 20:14:08 i doubt that very much, but in your case it makes sense in either case to implement image processing natively and use JNI Jun 10 20:14:23 What do you doubt? Jun 10 20:14:57 that your engine will see a drastic improvement in performance simply by translating the algorithm to C. Jun 10 20:15:36 though i think that, beyond translation, C will offer you some significant opportunities to optimize your code furtehr that will make the greatest difference. Jun 10 20:16:23 vs JIT/AOT compiled Java, no. But the Dalvik interpreter will carry a significant overhead for my code - I'm sure of it Jun 10 20:16:51 as i said, there is an argument in either case to implement your image processing natively and i would recommend that route. Jun 10 20:18:13 though it is yet to be seen how applications written that way will be distributed. Jun 10 20:18:24 Casting the code into C would be fairly easy work - it's one complex method with just integer arithmetic. But I've seen no indication that anything other than Dalvik bytecode will be permited for applications Jun 10 20:19:01 tomgibara: permitted in what sense? technically, JNI is functional now. Jun 10 20:19:32 permitted in the sense of installable via an APK or other application deployment bundle Jun 10 20:19:33 the distribution model that Google has come up with so far doesn't support it, but that is not to say it cannot be changed or replaced. Jun 10 20:20:22 and i think that it certainly will be. apks should be extended to allow installation hooks and other functionality which would permit you to do also distribute extra pieces in your bundle and install them appropriatley. Jun 10 20:21:16 likewise, /data/lib should be created and honored, in addition to /system/lib, but perhaps with specail care taken to enforce linker precedence. Jun 10 20:22:46 We will see, but I wouldn't expect that sort of extension to happen unless there is a real and evident demand for it. Jun 10 20:24:41 I highly suspect that Dalvik will have JIT in the future. It's gonna need something like that or native exe distribution to keep up with the competition. Jun 10 20:25:25 jasta: If you get an opportunity, I'd be interested in knowing if Moseycode runs on your phone - or if it dies like five :-( Jun 10 20:26:09 I don't think it needs a JIT, better would be a selective AOT compiler that is targetted using annotations Jun 10 20:26:58 does it have a camera? Jun 10 20:27:38 I think a JIT would have very poor performance characteristics within the context of Android Jun 10 20:27:40 the camera stuff is very strange on the HTC Vogue. it is that same dummy image we see with the emulator Jun 10 20:27:52 except with lots of drawing bugs, and ultimately freezing the phone Jun 10 20:28:31 jasta: Oh well, nevermind - one day some device somewhere will run my app :-/ Jun 10 20:35:09 being patient is very frustrating :) Jun 10 20:35:25 tomgibaba: Since the biggest cost of JIT is memory, it's not useful on memory limited phones. Hmm, perhaps something between a JIT and an annotation targeted AOT, where only the annotated code gets JITted. Jun 10 20:38:02 chaosvoyager: JITs also have a performance overhead - they need to profile before compiling - and then they need to do the compilation. That's fine on a desktop where an application might run for at least several minutes. On android applications may be starting/stopping very frequently Jun 10 20:43:21 tomgibara: So? If the app is used frequently, then Android can used the compiled version generated by the JIT. Again, mostly memory related. And the performance hit is usually quite small. Heck, even WebKit uses JIT for it's Javascript engine now, and the same concernes as you mentioned were brought up. So far, it doesn't seem to be t bad, and that's with running cde that's typically run ONCE. Jun 10 20:44:14 say This POS keyboard is dropping letters >_< Jun 10 20:46:20 eh, and I meant "its", not "it's". The heat must be getting to me. Jun 10 20:47:27 That's a good point, but what needs to be remembered is that it's the relative trade-off that's important. I anticipate that a JS JIT in Webkit will 'earn its keep' much more quickly than a JVM/Dalvik JIT because the performance of the latter is already so much better. Jun 10 20:48:03 ie. A JS JIT can make very quick wins in a way that a Java JIT can't Jun 10 20:48:29 I'm no expert on JITing, but that's my intuition Jun 10 20:50:47 You're right about those quick JS wins. Much of its slowness was due to lazy design :) However, I'm not so sure that Dalvik would not see similar quick wins. Jun 10 20:52:15 jasta: When adbd starts up it opens a socket on port 5037. Is this port available on the device you testing? No problem if you don;t have time to check. Jun 10 20:53:00 chaosvoyager: have you even tried Dalvik on a real device? :) Jun 10 20:54:11 hey tomgibara, did we meet at i/o ? Jun 10 20:54:54 f00f-: I can be certain that we didn't because I was stuck in Birmingham UK :-) Jun 10 20:55:08 ah, hehe Jun 10 20:55:28 f00f-: Why, have I mastered Astral projection and not realized it? I was there in spirit Jun 10 20:56:03 i thought so Jun 10 20:56:07 are you a big fan of Astral Projection ? Jun 10 20:56:12 romainguy: No, but as a rule of thumb, memory optimized VMs tend to suffer in comparison with performance optimized JIT VMs when it comes to performance. And I was under the impression that Dalvik was designed *specifically* for memory constrained devices. Jun 10 20:56:37 f00f-: It's useful for escaping boring meetings Jun 10 20:57:25 aye. Jun 10 20:59:50 tomgibara: I heard someone talking about you, called you "tom the brain" or "tom the genius" or something Jun 10 21:00:29 Mary Ann is impressed Jun 10 21:00:37 zhobbs_: ha - I have no idea where these epithets come from Jun 10 21:01:07 romainguy: On the other hand, if you know where I can get an actual Android device, I'll be glad to make an empirical comparison ;) Jun 10 21:01:20 zhobbs_: you still in SF? Jun 10 21:01:21 Only one person out of me and Mary Ann produced a winning application and it wasn't me :-) Jun 10 21:01:26 chaosvoyager: there's a couple on my desk :) Jun 10 21:01:44 tomgibara: how do you know each other, are you on muthu's team? Jun 10 21:02:01 well, I agreed with her...projects like moseycode are beyond my ability Jun 10 21:02:17 f00f-: Yeah, I'm just helping out. Jun 10 21:02:20 f00f-: nope, but I'll be back in 2 weeks for work Jun 10 21:02:34 sweet, we should try to organize a meetup Jun 10 21:02:51 the metosphere guy was talking about it, but looks like he hasnt Jun 10 21:03:13 well, I'll be in Napa Valley, not sure how far that is Jun 10 21:03:52 drinking/making wine, i see Jun 10 21:03:58 it's not exactly a tear drop away Jun 10 21:04:01 tomgibara: I don't think losing the ADC shows a lack of intelligence. At least I hope not. :-) Jun 10 21:05:57 f00f-: yeah, on a tight schedule too...I'll let you know if I do find some time in SF Jun 10 21:06:38 dmoffett: :-) Jun 10 21:07:08 all right Jun 10 21:07:57 romainguy: Are you offering me one, or just teasing? Jun 10 21:08:07 I'm just teasing you Jun 10 21:08:29 Bah Jun 10 21:09:38 romainguy_: pics of the devices or it's not true Jun 10 21:09:47 ha :) Jun 10 21:10:41 I believe him because I can find no reason NOT to believe him. Jun 10 21:13:01 jasta: yes I do have my H1B, but I've had it for quite a while now Jun 10 21:13:54 (sorry I'm answering so late, I didn't see the question :) Jun 10 21:14:13 Does anyone know if Android's WebKit supports plugins? Jun 10 21:16:08 romainguy_: my friend just got denied for the 4th time. he has only 1 more shot and then he'll have to leave the country. Jun 10 21:16:24 what visa does he have right now? Jun 10 21:16:39 (and yeah, H1Bs are hard to obtain nowadays with the quotas) Jun 10 21:17:09 I actually got my H1B in 2005 when I was working for Sun Jun 10 21:17:56 he just has a student visa now, i believe. Jun 10 21:18:07 he went to grad school to stay in the country, but is about to graduate. Jun 10 21:18:14 ah yes Jun 10 21:18:37 another easy way to get a work visa is to work abroad for a US company for one yearr Jun 10 21:18:38 -r Jun 10 21:18:42 then you can get the L1 visa Jun 10 21:18:48 which is more or less like the H1 Jun 10 21:18:52 H1B Jun 10 21:19:43 none of our female friends will participate in a green card wedding either ;) Jun 10 21:20:12 Try Craigslist. Jun 10 21:20:27 jasta: :)) Jun 10 21:20:49 now that gay marriage is legal in CA, there is a strong possibility that my friend Fred will do it ;) Jun 10 21:22:37 everyone says that green card weddings are hard to fake, but i doubt that very much. Jun 10 21:22:57 hmm I wouldn't be surprised if the US gov was very rigorous about it Jun 10 21:23:02 given the intelligence demonstrated by any other segment of this government... :) Jun 10 21:23:13 (given how painful it can be to just get a stupid student or H1B visa) Jun 10 21:23:18 i'm sure they would be rigorous, but filling out paperwork and showing up to meetings is not hard. Jun 10 21:31:09 Women can't drive. Jun 10 21:31:30 Women should not be allowed to drive anything but 3-wheeled cars. Jun 10 21:32:13 romainguy_: i might be wrong. looks like they do require a lot of crazy things ;) Jun 10 21:32:21 :) Jun 10 21:32:33 I can't wait to ask for my green card... it will be so much fun... Jun 10 21:32:35 wedding photos and love letters Jun 10 21:32:52 postcards, etc. Jun 10 21:33:02 though i don't know who writes love letters anymore :) Jun 10 21:33:12 they want hotel and plane receipts to show you visited each other Jun 10 21:33:33 though all of this would be easily fakeable if you were friends with the person. Jun 10 21:33:52 the only tricky part would be wedding photos. but you could just dress up nice and take pictures of you and your family and stuff Jun 10 21:34:04 and hope the govt doesn't find out :) Jun 10 21:34:20 well Jun 10 21:34:31 the kiss and stuff Jun 10 21:34:33 certainly better than going back to mother rusia ;) Jun 10 21:34:51 they'll ask for the pope Jun 10 21:34:52 err Jun 10 21:34:54 the ... Jun 10 21:34:56 nigger!!! Jun 10 21:35:00 NIGGER GO AWAY Jun 10 21:35:12 the preacher i guess? Jun 10 21:35:15 the guy who marries you Jun 10 21:35:18 to prove it Jun 10 21:35:21 that would be easy to fake. Jun 10 21:35:34 you dont need a preacher to marry you. Jun 10 21:35:44 just some fat lady in an office can sign off on it Jun 10 21:35:47 true Jun 10 21:36:03 best thing is juts go to vegas and do it Jun 10 21:36:31 yeah Jun 10 21:37:01 the reality is, he has less than a year to stay here, and he isn't going to meet someone and get married for real in that time. Jun 10 21:37:12 he's been here for 6 years and that hasn't happened, so :) Jun 10 21:37:23 so it's time to start thinking of crazy plans hehe Jun 10 21:38:03 why would he want to move to the US anyway? Jun 10 21:38:13 must be the money!!!!!!!! Jun 10 21:38:21 he's lived in the US for the last 6 years Jun 10 21:40:22 also, he'd be forced to serve 12 months of military service in Russia if he went back Jun 10 21:42:38 I knew a guy who got married to stay in the US Jun 10 21:42:47 apparently they are pretty detailed in their questioning:-/ Jun 10 21:43:47 yeah i was just reading some stuff that seems pretty tough. Jun 10 21:43:54 although, our friend Carolyn could totally do it. Jun 10 21:43:59 but she refuses Jun 10 21:44:08 what a bunch of horse shit, though Jun 10 21:44:23 if someone's not mooching or in trouble with the law, they should be able to stay Jun 10 21:44:24 she knows a lot about dmitri, they talk and hang out just the two of them. there's lots of basic stuff taken care of already. Jun 10 21:44:32 Hmm, the Newlywed Game as run by the federal government. That would make fine TV. Jun 10 21:44:54 yoooooooou just won a fabulous trip to ..... prison! Jun 10 21:45:07 that would be sucky if he had to go back to Russia. Jun 10 21:45:08 :D Jun 10 21:45:22 davidw: you think visa fraud would wind the US citizen in prison? Jun 10 21:45:29 i would be surprised, honestly. Jun 10 21:45:39 If you want some very crazy stories related to just this subject check out "This American Life" episode: #353 Jun 10 21:46:17 jasta, who knows Jun 10 21:46:39 the people that run that crap are a bunch of bozos Jun 10 21:46:52 Be sure to do it after Bush is out of office. Jun 10 21:47:07 i imagine the steepest penalty the US govt would be willing to levy against a citizen would be annulment of the fake wedding. Jun 10 21:48:02 since there could be a massive political backlash putting a US citizen in jail or anything that extreme simply because they failed to cough up lough letters and "sufficient" wedding photos. Jun 10 21:48:17 err, love* Jun 10 21:48:21 not lough ;) Jun 10 21:53:20 the govt does not give a crap about love letters. They check to see if you are doing things like buying a house in both names, filing taxes in both names, Sharing checking and saving accounts. Making the spouse a beneficiary of your life insurance, having kids. Stuff a typical married couple does. Jun 10 21:55:54 well, having kids certainly isn't a necessity. Jun 10 21:56:02 or shouldnt be Jun 10 21:56:14 lots of people dont have kids until their 30s. Jun 10 21:56:38 of course not, it is the whole picture. Does it add of to a married couple. Of course all that can be faked and probably has been many times. Jun 10 21:57:20 i suppose. it seems like one of the overarching themes here is that you have to trust the person you do this with. Jun 10 21:57:26 But if doctor up a bunch of pictures and lover letters I think your case will be difficult. Jun 10 21:58:15 well hmm. this is gonna be a real problem in the next year or so. Jun 10 21:58:41 As dumb as you might think these guys are this is thier job and they have probably seen a gambit of schemes. Just like any police type officer. Jun 10 22:00:03 i think the scheme can only work if the person involved has an existing relatiosnhip Jun 10 22:00:14 as in, there was some reasonable way that they could have fallen in love and wanted to be married Jun 10 22:00:26 which is why i'm kind of pissed that my friend Carolyn won't do it. Jun 10 22:00:37 she hangs out with him all the time. hell, we all think they slept together too Jun 10 22:00:40 :) Jun 10 22:00:42 lol Jun 10 22:00:54 The trick is get the rules they follow from some govt site and follow the rules and you will probably not have a problem. Assume they are dumb and just wing and I think there might be deportment. :-) Jun 10 22:00:58 afraid of getting caught by the feds Jun 10 22:01:05 it's all public law, too Jun 10 22:01:16 maybe not "law" but you know what i mean Jun 10 22:01:28 jasta, can't he go to canada or someplace with less screwed up laws? Jun 10 22:01:33 like i said, i dont think the penalty for US citizens could be too steep. Jun 10 22:01:39 but it would be worth investigating. Jun 10 22:02:00 davidw: apparently Canada is more screwed up. it will require that he return to Russia first, which will begin his mandatory service. Jun 10 22:02:06 after which, he will be free to move to Canada. Jun 10 22:02:07 I think they just deport the illegal alien. Jun 10 22:02:34 dmoffett: right, so that's why i can't figure her motivation for refusing to try this. Jun 10 22:03:07 At least that is what happened to the spouses of the people on "This American Life". Jun 10 22:03:10 i would do it, if it was legal and did not involve kissing him. Jun 10 22:03:19 I went through all that shit in Italy... wasn't legal until we got married (which was, however, for real:-) Jun 10 22:03:40 jasta, maybe she wants to be able to get married to someone else Jun 10 22:03:43 move to cali jasta ;p Jun 10 22:03:53 Fred already lives there. I'll make him do it :) Jun 10 22:04:19 davidw: of course, but what is the term requirement of this fake marriage? Jun 10 22:04:49 surely there must be a route to pursue permanent residency while in the fake marriage. Jun 10 22:04:59 have an affair Jun 10 22:05:04 have kids Jun 10 22:05:23 carolyn is 22, so it's not like marriage should be right around the corner. Jun 10 22:05:43 anyway, i have a doctor appt to check out why my arm has hurt ever since I/O Jun 10 22:05:46 (what the hell did i do!?!) Jun 10 22:05:54 LOL Jun 10 22:05:54 later guys Jun 10 22:05:57 ciao Jun 11 01:29:03 Any idea on when the Android is going to come out of beta and into production (I was kind of hoping it'd be up there competing with the iPhone around this time of year) Jun 11 01:29:38 Hyphenex: From what i've read, sprint is talking about a released phone later this year Jun 11 01:29:52 VooDooGuy: around november then? Jun 11 01:29:55 But the SDK i've played with is pretty incomplete I think. Jun 11 01:29:56 December? Jun 11 01:30:03 I would imagine it will be this year Jun 11 01:30:12 that's just my best guess though Jun 11 01:30:30 that'd be cool, what do you mean by sprint was releasing...? Can't we just buy phones outright with Android on them? Jun 11 01:30:32 I'm chompin at the bit to start my android compatible game...so hopefully soon :-) Jun 11 01:30:51 well, sprint is rumored to be the first to release a phone running android Jun 11 01:31:13 Ahhkay (I suppose AT&T in the US have iPhone, it makes sense) Jun 11 01:31:39 but i'm sure verizon and att will be one of the last, since they have the most to lose :-) Jun 11 01:34:41 I'm actually an iPhone fan, but I can't get one unless I change phone providers here in Aus and go on a big expensive plan, so I plan on jumping ship :P Jun 11 01:35:14 VooDooGuy: some people dont even know if verizon and att will carry them, since they are not OHA members. Jun 11 01:35:28 and, kinda opposed to the whole "open" idea Jun 11 01:35:46 i have heard rumors though, both that Tmobile and Sprint will have android handsets out by the end of the year Jun 11 01:36:05 what about Australia!? :P Jun 11 01:36:16 i heard september and december, but i dont know if those are accurate anymore. Jun 11 01:36:34 lol does Australia have any carriers in the OHA? Jun 11 01:36:38 Hyphenex: why not get an unlocked ifone then, and have it shipped in? Jun 11 01:37:00 AttractiveApe: from what I've read, there not going to sell the unlocked ones Jun 11 01:37:14 i believe there is a program to unlock them Jun 11 01:37:22 but you can't buy a 3g one without a plan Jun 11 01:37:28 That's the thing Jun 11 01:38:36 The apple store isn't going to sell them unlocked? Jun 11 01:38:40 That seems silly. Jun 11 01:38:41 no Jun 11 01:38:50 and that's why I'm here in #android :P Jun 11 01:40:56 and, if you read slashdot, there was an article today talking about punishing people who unlock the iphone Jun 11 01:40:58 :-) Jun 11 01:41:16 is that the entire remote-wipe thing? Jun 11 01:46:18 yeah, I think so Jun 11 01:52:44 no Jun 11 01:52:49 the remote-wipe is for enterprise Jun 11 01:52:55 for instance if your phone gets stolen Jun 11 02:26:11 * Hyphenex is away: Lunchies **** ENDING LOGGING AT Wed Jun 11 02:59:56 2008