**** BEGIN LOGGING AT Tue Dec 18 02:59:56 2007 Dec 18 04:12:24 romainguy: btw, what is the deal with Google rejecting an HTTP User-Agent of m/^Java/ for all of its RSS/Atom feeds? Dec 18 04:12:55 Android, of course, uses User-Agent: Java0 for URL#openStream(), which fails then to access Google's own services. You have to switch usage to HttpClient. Dec 18 04:13:41 At the very least you guys could change the default User-Agent. But better still would be to stop having Google's webservers act so backward. Dec 18 04:42:34 I changed it in my app, but I really think that is silly. Dec 18 11:49:38 can you ssh into the android emulator? Dec 18 11:50:30 landslide, you can telnet Dec 18 11:50:40 and perform some commands Dec 18 11:50:46 coool Dec 18 11:51:03 ilke tcp redirects Dec 18 11:51:06 like tcp redirects Dec 18 11:51:36 based on the class heirarchy and the few videos google put out, this platform is awesome! Dec 18 11:51:46 lots of revolutionary ideas. Dec 18 11:51:55 yap Dec 18 11:51:58 i particular like the application lifecycle methodology Dec 18 11:52:05 and a company beyond which can push this Dec 18 11:52:15 i wonder what the guys at windows mobile and in particular the compact framework think of this Dec 18 11:52:23 it must be a knock-out punch. Dec 18 11:52:29 hehe Dec 18 11:52:31 they've been working on the wrong thing for the past few years Dec 18 11:53:01 perhaps Dec 18 11:53:02 .NET CF runs like a complete dog on windows mobile phones Dec 18 11:53:04 perhaps not Dec 18 11:53:23 i like that they did not choose the java micro crap Dec 18 11:53:32 agreed. Dec 18 11:53:45 i think they were very smart to optimise the VM. Dec 18 11:53:58 maybe they learnt a thing or two from MS... Dec 18 11:54:30 the problem with sun (talking J2ME) is that they are too academic. Dec 18 11:54:35 not practical enough. Dec 18 11:54:39 yes Dec 18 11:54:49 i was really impressed with the XMPP system too Dec 18 11:54:54 the idea of presence. Dec 18 11:55:04 landslide: I disagree... the problem with J2ME is that the JCP is too political Dec 18 11:55:14 i've been working on a very similar system for the company I work for. (on windows mobile) Dec 18 11:55:34 stephmw: yep good point. Dec 18 11:55:52 landslide: the biggest failuer of J2ME was the sheer number of optional bits Dec 18 11:55:53 what I meant by academic is they talk more than they do. Dec 18 11:55:54 ;) Dec 18 11:55:58 oh, right :) Dec 18 11:56:02 *failure Dec 18 11:56:13 <-- J2ME API developer Dec 18 11:56:14 trying to be everything to everyone. Dec 18 11:56:24 aye, the ultimate compromise mess Dec 18 11:56:27 i avoided it all together. Dec 18 11:56:37 i've been coding C++ on windows ce for the past 7 years or so Dec 18 11:56:51 it's really the only viable way to write big thick applications on mobile devices. Dec 18 11:57:15 I've done Java/J2ME/C on embedded and mobile for 5 years now Dec 18 11:57:17 but that is changing... Dec 18 11:57:46 and I have to say that Jazelle is the embedded world's reply to JIT :) Dec 18 11:57:58 so are there any specs for dalvik? Dec 18 11:58:10 or is it all under the hood at the moment and google haven't yet popped the hood? Dec 18 11:59:03 landslide, afaik, they will release more detailed stuff (source) later Dec 18 11:59:30 i have a theory too, and i'm interested in what you guys think.... Dec 18 11:59:40 i have a feeling that android IS the iphone SDK. Dec 18 11:59:44 would it make sense? Dec 18 12:00:17 it almost fits... Dec 18 12:00:26 landslide, puh, no idea Dec 18 12:00:28 no, it isn't Dec 18 12:00:31 apple have been working with this for 2 years now. Dec 18 12:00:39 didn't google buy android like in 2005? Dec 18 12:00:49 and the iphone has been in development for 2 years. Dec 18 12:01:00 and eric is on the board of apple... Dec 18 12:01:02 etc.. etc... Dec 18 12:01:08 landslide: naaah, the iphone hackers are fairly clear about the underlying structures Dec 18 12:01:13 landslide: they're not related Dec 18 12:01:31 (technically anyway) Dec 18 12:02:04 i just have this gut feeling.... Dec 18 12:02:15 maybe you ate a lot of beans or something Dec 18 12:02:19 haha. Dec 18 12:02:25 maybe i'm right, maybe i'm wrong. Dec 18 12:02:36 want to bet money? Dec 18 12:02:44 it's just the comments by SJ on the SDK ('we're going to be doing something very different') Dec 18 12:02:46 it fits. Dec 18 12:03:08 i think it makes a lot of sense to do this too Dec 18 12:03:13 well, the people who have actually, you know, examined in detail the two systems indicate that they are quite different Dec 18 12:03:24 the way applications run in sandboxes. Dec 18 12:03:48 * davidw is much more interested in Android and is keeping his fingers crossed that it does ok Dec 18 12:03:51 thats a major solution to issues plaguing windows mobile.. like the phone not being a higher-order function of the device. Dec 18 12:04:07 actually, the thing that would kill all of these platforms dead is always on connections for phones Dec 18 12:04:17 well, not completely dead, but a big blow, to be sure Dec 18 12:04:19 hi dims Dec 18 12:06:44 who knows.. if it is the case... i've called it first ;) Dec 18 12:07:30 i don't really think there would be any smoking gun in the iphone... the only thing the iphone would need is the ability to have the platform delivered to it and enough free memory ;) Dec 18 12:16:46 so how do I telnet into android? Dec 18 12:17:07 the documentation covers that, I think Dec 18 12:21:01 ah yeah found it Dec 18 14:30:50 hi davidw Dec 18 14:36:21 folks, accessing tasks HOWTO - http://davanum.wordpress.com/2007/12/18/android-task-manager-primitive-prototype/ Dec 18 14:40:07 nice Dec 18 14:43:32 Has anyone had any success creating a class implementing the Parcelable interface? Seems the example given by Google doesn't even compile... Dec 18 14:46:38 ha! nevermind. i decompiled the Rect class directly and got the working code. Dec 18 15:59:47 there is some weirdness with resources Dec 18 15:59:50 in the emulator Dec 18 16:07:03 never mind.... Dec 18 17:51:00 someone logged the url where dims posted the tasks example 2 hours ago? Dec 18 17:52:55 anyone have some success in creating a Parcelable object and getting aidl to generate a java file for it etc? Dec 18 17:53:16 http://davanum.wordpress.com/2007/12/18/android-task-manager-primitive-prototype/ Dec 18 17:54:30 jasta, thx Dec 18 17:58:36 oh well, screw Parcelables. Dec 18 18:16:26 hehehe Dec 18 18:16:45 is this the android of gogle? Dec 18 18:16:50 *google Dec 18 18:17:08 yes. Dec 18 18:18:58 anyone here who can tell me about content providers? Dec 18 18:19:09 quite a few of us could, i imagine. Dec 18 18:19:25 actually, how in the world I'm supposed to use a cursor Dec 18 18:19:29 but, perhaps Google's documentation would be the best fit. Dec 18 18:19:55 Google's documentation gives me an overview Dec 18 18:20:07 And they give very detailed API's Dec 18 18:20:24 In a sense, I suppose. But they also have API samples, including the NotePad application which implements a ContentProvider. Dec 18 18:20:36 also, there are numerous open source projects that already exist which also show this functionality. Dec 18 18:20:45 allright, thanks Dec 18 18:20:59 could you give me an example that you know of off the top of your head? Dec 18 18:22:09 of a project Dec 18 18:29:03 well, mine. Dec 18 18:29:08 http://android-rss.googlecode.com/ Dec 18 18:29:29 hehe Dec 18 18:29:35 although, you might argue that Luniv's project is a better example of a content provider. Dec 18 18:30:16 thank you Dec 18 18:30:49 i'm gonna make a cards game over xmas break, i think. Dec 18 18:31:12 my gf makes phone purchases based on the availability of good hearts, freecell, and solitaire games Dec 18 18:31:21 so maybe i'll entice her to buy an android phone when they come out Dec 18 18:32:27 you must have a large xmas break Dec 18 18:33:03 * Lede has 0 day(s) off Dec 18 18:33:05 :p Dec 18 18:33:47 * NumBeast has 2 weeks off, but there won't be a dev computer in sight... Dec 18 18:38:00 i get 3 days around xmas, 2 days around new years, and i took 2 days vacation Dec 18 18:38:03 so yeah, quite a bit Dec 18 19:00:30 my last job had 4 weeks of paid vacation (20 days) and 12 days of sick that carried over. Dec 18 19:00:33 my new job sucks. Dec 18 19:01:09 wow Dec 18 19:02:07 that's normal Dec 18 19:02:17 atleast, in most countries Dec 18 19:02:37 2 weeks yearly here Dec 18 19:02:52 sick i get more though i get 2 weeks personal sick and 2 weeks family sick time. Dec 18 19:02:53 5 weeks here :) Dec 18 19:05:03 xbit: France? :) Dec 18 19:05:41 norway Dec 18 19:05:54 I miss France's 5 weeks :) Dec 18 19:25:59 the US is pretty normal at 2 weeks of vacation annually, i think. Dec 18 19:26:15 that's all i get, anyway. Dec 18 19:26:25 although i'm trying to negotiate for a one-shot increase of 2 weeks for this next year :) Dec 18 19:26:29 2 weeks = 10 days? Dec 18 19:26:41 yeah Dec 18 19:26:43 here is lame.. we have 10 days.. vacation *and* sick... ie: it's both... if you're sick one day, then you only have 9 days left. Dec 18 19:26:47 jasta, actually, it's less than what most wealthy countries get Dec 18 19:26:56 absentia, where's that? Dec 18 19:27:01 last place I worked, was 4 weeks (20 days) paid vacation... *and* 12 days of sick -- on top of that... and sick days acrried over. Dec 18 19:27:32 i was in the hospital and out of work for 2 weeks in the summer and they tried to take all my vacation + sick time before they paid out disability Dec 18 19:27:39 i fought them on it and got them to just take all my sick leave Dec 18 19:27:46 xn/whois jasta Dec 18 19:28:02 i'll save you the typing: i live in the US. Dec 18 19:28:08 :-) Dec 18 19:28:33 i had like a day or two shy of 2 weeks vacation + sick time saved and they wanted to take it all :\ Dec 18 19:28:37 bastards Dec 18 19:28:57 I'm at the point where I'm about to say i am going to take 30 days unpaid vacation Dec 18 19:28:59 see what they say Dec 18 19:28:59 :-) Dec 18 19:29:11 davidw: I meant it's normal in the US to get 2 weeks, not that that's normal internationally. Dec 18 19:29:39 i'm going to ireland for 3 weeks in september and i'm just taking 1 week unpaid :\ Dec 18 19:29:43 jasta: that's actually the standard by federal labor law. your employer can require you to use up all your paid time off before they have to give you short-term disability Dec 18 19:30:00 jasta: ...which is not to say it's a good thing ;) Dec 18 19:30:13 morrildl: well, i got them to not, at least. Dec 18 19:30:25 i lost 1 week of sick time, and then got 50% pay on short-term disability for the remaining week i was out Dec 18 19:31:13 OTOH, it's easier to start a company and hire people in the US because you don't get saddled with tons of payments... it's almost always a tradeoff Dec 18 19:31:14 they were especially generous since it wasn't my fault :) Dec 18 19:31:54 it still sucked though. 50% pay for 1 week and $2500 in medical bills, :( Dec 18 19:32:14 for instance in Italy, the maternity leave stuff is very generous. Consequence: employers avoid women of childbearing age like the plague Dec 18 19:32:20 ouch Dec 18 19:32:30 health care in the US is definitely screwed up Dec 18 19:32:36 I wasn't given any time off to see my first born -- my son.. born Dec 18 19:32:43 absentia, once again - where? Dec 18 19:32:51 no kidding. the total bill was over $10K, and insurance kicked in. i was only in the hospital for 14 hours! Dec 18 19:32:54 florida Dec 18 19:32:56 start up Dec 18 19:32:57 ah Dec 18 19:33:22 i had 4 cat scans done, 2 x-rays, and then they let me out. that cost $10K, apparently. Dec 18 19:33:25 basically, I would tell people like that where to stick it - it's easy to find new jobs in the states Dec 18 19:33:26 whatever. all my options have vested. .I'm leaving. Dec 18 19:33:32 ah, I see Dec 18 19:33:34 on the itemized bill it said "EMERGENCY LEVEL: $1400" Dec 18 19:33:36 options Dec 18 19:33:50 it cost me $1400 for being in the emergency room with a real emergency, i guess. Dec 18 19:33:57 how cute. Dec 18 19:34:02 very cute ;p Dec 18 19:34:05 jasta: yup. ocosts you $1400 to sit there for 3 hours Dec 18 19:34:17 well, i was unconscious for 3 hours. that probably cost a lot too. Dec 18 19:34:41 I don't get any sick leave :^( ........college kid just working part time :^) Dec 18 19:34:53 i bet if there would be social healthcare in the US people would complain about paying for something they don't use Dec 18 19:35:49 maybe Dec 18 19:35:55 my health insurance is $1200 a month. Dec 18 19:36:02 I'm perfectly heathly.. same with my wife. Dec 18 19:36:02 :-o Dec 18 19:36:15 i don't pay for any dependents, so my health insurance is $0 :) Dec 18 19:36:35 so, do nyc rent: $3K rent, $1200/mo health... $800 car .. that's $5K before food or anything else. Dec 18 19:36:42 $1200 a month?! Dec 18 19:36:47 you gotta be kidding Dec 18 19:36:52 yes Dec 18 19:37:04 my brother pays for his wife and kid and i think he's at like $650 or $700/mo. Dec 18 19:37:11 why the difference? Dec 18 19:37:12 my company only covers 50% for me.. so that's like $300 .. then 600 for my wife and 300 for my child.. so that's 300+600+300 Dec 18 19:37:32 hmm? Dec 18 19:37:33 my fed taxes are like 1600 a month Dec 18 19:37:35 good article about US health care system: http://www.tcsdaily.com/article.aspx?id=112107D (it's a hard problem) Dec 18 19:37:38 ah, the whole family i see Dec 18 19:37:54 I just paid off my car -- I figure that will save me $2500 this year, alone. Dec 18 19:38:13 absentia: your rent is $3K/mo? you're insane. Dec 18 19:38:17 so it will cover two months of healt insurance :p Dec 18 19:38:18 in nyc Dec 18 19:38:23 my rent is $450/mo, and I live in Seattle. Dec 18 19:38:35 geez Dec 18 19:38:36 my rent was -- I moved down here... to fl.. now in florida, my rent actually went down. :-) it's $1400 now... but I'm moving back to nyc. Dec 18 19:38:48 and i live in a 3000 sq ft house, although i do live with 3 of my friends. Dec 18 19:38:57 450?! i'm in albany ny area and it's 600 Dec 18 19:38:57 I haven't had $400/mo since '87 Dec 18 19:39:00 er, '89 Dec 18 19:39:19 yeah, our total rent is $2000/mo for 3000 sq ft. it's insane :) Dec 18 19:39:36 I don't want to live with roommates anymore Dec 18 19:39:44 the house isn't really nice by any stretch, but we've got 4 bedrooms and 4 bath. it's pretty sweet :) Dec 18 19:39:54 4 baths oke.. Dec 18 19:39:55 oh Dec 18 19:39:59 in nyc, to break my last lease.. with 3 months left.. I needed to pay 3 months rent. Dec 18 19:40:03 and a pool table (mine) and wet bar upstairs... Dec 18 19:40:10 my rent was about $2500 -- so to BREAK my lease, it would have cost me $7500 Dec 18 19:40:12 yea i live alone, my friend wants to be roomates, but i can't deal with that i don't think Dec 18 19:40:26 to move in, they want fist month, last month and a deposit... so, for a $3K apartment, you need $9K to move in. Dec 18 19:40:30 absentia: maybe you should look at buying. or moving. Dec 18 19:40:46 ya, I had a roommate once.. .who use to make steak and onions on the stove at 3am Dec 18 19:40:47 paying more than $1K/mo in rent is a huge waste of money. Dec 18 19:40:51 and then take a 45 minute shower. Dec 18 19:41:01 have yo uever seen what the rent is like in nyc? Dec 18 19:41:07 apartments start at 1.2mil Dec 18 19:41:13 the avg price went up 40% in *1* year Dec 18 19:41:14 "jerry, I'm not comin' out!" Dec 18 19:41:16 no, but that's maybe why you should move ;) Dec 18 19:41:21 true Dec 18 19:41:24 I use to live in times suare Dec 18 19:41:27 square Dec 18 19:41:31 davidw: "that's it, i'm coming in!" Dec 18 19:41:49 "noo!" Dec 18 19:41:56 Seattle is not known for being cheap, but you can still find places for a reasonable amount. You just can't pretend like you're living in the suburb and expect all those luxuries. Dec 18 19:42:10 IN time square? Dec 18 19:42:16 ya Dec 18 19:42:18 50th and 8th. Dec 18 19:42:20 see, that is stupid. Dec 18 19:42:25 use to be a website for the building... but then it was sold. Dec 18 19:42:36 well, I'm thinking about moving back up there... Dec 18 19:42:38 absentia, in the square, or in an apt thereabouts? Dec 18 19:42:42 we can find 2 bedroom places for $2750 a month. Dec 18 19:42:46 * Zer0Her0 envisions absentia peaking up from under a manhole cover Dec 18 19:42:57 Zer0Her0: for $2500/mo? Dec 18 19:43:03 huh Dec 18 19:43:11 nevermind Dec 18 19:43:22 ok Dec 18 19:43:27 absentia: sounds like you need to learn to be thrifty my friend. Dec 18 19:43:32 ddavidw: in the theatre district, across from the gershwin theatre... on 50th.. a building called "the gershwin" .. whenever you see a show about nyc and they show this building 9the old madison square garden building) .. with a orange triangle at the top.. in lights... the building I lived in is right behind that. Dec 18 19:43:43 the only people who should be able to afford $3000/mo rent are also the people who should be able to afford 1 million dollar condos. Dec 18 19:43:52 jasta: why? Dec 18 19:43:53 so if that's not you, i think you're living a bit outside your means buddy :) Dec 18 19:44:00 use to walk across the street to take the E train (from 50th) down to chambers.. world trade center. last stop pn the E Dec 18 19:44:02 it's not like i can take this crap with me when i'm dead Dec 18 19:44:13 walk 2 blocks to 2 world financial center... work all day.. then reverse. Dec 18 19:44:25 subway came up in my building -- I didn't even own an umbrella in nyc Dec 18 19:44:32 Zer0Her0: ownership affords you equity, which you can use while you're still alive. Dec 18 19:44:37 (since from chambers to 2 wfc was all scaffolding and construction due to the new trade centers) Dec 18 19:44:57 when the centers were hit -- I was lvigin 2 blocks south.. .at 21 west street... a studio apartment .. .for $2100 /mo Dec 18 19:44:57 Zer0Her0, me, I want a pyramid erected with me in it so that I can take it. Dec 18 19:45:04 davidw: haha Dec 18 19:45:16 it's a much smarter arrangement to pay $2000/mo toward a mortgage than $1000/mo toward rent. Dec 18 19:45:19 for example. Dec 18 19:45:28 sure Dec 18 19:45:32 but you need that downpayment Dec 18 19:45:42 unless it's a subprime mortgage in an area with falling values, in which case you're up shit creek Dec 18 19:45:43 until recently, I didn'thave it. Dec 18 19:45:50 davidw: welcome to florida Dec 18 19:45:53 well, live in a small apartment in the suburbs and save up some money you crazy fool! :) Dec 18 19:45:55 1/2 of the houses are up for sale. Dec 18 19:46:08 * absentia has some extra income this year... Dec 18 19:46:10 luckily. Dec 18 19:46:59 I've finally figured out how to make money. you have to make a prpduct (say on android) .. and then sell it. it's the only way. Dec 18 19:47:04 I'm thinking about taking a year off just to work on android Dec 18 19:48:55 money comes from scarcity Dec 18 19:49:26 hmm, i'm doing pretty damn ok. my rent is $450/mo, my work pays for my cell phone, and i own my car. Dec 18 19:49:29 everything is about timing. of course, I would make some moey during the worst time for the dollar in my entire lifetime. but what the hell. Dec 18 19:49:44 ya, I just paid off my car. figure that lone will save $2500 this year. Dec 18 19:49:44 are you willin to bet your money on android being a huge success Dec 18 19:49:50 also, i get $500/mo bonus checks from work, so i have basically no recurring expenses other than food and entertainment. Dec 18 19:50:04 the best money comes from passive income Dec 18 19:50:06 there's media hype now, but by the end of 2008, it might ave died down Dec 18 19:50:07 what do you do ? Dec 18 19:50:17 davidw: yup. you need to earn money while yo sleep. Dec 18 19:50:27 absentia: nothing special, i make a pretty average software engineer's salary. Dec 18 19:50:31 num: that's the key. Dec 18 19:50:32 i also don't have student loans of any kind. Dec 18 19:50:39 but it is java. although, I prefer C++ .... Dec 18 19:51:00 I would make a product independent of android, but with an android interface. Dec 18 19:51:08 I kind of skipped c++... it doesn't really appeal to me Dec 18 19:51:09 i just have found a way to really make my money build capital instead of pissing it away. Dec 18 19:51:11 so it wouldn't matter if android was successful or not. Dec 18 19:51:36 to me,java is c++ with training wheels. Dec 18 19:52:45 that's probably why they chose it Dec 18 19:52:57 so the developer base is as large as possible Dec 18 19:53:06 absentia: I don't want to start a flame war, but Google must have thought java was better to have chosen it Dec 18 19:53:08 sorry, potential developer base Dec 18 19:53:17 yes, please, let's not start a flame war. Dec 18 19:53:27 nobody here likes either Java or C++, can't we just leave it at that? :) Dec 18 19:53:34 num: there are certain positives.. dime a dozen programmers.. sandbox.... etc. Dec 18 19:53:48 right, Hecl is better Dec 18 19:54:07 high level assembly? Dec 18 19:54:16 eh? Dec 18 19:54:32 that's C: all the power of assembly, with all the ease of use of assembly Dec 18 19:55:17 :-) Dec 18 19:55:25 C is just macro assembly. Dec 18 19:55:32 careful. Dec 18 19:55:50 I never got into C, but I love C++ Dec 18 19:55:56 ew Dec 18 19:56:01 i am an unusual breed being a heavily seasoned C programmer, and i will not hesitate to rip you all a new one :) Dec 18 19:56:06 of course, I started with java in '95 ... Dec 18 19:56:28 there's nothing wrong with C at all -- it's a great small language. Dec 18 19:56:30 i also love c++, with all of it's ambigious language features and wierd syntax error msgs Dec 18 19:57:08 that's like saying you like lisp for the white space. Dec 18 19:57:15 exactly. Dec 18 19:57:26 * davidw likes C a lot, but has no occasion to use it these days Dec 18 19:58:20 what's happening on #startups? Dec 18 19:58:21 i remember doing brew development last yer using the gnu toolchain Dec 18 19:58:28 absentia, not much Dec 18 19:58:30 using static variables would brick the phone Dec 18 19:58:38 no rtti Dec 18 19:58:38 nice Dec 18 19:58:53 no stl Dec 18 19:59:00 no standard packages at all Dec 18 19:59:02 ha Dec 18 19:59:27 that's the beauty of c++, you never know what you get when you switch from platform to platform Dec 18 19:59:38 one could say that it's like a box of chocolates :X Dec 18 19:59:41 sure you do. Dec 18 19:59:42 "a headache" Dec 18 19:59:43 shouldn't hate the language due to someone's shitty implementation of it Dec 18 20:00:04 life is like a box of C++? Dec 18 20:00:09 C is small and simple and has no frills - C++ is big and complex and still doesn't have some important frills like GC Dec 18 20:00:13 life is like a C++ compiler, you never know what you're gonna get? Dec 18 20:00:14 naw. Dec 18 20:00:16 not quite the same. Dec 18 20:00:31 c++ shouldn't have GC Dec 18 20:00:57 once size doesn't fit all. if you need or want a GC, you implement one..and there are many out there.. many far better than, say, java's gc Dec 18 20:01:09 you get and use the one that works best for your particular needs. Dec 18 20:01:15 I don't see an issue with this. Dec 18 20:01:22 you can use reference counting pointers for most memory managment issues Dec 18 20:01:37 RAII, baby. Dec 18 20:01:57 I don't know... the whole thing just strikes me as a big messy hairball Dec 18 20:01:59 woo! :) Dec 18 20:03:43 I wish I could get someone to pay me to talk about programming languages all day;-) Dec 18 20:03:52 * absentia waves. Dec 18 20:03:57 they call it "consulting" Dec 18 20:07:24 yeah, but it's not easy to find gigs at that level Dec 18 20:08:28 I walked away from a $150K/yr consulting job because they wanted me to use windows. Dec 18 20:08:33 whenI was hired as a solaris admin Dec 18 20:08:48 all travel, hotel and food paid... all I did was earn income. Dec 18 20:08:55 but still not worth the stress/hassle of using windows. Dec 18 20:09:18 no joke Dec 18 20:09:27 the last time I had to use windows, I put together this, but... yeah, it's an awful experience: http://www.welton.it/articles/windows_for_linux_users.html Dec 18 20:10:22 well Dec 18 20:10:27 mymachine was rebooting 6 times a day Dec 18 20:10:37 and it would take 20 minutesd to get back to where I was in the apps I was developing, etc. Dec 18 20:10:50 and then there was the 1 out of 4 chance that the crash would corrupt my work. Dec 18 20:10:55 after 2 weeks, I said forget it. Dec 18 20:11:20 plus it was solid 12 hour days and then the boss wanted to go out and party all night. Dec 18 20:12:08 there's more to life than money. Dec 18 20:17:16 so.. back to android. Dec 18 20:18:27 yeah... let's see if we can copy what dims is doing with Hecl Dec 18 20:18:29 for fun Dec 18 20:19:32 sweet Dec 18 20:22:51 what's that ? Dec 18 20:24:03 It anyone else having troubles with playing music Dec 18 20:24:06 ? Dec 18 20:25:54 absentia, http://davanum.wordpress.com/2007/12/18/android-task-manager-primitive-prototype/ Dec 18 20:26:03 he's doing lots of good hacking on android Dec 18 20:27:31 Hi Dec 18 20:27:31 who can help me? Dec 18 20:27:55 911? Dec 18 20:27:59 ;) Dec 18 20:28:09 thanks Dec 18 20:29:56 cutmasta no -) Dec 18 20:30:13 ok.. some question.. Dec 18 20:30:45 1) android - unix mobile system writed on java? Dec 18 20:33:19 I'll take Google for 200, Alex Dec 18 20:34:27 NumBeast, what probloems do you have Dec 18 20:34:48 what's up Dreadddddd Dec 18 20:35:11 cutmasta, to pu tis simply, I can't read any music except the preloaded Dec 18 20:35:21 hmm Dec 18 20:35:24 *to put it simply* Dec 18 20:35:29 i pushed an mp3 file to the emu Dec 18 20:35:34 and the simple played it Dec 18 20:35:38 a 1 liner Dec 18 20:35:48 mp.create() returns a null player Dec 18 20:35:54 mom Dec 18 20:36:13 NumBeast what's up = hi ? -) Dec 18 20:36:13 NumBeast Sorry but I am not a nigga $) Dec 18 20:36:23 MediaPlayer mp = new MediaPlayer(); Dec 18 20:36:23 try { Dec 18 20:36:23 mp.setDataSource("/data/call.mp3"); Dec 18 20:36:23 mp.prepare(); Dec 18 20:36:23 mp.start(); Dec 18 20:36:43 NumBeast, thats all Dec 18 20:36:51 I know it works Dec 18 20:37:01 it works for me when I point it at any system file Dec 18 20:37:26 yes, playing from any URL does not work here also Dec 18 20:37:27 but when I adb push to the device, and try to play the file, I get silence Dec 18 20:37:49 I tried a chmod from the shell, but that doesn't work Dec 18 20:37:59 I can't play from an SD card either Dec 18 20:38:28 hmm Dec 18 20:38:39 i piushed the mp3 per commandline Dec 18 20:39:20 1) android - unix mobile system writed on java? Dec 18 20:40:16 * Lede goes into facepalm mode Dec 18 20:40:32 android - linux running a java VM Dec 18 20:41:37 I'm running Ubuntu Linux - 7.10 Dec 18 20:41:53 any ideas? Dec 18 20:42:56 ok Dec 18 20:44:20 android write port on QC MSM7260 Dec 18 20:44:20 ? Dec 18 20:45:50 what? Dec 18 20:45:58 sorry, I didn't understand Dec 18 20:48:21 Dreadddddd lol, I finally got what you were saying Dec 18 20:49:01 Dreadddddd what's up was my way of saying, "what's your problem", "what are you asking about", "how can I help you",etc Dec 18 20:49:31 chipset Dec 18 20:49:31 kernel write for what chipset? Dec 18 20:49:31 MSM7260 ? Dec 18 20:49:32 Quallcom? Dec 18 20:49:53 one sec, I think I know Dec 18 20:50:08 -) Dec 18 20:50:13 sam ti lol Dec 18 20:50:58 Qualcomm MSM7200 Dec 18 20:51:06 as far as I know Dec 18 20:51:26 http://www.helloandroid.com/node/117 Dec 18 20:56:55 NumBeast where a u ? Dec 18 20:56:55 ok Dec 18 20:57:57 and.. MSM6250 will be suported in future ? Dec 18 21:03:20 idk Dec 18 21:03:23 might be Dec 18 21:03:36 but I think it's more of phones being made for the kernal Dec 18 21:03:44 than the kernal being made for phones Dec 18 21:04:16 Dreadddddd MSM6250 and 7200 is too diferent ? Dec 18 21:05:54 Dreadddddd MSM6250 and 7200 is too diferent ? Dec 18 21:06:34 idk Dec 18 21:10:22 idk ? Dec 18 21:10:24 sdk ? Dec 18 21:10:34 idk: I don't know Dec 18 21:10:47 bugaga Dec 18 21:10:49 -) Dec 18 21:11:06 ãû Dec 18 21:11:08 ãû = lol Dec 18 21:11:18 -) Dec 18 21:16:11 there are a lot of ddddddddds on my screen Dec 18 21:18:52 could dread do a /nick plz Dec 18 21:18:57 plz plz plz Dec 18 21:35:20 hmm, the "My Google Groups Topics" iGoogle gadget doesn't seem to work right. Dec 18 21:38:58 is a new version of the sdk out yet? Dec 18 21:39:05 as of like a week ago, yes. Dec 18 21:39:18 does the emulator have all of the apis implemented? Dec 18 21:39:25 m3-rc37a Dec 18 21:39:30 no. Dec 18 21:39:40 do you know the link to the changes page? Dec 18 21:39:55 i'm sure you can find it, being the resourceful gentlemen that you are. Dec 18 21:40:03 fair enough Dec 18 21:41:40 hrm Dec 18 21:42:00 doesn't look like it's worth upgrading :X hopefully they'll put out an upgrade that supports ALL the apis they've listed before jan Dec 18 21:42:13 you could start at code.google.com/openintents and click the big link that says new sdk released Dec 18 21:42:24 lol Dec 18 21:42:30 does it have camera support Dec 18 21:42:44 not yet Dec 18 21:42:44 dont know, but it doesn't have nio support Dec 18 21:42:55 but let me find a link, somebody got around that for you Dec 18 21:42:56 use io Dec 18 21:42:57 obv Dec 18 21:43:16 http://helloandroid.com/node/142 Dec 18 21:43:56 interesting Dec 18 21:44:09 now they just need to make it > 1.3mp Dec 18 21:45:06 patience man Dec 18 21:45:17 indeed Dec 18 21:47:45 how can I develop for android under solaris 10? Dec 18 21:48:48 you can't :/ Dec 18 21:49:25 well, you could try porting the emulator :) Dec 18 21:49:34 although i suspect it would be difficult to do Dec 18 21:49:51 I'd wait for more source to be released Dec 18 21:50:47 sleepcat: you probably need a *nix emulator Dec 18 21:51:02 solaris is *nix :P Dec 18 21:51:42 why would you use solaris 10 anyway.. Dec 18 21:51:45 yah it doesn't get much more *nix than that Dec 18 21:52:20 solaris 10 is the best unix OS Dec 18 21:53:19 nowai dood solaris 11 man totally Dec 18 21:53:46 does anyone know if android's bt lib supports l2cap communication? Dec 18 21:53:51 i dont see anything in the api docs about l2cap Dec 18 21:55:45 lol, then the emulator is an elf executable I think Dec 18 21:55:57 you should be able to just run it in solaris then Dec 18 21:56:36 NumBeast: so which one do I download? The LInux SDK? Dec 18 21:57:19 yeah Dec 18 22:00:13 i need a new pc Dec 18 22:00:28 eclipse + firefox is just too much Dec 18 22:00:49 Lede: just don't run them at the same time :P Dec 18 22:01:07 haha, yeah that would work Dec 18 22:02:19 my favorite thing about eclipse is that it has completely unseated emacs for the title of "most bloated editor in the universe" Dec 18 22:02:40 by an order of magnitude Dec 18 22:02:57 and it still sucks compared to emacs, except for the fact that it knows java inside and out Dec 18 22:03:07 meh Dec 18 22:03:09 benley but it looks better XD Dec 18 22:03:19 * benley sticks to vim when he's not doing android tutorials for the most part :-P Dec 18 22:03:41 (but I leave emacs people alone since they tend to have a clue) Dec 18 22:03:48 i hav erecently been trying to use eclim :) Dec 18 22:03:50 just wait for someone to write a complete eclipse IDE plugin for emacs.. in lisp.. Dec 18 22:29:05 how can i read i file i need in my application? Dec 18 22:29:24 so i want to read a simple txt file and load it via FileInputStream Dec 18 22:29:30 how can i do this Dec 18 22:29:55 must i pack it into my apk file or push it do the emu?? Dec 18 22:32:33 cutmasta: no, but you can put it in the apk. if the file is static, then you should. Dec 18 22:32:50 this is well covered by google's documentation (storing and retrieving data) Dec 18 22:33:17 jasta, i ` ll have a look Dec 18 22:33:19 thank you Dec 18 22:33:31 and yes, its static Dec 18 22:33:43 simple txt file i need for init my app Dec 18 22:35:25 * sleepcat requests android support for solaris Dec 18 22:36:05 cutmasta: put it in the raw resources, and then simply open it as you will see in the documentation. Dec 18 22:36:08 you can get an InputStream to it. Dec 18 22:36:26 speaking of sleepcat when did oracle get berkeley db? jesus it is hard to even find the download now, much less the docs Dec 18 22:37:28 last year? Dec 18 22:37:31 jasta, yep Dec 18 22:37:36 i just did that Dec 18 22:37:38 now compiling Dec 18 22:37:40 :) Dec 18 22:41:01 any google people around? Dec 18 22:41:56 only unofficially Dec 18 22:42:23 unofficailly, does google use solaris? Dec 18 22:42:38 a little. Dec 18 22:42:38 what about postgresql? Dec 18 22:42:47 probably, but I don't know about postgres Dec 18 22:42:58 i hope they don't use mysql Dec 18 22:43:17 the answer to "does google use X?" is generally "yes", but it's not always widely used. Dec 18 22:43:45 it's publicly known that google uses mysql. Dec 18 22:43:52 somebody knows which Algorythms are implemtend on android? Dec 18 22:44:11 sleepcat: http://www.mysql.com/customers/customer.php?id=75 Dec 18 22:44:11 because i get NoSuchAlgorithmException: KeyManagerFactory SunX509 implementation not found Dec 18 22:44:27 why use mysql over postgresql? Dec 18 22:44:33 it doesn't make any sense! Dec 18 22:46:53 eh, does mysql even support clustering? Dec 18 22:47:02 Lede, yes Dec 18 22:47:11 scary Dec 18 22:47:14 but i also like pgsql more than mysql Dec 18 22:47:43 well i was just wondering if there's any plans to use a newer version of the apache.harmony libs in android, so that we can use the network channels for java.nio Dec 18 22:48:06 cos if thats the case, i'll update my emulator and carry on using nio Dec 18 22:48:26 Lede: check out some of the talks about mysql at google - they mostly say that clustering is unnecessary Dec 18 22:49:31 hmmm rdbms agains storage engine Dec 18 22:49:50 mysql is pretty brainless Dec 18 22:49:56 but people love using brainless stuff Dec 18 22:50:58 morrildl, can you help me to find out why i get the "KeyManagerFactory SunX509 implementation not foun" Dec 18 22:51:20 pgsql +1 Dec 18 22:51:48 take it to #flamewars-about-databases :-P Dec 18 22:52:33 * davidw goes to sleep, actually Dec 18 22:53:09 good idea. More productive. Dec 19 00:14:06 cybereagle: there is at least one problematic NIO bug, that should be fixed in the next SDK release (not 37a) Dec 19 00:16:02 and the problematic io bug is that nio hasn't been implemented yet in the SDK Dec 19 00:16:13 hey morrildl do you know if the reason you can only have 1.3MP photos is because of memory? Dec 19 00:16:31 nio* Dec 19 00:16:59 duey: I didn't know that was the case :) Dec 19 00:17:14 it could be fixed Dec 19 00:17:15 duey: what are you trying to do? Dec 19 00:17:18 heh Dec 19 00:17:22 secret!! Dec 19 00:17:26 image processing Dec 19 00:17:41 morrildl: do you know if udp nio will be implemented int he next release? Dec 19 00:18:07 duey: well, I don't mean what app are you trying to write, I mean are you trying to save an image and it won't save over a certain size...? Dec 19 00:18:19 duey: or are you using the camera API and it's not working correctly...? Dec 19 00:18:23 the max canvas size is 1.3MP Dec 19 00:18:26 sec Dec 19 00:18:28 ill get the docs Dec 19 00:19:04 "The CameraDevice class is used to open/release the camera driver, set image parameters and capture a preview frame (320*240 pixels) or a full-resolution image (1280*1024 pixels)" Dec 19 00:19:38 i understand the general camera phone these days is 1.3MP Dec 19 00:19:50 but higher end phones are 5MP Dec 19 00:21:28 jerkface03: I thought it was already in there Dec 19 00:21:43 It could be it got pulled out for not being stable enough in time for M3 though Dec 19 00:22:25 morrildl: well i tried it with the initial SDK and i got a linkerror Dec 19 00:22:31 has it been included in the dec 14 rls? Dec 19 00:23:15 jerkface03: well, it has docs in the package list for it Dec 19 00:23:24 I have not manually looked into the JAR Dec 19 00:23:58 ya i've seen the docs, its just that the methods dont lead anywhere :) Dec 19 00:30:21 jerkface03: well, the platform & core libraries didn't change much (or at all) in RC37A Dec 19 00:30:31 so if it isn't working in the previous release, it's not likely to in RC37a either Dec 19 00:30:47 that said, I'm looking at the classes now Dec 19 00:30:53 and they're definitely in there :) Dec 19 00:33:53 jerkface03: what specific classes are missing? Dec 19 00:33:58 (or not working?) Dec 19 00:34:54 maybe im not being clear enough in my explination of the problem Dec 19 00:34:55 just a moment Dec 19 00:36:40 im not saying that any particular class or method doesn't exist Dec 19 00:36:58 what i am saying is that it's giving me back an UnsatisfiedLinkError Dec 19 00:37:17 which i believe means that the method is marked as native Dec 19 00:37:28 but isn't pointing anywhere Dec 19 00:37:41 "Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native. " Dec 19 00:38:26 am i making a bit more sense now? Dec 19 00:39:12 DatagramChannel.open(); <-- this is the offending call Dec 19 00:45:22 ahhh Dec 19 00:45:26 that's a different beast :) Dec 19 00:46:22 do you atleast know if a new sdk build is going to come out with it implemented before january Dec 19 00:49:31 jerkface03: okay, it "shouldn't" Dec 19 00:49:39 it shouldn't what? Dec 19 00:49:40 there "should" be a native implementation Dec 19 00:49:49 whether that works or not is an open question Dec 19 00:49:51 ok, well, maybe i forgot to install something Dec 19 00:49:54 is it working for you? Dec 19 00:50:02 jerkface03: you shouldn't need to install anything, it should just work Dec 19 00:50:11 can you send me a small code sample that reproduces it? Dec 19 00:50:26 maybe, just a moment Dec 19 00:55:53 http://pastebin.ca/822883 <-- here you go Dec 19 00:56:05 took out the mounds of RUDP code to make it easy to spot :) Dec 19 00:56:13 line 39 throws the error Dec 19 00:56:32 basically calling DatagramChannel.open() always throws the error Dec 19 01:12:02 jerkface03: thanks Dec 19 01:12:21 It's also probably worth noting that we don't know how well UDP is going to be supported on actual real-world carrier networks Dec 19 01:12:52 obviously the code should still work, but you should also probably consider using TCP if you can since it will probably be better supported Dec 19 01:14:03 well the major carrier here supports UDP communication on standard data packages Dec 19 01:14:11 morrildl, re NIO, would you say it'd be ok for me to continue down the nio road while waiting for the next sdk? i mean assuming i can manually patch it to work on my emulator that is Dec 19 01:14:29 i'm fairly certain cingular at&t does aswell, since i did work for a company that hammered their network alot Dec 19 01:15:16 in anycase, is there anywhere i can go to submit a bugreport? or does telling you take care of that matter? Dec 19 01:15:32 jerkface03: I entered a bug in the internal system we used Dec 19 01:15:46 we're trying to come up with a way to sync the internal system with an external system Dec 19 01:15:53 ahh k, thank you. Dec 19 01:15:58 hopefully it'll be fixed soon :) Dec 19 01:16:07 as far as the udp thing goes, i believe that no networking channels are implemented in the apache.harmony libraries in the current sdk Dec 19 01:16:09 and i can go ahead and work on my submission Dec 19 01:16:10 cybereagle: if it's included in the JARs, it should work Dec 19 01:16:14 which is the same problme i'm having with SocketChannel Dec 19 01:16:18 so far i've only been able to test my code with J2SE :) Dec 19 01:16:33 cybereagle: that sounds consistent with what jerkface03 reported :) Dec 19 01:17:02 well, as long as its gonna be in a later release, i can load up some newer harmony libs locally (in theory) Dec 19 01:17:05 so thats cool :) Dec 19 01:17:28 cybereagle: if you end up patching it, don't hesitate to drop me a line :X Dec 19 01:17:39 heh will do Dec 19 01:22:57 morrildl: 1 more thing to ask. Do you have any idea when bt support will be added into the SDK? and do you know if it'll support communicating via strictly the l2cap layer? Dec 19 02:04:01 Hmm, will Android applications have the capabilities of using jar files not part of the Android SDK? Like say you wanted to use an Apache commons project or something like that... doesn't seem to be a problem in the toy app... but how will they do it on the actual phone? Dec 19 02:04:22 You'd need to package the jar file into the apk file and I don't think that's part of the build process... Dec 19 02:08:56 you could put it in your apps resources to get it in the apk file Dec 19 02:09:30 but i dunno how easy it'd be to access it to run from it give the file permissions it'd have Dec 19 02:14:12 yeah, haven't seen it mentioned by Google anywhere in the docs, but I haven't really looked. Unless it's a hardware or architectural impossibility, I find it hard to believe Google won't allow some way of using external jar libraries. Dec 19 02:14:24 That's a big advantage to using Java. hmm we'll see. Dec 19 02:28:05 well you can load them on to the emulator using adb push Dec 19 02:28:43 i dunno how simple it'd be on a real device Dec 19 02:36:38 there'll probably be a usb port you can interface to on the real device Dec 19 02:36:54 so you can do an adb push, with restrictions Dec 19 02:37:02 that way no scripts are broken **** ENDING LOGGING AT Wed Dec 19 02:59:57 2007