Hello Everyone: I was going through the e-week (Jan 27' 03) when I came across the article: "XML:Just Add Water". It was my first knowledge of Water (forgive...
Hi Tamer, To take a dive into Water, follow these simple steps: - Go to http://www.waterlang.org - Click on 'Install Water' on the right side and follow the...
Steam 3.0.3 has a number of changes from 3.0.2: Water language changes: o Water is now case-sensitive to match XML o More compatible printing of empty HTML...
The JWIG language project (http://www.jwig.org) has a very simple feature: jwig verifies that it outputs valid xhtml. I misremembered this as a more general...
XHTML and XML data are represented as real first-class objects in Water. When you serialize or format the objects, they are guaranteed to be valid XML based on...
I notice that when the IDE renders the <hr/> tag it draws the horizontal line, starts the next line, and draws a ">" character before anything else that...
Question 1: I created a small Water program, should I post it? Answer: Absolutely! Sharing code examples go a long way in helping people understand Water. ...
Re: Zero relative ... If 'end' were zero-relative, you would get <vector 11 12 13/>, because .0=10 .1=11 .2=12 .3=13 in this vector. for .<subvector start=0...
... I'm sure I'm the one missing something here (I'm still swimming in the kiddie pool), but your test case seems to prove that the subvector "end" is actually...
By convention, Water follows what I believe is a very common practice of having a 0-based key and having an upper bound which is 'exclusive', not 'inclusive'. ...
The issue with subvector's end argument being "exclusive" vs "inclusive" is a classic "fencepost" kind of problem. Other languages besides Java have taken the...
The book 'Concrete Mathematics' by Knuth and someone else makes the case for [inclusive, exclusive) very well. A cool thing you didn't mention is that ...
Two things... ... Java and Python use this convention. Perl and Ruby do not. The latter two do the slice inclusive of the 'end' index. Next thing is that...
... Next week we will post a Web page that lists the corrections to examples in the book: http://www.waterlang.org/water_book_2002/corrections.htm Water 3.0.3...
This is about an http problem rather than a water problem, but I'm wondering whether Water can help as I do need it to work with legacy servers... These three...
Thank everyone for the discussion on inclusive-exclusive start/end-- it has been very enlightening! Here is another sample program. It is a simple averaging...
Steam 3.1.0 beta has a number of changes from version 3.0.3: - New "Insert" menu mirrors right-click menu in editor - Improved cross-platform support for...
Here is another implementation of 'average' that uses some cool Water features: <defmethod average_2 rest> <plus rest=rest/>.<divide rest.<length/> /> </> ...
Why does this code snippet return null when using IDE version 3.1 beta? <set test = www.<web "http://www.yahoo.com"/> /> test.content It worked (returned the...
I first stumbled on this group on October 8th 2002. (Post 170) Since then I have had the pleasure of meeting Fry, Mike and others at Clear Methods. I just read...
... student ... maybe ... The latest release has a whole bunch more help for the first time user, who is presented with "Helpful Comments" when they first...
... Currently (version 3.1), the Water server does not support SSL. The workaround would be to use SSL with some other Web server, or SSL box, and forward the...
Water 3.2 beta will be posted tomorrow that has a number of improvements and bug fixes. The problem of accessing remote servers has been fixed. Requests will...
Help Please, I'm just starting and working off of the downloaded PDF's (book is ordered). Page 100 makes me think that the below statments should result in 3...
Use append to add content on the end of a file. It is much more efficient because it doesn't need to manipulate the file in-memory, it just appends the content...
Does anyone have a working version of the FAQ example application from the book? I am new to Water and I cannot seem to get it to function properly....
Here's a little number guessing game server. I realize it is super_easy to hijack user sessions, but I haven't figured out how to keep cookies or session...
I'm trying to connect to my sql, but the example in the book seems to fail. I looked through the posts, but none seemed to address this issue specifically. If...