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