• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

Andreas
24-Jul-2013
[9642]
Difference between Github's web UI and Fossil's web UI is that Github 
can generate stable download URLs for the "latest" version. That's 
a huge difference even from an efficiency standpoint.
Kaj
24-Jul-2013
[9643]
How so? Fossil supplies the same download URLs
Andreas
24-Jul-2013
[9644x2]
Where?
Last time we looked at that, you said Fossil can't do that.
Kaj
24-Jul-2013
[9646x2]
I link to them all the time
I never said that, because it isn't so
Andreas
24-Jul-2013
[9648x2]
Then what's a stable link for the latest version of your download.r?
Which I can wget right away.
Kaj
24-Jul-2013
[9650x4]
I always link to this article with a zip package of all my binaries:
http://web.syllable.org/news/2012-11-18-20-47-Red-high-level-programming-language-first-alpha.html
download.r is:
http://red.esperconsultancy.nl/Red-test/doc/trunk/download.r
Andreas
24-Jul-2013
[9654x2]
Cool, then post that link in the future. First time it was posted 
here.
No need to interact with the Fossil web UI with that link.
Kaj
24-Jul-2013
[9656]
I publish such links often when a single file is requested
Andreas
24-Jul-2013
[9657x2]
Be sure to use them in the future, and the Fossil UI can be side-stepped 
completely.
Never saw such a link for download.r before (and don't find anything 
using AltME search either, but then ...).
Kaj
24-Jul-2013
[9659x2]
It always could. I've explained many times that Fossil can do everything 
Git can
I published three links in that form in the Announce channel, just 
not of download.r. There are many files, and people are already tired 
of my links
Andreas
24-Jul-2013
[9661]
I'd suggest to use those links in the future.
Kaj
24-Jul-2013
[9662]
I'll keep it in mind. And I'll remind of this request when people 
complain about my announcements again :-)
Andreas
24-Jul-2013
[9663]
In any case, that's the difference between Oldes' link posted before 
and your previous "get download.r from http://red.esperconsultancy.nl/Red-test/dir?ci=tip".
Oldes' link doesn't require you to interact with Github's UI, your 
link requires one to interact with Fossil's UI.
Kaj
24-Jul-2013
[9664]
Yes, because I want to supply some context and I don't want to spam 
with many links that can also be had on one web page
Arnold
24-Jul-2013
[9665x2]
I am with Kaj on this. Supplying the download link when you update 
some project is not meaningful. If the corresponding link to the 
fossil rep is posted you can take a quick look at the  projectfiles 
and then decide if it is worth the troul]ble for you to update your 
own repo's with the dl script.

Besides that, the Github is not a nice solution imho just chosen 
because of free, and widely used (for exposure purposes) not for 
real ease iyam (if you ask me). So better appreciate the huge work 
Kaj has pulled of to make Red much more widely useable and accept 
his choice.
I would be interested in the demo video from Kaj where he shows how 
he uses fossil in his daily work.
Kaj
24-Jul-2013
[9667x3]
I thought you were the video master? :-)
My use is quite simple. I just check in my work and seldomly need 
a branch. It can be seen in the timelines
The more sophisticated use is on Syllable Server, where I host our 
repositories
Arnold
24-Jul-2013
[9670]
Continued in Fossil
Kaj
25-Jul-2013
[9671x4]
Do you think
pick [1 2] yes
is faster or shorter than
either yes [1] [2]
DocKimbel
25-Jul-2013
[9675]
Not sure it is faster, but it takes one less statically allocated 
block.
Kaj
25-Jul-2013
[9676x2]
Aren't those EITHER block compiled away into code?
blocks
Gregg
25-Jul-2013
[9678]
I have already thought, since Doc mentioned the small gains Red would 
see from compiler optimizations, that having a Red level optimizer 
might be even better.
Kaj
25-Jul-2013
[9679]
I have understood it the other way around
DocKimbel
26-Jul-2013
[9680x2]
Kaj: depends if it's in a function body or in global context, and 
if the bodies are stored or not.
Gregg: we'll add optimizations at all possible levels.
Kaj
26-Jul-2013
[9682x2]
How does the compilation differ between global context and a function 
body (apart from storing)
?
DocKimbel
26-Jul-2013
[9684]
The generated code for global and local variables is different.
Kaj
26-Jul-2013
[9685]
I think I still like the EITHER better, then. It's more natural
DocKimbel
26-Jul-2013
[9686]
I find the PICK version easier and faster to type, but that's just 
personal taste. :-)
Kaj
26-Jul-2013
[9687x2]
I spend a very small part of my time typing
The PICK method seems more like an interpreter optimisation to me
DocKimbel
26-Jul-2013
[9689]
I think it's good to have both from many perspectives, one being 
that EITHER reduces the values while PICK does not. I tend to use 
PICK for passive values and EITHER for evaluating expressions. You 
can also express a different intent using PICK than EITHER, think 
how a static code analysis tool (e.g. an IDE) would interpret it.
Kaj
26-Jul-2013
[9690]
Agreed
Gregg
26-Jul-2013
[9691]
Use them to express intent + 1