Search
Saturday, 11th of June 2016, 19:51:04 UTC
19:53:09
dto
. just was reading about CEDET and discovered that its project builder system supports Android already http://cedet.sourceforge.net/projectsupport.shtml
19:54:53
groovy2shoes
looks about 1000x better than cmake
19:57:46
groovy2shoes
I worry if it might be a little bit *too* IDE-like for my tastes :I
19:58:10
groovy2shoes
still better than cmake! :p
19:58:34
groovy2shoes
oh nice it can make UML diagrams
20:03:31
dto
heh well i might not use that part, but still cool :)
20:03:46
dto
and that fact that it groks java and android xml files will prob be useful
20:04:04
dto
hows your day, groovy2shoes ?
20:04:29
groovy2shoes
kinda shitty :( I've had a wicked headache all day
20:04:44
groovy2shoes
took a nap and it's still hanging around
20:05:48
dto
oh :( hope you feel better soon
21:33:01
dto
i twiddled with emacs bookmarks today. it's neat. you hit a key to add a little paperclippy thing at the edge of that line in that buffer/file. then you can cycle forward/back through all your bookmarks in different buffers, and make them persistent across sessions. you can also add notes to bookmarks which aren't stored in the file itself, category tags, search etc
21:33:32
dto
jackdaniel: useful for those times ive got a zillion ecl source code files open :)
21:33:57
dto
and all the various build files i have to edit for the commandergenius / ecl-android stuff
21:34:44
jackdaniel
I'm still fighting with this bug :)
21:35:21
dto
oh man. any luck in tracing the events?
21:35:45
dto
have you been able to get any other programs to exhibit it? perhaps that might offer a different view
21:35:51
jackdaniel
the main problem is that I can't ecl_print things from inside gfun module
21:35:56
dto
since as you mentioned, other programs might be manifesting issues
21:35:59
jackdaniel
because printing them checks cache
21:36:06
jackdaniel
what leads to infinite recursion for printing
21:36:22
dto
when i was adding some print statements
21:36:24
jackdaniel
so I'm printing addresses :)
21:36:35
jackdaniel
printf("%p", &gfun); for instance
21:36:41
jackdaniel
but it's not very intelligible
21:36:51
dto
do the addresses get printed into an emacs buffer? you could easily write elisp to count and report repeated addresses for given funargs
21:37:20
dto
if you give me examples, i could write the little elisp for you.
21:37:51
jackdaniel
I'm not doing it from emacs, and gfun may have various methods
21:38:26
jackdaniel
I still don't have a definite pattern how to distinguish methods, but I'm getting closer with every hour ;D
21:39:01
jackdaniel
#define XXX(fmt, ...) \
21:39:02
jackdaniel
do { if (ecl_member(ecl_make_keyword("XXX"), \
21:39:02
jackdaniel
ecl_symbol_value(@'*features*')) != ECL_NIL) \
21:39:02
jackdaniel
fprintf(stderr, "XXX: " fmt "\n", ##__VA_ARGS__); } while (0)
21:39:15
jackdaniel
and then I do XXX("%p", &bah); for instance
21:39:20
dto
* imagines the bug lurking as the Grue creature from Zork
21:39:45
jackdaniel
this blockade makes it print only if :xxx is in *features*
21:39:56
jackdaniel
so I have less garbage :D
21:41:06
jackdaniel
but yeah, what would really help me would be a simpler way to reproduce the problem
21:41:21
jackdaniel
* doesn't like pong that much anymore ;)
21:42:23
jackdaniel
why? it's not your fault, it's better than nothing :)
21:42:28
dto
i'm not sure where to start,
21:43:11
dto
maybe a function to start the game, quit, and restart again ?
21:43:23
dto
but of course you have to restart lisp, because it manifests on first run
21:44:17
jackdaniel
nah, I'm fine, just rambling :)
21:44:43
dto
if i have some energy tonight i'll progressively run and quit out of the game earlier and earlier each time until the bug manifests, by moving the quit statement around in the code
21:44:58
dto
or rather, until restarting the game makes it fast again
21:45:18
groovy2shoes
what is this %0 stuff y'all do?
21:45:24
dto
that way i can narrow the field and possibly create a workaround to "detrigger" the bug
21:45:48
jackdaniel
I'm going sleep in max 30 minutes, I'm sleepy
21:45:51
dto
(what makes this a show stopper is that i can't quit sdl without terminating the app)
21:45:56
dto
which stuff are you asking about?
21:46:17
groovy2shoes
I think I know what that is, actually
21:46:34
groovy2shoes
must've had a typo in my hexchat text event definition
21:46:52
jackdaniel
I'm still on the battlefield ;)
21:48:05
dto
* plays the Captain Jack Battle Theme
21:48:17
jackdaniel
dto: question – from your analysis this problem occurs only for update-physics or some other functions too?
21:48:54
dto
other methods as well, that's just what i used in the example.
21:49:30
dto
perhaps it deals with multiple inheritance. xelf:buffer inherits from xelf:node
21:53:46
dto
so it inherits from quadrille:quadrille twice. it's sort of a wart.
21:54:29
dto
jackdaniel: i chose UPDATE-PHYSICS for the example because there's just the one primary method defined and no combinations
21:54:40
dto
but i think it was occurring for them all.
21:55:09
dto
(i definitely saw several others, just not sure if it was all)
21:55:09
jackdaniel
I'm just tired (you know that state when your mind is circling over things you have already rejected before?)
21:55:19
dto
yes. i hope i'm not troubling you
22:01:57
dto
jackdaniel: do you mind if i share that preview page of the article on #lispgames , in case anyone wants to see and provide feedback? just a few people to peek, i wouldn't want to upstage the newsletter
22:05:41
jackdaniel
wow, I've just realized (hinted by a "battle theme" thing), that the Pirates of the Caribbean are 13 years old now
22:06:03
dto
i liked the first one but the rest are just computer graphics
22:07:29
dto
dont get me wrong. i love all the players as actors/actresses and their other films
22:07:55
dto
have you ever seen "Wild Target" it's a weird british assassination comedy movie with the actor whos the squidface guy
22:08:46
dto
he's also in the Underworld movies as some type of vampire lord
22:08:57
dto
i havent seen those, but my dad is into them
22:11:26
jackdaniel
wee, I have progress
22:11:41
jackdaniel
I can print generics etc without infinite recursion
22:14:55
jackdaniel
is there a way to disable sounds in pong?
22:17:30
dto
that's how cows measure time
22:18:59
jackdaniel
btw, the ugly hack I've used to stop infinite recursion: static int xxx = 1; if(xxx==1) { xxx=0; ecl_print(…); xxx=1; }
22:19:18
dto
jackdaniel: if you git pull on 3x0ng sound is now deactivated.
22:19:30
jackdaniel
trivial and I should have figure it out at the very beginning, but I'm glad either way
22:46:56
jackdaniel
alright, I'm off to bed, maybe after some sleep I'll get closer
22:47:00
jackdaniel
but we have a progress:)
Sunday, 12th of June 2016, 7:51:04 UTC