IRC log for #maemo-ssu on 20120217

00:00.47DocScrutinizermerlin1991: tztztz, same here
03:23.44*** join/#maemo-ssu amiconn_ (quassel@rockbox/developer/amiconn)
03:33.08*** join/#maemo-ssu psycho_oreos (~no@115.131.15.139)
04:15.31*** join/#maemo-ssu FireFly (~firefly@firefly.xen.prgmr.com)
04:17.17*** join/#maemo-ssu obironbo (~chatzilla@tn-76-7-165-130.sta.embarqhsd.net)
05:23.48*** join/#maemo-ssu mirandir (~valentin@2a01:e35:2e63:5170:7a2b:cbff:fed1:407c)
06:18.48SiceloDocScrutinizer & merlin1991 both ill? harmattanophobia
06:18.50Sicelo:P
07:10.11*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
08:03.11*** join/#maemo-ssu scoobertron (~tom@93.186.147.189)
08:19.59*** join/#maemo-ssu Sc0rpius (~naikel@200.109.42.194)
09:03.15*** join/#maemo-ssu m0use (~m0use@office.wargaming.net)
09:16.34*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
09:27.13*** join/#maemo-ssu DocScrutinizer (~halley@openmoko/engineers/joerg)
09:46.09*** join/#maemo-ssu dafox (~dafox@dyn-194193.nbw.tue.nl)
10:17.28*** join/#maemo-ssu sfb_ (~sfb@i59F6CEFE.versanet.de)
10:27.11*** join/#maemo-ssu andre__ (~andre@Maemo/community/bugmaster/andre)
10:28.40*** join/#maemo-ssu lizardo (lizardo@nat/indt/x-muteujawfdwkklje)
11:40.28*** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm)
11:53.08*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
12:15.26merlin1991somebody got the email from freemangordon?
12:15.35merlin1991Sicelo: quite possibly ;)
12:18.16Sicelo:P
12:19.17Lava_Croft:P
12:19.31Lava_Croftharmattan is cute
12:23.57merlin1991gets major brainfucked handling 3 n900s trying to reproduce bugs on stock, testing and stable
12:24.01Lava_CroftImportant news!!!
12:24.02Lava_Crofthttp://www.bbc.co.uk/news/technology-17058508
12:24.16Lava_Croftrolls his eyes in a most horrid fashion.
12:24.53merlin1991too
12:25.05Lava_Croftmy n900 is patent infringing now
12:25.16Lava_Crofteven tho its slide to unlock thingy is completely and utterly retarded
12:25.18Lava_Croftand out of place
12:25.28merlin1991hehe
12:25.44merlin1991guess why they started all that swype business
12:26.10merlin1991"nono your honour it's totally different, you see you slide from the EDGE of the screen not somewhere ON the screen"
12:26.46Lava_Croft:)
12:27.13Lava_Croftexclusively using the n900 for a while ruins the while swype system anyway
12:27.23Lava_Croftsince with any device, i now automagically to rotate it to landscape
12:27.36Lava_Croftand swyping is odd in landscape
12:27.56merlin1991somebody here who got ovi still enabled on his n900?
12:28.05Lava_Crofti can install shit from ovi
12:28.10merlin1991need to hceck a bugreport against SPB Brain Evolution
12:28.21Lava_Croftrequire me to install it?
12:28.29merlin1991just install it (should be free) and try if it launches from the application launcher
12:28.36Lava_Croftwill do
12:28.37scoobertronI can help out if you need another data point
12:28.45merlin1991that would be perfect
12:28.45Lava_Croftspb created that mediocre TV app
12:28.47Lava_Crofti rememeber that
12:29.20merlin1991btw I'm trying to see if bug #12125 is still valid
12:29.22povbotBug https://bugs.maemo.org/12125 SPB Brain Evolution fails to start
12:29.44Lava_Croftwell, it will take some time to install
12:29.46Lava_Croft:P
12:29.58Lava_Croftovi isnt exactly fast
12:30.00merlin1991hehe
12:30.10Lava_Croftits great to talk about Ovi with apple fanboys
12:30.18Lava_Croftsince its one of the few things you can just completely agree with them on
12:30.51Lava_Croftneed another data point?
12:30.56Lava_Croftcould ask someone else to check it, if he cares
12:31.12Lava_Croftno non-cssu ones tho
12:31.33merlin1991nah just need it on cssu
12:32.02merlin1991and 2 datapoints should be enough
12:32.09merlin1991Pali: ping
12:32.20Palimerlin1991, pong
12:32.41merlin1991when looking at ham, did you ever happen to find the code that decides if there is enough free space?
12:32.58Pali[00:03] freemangordon: BTW why is HAM so slow? --> I found reason: Function in apt-worker which get list of all packages is too SLOW. And this function is called every time when HAM started, when HAM doing update, after installing/uninstalling/updating package. If somebody can optimalize this function HAM will work faster.
12:33.19Lava_CroftPali: i think MAG knew this
12:33.20Paliabout free space: I will try to find it
12:33.21Lava_Croftbut not sure
12:33.33merlin1991Pali: bug in question is bug #12141
12:33.34povbotBug https://bugs.maemo.org/12141 CSSU Not enough space problem false positive
12:33.36Lava_Croftat least he told me something related to HAM being slow once, when i asked about HAM vs FAPMAN
12:33.56merlin1991Lava_Croft: it's obvious that ham is uberfuckingslow :D
12:33.59PaliHAM slow only because that package list function
12:34.02Lava_Croftyes, but the reason is why
12:34.06Paliit is very very slow
12:34.22Lava_Croftyes
12:34.24Palithere is for loop over all known packages
12:34.32Lava_CroftYES got the install thingy
12:34.37Lava_Croft3.9mb, damn
12:34.55Paliand apt-worker check for each package if is installed, if is in user section, if ...
12:35.11Paliand it check for ALL packages
12:35.48Paliso if you enable extras-devel, it check for all extras-devel packages too
12:36.42Palimerlin1991, I cannot do anything now because my internet not working (why IRC working - no idea)
12:36.56PaliHTTP - connect socket timeout
12:37.04Paliso I cannot open bugzilla now
12:37.16merlin1991just write it onto your todo list
12:37.25Lava_Croftmerlin1991: bug unconfirmed
12:37.28Lava_Croftgame runs fine here
12:37.31Lava_Croftlatest cssu
12:37.31merlin1991okay
12:37.41merlin1991scoobertron: did you try too?
12:38.18scoobertronseems to be slow installing, give me a minute
12:38.42Lava_Croftyeah, its slooooow
12:38.59Lava_Croftwant me to check on a fresh n900
12:39.04Lava_Croftwith just cssu installed
12:39.06Lava_Croftnearly no other apps
12:39.27merlin1991nah
12:39.40Lava_Croftgood, i want to use the 2nd n900 as little as possible
12:39.44merlin1991it's most probably related to the broken qt we had at some point
12:39.59Palimerlin1991, I have cloned HAM code, I will look for free space function
12:40.13merlin1991so if scoobertron can confirm it works too, then this is a worksforme :)
12:40.14Lava_CroftPali: going to fix the speed 'problem' too?
12:40.32PaliLava_Croft, no idea how to fix it
12:40.37Lava_Croftaw
12:40.42PaliI already looked at apt-cache search code
12:40.44scoobertronstarts fine.
12:40.54scoobertronI feel my mental knowledge increasing already.
12:40.54Paliand apt-cache has similar code for searching packages
12:41.14Lava_Croftscoobertron: yeah it looks like a class A game! (not)
12:41.25Lava_Croftthankgod removing it is far easier
12:41.26Lava_Croftand way faster
12:46.17merlin1991thanks scoobertron
12:47.41PaliIn HAM code is this for checking if there is enought free space in /home:
12:47.55Paliif ((home_total_space * 8) / 100 > home_free_space) log_stderr ("You don't have enough free space in /home");
12:48.51PaliI have no idea why these constants: 8, 100...
12:48.51merlin1991so it is simply a silly constant
12:49.15Palithis line is reason of that bug
12:50.27merlin1991hm I wonder if we can "fix" that
12:50.31Paliwhy we need 8% free space in /home for installing apps??
12:50.42merlin1991I don't know
12:50.50PaliIf we resize /home then we need more % free space for instaling apps
12:50.53Palithis is bad
12:52.45PaliI think that it should be: if ( home_free_space < MIN ) report_error();
12:53.00Paliand MIN should be about 10MB
12:53.04merlin1991though how would you decide on min?
12:53.07Paliwhat do you think?
12:53.17Palimin space in /home (where is opt)
12:54.04merlin1991bug #12153 is evil, it indeed works on stock pr, but nfc how we fsckd that
12:54.06povbotBug https://bugs.maemo.org/12153 typing contact names when on desktop too fast results in missing second character in contacts application
12:54.07*** join/#maemo-ssu xnt14 (~xnt14@pool-72-89-152-214.nycmny.fios.verizon.net)
12:54.13*** join/#maemo-ssu MohammadAG (~MohammadA@pool-72-89-152-214.nycmny.fios.verizon.net)
13:02.56Palimerlin1991, what is default size of /home (total space)?
13:03.05merlin1991lemme see
13:03.48merlin1991/dev/mmcblk0p2         2064208    316936   1642416  16% /home
13:04.29merlin1991Filesystem           1K-blocks      Used Available Use% Mounted on
13:04.45Paliso 2GB
13:05.26Pali(2GB * 8)/100 is ~ 163MB
13:05.44Paliso you need 163MB free space at /home to install CSSU metapackage
13:06.35Paliwhat do you think is 10 or 20 MB free space at /home enought?
13:11.00merlin1991how big is QT?
13:14.06Palior what about check if required size for installing package is available at /home?
13:14.36merlin1991well we need about  double the size
13:14.48merlin1991the .debs go into /opt/whatever
13:14.58merlin1991and most package content should go into /opt too
13:15.36Palinow HAM checking this: if (size > free rootfs size) error(); if ( 8% of total home > free home) error();
13:16.24merlin1991that is just fucked up
13:17.03merlin1991should be if (size*2 > free home) error(); if (free rootfs < some sane value) error();
13:17.24Paliand this is checked before downloading package and also before installing
13:17.57Paliwhy size*2 ?
13:18.01merlin1991before download
13:18.08merlin1991because the package goes into /opt
13:18.19merlin1991and the pacakge content also goes most probably into /opt
13:19.17merlin1991and it is packed so probably the package content is bigger than the package itself
13:19.50merlin1991(all valid if size is size of the .deb, if size is another value like unpacked size of .deb the whole story is different)
13:20.45PaliI do not know what is size now :-)
13:20.56PaliI see that in HAM is more check function :D
13:21.14Paliit is not easy
13:21.38merlin1991I just got an sms
13:21.47merlin1991I wasnt sure which of the 5 phones on my desk to pick up :D
13:23.06Paliok, that check (which I wrote here) is in apt-worker code and is only for checking if there is enoght size for downloading one package
13:24.25Paliso bug 12141 is caused by this 8% free space
13:24.26povbotBug https://bugs.maemo.org/12141 CSSU Not enough space problem false positive
13:27.54PaliOk, now I understood that stupid apt-worker check function (is_there_enough_free_space)
13:28.19Paliit is called with 2 params: download dir and required download size
13:28.53Paliand it check if there is enought space for downloaing package
13:29.24Palifirst it check if download size is less then free space in download dir
13:29.45Palisecond it check if in /home is more then 8% free space
13:30.20Paliso I think second check is not needed
13:32.05merlin1991if it's only used to check for downloads
13:32.41PaliNow I found that this check fixing bug NB#162465
13:32.51Paliand NB#162465
13:33.08Palidoes somebody have access to nokia bugzilla?
13:33.18merlin1991nope
13:33.24PaliI'd like to know why is this code needed
13:33.52Paliandre__?
13:34.53merlin1991he isn't part of nokia anymore
13:35.08merlin1991I guess he had access, but probably got it revoked by now
13:35.08andre__Pali, "Check that /home has at least 5% of free space before installing anything."
13:35.28Paliandree__, but why?
13:35.44merlin1991andre__: so you still can check the NB?
13:36.35andre__Pali, HAM needs to check for available free space in the /home partition and refuse to proceed with SSU in case space available is less than 5% of overall partition size (this is the reservation limit we set for the partition)
13:36.46andre__Note that a later patch increased this to 8%
13:37.16Paliyes, I found that in HAM git
13:37.21merlin1991sounds like an odd decision
13:37.27andre__why?
13:37.45Palibut this code is in function which checking if there is enoght space for downloaing DEB
13:38.13Paliand it also check if download deb size is enought for downloading to download dir
13:40.37merlin1991andre__: because a % reservation limit on a partition is bs
13:40.58andre__I'm afraid I cannot provide any further info, sorry :-/
13:41.12merlin1991it leads to problems just like the one on the bugtracker where the partition got resized and therefore 8% end up to be something quite different
13:41.12andre__(as there's nothing else to provide, not because I try to keep something secret)
13:41.32merlin1991I guess we should simply clean that check up
13:50.21Palimerlin1991, delete that 8% check?
13:51.40merlin1991I guess so
13:56.46merlin1991finished going over all the bugs we decided on yesterday
13:56.48merlin1991great fun :/
14:15.20*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
14:19.07*** join/#maemo-ssu lizardo (lizardo@nat/indt/x-wonvuwscxwqluhzh)
14:28.30merlin1991DocScrutinizer: ping
14:46.04*** join/#maemo-ssu chainsawbike (~chainsawb@chainsawbike-1-pt.tunnel.tserv25.sin1.ipv6.he.net)
14:54.53DocScrutinizermerlin1991: hm?
15:02.39merlin1991could you pastebin me the output of mount & sdisk -l on your n9?
15:04.03DocScrutinizersure
15:04.13DocScrutinizererr nope
15:04.21DocScrutinizern9???
15:04.50DocScrutinizerI threw the N9 out the window
15:05.02DocScrutinizer;-P
15:06.10DocScrutinizer(actually some poor victim is doing usability field tests with it)
15:07.03DocScrutinizer(8%) sounds rather odd
15:08.19DocScrutinizerI know of a usually 5% reservation for root, but only on rootfs
15:09.01DocScrutinizerI fail to see sound rationale to reserve 8% free space of a $HOME of arbitrary size
15:10.04DocScrutinizeror rather, require 8% free prior to installation of random stuff like e.g. cat
15:10.38DocScrutinizerwhich for all I know wouldn't need any space on /home after installation
15:11.51DocScrutinizeralso user might have resized /home to some 30GB, so where's the rationale in requiring 8% if that for installing anything smaller than libboost?
15:12.17DocScrutinizers/if that/of that/
15:12.47DocScrutinizerlibboost-SOURCES
15:13.20DocScrutinizeror scratchbox
15:18.17DocScrutinizerfor sure apt/HAM will temporarily need free space of same size as the database files it rewrites, assuming this isn't done by modifying the original file but rather writing to a new filehandle that eventually replaces original inode, on which time the original sectors get freed on disk
15:19.40DocScrutinizerwell, actually either than or when last filehandle to the original file gets closed, whatever the later of both
15:19.46DocScrutinizerthen*
15:20.29DocScrutinizerI guess download might have similar schemes, using some temp files or whatever
15:21.53DocScrutinizerbut all that for sure is not related to actual total size of /home, so a calculation like fs-size*8/100 is nonsensical
15:22.14merlin1991just what I said :D
15:22.25merlin1991so whatabout the n9, getting it back anytime soon?
15:22.28DocScrutinizersure
15:22.52DocScrutinizerwhy N9?
15:23.05merlin1991because I have arealyl odd sitution
15:23.29DocScrutinizersounds toxic
15:23.43merlin1991/dev/mmcblk0p2     288512  419583  131072    4194304    0  Empty
15:24.06merlin1991and I wonder wtf is up with that
15:24.20merlin1991<PROTECTED>
15:24.21DocScrutinizerarealylhemichloride
15:26.04DocScrutinizerhmm, and N950 wuldn't help?
15:26.20merlin1991dunno
15:26.28merlin1991I don't know how simliar it really is
15:26.34merlin1991though it for sure doesn't hurt
15:27.34*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
15:28.10DocScrutinizersdisk??
15:28.35DocScrutinizermount & sdisk -l is no proper cmdline
15:29.00DocScrutinizerno sdisk at all here
15:29.57DocScrutinizer/dev/mmcblk0p1         16  288511  288496    9231872    c  W95 FAT32 (LBA)
15:29.58DocScrutinizer/dev/mmcblk0p2     288512  419583  131072    4194304   83  Linux
15:30.00DocScrutinizer/dev/mmcblk0p3     419584  485119   65536    2097152   83  Linux
15:30.01DocScrutinizer/dev/mmcblk0p4          0       -       0          0    0  Empty
15:31.12merlin1991come on you're supposed to first go mount
15:31.35merlin1991then whatever disk util you have
15:31.44merlin1991now where's that mmcblk0p2 mounted?
15:32.38merlin1991/dev/mmcblk0p1         16  288511  288496    9231872    c  W95 FAT32 (LBA)
15:32.38merlin1991/dev/mmcblk0p2     288512  419583  131072    4194304    0  Empty
15:32.38merlin1991/dev/mmcblk0p3     419584  485119   65536    2097152   83  Linux
15:32.38merlin1991/dev/mmcblk0p4          0       -       0          0    0  Empty
15:32.47merlin1991that "Empty" line scares me
15:33.01merlin1991and I'd like to know what it should be and where :D
15:34.22DocScrutinizernowhere
15:34.44merlin1991any idea what fs is on it?
15:35.40DocScrutinizerobviously 83/Linux
15:35.46DocScrutinizer;-D
15:35.53merlin1991could be anything from ext2 to butterfs ;)
15:36.00DocScrutinizer:nod:
15:36.13DocScrutinizerthere's been a cmd to check, alas I forgot the name
15:36.21DocScrutinizerchkblk?
15:36.27DocScrutinizerblkinfo?
15:36.33merlin1991blkinfo sounds like it
15:36.57DocScrutinizernope
15:37.26merlin1991blkid was it on n900
15:37.39merlin1991not present on the n9
15:39.26DocScrutinizer:-/
15:41.46DocScrutinizerhttp://paste.debian.net/156667/
15:41.58DocScrutinizerinitrd?
15:43.33DocScrutinizeror maybe a aux system for flashing?
15:44.08merlin1991tbh I don't want to know :P
15:44.32merlin1991I just hope my n9 keeps running without it
15:49.22DocScrutinizeractually I mounted my rootfs on /mnt
15:50.39DocScrutinizerwell, seems sane, MyDocs / /home
15:51.07merlin1991wtf, where do I have my / then?
15:51.07DocScrutinizermmcblk0p2 is rootfs
15:52.03DocScrutinizerooh, my smart check should've finished
15:53.22DocScrutinizerNum  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
15:53.23DocScrutinizer# 1  Extended offline    Completed without error       00%     32465         -
15:58.45DocScrutinizermerlin1991: /dev/root on / type ext4 (rw,noatime,errors=remount-ro,barrier=1,stripe=8,data=ordered)
15:59.38DocScrutinizernow don't ask me where from they got /dev/root ;-P
16:17.17merlin1991yea
16:17.48*** join/#maemo-ssu MohammadAG (~MohammadA@Maemo/community/contributor/MohammadAG)
17:05.43*** join/#maemo-ssu NIN101 (~NIN@p5DD286E4.dip0.t-ipconnect.de)
17:31.54*** join/#maemo-ssu m0use (~m0use@46.56.142.235)
18:37.33*** join/#maemo-ssu lizardo (lizardo@nat/indt/x-xmcncdstlgjdvrfw)
19:03.03*** join/#maemo-ssu andre__ (~andre@mx-b.hotelavanti.cz)
19:03.03*** join/#maemo-ssu andre__ (~andre@Maemo/community/bugmaster/andre)
20:02.41*** join/#maemo-ssu trumee (~parul@46-64-48-176.zone15.bethere.co.uk)
20:05.27*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
20:08.36*** join/#maemo-ssu andre__ (~andre@Maemo/community/bugmaster/andre)
21:13.11*** join/#maemo-ssu _rd_ (~rd@p57B48ACD.dip0.t-ipconnect.de)
21:53.21*** join/#maemo-ssu trbs (~trbs@2001:470:d2ad:1:4a5b:39ff:fe7d:1623)
22:27.33*** join/#maemo-ssu scoobertron (~tom@93.186.147.189)
23:02.35*** join/#maemo-ssu scoobertron (~tom@93.186.147.189)
23:41.27MohammadAGmerlin1991: Afaik it's not in $PATH but it's there
23:42.28DocScrutinizer??
23:43.48merlin1991oh
23:44.03DocScrutinizergoes throwing up a little, then continues reading about homematic scripting language and dynamic typing - >> integer i = "WTF?!" ! i is a string <<
23:44.06merlin1991DocScrutinizer: /sbin or somehting does not end up in $PATH after devel-su
23:44.46DocScrutinizermeh
23:46.30DocScrutinizerreal r = 2 * 3.5  ! r=6 integer :-C**
23:47.17DocScrutinizervar r = 0.0 + 2 * 3.5    ! r=7.0
23:47.48DocScrutinizerPLEASE SHOOT THIS IDIOT WHO SPECIFIED THAT
23:51.27DocScrutinizerW!T!F!**  after max 5000 iteration the interpreter assumes the loop never terminates and thus aborts the loop
23:52.00DocScrutinizerinteger i = 0;
23:52.02DocScrutinizerwhile (true) { i = i + 1; }
23:52.03DocScrutinizer! i = 5001
23:53.06DocScrutinizerplease also shoot the guy who cooked that crack the other guy consumed prior to writing the specs
23:53.45merlin1991:D
23:54.00merlin1991wtf bs of an script langauge are you currently reading?
23:55.19MohammadAGLooks liken
23:55.42MohammadAGLike C/C++/JS/Java mashed up
23:56.27DocScrutinizerstring liste = "a\tb\tc"; ! Liste { "a", "b", "c" }
23:56.29DocScrutinizerstring ausgabe = ""; ! Ausgabe
23:56.31DocScrutinizerstring index; ! Indexvariable
23:56.32DocScrutinizerforeach (index, liste) { ausgabe = index # ausgabe; }
23:56.33DocScrutinizer! ausgabe = "cba";
23:57.15DocScrutinizerheaddesks
23:57.58DocScrutinizermerlin1991: http://www.homematic.com/fileadmin/pdfs/einleitungen/HM_Script_Teil_1_Sprachbeschreibung_V1.2.pdf
23:59.16merlin1991hehe pure bs :D

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.