#qi-hardware IRC log for Sunday, 2012-05-06

DocScrutinizerwhitequark: nm, found it. What I don't get however is which FW you're using with the sim900d00:00
qi-bot[commit] Maarten ter Huurne: MIPS: Removed declaration of obsolete arch_init_clk_ops() (jz-3.3) http://qi-hw.com/p/qi-kernel/77dbab101:19
qi-bot[commit] Maarten ter Huurne: MIPS: JZ4740: Acquire and enable DMA controller clock (jz-3.3) http://qi-hw.com/p/qi-kernel/759e3e201:19
hozerwow, I'm impressed by the nanonote..04:07
wolfspraulhozer: why? :-) and thanks!04:54
wolfspraulnot easy to be impressed by it, unless in a sense of insanity04:54
wolfspraulit's a wonderful little machine imho04:54
qi-botThe build was successful: http://fidelio.qi-hardware.com/~xiangfu/build-nanonote/openwrt-xburst.minimal-20120505-0051 06:42
whitequarkDocScrutinizer51: ohh, sorry, I got completely lost with different RL stuff :/06:57
whitequarkI can mail you just the device I've been doing. I solved the problem it was expected to fix by different means06:57
whitequarkit's a "devboard" with STM32VLDISCOVERY and two modules with SIM holders and stuff. just add a 2.7V USB-UART06:58
whitequarkDocScrutinizer51: by the way, your full job title somehow reminds me of this song: http://prostopleer.com/tracks/680964ItHu ...07:02
viricha. I just noticed skype understands s/blabla/bleble08:52
DocScrutinizerwhitequark: hey, nice to hear you found a probably better solution to this weird problem11:11
DocScrutinizerwhitequark: the URL returns with immediate "timeout" here. NFC what that means11:11
DocScrutinizerwhitequark: I found those modules offered for ~17EUR from a supposedly western european shop, what I doubt is the firmware they ship. That'S why I asked for the FW you're using 11:13
whitequarkDocScrutinizer: 17 eur is exactly how much they cost here, interesting11:17
whitequarkas per the firmware, I'll try to find some power supply and check with an AT command...11:17
DocScrutinizerwhitequark: I hoped you got a firmware.bin to flash it to the module11:18
whitequarkunfortunately no11:19
whitequarkbut I read at local Russian forums that this is possible with a proprietary (presumably leaked) app11:19
whitequarkso, I think I could get it via some means11:19
DocScrutinizerwhat I found so far was doc that doesn't e.g. mention at+cimei: http://www.seeedstudio.com/wiki/images/a/a0/SIM900_ATC_V1_00.pdf11:19
whitequarkit's AT+SIMEI11:20
whitequarkand yes, it's undoc'd11:20
DocScrutinizerhttp://www.soselectronic.at/?str=371&artnum=83639  <-17.7EUR11:20
whitequarkI discovered it via reading local forums and some luck11:20
whitequarkyeah, looks just like my one11:21
whitequarkthrough on my one, the label is color and not b&w11:21
DocScrutinizerthis stuff has nice features hard to find nowadays: fax, csd...11:22
whitequark... simei, celllock :)11:22
whitequarkmonitor mode11:22
DocScrutinizernot documented here11:22
DocScrutinizermonitor mode is documented11:22
DocScrutinizerp.138 iirc11:23
whitequarkcelllock is in docs11:23
whitequarkin my docs at least, and they were found on internets, so nothing private here11:23
whitequarkan updater and LOTS of firmwares11:24
DocScrutinizernot in 'my' docs, that's why I got nervous about that shop and the FW version they sell11:24
whitequarkin the worst case you'll spend extra ¬17 and I'll just send you a module from here, right?11:24
whitequarkor I can simply send it now11:24
DocScrutinizerahaaaa! :-D11:26
whitequarkwell, not exactly now, russian post doesn't work on sundays11:26
whitequarkbut tomorrow is fine11:26
whitequark... wait, I hope it's fine. there is some holidays yet again.11:27
DocScrutinizer>>A Firmware of SIM900(here is Firmware:1137B08SIM900M64_ST_DTMF_JD_MMS )<<11:27
whitequarkI'm pretty sure this version is newer than my one11:27
DocScrutinizer>> include MMS(Multimedia Messaging Service), Jamming detection,DTMF, and LBS(Location Based Service) functions.11:27
whitequarkbecause mine doesn't have DTMF and Jamming detection11:27
whitequarkneither does it have LBS11:27
whitequark(no idea what's it, but I tried the at command)11:27
whitequarkalso SIM900 != SIM900D11:28
whitequarkyeah, SIM900, SIM900B, SIM900D and SIM900DZ are different modules with AFAIK incompatible fw's11:29
whitequarkalso different outputs, e.g. *B doesn't have analog in/out IIRC11:29
whitequarkor has only one, something like that11:29
DocScrutinizerthere's a D FW on that site11:33
DocScrutinizerhmm, I mirrored the interesting stuff at joerg.cloud-7.de in hidden/downld13:12
DocScrutinizer(maybe also some not-so-interesting stuff, didn't check all)13:14
DocScrutinizerwhat's .ua ?13:16
DocScrutinizerunified arabia?13:17
DocScrutinizeraah no that's .uae13:17
DocScrutinizerand united arab emirates is actually .ae, not .uae13:21
DocScrutinizerbtw there's also docs13:28
whitequarkyeah, ukraine13:42
whitequarkon the headlines from adobe ghetto: flash compiler incorrectly translates this (very complex) code: http://pastie.org/386854613:42
whitequarkI'm continously amazed by its stupidity13:43
whitequarkfuck, how retarded should you be to translate a switch to an infinite loop.13:43
DocScrutinizerand I thought that pascal compiler back when was retarded, when I inspected why code was so HUUUGE, just to find it compiles a "" case i of 0: dosomething; 5000: doanotherting; else ; end; "" to a jump table of length 500013:47
DocScrutinizerwith 4998 jumps to the else-catchall13:48
DocScrutinizererr 4999, and 5001, actually13:48
DocScrutinizerwell, optimization obviously wasn't a strong discipline of that PASCAL-M compiler ;-P13:49
DocScrutinizerbut hey, the machine architecture offered 32k for code, plus 32k for data13:50
whitequarkoh, you didn't seen some other switch statements13:51
whitequarkthis is translated to a HUGE ternary operator (it doesn't fold constants), and a switch of form switch(hugeshit) { case 1: ... break; case 2: ... break;13:52
whitequarkactually it looks pretty neat in disasm, like a piece of modern art13:52
whitequarkbehold: http://pastie.org/386861013:54
whitequarkand it actually computes all that values in runtime at each pass13:54
whitequarkI especially like the last ternary op13:55
DocScrutinizerwhitequark: epic! couldn't you set up a blog or sth with it, so I can ink to it in my wtf-of-the-week link in mail sig?14:01
DocScrutinizerlink even14:01
whitequarkDocScrutinizer: sure14:02
DocScrutinizerbtw with these PASCAL-M and COBOL-M compilers back when I worked for Siemens on M-70 machines, I had quite some fun: sometimes your only chance to get something fixed was to advice compiler to print the intermediate code /assembler listing to printer directly, so you could see on which codeline the compiler coredumps14:10
whitequarkit's funny that I have a kind of similar issue with my decompiler14:11
whitequarkuntil today it didn't have a "verbose" mode, so when it encountered a weird statement it just bailed out with a stacktrace14:12
DocScrutinizerotherwise you'd sit and wait 30min for compiler run to finish, to find it segfaulted and not a single diagnostic file got written (since all files weren't closed correctly and thus got removed on process abnormally quitting)14:12
DocScrutinizerwell, back in the mid 80s14:13
whitequarkbut I thought that codebases were smaller back then14:13
DocScrutinizersure, as I told the arch allowed max 32k of unsegmented code14:13
DocScrutinizerstill cobol could takes its time to build sth of that size14:14
viricwhitequark: why you work so much with flash?14:15
viricseems to me a weird dedication14:15
whitequarkviric: I'm being paid for it, and also the decompiler I'm writing is not your usual decompiler14:15
viricah ok14:15
whitequarkI'd rather call it a compiler of Flash bytecode to Flash source code14:15
whitequarksimilarly how, for example, Emscripten compiles LLVM IR to JavaScript14:16
viricdo you write it in lisp?14:16
whitequarknah, Ruby14:16
viricis your target a human reader?14:16
whitequarkbut again, not your usual kind of Ruby :)14:16
whitequarkyes. I can post some example code if you'd like14:17
whitequarkthe pastie above isn't the end result but an IR dump14:17
whitequarkI think this came from Flex sources14:18
viricthat's ruby?14:20
whitequarkerm, no, this is a part of listing of decompiled ActionScript 3 code14:20
whitequarkthe sources of decompiler are on github14:21
whitequarke.g. https://github.com/whitequark/furnace-avm2/blob/master/lib/furnace-avm2/transform/cfg_reduce.rb14:21
whitequarkdo you have a need of reverse-engineering flash something?14:27
viricnot at all14:27
viricWith the panoramic screens, we got pictures at wrong aspect ratio all around14:34
viricAnd now with the panoramic home cameras, we double that!14:34
viricI'm seeing more and more videos uploaded to video hosting sites at wrong aspect ratio14:40
DocScrutinizeron 16:9 TV sets I found like 80% of users never noticed there is any such thing like format-indicator bit from TV station. Rather they watch all content on 16:9 now, and do not mind the football heads in stretched 4:3 media14:41
DocScrutinizerit's a real PITA that makes me wanna start amok actions - since mp3 people forgot how good music sounds, and don't care dynamic compression like 10:1 nor any clipping etc in music, even DJs in pubs torture me hour after hour with their broken equipment that produces like 20% THD - they obviously don't notice it :-/14:44
DocScrutinizersame for video14:44
DocScrutinizersince DVB the quality of video images constantly getting worse rather than better as they used to promise14:45
wpwrakclipping is fun. uncompromisingly lossy compression :)14:45
DocScrutinizerand morons don't realize it14:45
viricPeople buying FullHD televisions, and then seeing stretched images in it.14:46
wpwrakbut it's in 3D now !!11! ;-)14:46
DocScrutinizermakes me want to shoot them with owl shit14:46
viric3d stretched people should frighten14:46
wpwrakviric: that's the best, yes14:46
wpwrak(2D stretched) haven't laid eyes on 3D yet. somehow, i don't think i'll be overly thrilled when that day comes :)14:47
virichaving wrong aspect radio videos in youtube/vimeo/... is even more annoying for me.14:47
virictheir flash players will have to add a switch for aspect ratio soon14:47
wpwrakwhat i find moth bothering there is that they forgot to implement the "download" link ...14:48
DocScrutinizersince there you can't even correct it by applying proper "zoom" setting like you could on TV14:48
lindi-wpwrak: forgot?14:48
wpwraklindi-: never attribute to malice what can be adequately explained by amnesia :)14:50
viricit's their way of staying able to give you more videos14:51
DocScrutinizernot in this case14:51
DocScrutinizerthe lack of download feature is by design/concept14:52
DocScrutinizeradding a download button would turn youtube into a sharing filehoster14:53
wpwrakbefore: people see the video. after: people see the video. :)14:57
viricbut they have ads14:57
wpwrakbesides, the masses will gladly use streaming anyway14:57
wpwrakyou can also put ads on the download page14:58
lindi-wpwrak: it's not so simple. many copyright holders have only agreed to streaming15:00
lindi-wpwrak: this is why the finnish broadcasting company also isn't offering downloads, only streaming15:00
wpwraklindi-: bah, call it a "technical copy". like caching. c'mon, can't youtube afford a more creative legal team ?15:03
lindi-wpwrak: hmm?15:03
lindi-wpwrak: if youtube does something that the copyright holders don't like they are less likely to use youtube at all15:04
wpwrakthen youtube could put some effort into making them like it. now that google own it, they have no excuse for being evil like the rest :)15:05
lindi-wpwrak: well most people don't want to download the videos so fighting for that probably doesn't justify the risk. those who really want to download the videos can already do it technically15:07
wpwrakthat's of course true15:08
whitequarkDocScrutinizer: done: http://whitequark.org/blog/2012/05/06/reaching-the-limits-of-adobe-stupidity/15:12
DocScrutinizerheh :-D15:13
lindi-wpwrak: at least I heard they detect gnash15:13
wpwraklindi-: as in "support" or as in "block" ?15:14
lindi-wpwrak: afaik the idea was to offer an older version of the player if gnash is detected and the newest version does not work with it15:14
whitequarklightspark should support their new player15:15
whitequarkgnash doesn't know AS315:15
wpwraklindi-: so they're nice. good :)15:16
whitequarkDocScrutinizer: there are a few other quirks mentioned too in the article15:26
DocScrutinizerwhitequark: dang, this site/page needed >30s to render on 100% CPU load on one of my 1.6GHz cores15:35
whitequarkDocScrutinizer: weird15:59
whitequarkI guess it's Disqus embed which is misbehaving. the page itself is static.16:00
whitequark"2 people liked this"16:03
whitequarkhah, I've been reddited16:08
rohflash just needs to die16:12
whitequarkI want it not only die, but to be murdered violently and painfully16:14
DocScrutinizerroh: you got pestered by rah?16:14
DocScrutinizerthought as much16:15
rohexplained a bit. we'll see if i am in the mood for paperwork tomorrow16:15
DocScrutinizerseem rah is an extremely lucky guy, to immediately get a hold of you on IRC16:17
DocScrutinizeranyway quite a number of people would appreciate docs. om.org coming back to real purpose16:19
DocScrutinizerwpwrak missed the svn or sth as well16:20
whitequarkgot a reply from ex-flex developer16:38
hozerwolfspraul: well, maybe it's impressive from the open hardware point of view.16:56
hozerso I've gone off and decided I want to work on an open-source hardware power converter (integrated solar MPPT battery charger and inverter)16:57
hozerand as far as I can tell, the cheapest microcontroller I can get that also has ethernet is the PIC18F67 series16:59
DocScrutinizeromg, no matter where you look, every time the same stupidity. openmoko.org and maemo.org there are now fools that wonder how to fund new servers to migrate infra away from existing usually working and paid iron, while both ignore the real problem which is maintenance, not hw-funding17:10
DocScrutinizerI guess none of those fools ever maintained an own exposed server of any kind. Otherwise I couldn't think of any way how they could ignore the problem there needs to be an *admin* for those servers17:13
hozeroh boy. But new hardware always solves the problem!!!17:19
hozeranyone here seen the mbed.org stuff?  .. I may have found a better microcontroller17:19
whitequarkDocScrutinizer: http://www.reddit.com/r/programming/comments/t9qxy/reaching_the_limits_of_adobe_stupidity/c4kruqj17:40
whitequarkI cannot work anymore due to uncontrollable laughter :D17:40
whitequarkthere's an -optimize option in compiler17:43
whitequarkit DOES NOTHING17:43
wpwrakmaybe it creates optimal code by default ? :)17:44
whitequarkwpwrak: read the original post ;)17:46
hozerit creates code opitimal for Adobe to continue to extract money from brain-dead tools17:46
whitequarkFlex is FOSS17:47
hozerbut does it actually work ;)17:48
wpwrakconspiracy theory #87236: Stroustrup is actually a nom de plume of K&R. they made C++ as a joke, to better show the greatness of C. of course, as the saying goes, the best laid plans of men and mice ...17:55
whitequarkoooh, that quote "of men and mice"17:57
whitequarkwhere does it come from?17:57
Jay7I've seen this in BitchX quit messages iirc :)17:58
viricreminds me of that comic about jews and rats17:58
wpwrakwhitequark: it's an adaptation of a quote from Robert Burns: http://en.wikipedia.org/wiki/Robert_Burns#United_States18:03
wpwrakfor further exploration: http://en.wikipedia.org/wiki/To_a_Mouse18:05
larscwasn't the inital release of the c++ spec published on a April 1st?18:39
whitequarkwow. http://www.reddit.com/r/programming/comments/t9qxy/reaching_the_limits_of_adobe_stupidity/c4kshfq18:39
whitequarkAdobe employee: "don't use Adobe products."18:39
larscthat 'compiler' is basically just a parser isn't it?18:50
whitequarkyou know, parsers generally don't make code any _worse_18:52
whitequarkbut yes, it's a parser. that's why I can decompile the code almost intact18:53
whitequarkthere's so much hate on reddit18:53
whitequarkso. much. hate.19:21
viricdear c programmers...19:39
viricHow can I print a float in a constrained amount of characters?19:39
viricusing printf formatting19:39
whitequark%.4f ?19:39
viricf? hm19:40
viricbut I want it to show significative digits19:41
viricnot only those around the unit19:41
viricI may have 1e-2019:41
viricor 1e2019:41
viricor 0,0519:41
viric'.N' seems of no effect to 'g'19:44
whitequarkDocScrutinizer: here are some more docs on SIM900*21:51
wpwrakwhitequark: you're such an optimist. are you that sure you've already reached the limits of adobe's stupidity ? ;-)22:04
whitequarkwpwrak: I needed a cool title. I got a cool title. It's controversional, hence people (including you) will talk about it22:13
whitequarkif you'll look more into the article, it's not written in "scientific" or even "wiki" style (almost no references, for example), but, as a product of extreme hate, was carefully crafted to induce similar feelings in other human beings, and may I say that it has succeeded in that22:14
whitequarkthe fact that flash actually has all those issues is mostly irrelevant22:15
wpwrakhmm. not sure a lot of people get that emotional about flash22:20
wpwraki suppose most already know it sucks in a more general sense. if the implementation if crappy too, that doesn't make it worse22:21
whitequarkjust read reddit comments22:21
whitequarkI'm quite satisfied with the result :)22:21
whitequarkanalytics report more than 3k unique visits22:23
whitequarkpretty good for an article written because DocScrutinizer asked for a email signature22:23
DocScrutinizerI have a nose for good topics ;-D22:25
DocScrutinizerthough obviously my colloquial English sucks22:27
DocScrutinizerwell, German Presidents were worse22:27
DocScrutinizer"you are very heavy on wire"22:28
whitequarkwell, I won't even say I that I know English "moderately good"22:29
whitequarkand what the hell does that quote mean?22:30
wpwrakand who said that ?22:30
DocScrutinizeranyway: http://lists.openmoko.org/pipermail/community/2012-May/066880.html22:32
whitequarkafter looking on a letter like this, I'd question if the organization is still alive at all22:34
wpwrakah, luebke. the classic ;)22:35
wpwraka bit before my time, though22:36
wpwrakthe word-by-word translation to german yields an idiomatic expression for being very alert22:38
wolfspraulhozer: that's an excellent project!23:16
wolfspraulcan we give you some recommendations on tool choice, or anything else?23:17
wolfsprauldo you have a blog/homepage?23:17
wolfspraulI just included the OggStreamer in the Qi planet yesterday, seems nice (unrelated to your power converter)23:18
wolfspraultools and structure of sources are the typical mess (Qi is no exception), but I didn't see anything really blocking like intentionally hidden stuff, -nc -nd etc.23:19
wolfspraulwhat are the rough specs and use cases for the power converter?23:23
--- Mon May 7 201200:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!