2013-01-15 00:10 urandom__ has quit [Quit: Konversation terminated!] 2013-01-15 00:20 bzb has joined #qi-hardware 2013-01-15 00:22 xiangfu has joined #qi-hardware 2013-01-15 00:37 bzb has quit [Quit: Leaving] 2013-01-15 01:03 paroneay` has joined #qi-hardware 2013-01-15 01:04 roh has quit [*.net *.split] 2013-01-15 01:04 paroneayea has quit [*.net *.split] 2013-01-15 01:04 roh has joined #qi-hardware 2013-01-15 01:06 roh has quit [*.net *.split] 2013-01-15 01:07 roh has joined #qi-hardware 2013-01-15 01:17 paroneay` is now known as paroneayea 2013-01-15 01:17 paroneayea has quit [Changing host] 2013-01-15 01:17 paroneayea has joined #qi-hardware 2013-01-15 01:19 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: clean up pattern generation and boundaries (master) http://qi-hw.com/p/ben-blinkenlights/fa8b5b6 2013-01-15 01:19 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: describe the pattern transfer logic (master) http://qi-hw.com/p/ben-blinkenlights/e5cb1c9 2013-01-15 01:19 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c (dma_pattern): move pattern parser to parse_pattern (master) http://qi-hw.com/p/ben-blinkenlights/3febc90 2013-01-15 01:19 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: DMA has mystery glitches. Use PIO for now. (master) http://qi-hw.com/p/ben-blinkenlights/908b063 2013-01-15 01:19 wolfspraul has joined #qi-hardware 2013-01-15 01:21 larsc: have you ever seen data glitches when DMA'ing to the MMC controller ? all is well when i use PIO, but DMA acts up every once in a while. happens under mlockall, with interrupts off, etc. 2013-01-15 01:22 the only thing that seems to help is a strategically placed printf. sleeping at the same spot doesn't do the trick :( 2013-01-15 01:22 larsc: (all this is on the Ben) 2013-01-15 01:23 the kernel driver only uses pio 2013-01-15 01:23 oh :) thought you'd use DMA 2013-01-15 01:25 the funny thing is that UBB-VGA doesn't have any visible issues. of course, it could be that repetition makes the problem go away. 2013-01-15 01:25 emeb has quit [Quit: Leaving.] 2013-01-15 01:25 ah. maybe i've just answered my own question :) let's flush that CPU cache .... 2013-01-15 01:39 panda|x201 has quit [Ping timeout: 252 seconds] 2013-01-15 02:12 wolfspraul has quit [Ping timeout: 260 seconds] 2013-01-15 02:25 1380 tests passed and counting. seems that we have a winner 2013-01-15 02:34 [commit] Werner Almesberger: ubb-patgen/: flush dcache and write buffer before doing DMA (master) http://qi-hw.com/p/ben-blinkenlights/b6ee672 2013-01-15 02:34 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: DMA works now. Get rid of the PIO option. (master) http://qi-hw.com/p/ben-blinkenlights/c6306ff 2013-01-15 02:34 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c (dma_pattern): mlockall (before address translation and DMA) (master) http://qi-hw.com/p/ben-blinkenlights/dad9739 2013-01-15 02:43 panda|x201 has joined #qi-hardware 2013-01-15 02:46 Hoolxi has quit [Ping timeout: 248 seconds] 2013-01-15 02:59 wolfspraul has joined #qi-hardware 2013-01-15 03:04 Hoolxi has joined #qi-hardware 2013-01-15 03:12 wolfspraul has quit [Ping timeout: 264 seconds] 2013-01-15 03:13 Hoolxi has quit [Remote host closed the connection] 2013-01-15 03:35 wolfspraul has joined #qi-hardware 2013-01-15 04:03 DocScrutinizer05 has quit [Disconnected by services] 2013-01-15 04:03 DocScrutinizer05 has joined #qi-hardware 2013-01-15 04:14 wolfspraul has quit [Ping timeout: 240 seconds] 2013-01-15 04:27 wolfspraul has joined #qi-hardware 2013-01-15 04:55 first failure after 6675 tests. and that was the scope mis-triggering (the signal is somewhat marginal in that setup), not the pattern generator getting things wrong 2013-01-15 05:24 woakas has quit [Ping timeout: 264 seconds] 2013-01-15 05:37 woakas has joined #qi-hardware 2013-01-15 06:24 bzb has joined #qi-hardware 2013-01-15 06:40 bzb has quit [Quit: Leaving] 2013-01-15 06:41 jekhor has joined #qi-hardware 2013-01-15 07:03 wolfspraul has quit [Ping timeout: 255 seconds] 2013-01-15 07:45 LunaVorax has joined #qi-hardware 2013-01-15 07:47 Hi! 2013-01-15 07:57 panda|x201 has quit [Ping timeout: 245 seconds] 2013-01-15 08:01 jluis has joined #qi-hardware 2013-01-15 08:46 panda|x201 has joined #qi-hardware 2013-01-15 08:53 wolfspraul has joined #qi-hardware 2013-01-15 09:36 jekhor has quit [Ping timeout: 252 seconds] 2013-01-15 09:58 panda|x201 has quit [Ping timeout: 245 seconds] 2013-01-15 10:12 bzb has joined #qi-hardware 2013-01-15 10:14 bzb has quit [Read error: Connection reset by peer] 2013-01-15 11:49 porchao has quit [Ping timeout: 256 seconds] 2013-01-15 11:49 porchao has joined #qi-hardware 2013-01-15 12:36 panda|x201 has joined #qi-hardware 2013-01-15 12:37 rz2k has joined #qi-hardware 2013-01-15 13:14 woakas has quit [Ping timeout: 260 seconds] 2013-01-15 13:37 urandom__ has joined #qi-hardware 2013-01-15 14:33 woakas has joined #qi-hardware 2013-01-15 15:21 erikkugel has left #qi-hardware [#qi-hardware] 2013-01-15 15:33 erikkugel has joined #qi-hardware 2013-01-15 16:19 jluis has quit [Ping timeout: 240 seconds] 2013-01-15 16:19 xiangfu has quit [Remote host closed the connection] 2013-01-15 16:22 pcercuei has joined #qi-hardware 2013-01-15 16:26 pcercuei has quit [Read error: Connection reset by peer] 2013-01-15 16:30 pcercuei has joined #qi-hardware 2013-01-15 16:32 pcercuei has quit [Read error: Connection reset by peer] 2013-01-15 16:35 pcercuei has joined #qi-hardware 2013-01-15 16:37 pcercuei has quit [Read error: Connection reset by peer] 2013-01-15 16:38 emeb has joined #qi-hardware 2013-01-15 16:41 pcercuei has joined #qi-hardware 2013-01-15 16:43 pcercuei has quit [Read error: Connection reset by peer] 2013-01-15 16:46 pcercuei has joined #qi-hardware 2013-01-15 16:49 pcercuei has quit [Read error: Connection reset by peer] 2013-01-15 16:52 pcercuei has joined #qi-hardware 2013-01-15 16:53 LunaVorax has quit [Ping timeout: 260 seconds] 2013-01-15 16:54 pcercuei has quit [Read error: Connection reset by peer] 2013-01-15 16:57 pcercuei has joined #qi-hardware 2013-01-15 16:59 pcercuei has quit [Read error: Connection reset by peer] 2013-01-15 17:03 pcercuei has joined #qi-hardware 2013-01-15 17:05 pcercuei has quit [Read error: Connection reset by peer] 2013-01-15 17:07 kilae has joined #qi-hardware 2013-01-15 17:08 pcercuei has joined #qi-hardware 2013-01-15 17:08 pcercuei has quit [Client Quit] 2013-01-15 17:46 woakas has quit [Ping timeout: 252 seconds] 2013-01-15 17:59 woakas has joined #qi-hardware 2013-01-15 18:20 jekhor has joined #qi-hardware 2013-01-15 18:21 wej has quit [Ping timeout: 264 seconds] 2013-01-15 18:22 wej has joined #qi-hardware 2013-01-15 18:45 jekhor has quit [Ping timeout: 245 seconds] 2013-01-15 19:00 mwic has quit [Quit: Leaving] 2013-01-15 19:18 ben nanonote mmc bus clock frequencies cheat sheet: http://downloads.qi-hardware.com/people/werner/ubb/ben-mmc-clk.png 2013-01-15 19:31 rz2k has quit [] 2013-01-15 19:57 wpwrak, how is NanoNote doing nowadays? 2013-01-15 19:58 zear: hmm, the community seems fairly dormant. about the only somewhat regular activity are openwrt updates. 2013-01-15 19:58 i see 2013-01-15 20:06 jekhor has joined #qi-hardware 2013-01-15 20:11 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: clean up section structure (master) http://qi-hw.com/p/ben-blinkenlights/a5fbf55 2013-01-15 20:11 [commit] Werner Almesberger: libubb/mmcclk.c (mmcclk_start): also reset the MMC controller (master) http://qi-hw.com/p/ben-blinkenlights/72f2125 2013-01-15 20:11 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: clean up usage (-c selects clkout only; -C to monitor) (master) http://qi-hw.com/p/ben-blinkenlights/6e67671 2013-01-15 20:11 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: remove pattern frequency and use -f for bus clock (master) http://qi-hw.com/p/ben-blinkenlights/1111156 2013-01-15 20:11 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: "ubb-patgen -f FREQ" calculates the frequency (master) http://qi-hw.com/p/ben-blinkenlights/eedb0f0 2013-01-15 20:11 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: option -q when dumping frequencies suppressed details (master) http://qi-hw.com/p/ben-blinkenlights/1aedd4b 2013-01-15 20:11 [commit] Werner Almesberger: ubb-patgen/table/: generate a PNG with a table of MMC bus clock frequencies (master) http://qi-hw.com/p/ben-blinkenlights/3c94432 2013-01-15 20:11 [commit] Werner Almesberger: ubb-patgen/table/mktab: make the long vertical axes thinner (master) http://qi-hw.com/p/ben-blinkenlights/653910b 2013-01-15 20:11 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: accept file (- for standard input) as pattern source (master) http://qi-hw.com/p/ben-blinkenlights/69aba6a 2013-01-15 20:11 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: new option -p to force interpretation as pattern (master) http://qi-hw.com/p/ben-blinkenlights/d60ef14 2013-01-15 20:13 LunaVorax has joined #qi-hardware 2013-01-15 20:30 wpwrak: neat graph. how did you compose it? 2013-01-15 20:33 http://projects.qi-hardware.com/index.php/p/ben-blinkenlights/source/tree/master/ubb-patgen/table/ 2013-01-15 20:33 and then ./mktab FREQ | gnuplot -persist >ben-mmc-clk.png 2013-01-15 20:33 no ruby, sorry :) 2013-01-15 20:35 FREQ comes from running ubb-patgen -q on the ben (it queries some system settings to determine the available frequencies, that's why it has to run on the ben itself) 2013-01-15 20:36 I might use that sometimes, thanks 2013-01-15 20:36 good :) 2013-01-15 20:36 (no ruby) please, don't portrait me more as a zealot than I actually am ;) 2013-01-15 20:37 maybe you have to work on your PR ;-) 2013-01-15 20:38 well, as a guy writing an implementation of Ruby dialect I sorta should prefer it to other languages, no? :) 2013-01-15 20:39 that would depend on how well things are going :) 2013-01-15 20:39 maybe I should just go and write a helloworld for ben now... 2013-01-15 20:40 given that I don't even need to recompile LLVM, shouldn't be that hard 2013-01-15 20:40 that's usually a good start :) 2013-01-15 20:59 kilae has quit [Quit: ChatZilla 0.9.89 [Firefox 18.0/20130104151925]] 2013-01-15 21:07 why is it that a programming language has either sane semantics or good practicality? 2013-01-15 21:07 larsc: could you elaborate? 2013-01-15 21:09 not sure ;) 2013-01-15 21:10 would C, having both, be the exception to larsc's rule ? :) 2013-01-15 21:10 if only it actually had at least one of them ;) 2013-01-15 21:11 it somehow doesn't surprise me that you'd say that :) 2013-01-15 21:11 well, that's because I think so? 2013-01-15 21:12 a language which does not by default have even opt-in safe string manipulation functions isn't practical by any means; and the problem with semantics is that fundamentally every datatype in C is a leaky abstraction 2013-01-15 21:12 I just sometimes get the feeling that for languages with sane semantics people where focused so much on the semantics they forgot about making the language actually usable in everyday programming 2013-01-15 21:13 whitequark: C forces the programmer to think about what they're doing a bit earlier than other languages do 2013-01-15 21:13 whitequark: that's how C developers get more exercise in thinking ;-) 2013-01-15 21:14 wpwrak: ... about things they in 90% cases don't and shouldn't care about 2013-01-15 21:14 regardless, I'm not even referring to that 2013-01-15 21:14 trolling is fun :) 2013-01-15 21:15 C's semantics is very poorly defined. for example, both signed and unsigned overflow is an UB, because we totally work on non-two's-complement machines 2013-01-15 21:15 larsc: and yes, the fear of imperfection often drives them to strange omissions 2013-01-15 21:16 and there's something similarly crazy going on with floats 2013-01-15 21:16 'loops are evil, you must always use recursion' 2013-01-15 21:16 and there's all the ways you cannot define a bitfield in a portable way, or even specify alognment 2013-01-15 21:16 larsc: until, if the language catches on regardless, the pragmatists roll in and add generally particularly ugly hacks that overcome all those omissions again 2013-01-15 21:16 larsc: the part about loops is probably one of the most misunderstood concepts in FP 2013-01-15 21:17 first, to my knowledge, it was an academic language (Scheme) which first opted to omit loop syntax entirely 2013-01-15 21:17 a language which was explicitly designed for teaching students and not doing real work in 2013-01-15 21:17 CL has loops, for example 2013-01-15 21:18 second, it is quite natural in Lisp, where a rule of thumb is that you should shape your code like your data structure looks like, and data structures are generally recursive [linked lists] 2013-01-15 21:19 lithp hath (prog ...) complethe withth gotho :) 2013-01-15 21:20 which i think proves my point of the fix being uglier than the imperfection whose avoidance the fix aims to fix 2013-01-15 21:20 wpwrak: scheme has continuations, which are generalized *and* safe form of goto's 2013-01-15 21:20 this is the primitive which can be used to make exceptions and fibers, for example 2013-01-15 21:20 so you fail at trolling ;) 2013-01-15 21:21 scheme is very very new stuff. not a good example to start explaining the evolution of functional languages 2013-01-15 21:21 (very very new) 1975? 2013-01-15 21:22 C is from 1972 ;) 2013-01-15 21:22 LISP started in 1958 ... 2013-01-15 21:23 well, so? I demonstrated how a functional language doesn't have ugly hacks over strange omissions 2013-01-15 21:23 larsc: well there is always lua, practicality und (relative) sane semantics 2013-01-15 21:23 maybe the makers of scheme thought that, now that lisp was about to reach the age of consent, they really ought to make something new that's pure again 2013-01-15 21:23 rofl 2013-01-15 21:24 that's all I would say 2013-01-15 21:24 well one can just use CL if there is need to get shit done ;P , never understood whats cool about scheme 2013-01-15 21:25 (makes me wonder what languages came out around 1990, when scheme reached that age. hmm, haskell ...) 2013-01-15 21:26 i always wondered what the "ask" was doing in that otherwise quite self-explaining name. but maybe it's self-referential and you're supposed to ask about the "ask". 2013-01-15 21:26 wpwrak: please proceed to completely miss the reason of haskell's creation 2013-01-15 21:27 to preserve the proud tradition of INTERCAL ? :) 2013-01-15 21:28 to be able to precisely represent side effects in the type system 2013-01-15 21:28 which is a neat thing theoretically, but is a royal pain in the ass to write code in 2013-01-15 21:28 hence my comment about "haskell" minus "ask" being rather descriptive :) 2013-01-15 21:29 regarding "side effects in the type system" ... makes you realize how small the hamming-distance to a turing machine really is 2013-01-15 21:30 not sure what do you mean by the part about turing machine 2013-01-15 21:30 clear to bits and you have s/type/tape/ 2013-01-15 21:30 s/to/two/ 2013-01-15 21:30 wpwrak meant: "clear two bits and you have s/type/tape/" 2013-01-15 21:32 * whitequark shrugs 2013-01-15 21:32 makes me wonder who of us is a zealot 2013-01-15 21:32 "side effects in the tape system". doesn't that sound like a pretty good description of a turing machine ? 2013-01-15 21:34 there are no side effects in the tape system ;) 2013-01-15 21:36 larsc: have you seen languages of the ML family? 2013-01-15 21:36 OCaml/SML 2013-01-15 21:36 yes 2013-01-15 21:37 actually taking a course on sml at this very moment 2013-01-15 21:38 larsc: oh interesting. could you share a link? I'm going to learn it (or OCaml maybe) too. 2013-01-15 21:38 whitequark: https://class.coursera.org/proglang-2012-001/ 2013-01-15 21:38 it's a course on programming langues in general, but starts with sml 2013-01-15 21:39 and later on ruby 2013-01-15 21:39 oh, two more people recommended this to me today 2013-01-15 21:39 is this a good course? 2013-01-15 21:39 so far, so good 2013-01-15 21:39 but it just started this week 2013-01-15 21:41 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: new option -m MASK to choose which DATx lines to use (master) http://qi-hw.com/p/ben-blinkenlights/1c76cab 2013-01-15 21:41 [commit] Werner Almesberger: libubb/mmcclk.c (BUS_LIMIT_MHZ): explain the 56 MHz limit (master) http://qi-hw.com/p/ben-blinkenlights/10b0dea 2013-01-15 21:41 [commit] Werner Almesberger: ubb-patgen/ubb-patgen.c: new option -t 0|1 to start pattern on TRIGGER/CLK (master) http://qi-hw.com/p/ben-blinkenlights/0bb711e 2013-01-15 21:41 um emacs 2013-01-15 21:42 hehe 2013-01-15 21:44 meh, sublimetext2 has this syntax either 2013-01-15 21:44 andalso is a keyword... 2013-01-15 21:46 "fun" is a keyword either 2013-01-15 21:46 fun is ok 2013-01-15 21:46 it's fun! 2013-01-15 21:50 the other one is 'orelse' 2013-01-15 21:51 I guess they wanted to make it more explicit that the 2nd expression is only if the first was true(for and)/false(for or) 2013-01-15 21:53 as in "either you obey or else ..." ? 2013-01-15 21:57 larsc: is only evaluated? 2013-01-15 21:57 yea 2013-01-15 21:59 I wish I had had the speedup feature which coursera offers for lectures, for the lectures I visited when I was still at university ;) 2013-01-15 22:00 larsc: so you've graduated? 2013-01-15 22:01 long time ago 2013-01-15 22:01 erikkugel has left #qi-hardware [#qi-hardware] 2013-01-15 22:02 if not a secret, what are you doing now? 2013-01-15 22:03 LunaVorax has quit [Ping timeout: 260 seconds] 2013-01-15 22:04 working ;) 2013-01-15 22:06 whitequark: https://github.com/analogdevicesinc 2013-01-15 22:12 jekhor has quit [Ping timeout: 276 seconds] 2013-01-15 22:35 [commit] Werner Almesberger: ubb-patgen/README: brief description how ubb-patgen works (master) http://qi-hw.com/p/ben-blinkenlights/d5ea5d9 2013-01-15 22:57 bzb has joined #qi-hardware 2013-01-15 23:10 huh. found a bug in llvm. got an immediate response from the person responsible for it... 2013-01-15 23:16 bzb has quit [Ping timeout: 260 seconds] 2013-01-15 23:25 are you writing a frontend for llvm? 2013-01-15 23:30 bzb has joined #qi-hardware