lekernel changed the topic of #milkymist to: Milkymist One, Migen, Milkymist SoC & Flickernoise :: Logs: http://en.qi-hardware.com/mmlogs :: EHSM Berlin Dec 28-30 http://ehsm.eu :: latest video http://www.youtube.com/playlist?list=PL181AAD8063FCC9DC
elldekaa has quit [Remote host closed the connection]
cladamw has joined #milkymist
cladamw has quit [Ping timeout: 244 seconds]
cladamw has joined #milkymist
xiangfu has joined #milkymist
Jia has joined #milkymist
kyak has quit [*.net *.split]
robmyers has quit [*.net *.split]
fpgaminer has quit [*.net *.split]
mwalle has quit [*.net *.split]
Scopeuk has quit [*.net *.split]
ChanServ has quit [*.net *.split]
proppy has quit [*.net *.split]
wpwrak has quit [*.net *.split]
wolfspraul has quit [*.net *.split]
kristianpaul has quit [*.net *.split]
Hodapp has quit [*.net *.split]
Jia has quit [*.net *.split]
aeris has quit [*.net *.split]
cxadams has quit [*.net *.split]
larsc has quit [*.net *.split]
azonenberg has quit [*.net *.split]
ftoad has quit [*.net *.split]
Thihi has quit [*.net *.split]
stekern has quit [*.net *.split]
xiangfu has quit [*.net *.split]
hellekin has quit [*.net *.split]
[florian] has quit [*.net *.split]
Padawan- has quit [*.net *.split]
sh4rm4 has quit [*.net *.split]
km2 has quit [*.net *.split]
ximian has quit [*.net *.split]
roh has quit [*.net *.split]
qi-bot has quit [*.net *.split]
cladamw has quit [*.net *.split]
jimmythehorn has quit [*.net *.split]
Fallenou has quit [*.net *.split]
Hawk777 has quit [*.net *.split]
Gurty has quit [*.net *.split]
djbclark has quit [*.net *.split]
togi has quit [*.net *.split]
kyak has joined #milkymist
cladamw has joined #milkymist
Gurty has joined #milkymist
Jia has joined #milkymist
jimmythehorn has joined #milkymist
wolfspraul has joined #milkymist
robmyers has joined #milkymist
mwalle has joined #milkymist
fpgaminer has joined #milkymist
proppy has joined #milkymist
djbclark has joined #milkymist
kristianpaul has joined #milkymist
azonenberg has joined #milkymist
aeris has joined #milkymist
sh4rm4 has joined #milkymist
hellekin has joined #milkymist
Hodapp has joined #milkymist
km2 has joined #milkymist
cxadams has joined #milkymist
Scopeuk has joined #milkymist
wpwrak has joined #milkymist
Fallenou has joined #milkymist
ChanServ has joined #milkymist
Hawk777 has joined #milkymist
togi has joined #milkymist
stekern has joined #milkymist
larsc has joined #milkymist
[florian] has joined #milkymist
ftoad has joined #milkymist
Padawan- has joined #milkymist
Thihi has joined #milkymist
ximian has joined #milkymist
roh has joined #milkymist
qi-bot has joined #milkymist
azonenberg has quit [Ping timeout: 245 seconds]
azonenberg has joined #milkymist
xiangfu has joined #milkymist
<kristianpaul> hmm, how FN take advantage of rtems_event_send/receive for the rss wall send dends to render mode?
<kristianpaul> i mean what's they keyword that allow share this events... or is something else hmm
<kristianpaul> ah, events do no hold or transport data
<kristianpaul> xiangfu: Hi !
<kristianpaul> xiangfu: how i do transport data between tasks in rtems
<kristianpaul> ?
<wpwrak> you use message queues
<kristianpaul> i see, and then use the event manager just for syncing right?
<wpwrak> i don't even know what event manager you mean :)
<wpwrak> and messages do provide synchronization
<kristianpaul> hmm but rsswall dont have rtems_message keyword, so it is using something else..
<wpwrak> there doesn't seem to be any synchronization on access to the OSD drawable
<wpwrak> no sure if the OSD-writing tasks are synchronized against each other by scheduling priority, though
<xiangfu> kristianpaul, there is no data transfered under FN rss.
<xiangfu> the rss task is like a while(1) wait for stop event. if there is no stop event. get the rss, display the rss
cladamw has quit [Quit: Ex-Chat]
<xiangfu> osd_event don't have any synchronized from my understanding.
azonenberg has quit [Ping timeout: 245 seconds]
azonenberg has joined #milkymist
Jia has quit [Quit: Konversation terminated!]
mumptai has joined #milkymist
Martoni has joined #milkymist
mumptai has quit [Ping timeout: 265 seconds]
Martoni has quit [Remote host closed the connection]
kilae has joined #milkymist
Martoni has joined #milkymist
Jia has joined #milkymist
Jia has quit [Client Quit]
kyak has quit [Ping timeout: 240 seconds]
[florian] has quit [Ping timeout: 248 seconds]
<qi-bot> The firmware build was successful, see images here: http://fidelio.qi-hardware.com/~xiangfu/build-milkymist/milkymist-firmware-20120718-1006/
[florian] has joined #milkymist
kyak has joined #milkymist
kyak has joined #milkymist
user123 has joined #milkymist
sh4rm4 has quit [Ping timeout: 276 seconds]
sh4rm4 has joined #milkymist
Jia has joined #milkymist
elldekaa has joined #milkymist
antgreen has joined #milkymist
xiangfu has quit [Quit: Leaving]
Jia has quit [Quit: Konversation terminated!]
elldekaa has quit [Ping timeout: 244 seconds]
elldekaa has joined #milkymist
azonenberg has quit [Ping timeout: 245 seconds]
user123 is now known as mumptai_
hypermodern has joined #milkymist
rejon has joined #milkymist
antgreen has quit [Read error: Connection reset by peer]
hypermodern has left #milkymist [#milkymist]
jimmythehorn has quit [Quit: jimmythehorn]
antgreen has joined #milkymist
elldekaa has quit [Ping timeout: 245 seconds]
Martoni has quit [Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713225625]]
elldekaa has joined #milkymist
jimmythehorn has joined #milkymist
kilae has quit [Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]]
Gurty has quit [Ping timeout: 250 seconds]
elldekaa has quit [Remote host closed the connection]
antgreen has quit [Remote host closed the connection]
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #milkymist
mumptai_ has quit [Ping timeout: 276 seconds]
azonenberg has joined #milkymist
antgreen has joined #milkymist
Gurty has joined #milkymist
mumptai has joined #milkymist
jimmythehorn has quit [*.net *.split]
jimmythehorn has joined #milkymist
Gurty has quit [Ping timeout: 265 seconds]
Gurty has joined #milkymist
<GitHub43> [milkymist-mmu-simulation] fallen pushed 2 new commits to master: http://git.io/-rqSKQ
<GitHub43> [milkymist-mmu-simulation/master] Add support for new PSW CSR register - Yann Sionneau
<GitHub43> [milkymist-mmu-simulation/master] Add RESET debug msgs and NULL pointer access catcher - Yann Sionneau
<Fallenou> mwalle: here it comes :)
<Fallenou> ITLB still needs a lot of changes
<Fallenou> I have not started to work seriously on those needed changes yet
antgreen has quit [Remote host closed the connection]
km2 has quit []
lekernel has joined #milkymist
<Fallenou> lekernel: hey !
<Fallenou> I spent the week-end doing/learning Python (participating in ICFP programming contest)
<Fallenou> so now I can understand migen code ;)
<wpwrak> what did you win ?
<lekernel> ;)
<lekernel> sorry, got to run
<lekernel> good news :)
* lekernel is in Prague at the moment
<lekernel> ttyl
<Fallenou> hehe have fun !
lekernel has quit [Quit: Konversation terminated!]
<Fallenou> wpwrak: I won't win anything :p
<Fallenou> our submission was not really awesome
<Fallenou> but it was fun to participate anyway
<Fallenou> I learnt python and I find it fun/easy/powerful :)
<Fallenou> the subject of the contest was fun as well ! a robot mining to dig out lambdas
<wpwrak> i think it lacks the "dirty old man" feeling of perl
<Fallenou> the ranking is not published yet
<Fallenou> they have to run all submissions manually etc :)
<Fallenou> we submitted on monday 12h
<wpwrak> lambdas ? the subatomic particles ? or the craniometric point at the junction of the sagittal and lamboid sutures of the skull ?
<wpwrak> (man, you can sounds really educated with a bit of "dict" :)
<Fallenou> ahah
<Fallenou> lambdas, as the greek letter, as in lambda calculus :p
<Fallenou> http://icfpcontest2012.wordpress.com/task/ the subject is explained there :p
azonenberg has quit [Ping timeout: 245 seconds]
<Fallenou> going to sleep, gn8 !
<wpwrak> hmm, python sounds like a non-optimal choice for this kind of problem
<wpwrak> C should give you a lot more work done per CPU cycle
<Fallenou> sure
<Fallenou> we started with the idea "ok let's do it in python to develop fast, then optimize with python methods written in C"
<Fallenou> but we ended up with not enough time
<Fallenou> and did everything in python
<Fallenou> you have only 3 days :)
<Fallenou> python is not that sub-optimized
<Fallenou> python compiles the script into .pyc and then runs it
<Fallenou> it's not interpreted :)
<Fallenou> if you write your python code in an intelligent way, it should behave nicely
<Fallenou> for example using interators instead of instanciating big lists to iterate over it etc
<Fallenou> not calculate len() or lists/arrays over and over again
<Fallenou> basic things :)
<Fallenou> there is a nice profiler in python : cProfile
<wpwrak> 3 days !
<Fallenou> dead easy to use, and it gives you stats about number of time a function is called
<Fallenou> time per call
<Fallenou> cumulative call
<Fallenou> etc
<Fallenou> to see where you spend cpu cycles
<Fallenou> wpwrak: and at first they give you only the basic rules, and then each 12h they add a few extension :)
<wpwrak> gprof does that for you (in C) :)
<wpwrak> ah, that's a bit nasty
<Fallenou> "now, there is flood in the mines, you have to deal with water level"
<Fallenou> "now you have rocks containing lambdas, break rocks and you get the lambdas"
<Fallenou> "now you have beard which grows in the mines, you need razors to cut it"
<Fallenou> "now you have trampolines to teleporte yourself inside the mines"
<Fallenou> etc :)
<Fallenou> and you have to add support for those extensions
<wpwrak> sounds as if the best strategy is a very generic state exploration algorithm, with only very light optimization. well, 150 seconds is a long time.
<Fallenou> hehehe
<Fallenou> 150 sec is not that long
<Fallenou> with our best python robot we don't finish all provided maps
<Fallenou> we finish only very few
<Fallenou> honestly I don't think you have the time to explore all the map in 150 secs
<Fallenou> and they don't give you the map size :)
<Fallenou> they only provide map samples
<Fallenou> so you have to assume map is too big for global exploration
azonenberg has joined #milkymist
<Fallenou> so you add random + intelligence + whatever
<wpwrak> you can compress state by running a hash on the map. that way, you can avoid going around in circles.
<Fallenou> that's what we did
<Fallenou> we hashed the "game state" and keep a dictionary of hash => game state
<wpwrak> sounds good
<wpwrak> what hash algorithm did you use ?
<Fallenou> if you want to look at the code
<Fallenou> wpwrak: sha1
<wpwrak> urgh. that must be expensive.
<Fallenou> src/mapupdater.py is basically the implementation of "how to play", how to follow game rules
<wpwrak> try some crc. chances are, it's close to sha1 in terms of correctness but a lot faster
<Fallenou> src/controler.py is the actual algorithm to try to find a nice path with max points
<Fallenou> kcontroler is a keyboard controler, allows you to play with your keyboard
<Fallenou> botcontroler is the automated controler, trying to search for the best path
<Fallenou> try ./lifter kcontroler maps/contest1.map
<Fallenou> to play with your keyboard
<Fallenou> try ./lifter botcontroler maps/contest1.map to let it try to find a nice path for 150 secs, and then it shows you the movements
<Fallenou> wpwrak: will try that :)
<wpwrak> and of course, i'd do it in C. if you bring it down to a few simple bit and byte operations, you should see a nice speedup
<Fallenou> going to sleep, se you !
<wpwrak> yeah, but you still have the general python overhead :)
<Fallenou> C is slow
<Fallenou> I would do it with a FPGA ;)
<Fallenou> *zZzZ*
<wpwrak> now there's an interesting approach :)
mumptai has quit [Ping timeout: 276 seconds]
<azonenberg> Lol of course fpgas are fun