REBOL3 - All (except covered in other channels [web-public])

Return to Index Page
Most recent messages (300 max) are listed first.

#UserMessageDate
2842PaulI created a RBOL links thread over at my website for anyone that wants a backlink to their REBOL site or rebol app product page. You can post a link and image (if desired) at http://www.tretbase.com/forum/viewtopic.php?f=8&t=33&start=0&st=0&sk=t&sd=aSun 17:25
2841PaulWarning don't watch this if your afraid of heights http://www.flixxy.com/extreme-highliner.htmSun 15:00
2840WillGraham, next time, make it a 2 steps process: 1) tell him to switch to a mac (you can find help here http://www.apple.com/getamac/ads/ ) 2) this step wont be needed anymore ;-)Sun 10:51
2839HenrikI don't get why people tolerate this. To me, this is an utterly unacceptable computing experience.Sat 8:17
2838GrahamHalf the time one has to navigate security barriers to do anything :(Sat 8:16
2837Grahamand the guy had zone alarm, and spybot installed .. and that kept popping up windows as well!Sat 8:15
2836GrahamI felt like a criminalSat 8:14
2835HenrikGraham, it's a great way to shun customers. Imagine coming into a store and then a big guy stops you and asks you if you intend to steal from them. When you say "of course not", he still follows you around.Sat 8:13
2834GrahamAll this to download the pka aes upgrade :(Sat 8:12
2833GrahamOne would think that MS would at least default microsoft.com to be allowed to be browsed to.Sat 8:12
2832Grahamand when I tried IE, some stupid content advisor came up blocking all access to every site .. the person I was helping had no idea how it had been set. And there was a password protection on the content advisor ... with no one in the house knowing what the password was.Sat 8:11
2831GrahamI had to download a special service pack from the ms site ... but of course you have to validate that you have genuine windows. but their plugin for firefox does not work.Sat 8:10
2830GrahamWell, I had a very bad experience trying to help someone out to setup their wireless.Sat 8:09
2829GabrieleNot sure whether it should be in Links, Humour, or somwhere else... so posting here: http://blog.seattlepi.nwsource.com/microsoft/archives/141821.aspSat 8:06
2828PaulSo great time to learn if you never have. Once you learn you will most likely play from then on as it is very addictive.25-Jun 14:32
2827PaulEven if you don't know football it doesn't matter as the autopicker will pick for you the next best player during the draft rotation automatically if you choose to.25-Jun 14:32
2826PaulIf you never played Yahoo Fantasy sports before they are excellent.25-Jun 14:31
2825PaulRemember this is free http://football.fantasysports.yahoo.com/f1/78924 Even if we don't get the 14 teams then I will open it to yahoo public to fill the rest.25-Jun 14:31
2824GreggMetaphone is not much harder than soundex. When I tried both before, I liked metaphone's results much better.25-Jun 14:26
2823PaulBrock, maybe a bit later we could start one in hockey.25-Jun 12:50
2822BrockPaul, I'd join you if it was fantasy hockey. Not terrribly interested in either of the football's unfortunately.25-Jun 10:41
2821HenrikFrom the earlier soundex discussion. There's something else called Edit Distance, which is more directed towards spelling errors:

http://en.wikipedia.org/wiki/Edit_distance

25-Jun 8:35
2820PaulNo more than 14 teams though.24-Jun 14:56
2819PaulThought it might be cool to get a league going with a bunch of us REBOLers.24-Jun 14:47
2818PaulAnyone into fantasy football?24-Jun 14:46
2817ChrisNot necessarily. Some of the spacing within not so much. I think that's hard to get right in View though...24-Jun 4:02
2816Grahamtoo24-Jun 3:43
2815Grahamso, you're suggesting my panels are stacked to closely together?24-Jun 3:41
2814GrahamMy one is based upon the MS demo ... when you click on top left, it expands to fill 3/4 of the screen and the others collapse to the side24-Jun 3:33
2813Grahamahh... interesting.24-Jun 3:32
2812Grahamnetvibes?24-Jun 3:31
2811ChrisBut, spacing -- look at netvibes, for example. A lot of similar color to yours (with some difference) in their default colour scheme. It's spacing that gives all the elements weight.24-Jun 3:31
2810Grahamlet me find one that has data in it24-Jun 3:28
2809Grahamjust a dashboard ... so no primary focus24-Jun 3:28
2808ChrisThere's a lot of varying primary color in there, not so much garish or painful as perhaps distracting. What should the focus be?24-Jun 3:27
2807GrahamIs this too garish - see the screen that appears at the end of the short video http://screencast.com/t/jSV7fndZ24-Jun 3:22
2806ChrisThat's subjective -- personal preference, context, audience...24-Jun 3:20
2805Grahamahh... what's painful??24-Jun 3:15
2804Chrisgc: I find spacing is most important, so long as your colour scheme isn't too painful...24-Jun 2:59
2803Henrikeither that or small localized areas of colors. that's how I prefer it.23-Jun 23:26
2802GrahamIs it essential to use muted color schemes to get a decent looking GUI ??23-Jun 22:25
2801GreggLooks very nice Henrik!23-Jun 15:00
2800PaulNasa Chief apparently against freedom of opinion and speech http://www.guardian.co.uk/environment/2008/jun/23/fossilfuels.climatechange23-Jun 14:24
2799AntonNice looking gui as usual, Henrik.23-Jun 10:05
2798Henrikforgot to mention that the build system is also partly powered by Cheyenne. :-)22-Jun 23:32
2797HenrikI thought I'd show what I'm working intensely with right now (needed a break anyway):

http://rebol.hmkdesign.dk/files/db-console.png

Sorry, it's in Danish. It's the adminstration console for my own database engine (very, very different from Pauls engine, so no competiton), all powered by VID, Rugby, LIST-VIEW and a home-made database engine as well as my own build system. The screenshot is from a production system (never mind the word "development" in the window title, we'll just ignore that... :-)). The system is 101.2% REBOL based. Nothing else but REBOL/View 2.7.6 is used. The administration program is one of currently 4 programs made for the db engine, the other being a statistics program, the third a heavily dialected and customizable GUI frontend for the db and the fourth is a more rigid and flashy front end for easy readability (very much thanks to VID). What's visible in the console drop down sheet itself is the result of some db queries, here doing some searching, and altering of db records. You talk to the db with a simple dialect. I wouldn't call it very fast or anything, but it definitely gets the job done and even complicated queries are usually 1-2 lines. For what you see in that picture, there is around 200 kb of code. Well, that's just what I wanted to say. :-)

22-Jun 23:10
2796HenrikI looked at a Soundex algorithm in wikipedia. it seems simpler than I thought.22-Jun 22:51
2795SunandaYou mean soundex? I think so -- because it's based on how different letters sound; and on how letters combine to make sounds. That various by language. I adapted the REBOL soundex for searches in Romaized Pali (a western rendition of an ancient indian language) some years ago. I forget the changes I made (they were made by trial and error until we got a good set of results. But I remember that H could not longer be thrown away as it is in the standard English Soundex algorithm).22-Jun 21:04
2794HenrikI don't know much about it, but would there normally be different implementations for different languages?22-Jun 20:54
2793SunandaThere are some soundex implementations for REBOL. http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=soundex.r And simetrics may be of interest: http://www.rebol.org/cgi-bin/cgiwrap/rebol/documentation.r?script=simetrics.r22-Jun 19:51
2792Henrikanyone working on phonetic search algorithms for REBOL?22-Jun 17:22
2791PaulI understand Henrik.22-Jun 14:03
2790HenrikPaul, public channels are publicized by REBOL Technologies, not by a random third party. :-) That's why I mentioned it.22-Jun 14:02
2789PaulNo problem here Henrik, and yes Graham I see His Word as an absolute.22-Jun 13:12
2788Henrik(web public channel)22-Jun 8:17
2787GrahamIt must be reassuring to have absolutes in the world you inhabit.22-Jun 7:07
2786PaulNever said that but I believe that God's Word is without error.22-Jun 4:23
2785GreggNon-fiction doesn't always mean accurate.22-Jun 4:12
2784PaulIf your assuming that I talk about the Bible all the time then you would be WRONG so tell me what best fiction seller of all time are you alluding to?21-Jun 13:33
2783GrahamBecause you talk all the time about one of the best fiction sellers of all time.21-Jun 13:32
2782PaulWhy would I do that?21-Jun 13:31
2781GrahamYou're kidding me!21-Jun 13:31
2780PaulI only like to read non-fiction.21-Jun 13:31
2779GrahamBut I was always a Philip Jose Farmer fan21-Jun 13:29
2778GrahamDon't know why, but all this reminds me of book I own - http://en.wikipedia.org/wiki/Jesus_on_Mars21-Jun 13:29
2777PaulTomc - there is no component found on any other planet or in space that is not found also on earth to this point according to science. In other words we haven't found a material that is made up of elements that are "foreign" to our knowledge. So whatever the mars surfaces is composed of we should be able to duplicate the event here. I'm not going to dispute your findings in Maine, and I'm not going to dispute that their may be water indeed on Mars. I just don't think these pictures are evidence of it though.21-Jun 11:24
2776Grahamif ice formed on the top, and then it got covered ... well, seems fairly good explanation/21-Jun 7:35
2775HenrikWell, NASA says it acts like ice. I would assume they know what they're doing (most of the time). Also it may be the best way to detect ice, simply dig a hole and wait for the pictures to change. They only have 8 one-use-only sample ovens and have already used one, so possibly this is the best way to decide on what to do next.21-Jun 7:26
2774TomcI grew up in northern Maine and I can assure you ice under a thin coaiting of topsoil, sand , forest litter or whatever was an anual occurance. So I can say in some respect (say existance) it does act like water ice on Earth. What evidence would you offer that it does not act like ice on Mars?21-Jun 3:44
2773PaulSo your response is that it ACTs like ICE and my response is that is doesn't ACT like ICE. See the predicament?20-Jun 23:36
2772Henrikif it isn't ice, why does it slowly disappear over the course of 4 days when exposed to sunlight?20-Jun 23:03
2771PaulI just don't buy it that it is ice. If it were ice then I think we should see ice in the deepest part of the dig which would be near the center of the excavated hole not near the tip which would be closer to the surface.20-Jun 22:46
2770PaulI have never seen ice under sand before. You would think it was ice that close to the surface that it couldn't just easily spread the soil as if it was baby powder. You would think it would at least have some viscosity.20-Jun 22:43
2769TomcThe Phoenix probe on Mars has returned the first good evidence it is sitting on water ice and not salt or some other bright material. Water ice is the only candidate to sublimate away over a few days.

http://www.jpl.nasa.gov/images/phoenix/collection_16/dodo_020_024.gif

20-Jun 20:08
2768PaulYeah I saw that. Thanks Brock.18-Jun 12:46
2767BrockYeksoon was there. Don't know if he still is. Oh, and I accepted your invitation.18-Jun 11:30
2766PaulHey Brock and Chris, I added a request to add you to my network on linked-in. Just wanted to drop you guys a note and let you know I found you guys there. Any other of our REBOL brothers on linked-in?17-Jun 18:59
2765AlanFedEx, I know UPS guys who only use FedEx when they send a package !14-Jun 5:48
2764PaulDon't know if they are cheapest but if something gets lost then that isn't very cheap.12-Jun 11:41
2763PaulI would brown tail (UPS) it if I were you.12-Jun 11:40
2762PekrHello, what is your experience with various trasnporters - DHL, Fedex, UPS, when you need to get something from China? :-) Which is cheapest?12-Jun 7:20
2761BrockPaul, I heard that combination is also great for earwigs.10-Jun 3:31
2760Grahamoil is how they used to kill mosquitos in Africa9-Jun 19:18
2759GrahamAll these foreclosures are causing mosquito problems ... apparently large swimming pools are just being abandoned without being emptied. With no time to deal with the problem, health authorities are just chucking in mosquito eating gold fish into the pools as an interim measure.9-Jun 19:18
2758PaulAnyone ever heard of using lemon JOY brand dishwashing liquid to kill mosquitioes? My family in Tennessee says you just put a few drops in some water on a dishplate and watch the mosquites get caught in it and die.9-Jun 11:38
2757RobertI have one too but rarly use it.9-Jun 6:34
2756BrockI've never really used it myself... but I"m there. Sorry I can't be of more help.9-Jun 2:25
2755PaulI tried searching for some of you guys but can't locate yas. I'm new to linked-in so I might be doing something wrong.8-Jun 20:13
2754RobertSI still use linked-in8-Jun 18:31
2753BrockI don't mind6-Jun 22:41
2752PaulWould you guys mind if we all linked up?6-Jun 1:22
2751BrockChris found me by searching for Rebol.6-Jun 1:14
2750BrockMyself, Chris and Yeksoon are in there.6-Jun 1:14
2749PaulAnyone here have a linkedin.com profile? I was wondering if we could connect up and maybe even start a REBOL group there. I just got linked today and was suprised to found the levels of management that were also linkedin. Would be good exposure for REBOL if we could get something going in there.5-Jun 18:47
2748BrockThanks sqlab, I was too lazy to look it up. But glad to see my memory isn't failing [too quickly anyway].1-Jun 14:17
2747sqlabhttp://www.rebol.net/cookbook/recipes/0062.html1-Jun 12:26
2746BrockI believe there were samples provided by Carl or someone else in the Cookbook.31-May 23:45
2745PeterWoodThe documentation is in French though.31-May 23:22
2744PeterWoodYou can get Magic! here - http://auverlot.fr/Fichiers.html31-May 23:20
2743Grahamdo html page works as long as the script is enclosed between [ ]31-May 21:40
2742PaulHad some very ugly code in it also.31-May 17:08
2741PaulI got out my old IRC bot yesterday called REBBOT and was surprised to find it still worked. Seems the IRC platform has remained consistent.31-May 17:07
2740eFishAntI do remember it being simpler than this. There is the old thing about stuff can be before or after the REBOL script where it is embedded into things, and REBOL can find it and run it. Maybe it was REBOL scripts embedded in .html that way...at the time I saw the scripts I thought it was cool, but I think it was simpler than RSP31-May 16:15
2739SunandaThere is/was also Magic! (like RSP) -- it may be available on the French site: http://www.rebolfrance.info31-May 16:02
2738eFishAntMaybe RSP...not the plugin31-May 16:02
2737PaulYou mean the REBOL plugin or RSP?31-May 15:52
2736eFishAntAnyone remember some examples from long ago which ran Rebol code from a web page? Kinda like PHP type stuff, but so long ago, it is fuzzy in my brain.31-May 15:46
2735GrahamAnyone know if R2 runs on OpenSolaris ?5-May 20:02
2734Pekr... and also the window is rather primitive ... e.g. with some file security requestor, if the file path is too long, it does not fit the screen and does not allow you to scroll :-)30-Apr 14:26
2733HenrikI do wish it would behave better. Too often it does not appear in front of other windows or hides in the upper left corner. It seems quite random where it chooses to sit.30-Apr 14:22
2732Janekswhen I wrote about it - I already started to think about - then I need to teach to mu users few english words - seems better ;-)30-Apr 12:40
2731PekrImagine changing security requester by intentionally translating it incorrectly :-)30-Apr 12:37
2730Henrikthe yes/allow requesters can't be replaced in R2, AFAIK.30-Apr 12:04
2729JaneksBTW: How to replace security messages ? I would like to show those messages in language of target users? It seems for me that it could be done by using those startup scrips user.r a.o.30-Apr 11:15
2728JaneksWell, didn't found the group Security, so writing here. I am thinking of solution, where to user is sent e-mail with attached rebol file, that contains simple form with with some data, that user opens add some his data and push the button to send back. I like this solution because it works just on e-mail, that is very common to ordinary people, no needs to make additional installations except Rebol and that do not wory about new versions of forms, because it always is sent again. So the qestion that arises is it good from the point of security? The target systems for this solution would be the Windows.30-Apr 7:18
2727Terry(ok.. back to stealth mode)27-Apr 1:25
2726TerryFrom the "Stalking Carl" Dept. http://redwerks.s3.amazonaws.com/080426182318bf7rq.jpg27-Apr 1:24
2725Grahamprobably run out of disk space25-Apr 7:49
2724Grahampresumably load blog-counter => [ ] and causing the error25-Apr 7:45
2723GrahamIsn't that an old bug?25-Apr 7:43
2722PekrI get: ** Script Error: Cannot use add on block! value ** Where: do-cgi ** Near: blog-count: 1 + any [attempt [load blog-counter] 0]25-Apr 7:13
2721Pekris R3 blog down? Or is it just me?25-Apr 7:12
2720MaartenPublic thanks ;-)24-Apr 20:33
2719GreggDone.24-Apr 20:33
2718MaartenI need the files (6 years old, gone even in the waybackmachine.org) that I posted here: http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-message.r?m=rmlBCNJ

