IRC log for #maemo-ssu on 20130905

00:24.16T_Xdoes anyone know which kernel module is responsible for the phone/umts/etc.?
00:24.44T_Xfor the n900 that is
00:27.49T_Xand secondly, would unloading that module prevent any interaction with a phone tower?
00:30.49*** join/#maemo-ssu oldtopman (~oldtopman@unaffiliated/oldtopman)
00:35.21DocScrutinizer05a: there's not exactly a phone kernel module, there's phonet and cmt_speech
00:36.28DocScrutinizer05the one is for communication, the other for audio
00:37.14DocScrutinizer05b: the modem doesn't need any of those kernel modules neither libisi to communicate with the "phone tower"
00:38.12DocScrutinizer05as soon as you power up the modem, it already starts searching for cells, and it *might* even communicate with them
00:41.37DocScrutinizer05it 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
00:55.19T_XDocScrutinizer05: ah, k, thx!
01:16.42ShadowJKThere 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
01:33.52T_XI 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
01:34.13T_Xand I guess AT+CFUN=4 (disable transmit and receive RF circuits (flight mode) ) won't help either
01:34.38T_Xfunnily, for AT+CFUN=4 I don't get this message about disabled emergency numbers
01:53.40T_Xhm, rmmoding ssi_mcsaab_imp seems a little promising. that's the one disabling the emergency numbers
01:54.09T_Xand it also disables pnatd, so entering AT_CFUN=x can't be entered anymore :)
02:10.41*** join/#maemo-ssu freemangordon_ (~freemango@213.137.35.49)
02:14.27*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
02:25.19DocScrutinizer05I wonder what you're after
02:25.37DocScrutinizer05http://siliconpr0n.org/wiki/doku.php?id=physical_protection :-D
04:07.00ShadowJKmcsaab is going to be the actual data lines
04:13.45T_Xhm, would be handy to have a base station in our hackerspace to test stuff like that
04:13.57T_X:)
04:14.29T_Xor a USRP
04:21.16ShadowJKTest what
04:21.40ShadowJKLoading and unloading kernel modules is kinda pointless :P
04:23.14ShadowJKThe modem is a fully functional computer with its own CPU, RAM and its own power management.
04:23.24ShadowJKThe 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
04:25.09ShadowJKAfter Symbian gained realtime capabilities, the OS could be loaded into the modem's cpu and run concurrently with the realtime tasks of the modem :)
04:25.31ShadowJKSave a cpu+ram combo
04:25.56ShadowJKI'll note further that the GPS is hooked up to the modem ;)
04:46.05*** join/#maemo-ssu ruskie (ruskie@sourcemage/mage/ruskie)
05:17.42*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
06:31.08FatPhilOne would hope that from a power management perspective, once the last thing making use of the modem is removed, it would be powered down.
06:33.24FatPhilperhaps powertop will show the difference in power/clock domain activity in the two cases
07:08.29*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
07:12.11*** join/#maemo-ssu LauRoman (~LauRoman@5-14-93-219.residential.rdsnet.ro)
07:30.56kerioFatPhil: it might be so
08:01.19*** join/#maemo-ssu kolp (~quassel@212.255.97.130)
08:04.19*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
08:20.04*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
08:22.35*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@113.117.191.5)
08:41.59*** join/#maemo-ssu piscodig (~discopig@unaffiliated/discopig)
09:09.59DocScrutinizer05ShadowJK: BB5 is on many Nokia phones, indeed
09:11.18DocScrutinizer05FatPhil: how would modem know about "removing things" that use it?
09:12.15DocScrutinizer05it sounds like "after switching off speakers and monitor, i'd hope the PC powers down"
09:18.03DocScrutinizer05FatPhil: actually it's like that: you need to tell modem to power down, explicitly.
09:19.06DocScrutinizer05more often than not it's the AP that plays power-down, and it's modem to wake AP up
09:19.17keriomore like "i hope that if nothing is using the audio, then the audio card powers down"
09:19.26keriowhich is not ridiculous, to be honest
09:19.43DocScrutinizer05that's correct... for audiocard
09:19.44*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
09:19.49kerios/powers down/is powered down/
09:19.57DocScrutinizer05nonono
09:20.13DocScrutinizer05aiui the card auto-powerdowns
09:20.35DocScrutinizer05not on N900
09:20.43DocScrutinizer05but on PC aiui
09:21.21DocScrutinizer05well, somedtimes it might be the alsa soundcard driver module in kernelspace doing the powerdown
09:21.55DocScrutinizer05with some luck, and when not using braindamaged PA
09:22.02DocScrutinizer05pukeaudio
09:22.21DocScrutinizer05err PolypAudio
09:24.01DocScrutinizer05dang, is tmo dead? or just all its users?
09:25.02DocScrutinizer05tmo 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
09:25.57DocScrutinizer05last ten days or so I seen ~2 new posts per hour, and ~100 thanks per day. Since 12h zilch
09:26.14jon_ytmo is dead?
09:26.16jon_y:)
09:26.45jon_ytend to avoid forums and use mailing lists instad
09:26.48jon_y*instead
09:27.09DocScrutinizer05yeah, did same until I came to maemo
09:27.24DocScrutinizer05for OM we *had no* forum
09:27.33DocScrutinizer05God was that a good time
09:28.10jon_yless eternal September shenanigans
09:28.10DocScrutinizer05then came freeyourphone.de
09:28.23jon_ynot to say mailing lists were free of them
09:29.21DocScrutinizer05dang, I didn't have a look at freeyourphone since... years?
09:29.35jon_ywhat is that site about?
09:45.21DocScrutinizer05err about openmoko Neo Freerunner and other "free" phones
09:51.33jon_ycarriers don't want "free" phones
09:51.38jon_ythey want iphones :(
09:57.25*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
10:07.56DocScrutinizer05carriers want business and thus customers
10:08.36jon_ydo consumers want freedom?
10:08.45jon_ythat's a hard question
10:09.32jon_yprobably not, choices are hard
10:13.11*** join/#maemo-ssu BCMM (~user@unaffiliated/bcmm)
10:15.45DocScrutinizer05well, quite obviously many (most?) of them prefer "free" services like fb/twitter/watsap/gmail crap over freedom
10:16.16keriowell
10:16.25kerioif you don't mind the privacy invasion, gmail is pretty fucking awesome, to be fair
10:17.22jon_ykerio: at least I get to use gnupg to pre-encrypt first
10:17.47jon_yI'm still waiting one day when a webservice will say "No encryption allowed"
10:17.55DocScrutinizer05a 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
10:19.22DocScrutinizer05jon_y: hah, dream on! I heard they support encryption now - *serverside* via web frontend X-P
10:19.42jon_ykind of defeats the point entirely
10:19.56DocScrutinizer05actually e.g web.de does that since ~10 years
10:20.18jon_ydoesn't that mean they have your private key?
10:20.30keriojon_y: why does that defeat the purpose? what purpose is it defeating?
10:20.32DocScrutinizer05yes, they create it for you ;-P
10:20.54kerioassuming you trust the service, that is
10:21.15jon_ykerio: the whole idea of offering encryption when they can read it too
10:23.32jon_yalso, unencrypted over the air transmission
10:23.40DocScrutinizer05yup
10:23.50kerioi assume you have https to your webmail
10:23.53DocScrutinizer05or poorly encrypted by SSL
10:24.05jon_ygovernment has certs
10:24.30jon_ywhy do you need to encrypt it, comrade?
10:25.20DocScrutinizer05the snoop-now-decrypt-later approach is pretty effective for SSL
10:25.52jon_ydefinitely need httpss
10:26.05jon_yasymetrical rather than symmetrical
10:26.28jon_yeach "session" uses a different set of keys
10:26.45jon_ythen again, it sounds like ballroom dancing
10:26.51DocScrutinizer05there's a means for that in SSL, but nobody uses it
10:27.00DocScrutinizer05except google ;-P
10:27.17jon_ythey do?
10:30.30DocScrutinizer05Perfect Forward Secrecy
10:33.06jon_yis it possible to do this with standard apache setup?
10:34.28DocScrutinizer05http://wstaw.org/m/2013/09/05/plasma-desktopZj3743.png
10:36.02DocScrutinizer05openssl s_client -connect wiki.maemo.org:80
10:36.55DocScrutinizer05openssl s_client -connect wiki.maemo.org:443
10:37.58DocScrutinizer05Cipher    : .*DHE.*
10:40.07jon_yok, encryption cipher selection?
10:40.09DocScrutinizer05http://wstaw.org/m/2013/09/05/plasma-desktopqi3743.png  <- list of browsers vs "supports PFS"
10:44.18DocScrutinizer05fb, twitter, yahoo, ebay, paypal -> no DiffieHellman
10:44.28DocScrutinizer05aka PFS
10:44.53DocScrutinizer05MS as well not really. Google though full support
10:45.29kerioCipher    : DHE-RSA-AES256-SHA
10:45.34keriodefault nginx config :D
10:45.42keriodem russians
10:45.46DocScrutinizer05DH == DiffieHellman == PFS
10:46.25jon_yok
10:46.34DocScrutinizer05chrome shows encryption used, search for *DH*
10:46.37jon_yhere's my own server ECDHE-RSA-AES128-SHA256
10:46.44jon_yis that good?
10:46.46kerioeyup
10:46.50DocScrutinizer05DH is good
10:47.04jon_yok
10:47.17keriowhat does the E stand for?
10:47.20kerioephemeral?
10:47.20jon_ybasically no change needed
10:47.26jon_yno idea :)
10:47.27DocScrutinizer05nfc
10:47.39DocScrutinizer05aah eliptical
10:47.44DocScrutinizer05elyptical?
10:48.03kerionah, that's "EC"
10:48.14keriofor ellyptic curve
10:48.16DocScrutinizer05*shrug*
10:48.20DocScrutinizer05yep
10:48.42kerioyeah, E stands for ephemeral
10:48.54jon_ybtw, windows still hate DAV+SSL on win7
10:49.15*** join/#maemo-ssu BCMM_ (~BCMM@unaffiliated/bcmm)
10:50.37DocScrutinizer05ephemeral
10:50.47DocScrutinizer05meh he beats me
10:52.07DocScrutinizer05NB you can check all services using SSL with the above commandline
10:52.32DocScrutinizer05just pick the port of your choice
10:54.20DocScrutinizer05http://wstaw.org/m/2013/09/05/plasma-desktopkO3743.png <- check of some popular service providers (German focus)
11:05.50FatPhilDocScrutinizer05: 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.
11:06.44DocScrutinizer05would be nice, but doesn't work this way with modem afaik
11:07.10DocScrutinizer05layering
11:07.33DocScrutinizer05th eprotocol to shutdown modem is 2 layers above the phy
11:09.39DocScrutinizer05after all it's "far end", the kernel driver could only shut down the OMAP interface block
11:10.11DocScrutinizer05kernel doesn't know shit about "AT"
11:10.36DocScrutinizer05AT+POFF, AT+CFUN=0
11:11.02keriono fun huh
11:11.11DocScrutinizer05sure, BB5 uses ISI, but the idea stays the same
11:12.06DocScrutinizer05you can't teach the tty kernel driver to display a "I'm offline" message on the vt100
11:13.54DocScrutinizer05your shell could do that, on receiving SIGHUP, before shutting down and closing dev/tty
11:14.14DocScrutinizer05for modem that's libisi
11:14.22DocScrutinizer05or even higher
11:15.48DocScrutinizer05SHR 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
11:16.56DocScrutinizer05you even have that concept in age old RS232: RI
11:17.06DocScrutinizer05RingIndicator
11:17.20DocScrutinizer05the ancient days' WOL
11:25.33jon_ywhat's wrong with RS232? simple 2 wire protocol was pretty nice
11:27.26*** join/#maemo-ssu arcean (~arcean@aaem165.neoplus.adsl.tpnet.pl)
11:33.09merlin1991argh rs232
11:33.27merlin1991kernel interface for that is driving me mental
11:35.51DocScrutinizer05who said sth wrong?
11:36.19DocScrutinizer05and RS232 is not 2 wire at all
11:36.25DocScrutinizer05more like 9 wire
11:36.34DocScrutinizer057 maybe
11:36.46DocScrutinizer05or 19
11:38.10DocScrutinizer0513 actually
11:38.24DocScrutinizer05http://en.wikipedia.org/wiki/Rs232#Signals
11:40.14DocScrutinizer05ok, you could argue that virtually nothing which is working anymore supports secondary channel
11:40.22DocScrutinizer05then it's 8-wire
11:41.31DocScrutinizer05jon_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.<<
11:47.01merlin1991DocScrutinizer05: I've seen a lot of 2 wire "rs232"
11:47.12merlin1991ie garmin gps recievers send there data over that
11:47.21merlin1991s/there/their/
11:50.40DocScrutinizer05that's not RS232 though, that's *using* rs232
11:51.21DocScrutinizer05ok, jon_y never said RS232 *is* 2-wire, actually
11:53.51DocScrutinizer05you could call 2-wire low-voltage rs232 as well 20mA-tty
11:54.53DocScrutinizer05actually it resembles 20mA more than it's similar to RS232
11:55.59jon_yDocScrutinizer05: iirc rs232 refers to the old 12V signaling protocol
11:56.04DocScrutinizer05since 20mA-tty actually is a 2-wire, and voltage levels are not up to spec for both lv-rs232 and lv-20mA
11:56.15jon_yI can't remember what the others are called
11:56.31DocScrutinizer05rs485 for example
11:56.40DocScrutinizer05rs422?
11:56.49DocScrutinizer05there are several
11:56.53jon_yI mean they could talk to each other provided you have some voltage buffer in between
11:57.18jon_yall have start/stop bits
11:57.25jon_ywork over 2 wire rx/tx
11:58.08FatPhilDocScrutinizer05: 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.
11:58.08DocScrutinizer05http://en.wikipedia.org/wiki/Rs232#Related_standards
11:58.26DocScrutinizer05yep
11:58.37jon_yof course, this assume both side talk at about the same clock freq
12:05.06*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
12:16.04*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
12:19.16*** join/#maemo-ssu piscodig (~discopig@unaffiliated/discopig)
12:26.08ShadowJKI remember MeegoCE on N900 used significants amount of power also *after* shutting down the phone :)
12:26.52jon_yafter? how?
12:29.30ShadowJKit didn't turn off everything before switching off cpu
12:29.52jon_ymaybe ARM should have ACPI states instead
12:39.30*** join/#maemo-ssu raccoon_ (user@ghs/raccoon)
12:51.59*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
12:55.12*** join/#maemo-ssu piscodig (~discopig@unaffiliated/discopig)
13:46.03*** join/#maemo-ssu BCMM_ (~BCMM@unaffiliated/bcmm)
13:51.42*** join/#maemo-ssu oldtopman (~oldtopman@unaffiliated/oldtopman)
14:11.37*** join/#maemo-ssu jade (~discopig@2001:c08:3700:ffff::679)
14:11.37*** join/#maemo-ssu jade (~discopig@unaffiliated/jade)
14:11.55*** join/#maemo-ssu sixwheeledbeast (~paul@cl-1547.lon-02.gb.sixxs.net)
14:19.37DocScrutinizer05ShadowJK: 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
14:21.11DocScrutinizer05much 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
14:22.06DocScrutinizer05untill this very day most openmoko distros have root-only config
14:23.01DocScrutinizer05and nobody ever will do the fancy to fix all the permission issues that would make it break *epically* when introducing real non-root users
14:23.57DocScrutinizer05apps accessing /sys/* just like pfff
14:24.36DocScrutinizer05all sorts of files either world readable or only by root
14:25.36DocScrutinizer05an abomination
14:25.59DocScrutinizer05and pretty much the same happened to meego re PM
14:28.00DocScrutinizer05"but! but! we DO have only ONE user!" BWAHAHA
14:29.45DocScrutinizer05I can see ~50 distinct "users" on my PC and that has no interactive user account but mine
14:31.11DocScrutinizer05likewise you never get the whole peripherals PM sorted when you start with a flawed API
14:31.22DocScrutinizer05and flawed paradigms at large
14:34.11DocScrutinizer05like "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
14:34.43DocScrutinizer05you need a whole new API paradigm to account for that
14:36.02DocScrutinizer05so *first* define proper PM-compliant APIs, only *then* even _start_ implementing processes/apps using those APIs
14:36.35kerioDocScrutinizer05: fwiw, a lot of processes don't need explicit power management
14:36.52DocScrutinizer05yeah fwiw
14:37.20DocScrutinizer05it's never processes that need PM, it's the hardware that does
14:37.28keriono, i mean
14:38.01kerioif you do async I/O and your UI toolkit is sane, you wouldn't drain a handheld's battery
14:38.06keriowhen not in use, at least
14:38.26DocScrutinizer05and how do you handle e.g. GPS?
14:38.36kerioqt mobility :P
14:38.42DocScrutinizer05ROTFL
14:38.49kerioi'm just saying
14:38.50*** join/#maemo-ssu obironbo (~chatzilla@tn-76-7-165-130.sta.embarqhsd.net)
14:39.02kerioif your code is littered with spin locks, the problem is not that you're going to drain my battery
14:39.14keriothe problem is that you're breathing my air
14:39.33DocScrutinizer05qt mobility has exactly ZILCH concept to define how exact, how frequent, how urgent your "fix" shall be
14:39.44keriois there a standard gps api in linux?
14:39.52DocScrutinizer05no
14:40.22keriobut gpsd is developed by ESR
14:40.24DocScrutinizer05you need a proper middleware to handle such stuff
14:41.58DocScrutinizer05userland 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
14:42.26DocScrutinizer05QtM completely ignored that, initially (and for many sensors still does)
14:43.15DocScrutinizer05on maemo for example you got liblocation that does a rather decent job as middleware
14:43.42DocScrutinizer05of course I prefer a more general concept like FSO
14:44.52DocScrutinizer05http://www.freesmartphone.org//
14:45.30kerio"It offers DBus-APIs all over the place"
14:51.11*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
14:52.47DocScrutinizer05yeah, unlike LIBlocation
14:55.07DocScrutinizer05btw: http://gypsy.freedesktop.org/wiki/
15:08.07DocScrutinizer05and http://gypsy.freedesktop.org/why-not-gpsd.html
15:20.10DocScrutinizer05I 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
15:21.51DocScrutinizer05phonet folks in their hybris and arrogance rejected any cooperation, blaming FSO for allegedly just being a glorified AT interface to GSM
15:22.27DocScrutinizer05in the end I think this attribute fits perfectly to phonet itself
15:23.47DocScrutinizer05see BT tethering, for example
15:25.31DocScrutinizer05kerio: who or what is "ESR"?
15:32.23kerioEric S. Raymond
15:41.16DocScrutinizer05whoever is that
15:41.44DocScrutinizer05should I know him?
15:41.53kerioa university dropout who wrote The Cathedral and the Bazaar
15:42.04DocScrutinizer05umm
15:42.22DocScrutinizer05http://gypsy.freedesktop.org/why-not-gpsd.html is a nice read
15:42.27kerioyeah, i read it
15:42.45keriomakes sense
15:43.00DocScrutinizer05NB FSO is using org.freedesktop.gypsy
15:43.01kerioi still don't like dbus, but i guess that it's the least worse IPC
15:43.21DocScrutinizer05ack
15:43.30*** join/#maemo-ssu dos1 (~dos@unaffiliated/dos1)
15:43.58DocScrutinizer05dbus is an abomination, but alas the only  thing we got
15:44.33DocScrutinizer05did you know that timeout is hardcoded in dbus? :-O
15:45.15freemangordonDocScrutinizer05: hmm? what timeout
15:45.17freemangordon?
15:45.32DocScrutinizer05some timeout when using sync calls, I guess
15:45.54*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-85-160-40-239.eurotel.cz)
15:46.04freemangordonwhere did you get that from? afaik you pass the timeout as a parameter
15:46.30freemangordonis going to check
15:46.33FatPhil"Don't Use Malloc"? WTF
15:46.53DocScrutinizer05well, 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
15:47.03DocScrutinizer05ROTFL, yeah
15:47.14DocScrutinizer05ESR
15:48.00kerioto be fair, if you only need a static amount of memory...
15:48.03FatPhilI 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
15:48.18DocScrutinizer05ome years ago there even was a *nasty* bug in all async calls of dbus, that seems was rather hard to fix
15:48.56DocScrutinizer05I for one think some of the bugs in sbus still hide there and show every now and then
15:49.04FatPhil"memory allocation is far too important to let fucknut programmers take control of it". And I thikn I've now found those fucknuts.
15:49.06DocScrutinizer05dbus*
15:49.23freemangordonDocScrutinizer05: hmm, http://dbus.freedesktop.org/doc/api/html/group__DBusConnection.html#ga8d6431f17a9e53c9446d87c2ba8409f0
15:49.31FatPhildbus had some horrific O(n) or worse behaviour a few years ago
15:49.34freemangordonFatPhil: where, you made me curious
15:49.53FatPhilDocS's gpsd link
15:49.59kerioO(n) is fairly good
15:50.01kerioi like O(n)
15:50.24DocScrutinizer05freemangordon: nfc then, maybe it's in some libdbusglib or whatever
15:50.41FatPhilO(n) effort to achieve O(1) work is fucking awful
15:51.17keriophp has a library function to compute a greedy estimation of the distance between two strings in Om(n^3)
15:51.25keriothe textbook exact calculation is O(n^2)
15:51.47FatPhilDbus was *clearly* (from an algorithmist's perspective) designed from the ground up to not be scalable.
15:52.05FatPhilYet its selling point was that it was supposed to be scalable
15:52.34FatPhilIpso facto, it's designed and implemented by people who don't know what they're talking about.
15:52.44FatPhilNot a good sign.
15:53.01*** join/#maemo-ssu NIN101 (~NIN@p5DD28144.dip0.t-ipconnect.de)
15:53.06DocScrutinizer05Mickey 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"
15:54.30DocScrutinizer05due to the aforemantioned bug, fso was not using async anywhere for quite some time, which of course made life a lot easier ;-)
15:56.13freemangordonPali: hmm, why is AVS enabled on your linux-n900 tree?
15:57.28*** join/#maemo-ssu arcean (~arcean@aaem165.neoplus.adsl.tpnet.pl)
15:58.43freemangordonhmm, mayde it is time to move CSSU to github, gitorious is simply unuisable :(
15:58.47freemangordon*maybe
16:02.57*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
16:04.35freemangordonPali: https://gitorious.org/linux-n900/linux-n900/source/d5da1f5357345ad270a491ce285c78dcf901a7ff:arch/arm/configs/rx51_defconfig#L318
16:08.27DocScrutinizer05hmm, can't spot it anymore, and coldn't a year ago either: http://irclog.netripper.com/openmoko-cdevel/2012/8/4/
16:21.36*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
16:21.46dos1I remember that bug
16:26.11ShadowJKwhat's wrong with using malloc? I even use it on systems with 2k ram :s
16:35.53FatPhilShadowJK: my comment was in the context of http://gypsy.freedesktop.org/why-not-gpsd.html
16:36.36dos1DocScrutinizer05: https://bugs.freedesktop.org/show_bug.cgi?id=19796
16:36.37povbot_Bug 19796: was not found.
16:37.07ShadowJKIn some ways they've got a point, in that over time for long running processes, heap fragmentation can get pretty bad
16:39.44*** join/#maemo-ssu Martix_ (martix@nat/redhat/x-dokdyqfnmiqojytg)
16:39.48DocScrutinizer05dos1: EXACTLY, how the heck did you manage to find this one?
16:41.04DocScrutinizer05ShadowJK: solution: allocate your *static* vars during _init_
16:41.10*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
16:41.44DocScrutinizer05the best of both concepts
16:42.07dos1DocScrutinizer05: I recalled reading it on freedesktop bugzilla, so I just grepped my irc logs for freedesktop ;)
16:42.21DocScrutinizer05hah!
16:42.41*** join/#maemo-ssu i_a_delta_GB (~iadeltagb@0545da4d.skybroadband.com)
16:48.34DocScrutinizer05NICE; still nit "fixed"
16:48.37DocScrutinizer05not*
16:50.40DocScrutinizer05I think it's a WONTFIX since evrybody got used to d-bus blowing chunks every now and then
16:52.01DocScrutinizer05I 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
16:52.53dos1that's ridiculous...
16:53.59DocScrutinizer05I'm also rather sure d-bus is memleaking
16:56.16dos1init systems on top of dbus starts to sound now like really great idea...
16:56.35dos1I wonder how kdbus project is going on
16:58.03merlin1991you mean the inkernel messaging system?
16:58.56dos1yep
16:59.52*** join/#maemo-ssu mkaindl (~mkaindl@p2003004609031A01505483FFFE5169ED.dip0.t-ipconnect.de)
17:00.07*** part/#maemo-ssu mkaindl (~mkaindl@p2003004609031A01505483FFFE5169ED.dip0.t-ipconnect.de)
17:00.30merlin1991I pretty much heard nothing about it after the initial "we have a system for this already in the kernel" response
17:00.48merlin1991didn't look for it though
17:02.24*** join/#maemo-ssu Martix_ (martix@nat/redhat/x-qhkcsdxdzhdjtrhu)
17:04.32dos1I remember that systemd devs had big hopes for it
17:05.02FatPhilsystemd devs had high hopes about kitchen sinks too
17:05.38FatPhilEventually, the answer to the question "What OS do you run?" would be "systemd"
17:07.29*** join/#maemo-ssu luf (~luf@80.188.29.62)
17:09.29keriofucking systemd
17:09.31FatPhilShadowJK: 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)
17:09.36kerioiirc linus is a bit tired of poettering's shit
17:10.26kerioanyway, mkfs.ext4 -c is at 828 errors at 58% on this netbook's hd :s
17:10.35FatPhilEveryone's tired of it. However, he's no idiot. Plenty of what he says makes good sense.
17:10.39ShadowJKI remember when I had bash running inside xchat. My OS was IRC
17:10.46kerioi'm looking forward to the end of these bad blocks :s
17:10.53kerioShadowJK: pffff
17:10.57keriowhat a noob
17:11.00FatPhilMy OS was emacs for a while
17:11.02kerioinit=/usr/bin/emacs
17:11.03freemangordonFatPhil: couldn't that lock/unlock be done automatically for those who are lazy? or just sigsegv?
17:11.17kerioand then run bash inside ERC
17:11.27*** join/#maemo-ssu Martix_ (martix@nat/redhat/x-jbyfwcsswlcucfnf)
17:11.46*** join/#maemo-ssu mkaindl (~mkaindl@p2003004609031A01505483FFFE5169ED.dip0.t-ipconnect.de)
17:11.50FatPhilfreemangordon: I wouldn't want to design such a system, and then roll it out in a high availability environment, put it that way.
17:12.07*** part/#maemo-ssu mkaindl (~mkaindl@p2003004609031A01505483FFFE5169ED.dip0.t-ipconnect.de)
17:12.29FatPhilfreemangordon: of course, it can be done in a language like C++, with polymorphism.
17:12.56freemangordonFatPhil: well, I always think C++. or rather C with classes :D
17:13.09FatPhilbut then you have to auto-lock/unlock around every individual access which is teh suck
17:13.48freemangordonI am old enough to thing anything but C/C++ should be forbidden by the law inside kernel/low level libs/middleware
17:13.49FatPhilI have many years of being a C++ evangelist on my CV... Never touch the language mowadays.
17:14.10*** join/#maemo-ssu iDont (~iDont@ip4da305b4.direct-adsl.nl)
17:15.12merlin1991freemangordon: but, but python? ;)
17:16.36dos1C++ sucks :P
17:17.02dos1"let's take C, add some nice things to it, but screw up many more" ;)
17:17.38FatPhilTotally agreed.
17:18.55FatPhilI was thinking of writing some performance-oriented highly-OO code, and looked around for an alternative to C++, and found Digital Mars D.
17:19.55FatPhilHowever, 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.
17:20.08FatPhilSo that project is still on hold...
17:21.09FatPhilIf 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.
17:24.28freemangordonmerlin1991: what about python?
17:25.05freemangordondon't tell me you like the way you are forced to use tabs(or spaces), come on, this is ridiculous
17:25.33merlin1991well the whitespace thingy is odd
17:25.56merlin1991but my other likes outweight that
17:26.30freemangordonand is enough to make me don;t want to touch anything python with a stick
17:26.40FatPhilI've never looked at python closely enough to evaluate its other features
17:26.48freemangordonsame here :)
17:27.44FatPhilSemantic meaning to lengths of runs of whitespace is such an absolute no-no, it should never have been written in the first place.
17:28.04ShadowJKRight 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.
17:28.38FatPhilI 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!
17:28.59FatPhildataflow languages can be awesome
17:30.07ShadowJKI 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
17:30.10FatPhilThe 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.
17:30.23ShadowJKthe hardware does 150 cycles per second!
17:30.30FatPhilstockholm syndrome
17:30.35ShadowJKrofl
17:32.30ShadowJKThe 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
17:33.49FatPhilcan't you get some Xylinx or Altera boards for less than that?
17:34.06ShadowJKboards, yeah
17:35.11ShadowJKbut not with 10A 12-240V I/O drive strength and foolproofing against "hook up random wires to random terminals and see what happens"-electricians
17:35.50FatPhilGood point.
17:36.14ShadowJKthis seems to be the common troubleshooting strategy when things stop working
17:36.34ShadowJKcomes after hitting it wth a hammer and turning it off and then on again.
17:36.48ShadowJKsorry, I mean "percussive maintenance"
17:49.13*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
17:56.32*** join/#maemo-ssu BCMM_ (~BCMM@callowend.plus.com)
17:56.38*** join/#maemo-ssu BCMM_ (~BCMM@unaffiliated/bcmm)
18:11.55*** join/#maemo-ssu NIN101 (~NIN@p5DD28144.dip0.t-ipconnect.de)
18:16.05*** join/#maemo-ssu BCMM_ (~BCMM@unaffiliated/bcmm)
18:27.21*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
18:52.03kerioc++ is just a bad idea overall
19:03.51*** join/#maemo-ssu arcean (~arcean@aaem241.neoplus.adsl.tpnet.pl)
19:10.28*** join/#maemo-ssu FlameReaper (~assassin@183.171.162.53)
19:12.17freemangordonkerio: yeah, python, java and .NET are waaay better :P
19:12.40keriopython is really good for smallish-to-medium-sized projects
19:12.50keriojava is excessively enterprisey
19:12.52kerioand .net is java
19:13.00keriobut made by microsoft
19:13.12freemangordonyou mean it is bytecode?
19:13.40kerioit fits the same niche as java
19:13.52kerioaka enterprise programs
19:14.35freemangordonyou mean "take the next moron from the street and make him developer" paradigm?
19:14.49kerios/the street/India/
19:15.26freemangordonbut why, there are streets all over the world, and I doubt morons can only be found in India
19:15.50kerioi mean, java is kinda made to avoid too many issues caused by bad programmers
19:15.52freemangordonactually I am sure there are lots of the inside India
19:16.06kerioeverything is strictly divided in small parts
19:16.08freemangordon*them outside
19:16.36freemangordonkerio: ever seen a very big project coded in java?
19:17.01kerioa bad programmer working in python or ruby will happily change builtins because they have copypasted a cool trick from stockoverflow
19:17.13keriono, i have not
19:17.18kerioand i feel happier because of it
19:18.21freemangordonit 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
19:18.35keriooh absolutely
19:50.46*** join/#maemo-ssu NIN101 (~NIN@p5DD28144.dip0.t-ipconnect.de)
20:13.51merlin1991nah .net isn't take the next moron
20:14.00merlin1991but at the same time it is in some way
20:16.02FatPhilMuch 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.
20:17.05FatPhilAnd I say that as someone who's been on the teaching side of things
20:20.00*** join/#maemo-ssu _rd (~rd@p57B485EF.dip0.t-ipconnect.de)
20:20.03merlin1991well tu vienna teaches java
20:20.11merlin1991not exactly the latest marketing trend :D
20:43.49*** join/#maemo-ssu LauRoman (~LauRoman@5-14-93-219.residential.rdsnet.ro)
20:58.41*** part/#maemo-ssu luf (~luf@80.188.29.62)
21:00.28*** join/#maemo-ssu Martix (martix@nat/redhat/x-tkgldssgywwtsyep)
21:28.41*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
21:46.02*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
21:50.15*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
22:00.21*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
22:06.56*** join/#maemo-ssu jon_y_ (~enforcer@2002:af8e:4df8::af8e:4df8)
22:14.50*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
22:52.12*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
23:02.47DocScrutinizer05TU, PAH!
23:03.12DocScrutinizer05ETH Zurich maybe. Emphasis on "maybe"
23:14.12*** join/#maemo-ssu dos1 (~dos@unaffiliated/dos1)

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