[chuck-users] proposals

Atte André Jensen atte.jensen at gmail.com
Wed Jun 21 12:33:55 EDT 2006


I think the follwing would make admin'ing shreds:

1) Some way of replacing a shred without having to worry about the id. 
For instance right now I get (from chuck ^):
[chuck](VM): status (now == 0h0m51s, 2490368.0 samps) ...
     [shred id]: 2  [source]: time.ck  [spork time]: 51.88s ago
     [shred id]: 3  [source]: spork~exp  [spork time]: 51.88s ago
     [shred id]: 4  [source]: spork~exp  [spork time]: 51.88s ago
     [shred id]: 5  [source]: spork~exp  [spork time]: 51.88s ago
     [shred id]: 6  [source]: spork~exp  [spork time]: 51.88s ago
     [shred id]: 7  [source]: spork~exp  [spork time]: 51.88s ago (blocked)
     [shred id]: 8  [source]: sandpaper_16note.ck  [spork time]: 14.63s 
ago (bloced)
And I have sandpaper_16note.ck open in emacs (with the recent chuck 
mode). Suppose I modified it and wanted to replace the running version 
with the edit. Since the WM knows about the filename it would be very 
handy to quick-replace without having to type "8" for the id. Should 
propably fail if no or multible matches is found...

2) It would be nice to be able to reuse shred ids. As this could 
sometimes lead to confusion, it should be either a) and command line 
option or/and b) a command (like the +, -, = and ^) oyu could throw at 
the running wm that would make it reshuffle id's.

3) This is partly a question. It would be nice to be able to replace a 
class at runtime. Right now I get
[time.ck]:line(1): class/type 'Time' is already defined in namespace 
when trying to replace shred 2 with another "time.ck". If this is 
actually to do now, I'd like to know how...

Just a few thoughts :-)

peace, love & harmony

http://www.atte.dk      | quartet:      http://www.anagrammer.dk
http://www.atte.dk/gps  | compositions: http://www.atte.dk/compositions

More information about the chuck-users mailing list