Anybody has the-vault.zip and can mail it to me? That would be really appreciated!!!!

24-Apr 20:26
2717ReichartInteresting...19-Apr 22:16
2716GrahamSo, using google graphs is not an option for me.19-Apr 22:13
2715GrahamWhich is why I switched to hosting yahoo's libraries rather than using their servers19-Apr 22:10
2714ReichartYeah, true, interesting...19-Apr 22:10
2713Grahamwell, at least with IE.19-Apr 22:10
2712GrahamIs there a problem with google generating images with a https website? You'll get all those annoying messages about mixed content19-Apr 22:09
2711ReichartI looked at it a long time ago.19-Apr 22:05
2710ReichartVery cool.19-Apr 22:05
2709GrahamThis is what I am using now http://www.ejschart.com/19-Apr 21:31
2708ReichartThat is what I was just studying...19-Apr 21:22
2707GrahamDoes google expect you to supply the x-axis labels and spaces them evenly ?19-Apr 21:19
2706ReichartHmmm....I'm not familiar with Google Graph yet enough to confirm. But...this is another one of those areas we are starting to play with. I really like thier basic method, although, SOAP might be nice so one can work in something more like XML19-Apr 21:19
2705Grahamwhat I want to do is feed date data and let the graph program automatically generate the x-axis labels.19-Apr 21:18
2704GrahamThere's a line graph with 3 months on the x-axis.19-Apr 21:17
2703GrahamNot sure what I'm seeing. I get an endless wait.19-Apr 21:16
2702ReichartJust so I'm clear, what is missing from this: http://chart.apis.google.com/chart?cht=lc&chs=200x100&chd=s:frothsmzndyoteepngenfrothsmzndyoteepngen&chxt=x,y&chxl=0:|Apr|May|June|1:||50+Kb19-Apr 21:13
2701Grahamie. I used Rebol to generate the postscript graphs19-Apr 21:10
2700GrahamI had to write my own in postscript http://synapse-images.s3.amazonaws.com/73C55E9348E30B2419011E4D87DDCDCE.pdf19-Apr 21:10
2699Grahammost free ones ...19-Apr 21:07
2698GrahamMost graphing programs aren't smart enough to deal with dates and values ....19-Apr 21:04
2697GrahamIt's bundled with Cheyenne I think.19-Apr 20:59
2696Grahamthat's Nenad's captch library at work.19-Apr 20:59
2695ReichartCool stuff (wow, what a CAPTCHA! LOL)

