**** BEGIN LOGGING AT Wed May 30 03:00:02 2018 May 30 03:09:45 Yes, I still have it. It is “Sygic Mobile Maps 10.16 Maemo With world Collection Of Maps-galedo” that I downloaded in 2011. May 30 05:15:02 jonwil: if you want to stress the hw, you can also try building android May 30 05:15:22 at one point single gcc process is using 5.6G of ram May 30 05:15:23 ;) May 30 05:15:40 that's not accounting for other processes and cache May 30 05:15:55 darn, he is not there May 30 05:19:34 it might've been ld though May 30 06:41:47 brolin_empey: that sounds about right chronologically. also you could switch away with the keyboard shortcuts. May 30 06:46:30 sixwheeledbeast: ACK. May 30 06:48:19 took them a while to admit they where dropping support for maemo and they would never update the maps **** BEGIN LOGGING AT Wed May 30 07:24:24 2018 May 30 07:30:05 For future reference: new polarcell battery is charged to 3.86 V out of the packaging. May 30 07:31:01 * Maxdamantus wonders if that's a typical voltage used for all new Li-ion batteries. May 30 07:36:38 Maxdamantus: 3.7V is just a "nominal" average voltage May 30 07:37:17 I doubt anyone really strive to charge batteries to 3.7V specifically before shipping May 30 07:37:23 +s May 30 07:37:29 I know, just wondering if there's some typical/standard practice for voltage of shipped batteries. May 30 07:37:31 (same for 3.86V here) May 30 07:37:41 ah ... dunno, I'd say "relaxed" May 30 07:37:45 (neither empty nor full) May 30 07:38:24 (not fully relaxed actually) May 30 07:39:08 The new ones seem to have an increased charge rating too (1600 mAh rather than 1500 mAh from last time) May 30 07:39:19 hmm May 30 07:39:30 though according to my N900, the last one was closer to 1600 mAh than 1500 mAh anyway. May 30 07:39:34 mine didn't stay at 1480 max for long anyway May 30 07:39:39 really? May 30 07:40:13 Yeah, it consistently reported an LMD of around 1580 or so. May 30 07:40:21 fuel gauge shows last measured discharge: 1363 May 30 07:40:32 for a 4~5yo battery May 30 07:40:55 though I imagine the exact amount there has more to do with the particular charge/discharge cycle than the composition of the chemicals as at the factory. May 30 07:43:55 Should probably have looked into also getting a battery for the N97 I have while I was at it. Meh. May 30 07:49:07 * Maxdamantus will just break the tab off. May 30 07:51:25 N97 probably also has the charge protection in the phone, right? May 30 07:55:06 l/j #linux-sunxi May 30 07:55:12 3.4.113 is armbian kernel May 30 07:55:21 eh May 30 07:55:24 :p May 30 08:09:15 i would also expect "relaxed" like 60% ish? May 30 08:09:40 Is it the Li-ion or the Li-Po version? May 30 08:10:06 Li-ion May 30 08:11:30 polarcell sells LiPo BL-5J? May 30 08:12:08 IIRC could be wrong tho. May 30 08:12:31 My old one is Li-ion too. May 30 08:20:09 Yep Li-Po 1400mAh BL-5J May 30 08:20:23 Red Label is Li-Po Blue is Li-ion May 30 08:21:15 reduced at the moment to 9,90E May 30 08:33:24 jonwil: if you want to stress the hw, you can also try building android. at one point ld process eats ~5.6G of ram, and that's not accounting rest of the gcc and os May 30 08:33:35 Ouch. May 30 08:37:39 It wouldn't surprise me if building chromium is also a great stress-tester given all the crap Google has in there these days May 30 08:37:56 Although I have never had any desire to build or even use Chromium so I can't comment May 30 08:38:16 yup, that was about chromium part May 30 08:38:36 but might be some system framework collection May 30 08:38:41 I think ld when building Chromium on my i5-4570 already takes a few minutes. May 30 08:40:06 maxd: having 16GB of ram helps May 30 08:40:16 Yeah, I've got 32 GiB. May 30 08:40:19 with 8GB it thrashes caches so has to reload things many times May 30 08:40:32 have fun on 4GB May 30 08:40:38 I would love to be able to upgrade to 16GB on my system (currently got 8GB) May 30 08:40:43 one time i've tried it, it took ~50 minutes May 30 08:40:48 because of all the swapping May 30 08:41:02 I don't think it would've been causing my system to put things in swap. May 30 08:41:25 though I suspect the filesystem accesses would've been a slow point. May 30 08:41:42 Having an SSD is a great way to boost the speed of file I/O on big compiles May 30 08:41:42 * Maxdamantus only started using an SSD on his main computer a couple of months ago. May 30 08:41:50 * Maxdamantus hasn't used Chromium since longer ago than that. May 30 08:42:10 Although I dont have room on my SSD for my vmware image file so it has to sit on my hard disk instead. May 30 08:42:55 Sadly RAM prices are far too high right now for a 16GB upgrade to happen (mostly thanks to illegal cartel conduct by the RAM producers and governments unwilling or unable to actually force the RAM producers to stop ripping everyone off) May 30 08:43:24 Size Used Avail Use% Mounted on; 19T 11T 7.3T 60% /btrfs-hd; 900G 292G 606G 33% /btrfs May 30 08:43:31 * Maxdamantus probably has enough space to try things. May 30 08:43:36 jonwil: with 32GB you can just put whole compile tree in tmpfs May 30 08:43:45 and just snapshot back to hdd when done May 30 08:44:32 I feel sorry for anyone trying to build a new PC right now with the high prices of various components. May 30 08:44:59 buy a board that accepts 8 or more ram modules? May 30 08:45:00 :) May 30 08:45:09 older sticks are cheap May 30 08:46:40 There aren't that many motherboards out there that can take a Skylake Core i5 chip AND use old cheap RAM. My current board (only a fairly recent upgrade) uses DDR4. May 30 08:49:00 Anyhow, time to run this build and see if libxul can link or not (now that I have hopefully fixed the problem causing the it to spit out errors about missing websocket and wyciwyg functions it should now link I hope) May 30 08:50:17 I just hope the assertions I am seeing from LD dont mean the build is failing (although if they were the kind of thing that would result in a failed build or broken output, it wouldn't make sense for the build to continue after encountering such an assertion I would have thought) May 30 08:52:03 jonwil, from my past experiences with ff build, it's very picky about what you enable or not May 30 08:52:18 so just might need magic build config to succeed May 30 08:52:47 Yeah I discovered that turning off websockets and wyciwyg in the necko protocols list causes the link of libxul to fail. May 30 08:53:01 So I fixed that and hopefully this time it will link. May 30 08:57:53 websockets is important in current internet2.0 May 30 08:58:05 half of those interactive sites require it to work May 30 09:00:36 In other news I may need to port TLS 1.2 support to the Fremantle version of QT (which means I need a newer OpenSSL as well) since the backend I am using for the local transit agency in Fahrplan seems to have upgraded to be TLS 1.2 only. May 30 09:00:55 I will know for sure once my phone finishes charging and I can get Fahrplan into the debugger May 30 09:02:47 One useful thing I found is a portable Windows build of Firefox 24ESR which I can test sites with May 30 09:03:21 Meaning I can figure out if a site will or wont work in the FF24-based microb-engine hopefully (it wont be a perfect test but its still fairly close) May 30 09:03:38 And most of the sites I can't get working on current microb do seem to work. May 30 09:05:38 Does that Firefox build actually use some bundled OpenSSL rather than something provided by Windows? May 30 09:05:59 What do you mean? May 30 09:06:13 firefox does not use openssl May 30 09:06:15 it uses nss May 30 09:06:20 Yeah it does May 30 09:06:26 QT uses OpenSSL though May 30 09:07:57 I'm not really familiar with NSS, but my understanding was that it's meant to be some portability layer. May 30 09:08:06 not a complete implementation of SSL/TLS May 30 09:08:32 looking an /proc/*/maps on my main system, I can see that Firefox has references to libcrypt. May 30 09:08:42 libcrypto* May 30 09:13:52 Hm, guess I'm mistaken. May 30 09:14:13 libcrypto is part of openssl May 30 09:14:28 Yes, but Firefox is using it for something. May 30 09:14:38 could be nss using it? anyway, I don't know 100% either ;) May 30 09:15:12 but looking through the source of NSS, it seems to at least implement a bunch of some sort of logic in SSL that would probably also be implemented in OpenSSL. May 30 09:15:32 maybe it just uses libcrypto for implementations of the underlying cryptographic algorithms. May 30 09:17:07 Nope, NSS is a full implementation of all the crypto May 30 09:17:53 and has no dependencies on OpenSSL in any way May 30 09:19:49 nss does contain a libssl3.so file (at least the one in microb-engine does) but that's unrelated to the libssl.so file of OpenSSL May 30 09:22:13 My instance has libcrypto itself (from openssl) mapped, though I imagine it could just be from another library it depends on. May 30 09:24:09 Yeah, comes from libevent. May 30 09:24:31 $ cat /proc/3594/maps | sed 's/^.* //' | sort | uniq | while read -r x; do [ -f "$x" ] && echo "$x"; done | fgrep .so | while read x; do out="$(ldd "$x")"; grep -q libcrypto <<< "$out" && echo "$(wc -l <<< "$out") $x"; done May 30 09:24:45 * Maxdamantus though `ldd` had some tree view, but can't seem to find it. May 30 10:09:10 Looks like I need TLS 1.2 support in Maemo QT (and a newer OpenSSL) if I want to keep my transit app working since they changed the backend and it now mandates TLS 1.2. May 30 10:16:39 In the mean time my build of Gecko is still going without any problems. May 30 10:31:38 Now linking libxul, fingers crossed that it works with no errors... May 30 10:32:49 IT WORKED May 30 10:32:56 I now have a libxul.so file :) May 30 10:57:16 Now I just need to figure out what needs changing in the packaging and this thing will hopefully give me a set of deb files. May 30 11:05:22 try running it first on device May 30 11:10:52 I can't try it because I probably need to install the new -dev packages then rebuild some other packages and see if the API has changed (which it probably has) May 30 11:11:20 for now just copy libs to the same dir as binary and use export LD_LIBRARY_PATH=. trick May 30 11:11:47 that way you will know if it runs and how fast ;) May 30 11:14:43 Lets start with the xulrunner binary it gave me May 30 11:15:06 see if that even runs May 30 11:15:14 which will tell me if I have a working binary or not May 30 11:17:32 as for packaging, you can probably steal fennec's one May 30 11:19:33 With libxul.so at almost 1gb in size, I am not liking the chances of this thing actually working May 30 11:20:05 That's probably unstripped though May 30 11:20:08 which makes sense May 30 11:23:40 Lets strip them before I copy them to the device May 30 11:25:32 strip -g May 30 11:25:40 on the libs May 30 11:25:44 and normal strip on binary May 30 11:25:46 yeah I know. May 30 11:25:51 :) May 30 11:26:06 and next time change -O2 -g into -O2 -s when building May 30 11:26:11 also, did you enable thumb? May 30 11:26:17 nope, I am not using thumb at all May 30 11:26:23 since I dont have the thumb kernel and I dont want it May 30 11:27:53 with firefox and contrained by limited memory, you should, once you have working one May 30 11:29:18 libxul.so goes down to 53mb after the strip May 30 11:29:19 much better May 30 11:33:26 Now I need to install the newer libstdc++ May 30 11:41:40 just bundle it for the test run May 30 11:57:53 I got the xulrunner binary that was built as part of the FF build to work May 30 11:58:07 And I can actually see websites with it(!) May 30 11:58:18 So I would say that we have a working browser May 30 12:04:28 It does not work if I try to run anything on the system that uses libxul though (in fact doing so crashed the phone and now I have to use rescueos to move the files I backed up back in place and get my phone to boot again) May 30 12:05:02 yes, now comes the fun part May 30 12:05:33 told you to use local libs dir instead of destroying the system May 30 12:06:58 Its not possible to use local libs for gecko because of how gecko finds its libs May 30 12:08:34 its an easy fix though thanks to rescueos May 30 12:09:28 Surely LD_PRELOAD should at least work, right? May 30 12:13:48 Its not that simple May 30 12:14:07 In any case I know libgtkmozembed and the other bits just aren't going to work yet May 30 12:14:36 So the plan is to fix the packaging and go from there May 30 12:15:02 The most important thing is that I have a working web browser on the N900 that uses the Firefox 24.8.1 engine. May 30 12:17:11 Lets see what happens when I try to load a TLS 1.2 web site on the device. May 30 12:17:55 did you measure memory usage compared to other browser? May 30 12:20:32 jonwil: but this is not microb, right, so it's just fennec with different ui? May 30 12:21:27 This is xulrunner (as built with the Firefox tree) with the sample browser from https://github.com/matthewkastor/XULRunner-Examples May 30 12:21:53 The aim once I get things to actually work is to replace microb-engine May 30 12:23:00 Right now I just want to see how well the Gecko I built actually works May 30 12:24:08 Personally, I would use conkeror over microb, but opera still seems a lot more responsive than those. May 30 12:24:54 but recently I've found I can't access github through that anymore. May 30 12:25:23 * Maxdamantus has just looked through things on github using edbrowse a couple of times. May 30 12:27:10 btw, conkeror is also very easy to test; just clone/check out the repository, then `xulrunner application.ini` May 30 12:28:03 1264c0dbbefb6d671504a072d4ddb48d62ccead2 May 30 12:28:16 Sites that don't work at all (due to TLS 1.1/1.2 only) on microb do work in this browser May 30 12:28:19 ^ that commit pretty much works with microb-xulrunner May 30 12:36:48 oh crap, my dev VM is running low on disk space. Not good, especially since the drive its on is also running low on disk space May 30 12:38:24 jonwil: told you, change build flags May 30 12:38:31 from -O2 -g to -O2 -s May 30 12:38:37 will save you few gigs May 30 12:42:21 I have a total of ~1tb of disk across 3 drives yet I only have a total of ~66gb free across those 3 drives. May 30 12:42:32 I think I need to give my disks a good cleanout May 30 12:42:44 jonwil: i kinda forgot, but why 24.x? May 30 12:43:16 24 is the first version with TLS `1.2 (a necessary feature) and it pre-dates the complete removal of Maemo support May 30 12:43:28 and its an ESR release (the last one before the Maemo support disappeared) May 30 12:43:46 That's why its the best candidate May 30 12:43:51 maemo support from mozilla you mean? May 30 12:43:54 or from nokia? May 30 12:44:05 Yes May 30 12:44:09 yes to? May 30 12:44:11 The maemo bits in the Gecko tree May 30 12:44:13 ah May 30 12:44:20 I see May 30 12:44:25 There is a removal bug matching FF26 May 30 12:44:43 * Maxdamantus has a total of 21 TB of disk across 4 drives with ~8 TB free May 30 12:44:58 Well, I guess ff24 would be goodenough(tm) anyway May 30 12:45:03 I wish I could afford computer bits but I can't :( May 30 12:45:27 I would love to replace the 256GB SSD I use as my main drive with something bigger (or add a second SSD) but I cant afford it. May 30 12:45:35 Nor can I afford the RAM or GPU upgrades I want either May 30 12:47:44 It doesn't help that so much output for RAM and Flash chips and things is going into mobile devices so that all the sheeple can have the latest crApple iFail which is one thing pushing up the price of the bits I want May 30 12:50:42 conkeror runs btw May 30 12:50:44 Seems to be working too May 30 12:53:29 and in case you want touch panning for it, here's my ~/.conkerorrc I hacked together a few years ago: https://gist.github.com/Maxdamantus/0aefa2c713afda4af04abdbb3a97ca89 May 30 12:53:50 Slow as molasses though with top telling me its using 86.9% CPU May 30 12:57:25 And it looks to be built with -O2 so its definitely not an unoptimised build May 30 12:59:33 Anyhow, at least I know FF24 DOES run on the N900 May 30 13:00:14 firefox 52 also does :) May 30 13:04:32 But I suspect FF52 would be even bigger and slower than FF24 and wouldn't have any of the Maemo support bits needed to e.g. be able to click on a phone number and have it open the phone dialer May 30 13:16:52 I'm sure that can be reimplemented easily enough. May 30 13:17:20 the rtcom-messaging-ui stuff involves some HTML/JS which can be directly modified. May 30 13:18:30 mmmh May 30 13:19:00 Maxdamantus: you probably don't want to play around the browser EAL too much May 30 13:19:01 I modified them a while ago because I hated the default layout of messages. May 30 13:19:12 yeah but that's the easy part May 30 13:20:13 Well, it should pretty much be the same part. May 30 13:20:35 because iirc the modifications I made involved handling the text messages in JS. May 30 13:21:02 so if I wanted to I could manipulate those messages in arbitrary ways to figure out what to insert into the DOM. May 30 13:21:19 My ultimate goal is still ideally to replace microb-engine May 30 13:23:20 http://maxdamantus.eu.org/rmu.png May 30 13:24:45 iirc the default view had bad handling of timestamps, and put things in big bubbles where you had to use the padding on the left to identify incoming/outgoing. May 30 13:25:01 Maxdamantus: wow, it basically looks just like what I wanted to do back then May 30 13:25:27 (but eventually settled for something hackish and ugly) May 30 13:25:50 anyway, sleep May 30 13:26:00 'night May 30 13:26:17 I guess I'll have to bother you about timestamps handling :) May 30 13:26:25 * Maxdamantus needs to figure out sometime how to make the top menu not so pointlessly huge. May 30 13:26:38 hildon status bar thing May 30 13:26:57 It wouldn't surprise me if there are options I can turn off or on that would have benefits on memory usage and performance May 30 13:38:59 you might be able to "configure" jemalloc May 30 13:39:20 (assuming it's still the mem allocator used by mozilla) May 30 13:46:55 Somehow I dont think running FF24 and its rendering engine on a device with only 256mb of RAM is something that the Mozilla guys would call "sane" May 30 13:48:00 huhu May 30 13:48:07 :) May 30 15:22:13 I managed to get microb-refui TestGtkEmbed from the current CSSU microb-engine to actually run and load my rebuilt libxul.so without replacing any system files. It fails with a "Couldn't start XPCOM" error but its a start. May 30 15:22:54 i suspect microb has patched xul versin May 30 15:23:07 check microb package for patches? May 30 15:23:18 I already know microb has a lot of local patches May 30 15:23:27 but xul related May 30 15:24:24 I bet its simply the case that the xpcom bits linked into TestGtkEmbed dont match the xpcom bits linked into libxul.so because much has changed between 1.9.2 and 24.8.1 May 30 15:24:40 rebuild microb with proper headers? May 30 15:26:15 I think we need to bring back the gtkmozembed stuff removed in mozilla bug 648156 May 30 15:26:23 That's gotta be one of the next steps I suspect May 30 15:26:48 With that we can probably get a TestGtkEmbed built with FF24 code May 30 15:27:33 The key thing so far is that libxul works and can browse the web when used with xulrunner and conkeror May 30 15:29:22 on-device as well? May 30 15:29:26 (or sdk only?) May 30 15:29:28 Yep May 30 15:29:30 on-device May 30 15:29:32 neat May 30 15:29:34 conkeror works on device May 30 15:30:06 I wonder how much ram it eats May 30 15:30:23 hmm, I wonder if we could benefit from a better JS JIT May 30 15:31:18 as long it doesnt trade mem usage for performance May 30 15:31:23 which might be the case May 30 15:50:34 According to https://blog.mozilla.org/javascript/2012/09/12/ionmonkey-in-firefox-18/ we do get a much better JIT than the one in microb-engine May 30 15:51:10 Anyhow, its definitely "AM" here (to quote Apollo 13 "AM, very, very AM") which means its time to stop for now and resume later :) May 30 15:51:13 cya :) **** ENDING LOGGING AT Thu May 31 03:00:07 2018