**** BEGIN LOGGING AT Tue Feb 02 02:59:57 2021 Feb 02 06:50:27 https://www.cnx-software.com/2021/02/02/mutantc-v3-open-hardware-diy-umpc-works-with-raspberry-pi-and-compatible-sbcs/ Feb 02 06:50:37 pop some 3g usb modem, and voila! Feb 02 06:57:47 Why does QR code scanning suck so much? Feb 02 06:59:01 Keep having trouble trying to scan the COVID tracer codes on the bus here using mBarcode, but it seems to work if I take a photo instead, then display the photo on a large screen at home and again use mBarcode to scan that. Feb 02 06:59:39 mBarcode is unable to scan that exact photo. Neither is a recent version of `zbarimg` or `zxing`. Feb 02 07:03:22 Example image: https://maxdamantus.eu.org/qrfail.jpg Feb 02 07:08:42 maybe photo app uses some smart algos to stabilize image Feb 02 07:08:55 while app isnt that good at it Feb 02 07:09:30 Maybe, but mBarcode/zbarimg can't even find the QR code in the image produced by the photo app. Feb 02 07:10:19 I suspect there's some colour correction that happens by showing the image again from an LCD. Feb 02 07:11:22 maybe random values of individual pixels are throwing the algorithm off. Feb 02 07:14:44 make it b&w and check if it changes anything? Feb 02 07:18:11 afaict zbar already converts it to greyscale. Feb 02 07:18:24 convert to 2 colors b&w Feb 02 07:19:55 anyway, might be too noisy for app Feb 02 07:20:23 try zooming before taking pic? Feb 02 07:22:39 mBarcode doesn't seem to let you zoom. It's always zoomed in. Feb 02 07:23:34 Will probably have to add some debugging to zbar to figure out what it's actually struggling on. Feb 02 07:24:04 too few pixels for the app to work on, i guess Feb 02 10:04:33 nice to see a number of people still using N900 as daily :) Feb 02 10:05:39 Maxdamantus: the 'app' has a website? i'm trying to understand how you would use N900 here, assuming the barcode scanning would have worked Feb 02 10:09:32 sicelo: the QR code represents some base64-encoded JSON which contains information identifying the location, including a unique "gln" number. Feb 02 10:10:11 sicelo: and I figured out from the Android app the URL where hashes of glns with positive cases are published. Feb 02 10:10:28 sicelo: you can always write app yourself, that takes qr data from that site and redirect to proper url Feb 02 10:10:36 s/site/qr/ Feb 02 10:10:36 KotCzarny meant: sicelo: you can always write app yourself, that takes qr data from that qr and redirect to proper url Feb 02 10:10:42 so just have to log those entries along with timestamps, then occasionally poll that URL to see if I'm a close contact. Feb 02 10:11:19 the whole point of n900 is hackability Feb 02 10:11:23 The app doesn't send data to a website. It just logs it locally and checks against the known cases as explained above. Feb 02 10:12:14 It was simple enough creating an mBarcode plugin to just append that JSON and current timestamp to a log, and the checking part will also be easy. Feb 02 10:12:41 that's nice! *me likey Feb 02 10:15:20 the android device was using Android version less than 7 (or 8?)? I noticed that after 7 or 8, mitmproxy doesn't work to get API calls an Android app makes, since it seems those version enforce certificate pinning Feb 02 10:15:50 or there's newer/better way to get around that, which i don't yet know of :) Feb 02 10:16:35 squid + manually added cert ? Feb 02 10:16:54 That will presumably have the same problem as mitmproxy. Feb 02 10:17:14 Since it's still not using the pinned public key. Feb 02 10:25:04 From what I understand of certificate pinning, pinning itself is probably a bad idea. Feb 02 10:25:27 I suspect if they're doing something reasonable, it's probably just changing the set of trusted certificates. Feb 02 10:25:45 ie, only trusting a particular certificate, or only trusting certificates with particular public keys. Feb 02 10:27:01 "pinning" to me sounds like where a key is set by a protocol, rather than provided as part of the OS/application, just like any "trusted" certificates are provided. Feb 02 10:28:50 The question is just whether you're able to add your own trusted certificate/key. If it's using Android's default trusted certificates, I suspect that's a yes because you can probably add your own CA cert to be trusted, but if it's bundling its own cert and only trusting that, you'd need to replace that bundled cert. Feb 02 10:35:56 i also don't remember the details now, but iirc the apps contain some cert for sure Feb 02 10:37:14 Right, so it just trusts its own cert instead of the Android-provided certs. Feb 02 10:37:36 (which imo is a reasonable thing to do sometimes) Feb 02 10:38:18 edit the binary to insert own cert? Feb 02 10:42:05 yes Feb 02 10:42:11 a bigger job :p Feb 02 10:45:21 if you have older android, and the app works there, that's the quickest way around it. a rooted device also can help (but my Sprint S7 is unrootable) Feb 02 17:48:26 juiceme: I found the association rules for maemo e.V. it is in our wiki http://wiki.maemo.org/MaemoCommunity_eV I forgot about it. There you could find the rules about voting, and also a regular agenda of a meeting it looks like the last meeting was in 2017 Feb 02 17:52:41 yeah :( Feb 02 17:53:09 nice to see you here btw - slight nitpick - why the html emails? Feb 02 17:55:45 not all were html only the replies I think sorry for that Feb 02 17:58:20 I think if we would like to keep this e.V. we should act fast... Feb 02 17:59:46 +1 Feb 02 18:35:35 sicelo: do you have a droid 4 (XT894)? Feb 02 18:42:27 yes :) Feb 02 18:44:52 and leste running fine? I wasn't able to get this kexecboot running :( Tried also different fastboot version. You did the same procedure from wiki? Feb 02 18:47:53 yes it's working fine (although these days i'm playing more with plain debian+sway on my N900 instead) Feb 02 18:48:44 i used the same procedure. there's also #maemo-leste if you want to join. you'll get quicker help there Feb 02 18:49:46 oh I see. Never tried sway. Which debian version? Feb 02 18:49:52 sid Feb 02 18:51:14 at what point do you get issues with the droid 4 procedure? Feb 02 18:52:28 i'll move to debian on the droid 4 at some point since it's better/faster hardware - i just did it on N900 just for fun initially -just to see if wayland would really run on it Feb 02 18:52:34 it looks everything fine only that I get no sign that kexecboot kicks in and is booting from sdcard Feb 02 18:53:12 so it boots everytime to android :( Feb 02 18:53:46 ok. but do you see the kexecboot menu? i guess from your comment, no Feb 02 18:54:05 no Feb 02 18:55:31 so i think the uSD card is fine. your issue is somewhere with kexecboot. Feb 02 18:55:58 fastboot reports no error but I have the feeling that the bootloader is not replaced and I flashed this allow-mbmloader before Feb 02 18:58:25 i did this procedure more than a year ago, so i have forgotten some stuff. but i would recommend joinig #maemo-leste. they'll help Feb 02 18:59:20 When I have some time I will try it again and therefore I will join maemo-leste channel... Feb 02 18:59:35 cool :) Feb 02 18:59:53 leste runs really well on it (droid 4) Feb 02 19:00:43 there are still a few issues here and there, but some refer to it as the Leste 'flagship' Feb 02 19:00:49 I can imagine and I would really like to tried it Feb 02 19:00:58 try Feb 02 19:02:07 i actually wanted to port some of the programs you maintain for Fremantle, e.g. cutenews - then sway happened and i got distracted Feb 02 19:02:25 for development it is also better to have different screen sizes. For the N900 I was so lasy that I everytime choosed a fixed resolution Feb 02 19:02:38 Leste uses Qt5, which is quite nice, since more s/w can run Feb 02 19:06:20 yes I tried already things in VM and N900 with leste. I can also use there things which I developed in qt5 (widgets) for sailfish Feb 02 19:07:54 maybe you would like to upload them to the Leste repos as well - it's open access Feb 02 19:15:45 I think qt5 package needs still some fine tuning for leste (last time I tried, already long ago), but it is really time consuming to fix/expand qt5, I have the feeling everytime when I have some time I start from the beginning to analyse the source code. I uploaded already one application to leste repos. When I got this droid 4 running I suppose more will follow. Feb 02 19:20:23 oh great! Feb 02 19:20:56 heh, i just tried running mutter/wayland on N900. working good it seems - of course it's not full-blown gnome Feb 02 22:14:58 halftux: You might get more support in #maemo-leste btw ;) **** ENDING LOGGING AT Wed Feb 03 02:59:57 2021