<qi-bot> [commit] Werner Almesberger: m1rc3/norruption: moved material of 1st series tests to 1/, 2nd to 2/ (master) http://qi-hw.com/p/wernermisc/5037afb
<qi-bot> [commit] Werner Almesberger: m1rc3/norruption/1/: distribution data and plot script (master) http://qi-hw.com/p/wernermisc/8b4ef50
<qi-bot> [commit] Werner Almesberger: m1/perf/sched.c: synchronize with upstream version (master) http://qi-hw.com/p/wernermisc/9e32d56
<qi-bot> [commit] Werner Almesberger: labsw/Makefile (bom): generate .lst file from eeschema (master) http://qi-hw.com/p/wernermisc/8341574
<qi-bot> [commit] Werner Almesberger: m1rc3/norruption/1/loop8: forgot to commit this one (master) http://qi-hw.com/p/wernermisc/f3bfd1f
<qi-bot> [commit] Werner Almesberger: m1rc3/norruption/1/peekcmp: compate standby dump obtained with "peek" (master) http://qi-hw.com/p/wernermisc/3599e3e
<qi-bot> [commit] Werner Almesberger: m1rc3/norruption/2/: new loop and tools, with auto-reporting and auto-recovery (master) http://qi-hw.com/p/wernermisc/d433f73
<qi-bot> [commit] Werner Almesberger: m1rc3/norruption/2/aloop: corrections and put cycle number at beginning of file name (master) http://qi-hw.com/p/wernermisc/f1ebf74
<qi-bot> [commit] Werner Almesberger: m1rc3/norruption/2/upset: deliberately corrupt the NOR (master) http://qi-hw.com/p/wernermisc/7cb9679
<kyak> viric: the newsbeuter thing is getting really slow when it is 15000+ articles in a cache. It also uses around 250 Mb of RAM at this point -\ Have you tested offrss in such harsh conditions?
<xiangfu> needs prepare the next nanonote release. linux 3.1 and merge all atBen stuff to next release.
<xiangfu> 1.5 month passed.
<wolfspraul> yes, great! :-)
<kyak> indeed!
<viric> kyak: hmm I've maybe 4000 articles, with no slowdown, and almost constant ram use
<viric> kyak: it's up to the filesystem cache
<kyak> this is great
<wolfspraul> kristoffer: you've asked Andrew Holme about the license of this GPS work already, right?
<wolfspraul> then I don't need to send more mails...
<C-Keen> the nanonote is an excellent zcode player for long train travels! Thanks guys :)
<viric> C-Keen: what is that?
<C-Keen> viric: playing text adventure games
<viric> ah ok
<viric> I thought text adventure games were more for devices with easy typing
<wolfspraul> C-Keen: zcode - is that in the image, a package, or you built it yourself?
<wolfspraul> we ported frotz to the NanoNote once upon request by Nick Montfort, who then also made sure his Curveship software runs on the Ben
<C-Keen> wolfspraul: it is a package I found on the wiki, the name of the zcode interpreter is zoom
<C-Keen> wolfspraul: interesting, I will have a look at nick's port
<wolfspraul> yes, definitely
<wolfspraul> do you happen to have a url to the package? if you use it we should include it by default :-)
<C-Keen> wolfspraul: ah sorry, I was wrong. I have been using frotz actually. So all is good!
<C-Keen> just checked
<wolfspraul> you played directly with frotz?
<wolfspraul> or you had some game that used frotz?
<C-Keen> frotz is an interpreter that reads zcode images of games
<C-Keen> I have played with it directly
<C-Keen> the typing is still a bit awkward for me on the keyboard
<wolfspraul> C-Keen: are there any resources/sites for zcode games?
<wolfspraul> free stuff that we could just include
<C-Keen> tons of it, there are even new games created every year. the "official" archive is at ifarchive.org
<wolfspra1l> C-Keen: excellent link, thanks!
<wolfspra1l> is all that stuff freely licensed?
<wolfspra1l> do you think we can or should bundle some with the Ben?
<wolfspra1l> ah well, they make their life easy :-) http://www.ifarchive.org/misc/license.html
<viric> I'm very bad at interactive fiction
<wolfspra1l> what does that mean in practice?
<wolfspra1l> most of the stuff is not free?
<wolfspra1l> or most is?
<wolfspra1l> C-Keen: can you point me to your top-10 or so (or 5 or 3) zcode games on ifarchive.org?
<wpwrak> viric: try this:  apt-get install tads3; wget http://mirror.ifarchive.org/if-archive/games/tads/Rematch.gam; t32run Rematch.gam
<viric> wpwrak: debian not spoken
<wpwrak> viric: yum install ? ;)
<viric> nix :)
<wpwrak> send your kid to school ! :)
<viric> hehe
<viric> I've played some 'instead' games
<wpwrak> "rematch" is quite unique. very out of the box.
<wpwrak> you'll notice that by the time you die (in the game) ;-)
<wolfspra1l> great!
<wolfspra1l> thank you!
<viric> wpwrak: ah ok I may try :)
<wpwrak> viric: actually, the qtads engine may be better than tads3, because it has a command line history. you'll need that :)
<wpwrak> viric: here's a bit more background. and a link to the solution: http://www.wurb.com/if/game/1114
<viric> ah, of course I *never* looked at a solution
<C-Keen> wolfspra1l: ^
<wolfspra1l> that's a great start
<C-Keen> wolfspra1l: see also http://www.intfiction.org/forum/viewtopic.php?f=23&t=3272&hilit=top+10 for ideas, but this list also contains non zcode games or nonfree games
<wolfspra1l> those are all freely licensed?
<C-Keen> wolfspra1l: yes the ones I have listed are freely licensed AFAIK
<C-Keen> all of these have been written from the late nineties and have been either submitted to a competition or are declared free by the authors
<C-Keen> wolfspra1l: although the following ifarchive disclaimer applies: The archive makes no blanket claim about the copyright status of the
<C-Keen> archive files. Unless a file, its included license, or its description
<C-Keen> explicitly states that it is in the public domain, then the file's
<wolfspra1l> sure sure
<C-Keen> copyright rests with its author and the file is only available on the
<wolfspra1l> I saw that
<C-Keen> archive for personal use.
<zrafa> hi
<zrafa> wpwrak: you there? .. some pm says about mmc cmd  :  Each command token is preceded by a start bit (0)
<zrafa> start bit is 0.
<zrafa> and succeeded by an end bi
<zrafa> t 1.
<zrafa> (sorry the bad paste)
<zrafa> well, if the clock is enought slow like you suggested
<zrafa> I should check the CMD for any bit 1 right? (in order to know when to stop the controller)
<zrafa> wpwrak: and no just waiting for the final bit 1. I mean, we just want to have cmd = 1, so I guess that
<zrafa> wpwrak: any bit = 1 in CMD bit is okey right? (I ask because I understood firstly to wait for the final bit 1, but I think now that you meant any cmd bit = 1)
<zrafa> some pm says = 4740 pm says :)
<kristianpaul> have a trivia http://puu.sh/6MX3
<wpwrak> zrafa: back :)
<wpwrak> lemme find a good SD/MMC reference ...
<wpwrak> the SD command structure is on page 58
<wpwrak> you can set the command index and the argument to anything you want. so you could just make them all 0 or all 1 and then try to catch the right clock level. either by polling the i/o or by predicting the time from the start of the command to the middle of the corresponding clock phase.
<wpwrak> well, you probably don't even need to worry about command and value. there are both fixed 1 and 0 bits in the structure, so you can just use one of these
<zrafa> wpwrak: hey
<wpwrak> MMC has a bit more low-level details. lemme see if there's a good description of the clock
<zrafa> wpwrak: first bit is 0 and last bit is 1 in a cmd command, but if I catch any bit 1 in CMD in the middle of a transmision that would be oeky for our plans right?
<zrafa> no more low level details please ;-)
<wpwrak> our good friends in russia have a registration-free copy: http://yourcmc.ru/wiki/images/5/55/EMMC_JESD84-A441.pdf
<wpwrak> page 194
<wpwrak> you shouldn't need anything but the first two bits. see page 8 of the SD physical layer spec. start bit is 0, transmitter (direction) bit is 1
<kristianpaul> wolfspraul: i wrote him yes, dunno if kristoffer did it too
<wpwrak> so if you set the clock to frequency f, you'll have CMD = 0, CLK = 0 around t = X (but you don't know for how long), CMD = 0, CLK = 1 around t = X+1/4f, CMD = 0, CLK = 0 around t = X+3/4f, CMD = 1, CLK = 1 around t = X+5/4f, and CMD = 1, CLK = 0 around t = X+7/4f
<kristianpaul> wolfspraul: his words "I had not thought about licensing."
<wpwrak> "i was too busy killing AGPS" ;-)
<kristianpaul> ;)
<kristianpaul> but i asked again, about what he think about other people re-using its work, and i introduce him this irc and qi-hw
<kristianpaul> no reply yet, that mail was from yday
<wpwrak> zrafa: e.g., if you set the MMC bus clock to 250 kHz, you should see the following pattern: (CMD, CLK) = (0, 1), (0, 0), (1, 1), (1, 0)
<wpwrak> zrafa: each of these four values should be stable for about 2 us
<wpwrak> zrafa: now, if you want to be sure you hit the right combination, you would wait 1 us until after the value has been set. that way, you can err by about (-1 us, +1 us) and still get the desired setting
<wpwrak> so this would be X+0*2+1 us, X+1*2+1 us, X+2*2+1 us, X+3*2+1 us
<wpwrak> X is the time between telling the MMC controller to send the command and the beginning of the transmission
<zrafa> kristianpaul: (now I need ten days more to understand that werner just wrote  ;-) )
<wpwrak> MSC_CMDAT.INIT controls whether 80 clocks are added before the command or not. you don't want that ;-)
<wpwrak> bah, it's easy :)
<zrafa> wpwrak: saved. I just read the page 8 and I see those first two bits. Then
<kristianpaul> zrafa: ;)
<DocScrutinizer> haha, low level fun? :-)
<wpwrak> zrafa: have you been able to requisition a scope ? seeing what actually happens will help a lot :)
<zrafa> wpwrak: sorry, I do not understand yet why CLK changes, because I have not read well about clk. Let me a while (I di not found that at 4740 pm)
<wpwrak> the bus clock CLK changes to indicate then the data on the bus is valid. see page 194 of http://yourcmc.ru/wiki/images/5/55/EMMC_JESD84-A441.pdf
<wpwrak> i.e., data inputs and outputs must be stable when CLK raises from 0 to 1
<wpwrak> ah, about the values ... what i wrote is probably wrong. more likely it's (0, 1), (1, 0), (1, 1) (x, 0)
<wpwrak> (i.e., the data is stable on the rising edge of CLK but changes on the falling edge)
<wpwrak> (x would be the first bit of the command)
<wpwrak> so you would have (1, 0) at t = X+1 us and (0, 1) at t = X+3 us. couldn't be any easier :)
<zrafa> wpwrak: no scope yet.. Maybe this week
<kristoffer> what
<kristoffer> people keep paging me and then run off
<kristoffer> kristianpaul, whats the licensing you are talking about? Feel like Ive missed something
<kristianpaul> kristoffer: about this project http://www.holmea.demon.co.uk/GPS/Main.htm
<kristoffer> kristianpaul, sweet :) It appeals to my nerdy side. Looks like a cheap design also
<wpwrak> seems that there are at least two FPGA boards he didn't show :)
<wpwrak> (but then, with, say, M1, we have a big fat FPGA that should be more than sufficient for the rest of the processing)
<kristoffer> It would be worth alot to have that as an open design so can see what you are all excited about.
<wpwrak> it would be even better to get him interested in joining kristianpaul's little project. he visibly knows his signal processing incredibly well.
<wpwrak> if he "just" opens the design, that may still be too difficult for mere mortals to understand ...
<kristianpaul> wpwrak: yes i already asked that too :)
<wpwrak> i find it particularly interesting that he just eliminated AGPS with a little FFT. some companies are building whole subcultures around the "A" in AGPS ...
<kristianpaul> and talk about milkymist, etc, same history :)
<kristianpaul> wpwrak: how you get that relation between fft and agps?
<wpwrak> look in section "Search": "A "warm start" using almanac data to predict positions and velocities still requires a code search."
<wpwrak> and then "This GPS receiver uses an FFT-based algorithm that tests all code phases in parallel. From cold, it takes 2.5 seconds on a 1.7 GHz Pentium to measure signal strength, Doppler shift and code phase of every visible satellite."
<wpwrak> so, as i understand it, no almanac needed
<kristianpaul> ah, i see you point, so you think GPS receiver are lasy now becaue relay on AGPS for fasttest fixes when they could just do more things in parallel?
<wpwrak> i'm not quite sure what the story is. maybe he discovered something new. maybe i'm just not up to date. maybe his approach has drawbacks. maybe i completely misunderstand.
<wpwrak> but i'm curious what the truth is :)
<kristianpaul> for me is not new :-)
<kristianpaul> i mean i had read like 3 books all pointed almost same technquies for signal tracking
<wpwrak> ah, you knew about this ? okay, maybe i just missed that then. i just remember that AGPS was all the rage some five years ago
<wpwrak> heh, okay :)
<kristianpaul> actually fft is ideal for software based processing
<kristianpaul> i dont expect tosee that on hw, i think PLL is better aprouch in that side
<kristianpaul> or something like namuru like a correlator and a baseband processor
<kristianpaul> (baseband processor) did not exits at least in open/free way yet :)
<kristianpaul> wpwrak: but yes i already asked him to about why did not add processing stuff on the fpga
<viric> hm memstat needs rework on 3.x
<viric> kyak: offrss may take ~1MB of RAM for the amount of posts you said
<viric> hm maybe I'm exagerating even.
<viric> 500KB? :)
<kyak> viric: i already shut down newsbeuter for good :) it is the first step towards offrss
<viric> haha
<viric> kyak: all the ram offrss takes is to load a file with 15000 lines.
<viric> (for 15000 articles)
<kyak> viric: actually, my requirements are quite bigger.. I have around 3500 new items every day
<kyak> viric: is there "mark all as read"?
<kyak> can't seem to find it..
<kyak> heh, the pdf looks really cute :) it's adapted for the small screen
<kyak> hm, having spaces in feed's name is not allowed?
<kyak> ah, it's a pity -\
<wpwrak> in printable ASCII we trust :)
<kyak> the PDF has no pictures, so you are probably right :)
<viric> kyak: what would that mean? mark all as read? do you plan to lie? ;)
<viric> kyak: why would you want to get 3500 posts every day, and mark all as read, storing them forever?
<viric> kyak: maybe you should visit a specialist :)
<viric> kyak: I've not programmed anything to allow removing data, because I've not needed it. But it looks like you will need it
<wpwrak> viric: i think with 3500 posts a day, the only way to survive is by just marking them read - without actually reading them ;-)
<viric> wpwrak: looks like so :)
<viric> maybe it's me who makes a weird use of the reader, having hundreds of articles "still pending read"
<viric> kyak: put offrss under stress :)
<kyak> viric: it's just that we have different uses for rss.. i use it primarily to track torrents. and i'm really good at going through the list and spotting what i need, and then marking the rest as read :)
<kyak> especially when i have a list of regexpes to higlight it for me :)
<wpwrak> 3500 torrents per day. man, i want your bandwidth !
<kyak> then, even on a news site rss you wouldn't click 'mark read' on each article, but rather read the articles that caught your eye and then mark the rest as read
<kyak> wpwrak: it's the hard disk space that's important :)
<kristianpaul> (no mark as read feature) nice trick :-)
<kyak> but i really dont't download much. I just dont' miss what i'm looking for..
<viric> kyak: I think that you need something made more specifically for the task
<viric> kyak: I thought of having some kind of mark, other than 'read'... but as long as I'll not need it, it's fine for me. :)
<zrafa> wpwrak: rodolfo found between all his old stuff almos forgotten a scope :) He will bring it to uni tomorrow
<wpwrak> zrafa: whee ! did he tell you which brand/model it is ?
<zrafa> wpwrak: nope, and i guess that it could be an old one :)
<wpwrak> perhaps the one, his family, when then came to argentina before the war, remember their grandparents considering a precious family heirloom. you should feel honored that he would let you touch it :)
<zrafa> wpwrak: ;-))
<kristianpaul> lol
<kristianpaul> :)