So for example,

You want to hand it:

A range - 60 to 100 mmHg for example. A bunch of data (dates with values)

I would have to study Google.Graphs, but it seems they allow this.

19-Apr 20:58
2694GrahamThis is what I have at present. https://www.compkarori.co.nz .. login as guest/1234 select results/laborator and click on any of the results to bring up a graph at the bottom of the page.19-Apr 20:37
2693ReichartPoint me to a graph on the web that looks like what you want. I'm planning to use them, but clearly, there are things they don't do, and I plan to do that in REBOL, but use the same trick.19-Apr 17:00
2692Grahamcan't see that they do it yet19-Apr 7:04
2691ReichartIt gets better, all the time...Google has a habit of that...19-Apr 6:46
2690GrahamI didn't think it could do time series ...so I didn't persue it.19-Apr 6:42
2689Grahamthat was released quite a while ago wasn't it?19-Apr 6:40
2688ReichartI know most people here are still treating SaaS as a red headed step child…but guys, it IS what is happening… : )

Check this out:

http://code.google.com/apis/chart/#url_format

They got to it before Richard and I could complete ours, and given there license (don't worry about it if you use it less than 250K times a day!), we are probably just going to support it directly.

How about writing a REBOL interface that lets you test it first, then out puts Google compatible REST?

Even without Google Charts, it is a stand alone useful program, but WITH Google, it might get noticed by the public.

One should be able to whip this together quickly, and it would be a useful simple report component everyone could use.

19-Apr 6:37
2687BrianHReichart, Rebin won't make REBOL run faster internally, but it would improve the storage and transmittal of REBOL data, so things like /Services would be faster. Internally REBOL is already fast.9-Feb 3:42
2686OldesRebolek: tell me why?7-Feb 11:39
2685ReichartBrainH, I won't belabour the point, I'm simply still unclear how once can make REBOL really much faster by making byte-code from it. But, perhaps someone will, and make a demo, and prove it to me in the future… I agree that Zip XML is not a solution, but unless the Pcode system for XML is built into the browser, I don't see an advantage there either yet.

I'll be the first to use both though, when they exist.

Ashley, yes, will move future SVG convo to group…

7-Feb 9:17
2684Rebolekmaybe it's not that slow, but still, Flash is junk7-Feb 9:12
2683OldesI don't agree, that "Flash is slow junk". It was very well designed for creating interactive animations. And it supports things, which SVG is missing... as for example possibility to cache vector drawing as a bitmap. If something is slow, in most cases it's not Macromedia's fault.7-Feb 8:35
2682GrahamIE needs the Adobe plugin to view SVG. I believe but have not seen it working that FF has/were building their own viewer built in.7-Feb 0:02
2681AshleyInteresting conversation on SVG ... perhaps it would be better to continue in the SVG Renderer group (or just rename it to SVG?) no?6-Feb 21:27
2680BrianHClearly "AFAIK" isn't far enough :)6-Feb 21:26
2679amacleodThat's how I found the above quote6-Feb 21:26
2678amacleodi JUST DOWNLOADED THE PLUG-IN6-Feb 21:25
2677BrianHAFAIK, Adobe has discontinued downloads of the SVG Viewer already :(6-Feb 21:13
2676amacleodPlease note that Adobe has announced that it will discontinue support for Adobe SVG Viewer on January 1, 2009.6-Feb 21:12
2675BrianHBut you are right, Flash sucks for apps.6-Feb 20:15
2674BrianHAdobe was supporting SVG before they bought Macromedia - now they have dropped SVG for Flash.6-Feb 20:14
2673PekrPDF is cool.6-Feb 20:12
2672PekrFlash and vectors? Blah .... Flash is slow junk, just used by everybody ... Good for adverts, not apps ...6-Feb 20:12
2671BrianH"What does have Adobe to do with it?" The majority of vector content on the web is either in Flash or PDF format.6-Feb 20:02
2670PekrWho cares for IE. If it would be for me, I would drop its support altogether. And yes, I am anti MS fanatic :-)6-Feb 20:00
2669PekrWhat does have Adobe to do with it? They don't have any web browser. As for MS, in EU Firefox is reaching 50%6-Feb 20:00
2668BrianHBy "behind" I mean "who set the standards for", sorry.6-Feb 19:50
2667BrianHSVG is widely implemented by those who actually pay attention to standards. That does not include the companies behind the majority of the content on the web: Microsoft and Adobe.6-Feb 19:49
2666PekrIs there any better body for submissions? If not W3C, web would not exist, as MS vs Netscape were each going their own route.6-Feb 19:47
2665PekrNot all W3C standards though.6-Feb 19:46
2664BrianHShall we list for Pekr the W3C standards that are widely ignored or misimplemented by everyone?6-Feb 19:33
2663PekrGraham - but if SVG is W3C standard, everybody will use it, no matter what, no?6-Feb 19:32
2662GrahamR, I doubt that Adobe has any committment to SVG now.6-Feb 19:25
2661BrianHHere's a breakdown for any encoding (Pcode, XML, REBOL, whatever):

Portability: You need to build or acquire a decoder or encoder, and third-party code would need to as well. Advantage: XML

Faster execution: The main way you get that is to make the model of your data format match your data model. If the match is close enough you can translate the data to your internal model in insignificant time, like EBML to XML, Rebin to REBOL, or CPU instructions. If your internal semantic model is simple enough you can quickly do a direct interpretation of the data, like older Pcode interpreters or the original Java byte code, or the micro-operations inside modern CPUs.

In the case of REBOL, we have it easy because REBOL is primarily a data model. All we have to do is encode that data in an efficient binary format and then decode that format to the memory model. That's Rebin, the proposed Pcode of REBOL.

In the case of XML, it is slightly more difficult because there are competing binary encodings, and none of those will be supported in a web browser until it wins the format war. EBML is like a Zip for the XML data model, rather than its syntax (similar compression algorithm too) - much faster than unzipping XML and parsing it. The main problem is that only Matroska decoders support it right now - no web browsers. Similar constraints exist for the other binary encodings of XML.

In the case of SVG, we are much less lucky. SVG has its own data model on top of the XML data model. Once you decode the XML from whatever format it was encoded in, you end up with data of the XML model - then you have to interpret that data to get a dataset in the SVG model, much like the relation between REBOL and the Draw dialect. There may be some advantage to coming up with a Pcode for SVG.

The main thing that you need to keep in mind is that your Postscript experience is throwing you off: The semantic models of modern graphic formats are declarative, not programmatic - this was the main change between Postscript and PDF. A Pcode for a modern graphic model would not be executed like code, it would be loaded as data.

6-Feb 18:39
2660ReichartBoth XML and REBOL already work on multiple systems, I don't perceive much of a speed increase, and now-a-days, Zip works great. WE did not have that as a standard 20 years ago.6-Feb 17:23
2659ReichartHmmm...I am still not following here. I know the history of Pcode. But you used "Rebin" above to imply a Pcode for REBOL. I'm still not seeing why this would be worth it.

I want to see this (undertand it), I'm just not getting it.

It does not (seem to me) match the three reasons to do it - Portability to multiple systems. - Faster execution - Smaller size

6-Feb 17:22
2658BrianHWhat you are missing is what Pcode really is. Pcode was originally Rebin for Pascal, but has turned into a generic term for encodings that serve this function for a wide variety of languages or semantic models. Rebin _is_ a Pcode.6-Feb 17:15
2657ReichartWe agree, it is easy....but that may have sidestepped my question...

Exactly why have Pcode for EBML or Rebin? If there were a standard for the back end for EBML, for example, there was a Pcode reader (player) written in C, removing the complex parser, then this would make sense to me. Perhaps I'm missing something?

6-Feb 17:11
2656BrianHParsing is not as big a deal as people make it out to be - it is just decoding a stream of binary structured in a particular way.6-Feb 17:05
2655BrianHYou have to parse Pcode too - it's just easier to do so (I have).6-Feb 17:03
2654Reichart= founded, serves.6-Feb 16:54
2653ReichartYup, I knew Roman (the founded) when he introduced his stuff at SIGGRAPH, an when he first showed Calagari on the Amiga. His stuff has come a LONG way. Very impressive (very cool guy too). I need only a 2D scripting system though.

BrianH, I did not know about EBML, but I don't see the advantage of EBML, or Rebin for that matter. PCode (in my simple mind) servers several purposes:

- Portability to multiple systems. - Faster execution - Smaller size

Pretty much in that order.

Back when I did video games, I designed a language called MIDAS (which, while it looks like I made the name fit the acronym, I did not….Machine Independent Demonstration and Animation System)

It was designed to do the opening credits, scores, dialogs, win sequences, and it produced simple (very very simple pcode) out to the C64, IBM, Amiga, etc. All you had to do was convert the art, and we had a tool to do that too.

Each command would become 1 byte (since there were less than 256 commands. So it produced something that looked like assembly.

With both EBML and Rebin, there would be (I assume) still parsing, unless you are writing everything yourself (in other words, a player).

6-Feb 16:52
2652BrianHIf you want Pcode for SVG, use one of the binary XML encodings like EBML. If you want Pcode for REBOL, that's what Rebin is to be.6-Feb 16:10
2651PekrReichart - do you know - http://www.caligari.com/ ? Maybe good enough to "record" stuff around your house? Hmm, but maybe way too much complicated for what you need ...6-Feb 13:55
2650ReichartREBOL would make good use of Pcode, since it would still be parsing at the same level. Yeah, saving the "State" of a vector render would in theory be very fast then. There are a lot of not so well thought out things about SVG (or I'm missing it in some way). For example, you "animate" at the object level.

In my mind it should be:

- Make list of objects. - Group some of them. - Animate by reference.

But SVG seems to be simply:

- Make an object, embed animation. - Next object.

6-Feb 12:23
2649OldesYou have to ask cyphre6-Feb 12:21
2648Pekrbut don't take me serious, I could misunderstood the issue.6-Feb 12:18
2647PekrIIRC, some guys wanted some "save points"(?), so that once you render some bunch of vectors, you would save the rendering state, so that next time you could reuse it without no need to re-render.6-Feb 12:18
2646PekrDo you think we could add kind of PCode to Draw?6-Feb 12:17
2645ReichartTo convert this world viewer to REBOL should be very easy. It would be a good test of VID3, and of DRAW. And it would be instant cool (and actually useful).6-Feb 12:17
2644ReichartA friend of mine works for ESRI (the source of the data), this was a test project for them. Very slow, but it culd be very fast. They need to intigrate teh DOM with the Data (sectioning off stuff).6-Feb 12:16
2643Oldesterribly slow... but nice source of data... that's good thing with SVG.. it's easily parseable6-Feb 12:15
2642ReichartIt's slow, but here is the US in SVG http://apps.arcwebservices.com/svgviewer/map.html6-Feb 12:10
2641ReichartThis is not a compitition...............just showing a cute example. You guys sure do jump to the negative quickly...6-Feb 12:08
2640Oldesso what? should I send you some Flash site link?6-Feb 12:06
2639Oldesyes6-Feb 12:05
2638ReichartCheck this out: http://croczilla.com/svg/samples/svgtetris/svgtetris.svg6-Feb 12:05
2637ReichartDo you mean map as in Earth?6-Feb 12:05
2636Oldesjust an example6-Feb 12:04
2635ReichartWhat do you mean Maps?6-Feb 12:04
2634OldesWhy there are no SVG maps but everybody is using PNG layers?6-Feb 12:03
2633ReichartAnd I'm FOR vector, but also don't like SVG. But if it is a standard, I will support. It will mean I can send you a graphic, and you can display it with just a browser.6-Feb 12:03
2632ReichartThe point of SVG is that it is the lowest common denom...

That will ALWAYS suck, but at least you know things will render.

6-Feb 12:02
2631OldesI'm not agains vector graphics... I just don't like SVG6-Feb 12:02
2630ReichartYes, DRAW is MUCH better than SVG though. Hence I was thinkning about just doing a dialect mostly in DRAW with an SVG emiter. There is SVGZ (zipped SVG), but Pcode would be better. PNG is a container...so it can contain Raster, Vector, well, actually it can contain anything (sort of like Amiga IFF format).6-Feb 12:02
2629PekrOK, but do you think that it is a bad thing to have vector gfx available? That way, VID3 UI will be scallable. Carl also said, that there is some space for improvement. What Cyphre thinks is, that maybe we could get compound rasteriser workind, which could speed things up a bit (Flash uses it)6-Feb 12:01
2628OldesDon't forget that SVG is XML so it can be very large if you draw something more complex6-Feb 12:00
2627Oldesand PNG does not scale, but do I scale web page?6-Feb 11:58
2626Oldesit's a shame I don't know the link... I would post you the SVG source... how large it can be6-Feb 11:57
2625OldesAnd since Adobe has Mocaromedias knowhow, why thay should use SVG scripting... but with such a corporations one never knows6-Feb 11:56
2624PekrPNG can't scale, no? And I can be PNG file smaller than vectors transferred? The slowness of whole stuff is another thing. Dunno if we can support SVG out-of-the-box. We are using AGG, while the rest of the world is using Cairo.6-Feb 11:56
2623Oldes(but I don't like SVG... I really hate to open page with 3 SVG diagrams and my computer does nothing else than parse and draws these diagrams... the worst it is that the page is from W3C, so they should know that thay can use PNG for these images.. it would require less space to transfer and my computer could do better things while displaying such a page.6-Feb 11:54
2622OldesCurrent draw is basically SVG6-Feb 11:51
2621ReichartGraham, what part do you doubt? SVG has promise, and "smells" to me like someting that will grow. It badly needs a Pcode, since there is no reason to parse every time. It looks very promising as a way to do what I want to do, and keep things standard. Plus we might build a DRAW to SVG dialect for Reports, Graphs, and even light interface (like Gantt).6-Feb 11:20
2620Henrikbut commercially not much.5-Feb 20:26
2619HenrikSVG has been around for a long time, but is very wide spread in the open source community now.5-Feb 20:26
2618GrahamDoubt it ... now that Adobe own Macromedia5-Feb 19:39
2617ReichartHenrik, It may, I have never played with DRAW. I'm old, so I still think in PS (Post Script). I'm in a conference now with Richard, and will talk to him as well.

I always like to ask around just to test teh waters.

I'm going to be curious if SVG is going to catch on. It is a crappy way to store vectors

5-Feb 18:56
2616Henrikdoesn't the SHAPE command in DRAW basically do this?5-Feb 17:21
2615GreggMaybe SVG has pathing commands that are close. I don't know.5-Feb 16:28
2614GreggI would get Cyphre's opinion on that. Mine is old, and nothing to write home about, but the turtle graphcis concept seems to be a very close match with what you're after.5-Feb 16:27
2613ReichartYou know......................after much thought, what I might just do is write a simple ML to SVG converter. It would be almost a 1:1 command set (in fact mostly what I would be doing is translating offsets). The ML would be clean, while the emiter would allow a browser to be the viewer.

http://en.wikipedia.org/wiki/Scalable_Vector_Graphics

5-Feb 6:16
2612ReichartWhich REBOL script do you think would be the best to start with?5-Feb 5:35
2611GreggIt's just REBOL, Reichart, so it uses AGG on newer releases. It just generates DRAW commands.4-Feb 23:50
2610Pekrcan't remember some other products, I never saw it working in real-life. I just knew one consultant who did this kind of stuff and we had some chat about it.4-Feb 23:09
2609PekrReichart - IIRC those system exist, but I only once met enterprise level one. Thosoe are called "facility" management. They go down to invoices - you can look and see what particular wire type goes thru your house, etc - http://www.xanadu.cz/apps/fmflash/fmatweb.asp4-Feb 23:09
2608ReichartGregg, does it use AGG?4-Feb 22:49
2607ReichartPekr, thanks, but again, that is a Planner, I'm looking for the opposite. The house alrady exists, I'm just logging. This is a concept that does not really exist as a product, (but should). Every time you update a wire, or install a new sink, etc. you need to log just that one object.4-Feb 22:48
2606GreggI did a very crude and basic Logo/turtle system. So it's a very doable concept.4-Feb 21:29
2605Carl(No... created new group: Carl Links - drop a note there. Thanks!)4-Feb 20:27
2604Carl(Put a note in the Carl Only group.)4-Feb 20:26
2603CarlNote I have not had time to read any of the above messages (in this group or others). So, if there is something important for me to read, let me know.4-Feb 20:25
2602CarlJust stopping by to say hello. Yes, it's been a while. Sorry about that. R3 has had me far out to sea - especially the Unicode changes of recent.4-Feb 20:23
2601Pekrwell, generally I googled "cad house"4-Feb 19:31
2600Pekrhttp://www.homeplanpro.com/4-Feb 19:31
2599Pekruh, I don't remember the product I liked, but it working in some non-traditional "cad" way ...4-Feb 19:28
2598ReichartAgreed, this is easy, I was just hoping to look at something already done, perhaps even by Richard... The cool thing is this could be saved in XML, and be compatible with other systems then.

The important thing is that no CAD system I know of lets you easily build an object, (even like a little JBox) by telling it that it is x distance from the corner of some other object. This is the key to logging things around a house.

I want to build a really powerful way to triangulate on a point.

4-Feb 18:53
2597GreggAnd if you have a GPS you can import and parse data from, you can be the turtle. :-)4-Feb 15:35
2596GreggSounds a lot like turtle graphics in Logo.4-Feb 15:34
2595GabrieleReichart, i think it should be easy to do. (Especially in R3 :)4-Feb 9:03
2594BrockInteresting idea Reichart4-Feb 4:25
2593ReichartIs there a good example of a simple vector rendering/drawing demo in REBOL? I have been thinking about a tool I want to make that allows me to track things around my house. The problem with CAD programs is that they are designed to "create", not to record.

The concept is so different in fact that a graphical interface is only needed as confirmation. Input is actually better if done "descriptively"

For example, I would rather simply measure something (like the outside of the house, by simply writing down every surface length, and every "turn").

A rectangle might be something like:

45' 10, R 10, R 10, R 10

Where the first line heads off 45 degrees (0 = North)

Then it is a matter of naming objects, and tagging them (better than layers, so you can display things based on tags, like "Electrical", "Plumbing", etc.)

4-Feb 2:58
2592AntonInteresting discussion.2-Feb 1:02
2591GreggAnd it misses the point that REBOL is more than a functional programming language. Besides, couldn't you just use parens everywhere if you want? :-)1-Feb 19:29
2590SunandaLanguage design discussion involving REBOL as an example: (Personally, I think it's hard to *write* code if you don't know how many parameters a function takes. But maybe that's just me) http://www.alh.net/newlisp/phpbb/viewtopic.php?p=11623#116231-Feb 18:51
2589btiffinI've started a Qwiki in Qtask for the 2008 user.r rebol of the year awards. The rotties.

Single category so far; roty. Nominations to date;

Ashley Trüter

I'll pull the list over every month or so. Drop a note in user.r if you want to nominate someone; or better yet, drop me a note for an invite to the user.r project on Qtask and update the Qwiki directly.

1-Feb 18:22
2588SteveTwelcome Derek - at last someone newer than me ;-/28-Jan 11:05
2587Henrikwelcome Derek :-)28-Jan 11:02
2586GreggOn the constructor question, another way to do it is to define your object spec, and include initialization code in that.

>> o-spec: [time: none set-time: does [time: now/precise] set-time] == [time: none set-time: does [time: now/precise] set-time] >> probe o1: context o-spec make object! [ time: 27-Jan-2008/11:07:00.875-7:00 set-time: func [][time: now/precise] ] >> probe o2: context o-spec make object! [ time: 27-Jan-2008/11:07:04.5-7:00 set-time: func [][time: now/precise] ]

27-Jan 18:10
2585Geomolbecause the actual value is at the second position in the block.27-Jan 12:28
2584GeomolWith the block way, you can also get the value by:

>> myword/2 == 11

27-Jan 12:27
2583GeomolYou can also do it in a block:

>> myword: reduce ['value 10 'inc does [myword/value: myword/value + 1]] == [value 10 inc func [][myword/value: myword/value + 1]] >> myword/value == 10 >> myword/inc == 11 >> myword/value == 11 >> myword == [value 11 inc func [][myword/value: myword/value + 1]]

27-Jan 12:26
2582GeomolYou would probably use an object for that in REBOL:

>> myword: make object! [value: 10 inc: does [value: value + 1]]

And then use paths to get the value and use inc:

>> myword/value == 10 >> myword/inc == 11 >> myword/value == 11

27-Jan 12:24
2581GiuseppeCSecond question: if I have a word with a value, could I attach a method to it ? for example: myword: 10 and I want a method myword.increment or myword/increment.27-Jan 12:16
2580GiuseppeCHere I am again.27-Jan 12:15
2579GiuseppeCFor the second question you should wait, my distant syster as called me.27-Jan 10:44
2578GeomolYes, good question, also regarding the new version of REBOL. I'll take it up with Carl and the other developers.27-Jan 10:42
2577GiuseppeCI can't reproduce the out of memory error at function definition bur teh question remains.27-Jan 10:40
2576GeomolYes, it a bit different from "normal" errors in REBOL. I haven't got much experience with out of memory situations. Can you test it somehow, if it'll work?27-Jan 10:36
2575GiuseppeC(first scenario: function definition)27-Jan 10:35
2574GiuseppeCYes but when this error arised (during a read/lines operation) I asked myself if the "OUT OF MEMORY" error could accur in situations like function definition, object creations and so on. You don't expect an error expecially in the first scenario.27-Jan 10:34
2573GeomolLike in:

>> if error? try [4 / 0] [print "There was an error!"] There was an error!

I'm not sure, if that catch out of memory errors.

27-Jan 10:33
2572GeomolCan TRY be used in that situation?27-Jan 10:32
2571GiuseppeC1) In one of my script I have had an "OUT OF MEMORY ERROR" in a situation where you normally don't exect such error and don't check about it. Is there a way to raise an exception automatically and give control to the exception handler you have written ?27-Jan 10:31
2570GeomolShoot!27-Jan 10:29
2569GiuseppeCThanks ! have another 2 questions about OO programming27-Jan 10:28
2568GeomolYou can do it by making your own MAKE function like:

omake: func [o blk /local newo] [newo: make o blk newo/c newo]

This function take 2 arguments like MAKE does. An object and a block. It first create a new object based on the 2 arguments. Then it call the function c (constructor) in the new object and finally return the new object. You can use it like:

>> o: make object! [a: 0 c: does [a: to-integer ask "Value? "]] ; This is the "class" >> o1: omake o [] Value? 3 >> ?? o o: make object! [ a: 0 c: func [][a: to-integer ask "Value? "] ] >> ?? o1 o1: make object! [ a: 3 c: func [][a: to-integer ask "Value? "] ]

27-Jan 10:24
2567GiuseppeCIs there a way in Rebol to have the equivalent in OO programming of a constructor ? Can we execute a function automatically each time an object is created ?27-Jan 10:09
2566ReichartAshley, yeah, that whole micro-loan thing looked cool at first…several of my friends that are economists are working on a paper that analyses the impact of that. It is looking very bad sadly.27-Jan 2:44
2565GrahamThis is inappropriate technology26-Jan 20:00
2564Grahamthere's probably more information on the net on how to make a molotov cocktail than to purify water26-Jan 19:59
2563btiffin"clean water, food and a teacher" The XO connections to the net (may, will, I expect) add to the teacher part. An entire generation of youth may get that little glimpse that there are answers to their questions. And then a butterfly flaps its wings. :) And one of those little ones may find out how to purify the local water from a HAZMAT database, and hey clean(er) water.

OLPC is perfect. It's going to succeed ... perfectly. :)

26-Jan 17:45
2562Luissending laptos or selling laptops ?26-Jan 15:26
2561Gabrieledo you think that those that go to the usa don't have relatives or friends? and, isn't that an improvement for them at least anyway? keep in mind, in most of these countries, the problem is corruption, and sending more money makes that worse. sending laptops does not increase corruption at least.26-Jan 10:04
2560Gabrielegraham, i would agree with you 100%, you we're talking about teaching them how to get or make clear water and food, and if we train them as teachers (as opposed to sending teachers)26-Jan 10:01
2559GrahamLook at how many doctors of Indian origin now practice in the USA, and no longer in their own countries.26-Jan 6:50
2558GrahamFurther impoverishing their bretheren.26-Jan 6:49
2557GrahamAnd what sees is that anyone with any smarts leaves their country of birth and heads off to the USA.26-Jan 6:49
2556GrahamEducation would be better served with some clean water, food and a teacher.26-Jan 6:48
2555GrahamPeople don't need to learn to program at a very early age ( I presume the XO is aimed at young children ).26-Jan 6:47
2554GrahamGabriele, I don't think that argument stands. So, even if .1% learn to program and make some money, there is still the lost opportunity to save lives and enrich them in more basic ways.26-Jan 6:47
2553Tomcor team up and go door to door ...26-Jan 1:00
2552MaartenAnd we all should say "Yay OLPC" once per hour in a crowded place!25-Jan 20:46
2551btiffinAs Gabriele pointed out; OLPC information is full of FUD. The "good guys" just want to provide a leg-up to some children. The "bad guys" seem threatened and will use money and misinformation as they smile and nod and pretend to help. ;) It is better to stay overtly positive to fight the misinformation imho. So in that vein; OLPC and the XO is perfect. All decisions are the very best and could not be made any better. :)24-Jan 17:52
2550LuisHenrik: The problem is not hardware or how much software. Schools need soft for teaching-learning, designed on pedagogical principles. Cmap Tools is an excellent example. (50 Mb of java) What about an rebol version ? (3Flex is a good basis)24-Jan 15:43
2549LuisFormula for Milking the Digital Divide http://www.deeshaa.org/2005/11/05/formula-for-milking-the-digital-divide/24-Jan 14:34
2548Henrikif anything, it would be a nice tech demo. demonstrate how much software can be packed onto an OLPC, if it's all written in REBOL.24-Jan 12:21
2547Pekrwe can be clever enough too. if VID3 is nice, it can get used by those children for educational purposes anyway, no matter what their UI is written in primarily :-)24-Jan 12:17
2546HenrikI just wonder if they will keep selling the machine to us as well. Looking at the machine boot, it doesn't look all that slow. It would make for a nice little server.24-Jan 12:17
2545Henrikand if you want to turn the situation around in those places, education is key and a laptop is a good step, but it's only one small part of it. it's just getting so much attention that people think it's the only step that will be taken.24-Jan 12:12
2544PekrYes, Python has something like list of 10 - 15 bindings to various UIs. Ruby is close though. But for me Python is more readable. Of course I would prefer REBOL, but that's me, REBOL zealot.24-Jan 12:09
2543HenrikGraham, but is it the same people? I read a lot about how starving people in clay huts have no use for laptops, but when I read about it on Wikipedia, it's not targeted at these people, but people who already have enough infrastructure to support this. When I look at the pictures of kids with OLPCs, they don't live in clay huts or are starving.24-Jan 12:09

Return to Index Page