pure-lang-users Mailing List for Pure
Status: Beta
Brought to you by:
agraef
You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
(31) |
May
(422) |
Jun
(241) |
Jul
(268) |
Aug
(281) |
Sep
(109) |
Oct
(1) |
Nov
|
Dec
|
---|
From: Albert G. <Dr....@t-...> - 2008-10-01 08:33:22
|
Hi everybody, As noone has complained so far, and most members have moved to the new mailing list at Google already, I'm closing the sf.net pure-lang mailing list now. Of course, the archive of this list remains available for your perusal. You can find the pur...@sf... mailing list archive at: http://sourceforge.net/mail/?group_id=226193 The new Pure mailing list is at: http://groups.google.com/group/pure-lang Information about the new list (subscription etc.) can be found at: http://groups.google.com/group/pure-lang/web/pure-discussion So, if you haven't subscribed to the new list yet, please do so now. It's really easy (no Google/GMail account required, you can simply subscribe with your email address and continue reading and posting to the new list with your email client). If you have any problems using the new list, please mail me at ag...@gm... or Dr....@t-.... Please also take notice of the new Pure project page at Google code and update your bookmarks accordingly: http://pure-lang.googlecode.com Thanks! Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-29 16:51:21
|
The new project page at http://code.google.com/p/pure-lang/ should be fully functional now. Development at the sf.net site has been closed. I'll give it a few more days until everybody has had a chance to sign up at http://groups.google.com/group/pure-lang, then I'll also close the sf.net mailing list and point the sf.net webpage to the new one, at which point the sf.net project will become a read-only archive. Information on how to access the new svn repository can be found here: http://code.google.com/p/pure-lang/wiki/GettingStarted#Getting_Pure The INSTALL instructions in svn have been updated accordingly. Please let me know if you run into any problems. Thanks, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Eddie R. <er...@bm...> - 2008-09-29 13:28:08
|
On Mon, 2008-09-29 at 09:14 +0200, Albert Graef wrote: > Albert Graef wrote: > Eddie, I imported your pure-csv module, too. Thanks. > Eddie, I need your Google account name so that I can register you as a > project member. (If you don't have an account yet, you can sign up here: > https://www.google.com/accounts/NewAccount. It's quick and easy.) I'm not sure. It is either er...@bm... or just erucker. e.r. |
From: Albert G. <Dr....@t-...> - 2008-09-29 11:22:01
|
Ryan Schmidt wrote: > Syncing my project's repo was super easy. I can do it for you if you > want. Surely it would be better to preserve the full history. Hi Ryan, thanks for the offer, but if I understand correctly, the sync requires a reset of the repo, and I wouldn't want to do that now as I've already put other stuff in there. Anyway, I think that it's not very likely that anyone would want to go back to a pre-0.8 version now, and even if it becomes necessary, there are still the old file releases and the sf.net repo for the old stuff. Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Ryan S. <rya...@us...> - 2008-09-29 08:33:44
|
On Sep 29, 2008, at 02:14, Albert Graef wrote: > Albert Graef wrote: >> As you probably noticed, I've also set up a new project page at >> http://code.google.com/p/pure-lang/. That's still a bit experimental, >> and the svn repository remains at sf.net for now. I'll let you >> know if >> and when the switch to Google Code is complete. > > Ok, svn migration is complete. Syncing the repo seemed like a big > hassle, so I just imported the latest source which is still > identical to > the 0.8 release. After all we still have the sf.net repo for the > prehistoric stuff. Syncing my project's repo was super easy. I can do it for you if you want. Surely it would be better to preserve the full history. |
From: Albert G. <Dr....@t-...> - 2008-09-29 07:11:33
|
Albert Graef wrote: > As you probably noticed, I've also set up a new project page at > http://code.google.com/p/pure-lang/. That's still a bit experimental, > and the svn repository remains at sf.net for now. I'll let you know if > and when the switch to Google Code is complete. Ok, svn migration is complete. Syncing the repo seemed like a big hassle, so I just imported the latest source which is still identical to the 0.8 release. After all we still have the sf.net repo for the prehistoric stuff. Eddie, I imported your pure-csv module, too. Checkout instructions can be found here: http://code.google.com/p/pure-lang/source/checkout There you can also browse the repository. By just checking out the trunk you'll get both the pure and the pure-csv sources. Jiri and Libor, I already added you as project members under your gmail addresses, so you can go on working on your stuff in the new repo if you like. Eddie, I need your Google account name so that I can register you as a project member. (If you don't have an account yet, you can sign up here: https://www.google.com/accounts/NewAccount. It's quick and easy.) Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-29 02:43:57
|
Hi everybody, this is just to let you know that I send an invitation to subscribe to the new mailing list at Google Groups to all pur...@sf... subscribers. After some testing I think that Google's offering is nice enough to give it a try. Hopefully all the problems we had with the sf.net mailing list will then be a thing of the past, I was really getting fed up with that. So I hope that you will all soon join us there. Don't hesitate to ask if there are any problems. As you probably noticed, I've also set up a new project page at http://code.google.com/p/pure-lang/. That's still a bit experimental, and the svn repository remains at sf.net for now. I'll let you know if and when the switch to Google Code is complete. Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-28 17:54:13
|
Note to all who already subscribed to the pure-lang Google group: Make sure that you also confirm your email address (I guess that you'll get an email with a link to click), only then your subscription is actually enabled and you will start receiving posts from the group. Thanks, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-28 12:04:37
|
Ryan Schmidt wrote: > It seems ok. They're missing some things. Yes, they don't have all the bells and whistles. But I do like the "no frills" web interface, it's much easier and quicker to use than sf.net. -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-28 11:19:05
|
Get it here: http://sourceforge.net/project/showfiles.php?group_id=226193 Or here (experimental): http://code.google.com/p/pure-lang/ This is mainly a bug fix release. The catmap bug reported by Eddie Rucker has been fixed, as well as some minor glitches in the Makefile and the manpage. I also overhauled the matrix conversions operations and added two regression tests. (NOTE: 'make check' is expected to fail on test025.pure if you build the interpreter without GSL support. Take this as a reminder that you need to install GSL to get full matrix support.) Enjoy! :) Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Ryan S. <rya...@us...> - 2008-09-28 07:42:55
|
On Sep 28, 2008, at 02:17, Albert Graef wrote: > Ryan Schmidt wrote: >> No problem at all. When you subscribe to a group, you get to say >> whether and how you want email delivery. > > Great. I might just register a project with a mailing list there, > which > points to the sf.net stuff for now. So that next time the sf.net staff > decide they want to fiddle with their stuff and break everything over > the weekend, when no support is there, we're ready to jump ship. > > Does anyone here have major gripes with Google code from a user or > developer perspective? I'd appreciate it if you'd share your thoughts. It seems ok. They're missing some things. Like you can't set up any repository hook scripts, though there's a ticket requesting they offer a few standard ones. I'm not thrilled about the wiki syntax in some areas. Your Google Account username is your svn username; if your Google Account isn't a GMail account, that means your svn username is your full email address. I didn't want that appearing in logs, so I made a GMail account; now my svn username is just the part of my email address before "@gmail.com". Probably more things I'm forgetting at the moment. >> Like in GMail, they seem to be big on labels here, rather than >> folders. You can give each download a label or labels, and the user >> can sort or filter by labels. > > Ok, I thought that this dropdown list was static. Now that's just as > good if not even better. Savannah doesn't seem to offer this, it's > just > a simple file view (at least by default), which is no good if you > maintain several subprojects under one umbrella. (We'll really need > that > once the addon modules start rolling in.) Please verify -- I just surmised that's how the download feature works. I haven't gotten to the stage in my project where I'm putting up downloads. > Do you know of any really big projects on Google code, besides the > stuff > by Google itself? I mean projects actually hosted there, not just some > shell pointing elsewhere. It's always good to know if the stuff scales > when projects (and the number of projects) grow. I think that might be > sf.net's issue, they really can't handle all that load any more. Not sure. Looking at the Google Code-hosted projects which have made their way into MacPorts, I see macfuse and serf, which are around 1100 revisions each. That's certainly not huge, but not trivial either. I would think if anyone can do scalability, it would be Google. > Also, does anyone here know whether it's possible to just move an > entire > svn repo? We're still in the 0.x stage, but still I wouldn't like to > loose the revision history. Yes, you can use svnsync to transfer in your entire history. http://code.google.com/support/bin/answer.py?answer=56673&topic=10386 |
From: Albert G. <Dr....@t-...> - 2008-09-28 07:13:50
|
Ryan Schmidt wrote: > No problem at all. When you subscribe to a group, you get to say > whether and how you want email delivery. Great. I might just register a project with a mailing list there, which points to the sf.net stuff for now. So that next time the sf.net staff decide they want to fiddle with their stuff and break everything over the weekend, when no support is there, we're ready to jump ship. Does anyone here have major gripes with Google code from a user or developer perspective? I'd appreciate it if you'd share your thoughts. > Like in GMail, they seem to be big on labels here, rather than > folders. You can give each download a label or labels, and the user > can sort or filter by labels. Ok, I thought that this dropdown list was static. Now that's just as good if not even better. Savannah doesn't seem to offer this, it's just a simple file view (at least by default), which is no good if you maintain several subprojects under one umbrella. (We'll really need that once the addon modules start rolling in.) Do you know of any really big projects on Google code, besides the stuff by Google itself? I mean projects actually hosted there, not just some shell pointing elsewhere. It's always good to know if the stuff scales when projects (and the number of projects) grow. I think that might be sf.net's issue, they really can't handle all that load any more. Also, does anyone here know whether it's possible to just move an entire svn repo? We're still in the 0.x stage, but still I wouldn't like to loose the revision history. Thanks, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Ryan S. <rya...@us...> - 2008-09-28 06:06:04
|
On Sep 28, 2008, at 00:26, Albert Graef wrote: > Ryan Schmidt wrote: > >> you can get mailing lists through Google Groups... > > AFAIR this is primarily a web-based interface, how easy is it to > subscribe to these groups, get the posts in your mailbox and reply > through your email client? No problem at all. When you subscribe to a group, you get to say whether and how you want email delivery. > I do like the simple and tidy web interface of that site, and the > tight > integration with their search engine. The download page looks a bit > simplistic, though, one big bin with everything. That's my main gripe > with Savannah, too. Like in GMail, they seem to be big on labels here, rather than folders. You can give each download a label or labels, and the user can sort or filter by labels. |
From: Albert G. <Dr....@t-...> - 2008-09-28 05:23:17
|
Ryan Schmidt wrote: > you can get mailing lists through Google Groups... AFAIR this is primarily a web-based interface, how easy is it to subscribe to these groups, get the posts in your mailbox and reply through your email client? I do like the simple and tidy web interface of that site, and the tight integration with their search engine. The download page looks a bit simplistic, though, one big bin with everything. That's my main gripe with Savannah, too. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Ryan S. <rya...@us...> - 2008-09-28 00:28:51
|
On Sep 27, 2008, at 18:48, Albert Graef wrote: > It seems that at least some of my reposts went through in the past > hour, > but it's still a hit-or-miss thing. Many messages just get lost, they > don't bounce either. > > I issued a support request, but got no uncanned responses so far, even > though my request got escelated to "high priority" (which seems to be > sf.net speak for "we'll take care of it -- sometime"). And > according to > the sf.net status page, the mailing lists are in good working order. > Which they certainly aren't, at least not pure-lang-users. > > This isn't the first time this happens, and probably won't be the last > time. If anyone has first-hand experience with a good open source > hosting service, please share your recommendations. After all the > hiccups we went through I'm more than willing to switch. I'm just beginning to use Google Code but it seems fine. You can host a Subversion repository, you can upload tarballs, there's a wiki and an issue tracker, there's a responsive support list, you can get mailing lists through Google Groups... |
From: Albert G. <Dr....@t-...> - 2008-09-27 23:52:40
|
I wrote: > [...] This made it possible to give the .. operator > a lower precedence than the ',' operator, {...] s/lower/higher/ -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-27 23:44:37
|
I hope that this gets through. It seems that at least some of my reposts went through in the past hour, but it's still a hit-or-miss thing. Many messages just get lost, they don't bounce either. I issued a support request, but got no uncanned responses so far, even though my request got escelated to "high priority" (which seems to be sf.net speak for "we'll take care of it -- sometime"). And according to the sf.net status page, the mailing lists are in good working order. Which they certainly aren't, at least not pure-lang-users. This isn't the first time this happens, and probably won't be the last time. If anyone has first-hand experience with a good open source hosting service, please share your recommendations. After all the hiccups we went through I'm more than willing to switch. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-27 23:31:04
|
John Cowan wrote: > I agree in general, but I don't know why would you want an operator > beginning with '?'. You never know what creative uses programmers can find for these. :) One use I can imagine is as a kind of dereferencing (prefix or postfix) operator. E.g., here is how you can define yourself convenient abbreviations for the reference 'get' and 'put' functions: > postfix 9 ? ; > r::pointer? = get r if refp r; > let r = ref 99; > r?; 99 > infixr 0 := ; > r::pointer := x = put r x if refp r; > r := r?+1; 100 > r := r?+1; 101 A potential infix use would be as an abbreviation for if-then-else, e.g.: > infixr 0 ? ; > def x?y,z = if x then y else z; > foo x = x!=0 ? 1/abs x, 0; > show foo foo x = if x!=0 then 1/abs x else 0; > foo 99; foo 0; 0.0101010101010101 0 Turning ? into an identifier constituent in the way you recommended would pretty much preclude such perfectly legitimate uses. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-27 23:13:00
|
John Cowan wrote: > ?: is not even an operator, because of its non-function-like behavior. Hmm? x?y:z by itself doesn't have any side effects, does it? -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-27 23:10:49
|
Eddie Rucker wrote: > catmap for strings has a bug. Ok, this is fixed now (r879). > upcase s::string = s-32 if s!0 >= "a" && s!0 <= "z"; = s; > catmap upcase "ainsworth"; ["A","I","N","S","W","O","R","T","H"] Note that catmap correctly returns a list there (as it always does). If you want a string result, just combine string and map instead: > string $ map upcase "ainsworth"; "AINSWORTH" Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-27 23:09:28
|
Hmm, it looks like the ml finally works again. If you noticed that any posts went into the black hole that sf.net is, please resend it. I have quite a few posts myself that never showed up on the list in the past two days. Albert Graef wrote: > (Forgot to update the INSTALL instructions on that. Will fix that asap.) That's fixed by now. In fact I already have a bugfix release ready, to be released after some more testing. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-27 23:03:33
|
New in this release (you guessed it): GSL (GNU Scientific Library) matrix support. As usual, you can grab the new release here: http://sourceforge.net/project/showfiles.php?group_id=226193 The release notes are here: http://sourceforge.net/project/shownotes.php?group_id=226193&release_id=628859 Note that to enjoy the full GSL matrix support, of course you need to have GSL installed, which is available here: http://www.gnu.org/software/gsl/ (Forgot to update the INSTALL instructions on that. Will fix that asap.) I also updated the pure-mingw.zip file on the website, which now includes GSL 1.11 for those of you who want to roll their own Windows version. (Of course a ready-made msi package with a GSL-enabled version of the interpreter is available, too.) You can still build Pure without GSL, but then the interpreter will lack all the numeric matrix goodness, and only symbolic matrices will work. Backward compatibility issues: The introduction of the matrix syntax called for some changes in the comprehension syntax as well as in the arithmetic sequence notation: - The pipe symbol '|' is now used to separate the template expression and the generator and filter clauses. For consistency, this applies to both list and matrix comprehensions. The old [x;...] syntax is still supported in list comprehensions, but is flagged with a "deprecated" warning by the compiler. - Arithmetic sequences with arbitrary stepsize are now written x:y..z instead of x,y..z. This made it possible to give the .. operator a lower precedence than the ',' operator, which makes writing matrix slices like x!!(i..j,k..l) much more convenient. (Actually, considering how sequences are defined in Pure, you'll find that the new x:y..z notation actually makes *more* sense in Pure than the old syntax.) The matrix stuff: You can find some matrix examples in the examples folder (linalg.pure, gauss.pure), and in the manual. If you know Octave matrices then you should feel right at home. Here's a brief summary of the most important operations: - #x total number of elements - dim x number of rows and columns (as a pair) - x' transpose of a matrix - x!i ith matrix element in row-major order (zero-based) - x!(i,j) jth element in ith row of the matrix (zero-based) - x!!is, x!!(is,js) slicing (is and js are lists of machine ints) - x==y, x!=y matrix comparisons The curly braces construct matrices (using pretty much the same notation as in Octave, i.e., ',' separates columns, ';' rows), e.g.: - {1,2,3} a row vector consisting of machine ints - {1.0;2.0;3.0} a column vector of double values - {1.0+:0.0,0.0+:1.0} a complex vector (this requires math.pure, of course) - {1,2;3,4} a 2x2 int matrix - {1L,y+1;foo,bar} a symbolic matrix Like in Octave, the elements in curly braces can also be submatrices, provided that the dimensions match up. In addition, Pure also offers non-GSL, "symbolic" matrices which can contain any combination of Pure objects. We also have matrix comprehensions, which work pretty much like list comprehensions: > eye n = {i==j|i=1..n;j=1..n}; > eye 3; {1,0,0;0,1,0;0,0,1} (That's something which Octave doesn't have, instead you use 'for' loops in Octave which are *much* slower than Pure's comprehensions.) Note that only basic matrix operations are built into Pure or provided by the prelude; Pure isn't Octave after all. The usual linear algebra stuff can either be done using the Pure operations or by interfacing to GSL (a simple example of that can be found in the C INTERFACE section of the manpage). Marshalling of GSL matrices is handled transparently in the C interface so that you can pass Pure matrices to C without much ado. A full GSL wrapper will hopefully become available in the not so distant future. Eddie and I will work on this together, as time permits (I have some stuff to prepare for the upcoming semester, and Eddie is also quite busy right now, so don't hold your breath just yet). If anyone else wants to give a helping hand in that, please let us know so that we can coordinate our efforts. Well, you can probably imagine that the changes in both the interpreter and the library were again quite substantial this time, so please report any bugs that you find. Thanks. Enjoy! :) Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-27 16:44:45
|
-- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-27 04:10:02
|
Eddie Rucker wrote: > catmap for strings has a bug. Yep, you're right. That slipped into 0.6 already when I reimplemented cat to make it work lazily with streams. Same issue with catmap for matrices. I'm working on a solution and will put out a bugfix release asap. Thanks for reporting! Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-09-26 20:34:28
|
John Cowan wrote: > ?: is not even an operator, because of its non-function-like behavior. Hmm? x?y:z by itself doesn't have any side effects, does it? -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |