*** FlameReaper has joined #maemo-ssu | 00:00 | |
DocScrutinizer05 | FatPhil: maybe better pick option one for today, from >>Either it's late, or find_next_zero_bit() has a bug...<< | 00:00 |
---|---|---|
freemangordon | FatPhil: can't find any difference between KP and upstream in find_next_zero_bit | 00:00 |
freemangordon | even the commnts match | 00:01 |
freemangordon | *comments | 00:01 |
* DocScrutinizer05 idly wonders whether we should ask the guy that hosts mxr to eventually move it to the maemo.org server infra | 00:05 | |
*** NIN101 has quit IRC | 00:08 | |
*** nox- has joined #maemo-ssu | 00:26 | |
*** handaxe has quit IRC | 00:36 | |
*** Vlad_on_the_road has quit IRC | 00:56 | |
*** sunny_s has quit IRC | 00:57 | |
*** Handaxe has joined #maemo-ssu | 01:02 | |
*** Handaxe has left #maemo-ssu | 01:02 | |
*** kolp has quit IRC | 01:34 | |
*** dos1 has quit IRC | 01:35 | |
ShadowJK | I forget, did he go to palm/hp? | 01:43 |
DocScrutinizer05 | RIM? | 01:47 |
DocScrutinizer05 | tbh I even forgot who's hosting it, crashie or time less | 01:48 |
ShadowJK | one of those | 01:49 |
DocScrutinizer05 | could do a whois, but too lazy | 01:49 |
ShadowJK | I think HP was the one doing shotgun recruitment around elopcalypse time | 01:49 |
DocScrutinizer05 | prolly crashie then, since mxr.m.o for sure not hosted by a (ex-)Nokian | 01:51 |
DocScrutinizer05 | timeless worked on microB | 01:51 |
DocScrutinizer05 | also crash is hosting one of the mirrors, and I'd bet on IPs of the mirror and mxr are identical or at least close | 01:53 |
ShadowJK | timeless | 01:55 |
*** FlameReaper has quit IRC | 01:55 | |
ShadowJK | crashanddie is, iirc, a very vocal and temperamental community member | 01:56 |
*** luf has quit IRC | 01:57 | |
DocScrutinizer05 | hmm | 02:00 |
DocScrutinizer05 | ok | 02:00 |
ShadowJK | I wonder if timeless is working on firefoxos now | 02:05 |
DocScrutinizer05 | ask him! he's over at #maemo | 02:12 |
*** aap has quit IRC | 02:37 | |
*** aap has joined #maemo-ssu | 02:55 | |
*** nox- has quit IRC | 02:58 | |
*** M4rtinK has quit IRC | 03:00 | |
T_X | does anyone know which kernel module is responsible for the phone/umts/etc.? | 03:24 |
T_X | for the n900 that is | 03:24 |
T_X | and secondly, would unloading that module prevent any interaction with a phone tower? | 03:27 |
*** oldtopman has joined #maemo-ssu | 03:30 | |
DocScrutinizer05 | a: there's not exactly a phone kernel module, there's phonet and cmt_speech | 03:35 |
DocScrutinizer05 | the one is for communication, the other for audio | 03:36 |
DocScrutinizer05 | b: the modem doesn't need any of those kernel modules neither libisi to communicate with the "phone tower" | 03:37 |
DocScrutinizer05 | as soon as you power up the modem, it already starts searching for cells, and it *might* even communicate with them | 03:38 |
DocScrutinizer05 | it usually _shouldn't_ transmit as long as no AT+CFUN=1 or the isi analogon gets sent from AP to cmt, but you can't guarantee that, the firmware might be buggy or compromised | 03:41 |
*** BCMM has quit IRC | 03:46 | |
T_X | DocScrutinizer05: ah, k, thx! | 03:55 |
*** Martix has quit IRC | 04:01 | |
ShadowJK | There are direct lines from omap gpio to modem reset, though the modem is a blackbox and who knows if it can operate while being held in reset | 04:16 |
*** Pali has quit IRC | 04:21 | |
*** dafox has quit IRC | 04:31 | |
T_X | I had some message about emergency numbers disabled when I once tried rmmodding random kernel modules. but yeah, you're right that doesn'- have to mean anything | 04:33 |
T_X | and I guess AT+CFUN=4 (disable transmit and receive RF circuits (flight mode) ) won't help either | 04:34 |
T_X | funnily, for AT+CFUN=4 I don't get this message about disabled emergency numbers | 04:34 |
T_X | hm, rmmoding ssi_mcsaab_imp seems a little promising. that's the one disabling the emergency numbers | 04:53 |
T_X | and it also disables pnatd, so entering AT_CFUN=x can't be entered anymore :) | 04:54 |
*** freemangordon_ has joined #maemo-ssu | 05:10 | |
*** freemangordon has quit IRC | 05:10 | |
*** amiconn has quit IRC | 05:14 | |
*** amiconn_ has joined #maemo-ssu | 05:14 | |
*** amiconn_ is now known as amiconn | 05:14 | |
DocScrutinizer05 | I wonder what you're after | 05:25 |
DocScrutinizer05 | http://siliconpr0n.org/wiki/doku.php?id=physical_protection :-D | 05:25 |
ShadowJK | mcsaab is going to be the actual data lines | 07:07 |
T_X | hm, would be handy to have a base station in our hackerspace to test stuff like that | 07:13 |
T_X | :) | 07:13 |
T_X | or a USRP | 07:14 |
*** ruskie has quit IRC | 07:19 | |
ShadowJK | Test what | 07:21 |
ShadowJK | Loading and unloading kernel modules is kinda pointless :P | 07:21 |
ShadowJK | The modem is a fully functional computer with its own CPU, RAM and its own power management. | 07:23 |
ShadowJK | The same modem can (and probably has been) used on its own in a featurephone or low-end symbian phone, with a display and keypad connected directly to it | 07:23 |
ShadowJK | After Symbian gained realtime capabilities, the OS could be loaded into the modem's cpu and run concurrently with the realtime tasks of the modem :) | 07:25 |
ShadowJK | Save a cpu+ram combo | 07:25 |
ShadowJK | I'll note further that the GPS is hooked up to the modem ;) | 07:25 |
*** ruskie has joined #maemo-ssu | 07:46 | |
*** Vlad_on_the_road has joined #maemo-ssu | 08:17 | |
*** Vlad_on_the_road has quit IRC | 08:36 | |
*** LauRoman has quit IRC | 08:42 | |
*** oldtopman has quit IRC | 08:55 | |
FatPhil | One would hope that from a power management perspective, once the last thing making use of the modem is removed, it would be powered down. | 09:31 |
FatPhil | perhaps powertop will show the difference in power/clock domain activity in the two cases | 09:33 |
*** sunny_s has joined #maemo-ssu | 10:08 | |
*** LauRoman has joined #maemo-ssu | 10:12 | |
kerio | FatPhil: it might be so | 10:30 |
*** freemangordon_ is now known as freemangordon | 10:39 | |
*** kolp has joined #maemo-ssu | 11:01 | |
*** Pali has joined #maemo-ssu | 11:04 | |
*** sunny_s has quit IRC | 11:17 | |
*** sunny_s has joined #maemo-ssu | 11:20 | |
*** LaoLang_cool has joined #maemo-ssu | 11:22 | |
*** LaoLang_cool has quit IRC | 11:33 | |
*** piscodig has joined #maemo-ssu | 11:42 | |
*** discopig has quit IRC | 11:42 | |
DocScrutinizer05 | ShadowJK: BB5 is on many Nokia phones, indeed | 12:09 |
DocScrutinizer05 | FatPhil: how would modem know about "removing things" that use it? | 12:11 |
DocScrutinizer05 | it sounds like "after switching off speakers and monitor, i'd hope the PC powers down" | 12:12 |
DocScrutinizer05 | FatPhil: actually it's like that: you need to tell modem to power down, explicitly. | 12:18 |
DocScrutinizer05 | more often than not it's the AP that plays power-down, and it's modem to wake AP up | 12:19 |
kerio | more like "i hope that if nothing is using the audio, then the audio card powers down" | 12:19 |
kerio | which is not ridiculous, to be honest | 12:19 |
DocScrutinizer05 | that's correct... for audiocard | 12:19 |
*** Martix has joined #maemo-ssu | 12:19 | |
kerio | s/powers down/is powered down/ | 12:19 |
DocScrutinizer05 | nonono | 12:19 |
DocScrutinizer05 | aiui the card auto-powerdowns | 12:20 |
DocScrutinizer05 | not on N900 | 12:20 |
DocScrutinizer05 | but on PC aiui | 12:20 |
DocScrutinizer05 | well, somedtimes it might be the alsa soundcard driver module in kernelspace doing the powerdown | 12:21 |
DocScrutinizer05 | with some luck, and when not using braindamaged PA | 12:21 |
DocScrutinizer05 | pukeaudio | 12:22 |
DocScrutinizer05 | err PolypAudio | 12:22 |
DocScrutinizer05 | dang, is tmo dead? or just all its users? | 12:24 |
DocScrutinizer05 | tmo is more mindboggling than a pub, you never know when there's busy time so you don't find a seat and when it's dead | 12:25 |
DocScrutinizer05 | last ten days or so I seen ~2 new posts per hour, and ~100 thanks per day. Since 12h zilch | 12:25 |
jon_y | tmo is dead? | 12:26 |
jon_y | :) | 12:26 |
* jon_y tend to avoid forums and use mailing lists instad | 12:26 | |
jon_y | *instead | 12:26 |
DocScrutinizer05 | yeah, did same until I came to maemo | 12:27 |
DocScrutinizer05 | for OM we *had no* forum | 12:27 |
DocScrutinizer05 | God was that a good time | 12:27 |
jon_y | less eternal September shenanigans | 12:28 |
DocScrutinizer05 | then came freeyourphone.de | 12:28 |
jon_y | not to say mailing lists were free of them | 12:28 |
DocScrutinizer05 | dang, I didn't have a look at freeyourphone since... years? | 12:29 |
jon_y | what is that site about? | 12:29 |
DocScrutinizer05 | err about openmoko Neo Freerunner and other "free" phones | 12:45 |
jon_y | carriers don't want "free" phones | 12:51 |
jon_y | they want iphones :( | 12:51 |
*** dafox has joined #maemo-ssu | 12:57 | |
DocScrutinizer05 | carriers want business and thus customers | 13:07 |
jon_y | do consumers want freedom? | 13:08 |
jon_y | that's a hard question | 13:08 |
jon_y | probably not, choices are hard | 13:09 |
*** BCMM has joined #maemo-ssu | 13:13 | |
DocScrutinizer05 | well, quite obviously many (most?) of them prefer "free" services like fb/twitter/watsap/gmail crap over freedom | 13:15 |
kerio | well | 13:16 |
kerio | if you don't mind the privacy invasion, gmail is pretty fucking awesome, to be fair | 13:16 |
jon_y | kerio: at least I get to use gnupg to pre-encrypt first | 13:17 |
jon_y | I'm still waiting one day when a webservice will say "No encryption allowed" | 13:17 |
DocScrutinizer05 | a friend of mine used to attend each and every competition he could find, and then complained about all the spam snailmail and email he received | 13:17 |
DocScrutinizer05 | jon_y: hah, dream on! I heard they support encryption now - *serverside* via web frontend X-P | 13:19 |
jon_y | kind of defeats the point entirely | 13:19 |
DocScrutinizer05 | actually e.g web.de does that since ~10 years | 13:19 |
jon_y | doesn't that mean they have your private key? | 13:20 |
kerio | jon_y: why does that defeat the purpose? what purpose is it defeating? | 13:20 |
DocScrutinizer05 | yes, they create it for you ;-P | 13:20 |
kerio | assuming you trust the service, that is | 13:20 |
jon_y | kerio: the whole idea of offering encryption when they can read it too | 13:21 |
*** LauRoman has quit IRC | 13:22 | |
jon_y | also, unencrypted over the air transmission | 13:23 |
DocScrutinizer05 | yup | 13:23 |
kerio | i assume you have https to your webmail | 13:23 |
DocScrutinizer05 | or poorly encrypted by SSL | 13:23 |
jon_y | government has certs | 13:24 |
jon_y | why do you need to encrypt it, comrade? | 13:24 |
DocScrutinizer05 | the snoop-now-decrypt-later approach is pretty effective for SSL | 13:25 |
jon_y | definitely need httpss | 13:25 |
jon_y | asymetrical rather than symmetrical | 13:26 |
jon_y | each "session" uses a different set of keys | 13:26 |
jon_y | then again, it sounds like ballroom dancing | 13:26 |
DocScrutinizer05 | there's a means for that in SSL, but nobody uses it | 13:26 |
DocScrutinizer05 | except google ;-P | 13:27 |
jon_y | they do? | 13:27 |
DocScrutinizer05 | Perfect Forward Secrecy | 13:30 |
jon_y | is it possible to do this with standard apache setup? | 13:33 |
DocScrutinizer05 | http://wstaw.org/m/2013/09/05/plasma-desktopZj3743.png | 13:34 |
DocScrutinizer05 | openssl s_client -connect wiki.maemo.org:80 | 13:36 |
DocScrutinizer05 | openssl s_client -connect wiki.maemo.org:443 | 13:36 |
DocScrutinizer05 | Cipher : .*DHE.* | 13:37 |
jon_y | ok, encryption cipher selection? | 13:40 |
DocScrutinizer05 | http://wstaw.org/m/2013/09/05/plasma-desktopqi3743.png <- list of browsers vs "supports PFS" | 13:40 |
DocScrutinizer05 | fb, twitter, yahoo, ebay, paypal -> no DiffieHellman | 13:44 |
DocScrutinizer05 | aka PFS | 13:44 |
DocScrutinizer05 | MS as well not really. Google though full support | 13:44 |
kerio | Cipher : DHE-RSA-AES256-SHA | 13:45 |
kerio | default nginx config :D | 13:45 |
kerio | dem russians | 13:45 |
DocScrutinizer05 | DH == DiffieHellman == PFS | 13:45 |
jon_y | ok | 13:46 |
DocScrutinizer05 | chrome shows encryption used, search for *DH* | 13:46 |
jon_y | here's my own server ECDHE-RSA-AES128-SHA256 | 13:46 |
jon_y | is that good? | 13:46 |
kerio | eyup | 13:46 |
DocScrutinizer05 | DH is good | 13:46 |
jon_y | ok | 13:47 |
kerio | what does the E stand for? | 13:47 |
kerio | ephemeral? | 13:47 |
jon_y | basically no change needed | 13:47 |
jon_y | no idea :) | 13:47 |
DocScrutinizer05 | nfc | 13:47 |
DocScrutinizer05 | aah eliptical | 13:47 |
DocScrutinizer05 | elyptical? | 13:47 |
kerio | nah, that's "EC" | 13:48 |
kerio | for ellyptic curve | 13:48 |
DocScrutinizer05 | *shrug* | 13:48 |
DocScrutinizer05 | yep | 13:48 |
kerio | yeah, E stands for ephemeral | 13:48 |
jon_y | btw, windows still hate DAV+SSL on win7 | 13:48 |
*** BCMM_ has joined #maemo-ssu | 13:49 | |
DocScrutinizer05 | ephemeral | 13:50 |
DocScrutinizer05 | meh he beats me | 13:50 |
DocScrutinizer05 | NB you can check all services using SSL with the above commandline | 13:52 |
DocScrutinizer05 | just pick the port of your choice | 13:52 |
DocScrutinizer05 | http://wstaw.org/m/2013/09/05/plasma-desktopkO3743.png <- check of some popular service providers (German focus) | 13:54 |
FatPhil | DocScrutinizer05: I meant the last kernel driver using the modem resource turns off the lights. Some of that's automatic, such as the clock tree framework. The last thing using the McSAAB bus will reduce the usage count to 0 as it exits, and the bus' clock will be disabled, and its parents if possible. | 14:05 |
DocScrutinizer05 | would be nice, but doesn't work this way with modem afaik | 14:06 |
DocScrutinizer05 | layering | 14:07 |
DocScrutinizer05 | th eprotocol to shutdown modem is 2 layers above the phy | 14:07 |
DocScrutinizer05 | after all it's "far end", the kernel driver could only shut down the OMAP interface block | 14:09 |
DocScrutinizer05 | kernel doesn't know shit about "AT" | 14:10 |
DocScrutinizer05 | AT+POFF, AT+CFUN=0 | 14:10 |
kerio | no fun huh | 14:11 |
DocScrutinizer05 | sure, BB5 uses ISI, but the idea stays the same | 14:11 |
DocScrutinizer05 | you can't teach the tty kernel driver to display a "I'm offline" message on the vt100 | 14:12 |
DocScrutinizer05 | your shell could do that, on receiving SIGHUP, before shutting down and closing dev/tty | 14:13 |
DocScrutinizer05 | for modem that's libisi | 14:14 |
DocScrutinizer05 | or even higher | 14:14 |
DocScrutinizer05 | SHR for example literally suspends APE and thus shuts down tty to modem completely. Modem lives on happily and sends a signal via a special GPIO line when some message pending, to wake up APE | 14:15 |
DocScrutinizer05 | you even have that concept in age old RS232: RI | 14:16 |
DocScrutinizer05 | RingIndicator | 14:17 |
DocScrutinizer05 | the ancient days' WOL | 14:17 |
jon_y | what's wrong with RS232? simple 2 wire protocol was pretty nice | 14:25 |
*** arcean has joined #maemo-ssu | 14:27 | |
merlin1991 | argh rs232 | 14:33 |
merlin1991 | kernel interface for that is driving me mental | 14:33 |
DocScrutinizer05 | who said sth wrong? | 14:35 |
DocScrutinizer05 | and RS232 is not 2 wire at all | 14:36 |
DocScrutinizer05 | more like 9 wire | 14:36 |
DocScrutinizer05 | 7 maybe | 14:36 |
DocScrutinizer05 | or 19 | 14:36 |
DocScrutinizer05 | 13 actually | 14:38 |
DocScrutinizer05 | http://en.wikipedia.org/wiki/Rs232#Signals | 14:38 |
DocScrutinizer05 | ok, you could argue that virtually nothing which is working anymore supports secondary channel | 14:40 |
DocScrutinizer05 | then it's 8-wire | 14:40 |
DocScrutinizer05 | jon_y: however what I refered to been simply this: >>Ring Indicator' (RI), is a signal sent from the modem to the terminal device. It indicates to the terminal device that the phone line is ringing. In many computer serial ports, a hardware interrupt is generated when the RI signal changes state.<< | 14:41 |
merlin1991 | DocScrutinizer05: I've seen a lot of 2 wire "rs232" | 14:47 |
merlin1991 | ie garmin gps recievers send there data over that | 14:47 |
merlin1991 | s/there/their/ | 14:47 |
infobot | merlin1991 meant: ie garmin gps recievers send their data over that | 14:47 |
DocScrutinizer05 | that's not RS232 though, that's *using* rs232 | 14:50 |
DocScrutinizer05 | ok, jon_y never said RS232 *is* 2-wire, actually | 14:51 |
DocScrutinizer05 | you could call 2-wire low-voltage rs232 as well 20mA-tty | 14:53 |
DocScrutinizer05 | actually it resembles 20mA more than it's similar to RS232 | 14:54 |
jon_y | DocScrutinizer05: iirc rs232 refers to the old 12V signaling protocol | 14:55 |
DocScrutinizer05 | since 20mA-tty actually is a 2-wire, and voltage levels are not up to spec for both lv-rs232 and lv-20mA | 14:56 |
jon_y | I can't remember what the others are called | 14:56 |
DocScrutinizer05 | rs485 for example | 14:56 |
DocScrutinizer05 | rs422? | 14:56 |
DocScrutinizer05 | there are several | 14:56 |
jon_y | I mean they could talk to each other provided you have some voltage buffer in between | 14:56 |
jon_y | all have start/stop bits | 14:57 |
jon_y | work over 2 wire rx/tx | 14:57 |
DocScrutinizer05 | http://en.wikipedia.org/wiki/Rs232#Related_standards | 14:58 |
FatPhil | DocScrutinizer05: In that case the last user-space app to use the modem functionality should turn out the lights on the modem, and then turn out the lights on the kernel modules. | 14:58 |
DocScrutinizer05 | yep | 14:58 |
jon_y | of course, this assume both side talk at about the same clock freq | 14:58 |
*** kolp has quit IRC | 15:03 | |
*** amiconn_ has joined #maemo-ssu | 15:05 | |
*** amiconn has quit IRC | 15:05 | |
*** amiconn_ is now known as amiconn | 15:05 | |
*** discopig has joined #maemo-ssu | 15:16 | |
*** piscodig has quit IRC | 15:18 | |
*** piscodig has joined #maemo-ssu | 15:19 | |
*** discopig has quit IRC | 15:23 | |
ShadowJK | I remember MeegoCE on N900 used significants amount of power also *after* shutting down the phone :) | 15:26 |
jon_y | after? how? | 15:26 |
ShadowJK | it didn't turn off everything before switching off cpu | 15:29 |
jon_y | maybe ARM should have ACPI states instead | 15:29 |
*** raccoon_ has quit IRC | 15:38 | |
*** raccoon_ has joined #maemo-ssu | 15:39 | |
*** piscodig has quit IRC | 15:47 | |
*** discopig has joined #maemo-ssu | 15:52 | |
*** piscodig has joined #maemo-ssu | 15:55 | |
*** dhbiker has quit IRC | 15:58 | |
*** discopig has quit IRC | 15:59 | |
*** arcean has quit IRC | 16:21 | |
*** BCMM_ has quit IRC | 16:23 | |
*** Martix has quit IRC | 16:23 | |
*** BCMM_ has joined #maemo-ssu | 16:46 | |
*** oldtopman has joined #maemo-ssu | 16:51 | |
*** sixwheeledbeast has quit IRC | 17:04 | |
*** jade has joined #maemo-ssu | 17:11 | |
*** jade has quit IRC | 17:11 | |
*** jade has joined #maemo-ssu | 17:11 | |
*** sixwheeledbeast has joined #maemo-ssu | 17:11 | |
*** piscodig has quit IRC | 17:15 | |
DocScrutinizer05 | ShadowJK: yeah, but stskeeps always thought they could take care about power management "later", first get the system working. Seems i'm right this concept doesn't fly | 17:19 |
DocScrutinizer05 | much like openmoko thought they could take care about proper user account management later, and just got for root-only openembedded shit for a start. Also didn't pan out | 17:21 |
DocScrutinizer05 | untill this very day most openmoko distros have root-only config | 17:22 |
DocScrutinizer05 | and nobody ever will do the fancy to fix all the permission issues that would make it break *epically* when introducing real non-root users | 17:23 |
DocScrutinizer05 | apps accessing /sys/* just like pfff | 17:23 |
DocScrutinizer05 | all sorts of files either world readable or only by root | 17:24 |
DocScrutinizer05 | an abomination | 17:25 |
DocScrutinizer05 | and pretty much the same happened to meego re PM | 17:25 |
DocScrutinizer05 | "but! but! we DO have only ONE user!" BWAHAHA | 17:28 |
DocScrutinizer05 | I can see ~50 distinct "users" on my PC and that has no interactive user account but mine | 17:29 |
DocScrutinizer05 | likewise you never get the whole peripherals PM sorted when you start with a flawed API | 17:31 |
DocScrutinizer05 | and flawed paradigms at large | 17:31 |
DocScrutinizer05 | like "last one shuts down the light" (decrement use counter) won't really meet embedded needs when the sensor or whatever peripheral you are talking to is properly event/IRQ driven | 17:34 |
DocScrutinizer05 | you need a whole new API paradigm to account for that | 17:34 |
DocScrutinizer05 | so *first* define proper PM-compliant APIs, only *then* even _start_ implementing processes/apps using those APIs | 17:36 |
kerio | DocScrutinizer05: fwiw, a lot of processes don't need explicit power management | 17:36 |
DocScrutinizer05 | yeah fwiw | 17:36 |
DocScrutinizer05 | it's never processes that need PM, it's the hardware that does | 17:37 |
kerio | no, i mean | 17:37 |
kerio | if you do async I/O and your UI toolkit is sane, you wouldn't drain a handheld's battery | 17:38 |
kerio | when not in use, at least | 17:38 |
DocScrutinizer05 | and how do you handle e.g. GPS? | 17:38 |
kerio | qt mobility :P | 17:38 |
DocScrutinizer05 | ROTFL | 17:38 |
kerio | i'm just saying | 17:38 |
*** obironbo has joined #maemo-ssu | 17:38 | |
kerio | if your code is littered with spin locks, the problem is not that you're going to drain my battery | 17:39 |
kerio | the problem is that you're breathing my air | 17:39 |
DocScrutinizer05 | qt mobility has exactly ZILCH concept to define how exact, how frequent, how urgent your "fix" shall be | 17:39 |
kerio | is there a standard gps api in linux? | 17:39 |
DocScrutinizer05 | no | 17:39 |
kerio | but gpsd is developed by ESR | 17:40 |
DocScrutinizer05 | you need a proper middleware to handle such stuff | 17:40 |
DocScrutinizer05 | userland apps request certain services of a certain quality (or whatever other properties/attributes) at the middleware. Middleware's job is to aggregate/consolidate thos requests and transform it into proper management of resources | 17:41 |
DocScrutinizer05 | QtM completely ignored that, initially (and for many sensors still does) | 17:42 |
DocScrutinizer05 | on maemo for example you got liblocation that does a rather decent job as middleware | 17:43 |
DocScrutinizer05 | of course I prefer a more general concept like FSO | 17:43 |
DocScrutinizer05 | http://www.freesmartphone.org// | 17:44 |
kerio | "It offers DBus-APIs all over the place" | 17:45 |
*** jade has quit IRC | 17:49 | |
*** discopig has joined #maemo-ssu | 17:51 | |
DocScrutinizer05 | yeah, unlike LIBlocation | 17:52 |
DocScrutinizer05 | btw: http://gypsy.freedesktop.org/wiki/ | 17:55 |
DocScrutinizer05 | and http://gypsy.freedesktop.org/why-not-gpsd.html | 18:08 |
*** dafox has quit IRC | 18:19 | |
DocScrutinizer05 | I can't state honestly that I been involved in development of FSO (only some peer review and design discussions), but I consider it a worthwhile thing to look into and use whenever possible | 18:20 |
DocScrutinizer05 | phonet folks in their hybris and arrogance rejected any cooperation, blaming FSO for allegedly just being a glorified AT interface to GSM | 18:21 |
DocScrutinizer05 | in the end I think this attribute fits perfectly to phonet itself | 18:22 |
DocScrutinizer05 | see BT tethering, for example | 18:23 |
DocScrutinizer05 | kerio: who or what is "ESR"? | 18:25 |
kerio | Eric S. Raymond | 18:32 |
DocScrutinizer05 | whoever is that | 18:41 |
DocScrutinizer05 | should I know him? | 18:41 |
kerio | a university dropout who wrote The Cathedral and the Bazaar | 18:41 |
DocScrutinizer05 | umm | 18:42 |
DocScrutinizer05 | http://gypsy.freedesktop.org/why-not-gpsd.html is a nice read | 18:42 |
kerio | yeah, i read it | 18:42 |
kerio | makes sense | 18:42 |
DocScrutinizer05 | NB FSO is using org.freedesktop.gypsy | 18:43 |
kerio | i still don't like dbus, but i guess that it's the least worse IPC | 18:43 |
DocScrutinizer05 | ack | 18:43 |
*** dos1 has joined #maemo-ssu | 18:43 | |
DocScrutinizer05 | dbus is an abomination, but alas the only thing we got | 18:43 |
DocScrutinizer05 | did you know that timeout is hardcoded in dbus? :-O | 18:44 |
freemangordon | DocScrutinizer05: hmm? what timeout | 18:45 |
freemangordon | ? | 18:45 |
DocScrutinizer05 | some timeout when using sync calls, I guess | 18:45 |
*** M4rtinK has joined #maemo-ssu | 18:45 | |
freemangordon | where did you get that from? afaik you pass the timeout as a parameter | 18:46 |
* freemangordon is going to check | 18:46 | |
FatPhil | "Don't Use Malloc"? WTF | 18:46 |
DocScrutinizer05 | well, it seems I've seen that being mentioned some time ago, and that for embedded it had to get tweked from 30s to 2 min, or the other way around | 18:46 |
DocScrutinizer05 | ROTFL, yeah | 18:47 |
DocScrutinizer05 | ESR | 18:47 |
kerio | to be fair, if you only need a static amount of memory... | 18:48 |
FatPhil | I know the javaloons say "memory allocation is far too important to risk letting the programmer have control", and greybeard C-ites say "memory allocation is far too important to let it all be handled automatically", but I think I'm going to invent a new twist | 18:48 |
DocScrutinizer05 | ome years ago there even was a *nasty* bug in all async calls of dbus, that seems was rather hard to fix | 18:48 |
DocScrutinizer05 | I for one think some of the bugs in sbus still hide there and show every now and then | 18:48 |
FatPhil | "memory allocation is far too important to let fucknut programmers take control of it". And I thikn I've now found those fucknuts. | 18:49 |
DocScrutinizer05 | dbus* | 18:49 |
freemangordon | DocScrutinizer05: hmm, http://dbus.freedesktop.org/doc/api/html/group__DBusConnection.html#ga8d6431f17a9e53c9446d87c2ba8409f0 | 18:49 |
FatPhil | dbus had some horrific O(n) or worse behaviour a few years ago | 18:49 |
freemangordon | FatPhil: where, you made me curious | 18:49 |
FatPhil | DocS's gpsd link | 18:49 |
kerio | O(n) is fairly good | 18:49 |
kerio | i like O(n) | 18:50 |
DocScrutinizer05 | freemangordon: nfc then, maybe it's in some libdbusglib or whatever | 18:50 |
*** sunny_s has quit IRC | 18:50 | |
FatPhil | O(n) effort to achieve O(1) work is fucking awful | 18:50 |
kerio | php has a library function to compute a greedy estimation of the distance between two strings in Om(n^3) | 18:51 |
kerio | the textbook exact calculation is O(n^2) | 18:51 |
FatPhil | Dbus was *clearly* (from an algorithmist's perspective) designed from the ground up to not be scalable. | 18:51 |
FatPhil | Yet its selling point was that it was supposed to be scalable | 18:52 |
FatPhil | Ipso facto, it's designed and implemented by people who don't know what they're talking about. | 18:52 |
FatPhil | Not a good sign. | 18:52 |
*** NIN101 has joined #maemo-ssu | 18:53 | |
DocScrutinizer05 | Mickey Lauer (architect of FSO) more than one time moaned "I'm going to write by own IPC now, nuke d-bus from the surface of God's great earth" | 18:53 |
DocScrutinizer05 | due to the aforemantioned bug, fso was not using async anywhere for quite some time, which of course made life a lot easier ;-) | 18:54 |
freemangordon | Pali: hmm, why is AVS enabled on your linux-n900 tree? | 18:56 |
*** arcean has joined #maemo-ssu | 18:57 | |
freemangordon | hmm, mayde it is time to move CSSU to github, gitorious is simply unuisable :( | 18:58 |
freemangordon | *maybe | 18:58 |
*** sunny_s has joined #maemo-ssu | 19:02 | |
freemangordon | Pali: https://gitorious.org/linux-n900/linux-n900/source/d5da1f5357345ad270a491ce285c78dcf901a7ff:arch/arm/configs/rx51_defconfig#L318 | 19:04 |
DocScrutinizer05 | hmm, can't spot it anymore, and coldn't a year ago either: http://irclog.netripper.com/openmoko-cdevel/2012/8/4/ | 19:08 |
*** DrCode has quit IRC | 19:09 | |
*** DrCode has joined #maemo-ssu | 19:21 | |
dos1 | I remember that bug | 19:21 |
*** M4rtinK has quit IRC | 19:23 | |
ShadowJK | what's wrong with using malloc? I even use it on systems with 2k ram :s | 19:26 |
FatPhil | ShadowJK: my comment was in the context of http://gypsy.freedesktop.org/why-not-gpsd.html | 19:35 |
dos1 | DocScrutinizer05: https://bugs.freedesktop.org/show_bug.cgi?id=19796 | 19:36 |
povbot_ | Bug 19796: was not found. | 19:36 |
ShadowJK | In some ways they've got a point, in that over time for long running processes, heap fragmentation can get pretty bad | 19:37 |
*** mkaindl has quit IRC | 19:39 | |
*** Martix_ has joined #maemo-ssu | 19:39 | |
DocScrutinizer05 | dos1: EXACTLY, how the heck did you manage to find this one? | 19:39 |
DocScrutinizer05 | ShadowJK: solution: allocate your *static* vars during _init_ | 19:41 |
*** dafox has joined #maemo-ssu | 19:41 | |
DocScrutinizer05 | the best of both concepts | 19:41 |
dos1 | DocScrutinizer05: I recalled reading it on freedesktop bugzilla, so I just grepped my irc logs for freedesktop ;) | 19:42 |
DocScrutinizer05 | hah! | 19:42 |
*** i_a_delta_GB has joined #maemo-ssu | 19:42 | |
DocScrutinizer05 | NICE; still nit "fixed" | 19:48 |
DocScrutinizer05 | not* | 19:48 |
DocScrutinizer05 | I think it's a WONTFIX since evrybody got used to d-bus blowing chunks every now and then | 19:50 |
DocScrutinizer05 | I frequently notice effects in KDE where it _clearly_ lost some message or event. Simply doesn't react on an event in the way it's supposed to. Not now and not after 30 minutes | 19:52 |
dos1 | that's ridiculous... | 19:52 |
DocScrutinizer05 | I'm also rather sure d-bus is memleaking | 19:53 |
dos1 | init systems on top of dbus starts to sound now like really great idea... | 19:56 |
dos1 | I wonder how kdbus project is going on | 19:56 |
merlin1991 | you mean the inkernel messaging system? | 19:58 |
dos1 | yep | 19:58 |
*** mkaindl has joined #maemo-ssu | 19:59 | |
*** mkaindl has left #maemo-ssu | 20:00 | |
merlin1991 | I pretty much heard nothing about it after the initial "we have a system for this already in the kernel" response | 20:00 |
merlin1991 | didn't look for it though | 20:00 |
*** Martix_ has joined #maemo-ssu | 20:02 | |
*** BCMM_ has quit IRC | 20:04 | |
dos1 | I remember that systemd devs had big hopes for it | 20:04 |
FatPhil | systemd devs had high hopes about kitchen sinks too | 20:05 |
FatPhil | Eventually, the answer to the question "What OS do you run?" would be "systemd" | 20:05 |
*** Martix_ has quit IRC | 20:07 | |
*** luf has joined #maemo-ssu | 20:07 | |
kerio | fucking systemd | 20:09 |
FatPhil | ShadowJK: one way around fragmentation is to give out handles to memory, rather than pointers. That way, a sufficiently intelligent allocator could optimise their location. (Which of course requires devs to lock and unlock around accesses, which history tells us is expecting too much from some developers) | 20:09 |
kerio | iirc linus is a bit tired of poettering's shit | 20:09 |
kerio | anyway, mkfs.ext4 -c is at 828 errors at 58% on this netbook's hd :s | 20:10 |
FatPhil | Everyone's tired of it. However, he's no idiot. Plenty of what he says makes good sense. | 20:10 |
ShadowJK | I remember when I had bash running inside xchat. My OS was IRC | 20:10 |
kerio | i'm looking forward to the end of these bad blocks :s | 20:10 |
*** i_a_delta_GB has quit IRC | 20:10 | |
kerio | ShadowJK: pffff | 20:10 |
kerio | what a noob | 20:10 |
FatPhil | My OS was emacs for a while | 20:11 |
kerio | init=/usr/bin/emacs | 20:11 |
freemangordon | FatPhil: couldn't that lock/unlock be done automatically for those who are lazy? or just sigsegv? | 20:11 |
kerio | and then run bash inside ERC | 20:11 |
*** Martix_ has joined #maemo-ssu | 20:11 | |
*** arcean has quit IRC | 20:11 | |
*** mkaindl has joined #maemo-ssu | 20:11 | |
FatPhil | freemangordon: I wouldn't want to design such a system, and then roll it out in a high availability environment, put it that way. | 20:11 |
*** mkaindl has left #maemo-ssu | 20:12 | |
FatPhil | freemangordon: of course, it can be done in a language like C++, with polymorphism. | 20:12 |
freemangordon | FatPhil: well, I always think C++. or rather C with classes :D | 20:12 |
FatPhil | but then you have to auto-lock/unlock around every individual access which is teh suck | 20:13 |
freemangordon | I am old enough to thing anything but C/C++ should be forbidden by the law inside kernel/low level libs/middleware | 20:13 |
FatPhil | I have many years of being a C++ evangelist on my CV... Never touch the language mowadays. | 20:13 |
*** iDont has joined #maemo-ssu | 20:14 | |
merlin1991 | freemangordon: but, but python? ;) | 20:15 |
dos1 | C++ sucks :P | 20:16 |
dos1 | "let's take C, add some nice things to it, but screw up many more" ;) | 20:17 |
FatPhil | Totally agreed. | 20:17 |
FatPhil | I was thinking of writing some performance-oriented highly-OO code, and looked around for an alternative to C++, and found Digital Mars D. | 20:18 |
FatPhil | However, I looked away for about a year, and when I turned back, I noticed that the same fucking idiot who had introduced a megaton of shit into C++ had now started fucking up Digital Mars D too. | 20:19 |
FatPhil | So that project is still on hold... | 20:20 |
*** Martix_ has quit IRC | 20:20 | |
FatPhil | If you're introducing class schemas into a language, that you are deprecating only a couple of years later, then you are *dangerous* to the language. | 20:21 |
freemangordon | merlin1991: what about python? | 20:24 |
freemangordon | don't tell me you like the way you are forced to use tabs(or spaces), come on, this is ridiculous | 20:25 |
merlin1991 | well the whitespace thingy is odd | 20:25 |
merlin1991 | but my other likes outweight that | 20:25 |
freemangordon | and is enough to make me don;t want to touch anything python with a stick | 20:26 |
FatPhil | I've never looked at python closely enough to evaluate its other features | 20:26 |
freemangordon | same here :) | 20:26 |
FatPhil | Semantic meaning to lengths of runs of whitespace is such an absolute no-no, it should never have been written in the first place. | 20:27 |
ShadowJK | Right now I'm happy when I get anything less silly than Siemen's "beginner's ladder" language. You graphically draw logic gates and connect them together. | 20:28 |
FatPhil | I remember looking at the archives of the python programming yahoogroup once - it died out very quickly, as none of the members could post any code - it would all get mangled! | 20:28 |
FatPhil | dataflow languages can be awesome | 20:29 |
*** discopig has quit IRC | 20:29 | |
ShadowJK | I often end up "I wish I had a clock", then take a nand gate and connect the output to input, and then start constructing a cpu-like monstrosity but run out of gates before getting where I wanr | 20:30 |
FatPhil | The best thing about that yahoogroup was that some people had replaced runs of initial whitespace with runs of periods in order to preserve the indentation. | 20:30 |
ShadowJK | the hardware does 150 cycles per second! | 20:30 |
FatPhil | stockholm syndrome | 20:30 |
ShadowJK | rofl | 20:30 |
ShadowJK | The only good thing about that siemens gear is that each unit has a beancounter friendly price of <200 euro, which is amazing for industrial automation kit | 20:32 |
FatPhil | can't you get some Xylinx or Altera boards for less than that? | 20:33 |
ShadowJK | boards, yeah | 20:34 |
ShadowJK | but not with 10A 12-240V I/O drive strength and foolproofing against "hook up random wires to random terminals and see what happens"-electricians | 20:35 |
FatPhil | Good point. | 20:35 |
ShadowJK | this seems to be the common troubleshooting strategy when things stop working | 20:36 |
ShadowJK | comes after hitting it wth a hammer and turning it off and then on again. | 20:36 |
ShadowJK | sorry, I mean "percussive maintenance" | 20:36 |
*** DrCode has quit IRC | 20:45 | |
*** DrCode has joined #maemo-ssu | 20:49 | |
*** BCMM_ has joined #maemo-ssu | 20:56 | |
*** BCMM_ has quit IRC | 20:56 | |
*** BCMM_ has joined #maemo-ssu | 20:56 | |
*** NIN101 has quit IRC | 21:01 | |
*** NIN101 has joined #maemo-ssu | 21:11 | |
*** BCMM_ has quit IRC | 21:14 | |
*** BCMM_ has joined #maemo-ssu | 21:16 | |
*** NIN101 has quit IRC | 21:27 | |
*** nox- has joined #maemo-ssu | 21:27 | |
kerio | c++ is just a bad idea overall | 21:52 |
*** arcean has joined #maemo-ssu | 22:03 | |
*** FlameReaper has joined #maemo-ssu | 22:10 | |
*** arcean has quit IRC | 22:10 | |
freemangordon | kerio: yeah, python, java and .NET are waaay better :P | 22:12 |
kerio | python is really good for smallish-to-medium-sized projects | 22:12 |
kerio | java is excessively enterprisey | 22:12 |
kerio | and .net is java | 22:12 |
kerio | but made by microsoft | 22:13 |
freemangordon | you mean it is bytecode? | 22:13 |
kerio | it fits the same niche as java | 22:13 |
kerio | aka enterprise programs | 22:13 |
freemangordon | you mean "take the next moron from the street and make him developer" paradigm? | 22:14 |
kerio | s/the street/India/ | 22:14 |
freemangordon | but why, there are streets all over the world, and I doubt morons can only be found in India | 22:15 |
kerio | i mean, java is kinda made to avoid too many issues caused by bad programmers | 22:15 |
freemangordon | actually I am sure there are lots of the inside India | 22:15 |
kerio | everything is strictly divided in small parts | 22:16 |
freemangordon | *them outside | 22:16 |
freemangordon | kerio: ever seen a very big project coded in java? | 22:16 |
kerio | a bad programmer working in python or ruby will happily change builtins because they have copypasted a cool trick from stockoverflow | 22:17 |
kerio | no, i have not | 22:17 |
kerio | and i feel happier because of it | 22:17 |
freemangordon | it is a nightmare to deal with the codebase. at least for me. It takes ages to find all the parent classes, all the method overwrites, etc | 22:18 |
kerio | oh absolutely | 22:18 |
*** NIN101 has joined #maemo-ssu | 22:50 | |
merlin1991 | nah .net isn't take the next moron | 23:13 |
merlin1991 | but at the same time it is in some way | 23:14 |
FatPhil | Much of it is laziness on the part of educators - they're just teaching whatever the current trend is, and the trend is driven my marketting. | 23:16 |
FatPhil | And I say that as someone who's been on the teaching side of things | 23:17 |
*** iDont has quit IRC | 23:17 | |
*** _rd has joined #maemo-ssu | 23:20 | |
merlin1991 | well tu vienna teaches java | 23:20 |
merlin1991 | not exactly the latest marketing trend :D | 23:20 |
*** BCMM_ has quit IRC | 23:33 | |
*** LauRoman has joined #maemo-ssu | 23:43 | |
*** luf has left #maemo-ssu | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!