q-lang-users Mailing List for Q - Equational Programming Language (Page 54)
Brought to you by:
agraef
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(3) |
Feb
(27) |
Mar
|
Apr
(4) |
May
(11) |
Jun
(5) |
Jul
(5) |
Aug
(6) |
Sep
(15) |
Oct
(28) |
Nov
(8) |
Dec
|
2005 |
Jan
(9) |
Feb
(5) |
Mar
(10) |
Apr
(43) |
May
(8) |
Jun
(31) |
Jul
(45) |
Aug
(17) |
Sep
(8) |
Oct
(30) |
Nov
(2) |
Dec
(6) |
2006 |
Jan
(4) |
Feb
(20) |
Mar
(1) |
Apr
|
May
(92) |
Jun
(179) |
Jul
(26) |
Aug
(65) |
Sep
(36) |
Oct
(38) |
Nov
(44) |
Dec
(68) |
2007 |
Jan
(11) |
Feb
(25) |
Mar
(37) |
Apr
(7) |
May
(83) |
Jun
(77) |
Jul
(44) |
Aug
(4) |
Sep
(28) |
Oct
(53) |
Nov
(12) |
Dec
(21) |
2008 |
Jan
(66) |
Feb
(45) |
Mar
(30) |
Apr
(50) |
May
(9) |
Jun
(18) |
Jul
(11) |
Aug
(6) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: Andrew B. <an...@vo...> - 2005-05-16 17:43:11
|
Thanks, that works. (And looking closer, mangle.h was in my grep results for the various globals I was looking for. I just managed to miss noticing it.) -andrew On Sat, 14 May 2005 01:00:18 -0700, Albert Graef <Dr....@t-...> wrote: > Andrew Berg wrote: >> Most of the interesting variables in the environment setup seem to be > >> global, or at least external to the q.c file, and the "print" command >> in gdb tells me that there is <<No symbol "source" in current >> context.>> This is also the case for "outid" and "qpath" and > seemingly >> lots of other variables. As far as I can tell, they aren't macros. >> Can anyone tell me why they are invisible to the debugger? > > Try __qq__source instead. The external global symbols in the interpreter > > are stropped with a prefix (see mangle.h, this is created automatically > with the mangle.sh script) to prevent name collisions with shared libs > linked with the interpreter. > > Albert > -- an...@vo... |
From: Albert G. <Dr....@t-...> - 2005-05-14 07:50:24
|
Andrew Berg wrote: > Most of the interesting variables in the environment setup seem to be > global, or at least external to the q.c file, and the "print" command > in gdb tells me that there is <<No symbol "source" in current > context.>> This is also the case for "outid" and "qpath" and seemingly > lots of other variables. As far as I can tell, they aren't macros. > Can anyone tell me why they are invisible to the debugger? Try __qq__source instead. The external global symbols in the interpreter are stropped with a prefix (see mangle.h, this is created automatically with the mangle.sh script) to prevent name collisions with shared libs linked with the interpreter. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Andrew B. <an...@vo...> - 2005-05-13 23:08:55
|
So...I've only had a few minutes here and there to play with this (it's on one of my computers at work, and this is not really for my job), but I feel like I've made some progress. However, trying to debug a little, I quickly run into what might just be a gdb oddity. Most of the interesting variables in the environment setup seem to be global, or at least external to the q.c file, and the "print" command in gdb tells me that there is <<No symbol "source" in current context.>> This is also the case for "outid" and "qpath" and seemingly lots of other variables. As far as I can tell, they aren't macros. Can anyone tell me why they are invisible to the debugger? -andrew -- an...@vo... |
From: Peter M. <pet...@wa...> - 2005-05-06 17:39:19
|
Albert Graef wrote: >> I made a few libraries for Q: json-q which is a JSON[1] reader and >> writer and smash-q which is a marshalling library for Q using a binary >> protocol. > > > This is cool. I've had binary marshalling on my TODO list for a long > time. I'd like to include this in the next Q release, any objections > against that? No, not at all. Greetings, Peter |
From: Albert G. <Dr....@t-...> - 2005-05-06 12:09:49
|
Hi all, For the DSP buffs around here: I've just imported a new module into Q CVS (http://sourceforge.net/cvs/?group_id=96881): q-faust. (Probably still needs some time until it shows up in anonymous cvs and the cvs web interface.) There is no file release yet (and I've only tested it on Linux so far), but if anyone wants to have a tarball (which also includes the SWIG-generated wrapper file, so you don't need Q-SWIG to compile it) just let me know and I'll send it to you. The Q-Faust module lets you load and run Faust-generated signal processing modules in Q. Faust ("Functional AUdio STream") is a functional programming language for real-time sound processing and synthesis developed at Grame (Lyon, France, see http://www.grame.fr, the same guys who have also written MidiShare, which Q already uses for its MIDI interface) and distributed as GPL'ed software. Faust is based on an algebra which includes the necessary basic operations for describing all the usual kinds of block diagrams. It allows you to specify DSPs in a very concise and elegant manner. A closer description of Faust can be found on http://faudiostream.sf.net. What this basically does: You can create your digital signal processing algorithms in the Faust programming language, compile the DSP to a shared module, and then load this module into a Q script at runtime and use it to process digital audio signals in realtime. The Faust compiler itself actually produces C++ code, and includes some clever optimizations, so that the generated DSPs can compete in terms of execution speed with carefully handcoded ones. Right now only a simple test example is included in q-faust, but you can also use the *.dsp examples in the Faust distribution (which includes, e.g., a freeverb implementation and a Karplus-Strong synth) with the examples/faustui.q script to try it out (see the comments at the beginning of examples/faustui.q for instructions on how to do this). Enjoy! -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Albert G. <Dr....@t-...> - 2005-05-06 11:31:48
|
Hi, Peter, welcome to the list. > I made a few libraries for Q: json-q which is a JSON[1] reader and > writer and smash-q which is a marshalling library for Q using a binary > protocol. This is cool. I've had binary marshalling on my TODO list for a long time. I'd like to include this in the next Q release, any objections against that? Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Peter M. <pet...@wa...> - 2005-05-05 16:54:59
|
Hi, I made a few libraries for Q: json-q which is a JSON[1] reader and writer and smash-q which is a marshalling library for Q using a binary protocol. Both can be found at 'http://www.il.fontys.nl/~silvernerd/q'. Greetings, Peter Minten [1] JavaScript Object Notation, a simple way to transfer structured data, see 'http://www.json.org'. |
From: Tim H. <q...@st...> - 2005-04-27 23:03:21
|
Albert Graef <Dr....@t-...> writes: > Tim Haynes wrote: > > Ah ok. In that case, the attached might be a start :) > > Looks nice. :) May I upload this to the Q website for others to download? Thanks. Sure :) ~Tim -- <http://spodzone.org.uk/> |
From: Albert G. <Dr....@t-...> - 2005-04-27 22:15:46
|
Tim Haynes wrote: > Ah ok. In that case, the attached might be a start :) Looks nice. :) May I upload this to the Q website for others to download? Thanks, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Albert G. <Dr....@t-...> - 2005-04-27 22:08:00
|
Hi Andrew, Andrew Berg wrote: > First the question. I see in the archives for q-lang-devel that > someone was working on amd64 bit support. Does this work? Has anyone > tried? Is there interest in me working on it? Yes, everyone would be happy if Q worked on 64 bit, especially me. ;-) Thomas Pasch has been working on it for a while, but apparently he gave up for now. Maybe you can contact Thomas and ask whether you can work on this together. I'll try to help as much as I can, given that I don't have an AMD64 (yet) to test. > Second, the plea for help. I try to compile on my Ubuntu (don't ask) > Hoary Hedgehog (I think) on AMD64, and get: The readline library needs some terminal interface to work with, ncurses or something like that. I think that termcap might be a fallback option if nothing else is found. But configure shouldn't attempt to build the bundled readline at all if you have it on your system. (You probably have, just make sure that the corresponding development package is installed as well.) If the readline header file or lib is in some non-standard location, you can use the --with-rl and --with-rl-includes options to tell configure where to look. See configure --help for a description of those options. > I consider myself a reasonably competent programmer, but I really > #!@@#%'ing hate libtool and refuse to go near it on moral and > philosophical grounds. (No, really I'm just lazy and a bit afraid of > it, but the other one sounds better.) Yeah, libtool is a beast. ;-) But nevertheless it's still the only beast that I'm aware of which provides cross platform shared libraries/dlopen support. HTH, Albert P.S.: I'll be away for the rest of the week, so I might not be very responsive to emails, but I'll try to catch up when I'm back home on Monday. -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Albert G. <Dr....@t-...> - 2005-04-27 20:04:55
|
ww wrote: > It's better than a penguin! Yes, probably. :) I always liked the *BSD daemon, but I think that at least one of the BSDs ditched it for a more "politically correct" logo. What a shame! Ok, anyway, I'm looking foward to what the artists among us come up with, I must confess that while I'm a kind of hobby musician, the visual Arts are clearly not my domain at all! Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: ww <wwa...@ea...> - 2005-04-26 22:51:34
|
It's better than a penguin! Walt ----- Original Message ----- From: "Albert Graef" <Dr....@t-...> To: <q-l...@li...> Sent: Tuesday, April 26, 2005 1:57 PM Subject: Re: [q-lang-users] icon: powered by Q? | > As for the icon, please make a design that would look good on a | > T-shirt. Really. | | The bear would make a good design for T-shirt, no? Unfortunately, I | can't find the orginal artist's website any more (an algebra teacher in | the States, IIRC). | | Albert | | -- | Dr. Albert Gr"af | Dept. of Music-Informatics, University of Mainz, Germany | Email: Dr....@t-..., ag...@mu... | WWW: http://www.musikwissenschaft.uni-mainz.de/~ag | | | ------------------------------------------------------- | SF.Net email is sponsored by: Tell us your software development plans! | Take this survey and enter to win a one-year sub to SourceForge.net | Plus IDC's 2005 look-ahead and a copy of this survey | Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix | _______________________________________________ | q-lang-users mailing list | q-l...@li... | https://lists.sourceforge.net/lists/listinfo/q-lang-users |
From: ww <wwa...@ea...> - 2005-04-26 22:48:05
|
I now know more about Pooh (and poo) than I ever expected. Thank you, Walt ----- Original Message ----- From: "John Cowan" <jc...@re...> To: <q-l...@li...> Sent: Monday, April 25, 2005 9:17 AM Subject: Re: [q-lang-users] icon: powered by Q? | ww scripsit: | | > | As you all know the current Q mascot is the poo-bear (sp?) on the | | "Pooh-bear", please; "poo" is a juvenile English word for "faeces". | | > | black board, which I found in some obscure spot on the net, I just hope | > | that I don't get sued for that. I thought it's nice. :) Any other | > | opinions on that? Other suggestions? | > | > If the bear at the black board is Winnie, then there probably is a | > problem lurking nearby. Disney owns Winnie. | | Let's not go off half-cocked here. Disney does *not* own Winnie (or | Winnie-the-Pooh in full), thank Ghu. Disney *licensed* Winnie from | (the estate of) A. A. Milne, who thought him up, and uses its own | visual representation of him, which they do own. | | The Pooh in the Q picture is clearly not a Disney Pooh, but is derived | from the illustrations of E. H. Shepard, which were published in | the original Pooh books. The signature as well as the subject-matter | shows that this particular drawing is not Shepard's. Who knows whether | Shepard's estate licensed it? I would guess not. | | -- | Said Agatha Christie / To E. Philips Oppenheim John Cowan | "Who is this Hemingway? / Who is this Proust? jc...@re... | Who is this Vladimir / Whatchamacallum, http://www.reutershealth.com | This neopostrealist / Rabble?" she groused. http://www.ccil.org/cowan | --author unknown to me; any suggestions? | | | ------------------------------------------------------- | SF email is sponsored by - The IT Product Guide | Read honest & candid reviews on hundreds of IT Products from real users. | Discover which products truly live up to the hype. Start reading now. | http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click | _______________________________________________ | q-lang-users mailing list | q-l...@li... | https://lists.sourceforge.net/lists/listinfo/q-lang-users |
From: Andrew B. <an...@vo...> - 2005-04-26 22:08:29
|
First the question. I see in the archives for q-lang-devel that someone was working on amd64 bit support. Does this work? Has anyone tried? Is there interest in me working on it? Second, the plea for help. I try to compile on my Ubuntu (don't ask) Hoary Hedgehog (I think) on AMD64, and get: ------------------------------------------------------------ Making all in readline-4.2 /home/andrewb/src/q-6.0/readline-4.2 make[2]: Entering directory `/home/andrewb/src/q-6.0/readline-4.2' make all-am make[3]: Entering directory `/home/andrewb/src/q-6.0/readline-4.2' /bin/sh ./libtool --mode=link --tag=CC gcc -DRL_LIBRARY_VERSION='"4.2"' -g -O -L./lib/termcap -o libreadline.la readline.lo funmap.lo keymaps.lo vi_mode.lo parens.lo rltty.lo complete.lo bind.lo isearch.lo display.lo signals.lo util.lo kill.lo undo.lo macro.lo input.lo callback.lo terminal.lo xmalloc.lo history.lo histsearch.lo histexpand.lo histfile.lo nls.lo search.lo shell.lo savestring.lo tilde.lo compat.lo -ltermcap ./libtool: line 1775: cd: ./lib/termcap: No such file or directory libtool: link: cannot determine absolute directory name of `./lib/termcap' make[3]: *** [libreadline.la] Error 1 make[3]: Leaving directory `/home/andrewb/src/q-6.0/readline-4.2' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andrewb/src/q-6.0/readline-4.2' ------------------------------------------------------------ If I "cd readline-4.2;mkdir -p lib/termcap" and make again, it gets past this message, but later gives me: ------------------------------------------------------------ Making all in src /home/andrewb/src/q-6.0/src make[2]: Entering directory `/home/andrewb/src/q-6.0/src' /bin/sh ../libtool --mode=link --tag=CC gcc -DYEAR='"2004"' -DSYSINFO='"x86_64-unknown-linux-gnu"' -DQPATH='".:/usr/local/share/q/lib:/usr/local/lib/q"' -DQEXEC='"/usr/local/bin/q"' -DLIBTOOL='"/usr/local/lib/q/libtool"' -DCC='"gcc"' -DREADLINE_LIBRARY -g -O2 -o libqint.la -rpath /usr/local/lib -no-undefined -version-info 2:0:1 -dlpreopen force -dlopen ../modules/clib/clib.la -dlopen ../modules/octave/octave.la libqint_la-q.lo libqint_la-qm.lo libqint_la-qmcode.lo libqint_la-qmfuns.lo libqint_la-qmmatch.lo libqint_la-qmprint.lo libqint_la-qmparse.lo libqint_la-qmlex.lo libqint_la-qbase.lo libqint_la-sys.lo libqint_la-random.lo libqint_la-getopt.lo libqint_la-getopt1.lo ../libq/libq.la -lfl -lgmp ../libltdl/libltdlc.la -lpthread ../readline-4.2/libreadline.la -lcrypt -lutil -lnsl -lm libtool: link: warning: `-dlopen self' is ignored for libtool libraries gcc -shared .libs/libqint_la-q.o .libs/libqint_la-qm.o .libs/libqint_la-qmcode.o .libs/libqint_la-qmfuns.o .libs/libqint_la-qmmatch.o .libs/libqint_la-qmprint.o .libs/libqint_la-qmparse.o .libs/libqint_la-qmlex.o .libs/libqint_la-qbase.o .libs/libqint_la-sys.o .libs/libqint_la-random.o .libs/libqint_la-getopt.o .libs/libqint_la-getopt1.o -Wl,--whole-archive ../libltdl/.libs/libltdlc.a ../readline-4.2/.libs/libreadline.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/home/andrewb/src/q-6.0/libq/.libs -Wl,--rpath -Wl,/usr/local/lib ../libq/.libs/libq.so -lfl /usr/lib/libgmp.so -ldl -lpthread -L/home/andrewb/src/q-6.0/readline-4.2/lib/termcap -ltermcap -lcrypt -lutil -lnsl -lm -Wl,-soname -Wl,libqint.so.1 -o .libs/libqint.so.1.1.0 /usr/bin/ld: cannot find -ltermcap collect2: ld returned 1 exit status make[2]: *** [libqint.la] Error 1 make[2]: Leaving directory `/home/andrewb/src/q-6.0/src' make[1]: *** [all-recursive] Error 1 ------------------------------------------------------------ Anyone know which package I'm missing, or what I need to tell configure to make this work? I consider myself a reasonably competent programmer, but I really #!@@#%'ing hate libtool and refuse to go near it on moral and philosophical grounds. (No, really I'm just lazy and a bit afraid of it, but the other one sounds better.) -andrew -- an...@vo... |
From: Albert G. <Dr....@t-...> - 2005-04-26 17:53:08
|
John Cowan wrote: > "Pooh-bear", please; "poo" is a juvenile English word for "faeces". Oops. > The Pooh in the Q picture is clearly not a Disney Pooh, but is derived > from the illustrations of E. H. Shepard, which were published in > the original Pooh books. The signature as well as the subject-matter > shows that this particular drawing is not Shepard's. Who knows whether > Shepard's estate licensed it? I would guess not. Silly me, I can't find the artists's website any more. :( But it definitely was not something commercial. -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Albert G. <Dr....@t-...> - 2005-04-26 17:48:54
|
> As for the icon, please make a design that would look good on a > T-shirt. Really. The bear would make a good design for T-shirt, no? Unfortunately, I can't find the orginal artist's website any more (an algebra teacher in the States, IIRC). Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: John C. <jc...@re...> - 2005-04-26 16:19:15
|
Albert Graef scripsit: > >I recommend that Q strings use the UTF-8 encoding internally. [...] > > Yup, that sounds like a good solution; no or negligible overhead for > plain ASCII is a must. I think that's also the way that Python and Tcl > do it. Tcl does, Python does not. C-Python has distinct 8-bit and Unicode strings as a result of legacy considerations. Jython has only Unicode strings as a result of being embedded in Java, which also has only Unicode strings (and octet sequences as a separate type). In both cases, the Unicode strings are implemented as sequences of 16-bit integers. The TCL documentation at http://www.tcl.tk/doc/howto/i18n.html gives a nice overview of the issues in converting to a UTF-8 internal representation. > Thanks for the offer, I'll get back to you on that. Unfortunately, right > now I still have some new modules releases on my TODO list and then the > 6.1 version of the interpreter, while my intern is busy developing an > OpenAL module. So this may take some time. :( Sure. -- John Cowan www.ccil.org/~cowan www.reutershealth.com jc...@re... There are books that are at once excellent and boring. Those that at once leap to the mind are Thoreau's Walden, Emerson's Essays, George Eliot's Adam Bede, and Landor's Dialogues. --Somerset Maugham |
From: John C. <jc...@re...> - 2005-04-25 13:18:32
|
ww scripsit: > | As you all know the current Q mascot is the poo-bear (sp?) on the "Pooh-bear", please; "poo" is a juvenile English word for "faeces". > | black board, which I found in some obscure spot on the net, I just hope > | that I don't get sued for that. I thought it's nice. :) Any other > | opinions on that? Other suggestions? > > If the bear at the black board is Winnie, then there probably is a > problem lurking nearby. Disney owns Winnie. Let's not go off half-cocked here. Disney does *not* own Winnie (or Winnie-the-Pooh in full), thank Ghu. Disney *licensed* Winnie from (the estate of) A. A. Milne, who thought him up, and uses its own visual representation of him, which they do own. The Pooh in the Q picture is clearly not a Disney Pooh, but is derived from the illustrations of E. H. Shepard, which were published in the original Pooh books. The signature as well as the subject-matter shows that this particular drawing is not Shepard's. Who knows whether Shepard's estate licensed it? I would guess not. -- Said Agatha Christie / To E. Philips Oppenheim John Cowan "Who is this Hemingway? / Who is this Proust? jc...@re... Who is this Vladimir / Whatchamacallum, http://www.reutershealth.com This neopostrealist / Rabble?" she groused. http://www.ccil.org/cowan --author unknown to me; any suggestions? |
From: ww <wwa...@ea...> - 2005-04-25 12:03:45
|
----- Original Message ----- From: "Albert Graef" <Dr....@t-...> To: <q-l...@li...> Sent: Monday, April 25, 2005 7:41 AM Subject: Re: [q-lang-users] icon: powered by Q? | Tim Haynes wrote: | > Do we have an icon for the above purpose? Could use something to stick on a | > website or two :) | | Not that I know of. I think you're still the only one having a Q-powered | website up and running. | | > If not, I may try to wax artistic, but results of that are not necessarily | > aesthetically pleasing ;) | | Just go ahead, please. Remember we can always "optimize" it later. ;-) | | Talking about icons: Every OSS project needs one, and I'm in that mood | today. As you all know the current Q mascot is the poo-bear (sp?) on the | black board, which I found in some obscure spot on the net, I just hope | that I don't get sued for that. I thought it's nice. :) Any other | opinions on that? Other suggestions? | If the bear at the black board is Winnie, then there probably is a problem lurking nearby. Disney owns Winnie. As for the icon, please make a design that would look good on a T-shirt. Really. Regards, Walt |
From: Albert G. <Dr....@t-...> - 2005-04-25 11:50:19
|
Hi, folks, I'm just back from the 3rd International Linux Audio Conference (http://lac.zkm.de/) at Karlsruhe in Germany, and I must confess that we all had a *very* good time there. ;-) I also hope that I managed to drum up some interest on Q and its multimedia capabilities. Just in case there's someone interested in my presentation, I've made the paper available as a pdf in the documentation section of q-lang.sf.net. The direct download link is here: http://q-lang.sourceforge.net/q-lac05.pdf (I didn't upload the slides, but if anyone wants to have them I can send them in private email.) At the conference I also met with Yann Olarey from Grame (France) who has written a very cool piece of software: Faust, an FPL for doing realtime digital signal processing. I'm planning to provide an interface between Faust and Q in the near future, if anybody is interested in that or even wants to give a helping hand just let me know... Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Albert G. <Dr....@t-...> - 2005-04-25 11:33:24
|
Tim Haynes wrote: > Do we have an icon for the above purpose? Could use something to stick on a > website or two :) Not that I know of. I think you're still the only one having a Q-powered website up and running. > If not, I may try to wax artistic, but results of that are not necessarily > aesthetically pleasing ;) Just go ahead, please. Remember we can always "optimize" it later. ;-) Talking about icons: Every OSS project needs one, and I'm in that mood today. As you all know the current Q mascot is the poo-bear (sp?) on the black board, which I found in some obscure spot on the net, I just hope that I don't get sued for that. I thought it's nice. :) Any other opinions on that? Other suggestions? Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Albert G. <Dr....@t-...> - 2005-04-25 11:25:08
|
John Cowan wrote: > I'd be interested in helping you do it, and maybe peeking at some source > code here and there. Overall, I'd say you're 90% of the way thanks to > two decisions about typing: [...] I'm glad you said that. :) > I recommend that Q strings use the UTF-8 encoding internally. [...] Yup, that sounds like a good solution; no or negligible overhead for plain ASCII is a must. I think that's also the way that Python and Tcl do it. > There will be five places where Unicode has to be addressed: [...] Well, we'll also have to check the library modules. I guess that clib will be affected, as well as the GUI interface and some parts of the graphics modules. > I understand. I hope the above is somewhat helpful; I'll be happy to > answer questions either on this list or privately. Thanks for the offer, I'll get back to you on that. Unfortunately, right now I still have some new modules releases on my TODO list and then the 6.1 version of the interpreter, while my intern is busy developing an OpenAL module. So this may take some time. :( Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Tim H. <q...@st...> - 2005-04-22 10:28:06
|
Hi folks, Do we have an icon for the above purpose? Could use something to stick on a website or two :) If not, I may try to wax artistic, but results of that are not necessarily aesthetically pleasing ;) ~Tim -- <http://scot-pics.sty.nu/> |
From: John C. <co...@cc...> - 2005-04-16 16:33:24
|
Albert Graef scripsit: > Interested in retrofitting unicode support to some strange obscure > functional programming language? ;-) I'd be interested in helping you do it, and maybe peeking at some source code here and there. Overall, I'd say you're 90% of the way thanks to two decisions about typing: 1) You don't have a character type in Q; 2) You already distinguish firmly between strings and byte vectors. Not having a character type in Q means that you don't have to break any assumptions about how big a character can be: in Unicode there are 0x11000 different potential characters (most of them unassigned), not 128 or 256. I recommend that Q strings use the UTF-8 encoding internally. The UTF-8 encoding uses 1, 2, 3, or 4 bytes to encode each character depending on the numerical equivalent of the character. In particular, the ASCII subset uses a 1-byte representation, the same as ASCII itself, and the bytes 0x00 through 0x7F are never used for anything else. The Latin-1 subset, however, requires a 2-byte representation. There will be five places where Unicode has to be addressed: in pulling substrings out of strings, in reading, in writing, in converting from strings to byte strings, and in converting from byte strings to strings. In the last two cases, it is desirable (but not necessary) to provide a method of overriding the system standard external encoding such as Latin-1 which is generated or interpreted respectively. The iconv_open(), iconv(), and iconv_close() functions do the donkey work of conversion. If they are not available on a system, the GNU iconv library provides a good implementation. It's distributed under the Lesser GPL, so it will not affect the licensing of Q. > I have this unicode stuff on my TODO list for a _very_ long time, but > somehow I can't wrap my head around it. I understand. I hope the above is somewhat helpful; I'll be happy to answer questions either on this list or privately. -- There is / One art John Cowan <co...@cc...> No more / No less http://www.reutershealth.com To do / All things http://www.ccil.org/~cowan With art- / Lessness -- Piet Hein |
From: Tim H. <q...@st...> - 2005-04-16 11:52:39
|
Albert Graef <Dr....@t-...> writes: [snip] > Now this is rather strange. My gmp is older (4.1.3) and my hardware > virtually the same: > > > vendor_id : AuthenticAMD > cpu family : 6 > model : 10 > model name : AMD Athlon(tm) XP 2500+ > stepping : 0 > cpu MHz : 1838.532 > cache size : 512 KB > > Are you sure you compiled gmp with all optimizations? Or did you use a > ready-made package? What distro? Gentoo: | Calculating dependencies ...done! | [ebuild R ] dev-libs/gmp-4.1.4 -debug 2,149 kB and | CHOST="i686-pc-linux-gnu" | CFLAGS="-mcpu=athlon-xp -march=athlon-xp -Os -fomit-frame-pointer -pipe \ | -fstack-protector " Hmm, I wonder ... :) ~Tim -- <http://spodzone.org.uk/> |