[12:30] <Elpram> well im just going into my second year in computer science
[12:30] <Elpram> so i dont have any projects that ive worked on besides programming assignments
[12:31] <Elpram> but im familiar with python, java, C, and bash, and can pick up any other language as needed
[12:31] <asac> cool
[12:31] <asac> so you are interested in real-development vs. packaging?
[12:32] <Elpram> im going to go with real-development because im not entirely sure what you mean by packaging
[12:32] <asac> :)
[12:32] <asac> packaging needs development too ... but its nothiner that is usually visible in the application itself
[12:32] <Elpram> ah, i see
[12:32] <asac> ok
[12:32] <Elpram> and what would that consist of
[12:33] <asac> we have multiple things going on that are important and need coding :)
[12:33] <Elpram> id just like to be put where i can be of use
[12:33] <Elpram> ah, this is good news
[12:33] <Elpram> any language of preference?
[12:33] <asac> we have a python thing:
[12:34] <Elpram> i just downloaded SPE if that is of any use
[12:34] <asac> its about firefox-distro-addons ... which will allow us to integrate debian packages into the mozilla plugin wizard
[12:34] <asac> for that we have to create a database that contains plugin package information
[12:35] <asac> its basically a small program on its own ... and should be fairly simple
[12:35] <asac> i already have some code ...
[12:35] <Elpram> so basically something like synaptic, but for mozilla plugins?
[12:36] <asac> hmmm ... do you know the mozilla plugin wizard?
[12:36] <Elpram> fraid not
[12:36] <asac> firefox plugin wizard
[12:36] <asac> if you miss a plugin for some content you get an area with a puzzle piece in the webpage ... you saw that?
[12:37] <Elpram> oh
[12:37] <Elpram> righto
[12:37] <Elpram> yeah, ive noticed it tends to not find anything :P
[12:37] <asac> yes ... if you click on it ... firefox opens a plugin wizard ... one component invokes a webservice
[12:37] <Elpram> right
[12:37] <asac> that brings info of what extensions can be installed from where
[12:37] <asac> to serve that content
[12:37] <Elpram> alright
[12:37] <asac> now ... it doesn't work with packages
[12:37] <Elpram> ah
[12:38] <asac> e.g. people will install plugins from upstream sites
[12:38] <Elpram> so it just works with like a file somewhere
[12:38] <Elpram> or it just directs to an url
[12:38] <asac> basically ... its a database on the webserver site
[12:38] <asac> and firefox submits info like version, architecture, et al
[12:38] <asac> the webservice returns xml with info
[12:38] <Elpram> k
[12:39] <asac> i have someone who wants to work on that webservice ... but in order to start with it, we need a database
[12:39] <asac> that contains the info
[12:39] <asac> now ... we already uploaded packages that have that kind of meta information in their package description
[12:39] <Elpram> k
[12:39] <asac> the task is to build a program that iterates through all packages and extracts that information ...
[12:39] <Elpram> and sends it to the database
[12:40] <asac> then it would either inject that data to the datbase directly, or sends out sql commands to console
[12:40] <Elpram> k
[12:40] <asac> right ... the latter would allow you to use command line tools to fill database
[12:40] <Elpram> sounds doable
[12:40] <asac> yeah wait
[12:40] <Elpram> k
[12:40] <asac> http://people.ubuntu.com/~asac/npp_cache_dump.py
[12:40] <asac> that is almost ready ;)
[12:40] <asac> but it needs some care
[12:41] <asac> ok .. i have taken care that the python api for apt/dpkg has been improved for our purpose
[12:41] <Elpram> alright
[12:41] <asac> you see the file
[12:41] <asac> ?
[12:41] <Elpram> got it d/led
[12:42] <asac> do you know how debian package information looks like?
[12:42] <Elpram> havent the faintest clue
[12:42] <asac> ok its simple
[12:42] <asac> wait
[12:43] <Elpram> http://www.ibm.com/developerworks/linux/library/l-debpkg.html
[12:44] <Elpram> would that be a good way to learn?
[12:45] <asac> http://codebrowse.launchpad.net/~asac/firefox/ubuntu-2.0.0.x/annotate/asac%40jwsdot.com-20070719095124-di7t53q98djslrg4?file_id=control-20070321172126-hx4btlytc64jyo4n-4
[12:45] <asac> look at that
[12:45] <asac> just the first 20 lines
[12:45] <asac> its the package description ... contains name of source ... and binary files .. description and dependenceies
[12:45] <asac> et al
[12:45] <asac> ok
[12:45] <asac> always just a Tagname: some-content-like-name-or-description
[12:46] <asac> its not really important
[12:46] <Elpram> right
[12:46] <asac> but now we do add Extended headers to add meta info about plugins, like what content/mime-type they serve:
[12:46] <asac> http://launchpadlibrarian.net/8309042/sun-java5.debdiff
[12:46] <asac> thats the update for sun that hjmf prepared
[12:47] <Elpram> k
[12:47] <asac> ok ... if you look back at code you see that its basically a simple for loop
[12:47] <asac> for pkg in cache: ...
[12:47] <asac> it iterates through all packages
[12:47] <Elpram> right
[12:48] <Elpram> we want the meta data for every single package?
[12:48] <asac> then you see how it extracts the content of those headers
[12:48] <asac> yes ...
[12:48] <asac> most packages don't have any
[12:48] <asac> only plugins
[12:48] <Elpram> ah
[12:48] <Elpram> k
[12:48] <asac> but you have to iterate through all
[12:48] <asac> to find
[12:48] <Elpram> right
[12:48] <asac> ok ... that info needs to go to a datbase
[12:49] <asac> that is what dump_combination on top does
[12:49] <asac> and you see that i dump a db entry for each mime_type + app_id combination
[12:49] <Elpram> yup
[12:49] <asac> because each plugin can serve N mime-types and app-ids
[12:49] <asac> ok
[12:50] <Elpram> so
[12:50] <asac> ok ... its almost done ... however
[12:50] <Elpram> whats left to code in this script
[12:50] <asac> there is a tricky thing missing
[12:50] <asac> ;)
[12:50] <Elpram> hehe
[12:50] <Elpram> oh course
[12:50] <Elpram> of*
[12:50] <asac> all starts with cache = Cache()
[12:50] <asac> you see that?
[12:50] <Elpram> right
[12:51] <asac> yes ... thats bad because it uses the apt info that is in your computer apt cache
[12:51] <Elpram> which can be out of date
[12:51] <asac> which means: you only see packages for the architecture you are on
[12:51] <asac> ... yes and to update it you need root access
[12:51] <Elpram> that too
[12:51] <Elpram> suck
[12:51] <asac> yeah ... but you can provide a path to Cache
[12:51] <asac> look in the API
[12:52] <asac> its /usr/lib/python2.5/site-packages/apt
[12:53] <asac> the constructor impl of Cache: http://pastebin.mozilla.org/157137
[12:53] <asac> you see you can pass a rootdir
[12:54] <asac> a few lines below you see that it looks for /var/lib/dpkg/status
[12:54] <asac> beneath that rootdir
[12:54] <asac> ok ... work needed is:
[12:55] <asac> download Packages files for all architectures
[12:55] <asac> put them somewhere beneath /var ... look in the cache.py code to see where
[12:55] <asac> and run the current script on them :)
[12:56] <Elpram> uh
[12:56] <Elpram> question
[12:56] <asac> yeah
[12:56] <asac> go ahead
[12:56] <Elpram> how much space will that take up?
[12:56] <asac> was too fast i guess ;)
[12:56] <asac> doesn't matter
[12:56] <Elpram> well no, i only have 2gb free here ;P
[12:56] <asac> for now we don't have that many plugin packages
[12:56] <asac> yeah that is much moire than you need
[12:56] <Elpram> ah
[12:56] <Elpram> oh right
[12:56] <Elpram> its just the package files
[12:56] <Elpram> not the files themselves
[12:56] <Elpram> sorry
[12:56] <asac> you need maybe 10 Packages files that are each max. 6mb
[12:56] <Elpram> blonde moment
[12:56] <asac> the datbase is small
[12:57] <asac> yes
[12:57] <asac> just the Packages file
[12:57] <Elpram> okay
[12:57] <Elpram> so
[12:57] <Elpram> i understand what needs to be done
[12:57] <Elpram> can i do it
[12:57] <Elpram> right now
[12:57] <Elpram> no
[12:57] <Elpram> but i will teach myself
[12:57] <Elpram> so dont expect it tomorrow
[12:57] <Elpram> but ill figure it out
[12:57] <asac> yeah ... just do a basic implementation first
[12:57] <asac> can be rudimentary
[12:58] <asac> sure ;)
[12:58] <asac> would be great
[12:58] <Elpram> any deadline on this?
[12:58] <asac> yeah ;)
[12:58] <asac> yesterday
[12:58] <Elpram> haha
[12:58] <Elpram> good
[12:58] <asac> no ...
[12:58] <asac> the sooner the better
[12:58] <Elpram> k
[12:58] <Elpram> ill get right on it
[12:59] <Elpram> thanks a bunch
[12:59] <Elpram> gotta get some supper
[12:59] <asac> yeah ...
[12:59] <asac> thanks
[12:59] <asac> if you need info ... let me know :)
[12:59] <Elpram> will do
[12:59] <Elpram> thanks
[12:59] <Elpram> cya
[07:43] <hjmf> morning
[07:59] <hjmf> hmm, trying to reproduce bug 126917 would be hard
[07:59] <ubotu> Launchpad bug 126917 in firefox "With many tabs open, requesting print preview causes instant crash" [Undecided,New]  https://launchpad.net/bugs/126917
[08:01] <hjmf> The provided test case states: ...main window has 176 tabs open... [...]  ... tab 173 is two pages long....
[08:02] <hjmf> if main window has 176 tabs open, might mean that could be other "no main window" firefox windows with a similar number of tabs opened...
[08:02] <hjmf> crazy
[08:03] <hjmf> rofl :D
[08:03] <Admiral_Chicago> there is no need for that many tabs
[08:03] <Admiral_Chicago> it ends up destroying the need for tabbed browsing
[08:04] <hjmf> yeah, the max number of tabs  I ever had open it might be less than 20
[08:04] <hjmf> you can get lost with that number
[08:04] <hjmf> :)
[08:05] <hjmf> the reporter easily can provoke a DoS on the whole internet if he continues doing that :) j/k
[08:05] <Admiral_Chicago> i usually do like 6 browsing for email and the like and another window for work
[08:06] <Admiral_Chicago> yea, he'll netsplit the internet
[08:06] <hjmf> also he states that if he tries to RESTORE that damn session the crash happens again
[08:06] <hjmf> crazy
[08:06] <hjmf> :)
[08:09] <hjmf> I'm off for now
[08:09] <hjmf> cy Admiral_Chicago
[08:11] <Admiral_Chicago> bye hjmf
[09:10] <Admiral_Chicago> ondra_AllPeers: welcome back
[09:10] <Admiral_Chicago> btw, that is a great application the team is developing
[03:13] <lu> hi
[03:14] <lu> someone helpme to see qt in firefox on ubuntu 7.04 ?
[03:14] <lu> sorry for my english , i'm italian
[04:02] <asac> ondra_AllPeers: ping
[04:02] <asac> ondra_AllPeers: you are all peers dev right?
[04:02] <asac> ondra_AllPeers: in latest gutsy we ship compatibility links for libnspr and libss
[04:03] <asac> so you don't need to link those in statically
[04:39] <ondra_AllPeers> asac: back
[12:20] <Admiral_laptop> hmm, looks like bug 127235 is a problem
[12:20] <ubotu> Launchpad bug 127235 in firefox "All Add-ons are broken after 2.0.0.5 upgrade" [Undecided,New]  https://launchpad.net/bugs/127235